SAP Reports / Programs | Service | Solution Manager | Solution Manager Implementation(SV-SMG-IMP) SAP SV

SM_DOC_GENERATION_UPLOAD SAP ABAP Report - Report SM_DOC_GENERATION_UPLOAD







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


Text pool values


Title: Report SM_DOC_GENERATION_UPLOAD
Text Symbol: 001 = Upload
Text Symbol: 010 = Business Blueprint Initialization File
Text Symbol: 020 = Business Blueprint Document
Text Symbol: 030 = Business Blueprint Document Template
Text Symbol: 040 = Configuration Guide Initialization File
Text Symbol: 050 = Configuration Guide Document
Text Symbol: 060 = Configuration Guide Document Template
Text Symbol: 070 = Test Report Initialization File
Text Symbol: 080 = Test Report Document
Text Symbol: 090 = Test Report Document Template


INCLUDES used within this REPORT SM_DOC_GENERATION_UPLOAD

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:

SIW_FOLDER_QUERY CALL FUNCTION 'SIW_FOLDER_QUERY' EXPORTING AREA = 'IWBSOLAR' WITH_DIALOG = ' ' * IMPORTING * ACTION = * ERROR_MSG = TABLES QUERY = query * REQUESTED_PROPERTIES = RESULT = result * RESULT_PROPERTIES = * CONTEXT = .

SIW_INFO_OBJECT_QUERY CALL FUNCTION 'SIW_INFO_OBJECT_QUERY' EXPORTING AREA = 'IWBSOLAR' WITH_DIALOG = ' ' * MULTI_SELECT = ' ' NO_CONTEXT_CHANGE = ' ' * IMPORTING * ACTION = * ERROR_MSG = TABLES QUERY = query CONTEXT = context * REQUESTED_PROPERTIES = INFO_OBJECTS = result * PROPERTIES = * VALID_INFO_CLASSES = .

IW_INT_INIT_CONTEXT_AND_DEST CALL FUNCTION 'IW_INT_INIT_CONTEXT_AND_DEST' EXPORTING CLASS = l_INFO_OBJECT-CLASS IMPORTING ERROR_MSG = l_ERROR_MSG TABLES CONTEXT = CONTEXT CHANGING EDIT_DESTINATION = L_DESTINATION.

INFO_OBJECT_EDIT CALL FUNCTION 'INFO_OBJECT_EDIT' EXPORTING INFO_OBJECT = l_INFO_OBJECT suppress_authority_check = ' ' ENABLE_EDITOR_STARTUP = ' ' ENABLE_UPLOAD = 'X' IMPORTING ERROR_MSG = l_ERROR_MSG TABLES CONTEXT = CONTEXT.

SIW_INFO_OBJECT_CONTENT_EDIT CALL FUNCTION 'SIW_INFO_OBJECT_CONTENT_EDIT' DESTINATION L_DESTINATION EXPORTING INFO_OBJECT = l_INFO_OBJECT LANGUAGE = l_language IMPORTING ERROR_MSG = l_ERROR_MSG TABLES CONTEXT = CONTEXT EXCEPTIONS SYSTEM_FAILURE = 1 MESSAGE L_MESSAGE COMMUNICATION_FAILURE = 2 MESSAGE L_MESSAGE.

IW_INT_INIT_CONTEXT_AND_DEST CALL FUNCTION 'IW_INT_INIT_CONTEXT_AND_DEST' EXPORTING CLASS = 'SOLARGEN' IMPORTING ERROR_MSG = l_ERROR_MSG TABLES CONTEXT = CONTEXT CHANGING EDIT_DESTINATION = L_DESTINATION.

SDOK_LOIO_CREATE CALL FUNCTION 'SDOK_LOIO_CREATE' EXPORTING OBJECT_CLASS = 'SOLARGEN' OBJECT_UNIQUE_ID = L_UNIQUE_ID * CLIENT = SY-MANDT IMPORTING OBJECT_ID = L_LOIO TABLES PROPERTIES = LT_PROPERTY EXCEPTIONS MISSING_CLASS = 1 BAD_CLASS = 2 MISSING_PROPERTIES = 3 BAD_PROPERTIES = 4 NOT_AUTHORIZED = 5 DUPLICATE_OBJECT_ID = 6 EXCEPTION_IN_EXIT = 7 OTHERS = 8.

SDOK_LOIO_CREATE CALL FUNCTION 'SDOK_LOIO_CREATE' DESTINATION L_DESTINATION EXPORTING OBJECT_CLASS = 'SOLARGEN' OBJECT_UNIQUE_ID = L_UNIQUE_ID * CLIENT = SY-MANDT IMPORTING OBJECT_ID = L_LOIO TABLES PROPERTIES = LT_PROPERTY EXCEPTIONS MISSING_CLASS = 1 BAD_CLASS = 2 MISSING_PROPERTIES = 3 BAD_PROPERTIES = 4 NOT_AUTHORIZED = 5 DUPLICATE_OBJECT_ID = 6 EXCEPTION_IN_EXIT = 7 OTHERS = 8.

