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
514

Hi Friends:

When i am executing my IDOC triggering program i am getting the error as

EDI: IDOCTP field in control record is invalid.

As i have declared the extension idoc type in the global declaration part.

I'm not getting what this error means. So frnds plz suggest me what to do.

Thnks in advance

Santosh L.G

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
471

Hi,

i Think u have given wrong field name for idoc type,it is DOCTYP...plz chek the same..ALso plz check the table EDIDC and check the fields u have declared...

Regards,

Nagaraj

Read only

0 Likes
471

Hi nagaraj,

I have given the correct name for idoc type. I tried for both edidc-idoctp field and edidc-doctyp giving the same idoc type. Here actually i am using extended idoc type.

Suggest me

Thnks

Santosh

Read only

0 Likes
471

Your IDoc control record is fixed in length so ensure the other fields in the segment are of proper length, if a preceding field is short one character it will throw off the subsequent fields.