2014 Dec 11 10:40 AM
Hi Experts,
I am new in SAP DBM. We need to upload service contract with DBM data at item level.
We checked BAPI_CONTRACT_CREATEFROMDATA but it is not having fields as given in DBM data in item level.
Please let me know if any BAPI/FM/Class/LSMW to upload the same.
Regards,
Abhishek Patel
2014 Dec 11 11:54 AM
Hi Abhishek,
There is no ready made RFC function module for Service contracts of DBM.
You would have a develop a custom wrapper function module which will should include all those modules toghether to create a service contract including the following function modules & use the class:
FM:
BAPI_CONTRACT_CREATEFROMDATA.
Class:
/DBM/CL_CNT_ASSIGNED_VEHI-
/DBM/CL_CNT_AX_CNTRT_UPD
/DBM/IF_CONTRACT_SPLIT
/DBM/CL_IM_SD_SALES_ADDON
/DBM/CL_CNT_AX_CNTRT_UPD
Hopefully the wrapper function module created with combination of class & function modules will work.
Regards,
Sachin Balmiki
2015 Jan 04 7:14 PM
Hi Abhishek,
Any luck with the solution.. did u get any clue to get to your solution?
Please share.
Regards,
Sachin Balmiki
2015 Jan 05 3:11 PM
Hello Abhishek ,
What data do you need to add to items?
This table bapisditm from BAPI BAPI_CONTRACT_CREATEFROMDATA u can aggregate information at the item level.
Regards,
Diogo Pimenta