Quantcast
Channel: SCN : All Content - SAP Fiori
Viewing all 1807 articles
Browse latest View live

I am trying to build a Fiori App ( smart template ) with breakout.

$
0
0

Need to navigate between two smart template worklist. In the first smart template worklist i have created a table button named "copy" and slo enabled multiple select for the table. I need to select multiple records form the table and click on " copy", when i click on copy i should navigate to other fiori smart template loading the records selected from the first workslist.


How to Enhance my Team Application in Fiori

$
0
0

Hello,

 

We have a my team application in SAP Fiori. But It is showing 2 windows which our business don't like. I would like to know will 2 windows is the default provided by SAP.

 

and also, I would like to know how to suppress any one of the two windows.

 

 

Please check the files attached. there is only separator is there added in second page by SAP.

Future support for web assembly

$
0
0

Hello I recently read about something called web assembly that Microsoft and Firefox are supporting. We can compile C\C++ code to .wasm file that is JavaScript binary that can run as web app. Now that's what I understood. So, is SAP planning something like that.

 

I have really started appreciating Fiori templates and the ability to use OData annotations magically with almost no JavaScript coding knowledge required unless some one wants to create something out of the box. Using sap.m librarybis cool simple oop concepts and i can use them now mildlybwith 0 javascript mastery. Thanks to the amazing openSap trainers. But I want SAP webide to provide more flexibility and controls in the layout editor including simple options to navigate between views and apps with wizard based development approach like we had for module pools etc. Dear SAP please innovate the core ABAP based screens too they are such fun and powerful stuffs and if you can think about something like this web assembly with abap support, it would be cool.

 

Regards,

Prasenjit

Extending a Fiori App - Simple Use case - Part 1

$
0
0

I would like to share my experience in extending Fiori Apps and at the same time will show some of the significant steps which need to be performed when extending a Fiori App. As I got access to a CRM system, I will demonstrate with a simple use case as to what effort is required to add a field to one of the apps – “My Appointments”. “My Appointment” app typically displays the appointment records which can be displayed via CRMD_ORDER SAP GUI transaction.

 

Fiori Appointment Overview screen

1.jpg

Fiori Appointment Detail

 

screen

2.jpg

The counterpart SAP GUI transaction looks like below.

3.jpg

Let’s take an example where the requirement is to add few additional fields at the bottom of the Fiori Detail screen. The Category field is available in SAP GUI but not on Fiori screen.

 

To enhance this, there are three pieces of activities which need to be performed

  1. Extend the Standard Appointment OData service and put in the logic to retrieve the additional fields
  2. Extend the SAPUI5 Fiori Appointment application
  3. Display the new enhanced application to the user via the new Launchpad

 

I will cover the first topic in this article and the remaining as separate articles shortly

 

Extend the Standard Appointment OData service

 

It’s always good to start with SAP Help documentation to identify the components of each Fiori App.

 

http://help.sap.com/fiori_bs2013/helpdata/en/f4/394452aeeeb710e10000000a44176d/content.htm

 

Open the project in SEGW to explore the components.The Standard service which needs to be extended is “CRM_APPOINTMENT” and the entity is “Appointment”.

 

4.jpg

 

Before enhancing the service, please read the documentation on “Use cases for redefining OData Services” - http://help.sap.com/saphelp_gateway20sp08/helpdata/en/34/4e3d5269a2b610e10000000a44176d/content.htm?frameset=/en/3d/500cb8468d4534ae4130aecf680dbb/frameset.htm

 

Each entity is bound to an ABAP structure. From the help document, you should be able to find if there is an Include within the structure for extension. The Appointment entity is bound to the structure “CRMS_APPOINTMENT_ODATA” and it has an include “CRM_APPOINT_ODATA_INCL”. Add the new fields like Category within this structure.

 

5.jpg

With this, the DDIC part is enhanced. Next, create a new project as shown below in SEGW

6.jpg

Redefine it by using the below option

