SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

RBUS2105 SAP ABAP Report - Program for Object Type BUS2105: Purchase Requisition







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


Text pool values


Title: Program for Object Type BUS2105: Purchase Requisition


INCLUDES used within this REPORT RBUS2105

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:

BAPI_REQUISITION_CHANGE CALL FUNCTION 'BAPI_REQUISITION_CHANGE' EXPORTING number = object-key-number TABLES return = return requisition_text_new = requisitiontextnew requisition_text_old = requisitiontextold requisition_account_new = requisitionaccountne requisition_account_old = requisitionaccountol requisition_items_new = requisitionitemsnew requisition_items_old = requisitionitemsold EXCEPTIONS OTHERS = 01.

BAPI_REQUISITION_GETITEMSREL CALL FUNCTION 'BAPI_REQUISITION_GETITEMSREL' EXPORTING items_for_release = itemsforrelease rel_code = relcode rel_group = relgroup TABLES requisition_items = requisitionitems return = return EXCEPTIONS OTHERS = 01.

BAPI_REQUISITION_DELETE CALL FUNCTION 'BAPI_REQUISITION_DELETE' EXPORTING number = object-key-number TABLES requisition_items_to_delete = requisitionitemstode return = return EXCEPTIONS OTHERS = 01.

BAPI_REQUISITION_GETDETAIL CALL FUNCTION 'BAPI_REQUISITION_GETDETAIL' EXPORTING services = services service_texts = servicetexts item_texts = itemtexts account_assignment = accountassignment number = object-key-number TABLES requisition_contract_limits = requisitioncontractl requisition_services = requisitionservices requisition_services_texts = requisitionsrvtexts requisition_srv_accass_values = requisitionsrvaccass return = return requisition_limits = requisitionlimits requisition_text = requisitiontext requisition_account_assignment = requisitionaccountas requisition_items = requisitionitems EXCEPTIONS OTHERS = 01.

BAPI_REQUISITION_GETRELINFO CALL FUNCTION 'BAPI_REQUISITION_GETRELINFO' EXPORTING rel_code = relcode item = item number = object-key-number TABLES return = return release_final = releasefinal release_already_posted = releasealreadyposted release_prerequisites = releaseprerequisites general_release_info = generalreleaseinfo EXCEPTIONS OTHERS = 01.

MMPUR_REQUISITION_DISPLAY CALL FUNCTION 'MMPUR_REQUISITION_DISPLAY' EXPORTING im_banfn = object-key-number EXCEPTIONS OTHERS = 1.

ME_RELEASE_REQUISITION CALL FUNCTION 'ME_RELEASE_REQUISITION' EXPORTING im_banfn = purchaserequisition im_frgco = releasecode im_wf = 'X' IMPORTING ex_updkz = call_updkz EXCEPTIONS OTHERS = 0.

MMPUR_REQUISITION_DISPLAY CALL FUNCTION 'MMPUR_REQUISITION_DISPLAY' EXPORTING im_banfn = object-key-number im_change = 'X' EXCEPTIONS OTHERS = 1.

BAPI_REQUISITION_RELEASE_GEN CALL FUNCTION 'BAPI_REQUISITION_RELEASE_GEN' EXPORTING number = object-key-number rel_code = relcode no_commit_work = nocommitwork IMPORTING rel_indicator_new = relindicatornew rel_status_new = relstatusnew TABLES return = return EXCEPTIONS OTHERS = 01.

BAPI_REQUISITION_RESET_REL_GEN CALL FUNCTION 'BAPI_REQUISITION_RESET_REL_GEN' EXPORTING number = object-key-number rel_code = relcode IMPORTING rel_indicator_new = relindicatornew rel_status_new = relstatusnew TABLES return = return EXCEPTIONS OTHERS = 01.

MMPUR_REQUISITION_DISPLAY CALL FUNCTION 'MMPUR_REQUISITION_DISPLAY' EXPORTING im_banfn = object-key-number im_change = 'X' EXCEPTIONS OTHERS = 1.

BAPI_REQUISITION_CREATE CALL FUNCTION 'BAPI_REQUISITION_CREATE' EXPORTING skip_items_with_error = skipitemswitherror IMPORTING number = object-key-number TABLES requisition_services = requisitionservices requisition_srv_accass_values = requisitionsrvaccass return = return requisition_services_text = requisitionsrvtext extensionin = extensionin requisition_items = requisitionitems requisition_account_assignment = requisitionaccountas requisition_item_text = requisitionitemtext requisition_limits = requisitionlimits requisition_contract_limits = requisitioncontractl EXCEPTIONS OTHERS = 01.

