Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

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

    Unfortunately not.

    You can only use RFC-enabled Function Modules.

    Peter

    Add a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.