Application Development and Automation 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: 
Read only

Problem with Purchase Order Form - SAPscript

aaron_morden2
Contributor
0 Likes
342

I have a custom purchase order form (Z_MEDRUCK) created using SAPscript. The address paragraph looks like this:

ADDRESS PARAGRAPH AS

TITLE &LFA1-ANRED&

 NAME &LFA1-NAME1&, &LFA1-NAME2&

 STREET &LFA1-STRAS&

 LOCATION &STR_SUPPL1&

 POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&

 CITY &LFA1-ORT01&, &LFA1-ORT02&

 POSTCODE &LFA1-PSTLZ&

 COUNTRY &LFA1-LAND1&

 REGION &LFA1-REGIO&

 FROMCOUNTRY &T001-LAND1&

ENDADDRESS

When the Purchase Order Form is printed, if a POBOX exists, it is used instead of the STREET. I did not write the SAPscript or any code involved with it. I would like the POBOX to only be used if a STREET does not exist.

Where would the logic to use POBOX exist? I have stepped through ME_PRINT_PO and have found nothing. Any ideas?

Thank You.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
300

After the word ADDRESS, add DELIVERY. This should make a physical street address take priority.

ADDRESS DELIVERY PARAGRAPH AS

1 REPLY 1
Read only

Former Member
0 Likes
301

After the word ADDRESS, add DELIVERY. This should make a physical street address take priority.

ADDRESS DELIVERY PARAGRAPH AS