Application Development and Automation 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: 
Read only

Any function module to lock asset through abap program

Former Member
0 Likes
1,726

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
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,056

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
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,057

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

Read only

0 Likes
1,056

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