Skip to Content
author's profile photo
Former Member

call transaction in .net connector

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on Feb 10, 2005 at 02:20 PM

    Unfortunately not.

    You can only use RFC-enabled Function Modules.

    Peter

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 10, 2005 at 07:16 PM

    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

    Add comment
    10|10000 characters needed characters exceeded