05-20-2019 10:27 PM
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
05-21-2019 12:17 PM
Did you look for notes similar to 2364494 - BAPI_ALM_ORDER_MAINTAIN: Purchasing organization determination for components: 06 461
05-21-2019 7:44 PM
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.