Execute FM in background - how to

Hi,
I want to execute function module in background (for BI) - without any report which can be executed in background.
Possible?

Hi,
I don't think this is possible without calling the FM from a report.
Only ABAP reports of type 1 (interactive) and J (Interface Pools) can be run in the background.
Kr,
Manu.

Similar Messages

  • Issue with How Do I Run an Executable in the Background ?

    Hi,
    I am trying to run a LabVIEw executable in the background, but none of the methods described in the discussion forum and on ni.com seems to be working. I am using LV 2011 on a Win 7 64-bit machine in case this matters.
    I tried the method described in "How Do I Run an Executable in the Background as a Start-Up Application?" (http://digital.ni.com/public.nsf/websearch/4A8B626​B55B96C248625796000569FA9?opendocument&Submitted&&​... but I still see a fragment of a window at the bottom near the start-button (Exhibit 1). Exhibit 2 shows that it only consists of the title bar. (I have customized the window appearance as described, and added the two items
    HideRootWindow=True
    UseTaskBar=FALSE
    to the *.ini file.)
    I also tried disabling all the other items in the Customize Window Appearance menu with the same result.
    Then I tried the method described in "Running a LabVIEW Executable as a Background Process" (http://digital.ni.com/public.nsf/allkb/EFEAE56A94A​007D586256EF3006E258B) adding the FP.Open method to the VI and setting the state to hidden. I got the same result (Exhibit 1).
    Is there anything I need to do in addition or different for my windows version? I appreciate your help. Thank you.
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW Executable.zip ‏4058 KB

    (I have customized the window appearance as described, and added the two items
    HideRootWindow=True
    UseTaskBar=FALSE
    to the *.ini file.)
    No you did not
    They need to go in the exe's ini so the exe sees them
    Jeff

  • Execute report in background

    hi
    we have one requirement for execute report in background
    we want to run the report ME5A for a large date range and at plant level.
    Due to this, transaction data selected is large and so reportis taking very long time when executed in foreground.
    so requirement is
    execute report in background (i know possible in SAP)
    download the report output on desktop automatically
    can you pl suggest how to do this without customisation
    regards
    sara

    Hi Sara,
    Go to ME5A then enter the required field then go to Programme and then select the option execute in background

  • Front-end functions cannot be executed in the background in SM37

    Hi ,
    I have developed a BDC program for Tcode HRUSER . The program is working fine in Frontend but when Executed in Background through SM37 gives a error -:
    "Front-end functions cannot be executed in the background".
    I am not using any function like GUI_DOWNLOAD or anything like that .
    Thanks
    Nikhil Arya.

    Hi ,
    No , the program is not taking any inputs from the user .
    when i am executing the program in background mode it is just showing the messages at the end which i am writing in the program for eg:
    "creating a user for employee 2306328".
    So , only the list of messages comes at the end .
    Thanks
    Nikhil Arya.

  • My mac book pro login screen background wont show and only shows a light white/blue as the background how do i fix it ?

    my mac book pro mountion lion system  login screen background wont show and only shows a light white/blue as the background how can i fix it ? i tried everything from loginox to onyx and it still wont solve the problem. instead of the default dark grey startup screen  the background is white with a blue tint to it. the only time that the default background shows is when i log off and relog in

    Welcome to the Apple Support Communities
    I think that your Mac detects your hard disk, but the problem is that your new hard disk doesn't contain any operating system, so your Mac doesn't find any bootable partition and you see a question mark.
    If your Mac came with DVDs, insert the Mac OS X Install DVD and hold the C key while your Mac is starting. Then, just install Mac OS X. If the hard disk isn't prepared to install Mac OS X, you will have to erase it using "Mac OS Extended (Journaled)". See > http://pondini.org/OSX/DU1.html

  • Restrict 'Executing report in background' from selection screen

    I want user to not to select option for executing report in background from Selection Screen of the program.
    i.e. 'Execute Program in Background' option in 1st menu bar tab should either be disabled OR if user clicks on it then he should get error message on selection screen itself.
    Thanks,
    Falguni

    Hi Falguni,
    Write the code based on function code SJOB in the event AT SELECTION-SCREEN. Write the following code :
    AT SELECTION-SCREEN
    CASE SY-UCOMM.
    WHEN 'SJOB'.
    MESSAGE E000 WITH 'You cannot schedule background job'.
    ENDCASE.
    Thanks & Regards,
    Faheem.

  • Execute listcube in background - where is the file stored on app server

    Hi,
    I want to execute listcube in background.
    to execute in background, the only output option available is Store in file (appl server).
    My question is where is this file stored.
    there is no information in the job log nor is there any spool.
    Also, can I determine myself where is this output file written.

    I have a couple of questions that could lead to an answer to your question...
    Does your BW environment have one or more application servers, in addition to the Database Central Instance (DBCI)? If so, do you use logon groups for SAP Logon so that the logon loads are balanced?
    I'm asking these questions because if you have a multiple application server environment and logon balancing, you may not be logging onto the same server every time that you're executing LISTCUBE and it will save to the directory path of the server you're logged onto.

  • What is Execute to Parse % and how to tune it when it lower?

    What is Execute to Parse % and how to tune it when it is lower?

    Gjohn wrote:
    What is Execute to Parse % and how to tune it when it is lower?If you don't know what it is, how are you going to decide that you need to tune it.
    Here's a little information on how pointless it can be to get too worried about that particular "Instance Efficiency" percentage in Statspack and the AWR: http://jonathanlewis.wordpress.com/2006/12/27/analysing-statspack-2/
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "There's no sense in being precise when you don't even know what you're talking about"
    John von Neumann                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Difference between exec. target and executing server in background jobs

    Dear experts,
    Please let me know
    Difference between exec. target and executing server in background jobs

    Dear Joe,
    Sorry for this
    I am closing this threaf now

  • Execute calc in background not working

    Essbase version 9.3.1 running on Red Hat Linux. When I'm in EAS and check the "Execute in the background" box I get the message if what launched in the background with a Process ID but no calc kicks off, nothing in the app log file, nothing shows up when I look at background processes, no session when I look at server. The calc runs fine if I don't select to run in the background.
    Anyone else run across this or am I missing something?

    I had the identical issue and received the below fix from Oracle Support, which worked. I thought I'd put the fix up here, since the forums were my first stop when I had the problem.
    1. There will be a file called Workstatus.xml in the EAS server
    2. Search for this file
    3. Rename the file or cut and paste this file to a different location.Restart the EAS server
    4. Run the calc in background it will work fine
    And it did! This was on Windows Server 2003, Essbase 9.3.1.2.
    Thanks,
    -Another Rob

  • How to execute report in Background from Dialog process?

    How, or what is the best way, to lauch an executable program (report) into the background from a dialog program (dynpro)?
    <b>Example:</b>  The SUBMIT...AND RETURN still executes the called program before it returns control to the calling program.  I just want the report to be kicked off and the dialog to continue as normal.  I do not want the report execution time to affect the dialog process.
    Thanks in advance for your time.

    Hi Nablan, I'm also trying to do parallel processing and created a function module that kicks of another report program.
    However, the process doesn't seem to work. The Main program runs from start to finish but the called program in the function module doesn't seem to run. When I used the option STARTING NEW TASK task name the code ran but in the foreground. I don't want to use this option as it runs in the foreground and SAP limits one to six sessions. Is there something I'm missing in the attributes of the function module I created. Currently the attributes are: Processing type Remote enable module and it's set to start immediately. I had used Normal function module initially but this did not work with the STARTING NEW TASK task name option.
    Below are the codes segements I used.
    In my main program I have the following code segement
    CALL FUNCTION 'Z_CA_PROG_CALL'
      IN BACKGROUND TASK
      EXPORTING
        zprogram            = 'ZCA_TEST1'
      EXCEPTIONS
        program_call_failed = 1
        invalid             = 2
        OTHERS              = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.
    In the function module I have the following code.
    FUNCTION z_ca_prog_call.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(ZPROGRAM) LIKE  ZCA_INTERFPROG-ZPROGRAM
    *"  EXCEPTIONS
    *"      PROGRAM_CALL_FAILED
    *"      INVALID
      SUBMIT (zprogram).
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
            RAISE program_call_failed.
          WHEN OTHERS.
            RAISE invalid.
        ENDCASE.
      ENDIF.
    ENDFUNCTION.

  • Schedule SP01 in background, how to?

    Hello together,
    does anybody have an idea, how to schedule TA SP01 in background?
    My first solution thought was, to call SP01 from a small program, but, because SP01 is a module-pool program, it can only called via "call transaction". Immediate after output, SP01 returns to the caller and the result list of SP01 is
    not viewable as spool. It works fine in dialog processing.
    My second idea was, to make a copy of SP01, the underlying module pool  and so on, modify the menu so that it contains the variant-functionality fcodes. But to
    do so, i need to switch the report type from "Modulepool" to "Executable program" and i didn't know exactly, if this will work.
    I would be grateful if someone can help me further!
    Have a nice day
    Jens

    Hi!
    What's your point, what are you going to do with SP01?
    For example we are retrieving data from the spooler like this:
    1. Reading table TSP01 for the spooler contents
    2. Downloading the required requests (identified by a special name) with the function module CONVERT_ABAPSPOOLJOB_2_PDF, or CONVERT_OTFSPOOLJOB_2_PDF.
    Regards
    Tamá

  • Error while executing BDC in background.

    Hi
    I have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.
    Enter at least one plant                                              
    Enter at least one plant                                              
    Spool request (number 0000023938 ) created without immediate output   
    No batch input data for screen SAPMSSY0 0120                          
    Can anyone tell me why this problem is occuring only during background execution?
    Or Do I need to find out a Function Module to update the future price of materials?

    Thanks Kris,
    Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'.
    Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how..

  • EXCEL attachment as EMAIL to USER - When USER executes REPORT in BACKGROUND

    Hi Friends,
    I have 10 records in Internal Table. In BACK GROUND execution, I have to send this 10 records as EXCEL attachment through EMAIL to the USER who executed in background.
    How to do this? Thanks in advance.
    Regards,
    Viji.

    hi,
    the following excerpt converts to excel:
    REPORT ZEX_DATATOEXCEL .
    Parameters: P_file like RLGRAP-FILENAME.
    data : begin of int_head occurs 0,
    Filed1(20) type c,                     " Header Data
    end of int_head.
    data : begin of int_data occurs 0,
    Field1(20) type c,                     " Data
    Field2(20) type c,
    Field3(20) type c,
    Field4(20) type c,
    end of int_data.
    int_head-Filed1 = 'Sales Ord'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Sold-to-Party'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Purchase Ord'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Ship-to-Party'.
    APPEND int_head.
    CLEAR  int_head.
    int_data-field1 = '1JOHN'.
    int_data-field2 = '2TOM'.
    int_data-field3 = '3BRAD'.
    int_data-field4 = '4PETER'.
    Append int_data.
    Clear int_data.
    CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
    EXPORTING
    file_name = p_file " path offile where u need to download
    * CREATE_PIVOT = 0
    * DATA_SHEET_NAME = ' '
    * PIVOT_SHEET_NAME = ' '
    * PASSWORD = ' '
    * PASSWORD_OPTION = 0
    TABLES
    * PIVOT_FIELD_TAB =
    data_tab = int_data "internal table with data
    fieldnames = int_head "internal table with header
    EXCEPTIONS
    file_not_exist = 1
    filename_expected = 2
    communication_error = 3
    ole_object_method_error = 4
    ole_object_property_error = 5
    invalid_filename = 6
    invalid_pivot_fields = 7
    download_problem = 8
    OTHERS = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    got it from
    http://abaplovers.blogspot.com/2008/05/abap-internal-table-to-excel-sheet.html.
    then you can export to spool and mail it.
    ags.

  • Problem in executing report in background in CS workflow

    Hi All,
    I am using ECC 6.0 version.
              In my scenario , Once notification is closed , workflow should trigger. and along with this , one report should execute in background with input parameter as a Notification no. from workflow . Report  should pick up input parameter dynamically.As I know instead of function module we can choose report option in business object .
               My question is how that report will get input parameter as notification no.& How I do the binding for this (Between report & workflow)?
                Valuable suggestions are excepted.
    Regards,
    Sheetal

    Hi Sheetal,
    As I had mentioned earlier (you have already implemented), add the report to your BO as a method. Then click on method and then click 'Parameters'. Create the required parameters, which is 'Notification No.' and go to the system generated 'Program'. Here you will have to do a bit of macro coding. Obtain the No. (once you add as parameter, you will get it through binding) and pass to report.
    You might also retrieve (only if required or only in certainb cases) values, for that observe how the attributes are retrieved on the basis of key field.
    Best regards,
    Abir.

Maybe you are looking for

  • Java JCo SAP XI RFC SAP R/3 6.C ... Unicode issue

    Hello, My scenario is very simple. I'd like to connect a Java program to a SAP R/3 (MDMP) for RFC calls (in both direction), using SAP XI (some of the RFC calls will redirected to some other systems). I use SAP JCo v2.1.8 and tried with Java 1.4.2_09

  • WSDL generation from existing WebService

    Hello everybody, we have got an existing WebService which we want to migrate to XI. Because we don't want to change the clients interfaces we would like to import the WSDL and XSD and than generate a WSDL from XI. First problem: The WebService exists

  • Digital Camera RAW Compatibility 6, Nikon NEF, ICloud & QuickView issue

    Since a few weeks (maybe more) it appeared to me that my Nikon D7000 Raw Files went as plain black pictures on my IOS devices (Iphone or Apple TV running latests IOS releases). Summary of the situation Camera to Aperture => Fine Aperture to ICloud ph

  • New iPad not restoring

    I just got a replacement iPad2. Before I turned in the old one, I backed it up to iCloud and iTunes. Now when i restored it, not all of my apps are there. iBooks was one of the missing apps. I downloaded it again and all of my collection titles are t

  • InfoPath Submit Behavior on Web Part Page

    Is it possible to change the submit behavior on a Web Part Page for a InfoPath form? I could it it just fine in a regular page, but when I created a web part page I lost the functionality - if it is not possible can someone explain why?