Skip to Content

Adobe Forms - Code Initialization question in ABAP

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 28, 2008 at 03:03 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Jul 25, 2008 at 05:21 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 28, 2008 at 03:39 AM

    use $record.CUSTOMER in the formcalc.

    <removed by moderator>

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

    Add comment
    10|10000 characters needed characters exceeded