‎2014 Oct 27 12:11 PM
Hi Experts,
I have a query that , here in the WO (IW32) we have option for attaching documents like word files,JPEG files etc to WO header and operations.
In my case i want to validate the docs based on my business scenario.
I cannot use the STD FM like BAPI_DOCUMENT_GETOBJECTDOCS,BAPI_DOCUMENT_GETLIST2 to get the details because this will get the details of the WO documents which is already saved.
Now my requirement at WO Save i need to perform the document check.
So i need an Exit/BADI/point at WO at SAVE where i can have this document details like document type (Either Word file/JPEG file Etc) .
Please post your ideas
---
Karthik.S
‎2014 Oct 27 12:26 PM
‎2014 Oct 27 12:41 PM
Hi Fred,
What actually i want is i want all the list of all the documents which is attached to WO during runtime @work order at save.
the FM's which is mentioned in the document is for getting the archived documents.
But that is not my requirement.
I want all the list of documents (Either which is already saved or currently i have added) in the WO during save.
---
Karthik.S
‎2014 Oct 27 12:45 PM
I think you made an error, the document are not managed during the Saved step of your transaction.
The document (GOS) / The data transaction are two separated things
if you have a doubt, try to add a document in display mode, it works ..
in the doc, you will find two BADIs. One of this badi may help you. But I think the most pertinent point to make your control is in the SWO1. But that will be standard modification. (you could also copy the standard object)
Fred