Ansicht
Dokumentation

COM_BPUS_ORGDAT_FOR_CPUSER_CH1 - Change Master Data on an Organization's Contact Person

COM_BPUS_ORGDAT_FOR_CPUSER_CH1 - Change Master Data on an Organization's Contact Person

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to change some of the master data on an organization (business partner of category Organization) using the user of a business partner in the role Contact Person, with which the contact person is linked through an is contact person relationship.

You can enter the business partner of the contact person or organization directly by using import parameters IV_CONTACTPERSON and IV_BUSINESSPARTNER. If these import parameters are not filled, you have the option of using import parameter IS_ALIAS and/or IS_USERNAME to enter the user. The existence of the user defined by the import parameters is checked. If IS_ALIAS and IS_USERNAME are entered, the system checks whether an assignment exists between the alias and user name. If you do not enter a user, the value of the system variable SY-UNAME is transferred to the CRM system as the user.

A contact person can be linked to several organizations through a is contact personrelationship. You can choose a determination rule to help select an organization by using import parameter IV_ORG_SEARCH_MODE.

You can make changes to central data (IS_CENTRALDATA and IS_CENTRALDATAORGANIZATION) and address data (IS_ADDRESSDATA). If import parameter IV_ADDRESSGUID is filled, the system tries to change the address defined by the GUID. Otherwise the standard address is changed or created if one does not already exist.

For information on the support of jurisdiction tax codes, see Jurisdiction Tax Code.

If no business partner is found or a different error occurs, processing is stopped and an error message is written in export parameter ET_RETURN. In addition to this, all messages that come from the BAPI called are written in export parameter ET_RETURN.

If business partners are found and no error occurs when you change data, the export parameter ES_RETURN remains initial.

If the import parameter IV_COMMIT is set to value X, the data is written in the database when the change is successful.

Example

Notes

For more information on the significance of using the import parameter, see the method documentation:

Import parameters that end with *_X, control the type of change to the import parameter without this ending.

Further information





Parameters

CS_E_MAILDATA
CS_E_MAILDATA_X
CS_FAXDATA
CS_FAXDATA_X
CS_TELEFONDATA
CS_TELEFONDATA_X
ES_RETURN
ET_RETURN
ET_TAXJURCODE
EV_BUSINESSPARTNER
EV_CONTACTPERSON
EV_TAXJURCODE
IS_ADDRESSDATA
IS_ADDRESSDATA_X
IS_ALIAS
IS_CENTRALDATA
IS_CENTRALDATAORGANIZATION
IS_CENTRALDATAORGANIZATION_X
IS_CENTRALDATA_X
IS_USERNAME
IV_ADDRESSGUID
IV_BUSINESSPARTNER
IV_COMMIT
IV_CONTACTPERSON
IV_ORG_SEARCH_MODE

Exceptions

Function Group

COM_BUPA_USER_REGISTRATION

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3988 Date: 20240523 Time: 090756     sap01-206 ( 76 ms )