Skip to Content
author's profile photo Former Member
Former Member

SUBMIT a program from a different system

Hi,

I have a program in dev and qty system with selection screen with ALV output.

In Dev i run a program with some values in the selection screen then the program internally should call the same program in qty system through SUBMIT statement or any other means with the same selection screen values which im passing in Dev system and get me the output in internal table from qty system to Dev system.

Someone please share some logic or piece of code.

Regards

PR

<modified subject line>

Edited by: Suhas Saha on Feb 3, 2012 10:19 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 03, 2012 at 04:52 AM

    Hi Pr,

    In Dev i run a program with some values in the selection screen then the program internally should call the same program in qty system through SUBMIT statement or any other means with the same selection screen values which im passing in Dev system and get me the output in internal table from qty system to Dev system

    .

    Go through the documentation of submit statement.In ALV report what code you placed.

    Regards,

    Madhu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 07:05 AM

    Hi prashanth,

    This is one approach. (Assuming the Z program is aready there in DEV and QA)

    1. Create one Z Function module (RFC enabled) in DEV (and transport to QA also later.)

    2. Inside the Z FM, it should call the Z program and get the output of ALV internal table. (For this you may have to slightly enhance/change the Z program for communicating the data of ALV to the FM using some export / import concept).

    3. In the Z FM, the import parameters have to be defined in such a way that you can call the FM passing the input screen values.

    Also in the Z FM , there has to be tables parameter in which you will get the results of the itab.

    4. Then from DEV, you can call this Z FM (RFC enabled) using DESTINATION syntax. It has to be called synchronously (by default)

    Hope this helps.

    Regards,

    Amit Mittal.

    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.