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

Triggering Actions in BOPF API

thirus11
Participant
0 Likes
4,095

Hi All,


I am trying to pass the name of the action along with its parameters to the DO_ACTION() method of the/BOBF/IF_TRA_SERVICE_MANAGER interface. But the action is not getting triggered. Instead it is filling the failed key table. The key which i am passing is the BO key of my custom object Z***********=>SC_BO_KEY


Please help me out, is there something which i am missing.


Regards,

Thiru

1 ACCEPTED SOLUTION
Read only

former_member192467
Active Participant
0 Likes
1,519

Hi,

Please find below a helpful URL. Please check if it can resolve your issue:

Regards,

Renjith Michael

4 REPLIES 4
Read only

former_member192467
Active Participant
0 Likes
1,520

Hi,

Please find below a helpful URL. Please check if it can resolve your issue:

Regards,

Renjith Michael

Read only

0 Likes
1,519

Hi Renjith,

Yeah i have already gone through this link. These blogs by James helped me alot.

I have fixed the issue small error from my side while coding.

Thanks for your help!!

Regards

Thiru

Read only

Clemenss
Active Contributor
0 Likes
1,519

Hi,

Thank you for sharing the code 🙂

mo_svc_mngr->do_action(

    EXPORTING

      iv_act_key           = /bobf/if_<Z..>=>sc_action-root-<action>

      it_key               = lt_key

      is_parameters        = lr_s_parameters

   IMPORTING

      eo_change            = lo_change

      eo_message           = lo_message

      et_failed_key        = lt_failed_key

      et_failed_action_key = lt_failed_act_key ).

Regards, Clemens

Read only

0 Likes
1,519

Thanks Clemens!!..Small typo error from myside, issue is fixed now

The blogs by james wood is very helpful for BOPF framework development!!

Regards,

Thiru