Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all 2552 articles
Browse latest View live

Data Download in SAP personas - List- > Save

$
0
0

Hello Gurus,

 

I am having issues in data download in sap personas, it not behaving same as SAP GUI.

In sap gui - I go to - List -> Save -> File- > Text with tab.

I do the same in SAP Personas- the issue is the downloaded file.

 

I can change the file type to excel - but after downloading it all just comes in one column, which is not the same in SAP GUI.

Just wondering - how come SAP is behaving different in web gui.

 

I am on Personas 3, SPS2, SAP BASIS 7.4, 010.


change browser title of an Screen Personas Flavor in Fiori

$
0
0

Hello,

 

I've a problem with my Screen Personas flavor. I integrated these flavors in SAP Fiori (Start Personas Flavors from the Fiori Launchpad - SAP Imagineering - SCN Wiki).

This works really good. When I open a tile which refer to an flavor, the app is opened and everthing without one thing is fine.

The title of tab is always the same. It is always the "link-text" of the launchpad which I must configure in LPD_CUST. But in this Launchpad I created many different tiles for different flavors. I will not make one launchpad for one flavor.

 

Is there any solution to change the title of the tab dynamically?

You can read the title with a Personas script, but you are not authorized to write a new title.

Maybe there is a parameter to change the title, but I don't know.

 

Best Regards,

Thorsten

SAP Scripting x GuiXT

$
0
0

Hello, everyone.

 

I have been trying to use scripting in SAP (run SAP transactions from VBS / VBA codes in Excel) for quite a long time.

Despite Scripting being enabled in my SAP configuration, I have never succeeded in finding a code that, at least, could LOGON SAP.

 

All i've tried have resulted in different kinds of errors.

examples: GetObject("SAPGUI"); or the ones using RFC connections (which say i dont have enough authorization).

 

 

Another example: following code, error in line 37 (   Set SAPSesi = oConnection.Children(0))

Sub Macro2()
'
' Macro2 Macro
'
'
Dim SapGuiApp As Object
Dim oConnection As Object
Dim Session As Object
Dim SAPCon As Object, SAPSesi As Object
Dim SAPGUIAuto As Object, SAPApp As Object
'Dim sapConnection As Object
Set WshShell = CreateObject("WScript.Shell")
Set proc = WshShell.Exec("C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe /ini_file=C:\Users\myname\AppData\Roaming\SAP\Common\COPSAPLOGON.INI")
Set SAPGUI = GetObject("SAPGUI")
Set Application = SAPGUI.GetScriptingEngine
Set Connection = Application.openconnection("wwwwwwwwww", True)
If SapGuiApp Is Nothing Then    Set SapGuiApp = CreateObject("Sapgui.ScriptingCtrl.1")
End If
If oConnection Is Nothing Then    Set oConnection = SapGuiApp.openconnection("wwwwwwwwww", True)
End If
If SAPSesi Is Nothing Then   Set SAPSesi = oConnection.Children(0)
End If        SAPConnection.Client = "yyy"    SAPConnection.User = "xxx"    SAPConnection.Password = "zzzz"    SAPConnection.Language = "PT"      If nsapConnection.Logon(1, True) = True Then      MsgBox "No connection to R/3!"    End If         Set SAPCon = SAPApp.Children(0)    Set SAPSesi = SAPCon.Children(0)    Application.DisplayAlerts = False    
 With SAPSesi            .findById("wnd[0]/usr/txtRSYST-MANDT").Text = "yyy"    .findById("wnd[0]/usr/txtRSYST-BNAME").Text = "xxx"    .findById("wnd[0]/usr/pwdRSYST-BCODE").Text = "zzzz"    .findById("wnd[0]/usr/txtRSYST-LANGU").Text = "PT"    .findById("wnd[0]").sendVKey 0            'start extraction        .findById("wnd[0]").maximize        End With

 

 

 

