Ansicht
Dokumentation

COM_BPUS_ORGDAT_FOR_CPUSER_GET - Read Master Data on an Organization's Contact Person

COM_BPUS_ORGDAT_FOR_CPUSER_GET - Read Master Data on an Organization's Contact Person

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

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

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.

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

If import parameter IV_ADDRESSGUID is filled, the system tries to read the address defined by the GUID. Otherwise, the standard address is read. If an address is found, export parameter EV_ADDRESS_EXISTS receives the value X or the value SPACE.

If no business partner is found or an error occurs when the data is being read, 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 and the business partner data is written in the corresponding export parameter.

Example

Notes

For more information on the significance of using export parameters, see the method documentation:

BAPI_BUPA_CENTRAL_GETDETAIL

BAPI_BUPA_ADDRESS_GETDETAIL called from this function module.





Parameters

ES_ADDRESSDATA
ES_CENTRALDATA
ES_CENTRALDATAORGANIZATION
ES_RETURN
ET_ADDRESSNOTES
ET_ADDRESSUSAGE
ET_COMMUNICATIONNOTES
ET_E_MAILDATA
ET_FAXDATA
ET_PAGADDRESSDATA
ET_PRTADDRESSDATA
ET_RETURN
ET_RFCADDRESSDATA
ET_RMLADDRESSDATA
ET_SSFADDRESSDATA
ET_TELEFONDATA
ET_TELETEXDATA
ET_TELEXDATA
ET_URIADDRESSDATA
ET_X400ADDRESSDATA
EV_ADDRESS_EXISTS
EV_BUSINESSPARTNER
EV_CONTACTPERSON
IS_ALIAS
IS_USERNAME
IV_ADDRESSGUID
IV_CONTACTPERSON
IV_ORG_SEARCH_MODE

Exceptions

Function Group

COM_BUPA_USER_REGISTRATION

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 3403 Date: 20240523 Time: 102628     sap01-206 ( 72 ms )