on 05-06-2019 7:31 AM
Dear Folks,
AM using this BAPI_PRODORDCONF_CREATE_TT Function module for Bulk Confirmation of Production orders.
While Performing Confirmations some times records going into COGI and in AFFW table i see the message as Enter Batch.
Can anybody Suggest me how to Overcome this error.
Regards,
Shekar.
Hi Shekar, I assume you have a problem with batches of components being consumed with production order confirmation. If so and if the problems occurs for some components not all of them it looks like an issue with batch determination settings.
It may hard to check the details of batch determination run once you have an error in COGI - see note 1868084 - FAQ: Transaction COGI:
4. Question: No automatic batch determination is called in transaction COGI or when using the report CORUPROC for incorrect goods movements. Why?
Answer:
This behavior corresponds to the SAP standard system. Transaction COGI does not call an automatic batch determination; this can also not be set using Customizing. If you require a (new) batch determination, you must do this manually in transaction COGI. Therefore, there is no automatic batch determination if incorrect goods movements are posted using the report CORUPROC.
Therefore I'd suggest to replicate the issue with online production confirmation in CO11N. There you will be able to see the detailed analysis of batch determination procedure.
Best regards
Dominik Tylczyński
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simone,
Stock is available in Batches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominik,
Am able to Post 1 quantity 10 times in CO11N.
But with BAPI some are confirming and some are going to COGI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominik,
See Lets assume i have a Production order
9000123 X Material 20 Confirmation Quantity
For Confirming above Production order we need B (Raw Material).
In this case no record is going to COGI.
Now the next Case
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
900123 X Material 1 Confirmation Quantity
Now like this i will get 20 Records from some third Party System in a File.
Now in this Case my Program will run BAPI 20 Times to Confirm this Partial Quantity.
In this case we are getting Enter Batch Error for that raw Material in COGI.
How can i over come this situation.
Regards,
Shekar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.