on 10-16-2011 8:33 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.