Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all 1237 articles
Browse latest View live

Dynamic DropDown is repeated on Dynamic Subform

$
0
0

Hi,

Scenario:

I am developing an offline interactive form.

 

In the form i have dynamic SubForm (add/delete button).

 

In the dynamic SubForm, i have:

   1 DropDown with ticked "Allow Custom Text Entry".

   1 button to connect to SAP web service and return the table for the DropDown binding.

 

For example, let's say the DropDown is for material.

 

Objective:

User can enter material description with wild card, press the button, SAP will return the list of materials. The dynamic binding will do the magic to generate the DropDown.

 

Issue:

For simplicity, let me explain the issue with example.

   1. User enter A* in the DropDown of the 1st subform and click the button. DropDown is generated with all material start with 'A'.

   2. User click add button, the 2nd subform is added.

   3. User enter B* in the DropDown of the 2nd subform and click the button. DropDown is generated with all material start with 'B'.

 

What happened after the 3rd step is: the DropDown in the 1st subform changed and now list all materials start with 'B', which is not what i want to achieve. I know the system behaves correctly because of the dynamic binding.

 

Kindly advise how to solve this.

 

Version:

SAP BASIS: 700 level 0023

Adobe LiveCycle Designer v8.1.2

 

Thanks in advance !!


Dropdown list in Subform

$
0
0

Hi There,

 

I am facing problem in Dropdown lists in Subforms.

 

I want the region dropdown list values according to country (only for DE) dropdown list value. Both Dropdown lists are in a Subform.

 

For that, I have used this in EXIT event of Country Dropdown list:

 

if (this.rawValue == "DE Deutschland")

{

data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Schleswig-Holstein","1");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hamburg","2");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Niedersachsen","3);

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bremen","4");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Nordrhein-Westfalen","5");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hessen","6");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Rheinland-Pfalz","7");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Baden-Württemberg","8");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bayern","9");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Saarland","10");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Berlin","11");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Brandenburg","12");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Mecklenburg-Vorpomme","13");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen","14");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen-Anhalt","15");

data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Thüringen","16");

 

}

 

else

{

data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();

}

 

 

 

It does only change first region dropdownlist value, not others because both dropdown lists are in a Subform.

Other problem is that it works only when All Country Dropdown lists are "DE". Means, first region dropdown list depends upon not only first country dropdown but also other dropdown.

 

My requirement is, If first country Dropdown is "DE", only first Region Dropdown list should be fill, not others. And so on.

 

Please provide solution that How can I change all dropdown lists of a Subform dynamically?

 

Waiting for reply.

 

Thank you

Chandler Bing

Show or hide subform based on dropdown selection using javascript

$
0
0

Hello,

 

Need help on javascript.

 

Could someone please help me convert the below Form calc code into Javascript code
-> for Exit event  of dropdown field ‘Positiongrade’
-> that has YES and NO values

-> to hide/visible the2 subforms ‘jobraising’ and ‘posforprom’ based on below FormCalc condition

 

if(data.Bodysubform.Promsel. Positiongrade == "Yes")  

then

data.Bodysubform.jobraising.presence = "visible"

  data.Bodysubform.posforprom.presence = "hidden"

endif

if(data.Bodysubform.Promsel. Positiongrade == "No")

then

data.Bodysubform.posforprom.presence = "visible"

data.Bodysubform.jobraising.presence = "hidden"

endif

 

I tested above FormCalc code and it works in other forms.

 

I cannot use the FormCalc script for this event because I already have generated code in javascipt which should not be modified.
So I need to use Javascript in this form.

 

Thanks much!

Populate drop-down list in table row or repeating subform

$
0
0

I am currently working on an Adobe Interactive Form integrated with web dynpro ABAP.  I would like to create a table or repeating subform with a number of drop-down lists populated from SAP.

 

I am using the Enumerated Drop-down list from the WebDynproNative menu.  In my WDDOINIT method, I am populating the attributes using the set_attribute_value_set method.  This is working fine when my dropdown is not in a table or repeating subform.  The dropdown is populated and the selected value is returned to SAP when submitting the form.  However, when I place the dropdown in a table row or a repeating subform, the dropdown is not populated.

 

Any ideas or suggestions?

Hiding a subform after selecting a value in dropdownlist

$
0
0

Hi all,

 

    I need to hide a subform if i select the first value in a dropdownlist. I have tried by hiding a button in it, its working properly but not for the subform. Please any one try to solve my issue.

 

I have worte the following coding in FARMCALC of CHANGE event in dropdownlist

 

if (xfa.event.newText == "1") then
xfa.form.data.SUB1.sub1_list.presence = "invisible"        /*Subform*/
xfa.form.data.SUB1.Button2.presence = "invisible"          /*Button hiding is working*/
xfa.form.data.SUB1.text.presence = "invisible"            /*Even TEXT hiding is not working*/
else
xfa.host.messageBox( xfa.event.newText )
endif

 

