Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Any function module to lock asset through abap program

Former Member
0 Kudos

Dear all,

I have to write a background scheduled program for asset lock, after creation of 120 days. I didn't find any fm for that. Any help how to do that or should i update database table directly through program? Early help will be appreciated.

Thanks

Renu

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Don't update table, either find the field to update (ANLA-XSPEB ?) in parameters of a BAPI as BAPI_FIXEDASSET_CHANGE Changes an Asset, or build a small BDC on AS05 or AS02.

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Don't update table, either find the field to update (ANLA-XSPEB ?) in parameters of a BAPI as BAPI_FIXEDASSET_CHANGE Changes an Asset, or build a small BDC on AS05 or AS02.

Regards,

Raymond

0 Kudos

Hi Raymond ,

Thanks. Problem solved. Through bapi it is not possible to update the field(something i was searching for) , any way i have done through bdc.

Regards,

Renu