SAP Reports / Programs

RPLBIAF0 SAP ABAP Report - Individual borderau for training access







RPLBIAF0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Issue of the training access individual summary (BIAF) The BIAF is a compulsory document that the employer must present to the employee upon termination of his or her temporary work contract, with the exception ofthe following contract types: apprenticeship contract, orientation contract, qualification or adaptation contract temporary work contract concluded with a young person during his or her school or university career solidarity employment contract SAP provides an automated issue of this summary...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPLBIAF0 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPLBIAF0. "Basic submit
SUBMIT RPLBIAF0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLBIAF0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_LFVARV = Form Variant (verso)
Selection Text: P_LFVARF = Form Variant
Selection Text: P_LFORMV = Form Name (verso)
Selection Text: P_LFORMF = Form Name
Selection Text: ORG_VIL = Postal code and city:
Selection Text: ORG_TEL = Telephone:
Selection Text: ORG_RUE = Street:
Selection Text: ORG_NOM = Name of organization:
Selection Text: JOURJ = Date of issue
Title: Individual borderau for training access
Text Symbol: 020 = Print Option
Text Symbol: 019 = City
Text Symbol: 018 = List of employees
Text Symbol: 017 = Back page printout
Text Symbol: 016 = Form printout
Text Symbol: 015 = Information about agreed equal representation organization
Text Symbol: 014 = Pers. No.
Text Symbol: 013 = Date of issue
Text Symbol: 012 = Tel. No.
Text Symbol: 011 = AGREED EQUAL REPRES.ORG. WHICH EMPLOYER REBUILDS
Text Symbol: 010 = SIRET Number
Text Symbol: 009 = Corporate Name
Text Symbol: 008 = EMPLOYER
Text Symbol: 007 = Other plan
Text Symbol: 006 = Social insurance no.
Text Symbol: 005 = Country
Text Symbol: 004 = Street
Text Symbol: 003 = First name
Text Symbol: 002 = Name
Text Symbol: 001 = EMPLOYEE


INCLUDES used within this REPORT RPLBIAF0

INCLUDE RPUMKC00.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_DISPLAY_ERROR_LIST * call function 'HR_DISPLAY_ERROR_LIST' * tables * error = display_err * exceptions * invalid_linesize = 1 * others = 2.

HR_APPEND_ERROR_LIST * CALL FUNCTION 'HR_APPEND_ERROR_LIST' * EXPORTING * PERNR = PERNR * ARBGB = ARBGB * MSGTY = MSGTY * MSGNO = MSGNO * MSGV1 = MSGV1 * MSGV2 = MSGV2 * MSGV3 = MSGV3 * MSGV4 = MSGV4 * EXCEPTIONS * OTHERS = 1.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING * I_NODE_KEY = i_pernr = pernr i_msgid = arbgb i_msgty = msgty i_msgno = msgno i_msgv1 = lv_msgv1 i_msgv2 = lv_msgv2 i_msgv3 = lv_msgv3 i_msgv4 = lv_msgv4 * IMPORTING * E_PERNR_NODE_KEY = EXCEPTIONS program_error = 1 OTHERS = 2 .

HR_APPEND_ERROR_LIST * CALL FUNCTION 'HR_APPEND_ERROR_LIST' * EXPORTING * pernr = pernr * arbgb = arbgb * msgty = msgty * msgno = msgno * msgv1 = msgv1 * msgv2 = msgv2 * msgv3 = msgv3 * msgv4 = msgv4 * EXCEPTIONS * others = 1.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING * I_NODE_KEY = i_pernr = pernr i_msgid = arbgb i_msgty = msgty i_msgno = msgno i_msgv1 = lv_msgv1 i_msgv2 = lv_msgv2 i_msgv3 = lv_msgv3 i_msgv4 = lv_msgv4 * IMPORTING * E_PERNR_NODE_KEY = EXCEPTIONS program_error = 1 OTHERS = 2 .

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_itcpo EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = EXCEPTIONS OTHERS = 99.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING application = 'TX' device = 'PRINTER' form = 'HR_FR_BIAF_99' EXCEPTIONS canceled = 1 device = 2 form = 3 OPTIONS = 4 unclosed = 5 mail_options = 6 archive_error = 7 invalid_fax_number = 8 more_params_needed_in_batch = 9 OTHERS = 10.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING form = 'HR_FR_BIAF_99' language = sy-langu EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 OTHERS = 6.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING type = 'BODY' window = 'HAUT' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING type = 'BODY' window = 'CADRE1' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'CADRE2' type = 'BODY' window = 'MAIN' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

WRITE_FORM * call function 'WRITE_FORM' * exporting * type = 'BODY' * window = 'ORGAN' * exceptions * element = 1 * function = 2 * type = 3 * unopened = 4 * unstarted = 5 * window = 6 * bad_pageformat_for_print = 7 * others = 8.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING type = 'BODY' window = 'BAS' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING application = 'TX' device = 'PRINTER' form = 'HR_FR_BIAF_02' EXCEPTIONS canceled = 1 device = 2 form = 3 OPTIONS = 4 unclosed = 5 mail_options = 6 archive_error = 7 invalid_fax_number = 8 more_params_needed_in_batch = 9 OTHERS = 10.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING form = 'HR_FR_BIAF_02' language = sy-langu EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 OTHERS = 6.

WRITE_FORM





CALL FUNCTION 'WRITE_FORM' EXPORTING type = 'BODY' window = 'CONDITIO' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'ATTENTION' type = 'BODY' window = 'MAIN' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 OTHERS = 3.

HR_FR_GET_CONTRACT CALL FUNCTION 'HR_FR_GET_CONTRACT' EXPORTING p_pernr = pernr * P_ANSVH = * P_CTTYP = p_begda = jourj p_endda = jourj IMPORTING * P_CONTRAT = * P_TEXT = * P_DURAT = p_modal = modal * P_EXC_D2 = * TABLES * T0001 = * T0016 = * T_CONTR = EXCEPTIONS error = 1 5f42_empty = 2 511k_empty = 3 OTHERS = 4.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = iu_pkey i_node_txt = iu_text * i_node_label = iu_label i_categ_id = gv_catg_id i_icon = icon_closed_folder IMPORTING e_node_key = ix_key EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = gv_str CHANGING ct_fieldcat = lt_fldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = gv_catg_id i_structure_name = gv_str i_with_msg_fields = abap_false it_fieldcat = lt_fldcat is_layout = ls_layout EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = iv_key i_msgid = gc_aplg_msgid_bl i_msgty = lv_msgty i_msgno = gc_aplg_msgno i_context = EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPLBIAF0 or its description.