04-21-2015 12:11 PM
Hello experts
On behalf of information from LTAP I need to print some labels (LT32). That itself is not a problem.
But I need additional information like who requested the item. This information is found in EKPO-AFNAM or EBAN-AFNAM.
I probably need to go via several tables, but I have trouble finding the way.
Can anyone help me find the way through the jungle?
Best regards,
Jeanette
04-22-2015 9:26 AM
Hello Jeanette,
If your scenario is like
PO->Delivery->TO
then following tables would help you.
Get delivery(vbelv/posnv) from VBFA by passing TO number and item number in vbeln/posnn with vbtyp_n = 'Q'
Get PO number(vgbel/vgpos) from LIPS by passing above delivery in vbeln/posnr.
Get PO details from EKPO by passing above PO number in ebeln/ebelp.
Hope this helps you.
04-22-2015 9:26 AM
Hello Jeanette,
If your scenario is like
PO->Delivery->TO
then following tables would help you.
Get delivery(vbelv/posnv) from VBFA by passing TO number and item number in vbeln/posnn with vbtyp_n = 'Q'
Get PO number(vgbel/vgpos) from LIPS by passing above delivery in vbeln/posnr.
Get PO details from EKPO by passing above PO number in ebeln/ebelp.
Hope this helps you.
05-05-2015 9:32 AM
Thank you for your response.
At least your answer gave me a hint in what direction to look.
It appeared that I had misunderstood the requirements so I did not have the problem anyway.
Br
Jeanette