cancel
Showing results for 
Search instead for 
Did you mean: 

remote function copy of DOCUMENT_SHOW_DIRECT

former_member497277
Participant
0 Kudos

Hi!

I've made a WebDynpro-application in WAS, that uses the function "ZDOCUMENT_SHOW_DIRECT", that is a remote function copy of DOCUMENT_SHOW_DIRECT, to view a pdf-file from R/3.

If I execute the WebDynpro and I put a breakpoint before 'CALL FUNCTION' and then I execute, the document is shown, but if there isn’t a breakpoint, the pdf document

doesn´t opens. What’s happening? And how it can work?

Thanks in advance.

Ana.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

do you have any commit work statement higher in the coding of an rfc that creates

the pdf? or on a table where you need the pdf key from?

or maybe your RFC connection is not free, check if it's possible to do the connection

before you actually call the RFC

grtz,

Koen

former_member497277
Participant
0 Kudos

Hi Koen,

thanks for your response.

I have COMMIT WORK statement in the code, the RFC connection is possible and it still doesn't work .

I don't know what do you want to say with 'on a table where you need the pdf key from'.

Ana.

Former Member
0 Kudos

Hi,

i wondered if you needed info from a table which was updated,

right before your RFC (so that the waiting of the breakpoint was given the system

just enough time to save, before using the data).

grtz,

Koen

former_member497277
Participant
0 Kudos

Hello Koen,

I think that it is not the problem because the information is already in the table before the RFC call.

The debugging is get after RFC call.

Sometimes the application opens the document, but it doesn´t always occurs.