Ansicht
Dokumentation

CRM_ICSS_BUPA_GET_TYPE_LOGIN - Returns user type (Consumer or contact of a company)

CRM_ICSS_BUPA_GET_TYPE_LOGIN - Returns user type (Consumer or contact of a company)

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module returns the Business partner type ('B'' if it is a contact of a company and 'C' if it is a single person).

Either the alias (IV_ALIAS) or the user id (IV_USERID) can be given. If none of them is given the default (SY-UNAME) will be used.

Example

CALL FUNCTION 'CRM_ICSS_BUPA_GET_TYPE'_LOGIN'

EXPORTING

IV_ALIAS = ALIAS_IN

IMPORTING

EV_B2B_SECNARIO = BUPA_TYPE_OUT

TABLES

ET_RETURN = RETURN_OUT.

LOOP AT ET_RETURN INTO LS_RETURN.

IF LS_RETURN-TYPE <>'S'.

....

ENDIF.

ENDLOOP.

Notes

Further information





Parameters

ET_RETURN
EV_B2B_SCENARIO
IV_ALIAS
IV_USERID

Exceptions

Function Group

CRM_ICSS_PERSONALDATA

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1059 Date: 20240523 Time: 110005     sap01-206 ( 13 ms )