cancel
Showing results for 
Search instead for 
Did you mean: 

call transaction in .net connector

Former Member
0 Kudos

hi guur's,

I'm working on .net connector. i've retrieved data from sap funcion module, it's working fine. can i use

'CALL TRANSACTION' OR "SUBMIT PROGRAM" in that function module, and access the result of it in .net.

Accepted Solutions (0)

Answers (2)

Answers (2)

christian_wohlfahrt
Active Contributor
0 Kudos

Hi,

there are RFC restrictions:

- In a function module that is called remotely, you must not use statements that close the current context and therefore the connection. An example of this is the statement LEAVE PROGRAM, or SUBMIT without the addition RETURN.

- In the case of a synchronous RFC, dynpros and selection screens that are called in a remotely-called function module are displayed in the calling system if the calling program is executed in dialog processing, and if the user defined in the destination has dialog authorization. The screen data is transmitted by the RFC interface to the calling system. In this particular case, you can display lists that are written in a remotely-called function module by using LEAVE TO LIST-PROCESSING.

So you should give 'submit program and return' a try.

Regards,

Christian

Peter_Inotai
Active Contributor
0 Kudos

Unfortunately not.

You can only use RFC-enabled Function Modules.

Peter