SAP Reports / Programs | Logistics - General(LO) SAP LO

MHBSCOMF02 SAP ABAP INCLUDE - Include MHBSCOMF02







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


Text pool values


Title: Include MHBSCOMF02


INCLUDES used within this REPORT MHBSCOMF02

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:

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = text-091 textline2 = text-092 titel = text-090 importing answer = answer.

OBJECT_NUMBER_GET_IW call function 'OBJECT_NUMBER_GET_IW' exporting bukrs = viob01-bukrs swenr = viob01-swenr importing objnr = viob01-j_objnr exceptions number_already_exists = 1 others = 2.

STATUS_OBJECT_SWITCH_NUMBER call function 'STATUS_OBJECT_SWITCH_NUMBER' exporting * CLIENT = SY-MANDT objnr_new = viob01-j_objnr objnr_old = tmp_nr exceptions object_not_found = 1 objnr_new_invalid = 2 objnr_old_invalid = 3 status_object_already_exists = 4 others = 5 .

RK_KOKRS_FIND call function 'RK_KOKRS_FIND' exporting bukrs = viob01-bukrs gsber = space importing kokrs = viob01-kokrs exceptions others = 1.

DOCUMENT_ASSIGNMENT call function 'DOCUMENT_ASSIGNMENT' exporting check_exist = 'X' dokob = 'VIOB01' objky = key objtxt = viob01-xwetext opcode = function refresh_flag = ' ' vorschlag_dokar = ' ' importing vb_flag = changed tables tabdrad = dms_drad.

STATUS_CHANGE_FOR_ACTIVITY call function 'STATUS_CHANGE_FOR_ACTIVITY' exporting objnr = p_objnr vrgng = p_activity check_only = p_check_only exceptions activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 others = 7.



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