SAP Reports / Programs | Logistics - General | Additionals Management(LO-ADM) SAP LO

ADDIPR_FORMS SAP ABAP INCLUDE - FORM routines for editing additionals for promotions







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


Text pool values


Title: FORM routines for editing additionals for promotions


INCLUDES used within this REPORT ADDIPR_FORMS

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:

WTAD_TWTFM_READ call function 'WTAD_TWTFM_READ' tables i_fb_twtfm = itwtfm exceptions not_found = 1 others = 2.

WTAD_TWTFMP_READ call function 'WTAD_TWTFMP_READ' tables i_fb_twtfmp = itwtfmp exceptions not_found = 1 others = 2.

WTAD_DESCRIBE_IWTADDI call function 'WTAD_DESCRIBE_IWTADDI' tables iwtaddi_edit = iaddipr_edit exceptions others = 1.

WTAD_APPEND_EMPTY_ROWS_TO_ITAB call function 'WTAD_APPEND_EMPTY_ROWS_TO_ITAB' exporting status = addipr_edit_status tc_looplines = number_of_tc_lines matnr = 'CVB' tables iwtaddi_edit = iaddipr_edit exceptions others = 0.

WTAD_FIND_LINE_WITH_CURSOR call function 'WTAD_FIND_LINE_WITH_CURSOR' exporting tc_top_line = pi_tc_top_line importing row_index = row_index tables iwtaddi_edit = pit_addipr_edit exceptions others = 0.

WTAD_DESCRIBE_IWTADDI call function 'WTAD_DESCRIBE_IWTADDI' exporting line_no = row_index tables iwtaddi_edit = pit_addipr_edit exceptions others = 0.

WTAD_GET_NEXT_MTXID call function 'WTAD_GET_NEXT_MTXID' exporting current_mtxid = iaddipr_et-addimtxid importing next_mtxid = mtxid tables iwtaddi_edit = pit_addipr_edit exceptions no_free_number = 1 others = 2.

WTAD_EDIT_EXTRA_TEXT call function 'WTAD_EDIT_EXTRA_TEXT' exporting status = pi_addipr_edit_status mtxid = mtxid iwtaddi_et = iaddipr_et tables imamt = pxt_mamt exceptions others = 0.

WTAD_READ_PROMOTION_ADDIS call function 'WTAD_READ_PROMOTION_ADDIS' exporting aktnr = pi_wakhd-aktnr swakhd = pi_wakhd tables iwtadab = pet_wtadab iwtadabt = pet_wtadabt exceptions db_error = 1 others = 2.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-100 text_question = text-101 text_button_1 = 'Ja'(102) text_button_2 = 'Nein'(103) default_button = '2' importing answer = answer exceptions text_not_found = 1 others = 2.

WTAD_CHECK_4_EMPTY_EDIT_ROW call function 'WTAD_CHECK_4_EMPTY_EDIT_ROW' exporting line_no = sy-tabix importing flag = flag tables iwtaddi_edit = pit_addipr_edit exceptions others = 0.

WTAD_PR_FIL_MAT_LIST_CONSTRUCT call function 'WTAD_PR_FIL_MAT_LIST_CONSTRUCT' exporting wtaddi_line = pi_wtaddi_line tables iwaktp = pit_promotion_data iwtadab = pit_wtadab isnodetext = pxt_snodetext.

RS_TREE_CONSTRUCT call function 'RS_TREE_CONSTRUCT' exporting insert_id = insert_id relationship = ' ' tables nodetab = pxt_snodetext exceptions tree_failure = 01 id_not_found = 02 wrong_relationship = 03.

RS_TREE_LIST_DISPLAY call function 'RS_TREE_LIST_DISPLAY' exporting callback_program = 'SAPLWTAA' callback_user_command = 'HANDLE_TREE_COMMANDS' callback_text_display = ' ' callback_color_display = ' ' status = 'IMPLICIT' check_duplicate_name = '1' color_of_link = '1' color_of_node = '4' lower_case_sensitive = ' ' modification_log = ' ' node_length = 30 text_length = 75 text_length1 = 0 text_length2 = 0 return_marked_subtree = ' ' screen_start_column = 0 screen_start_line = 0 screen_end_column = 0 screen_end_line = 0 suppress_node_output = ' ' importing f15 = e_f15.

RS_TREE_GET_NODE call function 'RS_TREE_GET_NODE' exporting node_id = pi_node_id importing node_info = pe_marked_node exceptions id_not_found = 1 others = 2.

RS_TREE_SET_NODE call function 'RS_TREE_SET_NODE' exporting node_info = px_cnode exceptions id_not_found = 1 others = 2.

RS_TREE_SET_NODE call function 'RS_TREE_SET_NODE' exporting node_info = px_cnode exceptions id_not_found = 1 others = 2.

RS_TREE_GET_CURRENT_TREE call function 'RS_TREE_GET_CURRENT_TREE' tables nodeinfo = icurrent_tree exceptions others = 0.

POPUP_TO_CONFIRM





call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Sicherheitsabfrage'(100) text_question = text-105 text_button_1 = 'Ja'(102) text_button_2 = 'Nein'(103) importing answer = answer exceptions text_not_found = 1 others = 2.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Frage'(110) text_question = question_text text_button_1 = 'Ersetzen'(112) text_button_2 = 'Löschen'(113) importing answer = answer exceptions text_not_found = 1 others = 2.

WTAD_PROVIDE_ADDIBELNR call function 'WTAD_PROVIDE_ADDIBELNR' importing addibelnr = pe_addibelnr exceptions number_generator_error = 1 others = 2.

WTAD_READ_PROMOTION_ADDIS CALL FUNCTION 'WTAD_READ_PROMOTION_ADDIS' EXPORTING AKTNR = l_aktnr TABLES IWTADAB = lt_wtadab IWTADABT = lt_wtadabt EXCEPTIONS DB_ERROR = 1 OTHERS = 2.

WTAD_POST_PROM_ADDIS_TO_DB call function 'WTAD_POST_PROM_ADDIS_TO_DB' exporting fi_addibelnr = pi_addibelnr tables iwtadab = iwtadab iwtadab_old = iwtadab_old iwtadabt = iwtadabt iwtadabt_old = iwtadabt_old exceptions db_error = 1 others = 2.

WTAD_POST_PROM_ADDIS_TO_DB call function 'WTAD_POST_PROM_ADDIS_TO_DB' in update task exporting fi_addibelnr = pi_addibelnr tables iwtadab = iwtadab iwtadab_old = iwtadab_old iwtadabt = iwtadabt iwtadabt_old = iwtadabt_old exceptions db_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 ADDIPR_FORMS or its description.