Thanks in advance..

Bundling different (non-interactive) forms

$
0
0

Hi,

 

I want to bundle different non-interactive form. When I run the report FP_CHECK_BATCH_PDF_RETURN with the settings:


Bundle Mode = X

All Forms in One PDS = checked

 

i got the error message "Call contained error(s): ASSEMBLE (FP_JOB_OPEN)"


When I select Bundle Mode = M everything works fine. I tested the report on many different systems with different ADS versions, but the error was always the same. Can anyone tell my what the problem is?

 

Thx in advance!

Markus

Online Interactive Form Crashes Browser/NWBC

$
0
0

When launching an custom online interactive form via a custom webdynpro application  it crashes the browser/nwbc randomly after the second time the application is called. Debugging NWBC during crash reports ABODE DLL reference errors.

 

 

Calling Application is basic FORM GUIBB in FPM.

Online Interactive form is in a WDA view in different FPM application.

 

No Errors are recorded in the NWBC Logs, ADS logs or the Windows event log

 

 

All combinations of the software listed below have been tested and experience the same issue.

NWBC 4 PL8,
IE 8, IE 10,
XP, Windows 7, Windows 8.
Adobe Reader 10, XI.

Attaching PDF form in QM02

$
0
0

Hi Experts,

 

I have a requirement where I have developed an Adobe interactive form for notification screen QM02 in the ACTION BOX.

After the PDF preview, the PDF document has to be saved in the attachments tab of the notification.

Can anybody help me in the same?

Since the PDF is just the output preview, does that get saved somewhere in SAP database?

Since the PDF is just the output preview, how shall I capture the PDF and save it in the attachment tab of QM02?


Adobe Document Services Error : 405 - Method Not Allowed

$
0
0

     Hi guys

 

After Upgrading a JAVA System from NW 7.01 to NW 7.4, I'm experiencing this error when opening url

 

 

http://server:port/AdobeDocumentServices/Config

 

 

Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.


Wizard Configuration for Adobe Document Services was completed without errors

 

I have done the User verification as stated by SAP Help and it returned Adobe Version as expected

 

Procedure

  1. In your Internet browser, enter the Web address http://<server>:<port><server> : name of the AS Java where the Adobe Document Services (ADS) are installed<port> : port of the AS Java
  2. Enter the WS Navigator user and password.
  3. As Search Type , select Provider System .
  4. Search for * adobe *.
  5. In the list, choose AdobeDocumentServicesVi .
  6. Choose Next .
  7. Choose rpData .
  8. Choose Next .The parameters are displayed.
  9. Choose Next without entering any parameters.
  10. Enter the user name ADSUser and the respective password and choose OK .

 

 

 

Also verified all Services and they are Running

 

 

Any idea if on Netweaver 7.4 this URL changed or how can I access ADS?


Thanks!

Java script in Adobe Forms

$
0
0

Dear All, 

 

I have two scenarios as follows.

 

 

1) currently there are 7 logos. We need to upload logo in Adobe Forms based on Personnel area(PA) and sub area(PSA). i have written the below script in Initialize event, still it's not working.

 

if (WERKS.rawValue == P107 and BTRTL.rawValue == ABCD)

{

this.presence = "visible";

}

 

 

