Quantcast
Channel: SCN : All Content - SAP GUI
Viewing all 3616 articles
Browse latest View live

Personas: how to navigate to one web page by a given url from Personas?

$
0
0

Hi Personas experts,

 

I have a url ponting to a web page (eg a Dashboard page). Now I want to create a UI control, eg, a HTML viewer or maybe a script button, so that I can press this control to go to that page.

 

Does anyone know how I can make this? By the way, I saw that there should be a Whitelist to be set to contain the url, is this right? If so, how to set this Whitelist then?

 

Thanks a lot!

 

Dong Zhu


Personas: Setting selection for a dynamic dropdown list failed, why?

$
0
0

Hi Guys,

 

In my Personas app, I want to make a selection using script by filling a field of a "SAP built-in" dropdown list with a value (VM) that is included in the list. I used IW38. This dropdown list is shown only when first pressing the "Select All" icon on the top of the screen, and normally user would need to make selection by clicking an item in the dropdown list. Here I want to let the script do the selection.

 

The id of this "dynamic" field is:

 

ses[0]/wnd[0]/usrUSRAREA/frameB007017_BLOCK_1000/cmbDY_PARVW

 

 

The problem is: when I use "Set selection" for the dropdown list in script, it pops out error:

 

Step of the executed script failed!

Reason: failed to fire action

 

However, when I made one my own dropdown list control, I was able to make selection of one of the item in the list by scripting.

 

It looks like somehow there might be some special property of this "SAP built-in" dropdown list that blocks the setting selection.

 

Does anyone have the same problem and know a solution?

 

Thanks a lot!

 

Dong Zhu

Suppress colors/shading

$
0
0

Hello all. We need to use the Suppress colors/shading in time of printing ALV list.

We can do it using (example in SM50 tcode) -->

press on print (Ctrl+P) --> select output device and press "Properties" -->

under "General Properties" --> "Output" -->

press on Suppress colors/shading in printout and after press on "Specifications" button ... -->

change the "Field default value" to "YES" for this Field, and after press on Copy settings

And after this work for all reports, after logoff, new login to.

Question :

How can we SET this Field to yes for all user's ?? Who control this check box?Are some table in database?

Regards.

SAP GUI Installation Server (SAPSetup)

$
0
0

Hi guys,

 

    I need to implement this server to:

 

  1. Uninstall old SAP GUI.
  2. Install newer version of SAP GUI.
  3. Update all workstations SAP GUI.

 

So the question is simple, How much time will you estimate to Install & Configure the Server? This includes, configuring the package to install/uninstall and do some tests with some workstations.

 

Thanks in advance for your help.

 

Best Regards.

kernel version required for Personas 3.0

$
0
0

Hi,


We are in the Personas 3.0 ramp-up and trying to install the software in our sandbox. In the page describing the product (SWDC->Ramp-up releases->Installation and Upgrade->SAP SCREEN PERSONAS 3.0), the required kernel version is stated as 742 available as of August 15.


However, we don't see that kernel version available as of today. Is there a patch level on 741 that will let us install Personas 3.0? I've looked at note 1825215 that indicates this might be possible but it isn't clearly stated. I opened an SAP SR on this question but have not yet received a response. If there is anyone who has installed the ramp-up and knows what kernel version works, your advice would be greatly appreciated.


Best regards,

Rob



SAP GUI for Java (Mac)No R3 option

$
0
0

Hi All

 

    I had setup SAP  GUI for Java  on Mac,but there was no R3 option in  connection type ,just 'web as abap' and 'web dynpro'.

螢幕快照 2014-09-16 下午3.21.42.png

SAP GUI 730 PL8 Installation Problems

$
0
0

Hi all!

 

We are facing a problem with the following software product:

 

Information NwSapSetupAdmin.exe:

SAP GUI for Windows 7.30 (Compilation 3)

Component ID: 1460620d-c8bc-44c2-86ec-e632e0986b01

Version: 27625

Latest Patch Level: 8

 

SAP Automatic Workstation Update

Component ID: 40d11884-3906-4e67-8a96-91035ca09814

Version: 900.42