7.jpg

Provide the standard OData service as shown below

8.jpg

Select all the objects in the pop-up and you should see the below screen

9.jpg

Open the properties for the Appointment entity and add new entries for additional fields like Category.

 

Generate the project and provide values for the DPC/MPC classes

10.jpg

Add the Service via /IWFND_SERVICE_MAINT

11.jpg

After the service is added, you should be able to test by clicking on “Gateway Client”

12.jpg

In the gateway Client (/IWFND/GW_CLIENT) , retrieve the metadata of the service to confirm if the new fields have been added to the entity.

13.jpg

 

Next, we need to put some logic to populate the field values. Always look for enhancement spots to see if they meet the requirements. If not, open the  DPC_EXT Class (ZCL_MYAPPOINTMENT_DPC_EXT) class which was generated and redefine the APPOINTMENTSET_GET_ENTITY. If we were to add some fields to the Fiori overview screen, we would have to redefine the APPOINTMENTSET_GET_ENTITYSET (which returns a collection of Appointments for the list screen).

 

After analysing the code, You can have either of the below approaches within the methods which are to be redefined:

  1. Call the corresponding SUPER method to ensure that standard SAP code is executed. After invoking the SUPER method, you can add the custom code to perform operations for additional fields.
  2. Copy the standard code from the corresponding SUPER method and amend it with logic to perform operations for additional fields.

Keep in mind that SAP might be enhancing the standard structure by adding or removing fields in higher versions. Hence, we need to accordingly redefine the methods to minimize any impact during an upgrade.

14.jpg

Since there is a BADI – CRM_APPT_ODATA_BD within an Enhancement spot, we could use that BADI to put in our logic in the GET_APPOINTMENT method.

15.jpg

Once the data for additional fields are retrieved use the Gateway client to run the service and check if the collection of Appointments has the category details too.

16.jpg

 

It is very important to understand that before any OData service enhancements occur, it is best for the developer to debug the calls which come into the system from the Fiori App. Very often we make assumptions only to find at a later stage that the way in which the Fiori App makes a call to the backend is different to what we thought. For example a PATCH_ENTITY method could be invoked rather than an UPDATE_ENTITY. The way in which one Fiori App is developed may differ from another. It’s best to set a break point and explore how the calls come into the backend system.

 

The remaining parts of this article can be found in the below links.

Extending a Fiori App - Simple Use case - Part 2 (UI Extension)

Extending a Fiori App - Simple Use case - Part 3 (Launchpad Setup)

KPI modeler

$
0
0

We have a SAP HANA(1.00.094.00.1427101515) and an ERP on it. We although installed FIORI Smart Business. Our Basis did configure SAP HANA, SAP WebDispatcher, SAP Frontend Server / SAP Backend  Server (same server) and FIORI Launchpad.

 

But when we launch fiori via launchpad, we see that the KPI Modeler doesn't start up. We see only blank KPI Tiles (see picture belo)

 

 

Further, we did debug and figure out that that our GET is failing with 404 error...

 

the respective URL is as below:

http://xxxxxxx.xxxxxx.xxx.xxx.com:50003/sap/hba/r/sb/core/odata/modeler/SMART_BUSINESS.xsodata;o=HANA/Catalogs(%27HANA_C…

we went ahead and checked our services in backend, fixed couple of OSS notes but still the issue continues...

 

Can any one help here?

Manage Contract App

$
0
0

Hi,

Currently the Manage Contract App is only for useful if you're using Value Contract. Is there anyway to change the Consumed/Target Value and Consumption Percentage to keep track of Quantity contract?

Current feature is really limited.

 

SCN 01.jpg

How to configure SAP S/4 HANA , Cloud Edition Apps ?

$
0
0

Hi Experts,

 

I have 2 queries .

 

1) I have requirement to configure MANAGE SALES QUOTATIONS APP in Fiori.

   Please help me how to configure this type of app in Fiori.

   Because there is no information in Fiori Apps Library to configure this app.

   I am sharing the below screen shots for the app.

 

