cancel
Showing results for 
Search instead for 
Did you mean: 

ATP Run and update VBBE automatically after plant change in sales order

former_member477577
Participant

Hi,

We have requirement that if plant changes in sales order then ATP Run automatically and pass requirement to MRP i.e. Update table VBBE.

It is not updating automatically because we have 2 different ATP check Y2 and YZ for 2 different plant for same material so whenever we change the plant in sales order table VBBE is not updating with sales order item.

Note that schedule line CP in both case.

I know it is because of different ATP check maintain in material master with respective different plant we have to run ATP manually to update VBBE.

I have checked ATP FM but couldn't get exact point to rerun ATP.

Could you please help me out with any FM or BADI or BADI to achieve this requirement?

Vipin

Accepted Solutions (1)

Accepted Solutions (1)

jignesh_mehta3
Active Contributor
0 Kudos

Hello Vipin,

Have you tried with User Exit - USEREXIT_AVAILABILITY_IN in program - RV03VFZZ?


Probably a custom code in above spot will help you overcome the issue you are facing.


Thanks,

Jignesh Mehta

former_member477577
Participant
0 Kudos

Hello Jignesh,

Thanks !

I didn't check this but checked below

*RV_AVAILABILITY_CHECK*


MV45AF0B_BELEG_SICHERN

BAPI_MATERIAL_AVAILABILITY, LE_ATP_CHECK_SINGLE, and SSF_KRN_ENVELOPE.

EXIT_SAPLATPC_001

EXIT_SAPLATPC_002

LATPCFE0

END_OF_RLT_CALCULATE

P_ATPMATX &   P_ATPPLANTX

I will check suggested and update you. Thanks again.

Vipin

Answers (1)

Answers (1)

prashant_sharma21
Contributor
0 Kudos

Hello Vipin,

I have also suffered with same issue in past. Some times VBBE does not update automatically in such case we used to execute Program SDRQCR21 which just refresh the able VBBE.

you can also execute this program.

Thanks,

Prashant sharma

former_member477577
Participant
0 Kudos

Thanks Prashant for your quick response..

Still we have to do this manually . I was looking for solution which can be achieved in sales order itself by triggering ATP and updating VBBE automatically after checking changes.

Vipin