on 03-27-2024 4:04 PM
Hi Experts,
At CO11N, system is providing Automatically Batch for Material with Mvt type 101.
Now a third party system is sending Production Order (AUFNR) and YIELD.
I'm using BAPI_PRODORDCONF_CREATE_TT for Production confirmation. System is doing 261 mvt type(GI) but not GR (101 mvt type) . I can see the error in COGI as "ENTER BATCH"
Need guidance in this regard.
Thanks & regards
Sandeep
Hello
BAPI_PRODORDCONF_GET_TT_PROP is only a proposal. You can change this proposal according to your needs, and then use it to post the actual confirmation.
Regards,
Caetano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caetano,
Thank you for your reply.
Is it a standard behaviour that system proposes 101 and 261 mvt type quantities w.r.t balance order at BAPI_PRODORDCONF_GET_TT_PROP. As I have provided Yield as 1 NOS in Time tickets but system is proposing 101 and 261 mvt type for balance order quantity(2 NOS). Will it not consider Yield Quantity to propose 101 and 261 mvt ype.
Regards
Sandeep
Hi,
You can also try to generate a new batch number using BAPI_BATCH_CREATE with parameters material and plant (where order to be created) and pass the generated batch number as an import parameter to BAPI_PRODORDCONF_CREATE_TT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You can use BAPI_PRODORDCONF_GET_TT_PROP to get the default values for order confirmation, change according to your needs, and use as an input to BAPI_PRODORDCONF_CREATE_TT, as suggested in the following thread:
Regards,
Caetano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
9 | |
7 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.