Latest Patch Level: 45 Version 9.0.45.0

 

Information SAP Logon:

Release: 730 Final Release

Dateiversion: 7300.3.8.1084

Build: 1478436

Patch-Level: 8

 

 

Within the SAP GUI Installation (NwSapSetup.log) the following error occurs:

16:25:13 NwSapsAtlC  1   Executing script action...

16:25:13 NwSapsAtlC  1   Script-action: Checking reboot condition.

16:25:13 NwSapsAtlC  1   Script-action: NwEngine.Context.Reboot = 1

16:25:13 NwSapsAtlC  1E  Microsoft VBScript runtime error: Error message: Unknown error 0x800A01B6. Error code 0x800a01b6.

                         Object doesn't support this property or method: 'NwEngine.Context.Args' (Line 4, Col. 5)

                       

                       

                         The setup script contains the error listed above. Please contact your system administrator and provide this information, for example by sending him a screenshot of this message box (Press Alt+PrtScrn to create the screenshot and copy it to the clipboard).

16:25:13 NwSapsAtlC  1E  Failed to run script:

                              ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8

                           1: NwEngine.Context.Log.Write "Script-action: Checking reboot condition."

                           2:             NwEngine.Context.Log.Write "Script-action: NwEngine.Context.Reboot = " & NwEngine.Context.Reboot

                           3:             If NwEngine.Context.Reboot = 1 Then

                           4:                 If NwEngine.Context.Args("SuppressReboot") <> "" Then

                           5:                     NwEngine.Context.Reboot = 0    'Setting Flag for no Reboot

                           6:                     NwEngine.Context.Log.WriteWarning "Script-action: Reboot suppressed by the user. NwEngine.Context.Reboot = " & NwEngine.Context.Reboot

                           7:                 ElseIf NwEngine.Context.Args("DelayReboot") <> "" Then

                           8:                     NwEngine.Context.Reboot = 1    'Setting Flag for delayed Reboot

                           9:                     NwEngine.Context.Log.WriteWarning "Script-action: Reboot delayed by the user. NwEngine.Context.Reboot = " & NwEngine.Context.Reboot

                          10:                 Else

                          11:                     NwEngine.Context.Reboot = 2    'Setting Flag for immediate Reboot

                          12:                     NwEngine.Context.Log.Write "Script-action: Enforce immediate reboot."

                          13:                 End If

                          14:             End If

                              ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8

                       

                         Error message: Unknown error 0x80020101. Error code 0x80020101.

16:25:13 NwSapsAtlC  1E  Failed to parse script. Error message: Unknown error 0x80020101. Error code 0x80020101.

16:25:13 NwSapsAtlC  1E  While processing Component '$MS System Files' with Id '{F270A214-3AD3-4235-9C74-F4D323B54976}' 1 error(s) have been registered.

16:25:13 NwSapsAtlC  1   CompAct.:Installed Component '$MS System Files' with Id '{F270A214-3AD3-4235-9C74-F4D323B54976}'

 

With this the NwSapSetup.log ends with:

16:26:23 NwSapSetup 1 Return-Code: 145

 

In the next logical step within our environment a uninstallation of the SAP GUI gets started:

   Commandline:   '"C:\Program Files (x86)\SAP\SapSetup\Setup\NWSapSetup.exe"  /Silent /Uninstall /Package=PEACY'

 

This operation gets done with:

12:35:47 NwSapSetup 1 Return-Code: 0

 

After that the installation of the SAP GUI gets started again with:

   Commandline:        '"C:\peacy.sys\source\SAPGUI730PL8\source\setup\NwSapSetup.exe"  /noDLG /norestart /Package=PEACY'

 

Now the Installation gets done with:

12:52:12 NwSapSetup 1 Return-Code: 0

 

 

Every first installation of SAP GUI 7.30 PL8 is affected. This is a cross-platform issue (Windows 7 and Windows 8.1). If there was our older package version (SAP GUI 7.30 PL4) installed, the installation of SAP GUI 7.30 PL8 gets done without problems.

