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

Inserting new segement in ORDERS05 basic Idoc strucutre

Former Member
0 Likes
742

Hello All,

I have created Custom Segement for GR details in PO basic Idoc.

I have written code to insert this custom segement in exit 'EXIT_SAPLEINM_011' it is giving an error 'EDI: Data records are not numbered sequentially' , hence its not creating an IDOC.

If anyone have any Idea on this please reply.

Thanks .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
590

Pass the parent segement name and Hierarchy number correcty

Hello All,

I have created Custom Segement for GR details in PO basic Idoc.

I have written code to insert this custom segement in exit 'EXIT_SAPLEINM_011' it is giving an error 'EDI: Data records are not numbered sequentially' , hence its not creating an IDOC.

If anyone have any Idea on this please reply.

Thanks .

3 REPLIES 3
Read only

Former Member
0 Likes
590

hi nandana,

check with the follwoing link..

~linganna

Read only

Former Member
0 Likes
590

Check if values in SEGNUM of IDOC_DATA table are in sequence after segment insertion .

Read only

Former Member
0 Likes
591

Pass the parent segement name and Hierarchy number correcty