Skip to Content
author's profile photo Former Member
Former Member

Function Module or BAPI to Create/Change/Delete Service Contracts

Hi,

I have to do a mass upload development to create/change/delete contracts. Same thing which we used to do from Transaction ME31k and ME32K. Here i have a excel file from which i have to pick data and create/change/delete contracts.

For normal contracts i have found BAPI(BAPI_CONTRACT_CREATE and BAPI_CONTRACT_CHANGE) to create/change/delete contracts. But i am facing problem if user want to create/change/delete service contract which contains Service Line Items. I have not found any usefull BAPI or FM to create/change/delete Service Contracts. I have try to use BDC recording but that too fails if screen changes based on Vendor or any other entry.

I have also tried BAPI_SERVICE_CREATE and ME_CREATE_DOCUMNET for Service Contract but couldn't find the fruitful result.

I need your expertise in this issue.

Thanks In Advance,

Prakhar Singh Chandel

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 30, 2013 at 07:25 AM

    Hi Prakhar

    Can you please explain us the issue you face with BAPI_SERVICE_CREATE and ME_CREATE_DOCUMNET?

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Nabheet Madan

      Hi Nabheet,

      No, BAPI_CONTRACT_CREATE cann't create service contract. It not only the type of contract which changes, there are multiple fields of Service Line Item which need to be passed to create a service contract, but these fields are not part of BAPI_CONTRACT_CREATE.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.