2013 Feb 12 4:26 AM
Hi experts,
I have created two blocks one for country details and other for state details.
In country details i have 3 input fields id, name and code. In state also i have 3 input fields id, name and code.
I have given f4 search help for both country and state id. When i select country id, name and code will be filled automatically. The states under selected country id will be populated in the F4 help for state id.
Now consider both the blocks are filled with values. Now i'll select different country ID, and now i want the state's details block fields to be cleared (filled with empty values).
How can i do this????
Please Help me out...
2013 Feb 12 4:58 AM
Hi Satish
CALL FUNCTION 'DYNP_VALUES_UPDATE'
In the Table used in the function add fields which you want to change, also provide the field for which you are giving search help and set it to value that you selected from f4 Help.
.
Hi experts,
I have created two blocks one for country details and other for state details.
In country details i have 3 input fields id, name and code. In state also i have 3 input fields id, name and code.
I have given f4 search help for both country and state id. When i select country id, name and code will be filled automatically. The states under selected country id will be populated in the F4 help for state id.
Now consider both the blocks are filled with values. Now i'll select different country ID, and now i want the state's details block fields to be cleared (filled with empty values).
How can i do this????
Please Help me out...
2013 Feb 12 4:58 AM
Hi Satish
CALL FUNCTION 'DYNP_VALUES_UPDATE'
In the Table used in the function add fields which you want to change, also provide the field for which you are giving search help and set it to value that you selected from f4 Help.
.
2013 Feb 12 5:02 AM
Ok Mr. Prthk,
But i dont want to use function module for this. Can you do this without using FM?????
2013 Feb 12 5:03 AM
Sorry, I think this is the only way possible. I have not come across any other methods.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |