Skip to Content
avatar image
Former Member

ADDRESS_INTO_PRINTFORM

Hi experts..

iam using the FM ADDRESS_INTO_PRINT FORM in my report.

my requirement is to display the formated address based on COUNTRY ,as like same in transaction VD03.

i gone trough the previous therards and documentations, i did not understand how to use. please tell me how to pass the import variables,

please tell me which are the variable should used in FM ,

which is required from address variables ADRSWA_IN, ADDRESS_1, ADDRESS_2 , ADDRESS_3 .

what are the other parameters are required ?

Thanks

vasavi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Sep 03, 2008 at 03:14 PM

    Function module is clearly documented. so what is the problem in reading the Documentation. No one can explain better than that.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2008 at 03:18 PM

    HI,

    When you use the Where used list on this FM you will get many programs where this FM is used.

    For eg: In program SDADPL01

    the following code is there

    ADRS-ANRED = VBDKL-ANRED_WE.

    ADRS-NAME1 = VBDKL-NAME1_WE.

    ADRS-NAME2 = VBDKL-NAME2_WE.

    ADRS-NAME3 = VBDKL-NAME3_WE.

    ADRS-NAME4 = VBDKL-NAME4_WE.

    ADRS-STRAS = VBDKL-STRAS_WE.

    ADRS-PFACH = VBDKL-PFACH_WE.

    ADRS-PSTL2 = VBDKL-PSTL2_WE.

    ADRS-LAND1 = VBDKL-LAND1_WE.

    ADRS-PSTLZ = VBDKL-PSTLZ_WE.

    ADRS-ORT01 = VBDKL-ORT01_WE.

    ADRS-ORT02 = VBDKL-ORT02_WE.

    ADRS-REGIO = VBDKL-REGIO_WE.

    ADRS-INLND = VBADR-LAND1.

    ADRS-ANZZL = 2.

    CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'

    EXPORTING

    ADRSWA_IN = ADRS

    IMPORTING

    ADRSWA_OUT = ADRS.

    Just check like this.You can find many standard programs.

    Regards,

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2008 at 07:17 PM

    If you go to the FM and Goto -> Documentation it explains alot.

    But at a minimum you need to pass the address type (typically '1'), address number (i.e. adrc-addrnumber), and sender country (i.e. CAN for Canada).

    Add comment
    10|10000 characters needed characters exceeded