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

PIDABIN2_ALV SAP ABAP INCLUDE - Perform Routines







PIDABIN2_ALV 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_ALV 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_ALV. "Basic submit
SUBMIT PIDABIN2_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT PIDABIN2_ALV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PIDABIN2_ALV

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 = ',*.*,*.*.'

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING I_MSGID = IV_MSGID I_MSGTY = IV_MSGTY I_MSGNO = IV_MSGNO I_MSGV1 = IV_MSGV1 I_MSGV2 = IV_MSGV2 I_MSGV3 = IV_MSGV3 I_MSGV4 = IV_MSGV4 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING I_PERNR = IV_PERNR I_MSGID = IV_MSGID I_MSGTY = IV_MSGTY I_MSGNO = IV_MSGNO I_MSGV1 = IV_MSGV1 I_MSGV2 = IV_MSGV2 I_MSGV3 = IV_MSGV3 I_MSGV4 = IV_MSGV4 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = LS_DISPLAY_PROFILE EXCEPTIONS PROGRAM_ERROR = 1 NO_LOGS = 2 OTHERS = 3.

HR_PAL_LOG_REFRESH * CALL FUNCTION 'HR_PAL_LOG_REFRESH' * EXCEPTIONS * program_error = 1 * OTHERS = 2.

HR_PAL_CATEG_GET_ROWS * CALL FUNCTION 'HR_PAL_CATEG_GET_ROWS' * EXPORTING * I_CATEG_ID = gc_catg_id * IMPORTING * E_TABLE_ROWS = GT_ITAB_AMBG * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2.

HR_PAL_LOG_REFRESH





* CALL FUNCTION 'HR_PAL_LOG_REFRESH' * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 * .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID * I_INTERNAL_TABNAME = 'GT_ITAB_AMBG' I_STRUCTURE_NAME = GC_STR * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = 'PIDABIN2_ALV' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = 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 = GC_CATG_ID * I_STRUCTURE_NAME = gc_str I_WITH_MSG_FIELDS = ABAP_FALSE * I_MSG_TEXT_POS = 4 * I_ICON_LTEXT_POS = 2 IT_FIELDCAT = LT_FLDCAT * IS_LAYOUT = ls_layout EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING I_RELATKEY = 'ROOT' I_NODE_TXT = 'ambiguos' I_CATEG_ID = GC_CATG_ID IMPORTING E_NODE_KEY = GENRL_NODE_KEY EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING I_NODE_KEY = GENRL_NODE_KEY I_MSGID = GC_APLG_MSGID_BL I_MSGTY = GV_MSGTY I_MSGNO = GC_APLG_MSGNO I_CONTEXT = GW_ITAB_AMBG EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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