‎2008 Oct 29 1:36 PM
I am getting the following message on some of the customers I try to udpate using BAPI_CUSTOMER_CHANGEFROMDATA1: Specify a URI type. I assume this has something to do with the URI communication method. I am, however, NOT updating the URI as part of this BAPI call. In my program I first call BAPI_CUSTOMER_GETDETAIL1, I then update several fields in the company data structure and then call BAPI_CUSTOMER_CHANGEFROMDATA1 passing the updated data.
‎2008 Oct 29 1:51 PM
‎2008 Oct 29 1:58 PM
No, the only fields i have flagged for changing are:
pi_companydatax-name = 'X'.
pi_companydatax-street = 'X'.
pi_companydatax-city = 'X'.
pi_companydatax-region = 'X'.
pi_companydatax-postl_cod1 = 'X'.
Edited by: Daryl Tracey on Oct 29, 2008 3:05 PM
‎2008 Oct 29 2:08 PM
‎2008 Oct 29 2:26 PM
It appears that it has something to do with having a URI Communication Method loaded to the Customer Master. If i remove the URI Communication Method from the Customer Master prior to running my program, I do not get the error message. Once I added it back, however, I got the message again. Don't understand why since I am not attempting to update the URI information in my BAPI call. I have tried saving several different, valid URIs via XD02 but continue to get the error as long as there is a URI communication method loaded. Does anyone know if this is a BAPI_CUSTOMER_CHANGEFROMDATA1 bug or if I can do something to prevent from getting this error message.
‎2008 Oct 30 12:08 PM
It appears that this is a bug in the version we are running. It is covered by Note 1120524: Error message AM 628 'Specify a URI type'.