SAP HR_FR_DADU_PUBLISH_IN_B2A Function Module for
HR_FR_DADU_PUBLISH_IN_B2A is a standard hr fr dadu publish in b2a SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for hr fr dadu publish in b2a FM, simply by entering the name HR_FR_DADU_PUBLISH_IN_B2A into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPAYFR_DADU_WORKFLOW
Program Name: SAPLHRPAYFR_DADU_WORKFLOW
Main Program: SAPLHRPAYFR_DADU_WORKFLOW
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_FR_DADU_PUBLISH_IN_B2A pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'HR_FR_DADU_PUBLISH_IN_B2A'".
EXPORTING
* IV_APPL = 'DADU' "
IO_TEMSE = "
* IV_TEST = 'X' "
IV_SENTX = "
IV_VARTX = "
IV_SIRET = "
IV_DADTYP = "
IMPORTING
EV_RETURNCODE = "
CHANGING
* CS_PB2AMGR = "
* CT_ERROR = "
IMPORTING Parameters details for HR_FR_DADU_PUBLISH_IN_B2A
IV_APPL -
Data type: T5F99F0-APPLDefault: 'DADU'
Optional: No
Call by Reference: Yes
IO_TEMSE -
Data type: CL_HR99S00_TEMSEOptional: No
Call by Reference: Yes
IV_TEST -
Data type: BOOLE_DDefault: 'X'
Optional: No
Call by Reference: Yes
IV_SENTX -
Data type: PC_B2A_SENTXOptional: No
Call by Reference: Yes
IV_VARTX -
Data type: PC_B2A_VARTXOptional: No
Call by Reference: Yes
IV_SIRET -
Data type: P06_SIRETOptional: No
Call by Reference: Yes
IV_DADTYP -
Data type: RPLDADF0-TYPEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for HR_FR_DADU_PUBLISH_IN_B2A
EV_RETURNCODE -
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
CHANGING Parameters details for HR_FR_DADU_PUBLISH_IN_B2A
CS_PB2AMGR -
Data type: HRB2A_S_V_PB2AMGROptional: Yes
Call by Reference: Yes
CT_ERROR -
Data type: P99SF_TAB_ERROROptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HR_FR_DADU_PUBLISH_IN_B2A Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_iv_appl | TYPE T5F99F0-APPL, " 'DADU' | |||
| lv_cs_pb2amgr | TYPE HRB2A_S_V_PB2AMGR, " | |||
| lv_ev_returncode | TYPE SY-SUBRC, " | |||
| lv_ct_error | TYPE P99SF_TAB_ERROR, " | |||
| lv_io_temse | TYPE CL_HR99S00_TEMSE, " | |||
| lv_iv_test | TYPE BOOLE_D, " 'X' | |||
| lv_iv_sentx | TYPE PC_B2A_SENTX, " | |||
| lv_iv_vartx | TYPE PC_B2A_VARTX, " | |||
| lv_iv_siret | TYPE P06_SIRET, " | |||
| lv_iv_dadtyp | TYPE RPLDADF0-TYPE. " |
|   CALL FUNCTION 'HR_FR_DADU_PUBLISH_IN_B2A' " |
| EXPORTING | ||
| IV_APPL | = lv_iv_appl | |
| IO_TEMSE | = lv_io_temse | |
| IV_TEST | = lv_iv_test | |
| IV_SENTX | = lv_iv_sentx | |
| IV_VARTX | = lv_iv_vartx | |
| IV_SIRET | = lv_iv_siret | |
| IV_DADTYP | = lv_iv_dadtyp | |
| IMPORTING | ||
| EV_RETURNCODE | = lv_ev_returncode | |
| CHANGING | ||
| CS_PB2AMGR | = lv_cs_pb2amgr | |
| CT_ERROR | = lv_ct_error | |
| . " HR_FR_DADU_PUBLISH_IN_B2A | ||
ABAP code using 7.40 inline data declarations to call FM HR_FR_DADU_PUBLISH_IN_B2A
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single APPL FROM T5F99F0 INTO @DATA(ld_iv_appl). | ||||
| DATA(ld_iv_appl) | = 'DADU'. | |||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_ev_returncode). | ||||
| DATA(ld_iv_test) | = 'X'. | |||
| "SELECT single TYPE FROM RPLDADF0 INTO @DATA(ld_iv_dadtyp). | ||||
Search for further information about these or an SAP related objects