My question is: How can I have NO authorization for RFC but have scripting enabled to user and also being able to use GUIXT (and all of its functions... like create pushbuttons, record some transactions - but only in sap- , etc)?

 

Sorry if i've said something wrong, Im in a "learning process"

Personas 3.0 SAP GUI and Scripting Support

$
0
0

I was hoping someone could clarify something for me. With Personas 3.0 and the latest patches for SAP GUI 7.40 you can have Persona Flavours for native SAP GUI for windows. Also I have seen the following note regarding limitations https://service.sap.com/sap/support/notes/2080071

 

What I am still a little unclear on is how does the Personas scripting (which is JavaScript based) run inside of the SAP GUI?

 

Will there only ever be a subset of scripting capabilities that will work with the SAP GUI, with more functionality available if you use WebGUI?

 

Thanks in advance,

Simon

Missing P in Personas

$
0
0

Hi All,

 

i am missing the Symbol P in Personas.

The Health Check is green, and all roles are assigned.

do you have any Idea, why the Symbol is missing?

 

personas3.0.GIF

Thanks in Advance

SAP GUI logs location

$
0
0

Hi,

 

So,I want to install a package of SAP (the package tools of SAP is very useful thx  ^^),  I know the logs are here %PROGRAMFILES%\SAP\SAPSetup\Setup\LOGs

 

my question is, can we change the location ? because I've made a special folder for my other applications with each logs...

thx for the informations !

 

Best regards

Aurel

SAP Personas 2.0 - IF condition for create/edit/display modes

$
0
0

Hi,

 

I'm writing a flavor for an ECC transaction (REBDPR), that has the transaction code for create/edit/display modes (unlike for example VA01 for create, VA02 for edit & VA03 for display).

 

I've created a number of script buttons that do various things. But I need to grey out the buttons if screen is loaded in display mode.

 

I thought I would use a new script button, configured to be triggered upon screen load (using main user area's  onCreateHandler property).

 

But I'm struggling to figure out how to identify if the screen is being loaded in CREATE or CHANGE or DISPLAY mode, using script's IF condition.

 

There is a button on the screen, that changes it's IconID property from B_CREA to B_CHNG to B_DISP, depending upon mode. But I don't know how to write an IF condition that exploits this IconID property of this control.

 

I tried with control.IconID & control/IconID with "equals to" condition, but it didn't work.

 

Has anyone every tried or achieved this with Personas 2.0?

 

Or is there any other option that I can try?

 

Any help or guidance much appreciated!

SAP GUI - Keyboard Shortcuts

$
0
0

All,

 

Previously I was able to hit the ALT key and all keyboard shortcuts would show next to each control.  Can I still get a ;list of shortcuts somehow?  If not, I'm working with RPA and am specifically looking for keyboard shortcuts once I've navigated to the DP Document screen and need access to the buttons in the toolbar

business-workplace.PNG


SAP GUI 740 Final Release

$
0
0

Hi, I have an issue when I launch SAP Applications ---> SAP ECC Production - UHP, when I launch it a splash window with the SAP logo appears and doesn't do anything, after a time period ~ 2 to 4 min a window pop up that Server Busy "This action cannot be completed because the "program is not responding. Choose "Switch To" and correct the problem. If I do that it will launch SAP Logon 740 and works fine, if I close the application and re-launch works fine no time waiting. However if I restart the Laptop and launch again the SAP application I have the same issue.SAP_Warning.JPG

Cursor position in input fields

$
0
0

Hello everybody,

 

 

after the update to the SAP GUI 740, one of our users has the problem that the cursor is positioned exactly there in a field where you clicks and not at the beginning of the field (see the screenshoot below).

 

The user have this issue on all our systems and all fields. But what is really strange that our user work in a CITRIX environment and the initial settings are the same for all users, but it applies only to this one user.

 

 

Does anyone know the behavior and perhaps how to disabled it?

 

Thank you in advance

 

Alexej

SAP Personas 2.0 - flavor has suddenly stopped working

$
0
0

Help please. I've been developing a flavour for ECC Finance transaction REBDPR. All was working fine till about an hour back. I went to lunch, lost the session. When I logged back into Personas, my flavour for that particular transaction isn't launching at all. Whenever I try to launch it, I am getting below mentioned error:

 

changing flavour failed.jpg

 

Downloading the error file doesn't give me much of a clue. I can try to undo some of my last changes (if they're causing any issues), but don't know how to do that if I can't even open transaction in that flavour.

 

