SAP Reports / Programs | Personnel Management | Personnel Administration | India(PA-PA-IN) SAP PA

PIDABIN2 SAP ABAP INCLUDE - Perform Routines







PIDABIN2 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PIDABIN2 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 PIDABIN2. "Basic submit
SUBMIT PIDABIN2 AND RETURN. "Return to original report after report execution complete
SUBMIT PIDABIN2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Perform Routines


INCLUDES used within this REPORT PIDABIN2

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_IN_GET_ALGRP CALL FUNCTION 'HR_IN_GET_ALGRP' EXPORTING EMPNO = PERNR-PERNR RFDATE = REFDATE IMPORTING RTALGRP = ALGRP EXCEPTIONS ALGRP_NOT_FOUND = 1 OTHERS = 2.

HR_IN_GET_ALGRP_CONV CALL FUNCTION 'HR_IN_GET_ALGRP_CONV' "RSKNT634121 EXPORTING * ALGRP = EMPNO = PERNR-PERNR RFDATE = REFDATE LGART = BWT IMPORTING AMOUNT = BAS EXCEPTIONS ALGRP_NOT_FOUND = 1 CALC_METHOD_NOT_FOUND = 2 INVAL_CALC_FAILED = 3 OTHERS = 4. "RSKNT634121

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = GROUP USER = SY-UNAME.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * BIN_FILESIZE = '60' * FILENAME = P_PATHNAME * FILETYPE = P_FTYPE * MODE = ' ' * TABLES * DATA_TAB = DIS_BODY * EXCEPTIONS * OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = '60' FILENAME = P_PATHNAME FILETYPE = P_FTYPE APPEND = ' ' TABLES DATA_TAB = DIS_BODY EXCEPTIONS OTHERS = 1. "Unicode

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * BIN_FILESIZE = '60' * FILENAME = P_PATHNAME * FILETYPE = P_FTYPE * MODE = ' ' * TABLES * DATA_TAB = ITAB_AMBG * EXCEPTIONS * OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = '60' FILENAME = P_PATHNAME FILETYPE = P_FTYPE APPEND = ' ' TABLES DATA_TAB = ITAB_AMBG EXCEPTIONS OTHERS = 1. "Unicode

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * BIN_FILESIZE = '60' * FILENAME = P_PATHNAME * FILETYPE = P_FTYPE * MODE = ' ' * TABLES * DATA_TAB = ITAB_ERR * EXCEPTIONS * OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = '60' FILENAME = P_PATHNAME FILETYPE = P_FTYPE APPEND = ' ' TABLES DATA_TAB = ITAB_ERR EXCEPTIONS OTHERS = 1. "Unicode

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = BDCDATA.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING TITEL = TEXT-INO TXT1 = TEXT-NOR TXT2 = ' '.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING DEF_FILENAME = RLGRAP-FILENAME DEF_PATH = DEF_PATH MASK = ',*.*,*.*.'



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