cancel
Showing results for 
Search instead for 
Did you mean: 

When I click "back" button selection screen is not appearing

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

In SE80, it doesn't show the screen 1000 in the "screen" folder under the "program name" folder, right. If you execute from here, does it thru the selection screen?

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

Former Member
0 Kudos

Did you try to display any message in at selection-screen output.

Just check for the messages used in the program.

Can you post you code ?

Regards,

Gagan

Former Member
0 Kudos

I just checked your suggestion of copying

1) ZPRG1 into ZTEST - ( copying all screens and variants ..all copying ). Surpring is that ZPRG1 has screen 1000 in Se80 and Ztest do not have screen in se80..

Former Member
0 Kudos

I will paste the code.. but it is very very lengthy one.. my issue is that the same code works in another program.. but the copied program has only this issue...

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

How about the "Refresh" button in the Toolbar, right above the tree structure?

Just a hunch, log off and back on again, go to SE80, is the screen there now?

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I've followed your steps, and I've been seeing the same, after activating, no screen folder in copied program. When I click the "refresh object list" the screen folder appears. Does this work for you?

Regards,

Rich Heilman

Former Member
0 Kudos

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..

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Maybe the program is not fully getting activated and hence your problem, delete the transaction, activate your program, re-create the tcode. Does it work?

I don't know what that error means, i've never seen it before.

Regards,

Rich Heilman

Former Member
0 Kudos

Refresh Did not work for me.

I am little scared to delete the transaction as this is a transported object..

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

Former Member
0 Kudos

Thanks you.

I am very happy to award you full points. More than that "Thanks" from my side too.. for trying out all crazy things for me.

Best Wishes for you too...

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If that was true, should a syntax error be coming. I know when I use the SELECTION-SCREEN POSITION statement, if things aren't just so, system says something to the effect, that it can't render the selection screen.

Thoughts?

Regards,

Rich Heilman

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

I edited my message to add more details..

We are at "Netweaver 04" BW system.

I verified 4 times.. Only <u>SKIP 1</u>. statement between the blocks making me mad..

Message was edited by: Hari Kiran

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Wow, we are all glad that's over. Good job to all!

Good call Srinivas!!

Regards,

Rich Heilman

Former Member
0 Kudos

Thanks Rich Heilman and Srinivas for not leaving me continuously and solving this.

Catch you both with another issue..

wishes to GRAND weekend to you both..!!

Former Member
0 Kudos

I know this is a mute question, but did you activate your code?

Former Member
0 Kudos

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

Former Member
0 Kudos

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..