Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ADDRESS_INTO_PRINTFORM

Former Member
0 Kudos

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

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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).