on 2005 Aug 12 5:41 PM
Dear All,
1) I have a "report" which takes some parameteres in the seclection screen ( standard 1000 ) and displayes a report. This is transported. Say the name is ZPRG1
2) We have copied ZPRG1 to ZPRG_temp and modified some logic and copied back to ZPRG1.
3) All looks fine but in ZPRG1 in SE80 it is not displaying screen "1000" listed. And when I pressed "back" button from the standard report menu it is going into "blank" screen first. and then when i click again it comes to the selection screen. I understand that some thing happened with GUI stuff but ran out of all ideas and coming here to get some help from you..
I am almost in a lost state.. can you please suggest me?
Thanks for your time.
Regards,
Kiran
Hi, maybe you can create a new program, and copy the ZPRG1 to it partly in several times, and test carefully.
by the way, is there any specially action in your code? which will occur a new page output, or something else?
In my opinion, the best way is paste your code here, if possible.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From what I've collect so far, the screen does not appear in SE80 in the "Screen" folder. I have been able to re-created this. But when I execute the program, it does recognize the screen and will thru it. IF you close out the docking container in SE80, and click utilities, display object list. Then the screen folder will appear.
Regards,
Rich Heilman
Srinivasa: Not a mute question.. but I did activated the code several times..
Rich Heilman: it gives me selection screen even though it do not appear in Se80. But why this only for this copied program? looks like you got my issue.. can you suggest me something more..
I followed the steps: Utilities->display object list, it does not get me the screen ( I closed the window before as you suggested)
Gagan: I am using some validation mesages at selection screens..
Message was edited by: Hari Kiran
The SE80 transaction is a little funny, and still has some querks. When you copy a program in SE80, the screen folder does not appear right away. If you close the navigator to the left and re-open it by going to utilites, display object list, the screen folder will magically appear, and your screen will be in it.
Regards,
Rich Heilman
Rich Heilman ,
Thanks for your patiancy in re writing to me. But Unfortunately.. it did not work for me.. ( But I do not know this option earlier.. thanks.. I spent hours to find that setting long back for another issue.. thanks.. :).. looks funny but treu ).
I forgot to add one thing.. might be very relavent here..
this is attached to a transaction ZCHECK and systax check on this says likke this...
"GUI capability of transaction ZCHECK not yet classified"
.. any ideas on waht cud be the reason..
Is it a hard sytax error for the transaction code. If so, you are going to have to fix that anyway?
Wait, how is that transaction code tied to the program? When setting up the transaction code you must tie it to a program. This is the copied program, right. How did the tcode get attached to the copied program?
Regards,
Rich Heilman
Rich Heilman,
Let me know explain the stupid thing I did.
1) ZPRG is attached to ZCHECK transaction using SE93. It took screen 1000 automatically there.
2) We transported both of them.
3) I copied ZPRG into ZPRG_TEMP for enhancements.
4) ZPRG_TEMP is copied back to ZPRG and Created another request number.
Am I clear?
it is not hard syntax error, say it is warning.. my program works fine, only thing is that when I press back button now.. it goes to a blank screen..
Message was edited by: Hari Kiran
if this is going to create the problem, I want to reactivate my previous version and edit manually the changes in the program..
Do you think this is a best way? I have never activated previous version.. can you suggest me how can I do that safely.. I do not want to take away your valuable time for this weird issue...
Message was edited by: Hari Kiran
Yep, just make your changes to the "real" program. This is why we have version manangement.
Click utilites, versions, version manangement.
Under Versions in the version database, click the checkbox for the version that you want to return to. You can also compare version here. When you are ready, click retrieve to revert back to the old version.
Weird Issue......Yes! Valuable Time.....Yes. Award Points for helpful answers.......Please!.
Good Luck.
REgards,
Rich Heilman
Hi, the transaction ZCHECK issue looks like you haven't copied ZCHECK setting with others into the ZPRG1.
I think it isn't the critical point.
By the way, if the long code program disturb you to find out the problem, you can replace the code in every event with some simple dummy code.
As so many suggestion doesn't effect on your side, I think it's time to check the code, to find out the reason.
Hope it will be helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi zhenglin gu,
Finally I found the reason.. still not conviced.. but the issue is happening when I write block with in the block. I am not convinced but it is true here..
Issue code******** ( Block with in block )
SELECTION-SCREEN BEGIN OF BLOCK CHECK1 WITH FRAME TITLE ext-t01.
*skip 1.
SELECTION-SCREEN BEGIN OF BLOCK CHECK2 WITH FRAME TITLE text-t00.
select-options: s_system for /BIC/AZSEUST0400-/BIC/ZSYSIDNT
no-extension no intervals .
parameters: P_USER type /BIC/OIZSECUNAME OBLIGATORY.
select-options: S_PROF for zsecurity-value_1 no intervals.
SELECTION-SCREEN PUSHBUTTON 60(20) BUT1 USER-COMMAND PROF
VISIBLE LENGTH 25.
SELECTION-SCREEN END OF BLOCK CHECK2.
*
PARAMETERS: P_AB RADIOBUTTON GROUP gr1,
P_CON RADIOBUTTON GROUP gr1.
SELECTION-SCREEN END OF BLOCK CHECK1.
Issue ********
No Issue ******** ( Outer block is comented)
*SELECTION-SCREEN BEGIN OF BLOCK CHECK1 WITH FRAME TITLE text-t01.
*skip 1.
SELECTION-SCREEN BEGIN OF BLOCK CHECK2 WITH FRAME TITLE text-t00.
select-options: s_system for /BIC/AZSEUST0400-/BIC/ZSYSIDNT
no-extension no intervals .
parameters: P_USER type /BIC/OIZSECUNAME OBLIGATORY.
select-options: S_PROF for zsecurity-value_1 no intervals.
SELECTION-SCREEN PUSHBUTTON 60(20) BUT1 USER-COMMAND PROF
VISIBLE LENGTH 25.
SELECTION-SCREEN END OF BLOCK CHECK2.
*
PARAMETERS: P_AB RADIOBUTTON GROUP gr1,
P_CON RADIOBUTTON GROUP gr1.
*SELECTION-SCREEN END OF BLOCK CHECK1.
End of Block2.
No Issue ********
I think I used several blocks with in blocks.. but I do not know why it is hapening.. in my case, i am fine with eliminating the outer block.. so removed and transporting it...
Message was edited by: Hari Kiran
I don't know but have you tried uncomment the 'skip 1' statement between the CHECK1, CHECK2.
Also have you tried pushing the pushbutton into the next line?
I think what is happening here is, your selection screen has certain limitation as to how much wide you can go. If you define two blocks, one within another, they occupy, let us say about 8 characters space. Now you declared the pushbutton to go beyond 85, because you are starting at 60 and asked for a visible length of 25. As a result the system is not finding enough space to create the selection screen.
Instead, if you have the pushbutton on the next line and at position, say 40, you should be fine having both the blocks.
Srinivas
Srinivas,
You are the man!! I mean your analysis is 100% correct.
I made adjusted and you know.. now I have not issue with the 2 blocks..
Thanks Rich Heilman you toooo... it did not give me the syntax error. yes.. it did not shows any syantax error...
No runtime error too...
<b>I just commented Skip 1 statement. looks like the issue is solved.. :)</b> but I think as Rich says, I think i have not exceded 80 length... Only Skip 1 is making this issue..
Message was edited by: Hari Kiran
Which version are you on?
Even though I gave you the analysis, even I was under the impression that it should have given you a runtime error, because it cannot generate the selection screen, or atleast that is what I thought until now.
Anyway, glad that the mystery is resolved, even though we still need to know which version you are on that didn't give a error.
I know this is a mute question, but did you activate your code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, As can't see your code, I can't make certain where the problem is.
But do you have code in USER-COMMAND event? please have a check on them.
And pay attention to the SET SCREEN XX. & LEAVE SCREEN.
They maybe impact on the symptom you mentioned.
hope it will be helpful
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your time.
But actually my issue is that I have not created any custom screen. So I am not using any USER-COMMAND.
Code is as like this:
SELECTION-SCREEN:
Parameters..
at selection-screen:
some validations..
STRAT-OF-SELECTION:
Some read and write statements..
No other events are used.. Any idea?
Thanks for looking into this..
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.