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

IDOC_INPUT_ORDERS

Former Member
0 Likes
969

Hi Friends

Right now I am creating sales order from IDOC using function module IDOC_INPUT_ORDERS.Now additionally I want to create a contract for the Incoming IDOC, Actually I called the sandard FM IDOC_INPUT_ORDERS inside Z function module.

So in that case is it possible to create contract through IDOC_INPUT_ORDERs or I have to use SD_SALESDOCUMENT_CREATE inside my z function module.

Please suggest me.

Thanks

Gowrishankar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
765

Hi Gowri,

I think you cannot create contract with IDOC_INPUT_ORDERS.

To create contract you can use BAPI_CONTRACT_CREATEFROMDATA, Please call this bapi inside your Z- FM.

Hope this will help.

Regards,

Mufee

Edited by: mufeebugga on Feb 15, 2012 11:33 AM

4 REPLIES 4
Read only

Former Member
0 Likes
766

Hi Gowri,

I think you cannot create contract with IDOC_INPUT_ORDERS.

To create contract you can use BAPI_CONTRACT_CREATEFROMDATA, Please call this bapi inside your Z- FM.

Hope this will help.

Regards,

Mufee

Edited by: mufeebugga on Feb 15, 2012 11:33 AM

Read only

0 Likes
765

Thanks for your info.Now I can able to create using the same function module IDOC_INPUT_ORDERS.

Thanks

Gowrishankar

Read only

Former Member
0 Likes
765

Issue resolved.

Read only

0 Likes
765

Hi Gowri,

We have the same requirement to change contract using inbound idocs.

Can you please send some details on the solution you have used?

Thanks in advance for your help.

Regards,

Navin