Ansicht
Dokumentation

HRPYZVMD - User Exit for Address Field when Printing SP Notifications

HRPYZVMD - User Exit for Address Field when Printing SP Notifications

BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Example: Informational copies of the data that is passed on in the completed registrations are sent to the employees concerned. This will be done by inter-company mail, so the names of the personnel area and area and subarea need to be printed in the address window. Include ZX406U03 would then be as follows:

*---------------------------------------------------------------------*
* INCLUDE ZX406U03 *
*---------------------------------------------------------------------*
tables: t500p, t001p.

*Determine name of personnel area
select single * from t500p where persa = pers_anmelde_daten-werks.
if sy-subrc = 0.
vbl_zvk-zfld1 = t500p-name1.
endif.

* Name des Personalteilbereichs (Betriebsteils)
select single * from t001p where werks = pers_anmelde_daten-werks
and btrtl = pers_anmelde_daten-btrtl.
if sy-subrc = 0.
vbl_zvk-zfld2 = t001p-btext.
endif.

Fields VBL_ZVK-FLD01 and VBL_ZVK-FLD0 now only need to be added to the right part of the forms.






General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1178 Date: 20240426 Time: 072818     sap01-206 ( 29 ms )