Ansicht
Dokumentation

MYOBJ_CATS_CMOD001 - CATS Worklist: Enhancement for Determining SY-UNAME

MYOBJ_CATS_CMOD001 - CATS Worklist: Enhancement for Determining SY-UNAME

Fill RESBD Structure from EBP Component Structure   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

myObjects uses the user name (SY-NAME) to personalize data. HR, however, uses the personnel number (PERNR). For this reason, the standard system determines the user name through info type 105 of the current personnel number. If no user name is defined in info type 105, the system uses the current user name.

Since it may not be sufficient in some cases to determine the user name through the personnel number, the BAdI MYOBJ_CATS_UNAME is provided for this purpose. This BAdI (SE18) provides method AT_UNAME_DETERMINE and enables you to determine the user name yourself. If the user name determined does not exist, the user name is determined in the standard way (see above).

The BAdI method is implemented and the BAdI is activated.

The BAdI method has the following parameters:

  • Import SAP_IMP_USER_NAME,,(user name from HR info type as per PERNR)
  • Import SAP_IMP_PERNR,,,,(PERNR with which CATS was started)
  • Import SAP_IMP_SY_UNAME,,(cur. SY-UNAME indep. of PERNR + HR-UNAME)
  • Export SAP_EXP_SY_UNAME,,(deviating UNAME determined in the BAdI method)






BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1348 Date: 20240523 Time: 204406     sap01-206 ( 34 ms )