Yes4sql
Hello,
I think you know the yes4sql program from the downloads section.
For those who don't know what I am talking about, here is a short description:
As there is no SQL interface in standard SAP that supports JOINS, this ABAP utility was developed to enable you to see JOINS within SAP to confirm or discover relationships and to see data side by side. The SQL interface brings out the linkages. The data is collected in an ALV grid. The file fewSampleSQLs.txt that is included in the download package provides examples.
So, I am trying to create this program in my system, I have copied the source code, but now I have to create a screen from a text file that looks like this:
SCREEN 100
%_DYNPRO
YES4SQL
0100
620
40
%_HEADER
YES4SQL 0100 0100 1 54192 36 0 0 27120 0G E 20040930020857
%_DESCRIPTION
ScreenYes4SQL
%_FIELDS
%#AUTOTEXT001 0 CHAR 9 00 00 00 30 00 1 3 0 0 0 0 0 0 Row Count X
ROWS X INT4 6 80 00 80 00 00 1 13 0 0 0 0 0 0 ______
%#AUTOTEXT002 0 CHAR 8 00 00 00 30 00 1 22 0 0 0 0 0 0 Open SQL
ISOPEN C CHAR 1 80 00 80 00 00 1 31 0 0 0 0 C 0 0 101
%#AUTOTEXT003 0 CHAR 20 00 00 00 30 00 1 36 0 0 0 0 0 0 Untick if Native SQL
MYEDIT 74 00 00 00 30 00 2 3 0 0 0 20 U 1 1 102
G_OK_CODE CHAR 20 80 10 00 00 00 255 1 O 0 0 0 0 0 0 ____________________
%_FLOWLOGIC
PROCESS BEFORE OUTPUT.
MODULE PBO.
PROCESS AFTER INPUT.
MODULE PAI.
I have created the screen, but I don't know how to import the source above. I tried the Upload\download utility, but it says that the file does not countain a screen.
How should I do it?
Thanks.
The problem lies in the missing spaces on the screen file which you can download from here. Just get http://www.sapdevelopment.co.uk/programs/custom/sql_scr100.txt and upload that version in screen painter. It's the same dynpro code but with the correct structure. Or else, debug function RS_DYNPRO_UPLOAD (you'll spend a little time).
And here are some additional tips in order to get the program working:
- The program must be defined as Executable (not Module Pool)
- The Status GUI 'MAIN100' is missing. So you must create it and assign two buttons to function codes EXEC and EXIT in Menu painter.
- Indenting in the queries you write in this program DOES matter. Check out the examples included and indent yours equally or you'll get error messages.
Please reward points if helpful.
Similar Messages
-
Hi all,
can someone explain me how these SQL Tool "yes4sql" is to be set up. I was able to activate the
programm, but how do i set up the screen which ist provided with the tool/programm.
I don't know nothing about screens.
Thanks in advance.
Regards,
AliHi Kiran many thanks for your answer.
But when i try to upload the *.txt file which suppose to conzain the screen, i get the message
"File does not Contain a Dynpro"
This is the content of the screen file :
SCREEN 100
%_DYNPRO
YES4SQL
0100
620
40
%_HEADER
YES4SQL 0100 0100 1 54192 36 0 0 27120 0G E 20040930020857
%_DESCRIPTION
ScreenYes4SQL
%_FIELDS
%#AUTOTEXT001 0 CHAR 9 00 00 00 30 00 1 3 0 0 0 0 0 0 Row Count X
ROWS X INT4 6 80 00 80 00 00 1 13 0 0 0 0 0 0 ______
%#AUTOTEXT002 0 CHAR 8 00 00 00 30 00 1 22 0 0 0 0 0 0 Open SQL
ISOPEN C CHAR 1 80 00 80 00 00 1 31 0 0 0 0 C 0 0 101
%#AUTOTEXT003 0 CHAR 20 00 00 00 30 00 1 36 0 0 0 0 0 0 Untick if Native SQL
MYEDIT 74 00 00 00 30 00 2 3 0 0 0 20 U 1 1 102
G_OK_CODE CHAR 20 80 10 00 00 00 255 1 O 0 0 0 0 0 0 ____________________
%_FLOWLOGIC
PROCESS BEFORE OUTPUT.
MODULE PBO.
PROCESS AFTER INPUT.
MODULE PAI.
can you help please ?
Regrads,
Ali
Maybe you are looking for
-
I went to the apple store and they hooked up my ipad to a mac and it showed that it was charging and that apps would download. My ipones, touches, and ipods are not having any problems, just this ipad. It seems to be since I updated to the new ios. Y
-
Does not print the full size of a pdf
Hello - printing problems This used to work just fine now it does not. When i print a pdf document it is 25% of the normal size. I do not have this problem with any other type of file. Can someone assist/ Thank you, Tom
-
Photo Stream not syncing on iPhone 6
I just recently got an iPhone 6 and my photo stream is not working. I have over 750 photos in my iPad photo stream that will not sync to my iPad. I feel like I've tried everything. I've restarted my iPhone, signed in and out of iCloud and turned phot
-
Migrate VM from OVM 2.2.2 to 3.1.1 (Intel)
I have a current, temporary environment, based on Oracle VM Server 2.2.2. The new environment I want to setup (and migrate to) is the Oracle VM version 3.1.1 environment. When after setting up the new 3.1.1 environment, how difficult would it be to m
-
All photos I imported in LR4 show as zero and missing/offline
I am new to LR4 . I imorted many pictures into LR. Thought doing correct but not. All folders on left are as dates which I did not want and show as zero photos contained or those with photos when clicked on show as missing. It shows the total nuber