MMPUR_REQUISITION_DISPLAY CALL FUNCTION 'MMPUR_REQUISITION_DISPLAY' EXPORTING im_banfn = object-key-number im_change = 'X' EXCEPTIONS OTHERS = 1.

BAPI_PR_CREATE CALL FUNCTION 'BAPI_PR_CREATE' EXPORTING prheader = prheader prheaderx = prheaderx testrun = testrun IMPORTING number = object-key-number prheaderexp = prheaderexp TABLES prheadertext = prheadertext extensionin = extensionin extensionout = extensionout allversions = allversions pritemtext = pritemtext praddrdelivery = praddrdelivery praccountx = praccountx praccountproitsegment = praccountproitsegment praccount = praccount serialnumber = serialnumber serialnumberx = serialnumberx prcomponents = prcomponents prcomponentsx = prcomponentsx pritemsource = pritemsource pritemexp = pritemexp pritemx = pritemx pritem = pritem prversion = prversion prversionx = prversionx return = return serviceoutline = serviceoutline serviceoutlinex = serviceoutlinex servicelines = servicelines servicelinesx = servicelinesx servicelimit = servicelimit servicelimitx = servicelimitx servicecontractlimits = servicecontractlimits servicecontractlimitsx = servicecontractlimitsx serviceaccount = serviceaccount serviceaccountx = serviceaccountx servicelongtexts = servicelongtexts EXCEPTIONS OTHERS = 01.

BAPI_PR_CHANGE CALL FUNCTION 'BAPI_PR_CHANGE' EXPORTING number = object-key-number prheader = prheader prheaderx = prheaderx testrun = testrun IMPORTING prheaderexp = prheaderexp TABLES prheadertext = prheadertext extensionin = extensionin extensionout = extensionout allversions = allversions pritemtext = pritemtext praddrdelivery = praddrdelivery praccountx = praccountx praccountproitsegment = praccountproitsegment praccount = praccount serialnumber = serialnumber serialnumberx = serialnumberx prcomponents = prcomponents prcomponentsx = prcomponentsx pritemsource = pritemsource pritemexp = pritemexp pritemx = pritemx pritem = pritem prversion = prversion prversionx = prversionx return = return serviceoutline = serviceoutline serviceoutlinex = serviceoutlinex servicelines = servicelines servicelinesx = servicelinesx servicelimit = servicelimit servicelimitx = servicelimitx servicecontractlimits = servicecontractlimits servicecontractlimitsx = servicecontractlimitsx serviceaccount = serviceaccount serviceaccountx = serviceaccountx servicelongtexts = servicelongtexts EXCEPTIONS OTHERS = 01.

BAPI_PR_GETDETAIL CALL FUNCTION 'BAPI_PR_GETDETAIL' EXPORTING number = object-key-number account_assignment = accountassignment item_text = itemtext header_text = headertext delivery_address = deliveryaddress serial_numbers = serial_numbers sc_components = components version = version services = services IMPORTING prheader = prheader TABLES allversions = allversions extensionout = extensionout prheadertext = prheadertext pritemtext = pritemtext praddrdelivery = praddrdelivery praccount = praccount serialnumbers = serialnumbers prcomponents = prcomponents serviceoutline = serviceoutline servicelines = servicelines servicelimit = servicelimit servicecontractlimits = servicecontractlimits serviceaccount = serviceaccount servicelongtexts = servicelongtexts pritem = pritem return = return EXCEPTIONS OTHERS = 0.

BAPI_REQUISITION_GETITEMS CALL FUNCTION 'BAPI_REQUISITION_GETITEMS' EXPORTING material_evg = materialevg open_items = openitems only_non_material_items = onlynonmaterialitems partially_ordered_items = partiallyordereditems deleted_items = deleteditems closed_items = closeditems assigned_items = assigneditems short_text = shorttext rel_date = reldate deliv_date = delivdate doc_type = doctype plant = plant trackingno = trackingno mat_grp = matgrp material = material preq_date = preqdate preq_name = preqname pur_group = purgroup preq_no = preqno TABLES requisition_items = requisitionitems return = return EXCEPTIONS OTHERS = 01.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_loghandle i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 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 RBUS2105 or its description.