SAP Reports / Programs | Distributor-Reseller-Management | Industry Solution High Tech | Distributor-Reseller-Management(IS-HT-DRM) SAP IS

/SAPHT/RDRM_STAG_PROCESSF04 SAP ABAP INCLUDE - Supplementary forms







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


Text pool values


Title: Supplementary forms


INCLUDES used within this REPORT /SAPHT/RDRM_STAG_PROCESSF04

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:

VIEW_KNA1 CALL FUNCTION 'VIEW_KNA1' EXPORTING kunde = us_track_partner IMPORTING anschrift = l_wa_kna1 EXCEPTIONS no_kna1 = 1 OTHERS = 2.

VIEW_KNA1 CALL FUNCTION 'VIEW_KNA1' EXPORTING kunde = us_customer IMPORTING anschrift = l_wa_kna1 EXCEPTIONS no_kna1 = 1 OTHERS = 2.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = us_material spras = sy-langu IMPORTING wmakt = l_wa_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3 .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = us_default_focus_at textline1 = us_message * TEXTLINE2 = ' ' titel = us_title * START_COLUMN = 25 * START_ROW = 6 cancel_display = l_show_cancel_button IMPORTING answer = ch_user_response EXCEPTIONS OTHERS = 1.

ENQUEUE_/SAPHT/EDRMSSTAG CALL FUNCTION 'ENQUEUE_/SAPHT/EDRMSSTAG' EXPORTING * MODE_/SAPHT/DRMSSTAGLCK = 'E' * MANDT = SY-MANDT ms_dr_ind = g_ms_dr_indicator track_partner = us_track_partner partner = us_partner int_xmno = us_int_xmno stagdocno = us_stagdocno x_ms_dr_ind = 'X' x_track_partner = 'X' x_partner = 'X' x_int_xmno = 'X' * X_STAGDOCNO = ' ' _scope = '3' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

DEQUEUE_/SAPHT/EDRMSSTAG CALL FUNCTION 'DEQUEUE_/SAPHT/EDRMSSTAG' EXPORTING * MODE_/SAPHT/DRMSSTAGLCK = 'E' * MANDT = SY-MANDT ms_dr_ind = g_ms_dr_indicator track_partner = us_track_partner partner = us_partner int_xmno = us_int_xmno stagdocno = us_stagdocno x_ms_dr_ind = 'X' x_track_partner = 'X' x_partner = 'X' x_int_xmno = 'X' * X_STAGDOCNO = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

BAL_GLB_MEMORY_REFRESH CALL FUNCTION 'BAL_GLB_MEMORY_REFRESH' EXPORTING * I_AUTHORIZATION = i_refresh_all = ' ' i_t_logs_to_be_refreshed = lt_loghandles EXCEPTIONS * NOT_AUTHORIZED = 1 OTHERS = 2 .

TVKOT_SINGLE_READ CALL FUNCTION 'TVKOT_SINGLE_READ' EXPORTING * KZRFB = ' ' spras = sy-langu vkorg = us_sales_org IMPORTING wtvkot = l_tvkot EXCEPTIONS not_found = 0 OTHERS = 0 .

TVTWT_SINGLE_READ CALL FUNCTION 'TVTWT_SINGLE_READ' EXPORTING * KZRFB = ' ' spras = sy-langu vtweg = us_dist_chnl IMPORTING wtvtwt = l_tvtwt EXCEPTIONS not_found = 0 OTHERS = 0 .

TSPAT_SINGLE_READ CALL FUNCTION 'TSPAT_SINGLE_READ' EXPORTING * KZRFB = ' ' tspat_spras = sy-langu tspat_spart = us_division IMPORTING wtspat = l_tspat EXCEPTIONS not_found = 0 OTHERS = 0 .

RH_USER_NAME_READ CALL FUNCTION 'RH_USER_NAME_READ' * EXPORTING * BUFFER_STORE = 'X' * READ_DB = TABLES user_tab = lt_usertab user_name = lt_username

EXCEPTIONS nothing_found = 1 OTHERS = 2 .

/SAPHT/DRM_F4_BUS_PARTNER CALL FUNCTION '/SAPHT/DRM_F4_BUS_PARTNER' EXPORTING i_msdrind = g_ms_dr_indicator i_progname = sy-cprog i_scrno = sy-dynnr i_fieldname = us_dynpfld * TABLES * RETURN_TAB = .

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'EDIDC' fieldname = 'DOCNUM' searchhelp = 'EDI_DOCNUM' shlpparam = 'DOCNUM' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = us_dynpfld * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * SUPPRESS_RECORDLIST = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * TABLES * RETURN_TAB = EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5 .

ADDR_DIALOG CALL FUNCTION 'ADDR_DIALOG' EXPORTING check_address = ' ' * IMPORTING * OK_CODE = TABLES number_handle_tab = l_handle_tab * VALUES = EXCEPTIONS address_not_exist = 1 group_not_valid = 2 parameter_error = 3 internal_error = 4 OTHERS = 5 .

ADDR_DIALOG CALL FUNCTION 'ADDR_DIALOG' EXPORTING check_address = ' ' * IMPORTING * OK_CODE = TABLES number_handle_tab = l_handle_tab * VALUES = EXCEPTIONS address_not_exist = 1 group_not_valid = 2 parameter_error = 3 internal_error = 4 OTHERS = 5 .

ADDR_DIALOG CALL FUNCTION 'ADDR_DIALOG' EXPORTING check_address = ' ' * IMPORTING * OK_CODE = TABLES number_handle_tab = l_handle_tab * VALUES = EXCEPTIONS address_not_exist = 1 group_not_valid = 2 parameter_error = 3 internal_error = 4 OTHERS = 5 .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = '/SAPHT/DRMSTAG' TABLES dfies_tab = lt_stag EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "N860637 EXPORTING filetype = 'DAT' filename = fullpath TABLES data_tab = lt_staging_data fieldnames = lt_fieldnames EXCEPTIONS invalid_type = 1 no_batch = 2 unknown_error = 3 gui_refuse_filetransfer = 4 others = 5.



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 /SAPHT/RDRM_STAG_PROCESSF04 or its description.