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

Former Member
0 Likes
1,473

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.

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
Read only

Former Member
0 Likes
1,065

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)

Read only

former_member634325
Discoverer
0 Likes
1,065

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