Am using RV_SHIPMENT_PRINT_VIEW fm to get values for Pick list smartform.
I have to print sold to and ship to addresses for every delivery num.I have many tables as output of fm.Could you please tell me which adrnr to use for ship to and sold to?
And how to differentiate sold to and ship to?
Amit Iyer replied
The field corresponding to KUNNR is ship-to party ..u get it in KNA1 from which u also get its ADRNR.
KUNAG is Sold-to party
In ur case VBPLA-ADRNR_AG contains Address number of the sold-to party.
VBPLA-ADRNR_WE contains Address number of the ship-to party.
u'll find this structure VBPLA in export part of ur FM.