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

Orders by Idoc

Former Member
0 Likes
1,855

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,268

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.

Read only

Former Member
0 Likes
1,268

Hello,

Check segment e1edk02(header data) wih qualifier '001'.

This qualifier identifies customer PO number.

Mark points if it helps.

Thanks.

Read only

0 Likes
1,268

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.

Read only

Former Member
0 Likes
1,268

hi,

create a that particular segment in IDOC.for creating that segment in idoc use this tcode:se31

Read only

0 Likes
1,268

Hi,

Correction ...To create segment use tcode WE31 not SE31 !!

Cheers.

Read only

Former Member
0 Likes
1,268

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,