06-19-2008 9:02 AM
Hi Experts,
i've a requirement where i need to develop a custom IDOC for Planned order creation. is there any standard IDOC for Planned order creation and if it is there then provide me the complete details like IDOC name, message type name, posting and selection program names etc.
if i need to create a custom idoc then wht is the procedure for it.
Regards
Faisal
06-19-2008 10:45 AM
Hi Abdul,
You can use the below details for achieving the below requirement:-
Message Type :- LOIPLO
Basic Type :- LOIPLO01
You need not create any custom IDOC type as we are having a standard IDOC type available within SAP, but you need to write a custom function module to read the data from the IDOC segments and then call the below BAPI to post the Planned Order.
Check the input parameters of BAPI and gothrough the documentation of the Basic Type in WE60 transactions, whether all the necessary input parameters of the BAPI are covered in the standard IDOC type, if not then we need to customize the standard basic type to meet the requirements.
Bapi which needs to be used is BAPI_PLANNEDORDER_CREATE.
I think all these inputs will solve your purpose.
Thanks,
Mahesh.
06-19-2008 10:45 AM
Hi Abdul,
You can use the below details for achieving the below requirement:-
Message Type :- LOIPLO
Basic Type :- LOIPLO01
You need not create any custom IDOC type as we are having a standard IDOC type available within SAP, but you need to write a custom function module to read the data from the IDOC segments and then call the below BAPI to post the Planned Order.
Check the input parameters of BAPI and gothrough the documentation of the Basic Type in WE60 transactions, whether all the necessary input parameters of the BAPI are covered in the standard IDOC type, if not then we need to customize the standard basic type to meet the requirements.
Bapi which needs to be used is BAPI_PLANNEDORDER_CREATE.
I think all these inputs will solve your purpose.
Thanks,
Mahesh.