02-15-2011 1:28 PM
Dear All,
I have a table control on screen with fields:
doc.no
doc.type
doc.ver
doc.part
I've coded a search help for doc. no. which returns a single value i.e. doc. no from the search help.
But my reqmt. is that when the user selects a particular doc.no from search help, it should also return doc. type/ver/part
and the corresponding table control field should be populated.
I mean i require multiple values to be returned and populated in my screen.
Thanks in anticipation
02-15-2011 3:07 PM
Hi ,
Please check this thread where i had done some coding and the OP himself has found the solution
... if its a table control you have get the selected line by using fm DYNP_GET_STEPL. Then update the values to the respective fields using DYNP_VALUES_UPDATE.
02-15-2011 2:20 PM
I think you can make use of chain and endchain for this,
use chain then field f1 field f2 .... module val_help for value-help endchain
check out this threat
[http://wiki.sdn.sap.com/wiki/display/sandbox/DYNAMICF4HELPFORAFIELDINTABLECONTROL]
02-15-2011 3:07 PM
Hi ,
Please check this thread where i had done some coding and the OP himself has found the solution
... if its a table control you have get the selected line by using fm DYNP_GET_STEPL. Then update the values to the respective fields using DYNP_VALUES_UPDATE.