2006 Nov 20 10:04 AM
I want to create sales order by idoc. In the idoc, I want to record the PO number
BSTKD but I do not find the good code. It is ok for Purchase order
"BSTKD_E" with code 44.
My order is created but without PO number.
Can somebody help me?
thanks
2006 Nov 20 10:17 AM
Hi,
I am not very clear about u r code but if you wish to include PO in your IDOC then you have to check BSTKD field is available in any segment of that IDOC or not. If not then you may require to extend the segment to include PO and in the out bound programme you may write little bit of code to pass the BSTKD in the corresponding segment.
Cheers.
2006 Nov 20 10:23 AM
Hello,
Check segment e1edk02(header data) wih qualifier '001'.
This qualifier identifies customer PO number.
Mark points if it helps.
Thanks.
2006 Nov 20 10:34 AM
I already used qualifier '001' for E1EDK02, it's OK.
But for each item, PO number can be different. I use qualifier '001' for E1EDP02 but it doesn't work.
2006 Nov 20 10:33 AM
hi,
create a that particular segment in IDOC.for creating that segment in idoc use this tcode:se31
2006 Nov 20 10:37 AM
Hi,
Correction ...To create segment use tcode WE31 not SE31 !!
Cheers.
2006 Nov 21 8:43 AM
I want to create a sales order using IDocs.
I am given a file with the following fields that will create idocs..
Field Desc Field Name Value
-
Order Type vbak-auart OR
Sales Orgn vbak-vkorg 1000
Sold-to-party kuagv-kunnr 100181
Delivery Plant RV45A-DWERK 1000
Material RV45A-mabnr alive1
Order Quantity 10
Can you provide me the steps in taking the data from flat file and creating an idoc and create a salesorder thereby.
Thanks,