cancel
Showing results for 
Search instead for 
Did you mean: 

Archive files from webdynpro

Former Member
0 Kudos


Hi everyone,

I have a webdynpro abap that allowed me to upload a file. I need to archive this file and assign it to an infotype.

The problem comes when I try to archive it by using the following function module: "ARCHIVOBJECT_CREATE_FILE".


I have create a Z function module that include this function and I call it from my webdynpro abap but It doesn't work propertly (althouth if I execute the code in back-end it works fine) You coud see the code of my Z Function module in the attach file.


Could you tell me if is there any other function module that I could use instead this one?

Thanks in advance,

Fátima

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


Hi Kris,

It works fine in backend. The problem was that when I tried to use this function module in my WD Abap code. It returns error (error_archiv exception).

But I found the solution. In my case, the following link was really helpful.

http://scn.sap.com/thread/915688

Thanks a lot,

Fátima

Former Member
0 Kudos

Hi Fatima,

What problem you are getting while using this FM?

have tried by debugging it? Please analyze through debugg.

Cheers,

Kris.