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: 

Asset status

Former Member
0 Kudos

There is a requirement to report the Asset status in one of the Asset Reports (Master and transaction data)

We are unable to get the status field.

Is there a function module to get the Asset status.

The status is available in structure RA01M, field - ZEILE

Any pointers to this Asset status would be very helpful.

Thanks,

Sushil

3 REPLIES 3

abdul_hakim
Active Contributor
0 Kudos

Hi try using the FM ASSET_FIELD_STATUS_GET_SINGLE.

Cheers,

Abdul Hakim

0 Kudos

Abdul,

Could you please elaborate on how this function module is used?

The parameters that the FM imports are a little confusing as to how they relate to the asset.

Also, is there another function module that imports a parameter which is an asset number (type ANLN1)?

Thanks in advance.

Former Member
0 Kudos

There is no function module available to correctly acquire the status of an asset.

The only status that an asset should have is whether or not the asset is Active or Inactive.

To do this, you can check fields XLOEV and XSPEB in the ANLA table.

If both are initial or 'space', then the asset is considered active.

Refer to this forum post for further information:

[http://forums.sdn.sap.com/thread.jspa?threadID=685612|http://forums.sdn.sap.com/thread.jspa?threadID=685612]

Hope this helps.

-Tyler