Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update Service Contract using BAPI/FM for ME31K

Former Member
0 Kudos

Hi ,

I am using BAPI BAPI_CONTRACT_CREATE to create contracts.

It works fine, the only problem i am facing is while updating line item with item category "D' its simply skips the item category and create a item. The item category is blank when i see in transaction ME33K.

When i create it using ME31K transaction with line item item category type "D' its ask me to fill the services also for that line item.

My question is is there any BAPI which i can use to update the Services for item line with item category D.

Thanks

Amar

3 REPLIES 3

Former Member
0 Kudos

Can any body help me with this?

Former Member
0 Kudos

Hi Amar,

Not sure if this would help you but you can consider writing different logic (probably a BDC) for item category 'D', and use BAPI for all other cases (if 'D' is the only exception).

BAPI documentaion says:

*External services (planned and unplanned services) are not supported.

Creation of configurations is not supported*

Regards,

Shyam

Former Member
0 Kudos

Hello,

You can try this link:

[;