SAP Reports / Programs | Sales and Distribution | Sales | Basic Functions(SD-SLS-GF) SAP SD

SD_DOCUMENT_FLOWF01 SAP ABAP INCLUDE - SDDOCUMENTFLOWF01







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

INCLUDE MV75FI0B.


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:

MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = mtcom importing matdaten = makt tables seqmat01 = x exceptions material_not_found = 1.

XSI_FLOW_TRACK_STATUS call function 'XSI_FLOW_TRACK_STATUS' exporting i_vbtyp = vbfa-vbtyp_n i_vbeln = vbfa-vbeln i_tvbst = tvbst changing c_status = tvbst-bezei c_color = color_status.

BILLING_SCHEDULE_READ call function 'BILLING_SCHEDULE_READ' exporting fplnr = det_tab-fplnr tables zfplt = xfplt.

GET_HANDLE_SD_DOCUMENTFLOW call function 'GET_HANDLE_SD_DOCUMENTFLOW' importing handle = l_sd_documentflow_exit active = active.

RV_DOCUMENT_STATUS call function 'RV_DOCUMENT_STATUS' exporting comwa = pvbco6 importing vbuk_out = vbuk vbup_out = vbup.

RV_DOCUMENT_STATUS_TEXTS call function 'RV_DOCUMENT_STATUS_TEXTS' exporting tvbst_wa = tvbst importing text = tvbst-bezei.

RV_SHIPMENT_VIEW * call function 'RV_SHIPMENT_VIEW' * EXPORTING * shipment_number = i_vbeln * IMPORTING * f_vttkvb = vttkvb * EXCEPTIONS * not_found = 01 * others = 99.

RV_DOCUMENT_STATUS_TEXTS call function 'RV_DOCUMENT_STATUS_TEXTS' exporting tvbst_wa = tvbst importing text = tvbst-bezei.

RV_DOCUMENT_STATUS call function 'RV_DOCUMENT_STATUS' exporting comwa = pvbco6 importing vbuk_out = vbuk vbup_out = vbup.

RV_DOCUMENT_STATUS_TEXTS call function 'RV_DOCUMENT_STATUS_TEXTS' exporting tvbst_wa = tvbst importing text = tvbst-bezei.

VIEW_KNA1 call function 'VIEW_KNA1' exporting kunde = kndnr importing anschrift = kna1.

SWO_TEXT_OBJTYPE call function 'SWO_TEXT_OBJTYPE' exporting language = sy-langu objtype = yvbfa-objtype_n importing * KEYWORD = shorttext = objtypetext .

RV_DOMAIN_VALUE_TEXTS call function 'RV_DOMAIN_VALUE_TEXTS' exporting domname = 'VBTYP ' domvalue = punkte-vbtyp single = ' ' importing ddtext = punkte-text.

RV_GET_DOCUMENT_TYPE call function 'RV_GET_DOCUMENT_TYPE' exporting vbeln = beleg posnr = position vbtyp = vbtyp importing kopf_wa = vbkop pos_wa = vbpos exceptions no_vbuk = 4 no_vbap = 5.

GET_HANDLE_SD_DOCUMENTFLOW call function 'GET_HANDLE_SD_DOCUMENTFLOW' importing handle = l_sd_documentflow_exit active = active.

RV_ORDER_FLOW_INFORMATION call function 'RV_ORDER_FLOW_INFORMATION' exporting comwa = vbco6 belegtyp = beleg_typ v_stufen = da_stufe_v n_stufen = da_stufe_n importing belegtyp_back = beleg_typ tables vbfa_tab = vbfa_tab exceptions no_vbuk_found = 05 no_vbfa = 04.

SD_SCD_HISTORY call function 'SD_SCD_HISTORY' exporting i_vbeln = vbco6-vbeln i_posnr = vbco6-posnr i_vbtyp = beleg_typ tables e_vbfal = gt_vbfal e_status = gt_status exceptions others = 8.

UNIT_CONVERSION_WITH_FACTOR call function 'UNIT_CONVERSION_WITH_FACTOR' exporting add_const = 0 input = menge denominator = vbpos-umvkz numerator = vbpos-umvkn importing output = vk_mengen-rfmng.

TZ_SYSTEM_TO_LOCAL





call function 'TZ_SYSTEM_TO_LOCAL' exporting date_system = z_erdat timezone = z_zonlo time_system = z_erzet importing date_local = z_erdat time_local = z_erzet exceptions no_parameters = 1 too_many_parameters = 2 conversion_error = 3 others = 4.

OWN_LOGICAL_SYSTEM_GET call function 'OWN_LOGICAL_SYSTEM_GET' importing own_logical_system = int_sysid exceptions own_logical_system_not_defined = 0.

SDCAS_BUSINESSOBJECT_GET call function 'SDCAS_BUSINESSOBJECT_GET' exporting fi_trvog = int_trvog importing fe_objtype = bus_vbtyp exceptions unknown_trvog = 1 others = 2.

SD_OBJECT_TYPE_DETERMINE call function 'SD_OBJECT_TYPE_DETERMINE' exporting i_document_type = p_s_vbtyp " einstiegbelegtyp * I_TVAK = importing e_business_object = bus_vbtyp .

SREL_GET_NEXT_RELATIONS call function 'SREL_GET_NEXT_RELATIONS' exporting object = int_borident * ROLETYPE = * MAX_HOPS = 3 relationtype = 'INCR' tables links = p_s_links roles = p_s_roles exceptions internal_error = 1 others = 2.

SREL_GET_NEXT_RELATIONS call function 'SREL_GET_NEXT_RELATIONS' exporting object = int_borident * ROLETYPE = relationtype = 'VORL' tables links = p_s_links roles = p_s_roles exceptions internal_error = 1 others = 2.

GET_HANDLE_SD_DOCUMENTFLOW call function 'GET_HANDLE_SD_DOCUMENTFLOW' importing handle = lr_sd_documentflow active = lv_active.



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