ms1.PNG

 

ms2.PNG

 

2) Is it possible to configure Smart Business App in HANA 1503 .

    I want to configure Retail Promotion Execution Cockpit - Issues per Area of Responsibility app in Fiori.

    Could please let me know how to configure this app in 1503/1511.

 

 

 

 

 

Regards,

Parthasarathi Panda

Error in Routing from one page to another .

$
0
0

err.PNG

I have made one Fiori application and i am getting this error when I navigate from FirstPage to AdmitList page . Can anyone help me to solve this error ?

 

Below is the code that I have added in my manifest.json:-

"routing": {

  "config": {

  "viewPath": "assistant.view",

  "controlId": "app",

  "parent": "FirstPage.view.xml",

  "viewLevel": 0,

  "controlAggregation": "pages"

  },

  "routes": [{

  "name": "FirstPage",

  "pattern": "",

  "greedy": true,

  "target": ["AdmitList", "AppList"]

  }, {

  "name": "AdmitList",

  "pattern": "",

  "greedy": true,

  "target": ["Noel", "Reginia"]

  }],

  "targets": {

  "AdmitList": {

  "viewType": "XML",

  "transition": "slide",

  "viewName": "AdmitList",

  "parent": "FirstPage.view.xml",

  "viewPath": "assistant.view"

  },

  "AppList": {

  "viewType": "XML",

  "transition": "slide",

  "viewName": "AppList",

  "parent": "FirstPage.view.xml",

  "viewPath": "assistant.view"

  },

  "Noel": {

  "viewType": "XML",

  "transition": "slide",

  "viewName": "NoelBesser",

  "parent": "AdmitList.view.xml",

  "viewPath": "assistant.view"

  },

  "Reginia": {

  "viewType": "XML",

  "transition": "slide",

  "viewName": "Reginia",

  "parent": "AdmitList.view.xml",

  "viewPath": "assistant.view"

  }

  }

  }


in Fiori Page

$
0
0

Hi,

How to replace the Login ID with the 'Welcome <FirstName>+<LastName>' in the shell of the SAP Portal's Fiori Standard Header.

 

Regards,

Narendra.

Approve leave request Odata services issue.

$
0
0

Hi All,

 

I have configured Approve leave request fiori app,while executing  Odataservices is front end system i got the error messages like as "Syte error message:the current application has triggered a terminatio"

 

Odata service name :/GBHCM/LEAVEAPPROVAL.

 

Please check attachment and kindly provide a solution for this.

 

Thanks

Vijay.

Purchase Orders Approved from Fiori don't update in backend

$
0
0

Hello,

We are facing a problem in the production system where FIORI app is setup for Purchase Order Approval and Tracking. A month ago we detected that users who usually approve orders through FIORI don't release the purchase order in SAP Backend.

Here I detail the analisys performed:

 

Gateway Error Log shows a backend error, no authorization for a release process.

 

2016-04-18_16-51-33.jpg

This is the error Context:

 

@3T\QCollapse                                @.ERROR_CONTEXT
..ERROR_INFONo authorization for a release process
@3T\QCollapse                                @..ERROR_RESOLUTION
...SAP_NOTESee SAP Note 1797736 for error analysis
...LINK_TO_SAP_NOTEhttps://service.sap.com/sap/support/notes/1797736
@3T\QCollapse                                @..SERVICE_INFO
...NAMESPACE/SAP/
...SERVICE_NAMEGBAPP_POAPPROVAL
...VERSION0001
...SYSTEM_ALIASPRDCLNT500
...DESTINATIONNONE
@3T\QCollapse                                @..SYSTEM_INFO
...REQUEST_ID005056931E601ED681B2F1B3B77B70B9
...REQUEST_URI/sap/opu/odata/SAP/GBAPP_POAPPROVAL;mo/ApplyDecision?sap-client=500&amp;SAP__Origin=%27LOCAL%27&amp;WorkitemID=%27000000020942%2
...REMOTE_ADDRESS127.0.0.1
...APPLICATION_SERVERerpprdas_PRD_01
...HUB_VERSION_INFOSystem PRD/500, NW Release 7.40, SAP_GWFND SP10, Internal GWFND Version 011
...BACKEND_VERSION_INFOSystem PRD/500, NW Release 7.40, SAP_GWFND SP10, Internal GWBEP Version 011

 

