SAP Reports / Programs | Logistics Execution | Yard Management(LE-YM) SAP LE

INC_ALV_PAI SAP ABAP INCLUDE - Include REG_ALV_PAI







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


Text pool values


Title: Include REG_ALV_PAI


INCLUDES used within this REPORT INC_ALV_PAI

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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

LXYRD_HU_UNIQUE_CHECK CALL FUNCTION 'LXYRD_HU_UNIQUE_CHECK' "#EC EXPORTING iv_lyard = iv_lyard iv_fwagn = cs_hu_header-fwagn iv_signi = cs_hu_header-signi EXCEPTIONS hu_exist = 1.

LXYRD_HU_CREATE CALL FUNCTION 'LXYRD_HU_CREATE' EXPORTING iv_lyard = iv_lyard if_create_hu_scr = lhmgc_false is_hu_header = cs_hu_header IMPORTING es_hu_header = ls_tmp_tab EXCEPTIONS service_cancel = 1 service_failure = 2 error_message = 99.

LEINT_YARD_HU_FOR_DISPLAY_GET CALL FUNCTION 'LEINT_YARD_HU_FOR_DISPLAY_GET' EXPORTING iv_lyard = iv_lyard ir_exidv2 = lr_exidv2 EXCEPTIONS no_hu_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-044 text_question = text-043 text_button_1 = text-040 text_button_2 = text-041 default_button = '2' display_cancel_button = lhmgc_false start_column = 25 start_row = 6 IMPORTING answer = ev_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

LXYRD_REF_DOC_PROCESS CALL FUNCTION 'LXYRD_REF_DOC_PROCESS' "#EC EXPORTING iv_yard = iv_lyard iv_docty = cs_hu_header-rftyp if_create_hu_scr = lhmgc_false if_group = lhmgc_true iv_veltp = iv_veltp is_hu_header = ls_screen_data it_document = lrt_document IMPORTING et_hu_headers = lt_tmp_tab EXCEPTIONS service_cancel = 1 service_failure = 2 error_message = 99.

LEINT_HU_POST CALL FUNCTION 'LEINT_HU_POST' EXPORTING IF_SYNCHRON = space if_commit = space.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

LEINT_HU_LOCK_AND_GET CALL FUNCTION 'LEINT_HU_LOCK_AND_GET' EXPORTING iv_yard_only = lhmgc_true iv_lock_hu = lhmgc_true iv_more_hus = lhmgc_false it_venum = lt_hu_venum IMPORTING et_hu_headers = lt_hu_header * ET_HU_ITEMS = EXCEPTIONS not_found = 1 OTHERS = 2 .

LXYRD_ACTIVITY_CREATE CALL FUNCTION 'LXYRD_ACTIVITY_CREATE' EXPORTING iv_lyard = gv_lyard iv_aucnf = lv_aucnf iv_actty = lv_activity_class it_hu_headers = lt_hu_header iv_call_screen = lv_call_screen iv_print_inst = gv_print_flg iv_printer = gv_printer iv_location = gv_location IMPORTING et_lyact = lt_lyact EXCEPTIONS service_failure = 1 service_cancel = 2 error_message = 99.

LXYRD_SCHDL_DISPLAY CALL FUNCTION 'LXYRD_SCHDL_DISPLAY' EXPORTING iv_yard = gv_lyard iv_venum = ls_hu_header-venum EXCEPTIONS error_message = 99.

LEINT_HU_PACK CALL FUNCTION 'LEINT_HU_PACK' EXPORTING is_up_hu_venum = ls_venum_up it_sub_hu_venum = lt_venum_sub EXCEPTIONS nesting_failed = 1 service_failure = 2 OTHERS = 3.

LXYRD_ACTIVITY_CREATE CALL FUNCTION 'LXYRD_ACTIVITY_CREATE' EXPORTING iv_lyard = gv_lyard iv_aucnf = lv_aucnf "space iv_actty = lv_activity_class it_hu_headers = lt_hu_header_activ iv_call_screen = lv_call_screen iv_print_inst = gv_print_flg iv_printer = gv_printer IMPORTING et_lyact = lt_lyact EXCEPTIONS service_failure = 1 service_cancel = 2 error_message = 99.

LXYRD_ACTIVITY_UPDATE CALL FUNCTION 'LXYRD_ACTIVITY_UPDATE' EXPORTING iv_yard = gv_lyard iv_actty = lv_activity_class iv_new_status = lv_new_status iv_get_deliveries = lv_get_deliveries CHANGING ct_lyact = lt_lyact EXCEPTIONS service_cancel = 2 error_message = 99.

LXYRD_REF_DOC_PROCESS CALL FUNCTION 'LXYRD_REF_DOC_PROCESS' EXPORTING iv_yard = ls_tab_layout-lyard iv_docty = ls_tab_layout-rftyp if_create_hu_scr = lhmgc_false if_group = lhmgc_true * iv_veltp = iv_veltp is_hu_header = ls_screen_data it_document = lrt_document IMPORTING et_hu_headers = lt_hu_headers EXCEPTIONS service_failure = 2 error_message = 99.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-038 text_question = text-039 text_button_1 = text-040 text_button_2 = text-041 default_button = '1' * display_cancel_button = lhmgc_false start_column = 25 start_row = 6 IMPORTING answer = ev_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

LEINT_HU_LOCK_AND_GET CALL FUNCTION 'LEINT_HU_LOCK_AND_GET' EXPORTING iv_yard_only = lhmgc_true iv_lock_hu = lhmgc_true iv_more_hus = lhmgc_true it_venum = lt_hu_venum IMPORTING et_hu_headers = ct_hu_header EXCEPTIONS not_found = 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 INC_ALV_PAI or its description.