SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | License Measurement(BC-SRV-LIM) SAP BC

RSLAW_TEST_BAPI SAP ABAP Report - LAW Information System







RSLAW_TEST_BAPI 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 RSLAW_TEST_BAPI 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 RSLAW_TEST_BAPI. "Basic submit
SUBMIT RSLAW_TEST_BAPI AND RETURN. "Return to original report after report execution complete
SUBMIT RSLAW_TEST_BAPI 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: LICTYPE = User Type
Selection Text: PERCLNT = Client
Selection Text: PERNAME = Object Name
Selection Text: PERSOB = By Personalization Objects
Selection Text: PERUSER = User
Selection Text: PRETTY = XML with Formatting
Selection Text: ROWS = Maximum No. of Result Rows
Selection Text: SAPUSER = User Name
Selection Text: SPCVERS = Special Versions
Selection Text: STATUS = System Status
Selection Text: SURCHAR = Surcharge
Selection Text: SYSCLT = Client List
Selection Text: SYSCMP = Component List
Selection Text: SYSID = SAP System
Selection Text: SYSNUMB = System Number
Selection Text: SYSSYS = System List
Selection Text: SYSTEM = by Systems
Selection Text: ULICTYP = License Type
Selection Text: UNIT = Unit
Selection Text: USER = by Users
Selection Text: USPCVER = Special Version
Selection Text: UTYPES = by User Types
Selection Text: WITHPER = With Personalization Objects
Selection Text: WITHTXT = with Texts (Engines, Types)
Selection Text: XML = Display as XML Document
Selection Text: APPL = Application
Selection Text: CLIENT = Client
Selection Text: COSTAT = Consolidation Status
Selection Text: COSTCTR = Cost Center
Selection Text: COUSER = User Name
Selection Text: CREADAT = Creation Date
Selection Text: CSENGI = by Consolidated Engines
Selection Text: CSUSER = by Consolidated Users
Selection Text: CSUTYP = by Consolidated Types
Selection Text: DISP = Display as List
Selection Text: ECLIENT = Client
Selection Text: ENGINE = by Engines
Selection Text: FILE = Download XML to File





Selection Text: HWKEY = Hardware Key
Selection Text: INSTNO = Installation Number
Title: LAW Information System
Text Symbol: 009 = Selection of Personalization Objects
Text Symbol: 008 = Select System Information
Text Symbol: 007 = Display the XML Document
Text Symbol: 006 = Selection of Consolidated Users
Text Symbol: 005 = Output Options
Text Symbol: 004 = Selection of Engines
Text Symbol: 003 = Selection of Users
Text Symbol: 002 = Selection of Component Systems
Text Symbol: 001 = Evaluation of LAW Information


INCLUDES used within this REPORT RSLAW_TEST_BAPI

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:

BAPI_LAWUSER_GETLIST CALL FUNCTION 'BAPI_LAWUSER_GETLIST' EXPORTING max_rows = rows with_pers = withper IMPORTING rows = l_rows TABLES selection_range = gt_selection_range userlist = gt_userlist return = gt_return.

BAPI_LAWSYSTEM_GETLIST CALL FUNCTION 'BAPI_LAWSYSTEM_GETLIST' EXPORTING max_rows = rows IMPORTING rows = l_rows TABLES selection_range = gt_selection_range systemlist = gt_systemlist clientlist = gt_clientlist componentlist = gt_syscomplist return = gt_return.

BAPI_LAWENGINE_GETLIST CALL FUNCTION 'BAPI_LAWENGINE_GETLIST' EXPORTING max_rows = rows with_text = withtxt IMPORTING rows = l_rows TABLES selection_range = gt_selection_range enginelist = gt_enginelist return = gt_return.

BAPI_LAWUTYPE_GETLIST CALL FUNCTION 'BAPI_LAWUTYPE_GETLIST' EXPORTING max_rows = rows with_text = withtxt client_col = ' ' IMPORTING rows = l_rows TABLES selection_range = gt_selection_range usertypelist = gt_usertypelist return = gt_return.

BAPI_LAWCONSUSR_GETLIST CALL FUNCTION 'BAPI_LAWCONSUSR_GETLIST' EXPORTING max_rows = rows IMPORTING rows = l_rows TABLES selection_range = gt_selection_range consuserlist = gt_consuserlist return = gt_return.

