cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to post UD for inspection lot with serial number management by using API?

shirley_zhou1
Explorer
536

I used the API /A_InspLotUsageDecision to create UD for my inspection lot with serial number.

  • The serial number is already given during the GR.
  • My UD code is linked to automatic stock posting & EWM follow-up action.
  • I don't have the pop-up screen in the front-end if I perform the UD manually.

However, I received error message QV / 053 and it says 'UD and stock postings for lot 170000000803 require manual serial number assignment'

How does it happen? Is there a way to solve it?

shirley_zhou1_0-1741752017150.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

AlbertMolnar
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear @shirley_zhou1,

thank you for the details provided. Please check this SAP Help page:

'Create Stock Postings for an Inspection Lot'

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/a08e12a754cf4891b41a01a285d065bb/17fa05fae05847a68ed...

Have a nice day,
Albert
SAP Support

shirley_zhou1
Explorer
0 Likes

Hello Albert,

Thank you very much for your answer.

However,  the lot is triggered with inspection origin 17 which means it is not stock relevant in my case.

We will use follow up action which is linked to the UD code to initiate the stock transfer in EWM system.

In such case, I doubt that the API Create Usage Decision is the only option for us to complete both UD and stock movement and it could not work for the material managed with serial number...

Yours,

Shirley