Every new client with the SAP GUI 7.30 PL8 assigned or the re-installation of it, and every first installation of the package on a client without SAP GUI leads to the mentioned issue - package gets installed with the mentioned error, afterwards the uninstallation gets started by our environment and finally the installation gets done with the second try. This is not a practicable method for our support staff.

 

Are there any hints how to resolve this issue. (A upgrade to the newest patch level of SAP GUI is not a practicable solution)

 

Thanks in advance!

 

Best regards

Christian

WebRFC Scripting Issue - Works but not from within Personas?

$
0
0

I've attached the Function Module code (it works from within SAP and when called directly from a browser) and a screen shot of the RFC persona call (below)...

Script RFC problem 2A.jpg

 

Annoyingly I did have it working but I changed it to output more parameters and it went over the 255char limit so I tried to split it into two separate table entries which again appeared to work when testing but not when called from Personas ... then I could get it back... D'oh!!

 

Blimey - I can't attach a pdf either - please ask for a copy of the function module code if required ... here is a screen shot if you can read it...

 

Script RFC problem 2B.jpg

 

I can send the error log to anyone who is interested .... any help much sppreciated.

Thanks.

Patrick.


is it possible to migrate shortlink url to different system?

$
0
0

Hi,

 

I have created shortlink for flavors and i have used it in different flavors. Suppose if i move all the flavors to different system , what happens to shortlink url ,do i have to regenerate again or can i migrate those url also.

 

 

Regards,

Sivaganesh

Issue with SAP GUI 7.30 launching with users upgrading from 7.10

$
0
0

saperror.png

We started rolling out SAP 7.30 GUI Final 7300.3.7.117 out to people, and we've ran into this error with people who had upgraded from SAP GUI 7.10.

 

Our environmental variable uses saplogon.ini (SAPLOGON_INI_FILE) and points to c:\windows\saplogon.ini

 

I don't know why the program is trying to search for saplogontree.xml.

 

I've tried uninstalling, rebooting, reinstalling. Deleting some of the %appdata% SAP folders.

 

I need some guidance as people who upgraded from GUI 7.20 do not run into this issue.

Provisioning users in SAP Personas 1.0/2.0 from SAP Netweaver Identity Management

$
0
0

The standard Personas Administration transaction allows us the ability to create users of SAP Personas. In addition we can assign SAP Personas roles to users and assign users to groups.Then we can assign flavors and roles to groups of users enmasse. However, this is all accomplished outside the standard SU01 transaction and some companies have external software for the provisioning of users. SAP has its own software for this called SAP Netweaver Identity Management(IdM). You may want to provision additional attributes or trigger a specific event when an identity is created or modified. In our example we will extend SAP Netweaver Identity Management to create a group in SAP Personas with all of the users assigned to specific PFCG role as well as create a user in and assign that user a SAP Personas role (i.e. RENDER_ONLY).

 

For ABAP based systems, you can implement Business Add-In(BADi) interface IF_BADI_EXTEND_IDENTITY. This interface is available for use with the enhanced SAP Business Suite use case for provisioning framework for SAP systems.

 

In a little bit more detail here is what will be accomplished with this code:

 

  1. By passing a system, client and PFCG role to the function module the code will create a group in Personas with the name of the PFCG role as the name of the group and assign all the users that have that PFCG role to the newly created group. If the group already exists it will update the group with any new users that may have been assigned to that role. In short, it is the same as hitting the create/maintain button in Mass Group Maintenance of the Personas admin transaction
  2. Pass a userid and Personas role to the function module and it will create the user in Personas with the role. (I.E. user id KOZIOLR and Personas role FULL_EDIT_ACCESS). In short it is the same as adding a user via the Personas admin transaction User Maintenance.

 

The following are the necessary steps / components to achieve this:

 


Implementation of BADi BADI_EXTEND_IDENTITY

 

As with any standard BADi we first need to create an implementation of the BADi. I won't go in to the details of how to create the BADi but here is a sample if what my BADi looked like. Don't sweat the fact that the systems states my BADi will note be called, some of these screen shots I had to rebuild.

 

BADi1.png

 

This particular BADi is enabled for multiple use so we will add a filter to ensure our method is only called from IdM (Identity Management)

 

 

