2008 Dec 10 5:56 PM
Hi ,
I am using 4 parameters in the selection screen . I am entering data in the 3 input fields. Then I am doing concatenate 3 fileds data into the 4 th field in the event AT SELECTION-SCREEN OUTPUT, bur my problem is When ever i click ENTER , then only 4th field is updating. With out ENTER key , Is it possible update 4th filed.
regards,
ramajay reddy
2008 Dec 11 12:23 AM
Hi,
This is not possible without a user action on the screen, unless your fields are drop down lists, check box or radiobutton respectively, Reason is that the SAP Screen processing will not trigger the PAI event unless there is a user action on the screen like pushing a button, radiobutton , checkbox or selecting a value from a dropdown list. And hence PBO will not get triggered either. Thus entering value in input fields and pressing the tab key is not enough. The user must press 'Enter' if the PAI--PBO should be triggered.
Pressing 'Enter' is much more user friendly and convinient than adding a button/radiobutton/checkbox on the selection screen to update other fields on the selection screen as in your scenario.
regards,
Advait
Hi ,
I am using 4 parameters in the selection screen . I am entering data in the 3 input fields. Then I am doing concatenate 3 fileds data into the 4 th field in the event AT SELECTION-SCREEN OUTPUT, bur my problem is When ever i click ENTER , then only 4th field is updating. With out ENTER key , Is it possible update 4th filed.
regards,
ramajay reddy
2008 Dec 10 6:02 PM
Have you tried doing it with the FM:
CALL FUNCTION 'DYNP_VALUES_UPDATE'
Suppose you are entering 3 values after calling your screen then you have to press the enter to call
trigger the event :
At Selection-Screen on output.
Neha
2008 Dec 10 6:13 PM
Hi Neha,
Is there any alternative with out ENTER key pressing to trigger the Event and add the data into the 4th field.
I want that requirement.
regards,
ram
2008 Dec 10 6:17 PM
Hi Ram
You can add a button in your selection-screen .
or you can try with Modif-id ,I think you can try to do it with Modif-id that should sove your problem.
Neha
2008 Dec 10 6:18 PM
Hi,
There is. All you need to do is add function code to each parameters, then after changing its value it will automatically trigger AT SELECTION-SCREEN event:
PARAMETERS: pa_1st type ... USER-COMMAND fcode1,
pa_2nd type ... USER-COMMAND fcode2...
...
AT SELECTION-SCREEN.
CONCATENATE pa_1st pa_2nd pa_3rd INTO pa_4th.
That should help you
Regards
Marcin
2008 Dec 10 6:26 PM
Hi,
I think we need to use the USER-COMMAND options for Check BOX, radio button or List box.
But here mine is In put field.(Some need to enter here).
regards,
Ram
2008 Dec 10 6:50 PM
Hi
One option can be you can add one additional parameter as checkbox in your selection-screen and then
assign it a function code.
Another will be using a pushbutton.
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
In the standard GUI of the selection-screnn SAP has provided 5 default pushbuttons.
By using Function Key you can use them for your screen modifications.
Neha
2008 Dec 11 12:23 AM
Hi,
This is not possible without a user action on the screen, unless your fields are drop down lists, check box or radiobutton respectively, Reason is that the SAP Screen processing will not trigger the PAI event unless there is a user action on the screen like pushing a button, radiobutton , checkbox or selecting a value from a dropdown list. And hence PBO will not get triggered either. Thus entering value in input fields and pressing the tab key is not enough. The user must press 'Enter' if the PAI--PBO should be triggered.
Pressing 'Enter' is much more user friendly and convinient than adding a button/radiobutton/checkbox on the selection screen to update other fields on the selection screen as in your scenario.
regards,
Advait