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

Authorization check for Personas objects

$
0
0

Hey everyone!

 

I have faced issue regarding Personas authorization object. When I use stauthtrace to evaluate authorization issues user is has while executing transaction, it gives me, inter alia, response that this user has missing authorization for Personas, but this user doesn't need anything else that use and change flavor... why is this an issue here?

P-runtime for user.jpg

 

Thank you in advance


Personas Inner Error

$
0
0

Hi ,

 

Found an issue "Personas inner error which cause the application restart" at times.

 

Kindly help me to solve this issue.Is there way to explore about the issue.

 

-Vignesh,

 

Capture.JPG

BAPI -Personas 3.0

Find where icons are used 3.0 SP02

$
0
0

Hi,

 

can you please tell me how an I find in which flavors icons are used? I tried via tcode /personas/icons and table /personas/icons - did not find the where-used-list.

 

To check now every flavor would be too big job I hope there is an other solution...

 

Diana

TimeStamp +13Hours on FB01

$
0
0

Hi Gurus,

Does anyone know if possible to adjuts time stamp to local hour. All FI documents we created in SAP have + 13 hours. Our servers are located in Malasia we are in Colombia, please see next screenshot.

 

 

Relojito.JPG

SAP GUI 7.40 PL8 - Bigger dialogs + screens

$
0
0

Hi all,

 

I installed SAP GUI 7.40 PL8 on my computer (Win10).

 

My SAP GUI screens looks now all a little bit bigger than before.

 

Left is MIRO > Company code pop-up in PL7,

right is MIRO > Company code pop-up in PL8.

(Blue Cystal Theme)

sapgui740_pl7.jpgsapgui740_pl8.jpg

 

The increased size would help me a lot,

if the SAP GUI runs on a iPad, but what is the benefit on a classic 3-Monitor-Setup ?

 

My first idea was, that this is linked with DPI scaling.

This is set to 125% on one monitor, the other two runs with 100%.

 

DPI scaling works for me indepented to this change from PL7 to PL8.

 

Is there a way, to get the old size back in PL8 with any setting ?

 

2106323 - SAP GUI for Windows: DPI scaling of the Windows will be supported

http://service.sap.com/sap/support/notes/2106323

 

I tried to disable DPI scaling with the registry switch,

but no effect. So it seems to be really a change in PL8 nothing todo with DPI scaling.

 

Same big size in Corbu and SAP Signature Design.

 

Any hints ?

 

Best regards,

Tibor

Could not able to download due to SAP GUI security

$
0
0

Hi Everyone,

I  am working on a Report Program for downloading multiple smartforms. When i try to enter my package and start downloading ,a popup comes up

like this

The pop up says : "An action triggered by the server was denied based on a rule. Do you want to see a list of the actions triggered in the last communication step? YES, NO"

 

What should i do to avoid this.

 

 

 

Regards,

Sivaganesh

SAP GUI configuration for Linux

$
0
0

Hi Gurus,

 

I need to know the steps to configure saplogon.ini file for SAPGUI linux.

 

scenario is i have saplogon.ini file from windows system now i need to use it in linux saplogon , So please help here.

 

 

Thanks & Best Regards,

Pradeep.


Fields with automatically showed details for input

$
0
0

Hey,

 

We have again met the need to figure out how to configure fields in which automated details would show up after user inputs some value in the nearby field. Like there are already preset configuration in many transactions, e.g. VA41 where you input or choose a value from search help for a ship-to and sold-to parties and then after clicking in other place or pressing 'Enter' - in the fields beside those field the detailed information comes up - like name / address/ postal code/ city

 

We need to replicate this action for custom fields.

 

Your suggestions how to do that are very very welcomed?

 

Diana

 

bring back values.jpg

Screen Personas 3.0 - Editing after Import / Export

$
0
0

Hi everyone,

 

we've exported a flavor in SAP-Client1 and imported it in SAP-Client2. Both Clients are on the same system.
After this we've tried to edit the flavor in the browser of Client2, but always got the message, that editing is only allowed in the Client1. 2016_04_22_14_21_22_Infosystem_Verträge_unbeschränkt_.png

 

