Skip to Content
avatar image
Former Member

Ql Parameter, File upload in in Result Recording Screen ​

My user wants to upload a file when YES, is selected as a parameter. How can be this achieved in SAP. Is there any standard way I cant adopt such that it would prompt file upload option when the user selects?

Above is trans screenshot for QE51N where if the user selects Yes a file upload option should be available and made mandatory, if the Yes option needs to be choosen.

This functionality should be made mandatory only for certain equipment, so I think it has something to do with catalog/code group as it is not applicable to every equipment.

842.png (67.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 20, 2017 at 05:48 AM

    Hi William,

    Where will you upload the file?

    Regards,

    Dipeshkumar Bhavsar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi William,

      You can use class CL_GOS_ATTACHMENTS and method CHECK_AVAILABLE to check if the user has attached something in GOS.

      You need to consider the Business object for inspection lot as the below mentioned object can have attachments while doing result recording.

      BUS2045 - Inspection lot

      BUS204501 - Inspection operation

      BUS204503 - Inspection operation inspection point

      I think you need to use inspection lot to upload the document in GOS.

      You can use user exit QEEM0003 - User exit: add. functions after valuating insp. characs to check if the attachment is available in GOS (for particular business object).

      Regards,

      Dipeshkumar Bhavsar

  • Mar 20, 2017 at 02:48 PM

    You should look at the available exits availble when recording results. You might be able to trigger a check see if a file has been uploaded and give and error message if it hasn't. I don't think you can trigger it to force you to do an upload as you'll have the lot open and it might give lock issues.

    Craig

    Add comment
    10|10000 characters needed characters exceeded