Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: IW32 WO Additional Data - Attachment Docs

karthik_snair
Participant
0 Likes
1,069

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

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
847

Hi,

you will find all the answers here : http://scn.sap.com/docs/DOC-56462

regards

Fred

Read only

0 Likes
847

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

Read only

0 Likes
847

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