‎2007 Mar 13 5:16 AM
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
‎2007 Mar 13 5:31 AM
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
‎2007 Mar 13 5:41 AM
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
‎2007 Mar 19 8:45 PM
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.