QM_LSMW for Inspection plan by BAPI method

Hi All,
Does anybody has any idea about LSMW by business object method using business object BUS1191?
can anybody give step by step procedure for the same?
Best Regards,
Anand Rao

Hi All,
Does anybody has any idea about LSMW by business object method using business object BUS1191?
can anybody give step by step procedure for the same?
Best Regards,
Anand Rao

Similar Messages

  • Digital Signature for Inspection Plan and Routing

    Hi,
    Can someone please help me on the topic of how to activate Digital Signature for inspection plan changes. I need to activate Digital signature functionality for inspection plan or routing. Please guide me to any link or shared documents on this topic.
    Thanks
    Vineeth

    Hi Vineeth,
    Standard SAP does not support this. Though I came across similar situation for maintenance plan, where we used BADI for this.
    Try to go through DIG_SIGNATURE_MAINT_PLAN. Consult with a good ABAPer if he can modify it some how for inspection plan.
    The links below may help you to understand the functionality [http://wiki.sdn.sap.com/wiki/display/SAPMDM/E-SIGNATUREforMaintenancePlants-MasterData(ECC6.0)] & [http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YN-IF_EX_IPRM_DIG_SIGNATURE~~~~~~DIG_SIGNATURE_MAINT_PLAN]
    In SAP, check BADI_DIG_SIG_RES_REC_PROCESS, if anything can be done here.

  • Creating Inspection plan using BAPI

    HI all,
    I am using the FM 'BAPI_INSPECTIONPLAN_CREATE'. I am unable to update the Inspection characteristics as multiple entries. Its getting updated only the last item.
    Expecting answer from the experts.
    Ravi.

    Hi,
       you can check the BAPI_INSPECTIONPLAN_CREATE for the named purpose, the values you named are in the structure BAPI1191_CHA_C please read the BAPI documentation:
    Functionality
    You can use this function module to create inspection plans and all its subordinate objects.
    You can create a key date view and the complete history of an inspection plan. It is useful to have a history when transferring data from external systems.
    Example
    You want to create an inspection plan with operations and inspection characteristics for key date 01.01.2000. Make an entry in the following tables for each object:
    TASK
    OPERATION
    INSPCHARACTERISTIC
    If you want to assign test equipment to the inspection characteristic in field ITEM_NO_OF_PRODUCTION_RESOURCE, you must have assigned this test equipment in PARAMETER PRODUCTIONRESOURCE.
    Notes
    If no error occurs during the transfer of data, the export parameters GROUP and GROUPCOUNTER contain the key for the task list created. A COMMIT WORK must be executed for writing data to the database.
    All errors that have occured are logged in the export parameter RETURN. If there are inconsistencies, the inspection plan to be created is rejected
    <b>Reward points</b>
    Regards

  • BDC for Inspection plan

    Dear QM Gurus,
    I have recorded BDC for QP01.
    At the time of recording system was not asking for "Inspection Method". Also we have not created inspection method for any material. But after completion of recording, abaper has done his job to run that BDC.
    Now when i am uploading template after entering MIC, system popup mandatory screen to enter inspection method. Here we stuck.
    Please guide.
    Thanks in advance.
    Kailash Thakkar

    Hi Kailash,
    Inspection method is not mandatory field, you should be allowed to save  the Quality plan w/o entering  method. Please check following :
    1) Just check  you have not assigned any method while creating MIC.
    2) Ask ABAPER to modify the program to exclude the inspection method from BDC.
    3) I problem not resolved by  any other way, then create a simple insp method like visual check  and assign it to all MIC's in Quality plan.
    Best Regards,
    Shekhar

  • LSMW for Inspection Plan

    Hi Sapiens,
    I am a requirement to upload the Quality Management data through LSMW.
    1) Quality Info Recrod
    2) Inspection Plan
    For the first one, I could able to create Project in LSMW and successfully do for over 200 customers.
    I am saying problem in creating and uploading the Inspection Plan data.
    I created one inspection plan with a material in QP01 (Tcode), and assigned one customer in "Material Assignment".
    We have only hand full of materials (6-10 max) with MICs (10 - 15 max). So I using the same Inspection plan for material and I want to assign all the customer in Inspection plan at "Material Assignment". But at "Run Batch Input Record" in LSMW, it is failing. due to the below errors.
    1) Field MAPL-PLNAL(2) is not an input field
    2) Field MAPL-MATNR(2) is not an input field
    3) Field MAPL-WERKS(2) is not an input field
    I understand that these fields are repeating, as these fields are required in "Material Assignment" tab, where I will mention Counter, Matl, Plant and Customer. but it is saying these fields are not for input. If I dont use these fields in Field mapping then it will throw an error during actual recording.
    So, I need some inputs on it and all of your suggestions will be valuable.
    Awaiting of your reply on this soon.
    thanks,
    Mukesh

    Hi Mukesh,
    I would suggest to go for BAPI instead of LSMW for the inspection plans, if possible.
    Regards,
    Rahul

  • Assignning materials to a Inspection Plan by BAPI? QM

    Dear sappers,
    I a help with QP02. I need 2 Functions modules or BAPI's: 1st for assigning material-plant to an Inpection Plan and 2nd for cancelling the assignment of material-plant to the Inpection Plan automatically.
    I have checked all BAPI's in SE37, but more effort is needed.
    I know this is a real thread, so thanks for your help.
    Does anybody have any brilliant idea?
    Thanks a lot.

    Hi Gerard,
    I am looking for an automated way of assigning materials/plants to inspection plans and also for cancelling such assigments. I assume it is not far from the requirement you describe.
    Have you found a way to solve it ?
    Best regards,
    Thomas

  • Table for inspection plan

    hi all ,
    what are the tables related to  inspection plan in QM Module
    regards

    Following r the important table for inpection plan
    1) PLKO    Inspection plan header
    2) PLPO    Operation details
    3) PLMK    Inspection plan characteristics
    4) PLMW   Dependent characteristics specification
    5) TQ72     Type of share calculation
    6) TQ75      Qm formula parameters
    7)TQ03      Control for screen texts
    Amol

  • Picture attachments for inspection plans

    We are using QM in Procurement to inspect incoming raw materials. We have created inspection plans per a material or group of materials and would like to provide a relevant picture(s) that can be viewed when the inspector is recording results on the inspection lot. We have looked at attaching pictures to the material master using GOS or using the PRT and DMS document that links to an external file. Both solutions take additional clicks to bring up an externally stored document. We are wondering what other companies are doing if they have a similar requirement to display pictures during the results recording process.

    Hi,
    Attaching a picture  or any document in SAP , the best way  is through  DMS only. By using this you can store the required pictures or drawings  and can call the same at any place. You may be able to attach  some attachments at PO /  Insp  method but that will lower the performance of server. If you attach so many documents then your transaction performance  will be affected. So better to store data in separate server  and  call it when needed.
    Best Regards,
    Shekhar

  • Automatic Results Recording for Inspection Plan

    I'm trying to activate automatic results recording, at the beginning I get this meassage: "In customizing for default value of inspection type(400) you have to activate the following check boxes, " check characteristics", "Inspection with task list" & "Automatic assignment", I've done that. Yet, it sill doesn't work and the lot status is "CRTD" however it should be updated to "REL" status.

    Hi,
    Did you search enough before posting this query? There is plenty of discussions over this matter.
    Based on the details given above, I don't think you have created an inspection plan.
    Automatic assignment will assign the task list automatically to the inspection lot once it is created. You didn't mention if you have created one or not. Pl check that.
    If the inspection plan is created, there could be possibility that material is assigned to more than one task list (inspection plan). If that is the case, you wouldn't get inspection lots with REL status but CRTD only.
    ntn

  • BAPI FOR INSPECTION PLAN

    Plz tell me step by step procedure of bapi_inspectionplan_create using LSMW .

    Hi,
    Please go through following link
    [https://forums.sdn.sap.com/click.jspa?searchID=26454811&messageID=7508879|https://forums.sdn.sap.com/click.jspa?searchID=26454811&messageID=7508879]
    Hope it helps

  • How to create inspection plan in mass for material

    Dear Guru,
                    How to create inpection plan for material in MASS, usually we will create inspection plan in QP01 but in mass for more than one material how to maintaain? Please help
    Regards
    Karthik.

    Hi raja
    refer following lonks
    QM- LSMW FOR INSPECTION PLAN
    Re: CEWB:Inspection Plan upload
    bapi for qm inspection plan
    Regards
    Sujit

  • Errors while creating Inspection plan using BAPI_INSPECTIONPLAN_CREATE

    Hi All,
    I am writing an upload tool for inspection plans. In this program I use bapi: BAPI_INSPECTIONPLAN_CREATE.
    I made an extraction of a excisting inspection plan with SXDA_TOOLS which uses the same bapi and filled the bapi structures with the similar data. Now I am getting strange messeges in the return structure as below.
    1. Material is not maintained for plant NNNN. But the material is mainained for that plant.
    2. Consistency check not successful when creating operation
    3. Inspection characteristic cannot be uniquely assigned to one operation
    Let me know your suggestions
    Thanks,
    Sabu

    Hi All,
    Have any one used this BAPI, BAPI_INSPECTIONPLAN_CREATE to create Inspection Plan ?
    Can you help me on above errors?
    Thanks in advance,
    Sabu

  • Inspection plan creation

    hi all,
    i am creating inspection plan using bapi 'BAPI_INSPECTIONPLAN_CREATE' . it is creating but the issue is in table 'INSPCHARACTERISTIC' there is a field 'SEL_SET1' which is getting populated automatically in transaction and i want that value to be replaced by the one i am passing in table
    'INSPCHARACTERISTIC' but it is not happening.
    Is thers any specific way to get it done through this bapi or is there any exit or badi to perform this task?
    Any pointer will be highly appreciated.
    regards
    vijay

    Yes, I have seen that field.
    You can enter a value for this field only if it is Qualitative characteristic.
    So while populating Qualitative or quantitative indicator values for
    IF INSPCHARACTERISTIC-QUANTITATIVE_IND = 'X'
    INSPCHARACTERISTIC-SEL_SET1 = 'Your value'
    ENDIF.
    If it's Quantitative Do not even pass any value for this field. Not even space.
    In debuggin you can check the INSPCHARACTERISTIC-SEL-SET1 value. It will have the value you passed.
    When I worked on it I remember that there are a whole lot of indicators which are specific to Quantitative or Qualitative. You will have to split the code for them to pass the values separately.
    Note: All the above can happen only if the SEL_SET1 is not defaulted to have a value in configuration.
    Thanks.

  • Inspection Plan

    I am creating the  Inspection Plans by using the BAPI_INSPECTIONPLAN_CREATE.
    I got the below errors please provide the solution for this.
    1)The valid-from data has been set from today's date
    2)Enter another operation number
    3)Enter another operation number

    hi rk.....
    First One is just a Information message and last two is because of invalid activity or operation id entered wrongly...
    Also u can have a look at my code for uploading inspection plan using bapi....
    [Click here to view code...|https://wiki.sdn.sap.com/wiki/display/Snippets/ABAPProgramtouploadQMInspectionPlanUsingBAPI]
    Also take a look at the template and sample data file attached at the given link...
    Regards
    KArthik D

  • BDC - Creating Inspections Plans using T-Code QP01

    Hi All,
    I want to Create Inspection Plans using QP01 transaction using BDC.
    It having 4 screens. Third and Fourth screens having line item details.
    I did recording. Upto First and second screens data is populating properly, coming to third screen data is not taking even though bdctable having data (in debug mode i found). I don't know hw to resolve this problem.
    Can u please explain hw to populate line-item details, possible give some example coding .
    Regards,
    Prabhakar

    Hi,
      If you are comfortable using function modules then you will not have any difficulty in using the BAPI, only thing we need to take care of the following, refer the following this is not using the bapi for Inspection plan, this is done for different purpose, still you can refer this and use accordingly,
    Data declarations,
    DATA: TOPNODEONLY LIKE BAPICO_GROUP-TOPNODEONLY,
          RETURN LIKE BAPIRET2,
          LT_HIERARCHYNODES LIKE BAPISET_HIER OCCURS 0,
          LT_HIERARCHYVALUES LIKE BAPI1117_VALUES OCCURS 0,
          LS_HIERARCHYNODES LIKE BAPISET_HIER,
          LS_HIERARCHYVALUES LIKE  BAPI1117_VALUES,
          LV_FLAG TYPE I,FLAG.
    DATA: BEGIN OF ORDERS OCCURS 0,
          ORDER_GROUP TYPE GRPDYNP-NAME_COALL,
          DESC(30),
          ORDER TYPE GRPVALUES-VFROM,
          END OF ORDERS.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME = FILENAME
                FILETYPE = 'DAT'
           TABLES
                DATA_TAB = ORDERS.
      SORT ORDERS BY ORDER_GROUP ORDER.
      LOOP AT  ORDERS.
        IF LV_FLAG NE 1.
          TRANSLATE ORDERS-ORDER_GROUP TO UPPER CASE.
          LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER_GROUP.
          LS_HIERARCHYNODES-DESCRIPT = ORDERS-DESC.
          LS_HIERARCHYNODES-HIERLEVEL = 0.
          LS_HIERARCHYNODES-VALCOUNT = 0.
          APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
          LV_FLAG = 1.
        ENDIF.
        CLEAR LS_HIERARCHYNODES.
        LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER.
        LS_HIERARCHYNODES-HIERLEVEL = 1.
        LS_HIERARCHYNODES-VALCOUNT = 0.
        APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
        AT END OF ORDER_GROUP.
          FLAG = 'X'.
        ENDAT.
        IF FLAG = 'X'.
    BAPI is called to create Internal Order group in the system
          CALL FUNCTION 'BAPI_INTERNALORDRGRP_CREATE'
               TABLES
                    HIERARCHYNODES  = LT_HIERARCHYNODES
                    HIERARCHYVALUES = LT_HIERARCHYVALUES.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          CLEAR :  LT_HIERARCHYNODES[], LS_HIERARCHYNODES.
          CLEAR : LV_FLAG,FLAG.
        ENDIF.
      ENDLOOP.
    Hope this helps,
    Rgds,

Maybe you are looking for

  • External Hard Drive Input/Output error

    I recently started having problems with an external hard drive setup that I did not have problems with prior to upgrading to 10.5.5 and trying to setup the drive to be compatible with Time Machine. The hard drive enclosure that I have has 2 bays for

  • Fresh installed, unformatted drive - how to format

    I just bought a SSD and it will arrive in a few days, but I still can't find a clear answer about how to format an unformatted drive. The only answer I can find is to use the installaion disk, I don't have that. I am running mountain lion and can mak

  • Setting up a Hp Printer on a WRT54G wireless router...

    I know there has to be a simple way to do this right? The router is set up to DHCP, do I go into the printer settings and give it an IP? Then just connect it from the printer to one of the 4 ports on the router, then I should be able to see it from a

  • Cancelled meeting requests are not removed from ICAL.

    I am currently receiveing  new and updated meeting requests through "Mail" on my mac. The email body contains a .ics icon that either adds (new appointments) or updates (changes) in my MAC's Ical. However when I receive a cancelled meeting request ..

  • Problem with sax parser

    Hello.. I have the following problem. When I parse an xml document with blank spaces and numbers with decimals, its sometimes comes out as one string and sometimes as two, for example "First A" sometimes comes out as "First" and "A" and sometimes as