Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FBI Transaction Handler Class

Former Member
0 Likes
1,793

Hi experts,

I've done some basic implementations with FPM BOPF Integration and was wondering how the standard BO CRUD operations must be implemented. So far, I based myself upon the very good introductory document by Matan Taranto, but the guide neither SAP help explain how to handle CRUD operations.
Via, for example, a list GUIBB I can add a toolbar button and link it to one of the node's CRUD actions (SAP help, "Configuring a BO Action"). Unfortunatelly this button is only enabled for custom actions I created for that BO's node, not for its standard CRUD actions. The FPM application warns me that the Transaction Handler Class (Wire schema) is missing and I suspect this is cause of the problem. Do we have to create this transaction handler class ourselves? How do we link it to the BO's service / transaction manager?

Many thanks in advance!

Kind regards,

Bjorn

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,136

HI Bjorn,

The CRUD implementation is provided by the FBI framework, and does not require any additional coding.

For Create you can add a toolbar button on the list UIBB and assign it the event FBI_CREATE.

For Update you just open the screen to edit (add Edit button to global toolbar), and the changes on the UI will be passed to BOPF with any roundtrip, and will be saved when the transaction is saved.

For Delete you can add a toolbar button on the list UIBB and assign it the event FBI_DELETE.

If you want to create the root instance, you need to open your application in CREATE_MODE = 'C' (add it to the URL). for this to work, you must use the BOOTSTRAP feeder class to connect between the initial screen and the main screen (you can follow the introduction document to FBI to learn how to add the BOOTSTRAP UIBB).

BR,

Matan.

4 REPLIES 4
Read only

Former Member
0 Likes
1,137

HI Bjorn,

The CRUD implementation is provided by the FBI framework, and does not require any additional coding.

For Create you can add a toolbar button on the list UIBB and assign it the event FBI_CREATE.

For Update you just open the screen to edit (add Edit button to global toolbar), and the changes on the UI will be passed to BOPF with any roundtrip, and will be saved when the transaction is saved.

For Delete you can add a toolbar button on the list UIBB and assign it the event FBI_DELETE.

If you want to create the root instance, you need to open your application in CREATE_MODE = 'C' (add it to the URL). for this to work, you must use the BOOTSTRAP feeder class to connect between the initial screen and the main screen (you can follow the introduction document to FBI to learn how to add the BOOTSTRAP UIBB).

BR,

Matan.

Read only

0 Likes
1,136

Matan Taranto wrote:

If you want to create the root instance, you need to open your application in CREATE_MODE = 'C' (add it to the URL). for this to work, you must use the BOOTSTRAP feeder class to connect between the initial screen and the main screen (you can follow the introduction document to FBI to learn how to add the BOOTSTRAP UIBB).

BR,

Matan.

Hi Matan,

I've followed this document, added the CREATE_MODE='C' to the URL but still can't make to work. Any thought?

Cheers,

Custodio

EDITED: just realized it should be CHANGE_MODE=C. Found it in a comment you made in another thread. Cheers.

Read only

0 Likes
1,136

Hi Matan,

adding the CHANGE_MODE=C parameter indeed does te trick.  Thanks a lot!

KR,

Bjorn

Read only

0 Likes
1,136

My apologies for the typo,

thnak you for the correction and update.