‎2009 Jul 31 12:02 PM
I have table control and one input/output field on output screen.
my requirement is,
"when user will enter some value in i/o field, cursor should go to that record in table control."
I am tring to do this with 'SET CURSOR FIELD'.
but it is not working.
plz can any one help me..?
thanks..
‎2009 Jul 31 12:10 PM
Hi,
You need to use this key word SET CURSOR in PBO only.
give the field name in caps and single quotes(to the best of my knowledge)
Do not implement these statements in FLOW LOGIC
create a module in the flow logic and then in the module(abap editor) implement it
take the F1 help for further info.
Regards
Ramchander Rao.K
Edited by: Ramchander Krishnamraju on Aug 3, 2009 11:23 AM
‎2009 Aug 02 7:05 AM
Hi,
<li> Lets say, your table control name is TABC, when you input something in I/O field and press ENTER, cursor needs to placed at first row of table control record.
<li> you need to put the below statement, before LOOP-ENDLOOP in PAI event.
Thanks
Venkat.O
SET CURSOR FIELD 'TABC-COLS-MATNR' LINE 1.
‎2009 Aug 03 7:18 AM
Thanks Venkat...
But I can not write SET CURSOR FIELD statement in flow logic..
its givig error.
plz guide me..
‎2009 Aug 03 9:32 AM
SET CURSOR FIELD 'column name' LINE 1.
column name should be work area name followed by actual column name.
loop at <it1> into <wa1>.
endloop.
In this case, column name should be given as follows.
wa1-XYZ. XYZ is a column in the structure which is displayed in the UI.