Quantcast
Channel: SCN: Message List - SAP S/4HANA
Viewing all articles
Browse latest Browse all 1361

Extend/Customise a Fiori FactSheet app on S/4HANA 1511

$
0
0

Hello,

 

I have a requirement to extend and customise the Purchase Order factsheet app on S/4HANA 1511.

 

Two requirements:

  • Add the field SLFDT - Scheduled Statistical Delivery Date to the PO items table
  • Hide/remove the Net Order Value field

1.png

I have found this documentation here for extending FactSheet apps on Business Suite, but I cannot find the equivalent for S/4HANA, and from my understanding the logic does not translate.

 

For the first requirement I have done the following:

  • Copy the DDL Sources through eclipse and create Z versions which include the new field:

2.png

  • Create a new Gateway service from the new Z DDL Source, which returns the new field:

3.png

The URL which the "standard" app uses has had to be modified to get this additional field of data:

 

/sap/opu/odata/sap/ZLS_BAE_PO_TEST_SRV_01/ZC_PurchaseOrderFs('4500000005')/to_PurchaseOrderItem?$skip=0&$top=10&$select=PurchaseOrderItemText,MaterialGroup,MaterialGroup_Text,Material,Material_Text,Material,FirstDeliveryDate,PurchaseOrderQty,PurchaseOrderQuantityUnit,SchedDeliveryDate,PurchaseOrderNetPriceAmount,Currency,PurchaseOrderNetPriceQuantity,PurchaseOrderPriceUnit,PurchaseOrderNetAmount,PurchaseOrder,PurchaseOrderItem&$inlinecount=allpages

 

 

But now I want to consume the NEW service, with the two new Z entitysets (ZC_PurchaseOrderFs and ZC_PurOrdItemEnh) in a copy of the factsheet app.

 

I downloaded the app and got it running locally (see screenshot above of app running locally in sandbox) and then I tried to change my apache config to point to the NEW service:

4.png

And in the manifest I changed the name of the "header" entityset to ZC_PurchaseOrderFs.

But I just get a blank screen. No console errors, not network errors....

 

The downloaded app appears to having nothing in it! There are no views or controllers to manipulate.. So how can I update the app?

 

 

 

Any suggestions would be welcome. In old-style Fiori apps making changes like this were easy, but it seems to not be the case in S/4HANA, with the CDS-view-generated Gateway services, and the apps..

 

Thank you,

Lindsay


Viewing all articles
Browse latest Browse all 1361

Trending Articles



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