on 04-21-2017 7:26 AM
Hi Experts,
I am using the test sequence by putting the first line as BAPI_INSPLOT_SETUSAGEDECISION
And in second line as BAPI_TRANSACTION_COMMIT, for both Conditional UD and Final UD.
For Conditional UD the BAPI is working fine and updated the status of the inspection lot in QA32.
Refer Attachement 1
After complete the result recording and do Final UD, if I execute BAPI it is showing error as Access to inspection lot is not allowed.
Refer Attachement 2
It is working in SAP ECC system in QA11. But I want the UD through BAPI.
And also I follow the links but unable to resolve.
https://archive.sap.com/discussions/thread/2067297
https://archive.sap.com/discussions/thread/1536659
How can I do final UD through BAPI??
Thanks in Advance,
Regards,
SIS.
I'm not sure I can help you much but what you are trying to do are two very different things in SAP.
First, when you initially record a UD you typically use QA11.
When changing a UD, you use QA12.
I suspect the BAPI you are using is only for the intitial "creation" of the first UD. Once the first UD is created, (what you call conditional), you have to use QA12 to change the UD.
So I believe that to change the UD to the "Final" UD you might have to use BAPI_INSPLOT_GETDETAIL for the second pass. That gets the UD info for the lot and I beleive it allows you to export a new UD for the lot.
Craig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think Craig's feedback would be the best one for this case. Else, please try BAPI_INSPLOT_GETLIST, before you try BAPI_INSPLOT_SETUSAGEDECISION by taking help from ABAP team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.