SAP Reports / Programs | Materials Management | Invoice Verification | Invoice Verification in Background(MM-IV-LIV-IVB) SAP MM

WRF_MRM_ASSIGN_TEST SAP ABAP Report - Perform Assignment Test







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


Text pool values


Selection Text: SO_USNAM = D User Name
Selection Text: SO_LIFNR = D Invoicing Party
Selection Text: SO_GJAHR = D Fiscal Year
Selection Text: SO_BUKRS = D Company Code
Selection Text: SO_BUDAT = D Posting Date
Selection Text: SO_BLDAT = D Document Date
Selection Text: SO_BELNR = D Invoice Document Number
Selection Text: P_RFC_GR = D Server Group
Selection Text: P_NUMBER = Number of Invoices per Process
Selection Text: P_JOBS = Number of Processes
Selection Text: P_EFFDAY = D Key Date for Assignment
Title: Perform Assignment Test
Text Symbol: 121 = Number of Invoices with Status
Text Symbol: 120 = Total Verification Result:
Text Symbol: 117 = Communiation error upon return from asynchronous RFC
Text Symbol: 116 = Unexpected problem - exception:
Text Symbol: 115 = The last sent work package had index:
Text Symbol: 114 = Resource error, but no running process
Text Symbol: 113 = Error initializing the server group
Text Symbol: 112 = Number of processes set to 1 --> No parallel processing
Text Symbol: 111 = No server group specified --> No parallel processing
Text Symbol: 110 = No invoices for processing found
Text Symbol: 101 = Parallel Processing Criteria
Text Symbol: 100 = Selection Criteria


INCLUDES used within this REPORT WRF_MRM_ASSIGN_TEST

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:

WRF_MRM_ASSIGN_WORKLIST_DETERM CALL FUNCTION 'WRF_MRM_ASSIGN_WORKLIST_DETERM' EXPORTING itr_belnr = so_belnr[] itr_gjahr = so_gjahr[] itr_bukrs = so_bukrs[] itr_lifnr = so_lifnr[] itr_usnam = so_usnam[] itr_bldat = so_bldat[] itr_budat = so_budat[] i_effective_day = p_effday IMPORTING et_rbkp = lt_rbkp.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = p_rfc_gr IMPORTING max_pbt_wps = l_max_pbt_wps * FREE_PBT_WPS = EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 cant_init_different_pbt_groups = 6 OTHERS = 7 .

WRF_MRM_ASSIGN_TEST_RFC CALL FUNCTION 'WRF_MRM_ASSIGN_TEST_RFC' STARTING NEW TASK l_taskname DESTINATION IN GROUP p_rfc_gr PERFORMING feedback ON END OF TASK EXPORTING i_effective_day = p_effday CHANGING cht_rbkp = lt_rbkp_job EXCEPTIONS resource_failure = 1 system_failure = 2 communication_failure = 3 OTHERS = 4.

WRF_MRM_ASSIGN_TEST_RFC CALL FUNCTION 'WRF_MRM_ASSIGN_TEST_RFC' EXPORTING i_effective_day = p_effday CHANGING cht_rbkp = lt_rbkp_job.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = i_domname text = 'X' langu = sy-langu bypass_buffer = ' ' TABLES dd07v_tab = et_domain_values EXCEPTIONS wrong_textflag = 1 OTHERS = 2.



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