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: 

Is there any BAPI for AS02?

Former Member
0 Kudos

Hi Experts,

I am guessing, the following idea may work for my problem, but, pls, let me give some info, abt the same.......

1 - At the sales order creation time, each LINE ITEM creates the SubAsset, say,

Line_ Item_1 -


> creates SubAsset_1,

Line_ Item_2 -


> creates SubAsset_2, so on

2 - if some reasons, if the user deletes Line_ Item_1, I need to delete that particlar SubAsset_1,

so, pls. let me know that,

1- If the user, deletes the item_1, then I wanna, to delete the created SubAsset_1, so then, I guess, SubAsset_2 shuld be modified as SubAsset_1

2- Is it works out? makes sense?

3- If so, Wht is the best method to delete a SubAsset from Asset Master? Is it AS02 BDC or Is there any BAPI or any other?

thanq.

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try FM ASSET_MASTERRECORD_MAINTENANCE with I_TRTYP (transaction type) parameter = 'L' (Delete).

Regards,

Ferry Lianto

3 REPLIES 3

Former Member
0 Kudos

Hi

use the bapi

<b>BAPI_FIXEDASSET_CHANGE</b>

Regards

Anji

0 Kudos

thanq,

1- If the user,for some reason, deletes the item_1, then I must/wanna, to delete the created SubAsset_1, so then, Is the SubAsset_2 modified as SubAsset_1 in Asset related tables with BAPI_*CHANGE?

2- Or in other words, Is it possible to DELETE the sub asset? if so, How?

thanq

Message was edited by:

Srinivas

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try FM ASSET_MASTERRECORD_MAINTENANCE with I_TRTYP (transaction type) parameter = 'L' (Delete).

Regards,

Ferry Lianto