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

RJKSDCREATERETURNCOLL_F01 SAP ABAP INCLUDE - RJKSDCREATERETURNCOLLF01







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


INCLUDES used within this REPORT RJKSDCREATERETURNCOLL_F01

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_BAG_CREATE CALL FUNCTION 'ISM_SD_API_BAG_CREATE' EXPORTING im_unsoldgp = ls_quantitycoll-gp im_collectdate = g_date im_werks = ls_quantitycoll-werks im_auart = p_auart im_unsoldnumber = '' im_state = '01' im_testrun = p_test im_adjust_date = 'X' IMPORTING ex_bag = l_bag * EX_JKSDCOLLECTBAG = ex_return_tab = lt_return .

ISM_SD_API_BAG_ISSUE_CREATE CALL FUNCTION 'ISM_SD_API_BAG_ISSUE_CREATE' EXPORTING im_issue = ls_collectissue-media_issue im_vkorg = ls_collectissue-vkorg im_vtweg = ls_collectissue-vtweg * IM_RETURNPHASE = * IM_REASON = im_sort = ls_collectissue-sort im_bag = ls_collectissue-bag im_auart = p_auart * im_pstye = ls_jksdissuedate-pstye im_pstye = ls_collectissue-pstye im_testrun = p_test IMPORTING ex_return_tab = lt_return * EX_JKSDCOLLECTISSUE = EXCEPTIONS role_not_defined = 1 OTHERS = 2.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_log IMPORTING e_log_handle = g_handle EXCEPTIONS OTHERS = 1.

ISM_SD_TJKSDCOLLECTROLE_READ CALL FUNCTION 'ISM_SD_TJKSDCOLLECTROLE_READ' IMPORTING ex_collectrole = g_role EXCEPTIONS role_not_defined = 1 OTHERS = 2.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_bal EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_bal EXCEPTIONS OTHERS = 1.

ISM_SD_TJKSDCOLLAUART_READ CALL FUNCTION 'ISM_SD_TJKSDCOLLAUART_READ' EXPORTING im_auart = p_auart IMPORTING ex_collauart = gs_collauart EXCEPTIONS error_tjksdcollauart = 1 OTHERS = 2.

ISM_SD_MATERIAL_TO_RANGE CALL FUNCTION 'ISM_SD_MATERIAL_TO_RANGE' EXPORTING in_tab = lt_issue CHANGING range_tab = lt_issue_range.

ISM_SD_GET_RANGES_ISSUEDATE CALL FUNCTION 'ISM_SD_GET_RANGES_ISSUEDATE' EXPORTING im_issuedate_tab = gt_jksdissuedate IMPORTING ex_issue_range = lr_issue ex_vkorg_range = lr_vkorg ex_vtweg_range = lr_vtweg.

ISM_SD_GET_RETURN_BP_FROM_POS2 CALL FUNCTION 'ISM_SD_GET_RETURN_BP_FROM_POS2' EXPORTING in_jksecontrindex = ls_jksecontrindex * IN_NO_CHECK_RETURNRIGHT = '' IMPORTING out_unsold = ls_quantitycoll-gp EXCEPTIONS unsold_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = l_s_msg * I_LOG_HANDLE = EXCEPTIONS log_not_found = 0 OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_s_msg = l_s_msg * I_LOG_HANDLE = EXCEPTIONS log_not_found = 0 OTHERS = 1.



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