BAPI_INSPOPER_RECORDRESULTS

Hi,
Is there any OSS note available on this FM - BAPI_INSPOPER_RECORDRESULTS?

Thanks... Can you tell me how can i see those notes...
I tried with Help.sap.com but it asks for a user name and password. Can you please let me know the procedure?

Similar Messages

  • BAPI_INSPOPER_RECORDRESULTS, Record Insp Lot Results

    I posted the following message back in June.  I did not have alot of success with it and dropped it for a while.  I have picked it up again and am still struggling with the exact same thing.
    Can anyone help?  If anyone has successfully used this BAPI before, would you be able to send me some sample code?
    I have been trying to figure out how to use this BAPI to record Test Results against an Inspection Lot. The BAPI appears to work - sort of. There are no errors in the Return Table. The Inspection Lot though does not get updated with the result for inspection characteristic 0030. It does however evaluate and close it. I am absolutely stumped. I have attached a simplified version of my code. I cannot figure out how come the test result itself is not getting updated (mean_value of 2.17) Can anyone help me out? thx in advance.
    DATA: BEGIN OF ichar_results OCCURS 0.
    INCLUDE STRUCTURE BAPI2045D2.
    DATA: END OF ichar_results.
    DATA: BEGIN OF bapireturn2 OCCURS 0.
    INCLUDE STRUCTURE bapiret2.
    DATA: END OF bapireturn2.
    ichar_results-insplot = '70000009065'.
    ichar_results-inspoper = '0010'.
    char_results-inspchar = '0030'.
    ichar_results-mean_value = '2.17'.
    ichar_results-closed = 'X'.
    ichar_results-evaluated = 'X'.
    ichar_results-evaluation = 'A'.
    APPEND ichar_results.
    CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
    EXPORTING
    INSPLOT = '70000009065'
    INSPOPER = '0010'
    IMPORTING
    RETURN = bapireturn2
    TABLES
    CHAR_RESULTS = ichar_results.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = bapireturn2.

    I finally figured out.  A very important lesson learned in all this is that when you are using a bapi to load data into SAP, it would be a really good idea to run the applicable "get" bapi to see what is actually there.  In this case, I ran the BAPI_INSPOPER_GETDETAIL bapi.  In order to use the BAPI_INSOPER_RECORDRESULTS I had to use the SINGLE_RESULTS to write the result value and CHAR_RESULTS to do the valuations etc.  Here is the code ..
    DATA: BEGIN OF ichar_results OCCURS 0.
            INCLUDE STRUCTURE BAPI2045D2.
    DATA: END OF ichar_results.
    DATA: BEGIN OF isingle_results OCCURS 0.
            INCLUDE STRUCTURE BAPI2045D4.
    DATA: END OF isingle_results.
    DATA: BEGIN OF bapireturn2 OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF bapireturn2.
    isingle_results-insplot = '70000009550'.
    isingle_results-inspoper = '0010'.
    isingle_results-inspchar = '0010'.
    isingle_results-res_value = '1.65'.
    isingle_results-res_no = '0001'.
    APPEND isingle_results.
    ichar_results-insplot = '70000009550'.
    ichar_results-inspoper = '0010'.
    ichar_results-inspchar = '0010'.
    ichar_results-closed = 'X'.
    ichar_results-evaluated = 'X'.
    ichar_results-evaluation = 'A'.
    APPEND ichar_results.
    CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
      EXPORTING
        INSPLOT      = '70000009550'
        INSPOPER     = '0010'
      IMPORTING
        RETURN       = bapireturn2
      TABLES
        CHAR_RESULTS = ichar_results
        SINGLE_RESULTS = isingle_results.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT   = 'X'
      IMPORTING
        RETURN = bapireturn2.

  • Error in BAPI_INSPOPER_RECORDRESULTS

    Dear Experts
    I am using the following BAPI for result recording. It is for uploading legacy excel result recording data to SAP
    BAPI_INSPOPER_RECORDRESULTS
    Data passed is as follows
    Inspection lot, inspection operation, Inspection characteristic, Inspection unit no, Value (Quantitative MIC), Code & Code group (Qualitative MIC). When I put the data in test mode in BAPI, I get following errors QI139 and QI108
    T ID                   NUM MESSAGE
    E QI                   139 Single value 0000 was not copied for confirmation number 00011698
    This error points out to function module QIBP_GET_ORIGINAL_VALUES when exception is 40
    E QI                   108 Sample 000001 for characteristic with confirmation no. 00011697 not available
    This error points out to function module QIBP_GET_ORIGINAL_VALUES when exception is C_RC_14
    Please let me know in case I have to pass additional sample data and also how to resolve above errors
    Regards
    Vivek Tembe

    Dear,
    Couple of checks
    Have you used customer enhancement QEEM0021,  then single values are not transferred. Also check  characteristics is Quantitative characteristics?
    Also in Transaction SE37. Enter function module name QEEM_INT_VALUE_RECORDING, select object component Interface and press 'Change' afterwards. Choose tab page 'Exceptions' and insert exception QIER_ERROR_MESSAGE.
    Also check the Transaction SWO1
    'BAPI2045D4' as an object type for CHAR_RESULTS.
    Also refer this useful wiki,
    http://wiki.sdn.sap.com/wiki/display/Snippets/Sample%20Code%20BAPI_INSPOPER_RECORDRESULTS?bc=true
    Please try and come back.
    Regards,
    R.Brahmankar

  • Error - Single Result recording - BAPI_INSPOPER_RECORDRESULTS

    Dear All ,
    I need your expertise guidance on the below issue that i am facing in the BAPI - BAPI_INSPOPER_RECORDRESULTS
    I am using this bapi to  record result for inspection lot   with the inputs as below -
    Import    -   INSPLOT -    Lot number
                      INSPOPER  - Inspection Operation Number 
    Table   -     SINGLE_RESULTS  - RES_VALUE -  " some value " 
    I need the above  data to be updated against  Inspection lot number .   I think it can be done through BAPI , as BDC recording is  having some issue when i tried to do this through BDC .
    After executing this BAPI i am getting the return code message  - "Defects occured during confirmation"
    Can any one please guide me on the same how ishould proceed .
    Thanks in advance .
    Prabhudutta

    Hello
    Check this link: https://wiki.sdn.sap.com/wiki/display/Snippets/SampleCodeBAPI_INSPOPER_RECORDRESULTS
    It is working example for your requirement.

  • BAPI_INSPOPER_RECORDRESULTS:result does not appear in inspection lot...

    Hi,
    I am using BAPI_INSPOPER_RECORDRESULTS to record inspection lot result at characteristic level.
    When I use this BAPI, it does not give me an error.
    But the values against each characteristic does not appear  in the result field of that characteristic.These are not getting updated. system status shows INSP RREC.
    I am passing the result value as  "mean-value" field in bapi charresult table..
    what is the solution for this?
    I am trying BDC for the same purpose in tcode QE51N. but in between there is error msg promp..so BDC is not working after that promp as it is asking for user entry for the mandetory field "Engineer's name"..
    Kindly provide the solution..

    Hi,
    maybe QE11 is an option for recording results vai BIM.
    Cheers,
    S>

  • Update problem in BAPI_INSPOPER_RECORDRESULTS

    Hi
    I am using the BAPI_INSPOPER_RECORDRESULTS for recording results for data coming from IDOCs. I am using this BAPI two times for two different materials in a program.
    The problem is that while after COMMIT WORK during the second time, it is giving an express message that " Update terminated ".
    Please Help
    Regards Anuraag

    Check the Function Module Documentation:
    Sequence for the confirmations
    This method can be called up several times for an operation instance. If you switch to another operation instance, the confirmation is considered complete for the previous instance, and no more confirmations can be made for this instance before a COMMIT WORK (BapiService.TransactionCommit).
    If an external program wants to make confirmations for several inspection lots and operations, we recommend that these confirmations are sorted according to the inspection lot and operation.
    Regards,
    Piyush

  • Erro creating Sample Point thro BAPI_INSPOPER_RECORDRESULTS

    Hi ,
    While Creating Sample Point thro BAPI_INSPOPER_RECORDRESULTS.
    I am getting an error 'There are no originals' , M-ID -Q0 MSG-No 102.PARAMETER -INSPPOINTDATA.
    Can any one please explain why this is coming ?
    Thanks in advance.
    Harsharandeep

    Hi Ajay,
    Thanx for reply .
    I have gone through this cdoe before , but problems seems to be same.
    I am getting the same error.'There are no Originals'
    Thanks and Regards,
    Harsharandeep Singh

  • I am copying result in QE13 by usign bapi - BAPI_INSPOPER_RECORDRESULTS

    Dear friend ,
    I am copying result based on the inspection lot by using BAPI_INSPOPER_RECORDRESULTS this BAPI , Its working pefectly ,
    But what happened now -
    MITTELWERT                                        Copying in - QE 13 in Result tab.
    1.5000000000000000E+02      -           150.00     its happing prior 
    but now its happing  like that ...........
    1.5000000000000000E+02      -           1.50       
    I unable to understand why its happing , i think it might be problem in configuration.
    If greate help , if you provide me setting of this.
    Regards
    Durgesh

    Hi,
    maybe QE11 is an option for recording results vai BIM.
    Cheers,
    S>

  • Need help for bdc recording TC fp05

    Hi,
    My requirement is: I want to create a Payment lot using fp05 and then post   
                                it through a program.
    First i want to know is there any BAPI available to do that.
    I couldnt find any BAPI. That is why i did BDC Recording. The recording is working till Payment Lot creation. But after creation when i try to post the lot, it is giving status as "Direct Posting Stopped". Again if i come out of the program and then manually post it, it is working fine. But through program if i try to post it, it is giving status as "Direct Posting Stopped".
    Is this because we cannot Post a Payment Lot programatically or some Authorisation issue is there.
    Can anyone respond immediately
    Regards,
    Sheron

    Hi Raj,
    May be this can be useful.
    BAPI_INSPOPER_RECORDRESULTS
    You can search other in se37 BAPIINSP.
    Regards,
    Amit Mittal.

  • [QM] How to create an inspection lot with task list assigned?

    Hello, everyone.
    I know, the similar questions have been asked plenty of times, but I am still unable to find a suitable receipe of the inspection lot creation. My goal is to create an inspection lot programmatically and be able to record its results using, e.g., BAPI_INSPOPER_RECORDRESULTS.
    Creating a lot does not appear to be a big problem. I just call the following FMs:
    QPL1_INITIALIZE
    QPL1_INSPECTION_LOT_CREATE
    QPL1_UPDATE_MEMORY
    QPL1_INSPECTION_LOTS_POSTING
    BAPI_TRANSACTION_COMMIT
    As a result, I have a new shiny inspectin lot, but it comes with statuses "CRTD" and "CHCR". I do specify PLNAL and PLNNR fields values for the QALS structure which is passed to QPL1_INSPECTION_LOT_CREATE, but that does not seem to have any effect. When I call BAPI_INSPOPER_RECORDRESULTS later (result values and inspection points come from another lot which is used as a template), it reports of beging unable to find characteristics for the inspection operations (error E026).
    Does anyone know which of the QPL1_INSPECTION_LOT_CREATE parameters affect task list assignment besides PLNAL and PLNR? Or maybe there is a special FM which associates a task list with an inspection lot?
    Thank you in advance.

    Hi Samuel,
    You can get create an Agent as a Task by using the following steps:
    1. Go to Customizing --> EHS --> Industrial Hygiene & safety --> Risk Assessment --> Specify Agent Types
    2. Click on "TASK' Agent type and click on Details icon (CtrlShiftF2)
    3. In the "Only EHS-IHS" drop down, Select "No"
    4. Save the entry
    5. Now try creating an Agent [CBIH92] and you can create an Agent as a Task.
    Hope it Helps,
    Raghu

  • Which BAPI and how to use it in order to modify results

    Hello,
    I need to enter the results of an Inspection Lot using an external program.
    Below is a screenshot of QA32:
    - The round circles show what I know;
    - The arrow shows what I wish to modify;
    I would appreciate some help on the following topics:
    - Which BAPI to use;
    - How to fill the BAPI;
    - Does the BAPI need BAPI_TRANSACTION_COMMIT after?
    Thanks in advance for your help.
    Regards,
    João

    Hi,
    Not certain what your external system is, but it may be worthwhile to go through the QM-IDI documentation to see if that meets your requirements
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/26/b43927506511d182c20000e829fbfe/frameset.htm
    Alternately, take a look at BAPI_INSPOPER_GETDETAIL to determine how the lot expects to receive results, and BAPI_INSPOPER_RECORDRESULTS to set the results accordingly
    Regards,
    JL

  • Problem in a BAPI for recording results

    Hi all,
    I am using BAPI   'BAPI_INSPOPER_RECORDRESULTS'
    for chemical and mechnical properities record to be transferred from non-sap system to sap through RFC call for a particular lot.
    BAPI is working fine if all the chem/mech properties is sent in one go. But  the user require that they sent Chem properties once and after sometime they will sent Mech properties for the same lot. But the system is accepting only the values sent first . Pls help how to receive values second time for the same lot.
    Thanks and regards,
    Vivek

    Hi Vivek,
    Use two operations. One for chemical properties against that you will have the inspection characteristics related to chemical inspection and another operation for mechanical properties against that you will have all the inspection characteristics related to mechanical inspection. Example 0010 operation number for chemical properties and 0020 operation number for mechanical properties.
    <REMOVED BY MODERATOR>
    Regards,
    Manoj
    Edited by: Alvaro Tejada Galindo on Apr 23, 2008 12:22 PM

  • Result recording - Integration with external software

    Hi,
    Inspection is done using the external software & the results are stored in the external database.
    How can we transfer the inspection results in QM Result recording?

    Hi,
    For the upload to the SAP-System, the function module BAPI_INSPOPER_RECORDRESULTS will be used with the following mandatory input parameters:
    -     Inspection lot number
    -     Inspection operation number
    -     Inspection point number
    -     Partial lot number
    -     (SAP-)batch number
    -     Characteristic results (for characteristics with summarized result recording)
    -     Single results (for characteristics with original result recording).
    The transfer between subsystem and QM is done asynchronously. The mapped result data will be send as IDoc to the SAP system, or via direct call of the BAPI_INSPOPER_RECORDRESULTS via RFC.
    If the data is send as IDoc, the BAPI-ALE interface must be setup to process the BAPI_INSPOPER_RECORDRESULTS at receipt of a new IDOC.
    Kindly contact with your ABAP'er for further process.
    Thanks & Regards,
    Srinivas.D

  • Survey results not updated to Application

    Hi Experts,
    I have created a Survey and Questionnaire in SAP-BIW using "SURVEY COCKPIT" (TCODE : SURVEY).
    I have than assigned one Target Group to that survey which is having 3 recepients (e-mail ID's).
    When I send the Survey to them the mail is deliverd to recepients with survey form as an attachment, but when they are submitting the Questionnaire/Survey the results are not updated into the system.
    I have enabled the setting for Questionnaire as Direct Update into Application.
    Still the problem persists. I have also done all the required settings in SICF and SO50.
    Please help.
    Thanks in Advance.

    Dear Nishant
    For inspection point you need to import SAMPLE_RESULTS also similar to CHAR_RESULTS. A simple method you can adopt is
    First create an inspection lot and record this manualy. Once you have recorded it pass the inspection lot to this BAPI - BAPI_INSPOPER_GETDETAIL. Check the data in this BAPI
    The same pattern of DATA has to be passed in the BAPI_INSPOPER_RECORDRESULTS
    This is BAPI is running fine for me. Please check and let me know if you have any issues
    Regards
    Gajesh

  • Error Mesage when recording quality results

    I am getting the error message "Defects occured during confirmation" when executing the function BAPI_INSPOPER_RECORDRESULTS.
    The results appear to be recording, but I would like to know why this error and how to eliminate it.
    I am populating the BAPI as follows:
    Call function BAPI_INSPOPER_RECORDRESULTS.
         Import parameter INSPLOT = Inspection lot number.
         Import parameter INSPOPER = Operation number .
    Populate CHAR_RESULTS table as follows:
         INSPLOT =Inspection lot number
         INSPOPER = Operation number
         INSPCHAR = Characteristic number
         CLOSED = X
         EVALUATION = A
    Populate SINGLE_RESULTS table as follows:
         INSPLOT = Inspection lot number.
         INSPOPER = Operation number
         INSPCHAR = Characteristic number from BAPI_INSPOPER_GETDETAIL (SINGLE_RESULTS table)
         RES_NO = Numeric identifier for the number of units on the inspection lot.  (0001, 0002, 0003, etc).
         LAST_RES = X
         INSP_DATE = Current date.
         INSP_TIME = Current time (00:00:00)
         RES_VALUE = Result for a quantitative characteristic.
         RES_VALUAT = A
         DEFECTS = 0     
         REMARK = Result entered on the interface screen for a qualitative characteristic.
         ORIGINAL_INPUT = Result for quantitative characteristic.

    Dear Bob,
    I am working over defect recording with the help of BAPI  "BAPI_INSPOPER_RECORDRESULTS" .I donot know what fields , tables and data to enter into this BAPI to do defect recording.
    I am struggling a lot over the same.
    I would be really grateful to you if you could please provide me the inputs for the BAPI.
    Thanks & Regards,
    Sudhish Ojha

Maybe you are looking for

  • Maximum number of emails on server

    hi I have since months following situation : bb 9300 on vodafon italy some email accounts working ok one email account worked ok until two months ago now when I validate it , it remians validated for few seconds and then I recieve an email on bb only

  • Where to Buy in Florida? (WRVS4400N)

    Would someone tell me where to buy the WRVS4400N VPN capable Wireless Router, in Florida? Hopefully / preferably if possible, at a retail store ? thanks,

  • How to give access to only 2-3 reports, but not AdHoc reporting

    Hi Friends, I have a special requirement as below: New user will be created and he will only have access to some defined reports or folders. But he can't access any other features like AdHoc report and subject area. Even its fine if there is no need

  • How to create parser schema in Oracle document editor 7.0.5

    Hi All, Could anyone please share how to create a parser schema from a given ecs( for delimited flat file) in Oracle document editor 7.0.5. Thanks and Regards, Prachi Negi

  • Mac OS X 10.4.5 update & Epson RX600

    since updating to 10.4.5 my Epson Stylus Photo RX600 only prints intermitently. I'm getting a lot of communications errors and Print Utility's crashed a few times. Does anyone know of any issues? I've also tried installing gutenprint 5rc2 which hasn'