SAP Reports / Programs | Sales and Distribution | Master Data | Conditions(SD-MD-CM) SAP SD

MV130F0Z SAP ABAP INCLUDE - documentation and ABAP source code







MV130F0Z 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 MV130F0Z 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 MV130F0Z. "Basic submit
SUBMIT MV130F0Z AND RETURN. "Return to original report after report execution complete
SUBMIT MV130F0Z 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 MV130F0Z

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'.

RV_GET_CONDITION_TABLES CALL FUNCTION 'RV_GET_CONDITION_TABLES' EXPORTING condition_use = rv130-kvewe application = t180-kappl condition_type = rv130-kschl access_sequence = t685-kozgf condition_table = rv130-kotabnr display_always = display_always get_text = yes IMPORTING table_t681 = t681 table_tmc1t = tmc1t EXCEPTIONS no_selection_done = 4.

RV_CONDITION_RECORD_DISPLAY CALL FUNCTION 'RV_CONDITION_RECORD_DISPLAY' EXPORTING condition_use = rv130-kvewe application = rv130-kappl get_condition_type = yes for_maintenance_only = yes IMPORTING condition_type = vk_kschl EXCEPTIONS OTHERS = 1.

RV_KONDITION_TIMES_CHANGE CALL FUNCTION 'RV_KONDITION_TIMES_CHANGE' EXPORTING datab = xvake-datab datbi = xvake-datbi IMPORTING datab = datab datbi = datbi.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = no * textline1 = text-008 textline2 = text-061 titel = pu_titel IMPORTING answer = pu_antwort.

RV_KONDITION_SICHERN CALL FUNCTION 'RV_KONDITION_SICHERN' IN UPDATE TASK TABLES vakedb_tab = time_vake_db.

SD_CD_TIMEVAKEAKT_TO_XKONDAT CALL FUNCTION 'SD_CD_TIMEVAKEAKT_TO_XKONDAT' EXPORTING i_xvake = xvake i_knumh = vake-knumh TABLES db_xkondat = xkondat db_ykondat = ykondat timetab = time_vake_akt EXCEPTIONS OTHERS = 1.

TT_INSERT CALL FUNCTION 'TT_INSERT' EXPORTING timetab_entry = time_vake_akt todate = vake-datbi fromdate = vake-datab ca = lmemory TABLES timetab = time_vake_akt EXCEPTIONS gap = 01 syserr = 02.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_MESSAGE_WARNING' info = l_info IMPORTING result = l_icon EXCEPTIONS OTHERS = 0.

RV_CONDITION_RECORD_DISPLAY CALL FUNCTION 'RV_CONDITION_RECORD_DISPLAY' EXPORTING condition_use = rv130-kvewe application = t180-kappl condition_type = *t685-kschl access_sequence = *t685-kozgf.

RV_FIELD_READ CALL FUNCTION 'RV_FIELD_READ' EXPORTING fdr_table = t681-kotab fdr_field = int_t681e-sefeld IMPORTING fdr_dd03v = dd03v fdr_dfies = dfies EXCEPTIONS OTHERS = 1.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = dfies-domname text = yes langu = ' ' bypass_buffer = ' ' IMPORTING rc = da_subrc TABLES dd07v_tab = dd07v_tab EXCEPTIONS OTHERS = 1.

VENDOR_MASTER_DATA_SELECT_12 CALL FUNCTION 'VENDOR_MASTER_DATA_SELECT_12' EXPORTING pi_lifnr = ke_lifnr pi_ekorg = ke_ekorg IMPORTING pe_lfm1 = lfm1 EXCEPTIONS no_entry_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = defaultoption titel = pu_titel text_before = pu_text1 objectvalue = pu_object text_after = pu_text2 IMPORTING answer = pu_antwort.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = defaultoption titel = pu_titel diagnosetext1 = pu_dtext1 diagnosetext2 = pu_dtext2 diagnosetext3 = pu_dtext3 textline1 = pu_text1 textline2 = pu_text2 IMPORTING answer = pu_antwort.

SD_COND_DATE_TO_DEFAULT CALL FUNCTION 'SD_COND_DATE_TO_DEFAULT' EXPORTING dtd_datab = rv130-datam dtd_datbi = rv130-datbi dtd_datvo = t685-datvo IMPORTING dtd_datbi = rv130-datbi.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06a return = mtcor TABLES seqmat01 = tab_dummy EXCEPTIONS material_not_found = 4 plant_not_found = 8 OTHERS = 1.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tab_dummy EXCEPTIONS material_not_found = 4 plant_not_found = 8 OTHERS = 1.

MATERIAL_READ





CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = makon return = mtcor TABLES seqmat01 = tab_dummy EXCEPTIONS material_not_found = 4 text_not_found = 8 sales_not_found = 12.

OPEN_FI_PERFORM_00503308_E CALL FUNCTION 'OPEN_FI_PERFORM_00503308_E' EXPORTING iv_usage = rv130-kvewe iv_kappl = rv130-kappl iv_kschl = rv130-kschl iv_kotabnr = rv130-kotabnr iv_bk_error = ' ' iv_call_mod = ' ' IMPORTING ev_subrc = lv_subrc.

MATERIAL_LESEN

MATERIAL_READ * call function 'MATERIAL_LESEN' CALL FUNCTION 'MATERIAL_READ' "WD 30F EXPORTING schluessel = mtcom IMPORTING matdaten = mt06a return = mtcor TABLES seqmat01 = tab_dummy EXCEPTIONS material_not_found = 4 plant_not_found = 8.

SD_GET_OBLIGATORY_FIELDS CALL FUNCTION 'SD_GET_OBLIGATORY_FIELDS' EXPORTING kvewe = rv130-kvewe kappl = rv130-kappl kozgf = t685-kozgf kotabnr = t681-kotabnr TABLES fields_t682z = itab_t682z.

RV_PRODUKTHIERARCHIE_INFO CALL FUNCTION 'RV_PRODUKTHIERARCHIE_INFO' TABLES fprodhsinfo = kp_prodhsinfo EXCEPTIONS too_many_level = 1 OTHERS = 2.

RV_PRODUKTHIERARCHIE_CHECK CALL FUNCTION 'RV_PRODUKTHIERARCHIE_CHECK' EXPORTING node = kp_prodh checkmode = '3' IMPORTING answer = answer EXCEPTIONS predecessor_not_exist = 1 node_contains_maskseparator = 2 node_is_initial = 3 OTHERS = 4.

RV_PRODUKTHIERARCHIE_INFO CALL FUNCTION 'RV_PRODUKTHIERARCHIE_INFO' TABLES fprodhsinfo = da_prodhsinfo EXCEPTIONS too_many_level = 1 OTHERS = 2.

RV_PRODUKTHIERARCHIE_TEXT_GET CALL FUNCTION 'RV_PRODUKTHIERARCHIE_TEXT_GET' TABLES disp_t179 = da_prodh_disp EXCEPTIONS OTHERS = 1.



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