08-18-2007 1:15 PM
Hi all,
i want to attach files ,
if i click one push button in module pool screen , then it will popup browser window for attach file from my pc and i press save that files to be save for that item. while creating a record,
while displaying the record, i want to open that corresponding files the same.
it is possible ? or
we have any function modules for that.
The same scenario is available in T-code iw31 In menu bar Order --> display
give any order number then press enter
it will take to u one screen then find one icon(services for object) front of the title of that screen.
08-20-2007 11:10 AM
Hi,
U can use the transactions CV01N and CV03n for attaching the documents and displaying the documents respectively. Just code it lke that when u click a push button use FM F4_FILENAME for picking the file path and BAPI_DOCUMENT_CREATE2 to attach the document.
For displaying call the transaction CV03N.
Think this will solve ur problem.
Reward points if usefull.