on 03-24-2016 10:07 PM
Hello Experts,
Recently, I got the standard My Spend app to work on a clients landscape. It works great. They are happy with the launchpad and the App. They just need one small change.
My client is in the public sector and they track budget by storing it in a different table than the private sector would, COSP vs FMBDT. They each hold a range of total budget values. For My Spend to work for this client the OData simply needs a different SQL statement.
However this is one of the first 25 apps that were made before Service Builder. Lindsay Stanger wrote a great post about this issue here. http://scn.sap.com/community/mobile/blog/2013/11/08/were-the-fiori-apps-designed-to-be-extended-here... I tried using Service Builder. It didn't work.
Thanks to the link above, I understand that instead of using Service Builder, OData must be extended using a BAdi. While searching found this link Fiori apps Badi http://scn.sap.com/docs/DOC-48765 However, there are no enhancement Spots for the My Spend app listed in that post. Is there a guide to creating a Badi for OData?
There is a document that discusses BAdis and OData, “Adding custom fields to SAP Fiori apps in 3 steps. OData fields extensibility” When I tried applying those steps to se80 package P_SRA012 there wasn’t any header information and it wouldn’t let me Append Structure.
Any guidance would be appreciated,
Suess Shelton
Hi Suess,
If you are interested on the BADIs available for the Fiori application "My Spend", I would recommend taking a look at the following link:
App Extensibility: My Spend - SAP Fiori principal apps 1.0 for SAP ERP - SAP Library
In the case there is no standard badi for that app that applies with the changes you desire to do, I think the only solution you have is to modify the standard odata service to include the SQL statement you need.
Best Regards,
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suess,
I recommend you to create an implicit Enhancement Point.
You can read about Explicit/Implicit Enhancement points in the following link:
When you create an Implicit Enhancement point, you should be asked for a transport order like in the following post:
How To Do Implicit Enhancement - ABAP Development - SCN Wiki
SAP Implicit enhamcement points - ABAP
Could you please follow the steps above, and tell me if you were asked t ointroduce a transport order?
Best Regards,
Emanuel
Emanuel,
I didn't see anything about a transport order.
I tried following the instructions you provided but they didn't apply. I'm trying to add an enhancement point to package P_SRA012. When I try to create an implicit implementation I'm told "Changes to Repository or cross-client Customizing are not permitted."
How do I create a BAdi to adjust the OData?
Could someone please confirm that Service Builder absolutely cannot be used for Wave 1 My Spend? I thought SAP was supposed to be backward compatible.
Great to hear that Suess.
How did you solve it?
Did you create the enhancement point in se24 t-code?
If that's the case, please mark the answer as correct so it can help other pepople that has the same problem as you.
Regarding the error you are getting: "User or password is incorrect for target system." I think is related with the password in the backend system.
In case you are using a central hub architecture for the SAP Netweaver gateway, you have to define the same user and password in the Backend/Gateway systems.
Anyway, this topic should be discussed in a new thread.
Regards,
Emanuel
Experts,
Could someone please confirm that Service Builder absolutely cannot be used for My Spend? I thought SAP was backward compatible.
Suess
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.