Problem to creating Inspection Lot
Hi,
I am creating inspection lot using fm as mention below, with inspection type '89'.
call function 'QPL1_INSPECTION_LOT_CREATE'
exporting
qals_imp = l_qals
rmqed_imp = l_rmqed
importing
e_prueflos = l_prueflos
e_qals = l_qals
subrc = l_subrc.
if sy-subrc = 0.
Update memory stack for actual posting...
call function 'QPL1_UPDATE_MEMORY'
exporting
i_qals = l_qals
i_updkz = 'I'.
Post lot to DataBase...
call function 'QPL1_INSPECTION_LOTS_POSTING'.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
IMPORTING
RETURN =
I am getting message, Inspection lot created successfully. But unable to view the Inspectionlot in QALS table. or Is there is any other process to create Inspection lot.
Will you help to solve this problem.
Thanks & Regards,
Srini
Hi,
Check this .
wa_rmqed-dbs_flag = 'X'.
wa_rmqed-dbs_edunk = 'X'.
wa_rmqed-dbs_fdunk = 'X'.
wa_rmqed-dbs_noerr = 'X'.
wa_rmqed-dbs_nowrn = 'X'.
wa_rmqed-dbs_nochg = 'X'.
wa_rmqed-dbs_steuer = '01'.
WA_QALS-MANDANT = SY-MANDT.
wa_qals-WERK = 'XXXX'.
WA_QALS-HERKUNFT = '89'.
WA_QALS-MATNR = '000000000000111111'.
WA_QALS-LOSMENGE = '1'.
WA_QALS-PASTRTERM = SY-DATUM.
WA_QALS-CHARG = 'Test123456'.
WA_QALS-PLNNR = 'FORMULA1'.
WA_QALS-PLNAL = '1'.
WA_QALS-PPLVERW = '3'.
WA_QALS-STAT01 = 'X'.
WA_QALS-STAT20 = 'X'.
WA_QALS-PLNTY = 'Q'.
WA_QALS-PLNNR = 'FORMULA1'.
WA_QALS-PLNAL = '1'.
WA_QALS-CHARG = 'AB78654'.
CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
EXPORTING
qals_imp = wa_qals
rmqed_imp = wa_rmqed
IMPORTING
E_KZSKIPLOT =
e_prueflos = gv_prueflos
E_QALS =
subrc = gv_subrc.
E_SKIP_TO_STOCK =
IF gv_subrc = 0.
COMMIT WORK.
ENDIF.
WRITE 'ABCD'.
Ashutosh
Similar Messages
-
FM to create inspection lot same as in QA01
Hi Experts,
I need a function module to create inspection lot as in QA01. Can you please help?
Thanks,
VitzHi vitish I will refer you to this wiki .. created by Arpit shah
http://wiki.sdn.sap.com/wiki/display/Snippets/FMforAutomaticInspectionLot+Creation
According to the wiki
the FM you are looking for is
QPL1_INSPECTION_LOT_CREATE
Also a BAPI for the same
CO_QM_INSPECTION_LOT_CREATE.
Also a forum entry for the same
Inspection Lot creation Problem using FM QPL1_INSPECTION_LOT_CREATE
Br
Manthan. -
How to create inspection lot manually without using QA01 Transaction code?
Hi,
Please anybody give procedure for creating Inspection Lot Manually without using Transaction Code QA01Hello, Srinivas,
If you want another T code only then you can try QA01A.
or you can create a Physical Sample with QPR1 and then click on the button there to create inspection lot. To create inspection lot for that Physical sample (you will able to see that button only after releasing the sample) Or you can use QPR5.
But let me know the reason why you want T code other than QA01.
Regards,
Shyamal -
Hi,
Someone know if exists an standar BAPI or function to create an inspection lot?
Many thanks!!Hi,
try these....
Function group Function group short text
Function Module Name Short text for function module
COQM Create inspection lot from order
CO_QM_INSPECTION_LOT_CREATE Create inspection lot from order
CPCC_BUS1191 BAPIs for Inspection Plan
ALE_INSPECTIONPLAN_CREATE
BAPI_INSPECTIONPLAN_CREATE Create Inspection Plan
CPDMDATACOLLECTOR2
C_PDM_INSPECTIONPLAN_CREATE
QMHU
QMHU_INSPECTION_LOT_CREATE
QPL1
QPL1_INSPECTION_LOT_CREATE
QPLEXT
QPLEXT_INSPECTION_LOT_CREATE
Arunima -
Creating inspection lot in REM
Hi
In REM(Repetitive Manufactruing) Scenario:
Is their any possibility to create an inspection lot.
1) At the first GR and no more at subsequent GR or;
2) at each GR?
Thanks in advance
SaravanaHi kumar
if you want to create inspection lot for REM then following are the settings
1. inspection type 13 for inprocess check for repetative with task list selection
2. maintained inspection characteristics in rate routing for which you want to maintained inspection.like inspection point
3. Inspection creation by tcode MFPR which creates inpsction lot for your production version. manually,
Regards
Pravin -
Problem in Early Inspection Lot
Hi Gurus,
We are using 04 inspection- early lot inspection.
Production order quantity is 100Ton. Confirmation done for 75Ton. UD given for the lot with 75Ton. But at the time of confirming remaining 25 Ton, a new lot has been generated. There is no requirement of new lot. How to avoid the second lot?
Thanks in AdvanceHi
new inspection lots are created when:
The batch is changed for materials subject to batch management,
Goods receipts are posted to different plants or storage locations,
A previously created inspection lot has already been completely credited from the stock,
Different special stocks are being posted,
A previously created inspection lot has been canceled
sujit -
Create Inspection lot at 'Network - Activity' level
hi all,
We are having a requirement to see if there's a possibility to Create inspection lot at 'Network - Activity' level for activities that are "In-house" processing. So that the user can record the Inspection information against a Network - Activity.
Ex - Network Activity:
1)Plate cuttingu2014 Inspect cut edges
2)Welding - Inspect Weld joint
3)Rolled tube - Check Inner diameterAny suggestions plz!!.
-
I need to create inspection lots using FM. I have the matnr and charg available. How to use this FM to create inspection lots?
CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
EXPORTING
qals_imp =
rmqed_imp =
* IMPORTING
* E_KZSKIPLOT =
* E_PRUEFLOS =
* E_QALS =
* SUBRC =
* E_SKIP_TO_STOCK =We have created a function which creates inspection lots based on some Z-tables we have. The FM you mention creates the inspection lot but just stores it in memory. It is necessary to update table QALS. Here's the interesting part of the code we're using:
LIKP data:
MOVE ztaf07-proveedor TO l_likp-lifnr.
MOVE ztaf07-cliente TO l_likp-kunnr.
MOVE ztaf07-cliente TO l_likp-kunag.
SELECT SINGLE vkorg FROM vbak
INTO l_likp-vkorg
WHERE vbeln = ztaf07-vbeln.
IF sy-subrc <> 0.
MOVE sy-subrc TO l_subrc.
EXIT.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LIPS data:
MOVE ztaf08-matnr TO l_lips-matnr.
MOVE ztaf08-werks TO l_lips-werks.
MOVE ztaf08-c_fact TO l_lips-lgmng.
MOVE ztaf08-vrkme TO l_lips-meins.
MOVE ztaf08-charg TO l_lips-charg.
MOVE ztaf07-fecha TO l_lips-mbdat.
TVLK data:
MOVE '89' TO l_tvlk-qherk. "Lot creation without reference
CALL FUNCTION 'QAAT_SD_LOT_CREATION'
EXPORTING
i_kuwev = l_kuwev
i_likp = l_likp
i_lips = l_lips
i_tvlk = l_tvlk
IMPORTING
e_prueflos = l_prueflos
E_TEILLOS =
EXCEPTIONS
x_no_origin = 1
OTHERS = 2.
IF sy-subrc <> 0.
MOVE sy-subrc TO l_subrc.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
MOVE l_prueflos TO l_lipsvb-qplos.
MOVE 0 TO l_lipsvb-qtlos.
MOVE 1 TO l_lipsvb-updkz.
APPEND l_lipsvb.
CALL FUNCTION 'QAAT_SD_LOT_POSTING'
TABLES
t_lips_tab = l_lipsvb.
IF sy-subrc <> 0.
MOVE sy-subrc TO l_subrc.
ENDIF.
COMMIT WORK.
ENDIF. -
Create Inspection Lot for Serial Number
Hello,
Is it possible to create an Inspection Lot and associate it to a Serial Number right away.
I've done a process were I've change the Material and Serial Number of my equipment, so now the old inspection lot is not usefull no more and I would need to have a new inspection lot so that the movement to place the stock on unrestricted is cone for the new inspection lot.
Or is that any other way to do this???
Thanks in advance.
BMOAtul,
The inspection lot is created when the mobile is delivered from client and dismantled, and my stock gets increased for the returned material - that stock remains in Quality.
Later when the Usage Decision for the Inspection Lot is given (depending on the selection) my stock passes from quality to unrestricted, and this is the normal process without issues.
Possible exception:
If in the midle of the process I've to change the serial number for this mobile or to change the Material + serial number, the first Inspection Lot created is not helpfull to me because I can´t change there the Material or serial number. So the Usage Decision would be given for the old serial number, isn't it?
Today I found a Ztransaction that is used to create Inspection Lot. In the first step the material, goes in the warehouse in Quality and in the second step, when the Usage Decision is given, the stock passes from Quality to Unrestricted.
For the substitution Material / Serial number everything is correct, but for the first one it's not, should this obsolete stock goes to scrap?
Thanks,
BMO. -
Hi,
In my program, I want create an inspection lot with Function 'QPL1_INSPECTION_LOT_CREATE'. Before I created the inspection plan. I used control flags (RMQED) like the function 'CO_QM_INSPECTION_LOT_CREATE'. In 'QPL1_INSPECTION_LOT_CREATE' output, I have a subrc equalt to 0. Normaly, it must created a new input in QALS table but I have nothing!! I debuged the 'QPL1_INSPECTION_LOT_CREATE' and I see that the inspection lot obect number begin by 'TM' and not by 'QL'.
Why the 'QPL1_INSPECTION_LOT_CREATE' process doesn't show error but doesn't create the inspection lot and why the inspection lot obect number begin by 'TM'???
I see the functions 'OBJECT_NUMBER_GET_QL' and 'OBJECT_NUMBER_INSERT_QL'... but I don't know used it!
What the process to create Inspection Lot??
Thanks.Hi,
Refer this:
http://help.sap.com/printdocu/core/print46c/en/data/pdf/QMIMIL/QMIMIL.pdf
http://sapqminfo.blogspot.com/search/label/Inspection%20Lot%20Creation -
Create inspection lot move data from mseg to qals
hello.
When SAP create inspection lot from MIGO, I need to move mseg-ablad ( uploading point) to qals-yyfield.
In Migo we can have more than one pos, then system create differents inspection lot.
Is it possible ??? are there any user exit to do that ??? i see user migo's exist and inspecion lot's create, but in both cases i don't see all data to read an and move it.
Regards.
AntonioNamastey
In my case i have Migo with more than one position, and for each position the system will create a new inspecion lot.
Do you mean there are more than one Items in PO and for each Item there will be different inspection lot?
Then,
You need to get Material document number for inspection lot number and get MSEG-ABLAD which will be QALS-YYFIELD (YYABLAD).
I hope, I have understood your question!!
Amol. -
Create inspection lot in sales return
Hi Experts,
When doing sales return (VA01) and return delivery order (VL01N), if I need to create inspection lot for QA guys, what is required to set?
I have tried using SAP standard inspection type 06 or 10, no inspection lot is created.
Please help!
Regards,
DanielHi
Sales return inspection mainly deals with two scenarios: stock relevant and non stock relevant. 06 inspection origin/type is for non-stock relevant and the preferred one.
The basic setting is already explained in previous post. Now few things to done are:
1. Activate inspection type 06 for the materials
2. Make sure tick box is not checked for movement type 651 in QCC0Q-inspection-Insp lot creation-insp for good movement--deactivate quality
3. in Tcode VOV6, select schedule line category DN and check that movement type maintained in 651
4. Check your inspection plan usage is correct as per your inspection type setup.
Now your settings are completed for customer return inspection with 06 origin. Once any return delivery is done, a non-stock relevant lot will be created in SAP. -
QM - linking newly created Inspection Lot to an existing Notification
We have a business requirement to link a newly created inspection lot to an existing Quality notification. When defects are recorded in the Inspection Lot, the linked quality notification should be used as opposed to creation of a new notification.
I am able to create the document flow to point the existing notification to Inspection Lot. In essence when the user displays the notification using QM02/QM03 and goes to document flow the newly created inspection lot gets displayed.
Has anyone encountered similar business requirement? Any inputs will be very much appreciated.
Thanks!
Edited by: Sridhar Adurti on Aug 4, 2010 11:03 PMDear Burno
Linking an inspection with an existing notification is not possible.
But what can you do is create another notification for this. There is a funcationality in notification called as Related notification wherein you will get to know if there was a notification generation for this material before and it will also give you the inspection lot and all the details.
Regards
Gajesh -
Creating inspection lot for vendor returns
Hi All,
In Subcontracting, components are sent to vendor using Mov Type 541, if vendor returns the components without any value addition we recieve the goods with Mov type 542.
Now, when we recieve the goods using 542 customer requires that the material has to be posted to quality inspection and a lot has to be created.
I have already tried with inspection type 08 but its not working.
Any ideas how it can be done?
Regards
Naveen GoveasHi Naveen,
You have come across a common problem in later releases of SAP. Ram is nearly right in the settings for control of inspection lots for goods movements. In the standard system movement type 542 has no inspection lot origin assigned, so even if you have maintained an inspection type for your material there is no "trigger" for the inspection lot creation from that movement type. Unfortunately, you cannot change the inspection lot origin settings for movement types. The only choice you have is to create (as a copy) a customer defined movement type (one which already has the appropriate inspection lot origin assigned) and use that instead. You have to also be careful about the 'Quantity' and 'Value' updating strings for your new movement type.
Hope that helps.
Colin -
Sample size does'not appear in QA02 of created Inspection lot Number.
Hi Experts,
I have created a production order of a material and its Inspection lot is automatically created but the inspection lot created does'not have sample size from the stock as a result I am unable to perform result recording of a inspection lot.
Please correct me if i am wrong.
Thanks
SaurabhDear Saurabh Mishra.
Kumar & Barjatya's said is right. and more you can consider for solve this problem as below step;
- You must change the sampling procedure in the inspection plan. After you have reset the sample
in QAC3
1. First you must change the sampling procedure to fixed sample (assuming you have 100%
inspection at present) in QDV2 or
create a new sampling procedure (as Naik remarked) with fixed sample in QDV1
2. Then assign the changed sampling procedure in the inspection plan through QP02
3. Then assign a sample quantity in the inspection plan in the same transaction (QP02) for the
inspection characteristic to be inspected
4. Save the inspection plan, and run QA02 where you re-assign the updated inspection plan and
re-do sample calculation.
For GR based lot i have already stated what has to be done. In case of an inspection lot caused
due to the GR from a process or purchase order, cancel the GR. The inspection lot is also
cancelled. Then follow steps 1 to 3. In the 4th step after saving the inspection plan, simply do the
GR again, It should work out.
Regards,
Jeong, Yeong-Chul
Maybe you are looking for
-
Steps to setting up email for Lion Server Alerts
Can anyone describe the steps to configuring email alerts on Lion Server? I see a place to enter the email address in the Alerts window but no messages ever get emailed. Is there another setting I need to turn on to get the server to send email?
-
Report to see versions of oracle financials modules
Do you know any seeded report I can ran to see what versions of financial modules reside in our database? Can we use diagnostic tools? how to use it? I'm trying to find the version of i-expense.
-
Let me first start by saying I am not an expert at JSP. So this might seem as a easy question to the most of you, but for me it is all new. I am using a JSP application that uses the sun jdbc driver. Now I am using SQL 2005 and want to create a query
-
Hi all, some questions 1.Do I need to put an ip on the ap manager interface? 2.does the ap manager interface go on the same subnet at the access points? 3.Im using 2 wlc's for redudancy, what special config do I need to do on them, do I need to tell
-
The following query is somewhat related to Oracle Apps import export. My requirement was to add a LOV region to an existing HRMS page AssignmentPG.xml (seeded). Question 1) Do I add this LOV region to this page directly..? or shall I make this region