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

Asset master creation using BAPI BAPI_FIXEDASSET_CREATE1

Former Member
0 Likes
4,721

hi

i am working on Asset master

When i firstly created asset using AS01 it is getting created but instead of that i want to use BAPI - "BAPI_FIXEDASSET_CREATE1"

when i run this BAPI it gives me result saying Asset master entry created and gives the new Asset number.

but this entry is not going in database as when i run transaction AS03 or BAPI - "BAPI_FIXEDASSET_GETDETAIL" to view just creatd Asset, it gives me error saying no Asset is created with this number

can any one help me to solve this as i need to use this BAPI to create Asset & not the transaction as01....

thanks sheetal

3 REPLIES 3
Read only

Former Member
0 Likes
2,820

when u test run the bapi..asset is created with the assest number..it states that asseat can b created with the parametes u gave...means 'susess'...sice it's test run..it will not b saved.

regds

anjai

Read only

0 Likes
2,820

if u r calling this bapi in ur program then after that u have to commit the bapi.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

EXCEPTIONS

OTHERS = 1.

after commiting only data gets updated in table.

regds

anjali

Read only

0 Likes
2,820

thanksfor your quick reply

Sheetal