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_FIXEDASSET_CHANGE

Former Member
0 Likes
836

hi everyone,

I want to change anla-ivdat and i´m using 'BAPI_FIXEDASSET_CHANGE'. But after done 'BAPI_TRANSACTION_COMMIT' it doesn't change that field.

...

inventory-date = sy-datum.

inventory-date = 'X'.

CALL FUNCTION 'BAPI_FIXEDASSET_CHANGE'

EXPORTING

  companycode = ls_anla-bukrs

  asset              = ls_anla-anln1

  subnumber      = ls_anla-anln2

   inventory = inventory

   inventoryx = inventoryx

.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait= 'X'

.

Any ideias?

Thanks.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
560

Are there message returned in RETURN parameter ?

Regards,

Raymond

Read only

Former Member
0 Likes
560

Hi

May be you are missing some parameters by which you are data is not getting updated.

Read only

Former Member
0 Likes
560

Hi,

Don't know if you just missed it but try to input assign the values to the correct tables:

inventoryx-date = 'X'.

... instead of ...

inventory-date = 'X'.

Regards,

Bruno