on 2005 Aug 09 3:09 PM
Hi
I have created a 'Z' Transaction which has only one Screen which is of type 'Modal Dialog'. Whenever i run the Z Transaction, i get the screen in a full window size. Is there any way by which i can restrict this screen to a Modal Dialog. I know that we can use call Screen XX Starting at .. Ending at.. Option. But this will help me only when i have two screens.
Can anyone answer this as it is urgent !!!
Rgrds,
Murli.
Hi Rich Heilman
I had even tried that also. The problem is a Modal window appears above an empty window. But thanks anyway.
When i call this transaction from a BADI, it throws the user from the standard transaction to another empty screen which has a Dialog Window also. So this would not meet my requirements.
Rgrds
Murli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is an example of what I'm talking about. Here we have a small program with a selection screen. When you hit enter, it will call the function module which has the CALL SCREEN...Starting...Ending statement. This will thru the dialog box in front of the selection-screen. I believe that this is the functionality that you required.
The program code......
report zrich_0003.
data: br_itab type table of zbrbin with header line.
parameters: p_check.
at selection-screen.
call function 'Z_BIN_LOC'
tables
br_itab = br_itab.
The function module....
FUNCTION Z_BIN_LOC.
*"----------------------------------------------------------------------
*"*"Local interface:
*" TABLES
*" BR_ITAB STRUCTURE ZBRBIN
*"----------------------------------------------------------------------
CLEAR: ITAB. REFRESH: ITAB.
CLEAR: OK_CODE, SAVE_OK.
*Loop thru parameter table and fill up screen.
LOOP AT BR_ITAB.
* Entry already exists........get bin location.
SELECT SINGLE * FROM ZBRBIN
WHERE VBELN = BR_ITAB-VBELN.
IF SY-SUBRC <> 0.
CLEAR ZBRBIN-BIN.
ENDIF.
ITAB-KDAUF = BR_ITAB-VBELN.
ITAB-BIN = ZBRBIN-BIN.
APPEND ITAB.
ENDLOOP.
REFRESH CONTROL 'ITABCON' FROM SCREEN '0100'.
* call entry screen.
CALL SCREEN 100 STARTING AT 10 5
ENDING AT 85 16.
ENDFUNCTION.
Regards,
Rich Heilman
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.