cancel
Showing results for 
Search instead for 
Did you mean: 

I have a Enhancement for F3302 App

VictoriaCarmona
Explorer
0 Kudos

Hello Guys,

I need to make an enhancement for F3302 app Reconcile GR/IR Accounts.  I copied a standard CDS FAC_GRIR_RECONCILIATION_SRV and I publish like this.@OData.publish: true define view ZODATA_RECONCILIACION_CDS as my new Odata .

I downloaded the source code F3302 App standard with the SAPUI5 name FIN_GRIR_ALP and upload in BAS.

I modified the Manifest.json file the next code:

"resources": "resources.json",
        "dataSources": {
            "mainService": {
                "uri": "/sap/opu/odata/sap/ZODATA_RECONCILIACION_CDS/",
                "type": "OData",
                "settings": {
                    "annotations": [
                        "FAC_GRIR_RECONCILIATION_ANNO_MDL",
                        "localAnnotations"
                    ],
                    "localUri": "localService/metadata.xml"
                }
            },

I need two things for my enhancement:

1. add filter 'Account' in the App F3302.

I added this filter in the CDS view.

I don't know how can I see the filter in the Fiori App?, in the manifest. Json I put the New OData, but the application doesn't call the new OData. 

v_18010177_1-1714948172861.png

go to the terminal with npm run start command, but I see the OData Standard and I don't see the new filter.

v_18010177_0-1714946716128.png

I need to call the ZODATA.

Thanks in advance.

Best Regards

 

 

 

 

 

 

 

 

 

 

 

ArcherZhang
Advisor
Advisor
0 Kudos
hi, what is your BAS run configuration? Anyhow, copy the SAP standard is not a good approach, as you will not get the latest feature/correction from SAP. So you should do it via extension: 1. metadata extension - you missing @Consumption.filter; VH annotation, as you already added, 2. SEGW project extension - to expose that VH CDS view entity to OData service.

Accepted Solutions (0)

Answers (1)

Answers (1)

VictoriaCarmona
Explorer
0 Kudos

Version: 1.87.1
Commit: 
Date: 2024-04-04T07:11:26.010Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

i was trying to make other solution with create an Adaptation Project in SAP Business Application Studio and then implement the extension using Visual Editor. I can see the filter Account Assigment Category.

1. add filter account

VictoriaCarmona_1-1715782328634.png

But with this filter the customer want to implement the logic 

BSEG- BLART=’WE’ or BSEG- BLART=’WA’
&& BSEG-BSCHL≠’96’
&& BSEG-HKONT=’account entered’

is there possible with adaption Project?

the other requirement is to

2. add additional columns within the standard, what is the kind of project to make that?

a.create an adaptation project?

b.copy the existing project with program /UI5/UI5_REPOSITORY_LOAD, executing from SE38

in the backend

a. what is the step by step for making, i need to copy the Odata in SEGW or the CDS View and publish in Eclipse?

VictoriaCarmona_2-1715782629588.png

 

 

Thanks 

SAP BTP, ABAP environment SAPUI5