‎2006 Dec 07 9:21 PM
Hi,
Anyboy knows how do i get a value from control table in a bach input for example
when my cursor is in line 1.I need to know the value of this field.
I need to read the value in order to know if im going to insert in that row or in the next one
I need something just like this
data count type i.
count = 1.
Perform bdc_dynpro using 'SAPLMEOR' '0205'.
<b>PERFORM bdc_field USING 'BDC_CURSOR' 'EORD-VDATU(count)'.</b>
what's the value of 'EORD-VDATU(01) field
Set cursor Field 'EORD-VDATU(01)' Line 1.
get cursor field zcampo.
If zcampo <> SPACE.
add 1 to count.
Endif.
‎2006 Dec 07 9:26 PM
Hi,
Check the following link for using the table control in bdc..
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Thanks,
Naren
‎2006 Dec 07 9:26 PM
Hi,
Check the following link for using the table control in bdc..
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Thanks,
Naren
‎2006 Dec 07 9:27 PM
Unfortunately, this isn't the way batch input works. Once you hand over control to the transaction, control is gone until you come back to your program. If you want to know the value in a particular field or line of a table control, you have to know enough about the transaction you are calling in order to figure it out yourself.
Rob