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

Rquire sample code for Custom IDOC mass processing.

senthil_kumar29
Participant
0 Likes
267

Hi,

I like to have custome defined function module for Inbound IDOC for mass processing.

I like to have definition, how we identify child segments in mass processing.

for ex. I have a header segment and 2 diff. child segments. if these child segments have max. limit is 1000, how we relate the header and child segment. IDOC No. will not differentiate in this case.

If I have 2 header segments and some child segments under it. If I read the first header segment, How do I relate it to the child segment under it.

Please help me out here.

Cheers,

Sam

1 REPLY 1
Read only

cliverobertson
Associate
Associate
0 Likes
231

Hi there,

The Idoc will contain the header segment and the child segments. You can identify the child segments by reading the SEGNAM field (on EDID4). This will contain the name of your Segment that you have defined. Read this table using the DOCNUM (Idoc number). Your data will be contained in SDATA field.

hth,

Clive.

Message was edited by:

Clive Robertson