Any help or suggestion about what I can try please?

 

Log:

<?xml version="1.0" encoding="UTF-8"?>

 

 

-<Entries>

 

 

 

 

-<Entry>

 

 

<![CDATA[24/6/2016 13:41:15,290479 ERROR Sap.Imagineering.Personas.Common.Resource.ResourceFileRequest->EndGetResponse - [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer]]>

 

 

</Entry>

 

 

 

 

-<Entry>

 

 

<![CDATA[24/6/2016 13:41:15,667479 ERROR Sap.Imagineering.Personas.Common.Resource.ResourceFileRequest->EndGetResponse - [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer]]>

 

 

</Entry>

 

 

 

 

-<Entry>

 

 

<![CDATA[24/6/2016 13:41:58,943479 ERROR Sap.Imagineering.Personas.Common.Utils.<>c__DisplayClass6-><GetResponse>b__5 - [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Sap.Imagineering.Personas.Common.Utils.HttpWebRequestExtension.<>c__DisplayClass6.<GetResponse>b__5(IAsyncResult asyncResult) *** ROOT Exeption: System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)]]>

 

 

</Entry>

 

 

 

 

-<Entry>

 

 

<![CDATA[24/6/2016 13:41:58,945479 ERROR Sap.Imagineering.Personas.Profiles.BSP.BspProxy->GetFlavorInfo - Retrieving unassigned flavors from the server failed. System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer at Sap.Imagineering.Personas.Common.Utils.HttpWebRequestExtension.GetResponse(HttpWebRequest request) at Sap.Imagineering.Personas.Profiles.Common.RestClient.Get(String uri) at Sap.Imagineering.Personas.Profiles.BSP.BspProxy.GetFlavorInfo(Flavor& flavor) *** ROOT Exeption: System.Net.WebException: [HttpWebRequest_WebException_RemoteServer] Arguments: NotFound Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50428.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)]]>

 

 

</Entry>

 

 

 

 

-<Entry>

 

 

<![CDATA[24/6/2016 13:41:58,947479 ERROR Sap.Imagineering.Personas.Base.Controller.RenderingController->ChangeFlavor - Couldn't change Flavor. Sap.Imagineering.Personas.Profiles.Exceptions.FlavorNotAvailableException: Exception of type 'Sap.Imagineering.Personas.Profiles.Exceptions.FlavorNotAvailableException' was thrown. at Sap.Imagineering.Personas.Profiles.BSP.BspProxy.GetFlavorInfo(Flavor& flavor) at Sap.Imagineering.Personas.Profiles.BSP.BspProxy.RetrieveFlavor(Flavor& flavor) at Sap.Imagineering.Personas.Profiles.ProfileManager.SelectFlavor(Flavor flavor, String tCode) at Sap.Imagineering.Personas.Base.Controller.RenderingController.ChangeFlavor(Flavor flavor)]]>

 

 

</Entry>

 

 

</Entries>

SAP webgui slow scrolling

$
0
0

Overall,  transaction response time is good and has good usability.

 

But the scrolling up and down is quite slow. For few scrolls down, the hour glass is displayed. I am assuming this is because its trying to get the output data from SAP(?)

 

Is there a possible way to it scroll faster by maybe increasing the size of data that browser can retrieve from SAP?

Flavours in SP3 and strange behaviour

$
0
0

Hi Experts, We have seen some strange behaviour in flavours . For example we created a flavour and in that  we have script  button to call transaction IW37N as a next step to this we further scripted to automate the selection screen process to display list of orders . Once displayed we created a new  Zflavour  for the same list where we scripted another button to go to CAT 2 transaction from there . So far so good. But now i think  since me and my colleague were working on same flavour and editing at the same time .Things messed up. Odd behaviour started as follows 1) In the main flavour where scripted the button ( to call IW37N  and automate the process ) does not work . 2)  When we manually go to IW37N and try to display the Z flavour  of list display that we created it jumps back to Main flavour. This is very strange as the script button was working as mentioned in the point  Number 1. Why is it taking to Main flavour when we try to click on Zflavour that we created, there is no connection at all. Also we can not open this ZFlavour in edit mode nor we can see the scripts in it . Not sure what was happening . In our previous posts sushant from SAP mentioned to create a copy of flavour and then edit it and delete the history (but this was for scenario where flavour was frozen , i tried this approach but no luck). SAP : Please Kindly suggest , what the issue might be , we are struck here at this point . Best regards, pradeep.

Personas 3.0 SP02: Dynamically populate dropdown values

$
0
0

Hi,

 

I need to create a dropdown based on values of text table T157E, but I need to filter this table by language (SPRAS) and movement type (BWART). So my doubt is:

 

  • Can I create an RFC that returns me the list of values I want and then call it using script and add the list to the drop down control?
  • If not, what is the alternative? I can only think in F4 help, but from the usability point of view it is not a good idea (as per today there are only 3 values, so 3 more clicks for open F4, select and submit is not a valid option). I also know that the drop drown could be in the underlying transaction, but in my scenario I'm not able to modify the standard UI to add a field.

Creating dependent search helps

$
0
0

Hi all,

 

I want to assign a search help to a custom field. But the values to be shown in this value help are dependent on another standard field on the screen. So how can I pass this screen field value to the search help?

 

I have gone through this link, https://wiki.scn.sap.com/wiki/display/Img/Using+Search+Helps but it did not answer my question.

 

Regards

Krishna


Tab-Key Sequence

$
0
0

Hello Experts,

 

I have created a simplified version of IW22 with a mixture or standard fields, custom personas fields and have merged six tabs.

 

The issue I am running into is that while I change the tabToElement in the editor to the order I would like, it does not follow this order in testing and is working as if I never changed anything. I followed the instructions found in the knowledge base.

 

I understand that this process normally works because I have used it the same way on another flavour for SMEN with the only difference being my SMEN flavour has only custom personas fields. Any help would be greatly appreciated.

 

Thanks,

 

Andrew

Missing P in Personas

$
0
0

Hi All,

 

i am missing the Symbol P in Personas.

The Health Check is green, and all roles are assigned.

do you have any Idea, why the Symbol is missing?

 

personas3.0.GIF

Thanks in Advance

WSAEWOULDBLOCK: Resource temporarily unavailable. Very strange thing happening

$
0
0

Hi All SAP Gurus,

I'm having a very strange problem. Can someone out there help me?

I'm using SAP by connecting my PC to a VPN. If I am connected in my office through the WiFi of my Laptop everything works perfectly. But if I connect to the same router of my office using the LAN cable, as soon as I try to LogOn I receive the message

WSAEWOULDBLOCK: Resource temporarily unavailable

 

What can be the problem? Thank yu all in advance for your kinfìd effort!!!

Change in SAP GUI Log on Screen Logo

$
0
0

Is it possible to change the SAP Log on Screen Logo?

Will it reflect all the other user's screen logo also?

Personas 3 - Administration Access

$
0
0

Hi

 

we need to restrict access for the technical team to display only in our production system - is there any way to do this, there don't appear to be display only options on the main transactions /personas/admin and /personas/roles.

 

If not, can you tell me which tables can be used to view the links between personas flavors and the roles assigned to them.

 

thanks

 

Hayley

Viewing all 2552 articles
Browse latest View live