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

Reg: Error ( OR document type not defined)

Former Member
0 Likes
1,190

Hi Gurus,

we are currently using IDOC to transfer data from external system to SAP through PI,

For creating standard sales order i am passing

Header

sales document type

sales organisation

distribution channel

division

purchase order number

and purchase order date

sold to party

Item

material number

quantity

For that through IDOC the sales order is not created , it is throwing me an error

saying 'Sales document type OR not defined ' with status 51.

where as through VA01 , i was able to create the sales order by passing the above values

and i have also tested by adding unit of measure for the material and division field at item level in addition

but this also ends up with same idoc status 51.

please guide with some other fields that are mandatory for posting IDOC successfull.

Regards

S.Janagar

1 ACCEPTED SOLUTION
Read only

JackGraus
Active Contributor
0 Likes
676

Hi Janagar, the field order type has an internal value 'TA' and an exteral value that is 'OR' in Eglish. The internal value 'TA' is language indepentant. The external value is or can be different in different languages. That's wwy in interface scenario's most time the internal values are being used. The link between internal value and external values can be found in table TAUUM for order type.

Please use 'TA' instead of 'OR' in your IDOC and try again.

Regards Jack

1 REPLY 1
Read only

JackGraus
Active Contributor
0 Likes
677

Hi Janagar, the field order type has an internal value 'TA' and an exteral value that is 'OR' in Eglish. The internal value 'TA' is language indepentant. The external value is or can be different in different languages. That's wwy in interface scenario's most time the internal values are being used. The link between internal value and external values can be found in table TAUUM for order type.

Please use 'TA' instead of 'OR' in your IDOC and try again.

Regards Jack