‎2009 Feb 26 7:30 AM
If anyone has used the above user exit for carrying out availability checks, then please tell me how to use it. I want to change the 'Dely/Conf date' and 'Confirmed Qty' on the availability control screen but no success so far. There is no documentation available on this exit as well
PS: I am using VA02 and this user exit is called from routine MVERF_PRUEFEN in include LV03VF0M.
Edited by: hiFlier on Feb 26, 2009 8:30 AM
‎2009 Apr 16 7:15 PM
We have the same issue...did you find a solution? Help! Let me know. Jeremy
‎2009 Apr 17 8:57 AM
Yes, finally I made it run. But not through the exits. They do not help at all (unless SAP has some trick to make it work!).I had to change the standard program after getting access keys. I used memory id to determine whether the custom logic should be fired. We had some checks based on which the dely date had to populated so am including the code where the date is finally copied.
In include LATP4FD9 - move the desired date to the schedule line date - Line 194
updated material availability date is stored in ATPTERMX
READ TABLE atptermx WITH KEY tline = mdve_diax-tline
TRANSPORTING mbdat.
rv03v-mbdtl = atptermx-mbdat.
*{ INSERT
DATA EXIT_FLAG2(1).
IMPORT EXIT_FLAG1 TO EXIT_FLAG2 FROM MEMORY ID atpcsx-delnr.
IF NOT EXIT_FLAG2 IS INITIAL.
RV03V-ETDTL = RV03V-WZTER.
FREE MEMORY ID atpcsx-delnr.
ELSE.
*} INSERT
rv03v-etdtl = mdve_diax-dat02.
*{ INSERT
ENDIF.
*} INSERT
The memory id can be populated in USEREXIT_AVAILABILITY_IN and then retrieved in above code. You can debug, change the values and see the results before implementing the code as well. Cheers!!
(Alas, I don't think I can get points for my own post..lol)
‎2009 Apr 17 1:56 PM
I just sent you a link respond to that and I will award full points.
‎2009 Apr 17 2:20 PM
hey... thanks.. i just replied to your post.. Hope the solution worked for you ?
‎2009 Jul 14 8:59 AM