SA_KW_RFC_UNIQUE_ID_GET call function 'SA_KW_RFC_UNIQUE_ID_GET' EXPORTING i_area = 'IWBSOLAR' IMPORTING unique_id = l_guid error_msg = l_error_msg.

SDOK_PHIO_CREATE CALL FUNCTION 'SDOK_PHIO_CREATE' EXPORTING OBJECT_CLASS = l_phio-class OBJECT_UNIQUE_ID = l_guid * X_ENQUEUE = * CLIENT = SY-MANDT * X_SUPPRESS_PARTNER_CHECK = IMPORTING OBJECT_ID = l_phio TABLES PROPERTIES = lt_phio_prop * FROM_RELATIONS = TO_RELATIONS = lt_to_rel EXCEPTIONS MISSING_CLASS = 1 BAD_CLASS = 2 MISSING_PROPERTIES = 3 BAD_RELATIONS = 4 BAD_PROPERTIES = 5 NOT_AUTHORIZED = 6 DUPLICATE_OBJECT_ID = 7 ENQUEUE_FAILURE = 8 EXCEPTION_IN_EXIT = 9 OTHERS = 10 .

SA_KW_RFC_PHIO_STORE_CONTENT CALL FUNCTION 'SA_KW_RFC_PHIO_STORE_CONTENT' EXPORTING * AREA = object_id = l_phio * allow_store_by_url = TABLES file_access_info = lt_file_access_info * file_access_url = lt_file_access_url * file_content_ascii = file_content_binary = lt_file_content_binary EXCEPTIONS not_existing = 1 not_allowed = 2 not_authorized = 3 no_content = 4 bad_storage_type = 5 OTHERS = 6.

SA_KW_RFC_PHIO_STORE_CONTENT CALL FUNCTION 'SA_KW_RFC_PHIO_STORE_CONTENT' EXPORTING * AREA = object_id = l_phio * allow_store_by_url = TABLES file_access_info = lt_file_access_info * file_access_url = lt_file_access_url file_content_ascii = lt_file_content_ascii * file_content_binary = EXCEPTIONS not_existing = 1 not_allowed = 2 not_authorized = 3 no_content = 4 bad_storage_type = 5 OTHERS = 6.

SIW_INFO_OBJECT_CREATE CALL FUNCTION 'SIW_INFO_OBJECT_CREATE' EXPORTING AREA = 'IWBSOLAR' FOLDER = folder_id CLASS = 'SOLARGEN' CREATE_MODE = 'FILE' * IMPORTING * INFO_OBJECT = * ERROR_MSG = * ACTION = TABLES CONTEXT = context INITIAL_PROPERTIES = doc_properties * BAD_PROPERTIES = * PROPERTIES = * PROPS_TO_HIDE = * PROPS_DISPLAY_ONLY = .

SIW_INFO_OBJECT_QUERY CALL FUNCTION 'SIW_INFO_OBJECT_QUERY' EXPORTING AREA = 'IWBSOLAR' WITH_DIALOG = ' ' * MULTI_SELECT = ' ' NO_CONTEXT_CHANGE = ' ' * IMPORTING * ACTION = * ERROR_MSG = TABLES QUERY = query CONTEXT = context * REQUESTED_PROPERTIES = INFO_OBJECTS = result * PROPERTIES = * VALID_INFO_CLASSES = .

SIW_INFO_OBJECT_DELETE CALL FUNCTION 'SIW_INFO_OBJECT_DELETE' EXPORTING INFO_OBJECT = document_id * WITH_DIALOG = 'X' * IMPORTING * ACTION = * ERROR_MSG = TABLES CONTEXT = context * HYPERLINKS = * INCLUDES = * STRUCTURES = * STRUCT_INCLUDES = .

SIW_INFO_OBJECT_QUERY CALL FUNCTION 'SIW_INFO_OBJECT_QUERY' EXPORTING AREA = 'IWBSOLAR' "#EC NOTEXT WITH_DIALOG = ' ' * MULTI_SELECT = ' ' NO_CONTEXT_CHANGE = ' ' * IMPORTING * ACTION = * ERROR_MSG = TABLES QUERY = query CONTEXT = context * REQUESTED_PROPERTIES = INFO_OBJECTS = result * PROPERTIES = * VALID_INFO_CLASSES = .

SIW_INFO_OBJECT_CONTENT_EDIT CALL FUNCTION 'SIW_INFO_OBJECT_CONTENT_EDIT' EXPORTING INFO_OBJECT = document_id LANGUAGE = l_language * NEW_INFO_OBJECT = ' ' * IMPORTING * ERROR_MSG = TABLES CONTEXT = context .



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