cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW Recording method is not working for transaction code ABAA

0 Kudos
2,463

Hello,

i tried to use the LSMW recording method to run ABAA for so many assets, when i ran the batch i got the message "

No batch input data for screen SAPMA01B 0285"
is there a way to skip the screen 285?

thank you.

View Entire Topic
JonathanEemans
Active Contributor
0 Kudos

Hi Mohamed,

Does the screen mentioned in your post appear per additional depreciation area?

If so, I'm afraid you need coding.


Sample code for batch input recording for revaluation (ABAW)

...<br>* Determine depreciation areas
      select afabe from anlb into corresponding fields of table lt_afabe
        where xafbe eq ''
           and bukrs eq lw_reval-bukrs
           and anln1 eq lw_reval-anln1
           and anln2 eq lw_reval-anln2
           and bdatu eq '99991231'.
      loop at lt_afabe into lw_afabe.
        select afabe from tabwa into lv_afabe
          where afapl eq lc_afapl
            and bwasl eq lw_reval-bwasl
            and afabe eq lw_afabe-afabe
            and xberv eq lc_x.
        endselect.
        if lv_afabe ne '00'.
          lv_count = lv_count + 1.
          if lv_count > 1.
* start new screen per depreciation area
            clear bdcdata.
            bdcdata-program  = 'SAPMA01B'.
            bdcdata-dynpro   = '0280'.
            bdcdata-dynbegin = 'X'.
            append bdcdata.
          endif.
        endif.
...

Best regards,
Jonathan Eemans

0 Kudos

Hi Jonathan,

Thank you for your reply.

yes the screen mentioned is related to the an additional depreciation area.

i'll try to handle this by coding.


thank you.

0 Kudos

Hi Jonathan,

is it possible to do this with the transaction SHDB?

former_member727178
Discoverer
0 Kudos

Hi Jonathan,

Could you please share where this part of code can be put?

I made a Recording LSMW of transaction ABZU and we have 2 depreciation area.

I'm facing the same issue.

Thanks