BAPI_LAWCONSENG_GETLIST CALL FUNCTION 'BAPI_LAWCONSENG_GETLIST' EXPORTING max_rows = rows with_text = withtxt IMPORTING rows = l_rows TABLES selection_range = gt_selection_range consenginelist = gt_consenginelist return = gt_return.

BAPI_LAWCONSUTY_GETLIST CALL FUNCTION 'BAPI_LAWCONSUTY_GETLIST' EXPORTING max_rows = rows with_text = withtxt IMPORTING rows = l_rows TABLES consutypelist = gt_consutypelist return = gt_return.

BAPI_LAWUSERPERS_GETLIST CALL FUNCTION 'BAPI_LAWUSERPERS_GETLIST' EXPORTING max_rows = rows IMPORTING rows = l_rows TABLES selection_range = gt_selection_range userperslist = gt_userperslist return = gt_return.

BAPI_LAWUSER_GETLIST CALL FUNCTION 'BAPI_LAWUSER_GETLIST' EXPORTING max_rows = rows pretty_print = pretty with_pers = withper IMPORTING size = l_size TABLES selection_range = gt_selection_range userlist_xml = gt_xml_source return = gt_return.

BAPI_LAWSYSTEM_GETLIST CALL FUNCTION 'BAPI_LAWSYSTEM_GETLIST' EXPORTING max_rows = rows pretty_print = pretty IMPORTING size = l_size TABLES selection_range = gt_selection_range resultlist_xml = gt_xml_source return = gt_return.

BAPI_LAWENGINE_GETLIST CALL FUNCTION 'BAPI_LAWENGINE_GETLIST' EXPORTING max_rows = rows with_text = withtxt pretty_print = pretty IMPORTING size = l_size TABLES selection_range = gt_selection_range enginelist_xml = gt_xml_source return = gt_return.

BAPI_LAWUTYPE_GETLIST CALL FUNCTION 'BAPI_LAWUTYPE_GETLIST' EXPORTING max_rows = rows with_text = withtxt pretty_print = pretty client_col = ' ' IMPORTING size = l_size TABLES selection_range = gt_selection_range usertypelist_xml = gt_xml_source return = gt_return.






BAPI_LAWCONSUSR_GETLIST CALL FUNCTION 'BAPI_LAWCONSUSR_GETLIST' EXPORTING max_rows = rows pretty_print = pretty IMPORTING size = l_size TABLES selection_range = gt_selection_range consuserlist_xml = gt_xml_source return = gt_return.

BAPI_LAWCONSENG_GETLIST CALL FUNCTION 'BAPI_LAWCONSENG_GETLIST' EXPORTING max_rows = rows with_text = withtxt pretty_print = pretty IMPORTING size = l_size TABLES selection_range = gt_selection_range consenginelist_xml = gt_xml_source return = gt_return.

BAPI_LAWCONSUTY_GETLIST CALL FUNCTION 'BAPI_LAWCONSUTY_GETLIST' EXPORTING max_rows = rows with_text = withtxt pretty_print = pretty IMPORTING size = l_size TABLES consutypelist_xml = gt_xml_source return = gt_return.

BAPI_LAWUSERPERS_GETLIST CALL FUNCTION 'BAPI_LAWUSERPERS_GETLIST' EXPORTING max_rows = rows IMPORTING size = l_size TABLES selection_range = gt_selection_range userperslist_xml = gt_xml_source return = gt_return.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_struct_name i_client_never_display = ' ' CHANGING ct_fieldcat = lt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_grid_title = i_struct_name is_layout = ls_layout it_fieldcat = lt_fieldcat[] i_save = gx_save is_variant = gs_variant TABLES t_outtab = .

SDIXML_XML_TO_DOM CALL FUNCTION 'SDIXML_XML_TO_DOM' EXPORTING xml =

size = iv_size IMPORTING document = lr_ixml_document EXCEPTIONS OTHERS = 2.

SDIXML_DOM_TO_SCREEN CALL FUNCTION 'SDIXML_DOM_TO_SCREEN' EXPORTING document = lr_ixml_document title = 'Anzeige des XML-Dokuments'(007) EXCEPTIONS no_document = 1 OTHERS = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = p_save CHANGING cs_variant = ps_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.



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