In the backend monitor I see the following in the  Application Log:

 

2016-04-18_14-52-30.jpg

I've tried a Replay from SAP Netweaver Application Log for the HTTP POST, but it didn't help either, it returned same information about the lack of authorization for the release process.

 

2016-04-18_15-41-23.jpg

 

 

Then I switched on the system trace to get more details on, because I got confused with the error message I see in the Gateway Log where it says the user has no authorization for a release process but in the GW App Log the error is: "The Data Service Request could not be understood due to malformed syntax".

The trace analysis didn't show any authorization error, but what I found at the exactly error time is this kernel error:

 

2016-04-18_16-55-18.jpg

 

15:58:20,365 BUFF          7 TOLE             Prog: SAPLOLEA Row: 1.522 Buffer: I SearchString SAP.DATAPROVIDER.1              3E

15:58:20,365 BUFF          1 TOLE             Prog: SAPLOLEA Row: 1.523 Buffer: I SearchString

15:58:20,365 BUFF          1 TOLE             Prog: SAPLOLEA Row: 1.528 Buffer: I SearchString

15:58:20,365 BUFF          3 TOLE             Prog: SAPLOLEA Row: 1.544 Buffer: I SearchString SAP.DATAPROVIDER.1              3E

15:58:20,365 BUFF          1 TOLE             Prog: SAPLOLEA Row: 1.545 Buffer: I SearchString

15:58:20,365 BUFF          1 TOLE             Prog: SAPLOLEA Row: 1.550 Buffer: I SearchString

15:58:20,365 CMOD            rscpLengthOfBasi Parameter:

15:58:20,365 CMOD            GetCPInfo        Parameter:

15:58:20,365 CMOD            rscpKindiOfCP    Parameter:

15:58:20,365 CMOD            GetCPInfo        Parameter:

