Skip to Content

Creating a Service Contract

Nov 29, 2016 at 06:20 PM


avatar image
Former Member

Hello All,

I want to create a Service type OA but the BAPI: BAPI_CONTRACT_CREATE does not support it. I explored and found a class: LCL_BAPI_AGREEMENT which has a structure: "meoutbapi_t_itemall" inside BAPI which can support Service but unsure on how to use it. Also got a proxy: PurchasingContractERPRequest_In_V1 and its class which supposedly can create the Service OA.

Can anyone help me here on how to proceed?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nic Teunckens Nov 29, 2016 at 08:32 PM

SAP-KBA 1977343 clearly states that there is no current BAPI for the Service Contract creation ...

Extract :

"BAPI_CONTRACT_CREATE does not support service or limit items as it is missing structures like POSERVICES or POLIMITS (present in BAPI_PO_CREATE1). This is a missing functionality.

There are two options:

  • you can use batch input (BDC) to create service contracts or
  • you can use Enterprise Services (ESOA), for instance PurchasingContractERPRequest_In_V1, as it is equipped to handle MM-Services structures."

This SAP-Wiki can provide some starting point on how to perform BDC for Service Contract Creation.

10 |10000 characters needed characters left characters exceeded