SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Generic Object Services(BC-SRV-GBT-GOS) SAP BC

GOS_TOOLBOX_TEST SAP ABAP Report - Test Program for Toolbox of Generic Object Services







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

SGOSTEST - Test Tool Generic Object Services


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 GOS_TOOLBOX_TEST. "Basic submit
SUBMIT GOS_TOOLBOX_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT GOS_TOOLBOX_TEST 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: P_ARCH = Read Archive
Selection Text: P_BC = Class Library
Selection Text: P_BOR = Business Object Repository
Selection Text: P_COMMIT = Commit in the Application
Selection Text: P_DIRECT = Start Toolbox Immediately
Selection Text: P_NEW = New Publication (ABAP OO)
Selection Text: P_NONE = No Publication
Selection Text: P_OLD = Old Publication Using FM
Selection Text: P_SERV = Service Selection
Selection Text: P_VSIPRF = Virus Scan Profile
Selection Text: P_CATID = D .
Selection Text: P_OBJKEY = D .
Selection Text: P_OBJTYP = D .
Selection Text: P_RWMOD = D .
Title: Test Program for Toolbox of Generic Object Services
Text Symbol: 020 = BOR Object to Be Published
Text Symbol: 022 = Switch To Publication
Text Symbol: 024 = Parameter for Publication


INCLUDES used within this REPORT GOS_TOOLBOX_TEST

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:

SWU_OBJECT_PUBLISH CALL FUNCTION 'SWU_OBJECT_PUBLISH' EXPORTING objtype = gs_object-objtype objkey = gs_object-objkey EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

SWU_OBJECT_RESTORE CALL FUNCTION 'SWU_OBJECT_RESTORE' EXPORTING objtype = gs_object-objtype objkey = gs_object-objkey.

SWU_OBJECT_RESTORE * CALL FUNCTION 'SWU_OBJECT_RESTORE' * EXPORTING * objtype = gs_old-objtype * objkey = gs_old-objkey.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = archive_object * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = read_handle * TABLES * ARCHIVE_FILES = * SELECTED_FILES = EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8 .

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = read_handle EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

SOBL_ARCHIVE_READ_LINKS CALL FUNCTION 'SOBL_ARCHIVE_READ_LINKS' EXPORTING archive_handle = read_handle is_object = ls_lporb IMPORTING et_links = lt_links.

ARCHIVE_CLOSE_FILE * CALL FUNCTION 'ARCHIVE_CLOSE_FILE' * EXPORTING * archive_handle = read_handle * EXCEPTIONS * internal_error = 1 * wrong_access_to_archive = 2 * OTHERS = 3.



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