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: 

Use of BAPI_ALM_ORDER_MAINTAIN to only capture error on save

yogesh_zope
Explorer
0 Kudos

Hi All,

Can we use BAPI_ALM_ORDER_MAINTAIN to capture save error only & display errors in alv. Actually need to develop something which will not actually save work order, but capture warning/error coming during save & display as result.

Tried passing method as DIALOG but not worked?

Can anybody guide on this?

Thanks,

Yogesh

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

Why wouldn't you call the BAPI as usual and analyze RETURN but always call BAPI_TRANSACTION_ROLLBACK.