cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module

Former Member
0 Kudos

Where should we write the function module in a script or related print program..

I have to implement address_into_pintform to get the address in a quotation. where shuold i write this and how to write this...

Give me the example code for this pls...

Regards,

pandu.

Accepted Solutions (0)

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

You have to use the ADDRESS .. ENDADDRESS command in the SAPscript like this:

/: ADDRESS

/: TITLE 'Firma'

/: NAME 'Schneider & Co', 'Finanzberatung'

/: STREET 'Kapitalgasse 33'

/: POBOX '12345' CODE '68499'

/: POSTCODE '68309'

/: CITY 'Mannheim'

/: COUNTRY 'DE'

/: FROMCOUNTRY 'DE'

/: ENDADDRESS

This produces the following output address:

Firma

Schneider & Co

Finanzberatung

Postfach 12345

68499 Mannheim

You can replace the hardcoded values with the respective variables from the ADRC table.

SAPscript makes an internal call to the ADDRESS_INTO_PRINTFORM function

module for formatting the address.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi Naimesh, thank u for ur reply..

but i dint understand how to do that one ..

Can u pls explain it to me a bit detail pls....

if write like this, what should i write in the print program...

Pls help mee...

Regards,

pandu.