cancel
Showing results for 
Search instead for 
Did you mean: 

How to get sold to party details by using LIKP-KUNAG

0 Kudos

Hi guys sI am new to SAP

I am preparing sales order form , in that I need to pass LIKP-KUNAG and display the sold to party address ...

but LIKP-KUNAG is not a key field then hw can i pass this value and fetech the sold to party address

Please resolve this problem

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

alex_zheng
Contributor
0 Kudos

Hi,

The partner functions are saved in table VBPA for SD document.

You could use the sold-to party partner number to get address number(ADRNR) from VBPA.

Then get the detailed address info by using this address number to fetch in table ADRC.

Regards,

Alex

Answers (2)

Answers (2)

0 Kudos

thank u

Jelena
Active Contributor
0 Kudos

If you're working on the sales order form, why are you looking at the delivery table LIKP?

If this is a Smart Form with a standard interface, the sold-to address should already be available in the interface and there is no need to look it up. Check this first.

Otherwise you can lookup the address ID in KNA1-ADRNR field (KUNNR = KUNAG) and then just use the address node in the smart form, which wil do all the formatting.