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

BAPI to update AUC

Former Member
0 Likes
820

Hi!

What BAPI can I use to update an AUC?

I want to update 2 fields in the "Allocations" tab:

Business Unit: ANLA-ORD41

Investment Reason: ANLA-IZWEK

Kind regards,

Lieselot

3 REPLIES 3
Read only

Former Member
0 Likes
668

Hi,

Please check with this BAPi:BAPI_FIXEDASSET_CHANGE.also check in this link:

http://help.sap.com/saphelp_45b/helpdata/EN/99/3bf6b6c56c11d195310000e82debf7/frameset.htm

Read only

0 Likes
668

I already tried the function BAPI_FIXEDASSET_CHANGE but this is not working. This results in a runtime error:

"Termination occurred in the ABAP program "SAPLAIST" - in "CALL_UPDATE".

The main program was "ZFI_INVEST_ORDER_MANAG ".

In the source code you have the termination point in line 26

of the (Include) program "LAISTF5D"."


   25   LOOP AT xanli_ges WHERE objnr(2) = 'TM'.                  "n.170698
   26   MESSAGE ID 'AA' TYPE 'X' NUMBER '0796'.                 "n.170698
   27   ENDLOOP.                                                  "n.170698

When I try this function in SE37 the system does not change anything to the AUC and RETURN contains:


S AA                   291 No changes made

I already implemented note 1176061 and 1131318.

Read only

0 Likes
668

Issue has been solved with function ASSET_MASTERRECORD_MAINTENANCE