on 04-01-2015 3:46 AM
Dear all,
I met a request about ATP check;
eg: master data 1000324
stock 100 PC
so 500PC
Now, when i use VA02 to confirm the SO it will confirm 100PC;
but now, i want to confirm 20PC; and i have to confirm it by Bapi.
so i want to know which BAPI can be used? can you tell me?
Resage
Tony
Hi Tony,
You should investigate the product allocation (SD-BF-AC-PAL) functionality in SAP. This is designed to distribute available quantities across customers (to ensure that no one customer gets a monopoly on your supply).
Another option may be to use EXIT_SAPLATPC_002. Here, you apply a logic like:
IF t_mdvex-MNG02 GE '20'.
t_mdvex-MNG02 = '20'.
ENDIF.
In English, this states:
If the confirmed quantity is greater than or equal to 20, then change the confirmed quantity to 20. Could be problematic of you want to confirm 30 though! 🙂
And, then od stated earlier, you can use CO06 to manually change the quantities too.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but now, i want to confirm 20PC; and i have to confirm it by Bapi.
What does this mean? Why do you need use Bapi to do this? You can modify the confirmed quantiy in CO06. why not?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check with BAPI_MATERIAL_AVAILABILITY or BAPI_SALEORDER_CHANE ?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
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.