SAP Reports / Programs | Media Product Sales and Distribution | SAP Media | Media Product Sales and Distribution(IS-M-SD-MS) SAP IS

RJKSDRETURNFINALIZE2 SAP ABAP Report - Close Customer Return Process - Issue







RJKSDRETURNFINALIZE2 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 RJKSDRETURNFINALIZE2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

JKSDRETURN5 - Close Returns - Issue


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 RJKSDRETURNFINALIZE2. "Basic submit
SUBMIT RJKSDRETURNFINALIZE2 AND RETURN. "Return to original report after report execution complete
SUBMIT RJKSDRETURNFINALIZE2 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: VTWEG = Distribution Channel
Selection Text: VMSTA = DChain-Spec. Status
Selection Text: VKORG = Sales Organization
Selection Text: VKGRP = Sales Group
Selection Text: VKBUR = Sales Office
Selection Text: VBELN = Internal Return Number
Selection Text: TYPE = Operation
Selection Text: TESTRUN = Test Run
Selection Text: SPART = Division
Selection Text: RETEND2 = From
Selection Text: RETEND1 = Return End Date
Selection Text: RECALL = Recall Number
Selection Text: PRODUCT = Media Product
Selection Text: NUMBER = Return Number
Selection Text: NO_SUCC = No Success Messages
Selection Text: MSTAV = Cross-Distrib. Chain Status
Selection Text: MSTAE = Cross-Plant Material Status
Selection Text: MMSTA = Plant-Spec. Material Status
Selection Text: ISSUE = Media Issue
Selection Text: GPNR = Customer
Selection Text: FAMILY = Media Product Family
Selection Text: ERFUSER = Created By
Selection Text: ERFTIME = Created At
Selection Text: ERFDATE = Created On
Title: Close Customer Return Process - Issue
Text Symbol: 211 = To
Text Symbol: 210 = End of Returns
Text Symbol: 201 = Simulation
Text Symbol: 200 = Update Run
Text Symbol: 160 = Control Data
Text Symbol: 125 = Status
Text Symbol: 120 = Issue
Text Symbol: 110 = Return
Text Symbol: 100 = Sales Area


INCLUDES used within this REPORT RJKSDRETURNFINALIZE2

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:

ISM_SD_API_SELECT_RETURN call function 'ISM_SD_API_SELECT_RETURN' exporting * EVKSTART = * EVKSTBEZ = * IUMSEINFL = vkorg = vkorg vtweg = vtweg spart = spart vkbur = vkbur vkgrp = vkgrp gpnr = unsoldgpnr vbeln = vbeln unsoldnumber = unsoldnumber recallnumber = recall unsoldtypenew = unsoldtypenew * UNSOLDDATE = erfuser = erfuser erfdate = erfdate erftime = erftime * AENUSER = * AENDATE = * AENDTIME = * ORDERREASON = * WERKS = * ROUTE = status = status issue = issue product = product family = family * COPYNUMBER = * PUBLDATE = * EAN11 = * PERRULE = timeselection = timeselection read_comment = ' ' importing et_head = ct_head et_item = ct_item * ET_COMMENT = tables * return = mstav = mstav vmsta = vmsta mstae = mstae mmsta = mmsta exceptions not_found = 1 others = 2.

ISM_SD_RETURNSTATE_TO_RANGE2 call function 'ISM_SD_RETURNSTATE_TO_RANGE2' exporting in_state = state changing c_range_tab = rt_range.

ISM_SD_API_BOOK_RETURN call function 'ISM_SD_API_BOOK_RETURN' in update task exporting * INSERT_HEAD_TAB = update_head_tab = head_tab[] * DELETE_HEAD_TAB = tables * INSERT_POS_TAB = update_pos_tab = item_tab[] * DELETE_POS_TAB = * INSERT_COMMENT_TAB = * DELETE_COMMENT_TAB = * INSERT_PROTOCOL_TAB = * UPDATE_PROTOCOL_TAB = * DELETE_PROTOCOL_TAB = .

ISM_SD_RETURN_CALC_QUANTITIES call function 'ISM_SD_RETURN_CALC_QUANTITIES' exporting returndata = lv_returndata changing quantityfields = lv_quantityfields state = lv_item-state quantity = lv_item-quantity unit = lv_item-unit con_quantity = lv_item-con_quantity con_unit = lv_item-con_unit.

ENQUEUE_EJKSDUNSOLD call function 'ENQUEUE_EJKSDUNSOLD' exporting * MODE_jksdunsold = 'E' * MANDT = SY-MANDT vbeln = head-vbeln * X_VBELN = ' ' _scope = '3' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1 system_failure = 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 RJKSDRETURNFINALIZE2 or its description.