‎2007 Apr 13 4:36 AM
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
‎2007 Apr 13 5:18 AM
‎2007 Apr 20 7:38 AM
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
‎2007 Apr 20 7:46 AM
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 ?
‎2007 Apr 20 10:47 AM
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
‎2007 Apr 20 11:15 AM