SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to create service contract with DBM Data

Former Member
0 Kudos
376

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

3 REPLIES 3

SachinX
Product and Topic Expert
Product and Topic Expert
0 Kudos
295

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

SachinX
Product and Topic Expert
Product and Topic Expert
0 Kudos
295

Hi Abhishek,

Any luck with the solution.. did u get any clue to get to your solution?

Please share.

Regards,

Sachin Balmiki

Former Member
0 Kudos
295

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