SAP Reports / Programs

RJ2SD_CONTRACT_CREATE SAP ABAP Report - Create SD Contract Items for IS-M/SD LES Interface







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

JV2SD02 - Create Contract Items for LES


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 RJ2SD_CONTRACT_CREATE. "Basic submit
SUBMIT RJ2SD_CONTRACT_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT RJ2SD_CONTRACT_CREATE 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: PWERK = Plant
Selection Text: XABLDBAR = Unloading Viability Sets
Selection Text: XABLDNG = For Drop-Offs
Selection Text: XDIRLIEF = Orders with Direct Delivery
Selection Text: XVERPLAN = Shipping Schedules
Selection Text: PDATUM = D .
Selection Text: PVKORG = D .
Selection Text: PVTWEG = D .
Selection Text: SBEABLST = D .
Selection Text: SDRERZ = D .
Selection Text: SPVA = D .
Title: Create SD Contract Items for IS-M/SD LES Interface
Text Symbol: 001 = As Pr.Step in LES Shipping
Text Symbol: 002 = Shipping Schedules with Sales Org. / Dist. Channel
Text Symbol: 003 = For Shipp.Master Data
Text Symbol: OPT = For Shipping Master Data


INCLUDES used within this REPORT RJ2SD_CONTRACT_CREATE

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_2SD_DELIVERYTYPE_CHECK CALL FUNCTION 'ISM_2SD_DELIVERYTYPE_CHECK' EXPORTING in_lieferart = ls_parm-lieferart EXCEPTIONS not_found = 1 not_marked = 2 OTHERS = 3.

ISM_APPEND_SYST_TO_RETURN CALL FUNCTION 'ISM_APPEND_SYST_TO_RETURN' TABLES return = lt_return.

ISM_2SD_CONTRACT_SEARCH CALL FUNCTION 'ISM_2SD_CONTRACT_SEARCH' EXPORTING in_beablst = ls_parm-beablst in_bezirk = ls_parm-bezirk in_drerz = ls_parm-drerz in_pva = ls_parm-pva in_vkorg = ls_parm-vkorg in_vtweg = ls_parm-vtweg IMPORTING out_vbeln = lv_vbeln out_posnr = lv_posnr TABLES return = lt_return EXCEPTIONS publication_not_found = 1 unloading_point_not_found = 2 business_partner_not_found = 3 attributes_error = 4 not_found = 5 OTHERS = 6.

ISM_APPEND_SYST_TO_RETURN CALL FUNCTION 'ISM_APPEND_SYST_TO_RETURN' TABLES return = lt_return.

ISM_APPEND_SYST_TO_RETURN CALL FUNCTION 'ISM_APPEND_SYST_TO_RETURN' TABLES return = lt_return.

ISM_2SD_CONTRACT_CREATE CALL FUNCTION 'ISM_2SD_CONTRACT_CREATE' EXPORTING in_beablst = ls_parm-beablst in_bezirk = ls_parm-bezirk in_drerz = ls_parm-drerz in_pva = ls_parm-pva in_vkorg = ls_parm-vkorg in_vtweg = ls_parm-vtweg TABLES return = lt_return EXCEPTIONS publication_not_found = 1 unloading_point_not_found = 2 business_partner_not_found = 3 attributes_error = 4 contract_error = 5 OTHERS = 6.

ISM_APPEND_SYST_TO_RETURN CALL FUNCTION 'ISM_APPEND_SYST_TO_RETURN' TABLES return = lt_return.

ISM_DISPLAY_RETURN CALL FUNCTION 'ISM_DISPLAY_RETURN' TABLES return = lt_return EXCEPTIONS display_return_failed = 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 RJ2SD_CONTRACT_CREATE or its description.