filter.png

 

 

Now we need to maintain the filter in the DB table IDM_BADI_FILTER via transaction SM30.

 

 

table.png

 

Ok so up to this point we have done the necessay steps to implement our BADi. Now we need to actually find the place to implement our code.

 

The implementing class for our BADi is ZCL_BADI_EXTEND_IDENTITY. Within this class there is a method named POST_MODIFY_IDENTITY. Looking at the signature of that method you can see there are plenty of parameters that can be configured in IdM and passed in. In our example we are using the IT_ADDITIONAL_ATTRIBUTES. The structure of the this internal table is name/value pair. I asked the IdM consultant to pass me 5 name/value pairs. So for example:

 

  1. IV_PERSOS_ROLE/FULL_EDIT_ACCESS
  2. IV_USR/KOZIOLR
  3. IV_SYSTEM/EC1
  4. IV_PFCG_ROLE/Z6_SAP_HR_PT_TIME-ADMIN
  5. IV_CLEINT/800

 

Now armed with our input parameters from IdM we are ready to call the function module and update SAP Personas. I call my function module from within the POST_MODIFY_IDENTITY method.

 

 

METHOD IF_BADI_EXTEND_IDENTITY~POST_MODIFY_IDENTITY.
     
DATA: ls_add_attr  TYPE sim_st_additional_attribute,
            lv_role     
TYPE /persos/rolename,
            lv_usr      
TYPE bname,
            lv_system   
TYPE /persos/syssetid,
            lv_pfcg_role
TYPE agr_name,
            lv_client   
TYPE mandt,
            lt_return   
TYPE STANDARD TABLE OF bapiret2.

   
LOOP AT it_additional_attributes INTO ls_add_attr.

     
CASE ls_add_attr-attr_name.
       
WHEN zcl_idm_persos_constants=>role.
          lv_role
= ls_add_attr-attr_value.
       
WHEN zcl_idm_persos_constants=>usr.
          lv_usr
= ls_add_attr-attr_value.
       
WHEN zcl_idm_persos_constants=>system.
          lv_system
= ls_add_attr-attr_value.
       
WHEN zcl_idm_persos_constants=>pfcg_role.
          lv_pfcg_role
= ls_add_attr-attr_value.
       
WHEN zcl_idm_persos_constants=>client.
          lv_client
= ls_add_attr-attr_value.
     
ENDCASE.

   
ENDLOOP.

   
CALL FUNCTION 'ZCLFM_IDM_PERSONAS'
     
EXPORTING
        iv_role     
= lv_role
        iv_usr      
= lv_usr
        iv_system   
= lv_system
        iv_pfcg_role
= lv_pfcg_role
        iv_client   
= lv_client
     
TABLES
       
return       = lt_return.

 

See the attachment for the ZCLFM_IDM_PERSONAS code. Too much to post right here.

 

Couple of items about the code in the FM ZCLFM_IDM_PERSONAS. First thing you may notice is that it looks an awful lot like the standard code. That would be because I leveraged the SAP standard code. So lets not slam the blogger for some of the coding techniques Also, you'll note that this code is doing some direct table updates. I would attribute this to Personas being a relatively new product. Yes I could have created my own function modules and done the 'right thing' surrounding the DB updates but as with most projects I was under a time crunch. Plus its standard code so it is ok. RIght? Maybe when I post this blog 2.0 I will clean up the code. This code is tested and you can download it and it should compile and run (provided you have SAP Personas installed our your system).


That's it. We can now call a function module from IdM and update groups and create users in Personas

Screen Personas and NWBC - Url parameters for resizing screen

$
0
0

Hi,

 

We are rendering Screen Personas 2.0 screens in NWBC and the Personas screens render correctly. We are wrapping the Short links in a BSP application in PFCG and use the parameter frameless=true so that end users cannot switch between flavors. Is there a list of all the parameters available?

 

The basis for the question is that after rendering in NWBC we noticed that the user has to scroll horizontally and vertically to reach other parts of the screen which would have been easier in a browser. We would like to resize the personas screens in NWBC so that the entire content can be displayed in the content area and scroll bars can be disabled.

 

