on 11-07-2013 11:04 AM
Hi,
Has anyone got experience with transactions like ME51N (create purchase requisition)?
I'm having difficulty with the various subscreen open/close states, i.e. getting them to stay open, and also simply merging fields from various tabs in the item subscreen. It won't seem to let me refresh the subscreen after I've enabled caching of the tabs.
I've read a blog that states Personas plays nicely with enjoy transactions, but so far thats not my experience.
any tips and tricks would be great thanks!
Neil
Hi Neil,
Could you please show in a video what you did that caused this behavior? I am not fully sure I understand the problem, yet.
Cheers,
Tobias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is just a stab in the dark, but I've seen behaviour like that in ME23N when the "Control Id Overwrite Logic" wasn't properly set up for the transaction. I don't have any such settings for ME51N in my system - do you? Look in the "General Actions" section of the /persos/admin_ui transaction.
I wonder if they are needed to make this transaction work properly? ?
Steve.
Hi Neil,
Please update the control ID overwrite logic for ME51N transaction.
The following should be the entries:
Transaction : ME51N
Program : SAPLMEGUI
Screen Number : 0014
Original COntrol ID : ^ses\[0\]/wnd\[0\]/usrUSRAREA/subcntSUB0SAPLMEGUI\w+$
New COntrol ID : ses[0]/wnd[0]/usrUSRAREA/subcntSUB0SAPLMEGUI__COMMON__
Save and relaunch Personas.
Try it now, and let us know.
Regards,
Sushant
Hi Steve,
We will have a note shortly having all the Screen and Control Id overwrite logics discussed in detail and also about the entries.
I am trying to write down something more generic and useful because if we leave on the end users to figure out what exactly goes in, we MIGHT have more issues
Thats why we ship some of the values already and which are tested out.
Regards,
Sushant
These weren't in my system in client 000. Perhaps you've added new ones to the installation as time has gone one and my installation is just too old? Do you need a way to automatically add new standard settings as you produce them? Can you provide them as part of a service pack, maybe?
Steve.
Hi Neil, I just started messing around with the ME51N screen yesterday and in addition to the issue you've highlighted here, I'm encountering some issues hiding various portions of the screen. There's no issue editing the screen, but I find that when I attempt to view my new flavor the transaction is defaulting to the collapsed sections (Header, item details, etc) and I'm not seeing the modified screen I designed. Granted I'm "VERY" new with Personas so it could be my lack of knowledge.
Are you experiencing this as well?
If you look at the properties for your main user area you'll see one called "OnCreateHandler". This event will fire every time you screen is created/refreshed.
If you create a script to expand the three collapsed areas and assign it to a script button, you can then put the script button id in the OnCreateHandler property. This will result in the button being virtually "pushed" every time you load the screen. You would then obviously hide the script button and it all appears seamless to the end user.
We were having the same issues with ME51N, but added the transaction configurations listed above and everything is working now.
However, I am not able to switch between tabs when in edit mode as shown in the demo vid. Instead, I have to pull fields out of a single tab, then save and exit, then switch to the next tab, then go back into edit mode and repeat the process for every subsequent tab. It's not really a flaw, just a convenience issue, so I wanted to mention it as an FYI to anyone else who was using the video as a guide.
Cheers!
Cheryl
If you have tab caching enabled you can switch between cached tabs while in edit mode by double clicking on the tab. You do need to avoid the tab label, though, which isn't easy. It was a while before I realised you could do this. I try to aim just to the left of the label, but still on the tab itself.
Steve.
Hi,
Thanks for your reply....
Can you please elaborate on the scripting side, I want to put a condition that whenever the collapsible areas are already expanded then no action is required and if it is closed then only the script should get triggered. Can we put such condition in scripting, if so then how to do that?
Sushant,
I'm having a problem with this transaction as well. I've done as you said, with adding the control ID overwrite logic. To Me, It seems like the tabs aren't caching correctly. I'm trying only to show the 'Account Assignment' tab and the 'Valuation' Tab. From what I can tell, they are two different 'screens', and I'm not sure what the problem is. It will constantly freeze up on me, and it refuses to hide the Material Data tab, even though I have told it to do so.
I can provide a video if needed.
Dear all!
I'm still having problems with ME51n and hoping to get some help here....
I've started collecting experience with Personas cause we think about simplifying this purchse requisition screen in that way to bring only the needed fields on 1 screen.
But I get some irritations/ problems - to me Personas doesn't work properly with this transaction.
Biggest problem are the expanding/ collapsing buttons. I would need information from Header text area, ALV-position entering area and position details as well. Never mind what I'm doing - the header text area is beeing thrown away by personas...
I nearly read every post I could find and added these settings according to SAP Note 1999747 to the /PERSOS/ADMIN_UI - SAP-Dynpro Personas Administration - Maintain Control Id Overwrite Logic (and re-created a new flavor after having done this):
But ME51n-flavor is still getting confused with the screens - can anybody tell me I am missing something?
This is how my new flavor looks like:
thank you, Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The big challange for ME51N is that the GUI layout changes depending on the backend data chnages, and the GUI change stays in next launch. And no matter if you do change datat from Personas or change the data from SAP GUI, the UI will reflect the change too.
In your case, you expend the Header icon, but if someone in SAP GUI run ME51N and collapse this icon, it will be collapsed in your Personas UI as well.
My solution: I made a button to make sure the 3 icons are always expended when the screen is loaded. This is important as you will get script failure when you try to copy data into the SAP objects which located inside a collapsed icon.
Moreover, you likely need to collapse the "side panel" too in Personas, otherwise, if someone expand it from SAP GUI. you will see a suprising sidepanel in Personas UI too - not too good.
Does this help?
Dong Zhu
I used a slightly different technique to come over the problem with Document Overview/ header open close.
Header Open / Close and Line Open / Close are governed by various F Codes in ABAP. You can check the F Codes in SE41 for a transaction.
Try calling these F Codes using call transaction and you can open /close header or line item or even the Document overview.
It worked well and was a robust solution.
See if it helps
Regards,
Manu
For ME51N
The Program name is SAPLMEGUI
and click on Function List and select display in Transaction SE41
So the following Function Code exists for various Collapse and Expand bits
METOGGOFF1 Collapse Header
METOGGOFF2 Collapse Overview
METOGGOFF3 Collapse Item
METOGGON1 Expand Header
METOGGON2 Expand Overview
METOGGON3 Expand Item
METROF Document Overview Off
METRON Document Overview On
Now when you open ME51N -- in the TCODE box you can just key in these codes to perform collapse and expand.
So in Personas if you have to do it just use CALL transaction and key in the code.
If you need to an item selection expansion screen and don't know if the user has it already or not, you can safely call this Function Code after you load the main transaction which is in this case is ME51N.
Give it a go. See if it helps.
Regards,
Manu
Hi Manu,
I am new to Personas and am also facing same issue in ME53N.
"Now when you open ME51N -- in the TCODE box you can just key in these codes to perform collapse and expand"
Can you please elaborate above step, After calling ME51N through Tcode do we need to manually call the FC?
Thanks,
Peter
Thanks Manu, I am able to do that.
I am trying to close the Help Window when screen loads, I got below code from recording and tried to use it in Script, but it's not working.
"session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:*/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:3212/cntlGRIDCONTROL/shellcont/shell").setFocus();
session.findById("wnd[0]/shellcont/shell/shellcont[0]/shell/btnHIDEHELP").press();"
-> And when I go to account assignment tab in item level, it collapses header text window, how to handle it.
-> For different Account (Cost Center,Project etc), we get different fields how to design screens in that scenario
Thanks for your support.
Peter
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.