Variable Next inspection date
Hello Forum,
I am working on a requirement of Variable Next inspection date. First time the next inspection time line is after 6 months and 2nd time it should be triggered after 4 months and subsequent one at each month . There is only single field as Inspection interval in the material master. After looking superficially it looks to me that we can realise this through the exit QEVA0003.
But before designing in detail using this exit I would like to understand whether we can achieve this with any other standard SAP functionality -. Bespoke development and exits are the last thing I like to suggest to clients if we have standards SAP way to do the same thing .
Regards
Kaushik
You are correct.
The customer exit 'QEVA0003' inputs the next inspection date of batch master.
User can change the next inspection date at transaction MSC2N or MSC5N in SAP standard.
But if you have variable interval for recurring inspection and want to assign next inspection date automatically, you should implement the exit 'QEVA0003'.
Regards
Luke
Similar Messages
-
Next inspection date is not updated in batch / prposed at the time of UD
Hi
I have configurted the system for retest of batches, the system successfully creates the inspection lot but when does not propose next inspection date at the time of UD nor it updates in Batch Master.
I entered inspection interval days in QM View, the system entered the first inspection date correctly. Also Batch Restriction is working properly.
Kindly help.
regards
MobashirHi Shaymal & VRMP
I have checked the system, the only problem I am facing is that the system does not show next inspection date dialog box at the time of UD where I can see the next inspection date being set by the system
Say, I use QA07 (Triggered Manually) on 19.jan.08. The Next inspection date was 26.jan.08 and Initial Run in Days was 10 (days), the system created inspection lot on 19.jan.08 successfully. At the time of UD it automatically set 29.jan.08 as the next inspection date (i.e. 19.jan.08 + 10 days) istead of 06. Feb.08 (i.e. 26.jan.08 + 10 days) without showing dialog box / suggesting next inspectino date.
regards
Mobashir
Edited by: Muhammad Mobashir on Jan 19, 2009 7:11 AM -
Deactivate creation of new next inspection date on re-GR
Our user created GR (MIGO) against a PO and subsequently a new batch with a next inspection date was created based on inspection interval set to 730 days.
The user agin after a few days did GR against the same PO and the next inspection date was again calculated based on this GR date and the interval. We do not want this re-assignment of the next inspection date once it has been set. Please help.
MrunalThe problem is a user error.
When you receipt a material that has a shelf life requirement, you must enter in the production date, (manufacture date), in the GR. If you don't, it will default in the current date and usse that to calculate the expiration date.
On the second receipt, the same thing will happen. If the same batch is specified, if I remember correctly, the system should give a message that "batch has already been receieved" or some kind of warning. For the production date, I believe it will still default in the current date. I think there is another warning that the expiration date will be recalculated and a "do you want to continue" question. If they blow through all these warnings, the system takes the new manufacture date and recalculates the new expiration date. To the best of my knowledge you can't change this. The users must be trained to ALWAYS enter in the correct prodcution date.
FF -
Report to get next inspection date from msc2n
Dear All ,
I am trying to create a report for materials batches and the next inspection dates in msc2n . Is there a report of this type available in standard SAP ?
Secondly
From msc2n it gives the field as QNDAT in table MCHA . However I notice that when the dates in msc2n are manually changed or many other times the fields QNDAT in MCHA are completely blank . I have how ever noticed that the field QNDAT in MCH1 gives all the next inspection dates . How ever it is not mentioned in msc2n > How could this be explained .
Ram~Hello Ram,
No there is no such STD trx available that can give you your desire list for 'Next Inspection data'.
Regards,
Shyamal
Edited by: Shyamal Joshi on Dec 23, 2008 11:48 AM
Yes As correctly suggested by Ashok the table is MCH1, from where you can find all the details you need. along with the changed (Updated record) through MSC2N.
Edited by: Shyamal Joshi on Dec 23, 2008 2:24 PM
Dear Ram,
BMBC will not help you to see the 'Next Inspection Date' in list form for all the batches in one screen. You will need to go to the Batch detail Change-Display for each batch to meet the requirement. While the table MCH1 is 100% satisfactory one for your requirement. -
"Inspection interval" is defined in the QM view of Material Master, and the system is calculating the Next inspection date from mfg. date automatically, and feeding it automatically in the relevant field in the Batch.
Hence, we need to change u201CNext inspection dateu201D manually for each previous batch if it is revised on the basis of stability, which is practically vary difficult.
Requirement: Retest period shall be revised if changed updated in material master for inspection interval.
AYKDear AYK
From your post it appears that you have Batch Management activated lready and QM functionality you are trying to activate subsequently.
I think you need to make use of Recurring inspection for Batches with Shelf Life Expiry Date (SLED) then only this functionality will work in totality. For this purpose in QM view add Inspection interval period alongwith SLED data
You can use Trigger manually ( T.code QA07) or Job planning ( T.code QA05) for this purpose.
Incase you just want to update next Inspection, you need to do one by one OR make LSMW for same.
Hope this will give you clue
Regards
GIRISH -
Next inspection date in the Batch Determination Screen
Hi Gurus,
I am having problems with some user requirements because I am an abaper and I think this needs some SD expertice. Users want to see the "Next inspection date" of the batch (field QNDAT) when they do the batch determination of a delivery (Batch Split --> Batch determination). They want to see a new column in the screen, right next to the "Characteristic sort" field. I think that to put a new column in that standard screen is not possible. So I suggest to change the contents of the existing characteristic sort. And there is where I do not know how to do that. It is possible at all to have the next inspection date as a characteristic of the batch and then use it to sort?
Any help would be really appreciated.
Regards.Hi,
Yes you can use next inspection date as a characteristics and sort the batches based on that.
Inform the user to add this characteristics (LOBM_QNDAT) in the material batch class and batch selection class using transaction code CL02.
Then in SPRO, using transaction code CU71, in the sort rule add this field as characteristics (LOBM_QNDAT).By this way the system will sort the batches based on next inspection date as parameter.
Note that the user needs to fill-in the next inspection date in all the batches in order for the sort rule to work properly.
Regards, -
Batch determination with condition next inspection date is =10
Hi,
I want to configure the batch determination in such a way that if next inspection date is <=10 then the batch should not consider in the batch determination at the time of creation of process order, only those batchs should conside whose next inspection date is more 10 days.
can anyone suggest ,any solution on this .
Thanks
HSHi Shaymal & VRMP
I have checked the system, the only problem I am facing is that the system does not show next inspection date dialog box at the time of UD where I can see the next inspection date being set by the system
Say, I use QA07 (Triggered Manually) on 19.jan.08. The Next inspection date was 26.jan.08 and Initial Run in Days was 10 (days), the system created inspection lot on 19.jan.08 successfully. At the time of UD it automatically set 29.jan.08 as the next inspection date (i.e. 19.jan.08 + 10 days) istead of 06. Feb.08 (i.e. 26.jan.08 + 10 days) without showing dialog box / suggesting next inspectino date.
regards
Mobashir
Edited by: Muhammad Mobashir on Jan 19, 2009 7:11 AM -
Automatic inspection lot creation upon reaching the next inspection date
Hi qm experts,
I have this scenario; my client wants to make an automatic inspection lot creation as well as posting to quality inspection stock of certain materials upon reaching its next inspection date defined in the msc2n transaction; how shall i make the inspection set-up of this materials??Thanks
Regards,
Matildo, Edsel F.
QM ConsultantOk, you have me confused. You want to do this as a one time thing? I thought you want it to look every day, or every week, for batches that have reached their next inspection date?
If its a one time thing, then yes, just run QA07 one time. It only looks at unrestricted inventory. Do not set up any parameters in the bottom half of the screen for expiration date. If you do, any of those that have reached expiration date will be moved to blocked stock and no inspection lots created.
If you want this to run regularly, you, or someone, needs to use QA05 to set up the batch job to run on a regular basis witht the approriate "days" value for how often your running it and how far in advance of the inspection date you want lots created. And of course tick on "to inspection stock".
There is no "automatic creation" as I think your thinking. You either run QA07 once a day, or once a week or as often as you want to. OR you set it up in a batch job (QA05) to be run once a day, once a week or as often as you want to.
When the batch job is running, it 'appears' that the lots get created automatically. But it is the QA07 program being run in batch that is creating them.
Craig -
Next Inspection Date in case of Mov. Type: 309
Hi,
During Transfer posting using Mov. Type: 309, (Inspection Type: 08) the Next Inspection Date is coming as per our logic of UD Date + 365 (Inspection Interval maintained in Material Mst.).
But our requirement if that, the Next Inspection Date in case of transferred material must be same as from which transfer has been done.
e.g. suppose material ABC is received with GR (Mov. Type:101) and its Its Next Inspection date is coming as 01/01/2012 (as its UD was done on 01/01/2011 + 365 (Inspection Interval maintained in Mtrl Mst).
When we transfer this material to XYZ (with Mov. Type:309), its Next Inspection Date is required that of ABC (01/01/2012). But, as per present logic it is coming UD Date + 365 Days = 23/01/2012 (i.e. if UD is performed on 23/01/2011).
How can I do that ?
Thanx
VivekMy guess is your batch level is at the plant level. If the batch level is changed to material level or client level, this problem would go away. This can have major impacts in other areas so it must be carefully considered. But if this your requirement, it sounds like you might be at the wrong batch level right now.
FF -
Dear all,
Is there any standard report in SAP which gives the list of all materials which are due for retesting in a period of time like say 1 st of month to 30 th of month
regards
venkatHi
I think its QA07 only but also explore BMBC
Regards
Sujit -
MSC2n next inspection lot to be calculated from the production date
Hi gurus,
My query is
1. In Tcode MSC2n, next inspection lot is to be calculated from the production date and not from last goods movement date. is it possible to get next inspection lot to be calculated from the production date.
2. how to make automatic creation of inspection lot in SAP based on the next inspection date. Right not, it is being done manually using T-code QA07.
thanks in advance
regards
vbTo manipulate next inspection date use user exit QEVA0003.
To automatically create 09 inspection types use transaction QA05, schedule it to run in background at periodic interval -
Recurring inspection date -how to update
Hi experts,
I am doing recurring inspection of a batch B1 of material X with inspection interval=4 days which has been manufactured on 17.09.2014 and its next inspection date is 21.09.2014 if we see in MSC2N.
In QM07 i am putting "initial days =4" and a lot is formed. I did UD of that lot and cleared.
Now my question is how will my batch update with next inspection date as 21+4=25.09.2014 or i have to do it manually.How can i fullfill requirement of recurring inspection of batch will lot formation on interval of 4 days?Hi Amit,
You need to schedule background job using transaction QA05 using variant.
If the background job is scheduled daily, the system creates inspection lots as per the control parameters in the variant.
1. Lot Creation only: The system creates inspection lots for the selected batches when the next inspection date is within the opening period automatically as per your indicator set on the initial screen.
2. To inspection stock at lot creation: The system creates inspection lots for the selected batches when the next inspection date is within the opening period. When the inspection lots are created, it posts the batch stock to inspection stock. If an inspection lot already exists, the stocks are also posted to inspection stock and the inspection lot is updated accordingly.
3. Block batch at lot creation: The system creates inspection lots for the selected batches and blocks the batches by changing their status to "restricted." If the batch status management function is not active, the stock is posted to blocked stock.
4. To inspection stock at inspection date: The system posts the batch stock to inspection stock when the next inspection date is reached. If an inspection lot already exists, the system updates the existing inspection lot. If a lot does not exist, the system creates one.
5. Block batch at inspection date: The system blocks the batch when the next inspection date is reached. If the batch status management function is not active in your plant, the stock is posted to blocked stock.
Please find screen snap on the initial screen attached.
Regards,
Gururaj Kulkarni -
Creation of OLAP Variable for Master data
Dear BW Experts,
How to Create OLAP Variable for Master data in SAP BW? What is the use of OLAP Variable?The entry column Type (Variable) on the Select Data tabpage indicates a variable time frame in which the data should be requested. The variables are not replaced by concrete values until a request is made. There are eight options:
Variable Data request Description
0
Yesterday
(12am 12am)
1
Last week
(Monday-Sunday)
2
Last month
(1. (First day - last day of previous month)
3
Last quarter
(1. (First day - last day of previous quarter)
4
Last year
(01. (January 1 Dec 31 of previous year)
5
User time selection
See below
6
ABAP routines
See below
7
<b>OLAP variables</b>
See below
<b>Time selections with the help of the variables 0 to 4.</b>
The variables 0-4 only refer to date fields of the data type DATS.
<b>User time selection</b>
Type 5 gives you a free selection of all fields.
If you select this variable for a field, confirm the selection, and then choose Detail for Type, an additional dialog box appears. In this dialog box you can freely limit the values of the fields and determine the next period value and the number of periods until a repetition.
Variables are placeholders for values and are not replaced by concrete values until a data request is made. You can also use a Variable for selections when requesting data for an InfoObject, if you choose type 7, confirm the selection, and then choose Detail for Type. -
How to create line hart with variable number of data series
Hello,
I am student and I am completely new to Flex programming but
I need to urgently create an app that should have a variable number
of data series but of ame type of object.
eg. Profits for X,Y and Z in in run while just corp X in the
next instance.
How can I accomodate for this in the app? can someone point
me in the right direction I would really greatful as this project
is really crucial for my coursework to get finished in timely
manner.
Thank youHey,
I'm not really sure what you want, but you should check out:
http://demo.quietlyscheming.com/ChartSampler/app.html
Which has a list of different types of charts in Flex and
will hopefully help. Also check out charting from ILOG, which is
quite good:
http://www.ilog.com/products/elixir/ -
Hello,
is there a way to return the next 7 dates just using a query... for example, I need a query that returns:
select (I don't know that put here) from dual
Date
2012-10-05
2012-10-06
2012-10-07
2012-10-08
2012-10-09
2012-10-10
2012-10-11
If possible, I would like to know if there's a way to pass a date and based on it, the query returns the next 7 dates based on the passed date... for example:
select (I don't know that put here) from dual where date > '2012-10-15'
Date
2012-10-16
2012-10-17
2012-10-18
2012-10-19
2012-10-20
2012-10-21
2012-10-22
I really appreciate any help
ThanksSven W. wrote:
I don't like connect by. That is fair enough, it is just your opinion.
It is slow and shouldn't be used for real production code.This however, is absolute garbage.
Changing the query to return 10,000 dates takes a little over 1s
SQL> select date '2012-10-15' + level - 1 from dual
2 connect by level <= 10000;
<snip>
28-FEB-40
29-FEB-40
01-MAR-40
10000 rows selected.
Elapsed: 00:00:01.26>
In your case you can simply do this
with inputdata as (select to_date('2012-10-15','yyyy-mm-dd') startday from dual)
select startday+1 from inputdata union all
select startday+2 from inputdata union all
select startday+3 from inputdata union all
select startday+4 from inputdata union all
select startday+5 from inputdata union all
select startday+6 from inputdata union all
select startday+7 from inputdata ;
Running your alternative for 10,000 dates took quite some time to create, needed to be put in a file to execute and has been running now for about 15 minutes
select date '2012-10-15' + 1 from dual union all
select date '2012-10-15' + 2 from dual union all
<snip>
select date '2012-10-15' + 9996 from dual union all
select date '2012-10-15' + 9997 from dual union all
select date '2012-10-15' + 9998 from dual union all
select date '2012-10-15' + 9999 from dual union all
select date '2012-10-15' + 10000 from dual
;It is much more code, takes more time to write, is proven to be incredibly slow and shouldn't be used for real production code.
Edited by: 3360 on Oct 5, 2012 9:52 AM
Sorry it took only 12 minutes, it seemed a lot longer when waiting for it
29-FEB-40
01-MAR-40
01-MAR-40
02-MAR-40
10000 rows selected.
Elapsed: 00:12:01.35
Maybe you are looking for
-
Attempt to burn failed - 4450 error
I see at least two other people have encountered this error. I put a new CD in and attempt to burn some purchased songs to it. The process starts, looks like it's working on the first song, and then I get a message that iTunes is cancelling the burn
-
DNS Server binding wrong ip address
The DFS Replication service failed to contact domain controller to access configuration information
-
Upgrade LMS 3.2 - Windows cannot access the specified device, path, or file
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm
-
After XP SP2 upgrade connot save settings
Have setup many wireless routers (WRT546 style) without any Save Settings issues but 2 weeks back upgraded XP-Pro with Service Pack 2 and have not been able to setup anything since! Have disabled Virus Software (Norton Corporate Vaerion) and Firewall
-
Where these properities will store for an OLE object
Hi, REPORT. INCLUDE OLE2INCL. TYPE-POOLS OLE2. DATA: out TYPE ole2_object, outmail TYPE ole2_object. CREATE OBJECT out 'Outlook.Application'. CALL METHOD OF out 'CREATEITEM' = outmail EXPORTING #1 = 0. SET PROPERTY OF outmail 'TO' = 'surya@xxzilcom'