SAP Reports / Programs

RPBARBA0 SAP ABAP Report - HR-AT: Statements of Employment (Austria)







RPBARBA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report you can create employment statements for employees who have left your company...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 RPBARBA0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M03_BARB - Statement of Employment


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 RPBARBA0. "Basic submit
SUBMIT RPBARBA0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPBARBA0 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_ANZEIG = Only Display Forms
Selection Text: P_AUSSTD = Date of Issue
Selection Text: P_EINZEL = Indiv. Check for Statements
Selection Text: P_GRTXT = Reason for Leaving
Selection Text: P_KORREK = Correct Errors
Selection Text: P_LFORM = Form Name
Selection Text: P_LFVAR = Form Variant
Selection Text: P_NIKEG = Reason for Pay in Lieu of Not.
Selection Text: P_NIUEG = Reason for Nonpayment of UE/UA
Selection Text: P_ORIGIN = Original Statement
Selection Text: P_PROD = Live Form
Selection Text: P_SOFORT = Print Forms Immediately
Selection Text: P_TEST = Test
Selection Text: P_ZWEIT = Duplicate
Selection Text: R_RAD1 = Manual Entry
Selection Text: R_RAD2 = Copy from Infotype 0527
Title: HR-AT: Statements of Employment (Austria)
Text Symbol: L06 = Display Forms
Text Symbol: PR1 = Print Forms Immediately
Text Symbol: PR2 = Individual Check for Statements
Text Symbol: STA = Original Statement
Text Symbol: STB = Duplicate
Text Symbol: STC = Correct Errors
Text Symbol: STG = Only Display Forms
Text Symbol: STH = Live Form
Text Symbol: STI = Test Form
Text Symbol: T01 = Technical Settings
Text Symbol: T04 = Reasons for Leaving/Nonpayment
Text Symbol: T1A = Statement Type
Text Symbol: T1B = Creation Type
Text Symbol: T1C = Type of Print Output
Text Symbol: A01 = Employee (Male)
Text Symbol: A02 = Employee (Female)
Text Symbol: A03 = Employee (Male/Female)
Text Symbol: A11 = Employee's (Male)
Text Symbol: A12 = Employee's(Female)
Text Symbol: A13 = Employee's (Male/Female)
Text Symbol: A21 = Employee (Male)





Text Symbol: A22 = Employee (Female)
Text Symbol: A23 = Employee (Male/Female)
Text Symbol: A31 = Wrkr(M)
Text Symbol: A32 = Worker (F)
Text Symbol: A33 = Worker(M/F)
Text Symbol: A41 = Sal. EE (M)
Text Symbol: A42 = Sal. EE (F)
Text Symbol: A43 = Sal. EE (M/F)
Text Symbol: E01 = The reason for ending the work relationship
Text Symbol: E02 = cannot be determined.
Text Symbol: E25 = Critical Error During Write Access to T5A9A:
Text Symbol: E26 = Original Statement No Longer Available.
Text Symbol: E27 = Statement Could Not Be Saved.
Text Symbol: H01 = Messages in Processing Mode (E = Error, W = Warning, I = Information)
Text Symbol: H02 = Message Text
Text Symbol: I01 = Processing was ended.
Text Symbol: I02 = Result:
Text Symbol: I03 = statements were sent to the printer.
Text Symbol: I04 = One statement was sent to the printer.
Text Symbol: IT1 = Organizational Assignment (0001)
Text Symbol: IT2 = Personal Data (0002)
Text Symbol: IT6 = Addresses (0006)
Text Symbol: ITA = SI Notificatn Supp.(0367)
Text Symbol: ITX = Social Insurance (0044)


INCLUDES used within this REPORT RPBARBA0

No INCLUDES are used within this REPORT code!


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_LONGTEXT CALL FUNCTION 'HR_DISPLAY_ERROR_LONGTEXT'. "WJOM1397604!

START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = G_FORMULAR LANGUAGE = SY-LANGU STARTPAGE = 'STANDARD'.

END_FORM CALL FUNCTION 'END_FORM'.

HR_PAL_FORMS_ROW_ADD CALL FUNCTION 'HR_PAL_FORMS_ROW_ADD' EXPORTING * i_node_key = i_name = l_pal_name i_form_type = 'OTF' i_text = sy-title i_rqid = l_rqid EXCEPTIONS OTHERS = 99.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = c_molga i_fogroup = l_fogroup i_folname = p_lform i_fovariant = p_lfvar OPTIONS = l_itcpo EXCEPTIONS OTHERS = 99.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = c_molga i_fogroup = l_fogroup i_folname = p_lform i_fovariant = p_lfvar OPTIONS = l_itcpo EXCEPTIONS OTHERS = 99.






HR_PAL_FORMS_ROW_ADD CALL FUNCTION 'HR_PAL_FORMS_ROW_ADD' EXPORTING * i_node_key = i_name = l_pal_name i_form_type = l_form_type i_text = l_foltxt i_rqid = l_rqid EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = c_molga i_fogroup = p_fogroup i_folname = p_lform i_fovariant = p_lfvar i_data_struc = l_if_form EXCEPTIONS OTHERS = 99.

