Skip to Content
0
Former Member
Dec 07, 2006 at 09:21 PM

get value from table control in a batch input

369 Views

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.