I am trying to use the Bapi "BAPI_INSPLOT_SETUSAGEDECISION" to update the usage decision in QA11 in a proxy. I am not being able to understand what parameters to be used and how.
CALL FUNCTION 'BAPI_INSPLOT_SETUSAGEDECISION'
NUMBER = INPUT-SAP_USAGEDECISION-DETAILS-UD_INSPLOT "inspection lot no from the proxy structure.
UD_DATA = lw_data
RETURN = li_return
Just pass the inspection lot number to the field NUMBER and try, because there are no standard programs in which this FM is called apart from a Business Object BUS2045, it is called in the method InspectionLot.StatInterface.
You can check that for any clarification, but it is not clear there as well.