RFTP_CHECK_MEAL_CODE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to check whether the
If you would like to execute this report or see the full code listing simply enter RFTP_CHECK_MEAL_CODE into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: DELETE = Delete in infotype 471?
Selection Text: LIST = List all?
Selection Text: MAIL = Send e-mail?
Selection Text: MEAL1 = IATA Meal Code 1:
Selection Text: MEAL2 = IATA Meal Code 2:
Selection Text: MEAL3 = IATA Meal Code 3:
Selection Text: MEAL4 = IATA Meal Code 4:
Selection Text: VALIDITY = Invalid From:
Title: Identification of Invalid Meal Codes in Infotype 471 After IATA Change
Text Symbol: 100 = No invalid meal codes defined in infotype 471
Text Symbol: 103 = List of invalid meal codes defined in the system:
Text Symbol: 104 = E-mail sent?
Text Symbol: 106 = Deleted?
Text Symbol: 107 = No e-mail sent
Text Symbol: 108 = Unable to send an e-mail
Text Symbol: 109 = This program identifies invalid meal codes in infotype 471
Text Symbol: 110 = List of meal codes deleted in the system:
Text Symbol: 111 = List of employees who could not be automatically notified by e-mail:
Text Symbol: 112 = E-mail
Text Symbol: 113 = No e-mail address defined
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PTRV_GET_NAME_FOR_PERNR CALL FUNCTION 'PTRV_GET_NAME_FOR_PERNR' EXPORTING personnel_number = lt_p0471_ext-pernr screen_display = ' ' IMPORTING name = lt_p0471_ext-name.
VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'S' view_name = 'PA0471'.
VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' view_name = 'PA0471'.
DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = lv_docu_type langu = sy-langu object = lv_docu_name IMPORTING head = ls_header TABLES line = lt_itf EXCEPTIONS no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 OTHERS = 5.
DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = lv_docu_type langu = sy-langu object = lv_docu_name IMPORTING head = ls_header TABLES line = lt_itf EXCEPTIONS no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 OTHERS = 5.
DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = lv_docu_type langu = sy-langu object = lv_docu_name IMPORTING head = ls_header TABLES line = lt_itf EXCEPTIONS no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 OTHERS = 5.
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = dtel_name state = 'A' langu = sy-langu IMPORTING dd04v_wa = dtel_header EXCEPTIONS illegal_input = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'RFTP_CHECK_MEAL_CODE' i_internal_tabname = 'LT_ALV' i_inclname = 'RFTP_CHECK_MEAL_CODE' CHANGING ct_fieldcat = t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = lt_events.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RFTP_CHECK_MEAL_CODE' * i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' i_grid_title = lv_grid_title is_layout = wa_layout_alv it_fieldcat = t_fieldcat * it_events = lt_events * i_html_height_top = '30' TABLES t_outtab = lt_p0471_ext EXCEPTIONS program_error = 1 OTHERS = 2.
HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0105' begda = sy-datum endda = sy-datum TABLES infty_tab = lt_p0105 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
BAPI_EMPLOYEE_GETDATA * CALL FUNCTION 'BAPI_EMPLOYEE_GETDATA' * EXPORTING * employee_id = i_personnel_number * TABLES * communication = lt_person_comm.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = p_domname value = lv_value langu = sy-langu IMPORTING dd07v_wa = ls_dd07v.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFTP_CHECK_MEAL_CODE - Identification of Invalid Meal Codes in Infotype 471 After IATA Change RFTP_CHECK_MEAL_CODE - Identification of Invalid Meal Codes in Infotype 471 After IATA Change RFTP_BYPASS3 - SABRE Direct RFTP_BYPASS3 - SABRE Direct RFTP_BYPASS2 - Galileo Direct RFTP_BYPASS2 - Galileo Direct