Hi All,
I am trying to create a sale order through IDOC ORDERS05, which is with reference to Contract. and my XMl file have two line items. I am using Qualifier 058 for create sales order with ref to contract at header and item level as suggested in SAP note 562710. but the problem is when I fill segment E1EDP19 with customer material number along with Qualifier 001 system always give error that item Does not exit with error message V1(331).
But If I fill E1EDP19 segment with my internal material number I am able to create sales order successfully. if I remove this segment system will consider only last item of the XML file and creating a sales order.
Please suggest me how should I fill the segment E1EDP19.
Below is sample data from my XML file which I am using input for order creation.
E1EDP01 SEGMENT="1"><POSEX>000020</POSEX><ABGRT>COMPT E LINKY MONO PILOTE</ABGRT><FIXMG>20160620</FIXMG><MENGE>100</MENGE><MENEE>C62</MENEE><VPREI>71</VPREI><PEINH>1</PEINH><NETWR>14200</NETWR>-<E1EDP02 SEGMENT="1"><QUALF>058</QUALF><BELNR>C1714C1270_N</BELNR><ZEILE>000020</ZEILE><DATUM>20150831</DATUM></E1EDP02>-<E1EDP02 SEGMENT="1"><QUALF>001</QUALF><BELNR>C1714C1270_N</BELNR><DATUM>20150831</DATUM></E1EDP02>-<E1EDP20 SEGMENT="1"><WMENG>100</WMENG><AMENG>0.000</AMENG><EDATU>20160620</EDATU></E1EDP20>-<E1EDP19 SEGMENT="1"><QUALF>003</QUALF><IDTNR>03760033070117</IDTNR><KTEXT>NCOMPT E LINKY MONO PILOTE</KTEXT><MFRPN/><MFRNR/></E1EDP19></E1EDP01>
// Nagesh