15:58:20,365 User            @(#) $Id: //bas/ Row: 2.359  Comment: rscpe__error 32 at rscpu86r.c(13;213) "dest buffer overflow" (,)

15:58:20,365 User            @(#) $Id: //bas/ Row: 2.359  Comment: rscpe__error 32 at rscpc   (20;12369) "convert output buffer over

 

Any idea what is the reason or which buffer refers the overflow?

Unable to configure Northwind Odata in my SAP WEB IDE Trail version

$
0
0

Hello!!

 

I am trying to configure Northwind gateway on my Orion Eclipse SAP WEB IDE

 

Here are the details

 

Description=Northwind Odata


Type=HTTP

Authentication=NoAuthentication

WebIDEUsage=odata_gen

Name=northwind

WebIDEEnabled=true

Cloud Connector Version=2

URL=http\://services.odata.org

ProxyType=Internet

WebIDESystem=northwind

 

When I try to configure on service URL, it shows following message:

 

Cannot process the request due to failure in Odata service"

 

I am attaching the screenshot. Please check it.

 

Regards,

Raghu

Scenario problem in My Inbox

$
0
0

Hi,

 

I have problem in My Inbox aplication. We use two System alias.

We added system alias to "Task Gateway Service version 2.0" in Maintain Services.

I define task definaton for Scenerio as below. But it does not work true. I don't want to see "TS90000001" Task in My Inbox what I didn't define in Task Definiton for Scenerio.

 

Best regards,

 

Task Defination for Scenario

SAP System AliasTask Type
System_Alias_1TS90000001
System_Alias_1TS90000002
System_Alias_2TS20000001

 

 

SAP Bussines Workplace (Inbox-Workflow) - ECC

System_1System_2
TS90000001TS90000001
TS20000001

 

My Inbox Fiori Application (Version 2)

SAP System AliasTask TypeNote
System_Alias_1TS90000001True.
System_Alias_1TS90000002True.
System_Alias_2TS90000001This task is wrong. Because we didn't define "TS90000001" for System_Alias_2. I don't want to see in My Inbox application.
System_Alias_2TS20000001True.

Fiori Single Sign-On

$
0
0

Hi community,

 

We need to make integration between our SAP Fiori app, and a HYBRIS application, so that when the user logs into the HYBRIS app and navigates to the Fiori app later on, we don't show the login screen again, but instead use the SSO or similar technique that will allow us to pass the credentials (or certificate) to SAP backend and tell the system that the user is already logged in and proceed with using the Fiori application.

 

The scenario will always be: 'the user logs into the hybris app, then navigates to the Fiori app', so in this case we'll need to make some sort of mapping of the users and credentials between the hybris and fiori apps.

 

Do you have any suggestions or useful info on how can we implement SSO with fiori and another external application (hybris in this case) or what's the best solution to our problem?

 

Thanks!

Additional fields required in factsheet


Tiles not Visible in Fiori Launchpad NW 7.4 SP10

$
0
0

Hi All,

 

I upgraded my NW 7.4 from SP8 to SP10.  After that I'm unable to see the tiles already existing inside the FIori Launchopad Homepage.

 

AN di Get the Following error after Login.

 

Error 500 in response for URL /sap/bc/ui2/start_uperror.jpg

 

I also activated the Service inside SICF previously.

 

Kindly Help me.

 

 

 

Regards

KArthik

FIORI Logout not successful : Outside domain

$
0
0

Dear Consultants,

 

We have successfully configured and implemented FIORI applications for one of out client but we are facing one issue with logout page .

 

Screenshot for your reference :

 

Capture.JPG

 

Normally it should re-direct to login page but its not happening but we are getting above msg everytime, what can be done for this , your suggestions are highly appreciated.

 

Note : We have set the required parameter for logoff page parameter in system, so when we try in local domain , its happening but not while doing in outside domain.

 

Thanks & Regards,

BASIS.

LPD_CUST Navigation Mode Behavior

$
0
0

Hello,

 

I am trying to open my custom SAPUI5 app in the Fiori Launchpad as a headerless window.  I have tried every "Navigation Mode" option in LPD_CUST, but it is leaving the header in place when the app is opened in both Microsoft Edge and Microsoft Internet Explorer.  In Chrome, the header does not appear when the app is opened, like expected.  Does anyone have a suggestion in how to get this desired behavior in Internet Explorer?  Below are screenshots demonstrating the issue and settings:

 

Internet Explorer 11.0.30:

IE.PNG

 

Google Chrome 49.0:

Chrome.PNG

 

LPD_CUST:

lpd_cust.PNG

 

 

Thanks for your help!

-Owen

Using Fiori without SAP User account be HTTP documents.

$
0
0

Hello, is it possible with a non SAP user to share a SAP Workflow steps trigger using Fiori. A customer wants to implement an invoice approval workflow and he has a large number of staff that should make the release, but even without access to SAP  system. We think to use Fiori and send as e-mail  / emailing http document and get the feedback into our workflow. Is it possible or is the SAP user ( or group) essential to need?

Fiori HCM:Direct reports missing in Employee Lookup App..

$
0
0

Hi Experts,

The direct reports of manager are missing in Employee Lookup Fiori application.

 

If i click on "Reporting line" below giving the top level managers correctly.But the direct reports are missing.

 

 

 

Employee Lookup Fiori App.JPG

 

Please let me know if anybody fixed this issue.

 

 

Thanks for your reply in Advance.

 

Thanks,

Aneel.C

Viewing all 1807 articles
Browse latest View live


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