cancel
Showing results for 
Search instead for 
Did you mean: 

Date option in stock reversing program(SAP NOTE 175842)

Former Member
0 Kudos

Hi Gurus,

We have prepared a program with SAP NOTE 175842 for reversing stock posting.My client has done GR in march 09 and quality peoples have posted to unrestricted stock in same month.Now because of some reason stores person want to cancel GR. So we have reversed the posting for the lot in April using the programme.Now when stores person try to cancel GR in month of march system is giving error "Deficit of SL St.in QI prev. 14.800 MT ".Because we have reversed the posting from unrestricted to quality in april and we are trying to cancel GR in March system is giving above error.

Is there any settings such that in stock reversing program we can enter the date, so that on a particular date we can reverse the stock.Because in current situation we can enter lot no. only or is there any other solution to overcome this situation

Regards

Amit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Gurus,

Issue Solved

Regards

Amit

Former Member
0 Kudos

hi amit

Ask abaper to bring document date and posting date in the selection screen of that zprogram because system takes only current dates by default in background its should be entered manually externally.

when you reversed that document that particular document date and posting date should be entered in the first screen of that program.

Regards

Pravin

Former Member
0 Kudos

Hi Pravin,

Thanks for your reply. With the help of abaper i already brought date option below inspection lot option.

Regards

Amit

Former Member
0 Kudos

Dear Amit,

We have same the requirement. Can you suggest the ABAP code that you have implemented.

former_member186399
Active Contributor
0 Kudos

Dear Amith

Please check your requirement once again. Even if you try to get a date option for UD reversal , logicali if the UD was given in April and if you try to reverse for March then stocks will not be available in for that month in QI stock. You have to do the reversal for the date of your inspection lot stock posting.

It is better not to do any change in SAP note

Regards

gajesh

Former Member
0 Kudos

Hi Gajesh,

Thanks for your guidance.

Regards

Amit

Former Member
0 Kudos

hi amit

Yes system will not allow you to cancel GR for March when Reversal stock posting was done in April.

Because it will consider the status of stock when GR was made.

Which movement type you have used for reversal From Unrestricted to Quality.

Was it the activation of 08 & then 322.

If it is so then cancellation of GR will not take place through original GR document(as it is in unrestricted), It will give error msg if you give reference of same.

Even GR can not be cancelled based on 08 inspection lot as 08 is not wrt PO.

Just asuggetion explore User Exit

QEVA0008 Usage decision: Customer function key (e.g. to cancel UD)

Sujit