on 08-16-2012 12:27 PM
Hi,
What is the code to do online request in HWC app with an input parameter.
Once the user clicks on one of the list item the app has to do an online request with a parameter from that list item as the input to the BAPI.
how to do that through the custom.js class.
I want to customize the app.
Regards
MIdhun.V.P
Hi Midhun,
For same situtation i have created a custom action and called the action with custom code called as "menuItemCallBack_***". You can achieve with same way.
Regards
Tahir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Midhun,
You need to use the method doOnlineRequest() as explained in the below link.
1. Create a button/menu item (in the same screen) of type Online Request for the MBO you want to call.
2. Go to Workflow.js and locate the method menuItemCallback<your button/menuitem id>(). You will find the required code for performing the online request.
Let me know if you need any additional help.
Regards,
Guru Sivananda Reddy Atlu.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.