SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAP Query(BC-SRV-QUE) SAP BC

IQAPI_DEMO_QUERY_CALL SAP ABAP Report - Test Program for Function Group IQAPI_QUERY_CALL







IQAPI_DEMO_QUERY_CALL 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 IQAPI_DEMO_QUERY_CALL 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 IQAPI_DEMO_QUERY_CALL. "Basic submit
SUBMIT IQAPI_DEMO_QUERY_CALL AND RETURN. "Return to original report after report execution complete
SUBMIT IQAPI_DEMO_QUERY_CALL 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_ACC = DB Access Restrictions
Selection Text: P_NOSEL = Empty Selection Permissable
Selection Text: P_NOAUTH = No Authorization Check
Selection Text: P_DKIND = Data Class
Selection Text: P_DFORM = Data Format
Selection Text: P_DBACC = Number of DB Accesses
Selection Text: P_SROW1 = 1. Row (top left)
Selection Text: P_SPOPUP = Selection Screen as Popup
Selection Text: P_SE_P = (SSCR,EXTR) + SHOW
Selection Text: P_SEP = (SSCR, EXTR, SHOW)
Selection Text: P_SCOL1 = 1. Column (top left)
Selection Text: P_WSID = Global Query Area
Selection Text: P_VARI = Variant
Selection Text: P_UGROUP = User Group
Selection Text: P_S_E_P = SSCR + EXTR + SHOW
Selection Text: P_S_EP = SSCR + (EXTR,SHOW)
Selection Text: P_PKIND = Type of Presentation
Selection Text: P_PCOLN = Last Column (bottom right)
Selection Text: P_PCOL1 = 1. Column (top left)
Selection Text: P_PACK = Packet Mode
Selection Text: P_PROW1 = 1. Row (top left)
Selection Text: P_PROWN = Last Row (bottom right)
Selection Text: P_PSIZE = Packet Size
Selection Text: P_QUERY = Query
Selection Text: P_REPORT = (SUBMIT report)
Selection Text: P_OQUERY = Query
Title: Test Program for Function Group IQAPI_QUERY_CALL
Text Symbol: 070 = Presentation Settings
Text Symbol: 060 = Data Transfer Settings
Text Symbol: 050 = Packet Mode Settings
Text Symbol: 022 = (1) Selection and Extraction (2) Presentation
Text Symbol: 021 = (1) Selection (2) Extraction (3) Presentation (Packt mode possible)
Text Symbol: 020 = Execution
Text Symbol: 011 = or (old identification)
Text Symbol: 010 = Query ID
Text Symbol: 040 = Extraction Settings
Text Symbol: 030 = Selection Settings
Text Symbol: 025 = (1) Calling the Query Report





Text Symbol: 024 = (1) Selection, Extraction und Presentation
Text Symbol: 023 = (1) Selection (2) Extraction und Presentation


INCLUDES used within this REPORT IQAPI_DEMO_QUERY_CALL

INCLUDE RSAQCOMC.


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:

IQAPI_QCALL_DATADESC call function 'IQAPI_QCALL_DATADESC' exporting query = p_query old_qid = qid importing struct_name = struct full_mode = full_mode exceptions others = 1.

RS_SELECTIONSCREEN_READ call function 'RS_SELECTIONSCREEN_READ' exporting program = l_program tables fieldvalues = l_selvalues.

RSAQSUG_SELECT_USERGROUP call function 'RSAQSUG_SELECT_USERGROUP' exporting sug_workspace = l_workspace sug_superuser = 'X' sug_no_syst = 'X' importing sug_usergroup = p_usergroup.

RS_SELECTIONSCREEN_READ call function 'RS_SELECTIONSCREEN_READ' exporting program = l_program tables fieldvalues = l_selvalues.

RSAQSQU_SELECT_QUERY call function 'RSAQSQU_SELECT_QUERY' exporting squ_workspace = l_workspace squ_user_group_in = l_usergroup squ_complete = space squ_tcode = 'SQ00' squ_hflag = 'X' importing squ_query_out = p_query.

