Application Development 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: 

standerd bapi is not working pls give me the details...

Former Member
0 Kudos

Hi all,

currently i am facing problem on this bapi :BAPI_FIXEDASSET_CHANGE

i am not able to change the information in the asset tables through this bapi.

please guid me the this bapi.

thanks and regards,

sai

1 ACCEPTED SOLUTION

former_member583013
Active Contributor
0 Kudos

Are you using this structures???


GENERALDATAX
INVENTORYX

You need to fill them with 'X' in order to update certain fields -:)

Greetings,

Blag.

5 REPLIES 5

former_member583013
Active Contributor
0 Kudos

Are you using this structures???


GENERALDATAX
INVENTORYX

You need to fill them with 'X' in order to update certain fields -:)

Greetings,

Blag.

0 Kudos

hi ,

i used bapi like that only but its not working pls guid me.

what i worte in the program but its not updating the asset master.

data: GENERALDATA LIKE BAPI1022_FEGLG001.

data: GENERALDATAX LIKE BAPI1022_FEGLG001X .

*" BAPI1022_FEGLG001X OPTIONAL

GENERALDATA-SERIAL_NO = '11111' .

GENERALDATAX-SERIAL_NO = 'X'.

CALL FUNCTION 'BAPI_FIXEDASSET_CHANGE'

EXPORTING

COMPANYCODE = 'STEC'

ASSET = '360000000087'

SUBNUMBER = '88'

  • GROUPASSET =

GENERALDATA = GENERALDATA

GENERALDATAX = GENERALDATAX

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'

  • IMPORTING

  • RETURN =

i want to update serial number in the asset master.

please give me the sujession or guid me.

thanks and regards,

sai

0 Kudos

CALL FUNCTION 'BAPI_FIXEDASSET_CHANGE'

EXPORTING

COMPANYCODE = 'STEC'

<b>ASSET = '360000000087'</b> -> HERE PASS COMPANY CODE ( DO NOT PASS DIRECTLY ,I MEAN USE STRUCTURE ,PASS THE VALUE TO STRUCTURE.

SUBNUMBER = '88'

  • GROUPASSET =

GENERALDATA = GENERALDATA

GENERALDATAX = GENERALDATAX

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'

  • IMPORTING

  • RETURN =

0 Kudos

Check the FM : IDOC_INPUT_FIXEDASSET_CHANGE ,here they are using BAPI_FIXEDASSET_CHANGE FM,see the structure how they are passing.

Use same process then it will update otherwise it will not update the data

Thanks

Seshu

Former Member
0 Kudos

Hi Sai,

use FM '<b>BAPI_TRANSACTION_COMMIT</b>' after FM'BAPI_FIXEDASSET_CHANGE'

Regards

Aneesh.