11-19-2008 9:51 AM
Hi i have sales order no i need to get text sold-to-party and ship-to-party
if you dispaly the customer in va03, we are having sold-to-pary and ship-to-party and thier text adress. Please tell me how to get that text.
11-19-2008 9:56 AM
Hi
U need to check the table for sales order partner VBPA, here u can find the field ADRNR:
- If it's not filled it means the address data are the original data, so u can find them in the master data (KNA1 or LFA1)
- If it's filled it means some address data was changed in the order so u can find them in the table ADRC.
Max
11-19-2008 9:56 AM
Hi
U need to check the table for sales order partner VBPA, here u can find the field ADRNR:
- If it's not filled it means the address data are the original data, so u can find them in the master data (KNA1 or LFA1)
- If it's filled it means some address data was changed in the order so u can find them in the table ADRC.
Max
11-19-2008 10:00 AM
Hi i have adress no , i want text of that adress. please check va03 transaction you will ship-to-part no and text
11-19-2008 10:05 AM
11-19-2008 10:05 AM
11-19-2008 10:19 AM
i want to Display text for partners (name, city, country, street) filed KUAGV-TXTPA
11-19-2008 10:49 AM
Hi
The contenent of the field KUAGV-TXTPA is created at runtime: here the system inserts the address data get from master table: KNA1 and ADRC:
U can use the fm SD_ADDRESS_BUILD in order to know how that field has to be filled
Max
11-19-2008 10:14 AM
Hi,
Goto vbpa give vbeln = vbak-vbeln and parvw = 'PY' " for payer
or parvw = 'SH* " for ship-to party
or parvw = 'SP' "for sold to party
or *
Get the kunnr and goto kna1 for the rest details of address....
Regards
Debarshi
11-19-2008 10:20 AM
Hi Reddy
Try function module BAPI_CUSTOMER_GETDETAIL2
give the customer number as input (which is displayed in VA03)
Check the "CUSTOMERADDRESS" structure
Regards
Rajvansh
Edited by: Rajvansh Ravi on Nov 19, 2008 11:21 AM
11-19-2008 11:37 AM