IQAPI_QCALL_SSCR call function 'IQAPI_QCALL_SSCR' exporting query = query old_qid = qid sscr_options = sscr_opt variant = variant importing layout_variant = lvariant changing filter = filter exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_EXTR call function 'IQAPI_QCALL_EXTR' exporting query = query old_qid = qid extr_options = extr_opt pack_options = pack_opt data_options = data_opt * variant = variant filter = filter importing dref = dref dtab = dnorm = dnorm dstream = dstream dstring = dstring exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 no_data = 4 no_authorization = 5 others = 6.

IQAPI_QCALL_EXTR_NEXT call function 'IQAPI_QCALL_EXTR_NEXT' exporting query = query old_qid = qid importing dref = dref dtab = dnorm = dnorm dstream = dstream dstring = dstring exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 no_more_data = 4 others = 5.

IQAPI_QCALL_SHOW call function 'IQAPI_QCALL_SHOW' exporting query = query old_qid = qid show_options = show_opt data_options = data_opt layout_variant = lvariant * handle = dref = dref dstream = dstream dstring = dstring changing dtab = dnorm = dnorm exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SHOW call function 'IQAPI_QCALL_SHOW' exporting query = query old_qid = qid show_options = show_opt data_options = data_opt layout_variant = lvariant * handle = dref = dref dstream = dstream dstring = dstring changing dtab = dnorm = dnorm exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SSCR_EXTR call function 'IQAPI_QCALL_SSCR_EXTR' exporting query = query old_qid = qid sscr_options = sscr_opt extr_options = extr_opt data_options = data_opt variant = variant filter = filter importing dref = dref dtab = dnorm = dnorm dstream = dstream dstring = dstring exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 canceled = 4 no_data = 5 no_authorization = 6 others = 7.

IQAPI_QCALL_SHOW call function 'IQAPI_QCALL_SHOW' exporting query = query old_qid = qid show_options = show_opt data_options = data_opt * layout_variant = * handle = dref = dref dstream = dstream dstring = dstring changing dtab = dnorm = dnorm exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SSCR call function 'IQAPI_QCALL_SSCR' exporting query = query old_qid = qid sscr_options = sscr_opt variant = variant importing layout_variant = lvariant changing filter = filter exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_EXTR_SHOW call function 'IQAPI_QCALL_EXTR_SHOW' exporting query = query old_qid = qid extr_options = extr_opt show_options = show_opt * variant = variant filter = filter layout_variant = lvariant * handle = exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SSCR_EXTR_SHOW call function 'IQAPI_QCALL_SSCR_EXTR_SHOW' exporting query = query old_qid = qid sscr_options = sscr_opt extr_options = extr_opt show_options = show_opt variant = variant * filter = * handle = exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 canceled = 4 no_data = 5 no_authorization = 6 others = 7.

IQAPI_QCALL call function 'IQAPI_QCALL' exporting query = query old_qid = qid variant = variant * filter = exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SHOW call function 'IQAPI_QCALL_SHOW' exporting query = query old_qid = qid show_options = show_opt data_options = data_opt layout_variant = lvariant handle = alv_handle dref = dref dstream = dstream dstring = dstring changing dtab = dnorm = dnorm exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.






IQAPI_QCALL_EXTR_SHOW call function 'IQAPI_QCALL_EXTR_SHOW' exporting query = query old_qid = qid extr_options = extr_opt show_options = show_opt * variant = variant filter = filter layout_variant = lvariant handle = alv_handle exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 others = 4.

IQAPI_QCALL_SSCR_EXTR_SHOW call function 'IQAPI_QCALL_SSCR_EXTR_SHOW' exporting query = query old_qid = qid sscr_options = sscr_opt extr_options = extr_opt show_options = show_opt variant = variant * filter = handle = alv_handle exceptions illegal_input = 1 internal_error = 2 function_not_possible = 3 canceled = 4 no_data = 5 no_authorization = 6 others = 7.



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