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 for changing Asset master.. BAPI_FIXEDASSET_CHANGE

Former Member
0 Likes
4,174

Hi Experts,

I am trying to use the "BAPI_FIXEDASSET_CHANGE" in a program to update the Cost Centers in the Asset Master (AS02).

But the system is displayng the Run Time error as soon as the control reaches BAPI.

I am unable to know the reason behind this Runtime error...

Can anyone give me the code to use this BAPI.????

I am in trouble friends..... Please Help me........

Regards

Pavan

5 REPLIES 5
Read only

Former Member
0 Likes
2,023

Can anyone Help me out in this regard...????????????

Read only

0 Likes
2,023

Can anyone suggest other BAPI (if available) to update the cost centers in Asset Master (AS02)..???

I have tried my best to get things done by using BAPI_FIXEDASSET_CHANGE.

Unable to update the required changes in the Asset Master...

Please Help me.......

Regards

Pavan

Read only

0 Likes
2,023

Hi Pavan,

BAPI_FIXEDASSET_CHANGE should do the job.

Do u fill correctly TIMEDEPENDENTDATA and TIMEDEPENDENTDATAX ?

You have to put on 'X' on the corresponding field of TIMEDEPENDENTDATAX.

Otherwise, what pb do u encounter ?

Read only

0 Likes
2,023

Hi,

When i use the BAPI_FIXEDASSET_CHANGE, after execution of the BAPI, the return table i_return will have the message saying that " The Asset <asset number> is not in the company code <company code>.

The same Asset number is associated with the company code, if we see it in AS02 screen. The sy-subrc will be 0.

Aster this BAPI, when the control moves to another bapi with name BAPI_TRANSACTION_COMMIT,

the run time error will be displayed over the screen stating that " Type conflict while calling the Function module ( field length).

Can anyone give me idea or the exact code to be used in order to get successful updation of Cost centers in Asset Master using above mentioned BAPI....

Really your Help will be appreciated.......

Regadrs

Pavan

Read only

Former Member
0 Likes
2,023

Thanks for your tips..

Its now solved.... Issue closed...