HR_AT_GET_AUBGR_EIGENSCH_AUSPR CALL FUNCTION 'HR_AT_GET_AUBGR_EIGENSCH_AUSPR' "WJOM169103! EXPORTING " AUBGR = IBGRTAB-LOW " ETYPE = '11' "Lehrling berechtigt ohne AV" DATUM = PN-ENDDA " IMPORTING " EAUSP = L_EAUSP " * AUBGT = " * ETYPT = " * EAUPT = " EXCEPTIONS " * T5A1I_ERROR = 1 " T5A1D_NOT_FOUND = 2. "

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = LOW_DATE "auf alle Fälle aktiver Zeitraum END = PN-ENDDA IMPORTING HIRE_DATE = G_HIREDATE FIRE_DATE = G_FIREDATE TABLES PP0000 = I0000 "input PP0001 = P0001 "input PPHIFI = PHIFI. "output

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' "WJOM2194805! EXPORTING " PERSNR = pernr-pernr " ENDDA = restab-fired "WJOM3988467 IMPORTING " ENTRYDATE = l_entry_date " TABLES " ENTRY_DATES = it_hire " EXCEPTIONS " OTHERS = 1. "

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = PARAMS EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 0 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = 'ADDR1' STRUC_CONTENT = PME01 KIND_OF_ERROR = SPACE IMPORTING BACK = L_VAR_ARGU * CHANGING * STATUS = EXCEPTIONS DUMMY = 1 ERROR_OPERATION = 2 NO_BACKVALUE = 3 FEATURE_NOT_GENERATED = 4 INVALID_SIGN_IN_FUNID = 5 FIELD_IN_REPORT_TAB_IN_PE03 = 6 OTHERS = 7 .

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = 'X' NO_PRINT = ' ' * NO_IMG = ' ' * NO_MSGNO = 'X' LINESIZE = 90 LISTHEADER = TEXT-H01 COLHEADER = TEXT-H02 HIDEMSG = 'X' "WJOM1397604 EXCEPTIONS INVALID_LINESIZE = 0 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = 'DGSVN' STRUC_CONTENT = PME08 KIND_OF_ERROR = SPACE IMPORTING BACK = L_DGSVN * CHANGING * STATUS = EXCEPTIONS DUMMY = 1 ERROR_OPERATION = 2 NO_BACKVALUE = 3 FEATURE_NOT_GENERATED = 4 INVALID_SIGN_IN_FUNID = 5 FIELD_IN_REPORT_TAB_IN_PE03 = 6 OTHERS = 7 .

HR_AT_GET_PART_APPL CALL FUNCTION 'HR_AT_GET_PART_APPL' EXPORTING REPORTNAME = G_REPNAME IMPORTING APPL = ORGDATA-APPL EXCEPTIONS PART_APPLICATION_NOT_FOUND = 1 OTHERS = 2 .

HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING ORG_IN = ORGDATA IMPORTING BTRTL_DATA = BTRTL_DATEN * LOHNB_DATA = ADDRESSE = ADRESSE ADDRESS_DETAIL = ADREDET EXCEPTIONS T5A0P_DATA_NOT_FOUND = 1 T5A0A_DATA_NOT_FOUND = 2 T5A0P_LOHNB_NOT_SPECIFIED = 3 T5A0A_ANKEY_NOT_SPECIFIED = 4 ADDRESS_NOT_FOUND_IN_T536C = 5 OTHERS = 6 .

HR_AT_GET_SV_DGSVN CALL FUNCTION 'HR_AT_GET_SV_DGSVN' EXPORTING ASVGR = P0044-ASVGR AUSVA = P0044-AUSVA LOHNB = BTRTL_DATEN-LOHNB ENDDA = G_FIREDATE "WJOM0293688 IMPORTING SV_KTONR = SVKTONUMMERN EXCEPTIONS T5A1S_DATA_NOT_FOUND = 1 OTHERS = 2 .

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING ACTION = P_ENDEQUEUE VIEW_NAME = 'T5A9A' EXCEPTIONS * CLIENT_REFERENCE = 1 FOREIGN_LOCK = 2 * INVALID_ACTION = 3 * INVALID_ENQUEUE_MODE = 4 SYSTEM_FAILURE = 5 * TABLE_NOT_FOUND = 6 OTHERS = 7.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = DEVICE = 'PRINTER' DIALOG = P_EINZEL "Parameter FORM = G_FORMULAR LANGUAGE = SY-LANGU OPTIONS = G_DRUCKOPTIONEN * MAIL_SENDER = * MAIL_RECIPIENT = * MAIL_APPL_OBJECT = * RAW_DATA_INTERFACE = '*' * IMPORTING * LANGUAGE = * NEW_ARCHIVE_PARAMS = * RESULT = * 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 .

WRITE_FORM CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = ' ' * FUNCTION = 'SET' * TYPE = 'BODY' * WINDOW = 'MAIN' * IMPORTING * PENDING_LINES = * EXCEPTIONS * ELEMENT = 1 * FUNCTION = 2 * TYPE = 3 * UNOPENED = 4 * UNSTARTED = 5 * WINDOW = 6 * BAD_PAGEFORMAT_FOR_PRINT = 7 * OTHERS = 8 .

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = RESULT * RDI_RESULT = * TABLES * OTFDATA = * EXCEPTIONS * UNOPENED = 1 * BAD_PAGEFORMAT_FOR_PRINT = 2 * OTHERS = 3 .

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = DEVICE = 'PRINTER' DIALOG = P_EINZEL "Parameter LANGUAGE = SY-LANGU OPTIONS = G_DRUCKOPTIONEN.



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 RPBARBA0 or its description.