cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ATP check change quantity

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member223981
Active Contributor
0 Kudos

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.


Former Member
0 Kudos

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?

Former Member
0 Kudos

Dear,

    This business is i have several SOs coming into SAP, and if the stock will not apply the SOs, i need to  give them to every SO. So, i want to change the confirm quantity

Shiva_Ram
Active Contributor
0 Kudos

Can you check with BAPI_MATERIAL_AVAILABILITY or BAPI_SALEORDER_CHANE ?

Regards,

Former Member
0 Kudos

Thanks for your reply.

  I have checked  both BAPI, but this can not soloved my question.