cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Programming Model for SAP Fiori : BOPF on VBAK

Joseph_BERTHE
Active Contributor
636

Hello,

I need some insigth on BOPF inplementation. I want to create a simple Sales Order transactional application by following the example from the help.

But what I want is not using EPM demo table (which is not the real life) but VBAK and VBAP.

When the BOPF is generated, I want to bypass the "normal" behavior of the API by using the BAPI : BAPI_SALESORDER_CREATEFROMDAT2.

Do I have to create a Determination, if yes, how to stop the database writing process and replace it by the BAPI.

Because at this point, my BOPF is linked to VBAK.

Thanks,

Joseph

0 Kudos

Did you find an answer for this question ?

Joseph_BERTHE
Active Contributor
0 Kudos

Not yet, but for bopf, the best way is having a SAP BASIS 7.52... otherwise it is not stable.

Accepted Solutions (0)

Answers (1)

Answers (1)

vodela
Active Participant
0 Kudos

One way is to create Ztables with the fields that you plan for the VBAK and VBAP and then look at the CRUD methods that are callled in the implementations and redefine these methods or do enhancments to call the bapi and skip the Ztable CRUD . It is possible there could be a better way.

Ramesh

Joseph_BERTHE
Active Contributor
0 Kudos

Thanks for your answer,

But if you say rigth, it means that there will be doublon with the ZTable.

At least, how to skip the record to the ZTable ? (probably it is a dumb question, but I'm new in BOPF API).

Regards,

Jospeh

vodela
Active Participant
0 Kudos

See the url

https://blogs.sap.com/2018/02/18/abap-programming-model-for-sap-fiori-a-tutorial/ -

in the section custom business action ‘ZTOGL_URL_SLASH’ - this should help you to figure out.

Ramesh