BAPI for Creation of inspection lot
I have two scenario:-
1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
YPB
2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
Regards
Sujit
Similar Messages
-
Restrict creation of inspection lot for certain work centers
Hi
My client needs to restrict the creation of inspection lot at certain work centers although QM is active for all material processed in these work centers.
I am using the function module 'EXIT_SAPLQAAT_002' of QAAT0001 for this purpose. Z04 inspection type ( with Post to insp stock) is maintained for all these material.
A different Z table is there , where material-work center combination is maintained for which no inspection lot is required.
Logic provided so that system searches Material-Work center from production order then compares it with the Material-Work center combination with the maintained Z Table.If both found same then no inspection lot will be generated.
But an error message (Change the inspection stock of material XXXXXX in QM only) appears for all those material while doing confirmation in CO11N . Hence system does not allow to complete confirmation for those material where QM is active.
Please suggest if i am using the correct Exit or any further improvement is required.
Thanks and regards
D MohantyHi
Actually the issue is resolved now.The problem was with coding where we were using Table-AFRU for reading prod order details.But AFRU does not consider fresh orders for which it was replaced with AFKO.
Also the Z table must be maintained as Plant-Material-Work center combination prior to go for any order confirmation.
Thank you all who have gone through the post , hope this will help those who have to map the same scenario at their end.
Regards
D Mohanty -
Stop Automatic Creation of Inspection Lot for a condition
Dear Gurus,
While Creating a Delivery through a Sales Order, Config is maintained such that "Inspection Lot" will be automatically Generated.
Now Business wants to Stop this Automatic Creation of Inspection Lot only for a Particular Delivery Type and for a particular mode of Transport.
Do we have any User Exits / BADIs to achieve this requirement.
Please let us know.
Thanks in advance.
Regards,
Vinay MuttHi
To meet you above mentioned requirement you have to modify the program RQAAAS10 as per your logic both to create lot for Expired Material and to consider project stock or vendor stock as In standard SAP these stock are not considered.
regards
Manish -
Scenarios for "manual creation of inspection lot"
Hi QM gurus!!
I would just like to ask the main function of QA01 or "<b>Manual creation of inspection lot</b>"
What are the cases/scenarios where this tcode is used? I would really appreciate if you could help me.. Thank you.
Regards,
Heinrick PaladHI,
The table below provides a brief overview of the functions you can use to process inspection lots. Appropriate cross references are included for the more extensive tasks or for those for which additional information is available.
Prerequisites
The inspection lot processing functions can be linked to various authorizations that are checked by the system whenever you try to process an inspection lot. The following types authorizations are relevant to inspection lot processing:
Material authorizations
The material authorization for QM is stored in the material master. For more information, see Creating and Changing QM-Specific Data for a Material.
Inspection type authorizations
This authorization controls which inspection type the user can access in order to create an inspection lot. The inspection type authorization is plant-specific.
No authorization checks are executed in QM when an inspection lot is created automatically.
Features
Function
Pushbutton / Menu path
What you should know
Accessing the initial screen for the inspection lot processing functions
Logistics ® Quality management ® Quality inspection ® Inspection lot processing ® Inspection lot
Creating an inspection lot manually
See Creating an Inspection Lot Manually
Changing an inspection lot
Choose Change
Enter the number of the inspection lot you want to change and then choose Enter.
Displaying an inspection lot
Choose Display
Enter the number of the inspection lot you want to display and then choose Enter.
Creating a new batch in an inspection lot
See Batch Creation in Inspection Lots
Cancelling an inspection lot
Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Cancel lot.
See Cancellation of an Inspection Lot
Blocking/unblocking an inspection lot
Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Block lot.
To unblock an inspection lot, choose Inspection lot ® Functions ® Unblock lot.
When you block an inspection lot, you cannot process the lot further. You must unblock the lot if you want to perform any additional operations.
Transferring stock in an inspection lot
See Stock Transfers
Making corrections to inspection lot quantities
See Corrections to Inspection Lot Quantities
Creating a QM order
Call up an inspection lot in the create or change mode and choose Goto ® Insp. lot acc. assgnmt.
See QM Order Creation
Resetting the sample calculation
See Resetting the Sample Calculation
Printing inspection instruction/sample-drawing instruction
See Printout of Instructions
Approving a task list
Call up an inspection lot in the create or change mode and choose Inspection lot ® Functions ® Give approval
If the task lists in your company must be approved before they can be used, you should make sure that only approved task lists are assigned to an inspection lot. If the system selects a task list that has not yet been approved, you can use this function to approve the task list (provided you have the necessary material authorization).
this link help u.
http://help.sap.com/saphelp_erp2004/helpdata/EN/be/00bbe7ca5311d2961800a0c930e04c/frameset.htm
reward is usefull.
tahnks. -
Creation of Inspection Lot in QM Module without inspection lot origin
I want a solution regarding creation of inspection lot without assigning inspection lot origin to material code.
We have developed function which creates inspection lot for the material against which PDI is envisaged on the material of a particular Purchase order. In my view we do not require assigning inspection lot origin on the material code as process has been mapped through Qinfo record. By assigning the inspection lot origin on the material is unnecessary step in our process.
Can any body suggest solution regarding above problem.
Yatindra BahugunaDear,
We have developed function which creates inspection lot for the material against which PDI is envisaged on the material of a particular Purchase order.
Little bit stuck up.... can you explain the above in detail...
As I understood you developed a function -
- Which creates material inspection lot
- Which Pre Delivery Inspection applicable on particular purchase order.
YES?
Regards,
Syed Hussain. -
PR Creation at Inspection lot creation
Dear QM Experts
can we generate Purchase requisition with the creation of Inspection lot, Automatically.
in my case there are some inspection operation performed by external agency for which he charge some amount for services.
for this i created a control key of external services and assign this in the inspection plan in a separate operation and enter all the required data like cost element, vendor, Purchasing oganization and material group but when i created the inspection lot , PR is not generated,
should this requirement be cater by SAP?
RegardsHi,
Why do not you try here Source inspection.
During crsation of purchase order lot will get generated .you can inspect material before its coming to your place..
You have to activate 0101 inspection type active.
Qinfo record you have activate source inspection.
Even in procurrement key in custamizing you can have option if material get rejected.
Once purchase order created to create lot you have run transaction QI07.where you can click on create lot.after saving this transaction you can get lot..Then you record result as per toyr requirement like from external services.
Regards
SANIL -
Automatic creation of inspection Lot upon GR
Hello all,
i have a problem with QM module. I want that when QI is active in material master the system automaticcaly create an inspection lot. At the moment when i post the GR the system doesn't create it.
The GR is posted in a storage location manage by WM, so i have customize also the interface WM-WM.
Can you help me, please?
Thanks
MatteoHi Matteo,
The settings required for automatic creation of inspection lot are as follows:
1. Tick the procurement active tick on the material master and assign a QM control key.
2. Assign inspection type 01 and set this to active.
3. Create the q-info record for the material, plant and vendor combination.
4. Set the inspection control to inspection active in the q-info record (no need for the status profile unless you controlling which inspection type to create depending on the specific status).
5. Also ensure for the PO you receiving that the stock type is set to quality inspection and the QM control key is specified.
This should create the inspection lot automatically without the need of a status profile.
Regards,
Roderick -
BAPI for creation of subcontract PO
Hi all,
Currently iam doing a BAPI for creation of subcontract Purchase Order using the BAPI_PO_CREATE1. But in this BAPI iam unable to find the table for entering Components.
Regards,
Sun.Hi,
I wil give you how to fill the components of PO items, it is a sample code;
*zPoHeader
if kna1-kunnr eq 'BOR020'.
zpoheader-comp_code = '0040'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoheader-comp_code = '0048'.
endif.
zpoheader-doc_type = 'ZSA'.
zpoheader-doc_date = mkpf-budat.
zpoheader-vendor = 'BOR050'. "şimdilik
zpoheader-pmnttrms = 'Z030'.
zpoheader-purch_org = '1100'.
zpoheader-pur_group = '101'. "malzeme ÜZERINDEKI marc-ekgrp
zpoheader-currency = zsaleshead-waers.
zpoheader-item_intvl = 10.
zpoheaderx-comp_code = 'X'.
zpoheaderx-doc_type = 'X'.
zpoheaderx-vendor = 'X'.
zpoheaderx-purch_org = 'X'.
zpoheaderx-pur_group = 'X'.
zpoheaderx-currency = 'X'.
zpoheaderx-doc_date = 'X'.
zpoheaderx-pmnttrms = 'X'.
zpoheaderx-item_intvl = 'X'.
*zPoitem
loop at i_posnr.
lv_ebelp = lv_ebelp + 10.
zpoitem-po_item = lv_ebelp.
zpoitem-material = i_posnr-matnr.
if kna1-kunnr eq 'BOR020'.
zpoitem-plant = '0040'.
zpoitem-stge_loc = '4001'.
endif.
if kna1-kunnr eq 'BOR040'.
zpoitem-plant = '0048'.
zpoitem-stge_loc = '4801'.
endif.
zpoitem-quantity = i_posnr-menge.
zpoitem-po_unit = i_posnr-meins.
zpoitem-net_price = i_posnr-bfiyat.
zpoitem-price_unit = 1.
zpoitem-tax_code = 'V0'.
zpoitemx-po_item = lv_ebelp.
zpoitemx-po_itemx = 'X'.
zpoitemx-material = 'X'.
zpoitemx-plant = 'X'.
zpoitemx-stge_loc = 'X'.
zpoitemx-quantity = 'X'.
zpoitemx-po_unit = 'X'.
zpoitemx-net_price = 'X'.
zpoitemx-price_unit = 'X'.
zpoitemx-tax_code = 'X'.
append: zpoitem, zpoitemx.
clear : zpoitem, zpoitemx.
endloop.
call function 'BAPI_PO_CREATE1'
exporting
poheader = zpoheader
poheaderx = zpoheaderx
tables
return = zreturn3
poitem = zpoitem
poitemx = zpoitemx.
Send me your results,
Kenan. -
Bapi for creation of a contract against services.
Hi.
i just want to know the correct bapi for creation of contracts against services..here i was tried with BAPI_CONTRACT_CREATE but the documentation says that it is not supported for exxternal or internal services.
so iam not sure if this bapi is the one for contract creation for services.
any way i was tried to test this function module but i havent got Contract created.
wil be waiting for an excellent answer.
bye.
reegards.
seetaram.Hi Ram,
Try the function module
BAPI_CONTRACT_CREATEFROMDATA.
Once you create the contract, update the technical objects for the contracts
using two function modules called one after another.
IWOL_WV_ADD_OBJECTS
IWOL_WV_POST_OBJECT_LIST
Regards,
Chandra Sekhar -
Number Range for '01' type inspection lot
Dear QM gurus,
Inspection lot numebr getting increment by two instead one when doing GR against purchase order, please guide.
Thanks in advance
Kailash ThakkarIt is impossible in SAP standard because the inspeciton lot origin can have one number range only.
You can check why it is impossible in configuration.
Customizing > Quality Management > Quality Inspection > Inspection Lot Creation > Maintain Inspection Lot Origins and Assign Inspection Types
Regards
Luke -
BAPI for Creation of Maintenance Plan (TCode - IP01)
Hello
Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
Thanks and Regards
AvishekHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey. -
BAPI for Creation of the Project in ECC using Standard Templates
Hi,
I want BAPI for Creation of the Project in ECC using project id and project standard template ID
and BAPI for Updating of project and WBS element using project id and WBS element IDOne idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.
-
Avoiding creation of inspection lot for certain vendors.
Hi,
There is one requirement from my client side , that Inspection lot should not be created for certain vendors ( Issuing plant also consider as vendor here).
The correct requirement is if it is transfered from other plants it should not create the lot and on the other vendors it should create.
We have a have a option through maintaining the QM info record but it was not maintained earlier and newly creation is too difficult.
I remember there is some exit is available to overcome this. Any one having the earlier experince on this...Provide the exit and FM name... High priority one.
Regards
PragashDear Pragash
1) You can maintain Quality info Record in enmass using QI06. Only maintain for the vendor you need to skip.
2) This exit can help you in controling the inspection lot
QAAT0002 Control of acceptance lots/goods receipt
QBCK0003 Extended QM check for goods receipt
Regards
Gajesh -
Creation of inspection lots for vendors
Hello friends,
How can we create inspection lots for all vendors at a time? I want to record results for my vendors(near about 2000 no.) by inspecting their raw matwrials in a lab.Hi Kiran,
Why you are going for manual lot creation if the scenario is like above?
1. Assign inspection type 01 to material master
2. Prepare an inspection plan through QP01 with usage 5
3. Inspection lots will get generated with lot origin 01 whenever you do good receipt through
migo with 101 movement type
Conclusion: Inspection lots will get generated automatically whenever you do good receipt with vendor material combination.
Best Regards,
Anand Rao -
Automatic creation of inspection lot for Expired Batches
Hi All,
I am in one trouble and need some help in above scenario.
I am able to create inspection lot for batches about to expire, but how to create inspection lots for batches which were already expired or which next inspection date already missed?
Master data like '09' inspection type, inspection plan is already maintained.
Second question, is QA07 also affect on special stocks like vendor stock or project stock etc?
Immediate response will be appreciated.
ThanksHi
To meet you above mentioned requirement you have to modify the program RQAAAS10 as per your logic both to create lot for Expired Material and to consider project stock or vendor stock as In standard SAP these stock are not considered.
regards
Manish
Maybe you are looking for
-
Images aren't being displayed in the links panel
I am trying to locate the source file for images in an InDesign CS6 document, so that I can use them within another project (Muse). I had planned to use the links panel to see the path for each image. However, only a few of my graphics/images are bei
-
Calling a smart form on click of a button in web dynpro abap
Hi experts, I have a requirement like if I click a button in a view i need ti generate a PDF through smart form. Is this possible. If so please tell me the way.. Thanks & Regards
-
My Imac seems to have a mind of it's own
I put my Imac to sleep over night, but when i go to use it it has shut down, and then my internet stops working on my ipad and phone as well until I restart my Imac and then I have problems with my internet. This has happened about 5 or 6 times now.
-
Unable to work with Java APIs in MDM new version 5.5.42.65
Hi, I developed few java applications using MDM Java APIs in the old version(5.5.41.70) of MDM. After installing new version(5.5.42.65) of MDM in my system, i tried to execute the java applications,am getting failed to execute the applications. Doe
-
Preview images not visible in Import dialog box
I can't see images when Importing RAW files from Nikon D80. "Show Preview" is checked. I see a file marker and the filename. Import functions okay otherwise. Do I need Camera Raw 3.7 in Lightroom? I have it in Elements 5.0.