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

Upload word documents using ABAP

Former Member
0 Likes
1,359

Hello All,

My requirement is, i am going to track the details of development capturing the Development number, Development Description, Estimates, Maarket, Functional Owner, technical owner, Delivery date and along with that I want to upload the functional specification and technical specification, test results word documents and store in the program/ trasaction.

So that, the user can see the link to these word documents and once he clicks on those, he will get the option of downloading those.

I have completed the first part of capturing the details about the development, however struggling with the document uploading requirement.

Please suggest me the approach in this regard.

Thanks.

Anuja.

8 REPLIES 8
Read only

Former Member
0 Likes
1,098

Hi,

Take a look at transaction CV01N. You can create SAP documents linked to files (for example a word doc) which are stored on your content server.

Regards.

Nicolas

Read only

0 Likes
1,098

Hi,

Thanks for the reply.

I have checked the transaction CV01N, However in my program screen itself i want to have the F4 help for the document which needs to be uploaded from the presentation server like browse button and then attach button which will attach that document to the perticular development as its detail.

This functionality is similar to our e-mails... in which we attach the attachment with browse and attach buttons.

Please help.

Thanks.

Regards

Anuja.

Read only

0 Likes
1,098

Use FM F4_FILENAME :

*----------------------------------------------------------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*----------------------------------------------------------------------*
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      field_name = 'P_FILE'
    IMPORTING
      file_name  = p_file.

Read only

0 Likes
1,098

Hi,

Thanks.

And for attaching that attachment what function module i should use.

I hope i am clear with the requirement or do u want to me to elaborate it.

Thanks.

Regards

Read only

0 Likes
1,098

I think FM BAPI_DOCUMENT_CREATE2 should meet your requirement.

Read only

Former Member
0 Likes
1,098

thanks

Read only

Former Member
0 Likes
1,098

thanks

Read only

madhu_vadlamani
Active Contributor
0 Likes
1,098

Dear Anuja,

Please have look at this lik.

[http://wiki.sdn.sap.com/wiki/display/HOME/DocumentManagementSystems]

Gven by Nayan Kurup in SDN wiki.

Regards,

Madhu.