Question:
Hi All,
My selection screen is:
parameters: werks like t001w-werks,
matnr like marc-matnr.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR matnr.
message i001(3 with werks.
Here value of werks is not populating. and I need to select the material for a particular plant on this event.
Please write if anybody has solution for this.
Regards,
Abaper
Answer:
It should work if you press Enter before F4. But usually this is not the way, and you have to read the plant value with DYNP_VALUES_READ.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
Hello all,
Once you press F4 on the selection screen field, the field it contained will become initial on coding for F4 help. Therefore you need to save that value in some other variable before giving out the message.
Hope this should sove your problem.
regards,
ranganath
Answer:
Hello all,
Once you press F4 on the selection screen field, the field it contained will become initial on coding for F4 help. Therefore you need to save that value in some other variable before giving out the message.
Hope this should sove your problem.
I'm afraid it won't. Read carefully the code above: WERKS is analysed in the F4 for MATNR.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
Forgot to login ...
Hello all,
Once you press F4 on the selection screen field, the field it contained will become initial on coding for F4 help. Therefore you need to save that value in some other variable before giving out the message.
Hope this should sove your problem.
regards,
ranganath