02-22-2019 12:18 PM
Hello
I am using the class cmd_ei_api=>maintain_bapi to create a customer using a FM. It is has been okay and creating a Customer when the FM is executed. However the business has made a requirement to create 2 similar Customers (difference will be on the customer number and few other attributes). This is such that a customer will have two accounts.
So i changed my code such that when creating the customer the FM runs and after executing it then runs again automatically (creating the second customer account) but with a few different attributes i.e Customer Number. However when executing the second time im having the below error
And if i check class CMD_API Number 091 it says "Update error" which will be on the below method
CALL METHOD cmd_ei_api=>update_modules
IMPORTING
es_error = ls_error.
* If an error has occured
IF ls_error-is_error = gc_true.
* Short dump
MESSAGE x091(cmd_api).
ENDIF.
Can you please assist on why it cant create 2 customers one after the other
Kind Regards
06-28-2019 12:51 PM
Hi,
did you ever get an answer to this one, we have a similar issue ?
Kind Regards