on 08-04-2009 6:04 AM
Hi Gurus,
I m Using SPMON(Period to analyze month and year) as input Field in my BSP Application.
If i Click the Input Help i want to call a Function module "popup_to_display_month" ..
How to acheive this.
I have used onValueHelp attribute in which it will call only the Javascript.
Please guide me...
Thanks n Regards
Aravindh
Hi Aravindh,
First thing if this FM 'POPUP_TO_SELECT_MONTH' gives a popup in SAPGUI , you can not use it in BSP since SAP GUI popups are not supported in BSP.
I have used onValueHelp attribute in which it will call only the Javascript.
If triggering a server side event using onValueHelp solves you problem that you can do it as follows..
1)In the layout somewhere use a blankimage that will not be visible in UI.
2)Suppose ID of this image is 'blank'
now call javascript function for onValueHelp
and in this javascript function use
dacument.getElementById('blank').click();
change dacument to document.
This will trigger a server event which you can process in onInputProcessing and call the FM.
Regards,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubav,
Thanks for the reply and i can understand that BSP cant call SAP Pop-up's.
I cant get the method you suggested..
Now i wanna call a function inside onValueHelp() and this function is a Javascript.
So wat to write in Javascript.. is ther any standard function to call date and month in Javascript or i need to hardcode all the month???
Thanks and Regards
Aravindh Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.