SAP Reports / Programs | Cross-Application Components | General Application Functions | Communication Channel(CA-GTF-IC-CHA) SAP CA

CRM_BOR_MACRO SAP ABAP INCLUDE - Include CRM_BOR_MACRO







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


Text pool values


Title: Include CRM_BOR_MACRO


INCLUDES used within this REPORT CRM_BOR_MACRO

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:

SWC_ELEMENT_CREATE call function 'SWC_ELEMENT_CREATE' exporting element = &2 tables container = &1 exceptions already_exists = 4 others = 1.

SWC_ELEMENT_SET call function 'SWC_ELEMENT_SET' exporting element = &2 field = &3 tables container = &1 exceptions others = 1.

SWC_TABLE_SET call function 'SWC_TABLE_SET' exporting element = &2 tables container = &1 table = &3 exceptions others = 1.

SWC_ELEMENT_GET call function 'SWC_ELEMENT_GET' exporting element = &2 importing field = &3 tables container = &1 exceptions not_found = 8 is_null = 4 others = 1.

SWC_TABLE_GET call function 'SWC_TABLE_GET' exporting element = &2 tables container = &1 table = &3 exceptions not_found = 8 is_null = 4 others = 1.

SWC_ELEMENT_DELETE call function 'SWC_ELEMENT_DELETE' exporting element = &2 tables container = &1 exceptions others = 1.

SWC_ELEMENT_COPY call function 'SWC_ELEMENT_COPY' exporting source_element = &2 target_element = &4 tables source_container = &1 target_container = &3 exceptions not_found = 1 is_null = 2 others = 3.

SWO_CREATE call function 'SWO_CREATE' exporting objtype = swo_xobjid-objtype objkey = swo_xobjid-objkey importing object = &1-handle return = swo_xreturn.

SWO_CREATE call function 'SWO_CREATE' exporting objtype = swo_xobjid-objtype objkey = swo_xobjid-objkey logical_system = swo_xobjid-logsys importing object = &1-handle return = swo_xreturn.

SWO_FREE call function 'SWO_FREE' exporting object = &1-handle importing return = swo_xreturn.

SWO_OBJECT_ID_GET call function 'SWO_OBJECT_ID_GET' exporting object = &1-handle importing return = swo_xreturn objid = swo_xobjid.

SWO_OBJECT_ID_GET call function 'SWO_OBJECT_ID_GET' exporting object = &1-handle importing return = swo_xreturn objid = swo_xobjid.

SWO_INVOKE call function 'SWO_INVOKE' exporting access = 'G' object = &1-handle verb = &2 persistent = ' ' importing return = swo_xreturn verb = swo_xverb tables container = swo_xcontainer.

SWO_INVOKE call function 'SWO_INVOKE' exporting access = 'G' object = &1-handle verb = &2 persistent = ' ' importing return = swo_xreturn verb = swo_xverb tables container = swo_xcontainer.

SWO_INVOKE call function 'SWO_INVOKE' exporting access = 'C' object = &1-handle verb = &2 persistent = ' ' importing return = swo_xreturn tables container = &3.

SWO_INVOKE call function 'SWO_INVOKE' exporting access = 'C' object = &1-handle verb = &2 persistent = ' ' synchron = ' ' importing return = swo_xreturn tables container = &3.

SWO_OBJECT_REFRESH call function 'SWO_OBJECT_REFRESH' exporting object = &1 exceptions error_create = 02.

SWC_CONT_PERSISTENT_CONVERT call function 'SWC_CONT_PERSISTENT_CONVERT' exporting from_persistent = ' ' to_persistent = 'X' importing return = swo_xreturn tables container = swo_xcontainer exceptions others = 1.

SWE_EVENT_CREATE





call function 'SWE_EVENT_CREATE' exporting objtype = swo_xobjid-objtype objkey = swo_xobjid-objkey event = &2 tables event_container = swo_xcontainer exceptions objtype_not_found = 1 others = 2.

SWC_CONT_PERSISTENT_CONVERT call function 'SWC_CONT_PERSISTENT_CONVERT' exporting from_persistent = &2 to_persistent = &3 importing return = swo_xreturn tables container = &1 exceptions others = 1.

SWO_OBJECT_ID_GET call function 'SWO_OBJECT_ID_GET' exporting object = &1-handle importing return = swo_xreturn objid = swo_xobjid.

SWC_CONT_COMPRESS call function 'SWC_CONT_COMPRESS' tables container = &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 CRM_BOR_MACRO or its description.