Application Development and Automation 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: 
Read only

idoc

Former Member
0 Likes
319

Dear friends

I have an serious of IDOC like 1,2,3,4 & 5 .

Based on the Idoc 1 i need to process the 2nd idoc and based on 2nd i need to send thr 3rd. if any error occurs in the previous idoc then the next idoc should not process.

Can anyone give me the suggestion to do it

thanks in advance

karthik

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
294

Hi,

Step1 :You can read the Idoc using the FM 'IDOC_READ_COMPLETELY'

Step2: Now Read idoc structure using FM

IDOC_TYPE_COMPLETE_READ.

Step3:Once you get the Idoc ..you use this idoc number and structure

to create another record

Thanks

Pramod

1 REPLY 1
Read only

Former Member
0 Likes
295

Hi,

Step1 :You can read the Idoc using the FM 'IDOC_READ_COMPLETELY'

Step2: Now Read idoc structure using FM

IDOC_TYPE_COMPLETE_READ.

Step3:Once you get the Idoc ..you use this idoc number and structure

to create another record

Thanks

Pramod