RJKSDSIMULATEUNSOLD 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 RJKSDSIMULATEUNSOLD into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: AUART = Contract Type
Selection Text: CONTRACT = Contract
Selection Text: DATE = Publ. Date of Media Issue
Selection Text: PREFIX = Prefix of Return Slip Number
Selection Text: PROCESS = Operation
Selection Text: SPART = Division
Selection Text: VKORG = Sales Organization
Selection Text: VTWEG = Distribution Channel
Selection Text: ZEROQUAN = Allow Return Quantity 0
Title: IS-M: Program for Generating Return Requests
Text Symbol: 110 = Selection Criteria
Text Symbol: 120 = Control Data
Text Symbol: 200 = Caution: Collective Returns are not Supported
Text Symbol: 201 = Returns
Text Symbol: 202 = Issue
Text Symbol: 203 = Qty
Text Symbol: 205 = Generate Returns
Text Symbol: 206 = No Returns Created
Text Symbol: 207 = Contract
Text Symbol: 208 = Item
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISM_SD_MATERIAL_TO_RANGE call function 'ISM_SD_MATERIAL_TO_RANGE' exporting in_tab = issue_tab changing range_tab = r_issue_tab.
ISM_SD_GET_PRODUCT call function 'ISM_SD_GET_PRODUCT' * EXPORTING * MEDIA_FAMILY = * COPY_NUMBER = * PUBL_DATE = importing out_product_tab = product_tab tables in_issue_tab = r_issue_tab * IN_PRODUCT_TAB = exceptions error = 1 others = 2.
ISM_SD_MATERIAL_TO_RANGE call function 'ISM_SD_MATERIAL_TO_RANGE' exporting in_tab = product_tab changing range_tab = r_product_tab.
ISM_SD_SELECT_CONTRACTS call function 'ISM_SD_SELECT_CONTRACTS' exporting * IN_ISSUE = * IN_VALID_FROM = '00000000' * IN_VALID_UNTIL = '99991231' x_partner_or = 'X' * X_UPDATE_CONTRACT = tables in_vkorg = r_vkorg_tab in_vtweg = r_vtweg_tab in_spart = r_spart_tab * IN_VKBUR = * IN_VKGRP = in_contract = contract * IN_POSNR = * IN_SHIP_TO_PARTY = * IN_SOLD_TO_PARTY = * IN_WHOLESALER = IN_DOC_TYPE_CONTRACT = r_auart_tab in_product = r_product_tab * IN_ROUTE = * IN_PLANT = * IN_VSTEL = out_contract2 = contract_tab.
ISM_CONTRACTDEMAND_GET call function 'ISM_CONTRACTDEMAND_GET' exporting in_document = rm-vbeln in_item = rm-posnr in_mediaissue = to_return-issue * IN_PHASEMDL = * IN_PHASENBR = * IN_VERSION = '000 ' importing out_quantity = to_return-quantity out_salesunit = to_return-unit * OUT_ORIGINOFDEMAND = exceptions no_quantity_found = 1 others = 2 .
QF05_RANDOM_INTEGER call function 'QF05_RANDOM_INTEGER' exporting ran_int_max = end ran_int_min = start importing ran_int = random exceptions invalid_input = 1 others = 2.
ISM_SD_GET_SALESORG_FOR_ORDER call function 'ISM_SD_GET_SALESORG_FOR_ORDER' exporting in_vbeln = to_return-vbeln importing out_vkorg = head-salesorg out_vtweg = head-distr_chan out_spart = head-division out_vkbur = head-sales_off out_vkgrp = head-sales_grp exceptions not_found = 1 others = 2.
BAPI_ISMRETURNREQUEST_CREATE2 call function 'BAPI_ISMRETURNREQUEST_CREATE2' exporting head = head * IMPORTING * RETURNREQUESTNUMBER = tables items = pos_tab * RETURN = .
QF05_RANDOM call function 'QF05_RANDOM' exporting ran_seed = ran_seed * IMPORTING * RAN_NUMBER = * RAN_SEED = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RJKSDSIMULATEUNSOLD - IS-M: Program for Generating Return Requests RJKSDSIMULATEUNSOLD - IS-M: Program for Generating Return Requests RJKSDSHOWPROTOCOL - Display Log RJKSDSHOWPROTOCOL - Display Log RJKSDSHIPMSG - Program for Object Type BUSISM034: Shipping Notification RJKSDSHIPMSG - Program for Object Type BUSISM034: Shipping Notification