on 07-04-2007 7:48 AM
Hi,
I have a problem with the first line of the delivery address on PO output.
The delivery address used on POs is Internal Address. The first line of the Internal address used on the PO output is <b>Name1</b>.
But the text in the field <b>Name 1</b> is taken from the field <b>Object Abbriviation</b> from the Organizational Hierarchy (ppoma_bbp).
I dont want this line in the delivery address on the Output.
How can I remove this line, or how can I change the field Name1?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
I know that it is in the smart form. We have made a custom smart form that we use.
The delivery address data is setup as in the standard BBP_PO.
Type <b> Organizational Address (1)</b>
Address Number <b>&SHIP_TO_HEAD-ADDR_NO&</b>
But have anyone expirenced the problem I describe, and do they have a solution for it?
I have tried setting up the Priorty of lines, but it doesn't seem possible to get rid of this problem that way?
Hi
Look for the Program logic maintianed in the Smartform window.
Inside SHIP_TO_HEAD structure, the data is fetched in the Global Setting section in smartforms transaction ( - Inside Global Definitions section).
*same for ship-to party
READ TABLE sf_po-ship_to INTO ship_to_head INDEX 1.
IF sy-subrc = 0.
ship_to_unique = 'X'.
LOOP AT sf_po-ship_to
INTO ls_partner
WHERE partner_no NE ship_to_head-partner_no OR
addr_no NE ship_to_head-addr_no OR
pers_no NE ship_to_head-pers_no.
CLEAR ship_to_unique.
EXIT.
ENDLOOP.
ENDIF.
Here you need to change the logic as per your bsiness requirement.
Hope this will help.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.