2) We have three allowances with text and value(Amount as below. If the value is null or zero, then the text and value shold not be displayed and gap needs to be adjusted automatically.

 

Transportatio Allowance        1000.00

Medical Alllowance                 0.00

Other Allowance                     2000.00

 

This should be displayed as

 

Transportatio Allowance        1000.00

Other Allowance                     2000.00

 

Please do the needful ASAP.

 

Regards

Venkat

My_Form is taking 3 min. for rendering on browser!!

$
0
0

Hello

 

Previously our users has IE10, then 4 pages my_form used to take just 10 seconds for rendering.

 

2 days ago they got installed IE10 in their machines, now the same form is taking 3 min.!!!

 

Pls. help us how can we fix this?

 

Thank you

Adobe Interactive forms are not editable following an EHP6 upgrade, how do we correct this?

$
0
0

Good day,

 

We are currently going through an upgrade to EHP6. We have set up a test parallel environment that was copied from prod and applied EHP6 for a compare.

During our initial tests, we have found that Adobe interactive forms are not loading properly following the upgrade. 11 out of the 13 interactive forms currently implemented in the portal are no longer editable. When you go to select a value from the drop-downs or input a value in the field the fields remain blank. This is a high priority as all users perform their PA actions via MSS and through workflow approvals using Abode interactive forms.

 

Does anyone have any ideas of how to fix this issue or have come across this issue before?

 

Thanks in advance,

 

Christine

Interactiv Adobe Form

$
0
0


Hi Experts,

 

                    I am new in adobe forms in sap . so far I have developed simple adobe form now I have a requirement

                    in a standard tcode one smart form is there I have to replace this smart with a interactive adobe form .

                  

pls tell me is it possible ?

Dynamic DropDown Lists in Subform

$
0
0

Hi There,

 

I am facing a problem regarding Dropdown lists in Subform.

I want the top dropdown list values on all bottom left dropdown lists when I press the button.

The bottom left dropdown lists are in the subforms. So When I use java script like this :

 

 

data.Daten.Daten.Daten.Data.DropDown.rawValue =  data.Daten.Aktion.DropDown.rawValue;

 

 

It does only change first dropdownlist value, not others.

 

Please provide solution that How can I change all dropdown lists of a Subform dynamically?

 

Waiting for reply.

Need to print Net Weight and Unit adjacently for internal table contents

$
0
0

Hi Guys,

 

Need to print Net Weight and Unit adjace ntly for internal table contents. Which option is better either using concatenation by javascript or formcalc or by using filling the internal table with concatenation into a new char field in interface. Is theie any other way possible than this....


Need to display gantt chart as a image in Adobe Form

$
0
0

Hello Experts,

 

I have a requirement that to display a gantt chart in adobe form.For this i am using the method get_gantt_data from the class cl_dpr_ui_log_gantt.

using this method i am getting xstring data in to a variable and we are mapping it to Grapic field.But i am unable to display the gantt chart.Is their any possibility to convert gantt chart in to image.

 

Please help me.

 

 

Below is the code which we used in adobe form interface.

DATA lr_gantt TYPE REF TO cl_dpr_ui_log_gantt.

 

CALL METHOD lr_gantt->get_gantt_data
   EXPORTING
     it_objects         = lt_objects
     iv_debug           = lv_debug
     is_sel_obj         = ls_obj_event
     it_entry_obj_event = lt_entry_obj_event
   IMPORTING
     ev_gantt_data      = gv_gantt_data
*    ev_gantt_data_id   =
*    ev_title           =
   EXCEPTIONS
     open_failed        = 1
     OTHERS             = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

 

gv_var = 'image/bmp'.

 

Mapping of the field:

 

 

Thank you,

Manasa Veena

Adobe Form Print Problem - extra space coming on Header and footer after printing

$
0
0

  Dear Experts,

    

We are currently experiencing a problem when trying to print
Adobe forms.  We have created several
forms and are experiencing the same issue with all forms.  The issue occurs when we are trying to print
a form.  If we choose a print preview
prior to printing, the form looks normal and prints fine.  However, if we do a direct print (i.e. no print
preview), then at the top and bottom part of form some extra space is coming. 

 

   

It's like data starts printing by leaving some 2 Cm space from
top and at the end leaves around same 2cm space. On form layout we have started
the data (fields) from the top of form. We have tried printing to different
printers and are ending up with the same results each time.

 

 

   Please find screen shots below –

 

 

   1. Form data is starting from top of form 0.125
inches from top of page –

 

 

   imgae1.png


        2. Print of form –

 

image2.png

 
    Has anyone ever experienced a problem like this before? 

 

 

 

 

 

Thanks in advance.

Scrollbars for table in adobe forms

$
0
0

Hi,

 

Is it possible to have scroll bars in table in adobe interactive forms ?

My requirement is user should be able to enter as much rows in table as he wants .

Cells of table will be input text fields .

Is this requirement is possible to develop?

Adobeform - Change the color of a cell based on condition in formcalc

$
0
0

Hello Expert,

 

I have a requirement which needs to change the color a cell based on a condition.

 

I have tried some codes found on the net but none is working.

 

I have also tried this code : but this is not also working.

 


if (  data.Mainpage.Table_consignation.cnsign_rslt_essaie.grpe_des_taches.titre_princ_grp_tache.Bodyrow.descr_grp_taches.descrp_taches.Rangée1.ZSAISIR_MA_15.rawValue == 'X' )

then

data.Mainpage.Table_consignation.cnsign_rslt_essaie.grpe_des_taches.titre_princ_grp_tache.Bodyrow.descr_grp_taches.descrp_taches.Rangée1.ZSAISIR_MA_15.fillColor = '200,10,10'


endif

 

 

 

Can you please help?

 

Thanks.

 


Header display at end of page and contents on the next page with repeating header with adobeform

$
0
0


Hello expert,

 

I am working with adobeform and in my form, i'm having header of the table displayed at the end of page and on next page it's content and also the header is being repeated.

 

With the repeating header, i have no problem. This is correct. But with the header displayed at end of th previous page, this is a problem.

 

I have set the header to "Repeat on next pages" until there are items in itab.

 

Check the image:

 

2014-03-05_171957.jpg

 

Can you please help?

Viewing all 1237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>