SAP Reports / Programs

RJKSDRETURNCHECKDATA SAP ABAP Report - Customer Return: Set Up Data for Quantity Check







RJKSDRETURNCHECKDATA 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 RJKSDRETURNCHECKDATA 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

JKSDRETURN15 - Set Up Data for Return Qty Check


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 RJKSDRETURNCHECKDATA. "Basic submit
SUBMIT RJKSDRETURNCHECKDATA AND RETURN. "Return to original report after report execution complete
SUBMIT RJKSDRETURNCHECKDATA 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: YEARNR = Year Number
Selection Text: XRETURN = Returns
Selection Text: XORDER = Orders (Not Rel. for Deliv.)
Selection Text: XDELIV = Deliveries
Selection Text: VTWEG = Distribution Channel
Selection Text: VMSTA = DChain-Spec. Status
Selection Text: VKORGDL = Sales Organization
Selection Text: VKORG = Sales Organization
Selection Text: VKGRP = Sales Group
Selection Text: VKBUR = Sales Office
Selection Text: TESTRUN = Test Run
Selection Text: SPART = Division
Selection Text: PUBLDATE = Publication Date
Selection Text: PRODUCT = Media Product
Selection Text: PHASENBR = Phase Number
Selection Text: PHASEMDL = Phase Model
Selection Text: ONSALE = Start of Sales Period
Selection Text: OFFSALE = End of Sales Period
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: FAMILY = Media Family
Selection Text: DELETE = Delete
Selection Text: CREATE = Create
Selection Text: COPYNR = Copy Number
Title: Customer Return: Set Up Data for Quantity Check
Text Symbol: 211 = To
Text Symbol: 210 = Sale From
Text Symbol: 201 = Simulation
Text Symbol: 200 = Update Run
Text Symbol: 165 = Control Data
Text Symbol: 161 = Data Basis
Text Symbol: 160 = Processing Mode
Text Symbol: 126 = Phase Model
Text Symbol: 125 = Status of Media Issues
Text Symbol: 120 = Media Issue Selection





Text Symbol: 112 = Sales Organization - Delivery
Text Symbol: 110 = Sales Organization - Order and Return


INCLUDES used within this REPORT RJKSDRETURNCHECKDATA

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_MATERIAL_TO_RANGE * call function 'ISM_SD_MATERIAL_TO_RANGE' * exporting * in_matnr = issue-low * changing * range_tab = issue[].

ISM_SD_GET_SALESAREA_FROM_IDS * call function 'ISM_SD_GET_SALESAREA_FROM_IDS' * importing * vkorg = vkorg[] * vtweg = vtweg[] * spart = spart[] * vkgrp = vkgrp[] * vkbur = vkbur[].

ISM_SD_DOCUMENTTYPE_TO_RANGE * call function 'ISM_SD_DOCUMENTTYPE_TO_RANGE' * exporting * in_documenttype = '0' * changing * c_range_tab = range_tab.

ISM_SD_DOCUMENTTYPE_TO_RANGE * call function 'ISM_SD_DOCUMENTTYPE_TO_RANGE' * exporting * in_documenttype = '1' * changing * c_range_tab = range_tab.

ISM_SD_DOCUMENTTYPE_TO_RANGE * call function 'ISM_SD_DOCUMENTTYPE_TO_RANGE' * exporting * in_documenttype = '5' * changing * c_range_tab = range_tab.

ISM_SD_BUFFER_JKSDORDERINDEX2 * call function 'ISM_SD_BUFFER_JKSDORDERINDEX2' * exporting * in_jksdorderindex_tab = jksdorderindex_tab[].

ISM_SD_BOOK_JKSDRETURNCHECK * call function 'ISM_SD_BOOK_JKSDRETURNCHECK' in update task * tables * insert_tab = insert_tab[] * update_tab = update_tab[] * delete_tab = delete_tab[].

ISM_SD_GET_PRODUCT_AND_ISSUE * call function 'ISM_SD_GET_PRODUCT_AND_ISSUE' * exporting * copynumber = copynr * yearnumber = yearnr * publdate = publdate * onsaledate = onsale * offsaledate = offsale * importing * out_product_issue_tab = issue_tab * tables * in_issue_tab = issue * in_product_tab = product * in_family_tab = family * in_mstav = mstav * in_vmsta = vmsta * in_mstae = mstae * in_mmsta = mmsta * exceptions * error = 1 * others = 2.

ISM_SD_DOCUMENTTYPE_TO_RANGE * call function 'ISM_SD_DOCUMENTTYPE_TO_RANGE' * exporting * in_documenttype = '0' * changing * c_range_tab = doc_tab.

ISM_SD_BUFFER_JKSDRETURNCHECK2 * call function 'ISM_SD_BUFFER_JKSDRETURNCHECK2' * exporting * in_documenttype = doc_tab ** IN_STATE_TAB = * in_return_tab = rjksdreturn39_tab * exceptions * not_found = 1 * others = 2. "#EC *

ISM_SD_CREATE_JKSDRETURNCHECK * call function 'ISM_SD_CREATE_JKSDRETURNCHECK' * exporting * in_rm = -rm * in_issue = -matnr * in_vkorg = -vkorg * in_vtweg = -vtweg * in_spart = -spart * in_vkbur = -vkbur * in_vkgrp = -vkgrp * in_ismreturnpercent = -ismreturnpercent * in_billto = -billto * in_payer = -payer * in_prsdt = -prsdt * in_phasemdl = -ismphmdl * in_phasenbr = -ismphnbr * in_prod = -ismprod * in_msg = msg * in_no_succ = no_succ * importing * insert_returnindex = insert_returnindex * update_returnindex = update_returnindex * delete_returnindex = delete_returnindex.

ISM_SD_UPDATE_RETURNCHECK_DEL * call function 'ISM_SD_UPDATE_RETURNCHECK_DEL' * exporting * in_contract = contract * in_order = order * in_delivery = delivery * in_quantity = new_quantity * in_unit = -vrkme * in_jksdreturncheck_buffered = 'X' * in_msg = msg * in_no_succ = no_succ * importing * update_jksdreturncheck = update_jksdreturncheck * insert_jksdreturncheck = insert_jksdreturncheck.

ISM_SD_BOOK_JKSDRETURNCHECK * call function 'ISM_SD_BOOK_JKSDRETURNCHECK' * tables * insert_tab = insert_jksdreturncheck_tab[] * update_tab = update_jksdreturncheck_tab[].

ISM_SD_BOOK_JKSDRETURNCHECK * call function 'ISM_SD_BOOK_JKSDRETURNCHECK' * tables * insert_tab = insert_jksdreturncheck_tab[] * update_tab = update_jksdreturncheck_tab[].

ISM_SD_CREATE_JKSDRETURNCHECK2 * call function 'ISM_SD_CREATE_JKSDRETURNCHECK2' * exporting * head_tab = head_tab * update_jksdunsolditem_tab = item_tab * msg = msg * in_no_succ = no_succ * importing * insert_returnindex_tab = returnindex_insert_tab * update_returnindex_tab = returnindex_update_tab.

ISM_SD_CREATE_JKSDRETURNCHECK2 * call function 'ISM_SD_CREATE_JKSDRETURNCHECK2' * exporting * head_tab = head_tab * update_jksdunsolditem_tab = item_tab * msg = msg * importing * insert_returnindex_tab = returnindex_insert_tab * update_returnindex_tab = returnindex_update_tab.



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