‎2010 Apr 19 7:51 PM
Hi,
I have a requirement in which i have to modify address displayed using sap script. The address is displayed using ADDRESS... ENDADDRESS. There is only one street field available. I need to display STREET1, STREET2 and STREET3. In the case of names, there is a provision to display up to four names seperated by commas. Please advise what can be done in this situation.
I had tried to use another field for street but most of the fields are already used.
Thanks a lot in advance.
‎2010 Apr 20 3:21 AM
Hello,
The standard ADDRESS command really does not
support fields like name_co, street2 and street3. If you
want to print these fields, you can enter the address into
central address management. After that print the address via:
/: ADDRESS
/: ADDRESSNUMBER adress number
/: FROMCOUNTRY sender country
/: ENDADDRESS
where 'address number' is the number of the address. On this
way you will get all fields of the address.
Regards,
David
‎2010 Apr 20 3:21 AM
Hello,
The standard ADDRESS command really does not
support fields like name_co, street2 and street3. If you
want to print these fields, you can enter the address into
central address management. After that print the address via:
/: ADDRESS
/: ADDRESSNUMBER adress number
/: FROMCOUNTRY sender country
/: ENDADDRESS
where 'address number' is the number of the address. On this
way you will get all fields of the address.
Regards,
David
‎2014 Dec 19 5:33 AM
Hi David ,
I have a similar requirement as you are discussing. I am using the same logic what you have said above but the thing is I am not getting the District field (ORT02) by using the standard.
Can you please tell me if I need to do any setting to get the field by passing address number.
You have used the word central address management , can you tell me how do I do that.
Need your support for closing the issue ...
Thanks
Raj
‎2010 Apr 20 5:09 AM
‎2010 Apr 20 6:18 AM
Hi,
Thanks a lot for your valuable time.
I was not able to do anything. I had to discuss and make the client understand. Hence I had addedd Street1 and Street 2 after the Name1/Name2 in the NAME field and then Street3 under the STREET.
I had to manipulate it. In case, if i could have done in any better way, Please let me know as it would be helpful in future.
Thank you.
Niranchan.
‎2010 Apr 20 9:55 AM
Use FM ADDRESS_INTO_PRINTFORM to get the whole address.
Pass the address number to ADDRESS_NUMBER and ADDRESS_TYPE as 1. You will get all the streets maintained in address from parameter ADDRESS_PRINTFORM_TABLE.
You have to call the FM using PERFORM ENDPERFORM statement in the script.
‎2010 Jul 20 3:23 PM