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

Processing IDOC through FM IDOC_INPUT_ORDERS

Former Member
0 Likes
1,187

Hi experts,

When i am processing an Inbound IDOC through FM IDOC_INPUT_ORDERS, I am facing an issue with respect to order type.

I am already passing Order type to one of the segments of IDOC(E1EDK01-BSART) but when i see in debugging mode the order type is seen as 'TA'.

I also  passed data to EDSDC table keeping in mind that this FM takes the order type from this table.

I am always getting Order Type as "TA".........

1 ACCEPTED SOLUTION
Read only

madhu_vadlamani
Active Contributor
0 Likes
1,047

Hi Venkat,

It is not clear.Are you able to create or not/

Regards,

Madhu.

5 REPLIES 5
Read only

madhu_vadlamani
Active Contributor
0 Likes
1,048

Hi Venkat,

It is not clear.Are you able to create or not/

Regards,

Madhu.

Read only

0 Likes
1,047

Hi Madhu,

I am able to create Inbound IDOC but when i am processing it for creating a application document such as Sales Order I am facing an issue with respect to order type.

This i came to know when i debugged my IDOC in foreground mode was able to see in VA01 screen Order type field as 'TA'.

Even though i am passing some value to the Order Type segment.

Read only

0 Likes
1,047

Hi Venkat,

You need to pass the sales order type in the segment E1EDK14.

Please pass E1EDK14-QUALF = '012' and E1EDK14-ORGID = <sales order type> .

Cheers

~Niranjan

Read only

0 Likes
1,047

Hi Niranjan,

Thank you very much for your information

Now i am able to see the order type on VA01 screen while debugging the IDOC.

Thanks a lot

Read only

Former Member
0 Likes
1,047

Hi Venkat,

               I guess, this behaviour is made in the customizing part for Sales Order....Please check the language specific conversion of the sales order type customizing in the below path and check whether 'TA' is mentioned as the SD type for the particular document type you are passing.

SPRO-->Sales and Distribution-->Sales-->Sales documents-->Sales document header-->Convert Language For Each Sales Document Type

For example...If you are passing the document type as 'NA' in language EN....and the customizing in the above path is
Language   SDTy   Lang.Key
EN             TA       NA

then there is a possibility to pick TA by default.

Hope it helps.

Regards,

Srikanth.