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_CREATE1

Former Member
0 Likes
3,918

dear all, i am new in using bapi.

i hv tested inputting the parameter on se37 and it returning asset number, same thing i did on abap code. i have called BAPI_TRANSACTION_COMMIT and it returning message "Creation of the asset was tested successfully". But i can not find the asset either in AS03 or table ANLA. hv i missed any bapi to commit this work?

<<text removed by moderator>>

thanks

-tiara-

Edited by: Matt on Nov 18, 2008 10:44 AM

5 REPLIES 5
Read only

Former Member
0 Likes
2,673

if your BAPI is excuted successfully its say the messange is "Asset master record was created"

your message is saying "tested successfully"

in the BAPI the filed "Test Run " = ' ' . pass this value and test it....

Read only

Former Member
0 Likes
2,673

thanks for your quick reply.

i have passed the value and the return message now is: Asset 200810000007, subnumber 0000 was created.

but when i checked to AS03, the fields not completely filled like parameters i have inputted. what did i go wrong? i thought it is oke since it was tested successfully?

many thanks for helping.

-tiara-

Read only

0 Likes
2,673

Here you have a exemple of BAPI BAPI_FIXEDASSET_CREATE1 use:

[http://www.sapnet.ru/viewtopic.php?p=712|http://www.sapnet.ru/viewtopic.php?p=712]

Read only

former_member386202
Active Contributor
0 Likes
2,673

Hi,

Use Below BAPI to create Asset

CALL FUNCTION 'BAPI_FIXEDASSET_OVRTAKE_CREATE'

EXPORTING

key = st_key

testrun = c_x

generaldata = st_gendata

generaldatax = st_gendatax

inventory = st_invent

inventoryx = st_inventx

postinginformation = st_postinf

postinginformationx = st_postinfx

timedependentdata = st_depdata

timedependentdatax = st_depdatax

allocations = st_allot

allocationsx = st_allotx

origin = st_origin

originx = st_originx

  • investacctassignmnt = st_invest

  • investacctassignmntx = st_investx

networthvaluation = st_networt

networthvaluationx = st_networtx

realestate = st_realest

realestatex = st_realestx

insurance = st_insure

insurancex = st_insurex

leasing = st_leas

leasingx = st_leasx

TABLES

depreciationareas = it_deparea

depreciationareasx = it_depareax

cumulatedvalues = it_cumval

return = it_return.

Regards,

Prashant

Read only

Former Member
0 Likes
2,673

why do i have to use 'BAPI_FIXEDASSET_OVRTAKE_CREATE' instead of BAPI_FIXEDASSET_CREATE1?

in case of new asset, should we use 'BAPI_FIXEDASSET_OVRTAKE_CREATE' ?

in my case, anything wrong with my parameter or the function itself?

thanks.