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_ALM_ORDER_MAINTAIN : Issue with WBS element

Former Member
0 Kudos

Hi,

When I update data in the iw32 using BAPI_ALM_ORDER_MAINTAIN, if the WBS column is empty in the input file, the old value is erased in the iw32. But it should not.

What is the cause of this?

Ezhil.

2 REPLIES 2

Former Member
0 Kudos

Hello

It is because you modify WBS element with initial value.

To avoid this you need to check WBS element in file.

If it is initial - BAPI_ALM_ORDER_COMPONENT_UP-WBS_ELEM = ' ' (do not update with initial value),

else BAPI_ALM_ORDER_COMPONENT_UP-WBS_ELEM = 'X' (update)

former_member634325
Discoverer
0 Kudos

Hello, I have a similar problem. Did you manage to solve it?