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

How can we execute the module pool program in background

I need to process the dialog program in background. Normally for any executable report programs by default we will have that functionality. But i need the same functionality for my module pool program. User needs 2 execute buttons - one is for direct excute (foreground execute) and the other one is for back ground processing.

I tried with the 3 function modules job_open, job_submit & job_close. But i am keep on getting some issues and i am not sure how those will work because i wrote all the validations in direct exucte user command, now if user clicks on Background how that logic will be called and how it will be processed.

Can any one give your valuable suggestions.

regards

Jaya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2007 at 08:27 PM

    Well, online transactions are just that - online, not meant to be processed in the background. Depending on just what you need, you should be able to submit a report program in the background with similar logic.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 28, 2007 at 08:26 PM

    You will need to wrap that module pool program using a BDC, and execute this BDC coding in a report program.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2007 at 10:57 PM

    Can you clarify why it needs to be in background at all - and why it needs to go through the module pool again? WHen does the user make the decision to use background. In terms of code re-use and validations, I would suggest you look to putting logic that you want common to both processes into function modules or class methods so that they can be invoked from either the module pool or a batch report program.

    Jonathan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 05:56 AM

    Hi

    Create a Transaction code for this Program.

    Then implement the BDC Code to Process the SCreens with the Required input Values.

    Schedule this BDC Session in Backgound using RSBDCSUB.

    <b>Reward if usefull</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 07:13 PM
    -1

    solved my own

    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.