cancel
Showing results for 
Search instead for 
Did you mean: 

Clear/Delete open reservation against Maintenance Orders

faisal_khan
Participant
0 Kudos

Hi,

Reference to an old thread below:

How to close/delete open reservations | SCN

Our requirement of closing /deleting Open reservations against Orders (reservation less than given date) is not being fulfilled.

When running tcode MBVR, its not picking any Maintenance orders created with IW31.

Any suggestions please?

Thanks

Faisal

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Faisal khan

A simple program using fm BAPI_RESERVATION_DELETE with list of Reservation nos (RSNUM) as input  could address your issue.

Regards

KJogeswaraRao

faisal_khan
Participant
0 Kudos

Hi,

Will the BAPI_RESERVATION_DELETE take care of the automatically generated Reservations from Work Order?

If so, then will the reservation in the Order be flagged deleted or its Qty will be changed to 0?

Also when creating order with multiple components, a single Reservation Number is assigned to all. If we have changed requirement date of few components to a different date, will those be deleted too using the BAPI?

As requirement to close those Reservations only with date less than current system date.

Regards

Faisal

jogeswararao_kavala
Active Contributor
0 Kudos

These queries you need to test yourself. I can not simulate and see. I hope you know that you can test it through SE37. Test it for single value and verify your points..

Regards

KJogeswaraRao

Answers (5)

Answers (5)

joydeep_mukherjee2
Active Participant
0 Kudos

Dear sir ;

Please create  Z to code  to delete the Reservation based on your Condition .

We have developed the Same kind of Deletion To code based on Time .

Joydeep

faisal_khan
Participant
0 Kudos

Hi Joydeep,

Can you elaborate a bit further as what does your tcode do?

Regards

Faisal

joydeep_mukherjee2
Active Participant
0 Kudos

Dear Mr Faisal ;

In my Z t-code system will first check whcih are the reservation are falling for marked for depletion and after deciding system will put deleletion indicator in the reservations per line item wise .

Regards;

Joydeep

MTerence
Active Contributor
0 Kudos

Hi Faisal,

Have you tried by setting Final Issue Indicator set in the order component line item.

When you set it, the committed quantity will be removed and if you try to post using the reservation, system will display no selectable items.

Regards

Terence

faisal_khan
Participant
0 Kudos

Hi Maria Terence,

The setting Final Issue indicator, can it be set as a mass change? Trying to avoid manual intervention order by order

Thanks

MTerence
Active Contributor
0 Kudos

Hi Faisal,

I dont think mass change is available, but try to develop a custom report or make use of LSMW

Regards

Terence

Former Member
0 Kudos

Hi,

BAPI_RESERVATION_DELETE will not delete the reservation from work order. This delete only manual reservation.

better you use LSMW (or) any other mass change option for IW32 to delete the reservations.

Former Member
0 Kudos

Reservation/PR generated from work order, has to be deleted/Modified from work order only. you have to use change work order transactions (IW32 and IW38).

Confirmation (or) Technical Completion of work order can delete the Open reservation.

Former Member
0 Kudos

Hi Faisal,

Please check this link for understanding how MBVR works.

MBVR---Use of t-code | SCN

Alternatively, if you want to delete some reservtions ( which are open) you can do it through MB22 as well also you can use LSMW for this task,

Regards

Amol

faisal_khan
Participant
0 Kudos

Hi,

MBVR works fine for manually generated reservations. What about automatically generated Reservations from Work Order?

Thanks