Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC inbound

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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