SAP Reports / Programs

ISUCRMCONTRACT SAP ABAP Report - Program for Object Type ISUCRMCNTR: ISU-CRM Vertrag







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


Text pool values


Title: Program for Object Type ISUCRMCNTR: ISU-CRM Vertrag


INCLUDES used within this REPORT ISUCRMCONTRACT

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:

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = guid_22 IMPORTING EV_GUID_X16 = guid_16.

CRM0_READ_CRMRFCPAR CALL FUNCTION 'CRM0_READ_CRMRFCPAR' EXPORTING i_consumer = 'CRM' i_objname = '*' i_download = '*' I_DISCARD_DATA = I_DISCARD_DATA TABLES t_crmrfcpar = tl_crmrfcpar EXCEPTIONS no_entry = 1 consumer_not_active = 2 OTHERS = 3.

ECRM_GET_DISTRIBUTOR_PRODUCT CALL FUNCTION 'ECRM_GET_DISTRIBUTOR_PRODUCT' DESTINATION tl_crmrfcpar-rfcdest EXPORTING X_CONTRACT_GUID = guid_16 IMPORTING Y_PRODUCT = CRMPRODUCT EXCEPTIONS not_found = 1 OTHERS = 2.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = guid_22 IMPORTING EV_GUID_X16 = guid_16.

ECRM_CONTRACT_CHANGE CALL FUNCTION 'ECRM_CONTRACT_CHANGE' EXPORTING X_CONTRACTPOS = guid_16 X_ACTIVATESTATUS = ACTIVATESTATUS X_INACTIVATESTATUS = INACTIVATESTATUS X_AB = BEGINDATE X_BIS = ENDDATE x_ISURQCONTSTART = ISURQCONTSTART x_ISURQCONTEND = ISURQCONTEND X_PARTNER = partner X_CREATECHANGETICKET = CREATECHANGETICKET x_sender = l_sender importing Y_CHANGETICKET = l_CHANGETICKET.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_X16 = CRMPOSGUID IMPORTING EV_GUID_C22 = CRMPOSGUID22.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = guid_22 IMPORTING EV_GUID_X16 = guid_16.

ECRM_CONTRACT_CHANGE CALL FUNCTION 'ECRM_CONTRACT_CHANGE' EXPORTING X_CONTRACTPOS = guid_16 X_ACTIVATESTATUS = ACTIVATESTATUS X_INACTIVATESTATUS = INACTIVATESTATUS X_CANCREASON = CANCELATIONREASON X_CANCEL = 'X' X_createchangeticket = CreateChangeTicket x_partner = partner x_sender = l_sender importing Y_CHANGETICKET = l_CHANGETICKET.

ISU_DB_EUITRANS_EXT_SINGLE CALL FUNCTION 'ISU_DB_EUITRANS_EXT_SINGLE' EXPORTING X_EXT_UI = PointOfDeliveryID X_KEYDATE = date X_KEYTIME = SY-UZEIT IMPORTING Y_EUITRANS = l_EUITRANS EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3 .

CRM0_READ_CRMRFCPAR CALL FUNCTION 'CRM0_READ_CRMRFCPAR' EXPORTING i_consumer = 'CRM' i_objname = '*' i_download = '*' I_DISCARD_DATA = I_DISCARD_DATA TABLES t_crmrfcpar = tl_crmrfcpar EXCEPTIONS no_entry = 1 consumer_not_active = 2 OTHERS = 3.

ECRM_GET_SUPPLIER_CONTRACT CALL FUNCTION 'ECRM_GET_SUPPLIER_CONTRACT' DESTINATION tl_crmrfcpar-rfcdest EXPORTING X_POD_GUID_22 = pointofdelivery X_DATE = date IMPORTING Y_ITEM_GUID_32 = l_ITEM_GUID_32 Y_PARTNER = l_PARTNER.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C32 = l_ITEM_GUID_32 IMPORTING EV_GUID_C22 = l_ITEM_GUID_22 EXCEPTIONS OTHERS = 3.

ECRM_CONTRACT_CHANGE CALL FUNCTION 'ECRM_CONTRACT_CHANGE' EXPORTING X_CONTRACTPOS_22 = OBJECT-key X_PARTNER = BUSINESSPARTNER X_PROC_LOG = ls_proc_log.

ECRM_CONTRACT_CHANGE CALL FUNCTION 'ECRM_CONTRACT_CHANGE' EXPORTING X_CONTRACTPOS_22 = OBJECT-key X_PARTNER = BUSINESSPARTNER X_PROC_LOG = l_proc_log .

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = guid_22 IMPORTING EV_GUID_X16 = guid_16.

ECRM_CONTRACT_CHANGE CALL FUNCTION 'ECRM_CONTRACT_CHANGE' EXPORTING X_CONTRACTPOS = guid_16 X_PARTNER = PARTNER * X_NO_COMMIT = X_LINK = l_link.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = L_guid_22 IMPORTING EV_GUID_X16 = l_CONTRACTNEW-contractpos .

ISU_EREPL_WF_HANDLING CALL FUNCTION 'ISU_EREPL_WF_HANDLING' EXPORTING X_CONTRACTNEW = l_CONTRACTNEW EXCEPTIONS INPUT_ERROR = 1 NOT_FOUND = 2 FOREIGN_LOCK = 3 SYSTEM_FAILURE = 4 OTHERS = 5 .

GUID_CONVERT





CALL FUNCTION 'GUID_CONVERT' EXPORTING IV_GUID_C22 = OBJECT-key-CONTRACTGUID IMPORTING EV_GUID_X16 = l_guid_16.



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