on 03-08-2016 3:23 PM
Dear Experts, I have created a custom validation routine for the TRQ. In this validation I perform a read and validate the values coming from:
IT_ROOT. io_read->retrieve(
EXPORTING iv_node = /scmtms/if_trq_c=>sc_node-root
it_key = it_key IMPORTING et_data = lt_root ).
This process works fine when entering values into my custom field. However, this is a requirement to default the values on the screen. To perform this action some custom code has been added to /SCMTMS/CL_UI_VIEWEXIT_TRQ-ROOT_ADAPT_DATA. The values show on the screen as expected. However, the validation routine does not pickup defaulted values. There must be something done to push the UI defaulting to the BOPF model. Can anyone provide some guidance on this?
I solved this one. While the defaulting of the data in the VIEWEXIT /SCMTMS/CL_UI_VIEWEXIT_TRQ-ROOT_ADAPT_DATA works for the screen, it's not the best place to add this. So I removed that....
I added a BOPF custom determination for defaulting the data. This sets the screen correctly with the default values and works for the validation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.