06-06-2007 2:16 AM
Hi all,
At the F4 of 1 of the field (Field A) on my screen (POV event), I need to popup a custom search help. Once user select the selection in the search help, I will have to autopopulate a DIFFERENT field (Field B) with value. Hence, I need to fire the PBO manually since my logic to populate that field lies in the PBO event. I have try to use the function module SAPGUI_SET_FUNCTIONCODE at the end of the POV, but still PBO is not fired.
Need urgent help on this. Thanks in advance.
06-06-2007 2:25 AM
Hi Mil,
You can use the Function Module DYNP_VALUES_UPDATE to update the values in another field immediately when value of one field is selected.
Check this link for sample code.
http://www.sap-img.com/abap/value-request-for-parameter.htm
Regards,
SP.
06-06-2007 2:22 AM
Hi Mil,
Just curious, Can't you put your logic of populating the field in PV itself.
Regards,
Atish
06-06-2007 2:25 AM
You can do the following:-
Assign a memory id to Field A.
Once the user makes a selection through F4 help then populate the value of memory id with the value selected by user.
after F4 use command "CALL SCRENN XXXX" where XXXX is the screen number. while calling the screen set the memory Id for the field A. This will populate Field A as weel as call the PBO.
Do reward points if found helpful
06-06-2007 2:25 AM
Hi Mil,
You can use the Function Module DYNP_VALUES_UPDATE to update the values in another field immediately when value of one field is selected.
Check this link for sample code.
http://www.sap-img.com/abap/value-request-for-parameter.htm
Regards,
SP.
06-06-2007 2:29 AM
Hi Sylendra,
I have tried various methods including DYNP_VALUES_UPDATE at the end of the POV, but the field is not populating.
05-07-2019 10:55 AM
Call the belo function module which triggers PBO
CALL FUNCTION “SAPGUI_SET_FUNCTIONCODE”
EXPORTING
FUNCTIONCODE = “=”
EXCEPTION
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2
to trigger PBO