2008 Feb 20 9:39 AM
Hi Experts my scenario is
I am using Idoc type INVOIC02.
anfs message type ZINVOIC02
So I need to extract data from inbound idoc based on the above message type ,idoc type and dircetion 2(for inbound) and needs to display
idocno
customername
invoicedate
po_no
item_no
uom
qty
description
Exteended price
in an ALV
cna any one help
Thanks
Umesh
Hi
1. Get the IDOC number (DOCNUM) from EDIDC based on the IDOC type, message type and other details.
2. Use FM IDOC_READ_COMPLETELY, pass the idoc number. You get back the data record and status record in 2 internal tables.
3. Display the data in ALV using the data record fetched above.
THanks
Vijay
PLZ reward points if helpful
2008 Feb 20 9:58 AM
Hi
1. Get the IDOC number (DOCNUM) from EDIDC based on the IDOC type, message type and other details.
2. Use FM IDOC_READ_COMPLETELY, pass the idoc number. You get back the data record and status record in 2 internal tables.
3. Display the data in ALV using the data record fetched above.
THanks
Vijay
PLZ reward points if helpful
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |