cancel
Showing results for 
Search instead for 
Did you mean: 

Where to write a form module?

Former Member
0 Kudos

Hello everybody,

I want to use the function module address_into_printform in order to prepare the address fields in a form. Where can I call this function module and how do I link it to the fields of the form?

Thanks and regards!

Accepted Solutions (1)

Accepted Solutions (1)

NoJo
Active Participant
0 Kudos

call fm address_into_printform in your print-programm before you create your form;

pass the table ADRS_PRINT of the fm-output as context to your form (or concatenate it into one string, separated by CRL)..

display in a table (or textfield)

Former Member
0 Kudos

ok, but what if I can't call the form module in the print program? The print program is an SAP Program that I can not change.

Can't I call the form module somewhere in the Adobe form? So that when the Adobe form is needed, the function module will be processed and then the address field updated?

Thanks a lot for your help!

former_member191062
Active Contributor
0 Kudos

Hello,

the interface of the form has a section: Code Initalization and Form Rutines. Here you can make ABAP function calls and prepare your data.

Best regards,

Dezso

Answers (0)