on 10-08-2014 9:09 PM
I have a script button on the Main Menu that inserts a value on the first screen of IW51 and bypasses it. For some reason, when it enters to my IW51 flavor, there is an error on the status bar of the flavor that would appear if I pressed enter without filling the required fields. Is this a script issue or something else?
It would be easier to help if you could show us your script.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So when you push the button for this script you're getting an message in the status bar, causing the IF in step 5 to succeed and copy the message back to the main screen. Is that right?
What is the message? Is it "Fill in all required fields"?
I assume this doesn't happen if you run IW51 in SAPgui or webgui?
I've duplicated your script in my system, using a notification type that exists for me (x4 doesn't) and it works as you'd expect, leaving me in the main screen of IW51 having skipped the first one.
As a first step to debugging this I'd create a new script that just does steps 1-3 so you can see what's happening on the screen at the point it appears to be misbehaving.
Steve.
Yes. The script is used to bypass the first screen of IW51 + get an error message back if one exists. If not, it should stop at IW51 where I have a new flavor with some fields hidden. And yes, it does not happen if I run IW51 in sapGUI.
There are some required fields though. Could this be the problem?
Required fields on the first screen of IW51? I thought there was just the one - notification type - that you are providing a value for. Do you have others?
Required fields on the second screen shouldn't matter here - your script isn't doing anything to prompt SAP to tell you about them. If your script finished with a "Press Enter", that would do it, but it doesn't. As I said, I have reproduced your script exactly in my system (apart from the notification type) and it works as you'd expect.
What happened when you use a script with just the first three steps, as I suggested?
Steve.
So you have a script with three steps:
And that produces an error, yes? Can you take a screenshot of the transaction immediately after running the script? Is IW51 running with a flavor of your own, or with the Basic View? If your own flavour, what if you use Basic View? What if you do those steps manually in IW51?
Do you have the technology to do a screen recording?
Debugging this sort of problem is a very iterative process. Go through some of the above steps and see if they shed any light on what's going on. Also try building up the script again literally one step at a time, and see if that makes a difference, and see if that shows where the problem is.
Steve.
I am having some problems login in to Personas right now, possibly a Basis issue or something, but to answer some of your questions:
The error that the transaction produces is like if we went to the basic view of IW51 on SAPGui and hit enter without entering a required field.
IW51 is running with a flavor of my own. Some hidden fields.
If I change from my flavor to the basic view, the error still shows there too.
If I do those steps manually in IW51, it does not show the error.
Then I am mystified. As I said, I have recreated your script in my system and it works fine. At this point all I can suggest is to create an OSS message and get help that way. I don't know there's much more I can suggest without getting my hands on your system!
If you do find the cause, please let us know. I'm very curious now
Steve.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.