cancel
Showing results for 
Search instead for 
Did you mean: 

Where to code in ADOBE Forms

Former Member
0 Kudos

Hi ,

I am changing the standard ADOBE form using the SFP transaction.I want to change the data which is coming in the internal table at runtime.

I am not getting any place in ADOBE forms to write the code as we can do the same very easily in code line in smartforms.

I am using the for PTRV_EXPENSE_FORM.

Please reply ASAP.

Thanks In advance.

Puneet Gupta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Puneet,

U can use script editer in Adobe LifeCycle Designer.

regards

Sumit

former_member191062
Active Contributor
0 Kudos

Hello,

if you have DDIC based interface, than the interface has an code intialiation part.

Here you can enter ABAP code.

Unfortunatelly this is not possibble in case of XML based interface.

Best regards,

Dezso

Former Member
0 Kudos

Hi,

Thanks for your reply. But when i try to loop at table here and try to modify the table it doesn't allow to use modify command. Even while debugging we cannot change the value. Please suggest.

i thought of making different internal table here, and use that instead of the table currently being used, but i don't know where to define an internal table in the interface.

Thanks.

Puneet gupta

Former Member
0 Kudos

Hi,

The script editor uses the Java script, can u please send me the sample code to modify the internal table in Java Script.

Thanks and Regards,

Puneet Gupta

Former Member
0 Kudos

Hi Puneet,

To have a table in the interface, you need to assign them to a corresponding table type.

The Script editor allows you to code in both Formcalc and java Script.

You may refer to the blogs and Adobe life cycle designer help to know more on scripting.

Hope these help.

- anto.

amolgupta
Active Contributor
0 Kudos

as far as coding part is concerned....

1). u can use JavaScript...

2). also you can upload the pdf form and work with Context.

1). Java Script is for validations purpose.

Java Script should be helpful when your form is offline.

2). Upload the form.

Get the contents of the form into dynpro CONTEXT attributes.

(Remember you bound UI elements of form with Context attributes

OR

dragged and dropped Context Attributes to create UI elements in the form)

And use get/set methods to access/modify the contents of the UI elements

in the form.

The point is that <b>you can get the contents of the form into Dynpro Context.</b>

And after that you know how to deal with data in Web Dynpro Context

attributes. Right...??

regards,

-amol gupta

Answers (0)