2007 Feb 19 1:30 PM
Dear Gurus,
I am trying to create task list components in IA05.
Since there are variable components , I have to do 'create new' for every new component. This requires position of cursor to move down the table of components.
How do I achieve this?
I was trying with :
perform bdc_dynpro using 'SAPLCPDI' '3400'.
perform bdc_field using 'BDC_CURSOR'
'PLPOD-VORNR( counter )'.
where counter is type p with 2 length.
Do I need to convert this counter to some type ?
Pls help.
Rewards are for all helpful answers
2007 Feb 19 1:40 PM
Hi Shweta,
Could you try to set 'counter' to type N with length 2?
Regards,
John.
2007 Feb 19 1:51 PM
Hi!
Do not waste your time with BDC_CURSOR. This command is doing nothing, but placing the cursor. But the next BDC_FIELD will move the cursor also and write the data into the field. Personally I'm removing all BDC_CURSOR commands, because they are useless.
To find out the position is requires a BDC recording (in SM35 transation). You have to fill at least 3 lines in the table, and you'll know how can you address different lines. It is mostly using the field[1], field[2], ... syntax.
In BDC recording, you have to find an exact positioning way. In most common there is a Position button somewhere in the field. Or you can try the PAGEDOWN, and CTRL+PAGEDOWN buttons to position down with one page, or to the last record.
Regards
Tamá
2007 Feb 20 6:59 AM
Thank you...your hint helped me find a way of writing at the first row itself..rather than browse down...
Regards,
Shweta Soni