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 for components without EKGRP

former_member183045
Contributor

I am using the FM BAPI_ALM_ORDER_MAINTAIN to change components. The FM works perfectly unless I have an external material in the production order.

In this case the change process fails with the reason "Order xxx will not be saved due to errors in the BanF-processing (Auftrag xxx wird wegen Fehlern in der BAnF-Bearbeitung nicht gesichert)"

On the code side the check error occurs in the form CHECK_POSTING_POSSIBLE, approximately line 256 where a PERFORM CHECK_EBAN USING XOK RESBD-EKGRP RESBD-BDMNG ... is called

The mentioned fields are checked for not initial and in our system EKGRP is null for all entries in RESB despite it is set in the material master for the material of the reservation.

If anybody has a solution please let me know:

- skipping this check (without a modification of the standard)

- necessary material master settings for materials which are externally procured to not reach this check

- necessary settings to get the EKGRP into the resb

- or anything else helpful

Thanks in advance, Andreas

2 REPLIES 2

0 Kudos

Thanks for your fast response Raymond. It seems that in my system the determination itself works corretly as each entry in table eban has a correct value in EKGRP.

My problem is that there is no value in the EKGRP field in the corresponding resb table which leads to the failing check while executing the FM with a change component as an valid entry in resb-EKGRP is assumed by the FM.