Quantcast
Channel: SCN : Discussion List - SAP GUI
Viewing all 3066 articles
Browse latest View live

Programmatically remove focus from a EditText

$
0
0

Hello,

Can someone please tell me how to remove the focus of a Edit text from code. I need to disable it depend on a condition when clearing-up the form.

 

I'm getting below exception when this line is executed.

 

myEditText.Item.Enabled = false;

 

An exception of type 'System.Runtime.InteropServices.COMException' occurred in SANAECOM.exe but was not handled in user code

Additional information: Item - Could not commit action because the item is currently in focus  [66000-23]

 

Thank You.


Peronas 3.0: Any workround to show content of ABAPLIST tcode UI?

$
0
0

Hi Personas 3.0 experts,

 

I am making a customised UI where I need to show the ABAPLIST tcode (eg, CAT9 table) content in an area of the screen. We found that it was not possible to customise CAT9 UI directly due to it is a ABAPLIST. Then we tried to show CAT9 UI inside a HTMLViewer on the screen. But the new issue is that the scrolling inside HTMLViewer does not work so we cannot see all the content.

 

I got another idea - can I create a Z-tcode based on CAT9 and customise my Z-tcode UI?

 

Anyone has better idea to solve this? Hope SAP experts will giev some tips. Appreciate!

 

 

 

Thanks.

 

DOng Zhu

Hiding Controls with Personas 2.0

$
0
0

I'm trying to hide a label and a field using a script.

 

I find if the label/field I'm trying to hide look like this :

 

ses[0]/wnd[0]/tbar[1]/btn[35]

 

or

 

Personas/6fcfbfc5-966f-44b6-9420-e51dee6890c5

 

the script works perfectly and the label/field hides with no problems.

 

however if the object I'm trying to hide looks like this -

 

 

ses[0]/wnd[0]/usrUSRAREA/subcntSCREENSAPLWB2A0251/tabstripSTRIPT_AH_HEAD/tabpageHEADER_SUBSAPLWB2A0145/subcntTRADESAPLWB2B_SCREEN_HANDLING0101/subcntCUSTOMER_DATASAPLWB2B_SCREEN_HANDLING8001/subcntCUSTOMER_DATASAPLZRAC_GTM0100/frameBOX2/lblWBHKPLANGEWINN

 

then nothing happens.

 

What am I missing?

SAP Personas 3.0: Track SAP User using Personas 3.0

$
0
0

Hello Team,

 

Since we have the client requirement.

 

Can we measure the number of user using personas flavor in Personas 3.0.

 

Do we have some functionality within the Personas 3.0 or suggest some other option.

 

Thanks,

Chakravarti.

SAP GUI Closes unexpectedly

$
0
0

Hi Experts,

 

I installed GUI 7.40 with last patch and I am facing an error.

 

a)Open SAPLogon Window

b) click on ERP System connection

c)SAPLogon window closes

 

I uninstalled GUI then reinstalled again and restarted PC.


Log from SAPGUI

 

********************************************************************************
****************************  SAP AG, Trace File  ******************************
** Main trace mode: Error, Warning, Developer Notes and additional data
** Program:  C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe
********************************************************************************

***ERROR***: Error in SlgDataManGetFolderAttribute: invalid input parameter
***ERROR***: Error in SlgDataManGetFolderAttribute: invalid input parameter
***ERROR***:   failed in setting attribute 208 (rc=35) for folder with key=>71009452-1010-4820-8229-ce8bccdc9ded<.

 

 

Any clue?

Does personas valid on NetWeaver only

$
0
0

Hi Guys,

Just want to make sure if personas can be used on NetWeaver only(No Business system installed, e.g. ERP)?

I've installed NW7.5, and Personas add-on 3.0 SP2, and the Health Check finished successfully, but I can't see Gear button when calling transaction SU01, PFCG, and so on.

URL I'm used to access personas is:

http://<host>:<port>/sap/bc/personas

 

Thanks very much

Import FIORI Icons in Personas RDS

$
0
0

Hi,

 

As per Personas RDS package, we have imported FIORI based flavours in our system.

Flavours and images have been imported successfully, though we are unable to import the Fiori icons as per RDS documentation.

 

When we use transaction /PERSONAS/ICONS to import the zip file of fiori icons, we get a message

Message class: /PERSONAS/MESSAGES

message number: 315

No icon imported

 

This worked fine when we applied the same RDS in our showcase system in November 2015.

Debugging the code of this tcode, seems like it is unable to handle the ZIP folder.

If we dont use ZIP, SAP has added a validation which checks that ICON names hsould start with Z.

 

Any suggesstions/tips ?

Matchcodes wrong with High DPI screens

$
0
0

Hello

 

I am using a high resolution screen. I already solved the problem with small fonts but now macthcodes look too big on SAP Gui and the letters are mixed up on SAP BO Analysis as you can see on the screenshots. Do you know any work around to fix this issue?


SAP Screen Personas - Type Ahead / Fuzzy Search

$
0
0

Dear Team,

 

Please provide support on my query.

 

We have Type Ahead and Fuzzy search in transaction of CS notification creation.

Example see below: in IW51, I put "R" and it shows all notification types with that description.

2016-03-21_17-28-37.png

 

 

We don't seem to have that feature in Screen Personas 3.0 SP02, its not showing using Fuzzy Text Search. We also tried to follow instructions from note 2049251 but we could find service  /sap/bc/gui/sap/its/typeahead in SICF.

 

Please share your ideas how to make this feature available in Screen Personas.

