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

Syntax error in IDoc (segment cannot be identified)

Former Member
0 Likes
669

Hi Experts ,,

I am new in the area of developing IDOC.

I am extending a object and trying to insert a segment in it(ZPO_SEGMENT) having two fields .

The position of teh segment is same in the extended object and in the IDOC number.

But i am getting the fallowing error.

The segment ZPO_SEGMENT does not occur at the current level of the basic type ORDERS05 (extension ).

Can you plz help me in this..

3 REPLIES 3
Read only

adrian_mejido
Contributor
0 Likes
529

Hi Mukti,

How do you extending your standard IDOC?

Do you use the transaction WE30 and then add your Z segment that you should have been created with the WE31 transaction?

Best regards

Read only

0 Likes
529

Hello Adrián ,

Yes , through WE30 i am creating the extension linking the Standard one .After creating , i am inserting the segment..

Regards,

Mukti

Read only

0 Likes
529

Hi Mukti,

You should check the position of your Z segment in the IDOc because It might be the issue.

Best regards