cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to update customer Sales data using CMD_EI_API

0 Kudos

Hi SAP experts,

I am satya and from SAP ABAP team,

I am working on S/4 HANA implementation project

We have requirement to create program for customer master upload in SAP system and Our functional team has made few fields default in configuration like, partner functions and Currency and hence we are not uploading that data in program and i am using CMD_EI_API to udpate customer master data and everything is fine but i am not abe to update sales data due to the said problem and the API i am using is giving error "Partner mandatory role is missing for sales area".

The observation in here is that we are able to create customer in Transaction BP without any issues and the currency field value and partner functions in sales area of customer are coming in default as per configuration in BP but this issue is coming only when i am trying to create customer from custom program using the following API CMD_EI_API.

I need to know mainly how to solve the issue with CMD_EI_API.

Please help me out if you have any solution for this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Rahul23
Explorer
0 Kudos

Hi Guys,

My issue is sovled. I am able to update customer master sales area successfully. Unlike configuration we need to give default fields also when we are updating customer master from custom program and that is what i did and it is working as expected now.

Thanks to this platform.