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

LSMW for Asset Data (Tcode-AS01)

Former Member
0 Likes
1,152

Hello All,

I am working on LSMW for Asset master data creation for transaction AS01. When i go to tcode AS01 there is a field with description called "NUMBER OF SIMILAR ASSETS". The LSMW program for the asset data uses two structures BALTD and BALTB. But the field description field is not available in these stuctures. So i am not able to create asset data through t code AS01.

Can anybody help me out. I will reward you with points.

Thanks,

4 REPLIES 4
Read only

Former Member
0 Likes
821

Hi,

The number of similar assets

enables you to create multiple similar assets in one master transaction. These assets initially differ from each other only by their main and/or sub-number. When you save, you can also enter a description and inventory number for each individual master record.

This function does not allow you to create multiple assets that automatically have the same long text.

In order to work with lsmw you are creating asset in reference to old asset number/subnumber. i think the default number of assets are 1. in case you require more assets to be created of same type you may have to pass different long texts.

Reward if find useful.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
821

In my memories,, the LSMW for Asset Data was intended for "historical asset" via transactions AS91 (AS92) not AS01.

Anyway, this program is creating asset one per one, so the field you mention is irrelevant.

Look also at [Note 550176 - FAQ note legacy data transfer asset master records|https://service.sap.com/sap/support/notes/550176]

Regards

Read only

0 Likes
821

Hello Raymond,

Thanks a lot. Its working fine for AS91 tcode. Can we do the same for AS01 tcode.

Thanks

Read only

0 Likes
821

Take a look at the BAPIs : BAPI_FIXEDASSET_CREATE and BAPI_FIXEDASSET_CREATE1 (and the whole function group 1022, which contains these BAPI and useful MAP_xxx_to_yyy function modules to move data between ANLx and BAPI structures.)

Regards