2006 Jun 12 6:52 AM
Hi..
Please tell me what exactly the FM--> ADDRESS_INTO_PRINTFORM do?
As in SAP-SCRIPT, in the display of sold-to-party, sometimes I am getting the full country name instead of short-form(say Estonia and not ES) and at times I am getting only short-forms instead of full names(Say UZ instead of UZbekistan).
I want a requirement in which I shoukd always get the full country name.
Thanks
Hi..
Please tell me what exactly the FM--> ADDRESS_INTO_PRINTFORM do?
As in SAP-SCRIPT, in the display of sold-to-party, sometimes I am getting the full country name instead of short-form(say Estonia and not ES) and at times I am getting only short-forms instead of full names(Say UZ instead of UZbekistan).
I want a requirement in which I shoukd always get the full country name.
Thanks
2006 Jun 12 6:59 AM
See the code below. If you want to get full address then give number_of_lines as 10. This FM will print the address according to the Standard address format of the sender_country. So the address format will change depends upon the sender country.
CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'
EXPORTING
address_type = '1'
address_number = adrnr
sender_country = sender_country
number_of_lines = 10
street_has_priority = 'X'
IMPORTING
address_printform = wa_address.Cheers,
Thomas.
Please mark point if you got solution.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |