03-21-2009 10:12 AM
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'.
03-21-2009 10:24 AM
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
03-23-2009 9:47 AM
05-28-2009 8:19 AM
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>?
06-03-2009 9:45 AM
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