Skip to Content

Extending a S/4 Fiori app (Create PR)

HI All,

I am trying to extend the S/4 Fiori App "Create Requisitions". I want to extend the length of one of the properties (PurReqnItemLongtext) in this app.

I see that this property is part of a database table(DRAFT_PR_HEADER), which is used to create a CDS view(I_Purreqnitemtext_Wd), which has BOPF annotations and the corresponding BOPF object is also generated and present in the system.

My question is where do I start enhancing the OData service?

I tried several ways but seem to hit dead ends. Any ideas?

I tried as below

- Redefine of the OData service. But this fails with errors (SEGW to blame)

- If I extend the DRAFT_PR_HEADER with a new property, and add it to the CDS views (via CDS extensions), will the BOPF get updated? Also how to redirect the OData service to point to this new property?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 23, 2017 at 04:21 AM

    Hello Krishna,

    I would suggest to change the draft table first activate the view -> which will result in the BO Correction and then try an regenerate the Odata

    also note the below 2 points I have observed .

    • I can see a draft table with field PURREQNITEMLONGTEXT in draft table DRAFT_PR_ITM_TXT which is already 256 char long
    • I cannot see the same property in draft table DRAFT_PR_HEADER , instead it has PURCHASEREQUISITIONSSPTEXT and PURREQNDESCRIPTION
    Add comment
    10|10000 characters needed characters exceeded