Thanks,

Abhijeet

WebRFC - clearing cache after making changes in SAP

$
0
0

I'm finding that as I make changes to my Functional Modules in SAP, and then try to test them from Personas, I can not pick up the new version until I log right out of NWBC and the log back in again .... there has to be a faster way .... right?

 

Any tips much appreciated.

Regards.

patrick

Screen Personas 2.0 SP02 - Session Timeout

$
0
0

Hi,

 

I have 2 questions here.

  1. Is it possible to disable Session timeout in Screen Personas or atleast lengthen the timeout value? While creating flavors it is difficult to keep track of when the last changes were saved.
  2. And, while recording a script I encountered a session timeout when I use the popup search boxes for searching. For example, in the transaction me33k, I try to find the contract by pressing F4 in the Agreement field. This opens a search popup. In the popup I find the Vendor field and press F4 again to display the popup search for Vendor. (Attached an image file of the exact operation in SAP GUI). This operation however is not working in Personas. I do not think this is a Personas issue, but may be something related to the configuration of Personas. Any help is appreciated. I have attached the log file as well.

SAP Screen Personas - Control Not Found

$
0
0

hi,

 

i am new to personas. I am getting an issue control not found. I researched and there is a good tutorial how to handle erros with IF condition when the error is a tab - you would click on the tab and get the object ID.

 

The scenario:

 

go to transaction VA02

 

Enter order number


Go to extras > Output > header > Edit (show output management screen)

 

 

Attached are the screenshot of the scripts. Can you please help me understand how to deal with Control not found issue.

 

Personas.jpgPersonas 2.jpgPersonas 3.jpg

 

Thank you


kernel version required for Personas 3.0

$
0
0

Hi,


We are in the Personas 3.0 ramp-up and trying to install the software in our sandbox. In the page describing the product (SWDC->Ramp-up releases->Installation and Upgrade->SAP SCREEN PERSONAS 3.0), the required kernel version is stated as 742 available as of August 15.


However, we don't see that kernel version available as of today. Is there a patch level on 741 that will let us install Personas 3.0? I've looked at note 1825215 that indicates this might be possible but it isn't clearly stated. I opened an SAP SR on this question but have not yet received a response. If there is anyone who has installed the ramp-up and knows what kernel version works, your advice would be greatly appreciated.


Best regards,

Rob



Rendering discrepancies between Personas Screens in Chrome vs NWBC (GUI)

$
0
0

We are using SP2 with Silverlight & NWBC for desktop.

 

I have designed a few screen within Chrome.

 

When I look at these same screens in NWBC, there are subtle differences in size, colours, font sizes, etc. see examples below..

 

Does anyone have ant thoughts on this?

 

VA02 in Chrome ....

SP2 Chrome.jpg

VA02 in NWBC....

SP2 NWBC.jpg

Any feedback much appreciated.

Regards.

Patrick.

Problem trying to change Sales Order Header Text

$
0
0

Any insights anyone?.....

 

Pers Hdr Text prob.jpg

As you can see I'm forced to make a change to the sales header text every time or I get an error message.

 

As always, any input much appreciated.

 

Regards.

Patrick

Can we move flavor from one tcode to another..?

$
0
0

Hi,

 

I have created a custom transcation zsmen in SAP by copying smen transcation ( SAP Easy access screen) . Now when i create a flavor in smen , can i move the flavor to zsmen tcode. Is that possible.



Regards,

Sivaganesh

NWBC - UNCAUGHT_EXCEPTION CX_NWBC

$
0
0


Dear All,

I ahve a problem with NWBC using roles with embedded the trusted RFC from ERP to HCM.

here is it the dump

For the role entry "" (), the SM59 alias can't be

resolved. Needed is at a minimum one type "3" definition ("" or

"") and minimum one type "H" definition

 

 

I was trying to apply Runtime patch 40 for NWBC with sap note 2031585 that contains this correction.

However two notes are note released and I'm stuck.

1477719 Note

1482778 Note.

Someone of you have a different solution?

please advise.

Viewing all 3616 articles
Browse latest View live


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