Application Development 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: 

How to attach files in module pool

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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.