cancel
Showing results for 
Search instead for 
Did you mean: 

bapi service call is not triggered in webdynpro

Former Member
0 Kudos

I created a webdynpro application using bapi based on the webdynpro for abap tutorial i downloaded from this site( 2nd pdf),

when a user clicks on the button in the UI , a bapi service call must be triggered, but it is not getting triggered, can you please help me with this issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vignesh,

From where you are triggering bapi. If you use service call it will create one execute method in component

controller, and from your veiw using any event( button action etc ) you have to call that method.

Use code wizard to call this method.. sample code..

DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
    lo_COMPONENTCONTROLLER =   wd_this->get_componentcontroller_ctr( ).

    lo_componentcontroller->execute_zshipment_change( ). //  here your execute method name. 

Cheers,

Kris.