SET_COMPANY_PROFILE SAP Method Save the changes made to company Profile









Below is documentation, parameters and attributes of ABAP Method SET_COMPANY_PROFILE within SAP class /XLSO/CL_USER_ADMINISTRATION. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /XLSO/CL_USER_ADMINISTRATION into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method SET_COMPANY_PROFILE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_COMPANY_PROFILE

.

NameTypeData TypeDescriptionDefault Value
IS_COMPANY_PROFILE_DATAImportingTYPE
/XLSO/S_COMPANY_PROFILE_DATA
Company Profile Data structure
IS_SAL_DETImportingTYPE
/XLSO/S_SALES_TRANS_CTXT
Structure of Sales Area Details with Transaction Context
IT_ALLOWED_PAYMENTSImportingTYPE
/XLSO/TT_PAYMENT_METHODS
Table type for Payment methods
IT_EMAIL_DOMAINSImportingTYPE
/XLSO/TT_COMPANY_EMAIL_DOMAINS
Table type for company email domains
IV_COMPANYIDImportingTYPE
KUNNR
Customer Number
IV_PREF_PAYMENTImportingTYPE
/XLSO/E_PREFERRED_PAYMENT
Preferred Payment Method
IV_UNLOCKImportingTYPE
CHAR1
Single-Character Indicator
ET_MESSAGESExportingTYPE
BAPIRET2_T
Return parameter table



Exceptions of Method SET_COMPANY_PROFILE

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /XLSO/CL_USER_ADMINISTRATION.
DATA: lv_ET_MESSAGES TYPE BAPIRET2_T,
lv_IS_COMPANY_PROFILE_DATA TYPE /XLSO/S_COMPANY_PROFILE_DATA,
lv_IS_SAL_DET TYPE /XLSO/S_SALES_TRANS_CTXT,
lv_IT_ALLOWED_PAYMENTS TYPE /XLSO/TT_PAYMENT_METHODS,
lv_IT_EMAIL_DOMAINS TYPE /XLSO/TT_COMPANY_EMAIL_DOMAINS,
lv_IV_COMPANYID TYPE KUNNR,
lv_IV_PREF_PAYMENT TYPE /XLSO/E_PREFERRED_PAYMENT,
lv_IV_UNLOCK TYPE CHAR1,
lv_other TYPE c.

CALL METHOD lo_class=>SET_COMPANY_PROFILE(
EXPORTING
IS_COMPANY_PROFILE_DATA = lv_IS_COMPANY_PROFILE_DATA
IS_SAL_DET = lv_IS_SAL_DET
IT_ALLOWED_PAYMENTS = lv_IT_ALLOWED_PAYMENTS
IT_EMAIL_DOMAINS = lv_IT_EMAIL_DOMAINS
IV_COMPANYID = lv_IV_COMPANYID
IV_PREF_PAYMENT = lv_IV_PREF_PAYMENT
IV_UNLOCK = lv_IV_UNLOCK
IMPORTING
ET_MESSAGES = lv_ET_MESSAGES ).

Links to Related Class(s)

/XLSO/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!