‎2013 Aug 02 9:15 AM
Hi,
I want to create report from we can post usage decision of inspection lot i want BAPI for same .I want to give stock ,UD code and group ....
Open QA11 transaction Enter the Inspection Lot Number Hit enter Now at the bottom you see Usage decision . Select it from F4 or enter something and Hit Enter also i want to some stock To unrestricted ,To scrap, To blocked stock etc. I have tried " BAPI_INSPLOT_SETUSAGEDECISION" its not working,if this only BAPI for this suggest me required input fields to BAPI .
Thanks.
‎2013 Aug 02 10:35 AM
Hi,
Kindly send your code for calling the BAPI.
BAPI_TRANSACTION_COMMIT has to be explicitly used with this BAPI only then your usage decisions will be saved.
Otherwise just check once with the above BAPI documentation in case you have passed wrong parameters.
Also this BAPI will only set usage decisions in case UD for a particular inspection lot has not been posted.
‎2013 Aug 02 12:22 PM
Hi ,
Thanks for reply
Passed these parameter to BAPI after that called BAPI_TRANSACTION_COMMIT
t_bapi2045ud-INSPLOT = 010000181159.
t_bapi2045ud-UD_PLANT = 'KDGN'.
t_bapi2045ud-UD_SELECTED_SET = '001'.
t_bapi2045ud-UD_CODE_GROUP = '001'.
t_bapi2045ud-UD_CODE = 'A'.
* t_bapi2045ud-UD_STOCK_POSTING = 'X'.
t_bapi2045ud-UD_FORCE_COMPLETION = 'X'.
APPEND t_bapi2045ud.
I am having confusion on passing values to fields UD_SELECTED_SET, UD_CODE_GROUP, UD_CODE .From which table can i get these values or which values to be pass.
Thanks.
‎2013 Aug 02 1:18 PM
Hi Pravinkumar,
In QA11, in the Usage Descision section of the screen, there is a field UD Code (this has two white parameter blocks to enter values) , on is the UD Code and the other is the UD Code Group