on 2015 Oct 14 11:53 AM
Hello Experts,
I am trying to use the inspection result copy functionality with using BAPI
I have a specific scenario like : Inspection lot created in SAP that we are transfering to LIMS and RR being done in LIMS.
Suppose there are multiple inspection lots against one material document , user will enter the result against one inspection lot
Now i want to copy result to another inspection lot which belongs to same material in material document.
Based on specific MIC i am getting the information from inspection lot which will have complete result.
I am trying to use BAPI :BAPI_INSPOPER_GETDETAIL and BAPI_INSPOPER_RECORDRESULTS but facing issue to copy result from one to another inspection lot.
Please give some logic and help to extecute the same.
You rapid reply will be highly approciated.
Thanks,
Abhishek
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You want to carry out result recording in SAP or in LIMS? Did you have a look on below link?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I want to carry out RR in SAP only , I have checked this given link but as per my client requirement result should get copy automatically from the inspection lot which has entered result and copy all the result from that inspection lot to another inspection lot which belongs to same material of that GRN document.
For example i have one inspecion lot 100000XX10 with Material A which is having result entered in LIMS and trasffered to SAP through interface. now i have more lots which is related to material A
100000XX11 , 100000XX12 , 100000XX13 , requirement is to copy all the result from 100000XX10 to all 100000XX11 , 100000XX12 , 100000XX13.
Hope you are clear.
Thanks,
Abhishek
So both the inspection lots (The one which has results recorded and another in which you want to copy these results) they exists in the same SAP system only.
To me it seems to be the complex ABAP development. You should try developing BDC for tcode QE11 or QE01 as per the case. If the above customization is in place then it will ask to input the reference inspection lot. Set this job as background. Every time the job runs it will always need 2 input parameters 1) Inspection lot number against which you want to record the results and 2) inspection lot number whose results you want to copy.
The point is how this job will decide on its own the above 2 values? May be you need to extend your ABAP logic to check which lots were processed and already considered for processing or processed? I think you can now build your own logic with this hint as you know the business conditions well! Let us know if this succeeds.
Anand
Quick question. Wouldn't all those lots also reside in your LIMS? I mean if one lot is sent down to LIMS why aren't the others?
In which case how do you close out the lots in LIMS?
Shouldn't they maybe copy the results to the related lots in LIMS and let them get upoaded to their respective SAP lots from there?
Craig
Hi,
Yes all lots are reside in LIMS , all lots together sent down to LIMS.
Based on inspection lot status it is getting download to LIMS from SAP.
They authorized the sample (inspection lot) and release it from LIMS and then result will get flowing to SAP.
Lots without results came from LIMS which are having status 6 - Transfer Characteristic to Subsystem
, now against those lots QE01 should be perform through BAPI or need to create BDC programme.
Shouldn't they maybe copy the results to the related lots in LIMS and let them get upoaded to their respective SAP lots from there? - Didn't get exactly the question
Thanks,
Abhishek
Thanks for the above feedback , need to check once.
Yes but actaully there are two cases
1) Inspection lot gets download in LIMS and coming to SAP without result which are having characteristics status 6
2) Inspection lots which not gets downlaod in LIMS ( This case needs to be consider because there may be the chance in case LIMS down and manual RR will done)
Required both cases in the consideration.
Thanks,
Abhishek
Hi Abhishesk, Could you please elaborate the process flow sequentially? I have below doubts in the same
Anand
Hi ,
Ok! So I follow it this way,
Anand
If all the lots flow to LIMS, then logically, your results copying functionality SHOULD be done in your LIMS. Most commercial LIMS come with some functionaity to copy results from one sample to another. That really should be where the resutls are copied, not in SAP.
If you copy them in the SAP system, then how do the samples in the LIMS system get closed out? You'd have to follow up in SAP by sending an update to LIMS that the inspeciton lot was processed in SAP and no results are required. That just adds another level of complexity to the process.
But if you use LIMS functionality to copy all the results within LIMS, then they upload to SAP and the lots get updated and auto UD's can close them.
Craig
Thanks,
Abhishek
Hi Abhishek, Craig has got it correct here!
If all the lots flow to LIMS, then logically, your results copying functionality SHOULD be done in your LIMS
My interpretation is like this on your mapping,
Anand
How are you expecting the 9 lots that have been logged into LIMS and don't get results recorded on them to be closed? Are you expecting SAP, once the result are copied in SAP to send them back down to LIMS?
Unless you put in more customization, I don't see how you get rid of those unused lots in the LIMS system.
Craig
User | Count |
---|---|
109 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.