Skip to content

Open SQL executing/testing application on SAP AS ABAP

Notifications You must be signed in to change notification settings

Dwivedirahul44/ZQUERY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZQUERY

Open SQL executing/testing application on SAP AS ABAP

Installation

Using saplink

Use NUGG_zquery.nugg

Manual

Upload files and screens to your system and add GUI status manually by following below provided instructions( SAP doesnt directly allow download/upload interface for GUI-statuses,you will abapgit or SAPLINK to download and upload them ).

GUI_STATUS

Adding GUI-statuses

Right click on program name and choose create -> Gui Status ![image](https://user-images.githubusercontent.com/43263062/173181509-a89a329a-91c3-472f-b6c8-1e03d5a8970c.png)

Adding STATUS (Example)

Create status ![image](https://user-images.githubusercontent.com/43263062/173181999-c036f6f3-d361-475e-bb1a-0a7428fb585d.png)

You will be presented with the status screen, image

add item to application toolbar, Add Fuction code to first Input: NEW image select OK. image Double click and select F5 or any function key of your choice and select OK. image

fill relavant Info and save. image

Below table contains list of Statuses/Items to be added:

Status NameShort TextStatus Type
PF_9000Main StatusNormal Screen
PF_9100Query WizardDialog Box
PF_9200SettingDialog Box
STATUS9300Save OptionDialog Box

PF_9000

Application toolbar items
Function CodeTypeFunction TextIcon NameIcon TextInfo.TextField Name
NEWStatic TextNEWICON_ADD_ROWNew Tab
DEL_TABStatic TextDEL TABICON_REMOVE_ROWDelete Tab
separator Line
QWIZStatic TextQuery WizardICON_WIZARDQuery Wizard
separator Line
CHECKStatic TextExecuteICON_CHECKCheck
EXECUTEStatic TextExecuteICON_EXECUTE_OBJECTExecute
EXEC2PCStatic TextExecute to PCICON_WRITE_FILEExecute to Local File
EXEC2BGStatic TextExecute as JobICON_SYM_SPOOL_SERVERExecute as a Background Job
separator Line
SETTINGStatic TextSettingsICON_SETTINGSSettings
EXPStatic TextCOL/EXPICON_VIEW_EXPAND_HORIZONTAL
separator Line
MAX_ROW LW-MAX_ROW

Create Separator line by right clicking on item image Add Function keys as shown in image image

PF_9100

Function CodeTypeFunction TextIcon NameIcon TextInfo.TextField Name
OK_QWIZStatic TextCloseICON_OKAY
CLOSE_QWIZStatic TextCancelICON_CANCEL

PF_9200

Function CodeTypeFunction TextIcon NameIcon TextInfo.TextField Name
OK_SETStatic TextContinueICON_OKAY
CLOSE_SETStatic TextCloseICON_CANCEL

Table

create a new table to hold saved queries.

ZTQUERY

FieldKeyInitial ValuesData ElementData TypeLength
MANDTXXMANDT
QUERYIDXXGUID_32
OWNERsyuname
TIMESTAMPTIMESTAMP
VISIBILITYCHAR1
VISIBILITY_USERSCHAR400
VISIBILITY_GROUPCHAR200
TEXTCHAR40
QUERYstring
Create a TCODE in se93 to call ZQUERY program screen 1000

About

Open SQL executing/testing application on SAP AS ABAP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages