cancel
Showing results for 
Search instead for 
Did you mean: 

Error while create service contract by BAPI (BAPI_CONTRACT_CREATE)

rahuxingh8
Explorer
0 Kudos

Hello Experts and SAP Community.

I am unable to captured Service related field by using standard BAPI (BAPI_CONTRACT_CREATE) and getting error while create service contract regarding service related field which are not captured. I am drafting the issue and to get input from you, Please refer below given screen-print.

Initial Screen of Standard BAPI: 

rahuxingh8_1-1716372690913.png

after the giving all input , I have given input as “9”(Service Item) in the ITEM_CAT  and 'U" (account assignment category) for the item.

rahuxingh8_2-1716372845584.png

And I did not find a structure to enter a service related entry.

rahuxingh8_0-1716372620283.png

So when I execute the BAPI,I got error message, Please refer the below message for your reference:

rahuxingh8_3-1716373108507.png

Could you please guide/suggest me in this case, If anyone faced the same scenario in past. or Could you please suggest me is there any alternative solution to achieve this target ?

Thanks in advance for your help & support and even the smallest hints that could help me.

--

Thanks & Regards

Rahul Kumar

#https://community.sap.com/t5/application-development-discussions/to-create-service-contract-me31k-us... 

#https://community.sap.com/t5/application-development-discussions/bapi-for-service-contract-me31k/m-p... 

 

 

View Entire Topic
DominikTylczyn
Active Contributor
0 Kudos

Hello @rahuxingh8 

That is a missing functionality - service items are not supported by BAPI_CONTRACT_CREATE. See the note 1977343 - BAPI_CONTRACT_CREATE for service or limit items

Best regards

Dominik Tylczynski