on 05-13-2015 10:04 AM
Hi,
I have a scenario where there are 10 text fields in total and i am updating and then saving 3 text-fields via webRFC and remaining 7 fields i am saving by pushing Standard SAP save button .So in short there are two save buttons one is the RFC (working as save buttton for 3 fields) and the other is the standard SAP save button both are working good when operated individually/separately.
As per my requirement i have to provide the end-user with a single SAVE button i.e i need to combine these two save buttons-
1 workaround-)-- So i tried with a scripting where i am pushing the Standard SAP SAVE button then the RFC save button (i also tried with the vice-versa) in both the cases only the first save functionality is working (i.e if i push RFC save first and then Standard SAVE then only RFC save is working and vice-versa).
2 workaround-)-- So also i tried to populate a text-box with a flag and check with 'X'when RFC is triggered and if the text-box content has 'X'(i.e the RFC save is successfully triggered ) then PUSH the Standard SAP SAVE button-In this case only the RFC SAVE button is working.
I am not able to figure out as how do i combine both the SAVE buttons into 1 SAVE button.So any Personas experts help me achieve any alternate workaround for this scenario.
Regards,
Roshan.
Hi,
The point is if all 10 text fields are SAP objects or they are your Personas objects. The two saving may have conflicts if they both operating on the same object.
Maybe you can consider these:
- Try to add "Refresh screen" in between so the data are sync.
- Separate the objects - use your own text fields for RFC, after saving the standard object, copy the data to the standard objs then do RFC.
- If you use a button to push the two saving btns, try to add time delay by JS timeout function, so there is a time gap in the two saving.
Hope this can give some hints.
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dong,
Thanks for your help.
1) I tried with the refresh screen option but it was of not much help.
2) I would like to try the JS Timeout functionality, but i am not able to find this particular functionality. As of now i am using Personas 2.0, is JS Timeout a feature of Personas 3.0 ?
Regards,
Roshan.
Hi All,
We have a wrap-text feature in Microsoft-excel-to format the texts in a cell.
I have a scenario in my Personas where-in the name of the launch button is of 30 chars so this results in longer width, so is there any way where we can format the text(or wrap-text) so that in smaller width we can accommodate more chars.
Regards,
Roshan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roshan,
You cannot do it directly but do this workaround:
Create a Label and set text as small as you like and size and color etc. Then create another script button to do the action. The script button has transparent colors for forground and background and bord, and place the script button on top of the label and make it forground (or change Z-value to 1). It will look like you have a button with very small text which is as what you want.
Does this help you? 🙂
Dong Zhu
Hi Roshan,
Another way to do is to used an Image control with a button background and any size text on it so it looks like a button image, then attach a hidden button to the press event (in Property window). Implement your actions in the hidden button. This will also work for your need. 🙂
Dong Zhu
Hi All,
Scenario:I am using Transaction XD02 to edit customer details and having made some cosmetic changes this is how it looks when i edit :
Problem: For repeated iterations for displaying customer details in edit mode the screen text-field and labels becomes distorted.
Example(For the first time i login i enter a customer number say "ZH57"- i have the output getting displayed as above image-1 but the next time i try entering another customer number say "ZH58" the screen text-fields and labels becomes distorted)PFB the snapshot for the same:
Solution i followed: 1) Using refresh button before calling the transaction XD02.
2) If i logout and re-login for every new customer i enter things are working good(but can't follow this approach for every new customer i want to edit).
I am using IE-9 and Personas 2.0.
Kindly help me sorting this screen issue.
Regards,
Roshan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roshan,
Ohm, with your screen dumps, to me it seems that there are some Tab merging issues there (I checked original UI, there are 4 tabs for XD02). Your screen mess likely is due to the mess of control ID when dealing with TABs on UI. You can check if the id of you fields changed before and after your 1st customer (use "Property"). If so, you need to add "control ID overwrite rule" in your admin_ui tool.
There are a lot post regarding the control overite and one of my post contains the id checking.
Hope this will help you.
Dong Zhu
Agree with Steve but if I had to have a wild guess; I'd try putting a Refresh Screen command between your two Save commands in your script of workaround 1 (I'm assuming after your first Save you remain in that screen).
Regards,
Gabriela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is hard to help without some more detail. Can you tell us which transaction is involved, and maybe include some screen shots to show us what you are building, and also post 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.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
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.