cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Forms - Code Initialization question in ABAP

0 Kudos

Hi All,

How do you access an adobe form parameter in the code Initialization section that is passed in the adobe form function call.

I need to retrieve one of the parameters to modify one of my Global Definitions.

Any help would be appreciated.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

I need to fill a Global Data element (table) with ABAP code based on one of the input parameters, not change the form via formCalc. This global data element needs to be filled via SAP data, but the customer doesn't want to change the way the program is currently called, so the input parameters must stay the same. I am unable to test this myself because I don't have a system at the moment.

Thanks

Former Member
0 Kudos

Hi Derek,

In the initialization part of the interface linked with the form you can retrieve the content of a prameter like in SMARTFORMS .

Tell me if you need more.

Best regards

Answers (2)

Answers (2)

Former Member
0 Kudos

use $record.CUSTOMER in the formcalc.

<removed by moderator>

Edited by: Mike Pokraka on Jul 29, 2008 1:14 PM

0 Kudos

Maybe I need to refine my question a bit since it has not been answered.

When the following is called. Can I refer to the parameter CUSTOMER in the 'Code Initialization' section of the form interface? Are these parameters global in scope?

Thank you,

CALL FUNCTION FM_NAME

EXPORTING

/1BCDWB/DOCPARAMS = FP_DOCPARAMS

CUSTOMER = CUSTOMER

BOOKINGS = BOOKINGS

CONNECTIONS = CONNECTIONS

  • IMPORTING

  • /1BCDWB/FORMOUTPUT =

EXCEPTIONS

USAGE_ERROR = 1

SYSTEM_ERROR = 2

INTERNAL_ERROR = 3.