Hi i am trying to enter scrap value which is under the 'deprciation area' tab then select the 1st line and double click., in my BDC program using AS01 during asset creation.
I used SHDB to generate the recordings and this is a snapshot of it. However, when i run it, it halts at the diaglog OK-code = SELZ & a message "Cursor field T093T-AFBKTX(1) does not exist in the screen" After pressing enter, i see another message This field is not intended for navigation. Even after saving, the scrap value is not updated.
Can anyone advise me on how do i get teh scrap value to be updated?
SAPLAIST 1000
BDC_OKCODE =SELZ
BDC_SUBSCR SAPLAIST
BDC_SUBSCR SAPLATAB
BDC_SUBSCR SAPLATAB
BDC_SUBSCR SAPLAIST
BDC_CURSOR T093T-AFBKTX(01)
SAPLAIST 0195
BDC_CURSOR ANLB-SCHRW
BDC_OKCODE =BUCH
ANLB-SCHRW 50.00
BDC_SUBSCR SAPLAIST
I coded like this in my program
perform bdc_dynpro using 'SAPLAIST' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=SELZ'.
perform bdc_field using 'BDC_SUBSCR'
'SAPLAIST'.
perform bdc_field using 'BDC_SUBSCR'
'SAPLATAB'.
perform bdc_field using 'BDC_SUBSCR'
'SAPLATAB'.
perform bdc_field using 'BDC_SUBSCR'
'SAPLAIST'.
perform bdc_field using 'BDC_CURSOR'
'T093T-AFBKTX\(01\)'.
perform bdc_field using 'BDC_CURSOR'
'T093T-AFBKTX'.
*0195
perform bdc_dynpro using 'SAPLAIST' '0195'.
perform bdc_field using 'BDC_CURSOR'
'ANLB-SCHRW'.
perform bdc_field using 'BDC_OKCODE'
'=BUCH'.
perform bdc_field using 'ANLB-SCHRW'
'50'.
perform bdc_field using 'BDC_SUBSCR'
'SAPLAIST'.