2013 Oct 10 7:07 AM
H
I am developing a Module Pool Programming.
I have a requirement where when i select any Value from F4, i need to update the respective Description of the value beside to the field.
As per requirement i have developed the program and wrote the below code to update the value
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = t_dynfields.
SET SCREEN 600.
But in Runtime i am getting error as i cannot write code SET SCREEN 600 for Subscreens.
Please suggest how to update the data in the subscreens.
Thank You,
Shashikanth
H
I am developing a Module Pool Programming.
I have a requirement where when i select any Value from F4, i need to update the respective Description of the value beside to the field.
As per requirement i have developed the program and wrote the below code to update the value
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = t_dynfields.
SET SCREEN 600.
But in Runtime i am getting error as i cannot write code SET SCREEN 600 for Subscreens.
Please suggest how to update the data in the subscreens.
Thank You,
Shashikanth
2013 Oct 10 7:17 AM
Hi shashikanth,
Instead of using DYNP_VALUES_UPDATE function module, you can create an elementary search help and there u can add a text field in it and assign the same to properties of that field. when the value is fetched, you can directly assign the data to the field.
2013 Oct 10 7:27 AM
Hi Shashikanth,
Kindly provide the Run time error you aree receiving and instead of using this function Module, you can create an elementry serach help and assign that Search help to the filed as below :
Hope this is helpful.
Best Regards,
Krishna Chaitanya
2013 Oct 10 7:37 AM
Hi Shashikanth,
Why are you using SET SCREEN ?
You should use CALL SUBSCREEN in the PAI and PBO of your main screen.
CALL SUBSCREEN 600. " This should be callled in PBO and PAI of your main screen
Also when you call 'DYNP_VALUES_UPDATE' pass 600 instead of sy-dynnr.
Thanks,
Ajay Bose
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |