cancel
Showing results for 
Search instead for 
Did you mean: 

MBO rezult on start screen

Former Member
0 Kudos

How I can call MBO when application started?

I have choice on start screen and data in choice should be from SAP.

thank

Accepted Solutions (1)

Accepted Solutions (1)

tahir_z
Contributor
0 Kudos

Hi,

Are you developing native or hybrid app ?

Regards

Tahir

Former Member
0 Kudos

hybrid app!

tahir_z
Contributor
0 Kudos

on Beforeworkflowload event you can call your action by adding following method ;

menuitemCallBack+<ScreenKey>+<actionKey>();

Regards

Tahir

Former Member
0 Kudos

Thank you ,Tahir.

I am new to SUP and hope you will help me . So I did following:

    1. add to start screen menu item with key - show_all ; type - Online request ; MBO - mbo_on_start/Customer ; default success screen : Start.

     2. On screen I add Choise element with properties : key - choose_name ; Options: Dynamic (Value key - Customer.Customer_id_attibute; Display name 0 Customer.Customer_fname_attribkey).(If I change default success screen for menu item, here Dynamic data will be empty. )

     3. I add to customBeforeWorkflowLoad function menuItemCallbackStartshow_all(); before return true;

     When I start application choise is empty. But after I put on menu item my choise become filled .

     Also I tried to mark "Sent from server" for choise key and choose mbo and attribute . But it did not work.

     How to fill Choise element when app start(not put item).

tahir_z
Contributor
0 Kudos

Hi  Denysyuk,

Following sample dealing with choice elements. I think this will help you -  https://cw.sdn.sap.com/cw/docs/DOC-148888

Regards

Tahir

Former Member
0 Kudos

Thank you ,

Former Member
0 Kudos

Maybe you also can help me with one more unsolved question)

http://scn.sap.com/thread/3285513

thank in advance)

Answers (0)