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: 

BAPI_FIXEDASSET_CHANGE problem with changing WBS element

Former Member
0 Kudos

Hello,

I have a problem with changing WBS element in account assignment data. I'm filling out correct structure of bapi with correct data, but on the return I'm getting message "No changes made". I know that it's not a problem with the conversion routine. I'm also changing WBS element on time dependent tab and that is working fine. If you have any ideas please help me.

Sample of my code:

data: ps_invest TYPE bapi1022_feglg010,

ps_investx TYPE bapi1022_feglg010x.

ps_invest-wbs_elem = ps_mass_upd-posnr.

ps_investx-wbs_element = 'X'.

4 REPLIES 4

Former Member
0 Kudos

Sorry there is a mistake in the sample code of course it's:

Sample of my code:

data: ps_invest TYPE bapi1022_feglg010,

ps_investx TYPE bapi1022_feglg010x.

ps_invest-wbs_elem = ps_mass_upd-posnr.

ps_investx-wbs_elem = 'X'. - > not ps_investx-wbs_element = 'X'. as i wrote before

Regards

Robert

Former Member
0 Kudos

Problem solved.

0 Kudos

Robert,

I am having a similar problem with this bapi. its not working when i try to update some field in the allocations tab,.

It says "No changes made" and comes out with out doing any changes please let me know how u solved this>?

0 Kudos

Hello Dee,

I had only problem with changing WBS element in Origin tab. Please specify if you really meant allocations tab or not. My problem was connected with conversion routine in the standard data type (I put the wrong one). You have internal and external WBS element number so in the structure you have to put:

Tab Origin:

ps_invest-wbs_elem = 00007907.

ps_investx-wbs_elem = 'X'.

Tab Time-dependent - here you have to convert:

CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'

EXPORTING

input = 00007907

IMPORTING

output = ps_time-wbs_element_cost.

ps_timex-wbs_element_cost = 'X'.

I hope it helps.

Best regards

Robert