But we have heard that by importing a flavor in any client, it is getting initialized from ground up, where we normally should be able to edit them again.

 

Does anyone have an idea where this error is coming from and how we can get back the control of them?!

 

Thanks and regards

Personas R3 - How to set the colour of link text?

$
0
0

Hello,

 

On VA03 Display Sales Order, the sold-to and ship-to on the overview screen are displayed - number & name/address string.

 

Both of these fields are InputField controls.

 

They are both live 'hot links' to the sales document header for some reason.

 

The reference number (which appears in a text box - when you click on it in design mode it says it's an InputField) has a white background and black text which is fine.

 

The name/address text however is coming up in a mid blue and I can't find a way of influencing that colour.

 

Can anyone tell me where that control is please.

 

Also is there a way of making those fields dead so that they cannot be used to jump elsewhere?

 

Regards.

Patrick.

Multiple row selection in table with scroll bar

$
0
0

Hi Experts, If there are multiple row selection in a table with scroll bar , how do we select those . For example in first page of the table user selects 2,5 ,7 and then scrolls down and then selects 4.8,9 something like that. So total selections are 6 (3 in first page and 3 in second page ). If my requirement is to capture cell values of  all 6 rows . How can it be achieved ? Any sample codes will help. Kindly advice . pradeep.

SAP GUI & NWBC silent install via Intune

$
0
0

Hi- I'd like to put together a single install package for SAP GUI and NWBC 5.0 to be pushed to our clients via Microsoft Intune.  In addition to installing the software, I'd like it to push down the Application Server, Instance Number, and System ID fields as well, but I don't seem to be able to find where to add that.  I have looked at the NWBCConfig.xml.template file and it all appears to be look/feel changes, nothing specific to connection configuration changes.  Is there some place else I can look?

Interactive Charts in Personas 3.0

$
0
0

Bringing up UI5 charts in Personas 3.0 makes flavor more understandable for the end user. I worked on this with the base of Using SAPUI5 charts in Personas Flavours by Steve Rumsby bringing charts in personas flavor and enhanced it to be interactive.

My POC requirement was to bring the total number of sales, inquiry and quotation documents created during the SD life cycle in a system. When clicked on the particular document it takes you to a flavor which displays the number of documents created for the selected type on monthly basis, onclick of the chart it takes you to the flavor which displays the complete documents with recently created document on the top and on clicking the document it should display the details of the documents.

 

The first thing is to get the data needed to build the chart for that we can use RFC to get the data.

Create a RFC to get the Count of the documents created in the system and also get the table which will be used in final flavor for displaying the details.

 

Define parameters salesorder, quotation, inquiry as export parameters, which can be exported.

Parameter_count.JPG

 

 

On the Import tab give parameter for getting the user id for selecting the documents he/she created.

import_count.JPG


Onsource code write the code to count the number of documents based on the type and store it in the export parameter.


select count( * ) from vbak into salesorder where ernam = user AND auart = 'TA' or auart = 'AEBO'.
            select count( * ) from vbak into quotation where ernam = user AND auart = 'AG' or auart = 'QT'.
            select count( * ) from vbak into inquiry where ernam = user AND auart = 'AF'.


Now create another FM to get the details of the table to be displayed, with DETAILS1 as internal table of type VBAK which contains the data of the documents.

Table.JPG

On the import parameter give two parameters to select the user and document type.

import.JPG

On the Source code write the code to select the data from the table and store it in the internal table to export it based on the user name and the document type.

 

SELECT * FROM VBAK INTO CORRESPONDING FIELDS OF TABLE DETAILS1 where ernam = user and VBTYP = doc_type.
            sort details1 DESCENDING.

 

Make sure both the Function Module are remote enabled in the Attributes tab

RFC.JPG


Now Save and activate both the Function Module.


We need to create three set of flavors


Complete Overview of Documents:

Flavor 1

Overview of specific documents Monthly basis:

Flavor 2

Flavor 3

Flavor 4

Displaying all the documents of specific type for viewing details of the document:

Flavor 5

Flavor 6

Flavor 7


Flavor 1:

We have to get the data in the flavor to build the desired chart.

Call the RFC in the flavor and get the Count from various export parameters and save it to a variable. The code is given below.


var rfc = session.createRFC("ZRFC_COUNT");

rfc.setParameter("USER", "PERSONADEMO1");

 

rfc.requestResults(JSON.stringify(["SALESORDER", "INQUIRY", "QUOTATION"]));

rfc.send();

var sale = parseInt(rfc.getResult("SALESORDER"));

var inquiry = parseInt(rfc.getResult("INQUIRY"));

var quotation = parseInt(rfc.getResult("QUOTATION"));

 

We have to pass the data in form of JSON to the Chart, So build a JSON with the data to pass it to the chart.


var newContents = [

    {"Document": "Sales Order", "Count": sale},

    {"Document": "Inquiry Document", "Count": inquiry},

    {"Document": "Quotation", "Count": quotation},

];


          Now Build the chart with the JSON model and Handle the click event on the chart and redirect it to the different flavor where we will show the chart on monthly basis based on the type of document clicked.

          I have attached the completed coding and given the building of Donut Chart alone below.


var oBarChart = new sap.viz.ui5.Donut({

  width : "100%",

  height : "500px",

  plotArea : {

  },

  title : {

       visible : false,

       text : "Document status"

  },

selectData : function(oEvent) {

var yAxisIndex = (oEvent.getParameter("data")[0]).data[0].ctx.path.dii_a1;';

                         

if(yAxisIndex == 0){

window.open("Shortlink to Flavor 2");} //open a flavor to display the No.of Sales documents created on monthly basis ( Flavor 2 )


if(yAxisIndex == 1){

window.open("Shortlink to Flavor 3");} //open a flavor to display the No.of Inquiry Documents created on monthly basis ( Flavor 3 )

 

if(yAxisIndex == 2){

window.open("Shortlink to Flavor 4");}   //open a flavor to display the No.of Quotation document created on monthly basis ( Flavor 4 )

                        },

dataset : oDataset

  });

 

Attach the script to the onload screen event.


Flavor 2:

          After Clicking the Chart it takes you a flavor according to the selection made in the chart.

     On the new flavor we have to call the RFC we have created to get the complete details of table and calculate the No.Of Documents created on each month.


var rfc = session.createRFC("ZRFC_COUNT_TEST");

rfc.setParameter("USER", "PERSONADEMO1");

rfc.setParameter("DOC_TYPE", "A"); //Set the Document type as Sales Document (B for Inquiry and C for Quotation)

rfc.requestResults('["DETAILS1"]');

rfc.send();

var sale = rfc.getResult("DETAILS1");

var so = JSON.parse(sale);

var newContent = [];

 

var list_year = [];

 

var flag=true, count =0;

for(var i = 0;i<so.length;i++)

    {

var year=so[i].ERDAT;

        list_year[i] = year.slice(5,7);

        //session.utils.log(list_year[i]);   

 

    }

function ArrNoDupe(a) {

    var temp = {};

    for (var i = 0; i < a.length; i++)

        temp[a[i]] = true;

    var r = [];

    for (var k in temp)

        r.push(k);

    return r;

}

var nodup = ArrNoDupe(list_year);

for(var i=0; i<nodup.length; i++){

    var year = nodup[i];

    for(var j=0; j<list_year.length; j++){

        if(year == list_year[j]){

      

            count++;

        }}

        newContent.push({"Year":year, "Count":count});

}

After this you can build a Bar chart as like the Donut chart created in the Flavor 1 and redirect on clicking the chart to a new flavor.


Attach the script to the onload screen event.

 

Create a copy of the Flavor 2 and create flavor 3 and 4 but change the value of the DOC_TYPE during the RFC calling.


rfc.setParameter("DOC_TYPE", "B"); // Flavor 3 for Inquiry Document

rfc.setParameter("DOC_TYPE", "C"); // Flavor 4 for Quotation Document

 

Flavor 5:


Thishas more work to be done than other Flavors. The first thing is that we have to construct Script buttons in the for of 10x5 to get 50 tiles a shown below

Tile.JPG

Write the Script to call the RFC to get the details of the document and convert it to JSON and also make the JSON model available throughout the session by using session.utils.put method.


session.utils.put("Jsale",sale); //Making JSON file available throughout the session


Attach the script to the onload screen event.


All the Document numbers are placed in the label placed above the script button(Tile).

On clicking the script button the tile number has to be stored in a variable and the group box containing the details of the document has to be displayed.


For example clicking 8th tile will execute the below script


session.utils.put("i","8");

session.utils.executeScript("wnd[0]/scrptPersonas_2");


          Similarly,create a separate javascript and attach it to all the tiles OnClick event


wnd[0]/scrptPersonas_2:


var j = session.utils.get("i");

 

var i = parseInt(j);

var sale = session.utils.get("Jsale");

 

var so = JSON.parse(sale);

* Rest of the code for pasting the document number in the labels please find that in attached file "Flavor_5" *


Next is to make the data change dynamically in the group box when clicking on the next or previous group box

popup_edited.JPG

To move to the next data we can increment the value of "i"


var j = session.utils.get("i");

var i = parseInt(j);

i++;

var new_var = i.toString();

session.utils.put("i",new_var);

session.utils.executeScript("wnd[0]/scrptPersonas_2");


Attach it to the transparent script button placed above the group box placed to the right.


Follow the same to move to the previous data but decrease the value of "i"


Create a copy of the Flavor 5 and create flavor 6 and 7 but change the value of the DOC_TYPE during the RFC calling.


rfc.setParameter("DOC_TYPE", "B"); // Flavor 6 for Inquiry Document

rfc.setParameter("DOC_TYPE", "C"); // Flavor 7 for Quotation Document

 


Everything is set now you can now open the Flavor 1 and drill down from overview of the documents to complete details of specific document.


This is my second blog hope I have shared something useful.

Thank You.





Problem VA01 SAP SCREEN PERSONAS 3 SP 2

$
0
0

Hi community

 

I have some problems with the merger of tables in SAP SCREEN PERSONAS 3 SP 2.

 

The purpose of this is to merge information from two tabs on one. First I insert VA01 transaction with Order type ZPEX.


image 1.png

 

I press the button intro.

 

After that I have to enter the following information on the screen that appears.


Sold-To Party: 100025

 

Ship-To Party: 100025

 

Incoterms: EWX ppp

 

Complete div: checked


image 2.png

 

 

When all data are in the transaction I create a flavor and I put some information out:

 

image 3.png

 

But when I change to the second tab (Item Overview) information previously had taken out of the first tab (Sales) disappears.

 

 

image 4.png

 

So, How I can prevent information disappears?

 

Could anybody help me please?

 

Thanks in advance


Productivity Power Play video series – tips for project success

$
0
0

While most SAP Screen Personas projects result in people having access to simplified screens that improve their productivity and make them happier about using SAP, occasionally this is not the case. If you follow the best practices (widely documented on SCN, our knowledge base, and, openSAP) you can expect a smooth process, with a measurable business outcome. If you ignore our proven tips for success, you may encounter some of the issues we describe in the following Productivity Power Play episodes.

 

episode15.pngProductivity Power Play episode 15: Simplify the Process First (watch now)

Peter Spielvogel and Tamas Hoznek talk about the importance of simplifying your business process first, before you start modifying any screens with SAP Screen Personas or other UX solution. Peter shares what happened when a customer did not simplify their process before building screens.

 

Productivity Power Play episode 16: Know the Product Capabilities and Limitations (watch now)

Tobias Queck and Peter Spielvogel discuss the importance of understanding the capabilities of SAP Screen Personas before defining or changing the scope of a project. Tobias speaks about the importance of setting the right expectations for all stakeholders and tells a story of how feature creep in a project turned delighted users into unhappy customers.

 

Productivity Power Play episode 17: Project Preparation and Design (watch now)

Tamas Hoznek and Peter Spielvogel discuss what must happen before starting the implementation phase of your SAP Screen Personas project. Tamas describes what occurred when the visual design was done without sufficient understanding of the underlying system and SAP work flows.

 

Watch Productivity Power Play episode 15

Watch Productivity Power Play episode 16

Watch Productivity Power Play episode 17

 

See all the episodes.

 

For the SAP Screen Personas product team, Peter Spielvogel.

Starting Flavors from Fiori Launchpad always opens a new tab

$
0
0

Dear all,

 

I need your help to implement SAP Screen Personas Flavors in the Fiori Launchpad.

I followed the steps in the Start Personas Flavors from the Fiori Launchpad - SAP Imagineering - SCN Wiki Guide and also watched the inherent video on Youtube. While configuring the launchpad to implement the Flavors in Fiori, I used the third option (Generic Service) in the Guide while creating the application alias.

Everything works quite well, but when I start a Flavor in the launchpad its always opened in a new tab. So is there any specific configuration to open the Flavors in the same tab? Untill now I already changed the Portalparameter in the transaction LPD_CUST but this hasn't any effect on my problem.

 

I checked the problem in the Internet Explorer, Firefox and Chrome. In all browsers there is always opened a new tab.

 

So can anyone tell me, how I can fix this issue? Are there any special parameters, I have to set?

 

Best Regards

 

 

Screenshots LPD_CUST and catalog configuration:

lpd_cust.PNGkatalog.PNG

Javascript error in scripting for some users, not for others using the same data

$
0
0

Hi experts,

 

I have an issue that is driving me crazy at the moment and was wondering if anyone else may have an idea as to what the issue may be. I am in final UAT testing for a project that is due to go live in a few weeks time so am now under a bit of pressure, just to make this more fun.

 

Basically, I have a script that goes to a transaction (this is a custom transaction so I wont say the name as this wont help).

Once here it stores the contents of the table and returns them to the main smen flavor that I have built. The javascript within the script looks like this:

 

javascript.png

javascript 2.png

Finally it pastes the values (not shown here).

 

Now this all works for me 100% of the time. However when my colleagues run the same script, using exactly the same data as me, they all get a scripting error at the same point:

 

javascript 3.png

The line in question appears to be fine, and as mentioned previously, I do not get this message:

javascript4.png

 

has anyone got any ideas as to where I may start to look to resolve this?

 

many thanks,

 

Ian

ME53N - Drop down menu

$
0
0

Hi everyone,

 

We would like to write a script which retrieves the purchase requisitions created by the user when he start the transaction ME53N. The script will be attached to the onload event. To do this, we use the drop down menu Selection variant > My purchase requisitions :

 

 

Unfortunately, the id of the entry My purchase requisitions changes when the transaction is restarted and, thus, the execution of the script failed. For example:

 

wnd[0]/shellcont/shell/shellcont[1]/shell/dropmenuSELECT/shell/item00155D047C711ED682F15A2DD98340CENEWREQ_BY_USER_QUERY

 

becomes

 

wnd[0]/shellcont/shell/shellcont[1]/shell/dropmenuSELECT/shell/item00155D047C711ED682F1602F577860CENEWREQ_BY_USER_QUERY

 

I read in the wiki Screen and Control ID Overwrite Concept in Personas 3.0 - SAP Imagineering - SCN Wiki that this behavior can be corrected by the control ID overwriting mechanism. So, I add the following rule in the Control Overwrite Maintenance table:

 

 

but it does not work... Probably because I did not understand how it works...

 

Could you help me on this ?

 

Version: Personas 3.0 SP 2.0

 

Best regards,

Nicolas

How to convert in to Java script array

$
0
0

Hi Experts, How can i convert  for example (1;2;3)  to Java script array [ "1"  , "2"  , "3"  ]; Another example (1,9,12,36,25)  to  ["1" , "9" ,"12" ,"36" , "25" ] I will have opening and closing brackets (  , )  with  1;2;3 .  so it  will be (1;2;3)  . Is there a Function module in Java script ? Best regards, pradeep.

Viewing all 3616 articles
Browse latest View live


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