‎2012 Sep 05 8:48 AM
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
‎2012 Sep 05 9:58 AM
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
‎2012 Sep 05 9:58 AM
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