Personas & APO

$
0
0

Hello ,

 

We have successfully implemented Personas 3.0 on ECC box .  We would also like to pursue with using Personas on APO Box.

Does anyone have experience with Personas on APO and any helpful tips or document they would like to share .

 

My understanding is that Personas cannot be used with web dynpro  and hence APO should be compatible .

 

Thanks,

Sushila

screen personas - MIGO_TR - Expand/Collapse issue

$
0
0

Hi Guys,

 

In tcode MIGO_TR there are buttons to expand/collapse both header and item information.

This is what i want to do in my flavor:

1. Use a Script to click on Header and Item buttons to expand both sections.

2. Attach this script to OnLoad event.

 

So now when ever this flavour is being called, both sections will be expanded.

 

Though before clicking on expand button, i want script to determine if its already expaned, if its is then dont do anything Else click on button.

 

Though i am struggling with what method/syntax can i use to determine if section is already expanded or not ?

 

I also tried screen and control overwrite, though no luck.

Screen and Control ID Overwrite Concept in Personas 3.0 - SAP Imagineering - SCN Wiki

 

MIGO_TR_Button.png

 

 

MIGO_TR_Button1.pngMIGO_TR_Button3.png

Personas Scripting - Update Data

$
0
0

Hi,

 

I am looking at different scenario's of using SAP Screen Personas within the HR environment.

 

Currently all the demonstration content and training material is focused a lot on the retrieval of data from multiple transaction screens and displaying it on for example a launchpad, but I have not seen anything on the update of data back to the database. Is this possible with scripting as well?

 

For instance, in HR we have PA40 that you can use with a transfer action. When you execute PA40 it populates multiple field on multiple infotypes.

 

Would it be possible to create a flavor for PA40 or PA30 where you add edit fields which will create new infotypes by using a scripting button?

 

Any suggestions/ideas are welcome

 

Kind Regards

Deon

Changing Tab Order - Screen Personas 2.0

$
0
0

is there a way to control the order of tabs in SP 2?

Screen personas various questions

$
0
0

Hello Everyone,

 

 

First of all, thanks for your patience and understanding. Indeed it is my first SCN ticket.

I have many questions regarding Personas as my customer is interested in and would like to set it up.

 

  • Question 1: What are the main differences between screen personas 3.0 and 2.0 except silverlight dependancy vs HTML5 and scripting options?
  • Question 2: Is it possible to install screen personas 3.0 on a central server? Or is it specific to 2.0?
  • Question 3: Fiori is already installed in the landscape. Is it possible to reuse Fiori gateway and install screen personas in a central way on the same gateway? Indeed, it would help us to bypass a kernel issue (721 ext in backend systems).
  • Question 4: Which version do you suggest? 2.0 or 3.0?
  • Question 5: With screen personas 2.0, is it possible to create some specific table? Our goal is to create dynamic report in our cockpit.

 

 

Thanks for reading this message and I am waiting for your return.

 

 

Best regards,

 

 

Alain-Christian

Authorization error in personas 3.0

$
0
0

Hi Guys,

 

i am facing below error in Personas 3.0 whereas classic GUI, i don't see this authentication failing. i am assigned admin role in personas.

 

Any help would be highly appreciated.

 

Thanks in Advance!

 

Singh

 

Capture.JPG


Transportation Of Control id in SAP Screen Personas 3.0

$
0
0

HI Experts

 

How to transport the control id from development system to quality system in SAP Screen Personas 3.0?

SAP Persona installed but not reflecting.

$
0
0

Hi SAP Experts,

 

SAP Persona has been installed in my system but is not reflecting on SAP Easy access menu page or any other.

Working with SAP kernel version - 741.

Can anyone please help me with this?

Personas 3.0: How to detect user's multi-row table selection?

$
0
0

Personas 3.0 experts,

 

This is a simple point earning question: .-)

 

Use case:

I have a table, say, 5 rows and 5 columns. User can select multiple rows, say, rows 1 and 3. On UI I have a script button which will detect the multiple row selection, rows 1 and 3, then display the contents of columns 2 and 4 of the rows 1 and 3, into a long string.

 

How is the script look like for this task?

Thanks.

 

Dong Zhu

Personas 2 Scripting: Creating Alert Dialogues

$
0
0

Hi,

 

I want to introduce a decision dialogue into my script - pop-up box with 'Do you want want to do X?" - Yes or No reply. The script picks up the response and carries on as appropriate.

 

I found this KB article by Clemens Gantert & Tamas Hoznek - https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=393320781 which seems to suggest that this is possible.... "This article describes how to create alerts and confirmation dialogs in Personas Scripting with the method session.utils.showOptionDialog()."

 

I'm a total novice when it comes to JavaScript so please forgive my naivety here but I assumed that if I stuck the code snippets into a Personas Script that contained just one ‘Calculate in JavaScript’ line, I would get the dialogue box described in the article and I could build up from there but that one line is giving me a script error – ‘JavaScript Error’.

 

Can anyone get me on the right track please?

 

Regards.

Patrick.

Does personas valid on NetWeaver only

$
0
0

Hi Guys,

Just want to make sure if personas can be used on NetWeaver only(No Business system installed, e.g. ERP)?

I've installed NW7.5, and Personas add-on 3.0 SP2, and the Health Check finished successfully, but I can't see Gear button when calling transaction SU01, PFCG, and so on.

URL I'm used to access personas is:

http://<host>:<port>/sap/bc/personas

 

Thanks very much

Viewing all 3066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>