SAP Reports / Programs | Production Planning and Control | Production Orders(PP-SFC) SAP PP

DBIOC_FILL_IOHEADER_TAB SAP ABAP INCLUDE - DBIOCFILLIOHEADERTAB







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

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:

CO_ZF_AUTHORITY_CHECK CALL FUNCTION 'CO_ZF_AUTHORITY_CHECK' EXPORTING i_autyp = ls_caufv-autyp i_auart = ls_caufv-auart i_werks = ls_caufv-werks i_trtyp = con_a i_chk_cat_act = space i_chk_plant_typ = yx EXCEPTIONS no_auth_cat_act = 1 no_auth_type_plant = 2 no_auth_cat_typ_plant_act = 3 incorrect_parameters = 4 OTHERS = 5.

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = objnr_tab.

STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = ioheader_tab-objnr only_active = yx flg_user_stat = yx spras = sy-langu IMPORTING anw_stat_existing = ioheader_tab-astex e_stsma = ioheader_tab-stats line = ioheader_tab-sttxt user_line = ioheader_tab-asttx EXCEPTIONS object_not_found = 01.

K_BALANCE_GET CALL FUNCTION 'K_BALANCE_GET' EXPORTING objnr = caufv_tmp-objnr IMPORTING saldo_k = ioheader_tab-k_saldo saldo_o = ioheader_tab-o_saldo.

CO_ZF_ORDER_UNIT_CONVERSION CALL FUNCTION 'CO_ZF_ORDER_UNIT_CONVERSION' EXPORTING unit_in = caufv_tmp-gmein quantity_in = caufv_tmp-gamng unit_out = ls_afpod-meins i_aufnr = caufv_tmp-aufnr i_caufvd = ls_caufvd i_afpod = ls_afpod i_charge = ls_afpod-charg IMPORTING quantity_out = ioheader_tab-bmenge EXCEPTIONS OTHERS = 0.

CO_ZF_ORDER_UNIT_CONVERSION CALL FUNCTION 'CO_ZF_ORDER_UNIT_CONVERSION' EXPORTING unit_in = caufv_tmp-gmein quantity_in = caufv_tmp-gasmg unit_out = ls_afpod-meins i_aufnr = caufv_tmp-aufnr i_caufvd = ls_caufvd i_afpod = ls_afpod i_charge = ls_afpod-charg IMPORTING quantity_out = ioheader_tab-baumng EXCEPTIONS OTHERS = 0.

CO_ZF_AUTHORITY_CHECK CALL FUNCTION 'CO_ZF_AUTHORITY_CHECK' EXPORTING i_autyp = ls_caufv-autyp i_auart = ls_caufv-auart i_werks = ls_caufv-werks i_trtyp = con_a i_chk_cat_act = space i_chk_plant_typ = yx EXCEPTIONS OTHERS = 1.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = -objnr status = stk_erl EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = -objnr status = stk_abg EXCEPTIONS object_not_found = 1 status_not_active = 2 OTHERS = 3.



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