‎2012 Feb 15 9:27 AM
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
‎2012 Feb 15 10:32 AM
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
‎2012 Feb 15 10:32 AM
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
‎2012 Feb 16 3:27 PM
Thanks for your info.Now I can able to create using the same function module IDOC_INPUT_ORDERS.
Thanks
Gowrishankar
‎2012 Feb 16 3:27 PM
‎2012 Feb 29 12:50 PM
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