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

Document upload through ESS

Former Member
0 Likes
2,874

Hi Experts

I have developed a program in R3 and attached it in ESS where employee fill details of their PF nomination. Want to upload an attachment as pdf or image throgh ESS as supporting document of PF nomination. This attachment should be accessable by higher authorization. Please tell me the process.

Regards

Swati

1 ACCEPTED SOLUTION
Read only

GirieshM
Active Contributor
0 Likes
2,200

Hi Swati,

1. Create a WebDynpro application which uploads the file from the user desktop and provide the Upload link in the ESS as quick Link. So that the users can select the link and upload the document in the WD application. You can save the PDF file in an Ztable as XSTRING format.

2. Check for the possibility, whether the presentation server can be accessed in the report and upload (gui_upload  nor cl_frontend_services).

Hope it might help you.

With Regards,

Giriesh M

10 REPLIES 10
Read only

former_member187748
Active Contributor
0 Likes
2,200

Hi Swati,

not sure that this will work for you or not, but you can take a look at

this link, which might becomes helpful to you.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c...

Read only

0 Likes
2,200

Dear Sanjeev

Thanks for the link but I have already checked it out and could not solve required job.

Read only

0 Likes
2,200

Hi Swati,

as i am not aware of it so only can provide you some good wiki help links,

here is one, please see once, if you will get something to start.

Employee Search (SAP Library - Business Package for Manager Self-Service (mySAP ERP))

Read only

GirieshM
Active Contributor
0 Likes
2,201

Hi Swati,

1. Create a WebDynpro application which uploads the file from the user desktop and provide the Upload link in the ESS as quick Link. So that the users can select the link and upload the document in the WD application. You can save the PDF file in an Ztable as XSTRING format.

2. Check for the possibility, whether the presentation server can be accessed in the report and upload (gui_upload  nor cl_frontend_services).

Hope it might help you.

With Regards,

Giriesh M

Read only

Former Member
0 Likes
2,200

I have created WebDynpro application and for saving the uploaded file cant save as name cannot accessed. Please consider the below mentioned screen :

   lo_nd_image = wd_context->get_child_node( name = wd_this->wdctx_image ).

   lo_el_image = lo_nd_image->get_element( ).

   lo_el_image->get_static_attributes(

     IMPORTING

       static_attributes = ls_image ). "Is_image-name is not coming..please help.

Read only

GirieshM
Active Contributor
0 Likes
2,200

Hi Swati,

Please refer the below document.

http://wiki.scn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP

With Regards,

Giriesh M

Read only

Former Member
0 Likes
2,200
Read only

Former Member
0 Likes
2,200

I have already followed by this doc..code is extracted from it..thanks for your reply..

Read only

GirieshM
Active Contributor
0 Likes
2,200

Hi Swati,

I tried the code as mentioned in the document and I am able to get the path and name of the file.

Are you using Code wizard to generate the code in the Upload method ?. If no please utilize the code wizard to avoid problems.

Check the screen shot of mine.

Revert back if the issue exist.

With Regards,

Giriesh M


Read only

Former Member
0 Likes
2,200

Done..I have forget to bind name..thanx..