Application Development and Automation 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: 
Read only

service contract

Former Member
0 Likes
1,163

Hi ,

I am creating contract using BAPI_CONTRACT_CREATE. I need to update the ESLL (Service)table with the contract.can anyone give me a suggestion how to do this.

Hi ,

I am creating contract using BAPI_CONTRACT_CREATE. I need to update the ESLL (Service)table with the contract.can anyone give me a suggestion how to do this.

5 REPLIES 5
Read only

Former Member
0 Likes
938
Read only

Former Member
0 Likes
938

Hi Neel,

I am creating PURCHASE contract using BAPI_CONTRACT_CREATE. I need to update the ESLL (Service)table with the contract.For the service we need to to enter "D" in item category when we run ME31K.Then only we can enter service line fior each line item..When we create this contract through BAPI then I am unable to enter the service line data because I am not getting any structure(fields) in this BAPI to map . Please give me a suggestion if anyone has used this BAPI to create service Contract.

Read only

0 Likes
938

Dear Susanta,

Can you check what is this field ITEM_CAT. This is the field from the table parameter ITEM.

Regards,

Madhu.

Edited by: madhurao123 on Feb 2, 2011 4:53 PM

Read only

0 Likes
938

Hi ,

I know that we have to pass the ITEM_CAT field for item category (D).But problem is I am unable to map the service line fields like SERVICE. If you run run ME31K with item category D then you can see that after filling the header and line items ,one screen will come for service line for each line item.You can find afield 'SREVICE' and also some other fields like quantity and order unit and price.we have to match these fields with the appropriate BAPI structure ,then only it will work which I am not able to map.Perhaps this BAPI may not work for creating service Contract because in the FM documentation it has been written that it doesn't support for internal/ external services.But as this BAPI reflects ME31K ,so I hope if anyone has created the service contract with this BAPI please help me.

Read only

0 Likes
938

Hi there

Did you find a solution ?

Thanks

M