Scheduling /VIRSA/RE_DNLDROLES in background Mode

Hi,
I need to shcedule the job to download all the roles in the background mode for /VIRSA/RE_DNLDROLES, as I am not able to complete the execution by running it in foreground. Apparently in the batch mode this tcode does not write the required files to the folder nor does it generate any spool. I checked the note 1252032 it also seems to suggest that we should be running this in the background.
Any ideas why the files wont download in the batch mode.
Thanks!
Chinmaya

Hi Barath
          if you are not using any gui_download function module then u can schedule a job by hitting F9 in the selection screen...
to schedule a job u will use sm36 and schedule ..
check this link :
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

Similar Messages

  • Can we schedule BDC in Background Mode - SM37

    Hi Guru,
    Can we schedule our BDC in background - SM37 . Upload file will be on Local Sustem - C drive.
    Regards
    Durgesh
    Moderator message: background/GUI problems = FAQ, please search before posting.
    locked by: Thomas Zloch on Oct 6, 2010 2:14 PM

    GUI functions (like GUI_UPLOAD) will not work in background, they need an actual Gui active.
    There are plenty of threads on  this subject, search also in the wiki for threads/guide like [Working with files |http://wiki.sdn.sap.com/wiki/display/ABAP/Workingwithfiles] or [Communication to Presentation Server in Background Mode|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true] or [Working with FTP Server |http://wiki.sdn.sap.com/wiki/display/ABAP/WorkingwithFTP+Server]
    (To execute a BDC in background use report RSBDCSUB.)
    Regards,
    Raymond

  • Why can't we use GUI_Download in background mode...........

    Hi experts as per the requirement my program should run at specific time in background mode, it need to upload the Personal numbers from the input file and for those personal numbers extract the data from multiple tables. but this report shd run in background.
    and download the output in the form of flat file.
    as i'm running in background mode can't use the F.M GUI_Download and GUI_Upload.
    can any one guide me how to solve this issue and why can't we use these F.M. if we can't use then what is the alternative to run in background mode.

    A program that runs in background mode doesn't have any connection to a frontend. After all, you can schedule it to run at a time where your frontend computer is not running.
    In this case you have to load your files on the application server (or a mount point) and use the FMs C13Z_FILE_DOWN(UP)LOAD_ASCII(BINARY)
    Regards
    Frank

  • Is it possible  upload local file to internal table in background mode?

    Hi, all,
    Is it possbile to  upload local file(not server file) to internal table in background mode.
    If possbile ,please tell me detail . Thanks in advance.
    Regards,
    Lily

    Hello,
    This is possible.
    If you report has to be executed in background using schedule Job. Then the file path should be constant and it can be hard coded in the report itself while populationg the internal table.
    Then create a variant for your report and use that variant in the job.
    This will solve your problem I guess.
    Regards
    Arindam

  • Run smartforms in background mode

    Hi
       Can anybody tell me, can we execute smartforms in background mode. Please tell me. Can we take printout from the spool.
    Smartform have driver program.
    Thanks
    Murali Papana.

    hi,
    Use
    You can not only evaluate queries online, but also print them in the background. In the Reporting Agent of the Administrator Workbench, you can define the display of the query data as the setting for background printing. You can make as many various settings as you want for printing a query in the background. The settings are then brought together in scheduling packets and scheduled for background printing.
    Prerequisites
    You have defined a query in the Business Explorer Analyzer that you now want to print in the background. You have called up the Administrator Workbench to do this.
    You can only print out queries with key figures in structures. If you have defined a query with a key figure in the filter and want to print this query, you must change the definition of the query so that the key figure is in a structure to be printed.
    You can only schedule queries with entered variables for background printing if the required variable entry/entries have been saved as query variants.
    Procedure
    Defining Reporting Agent Settings for Printing in the Background
    Choose the Reporting Agent from the Administrator Workbench.
    Navigate in the left-hand tree to the query you want, and, using the right mouse button, choose New Setting. You get to the "New Reporting Agent Setting" dialog box.
    Enter a technical name and a description.
    Choose Print in the background from the General tabstrip.
    Choose the tabstrip Print Settings from the newly added tabstrips.
    Determine the print settings that you want to make. See also: Print Settings
    Choose the Print Layout tabstrip.
    Decide how you want to set the following print areas:
    Cover sheet
    Page header
    Table header
    Table
    Page footer
    Last page
    See also:
    Defining the Print Layout
    Choose Activate.
    Creating Scheduling Packets and Assigning Reporting Agent Settings for Printing in the Background
    Once you have made the Reporting Agent setting for printing in the background, you have to assign your setting to a scheduling packet for the background run.
    Creating a scheduling packet
    Go back to the Reporting Agent Scheduler, and, in the right-hand Scheduling packets tree, choose the Change pushbutton.
    Select the Print in the background node, and choose Create new packet from the context menu (right mouse button). You get to the Create Scheduling Packet dialog box.
    Specify a name and a description, and choose Save.
    Assigning Reporting Agent Settings for Printing in the Background
    Navigate in the left-hand tree, Reporting Agent Settings, to the Reporting Agent setting you want to use for printing in the background.
    Using drag-and-drop, drag the Reporting Agent setting that you want to use into the right-hand tree, and assign it to the corresponding scheduling packet.
    If the Reporting Agent setting refers to a query with variables, then you need to assign a variant:
    Select the Reporting Agent setting.
    Using the right mouse button, choose Assign variants from the context menu. A dialog box containing the variants for this query appears.
    Choose the variant you want to use.
    Choose Continue.
    You have the option of maintaining variants in the Reporting Agent (in both the left and right-hand trees).
    Select the Reporting Agent setting you want to use.
    Choose Maintain variants from the context menu (right mouse button).
    Note that you always assign Reporting Agent settings for printing in the background to a corresponding scheduling packet for printing in the background.
    To avoid confusion with Reporting Agent settings for exception reporting, you are able to filter according to these two functions in the left-hand menu. The symbols for Exception and Print, in the left-hand tree, also identify the settings.
    Scheduling a Packet as a Job
    In the right-hand tree, select the scheduling packet you want to use.
    Using the right mouse-button, choose Schedule from the context menu. You get to the Change Job RA (name of the scheduling packet) dialog box.
    The name of the job is made up of RA for Reporting Agent, and the name of the scheduling packet.
    Specify the start date and the repetition period for the job.
    See also:
    Scheduling Background Jobs in the documentation for the BC Computing Center Management System.
    If you want to check the status of the scheduled background job, choose the Jobs pushbutton above the right-hand tree in the Reporting Agent Scheduler.
    Hope this helps, Do reward.

  • BAPI in Background mode

    Hi,
    How to schedule BAPI in Background mode.
    Thanks in advance.
    Regards,
    Madhavi

    Hi,
    When you create a batch input session, it remains in the batch input queue until it is explicitly started. Session processing can be started in two ways:
    An on-line user can start the session using the batch input menu options. (To access the batch input options, choose System>Services>Batch Input.)
    You can submit the background job RSBDCSUB to start a session in background processing. If several sessions have the same name, RSBDCSUB starts them all.
    It's possible to coordinate the generation and execution of a session in the background processing system.
    You can, for example, schedule both the batch input program and RSBDCSUB in the background. If you designate the batch input job as the predecessor for RSBDCSUB, then RSBDCSUB will be started automatically when the batch input job successfully completes.
    Alternatively, you can schedule both the batch input program and RSBDCSUB as job steps in a single background job. In this case, however, RSBDCSUB is started even if the batch input program should terminate abnormally.
    Hope this will help you.
    Regards:
    Alok

  • RAR Risk Analysis Issue in Background Mode - "Failed to Display Result"

    Hi,
    I have strange problem in RAR.
    When I run risk analysis for 20 users in background mode, the job got successful but the spool file is empty. But at the bottom of page there is a message:  "Failed to Display Result".
    The Job log is showing the following message couple of times:
    WARNING: ./virsa/bgJobSpool/19.i (No such file or directory)
    java.io.FileNotFoundException: ./virsa/bgJobSpool/19.i (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:129)
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at java.io.FileReader.<init>(FileReader.java:62)
    But When I try to run for few users (like 6 memebrs where selection criteria is AUDIT*) in same way, the spool details got displayed this time. But the log is showing strange error messages this time:
    Nov 15, 2010 3:53:53 PM com.virsa.cc.common.util.ExceptionUtil logError
    SEVERE: null
    java.lang.NullPointerException
         at com.virsa.cc.comp.wdp.IPublicBackendAccessInterface$IAuthForUserInputElement.wdGetObject(IPublicBackendAccessInterface.java)
         at com.sap.tc.webdynpro.progmodel.context.NodeElement.getAttributeAsText(NodeElement.java:888)
    Nov 15, 2010 3:53:55 PM com.virsa.cc.dataextractor.bo.DataExtractorSAP getObjPermissions
    FINEST: getObjPermissions: elapsed time=1436ms
    Nov 15, 2010 3:53:55 PM com.virsa.cc.common.message.util.MessagingHelper getMessage
    INFO:
    ********msg: 'com.virsa.cc.common.message.dao.dto.MessageDTO@34d834d8'
    Any ideas please?

    Hi Alpesh,
    You are correct. The issue is due to multi node environment.
    But when I tried to define a custom spool folder path: usr/sap/<SID>/<Instance No>/log/virsa/bgJobSpool (in RAR - Miscellaneous - spool files location for background jobs) & run the risk analysis report in background mode, still RAR is saving the spool files in default location only.
    Can you suggest me if I am wrongly defining the location of folder?
    Should we define the complete location of the folder i.e starting with drive letter or path starting with user/* is sufficient?
    Regards,
    Dasarad

  • FM not executing in background mode sometimes

    Hi,
    I'm using one Z function module for Production order confirmations which inturn calls 'BAPI_PRODORD_COMPLETE_TECH'.
    There is 'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK' also present.
    My issue is, this functionality works perfectly fine when I execute the program in foreground mode, but does not go through sometimes when I schedule it in background.
    Note : Its not completely skiping the entries in background mode. It works sometimes and sometimes doesn't.
    Can anyone comment if they have faced similar issues ?
    Regards,
    Shiva

    Hi !
    In my opinion it fails, when there is a popup coming from the BAPI.
    We have the issue that when we process in background the orders where a popup should be shown (e.g. the popup asking if setting TECO is OK although reprocessing records exist).
    When we reprocess our IDOC (which are calling that BAPI) in BD87, the popup is even shown in BD87 !
    Any idea how to tell the BAPI to ignore such messages and still set the TECO ?
    Any other way to set the TECO ?
    thx a lot !

  • Schedule Info package in background

    Hi,
    When I schedule my info package in background mode, it should schedule the job with my BW back ground user .
    BW user is the back ground user in mysystem.  But my Process Overview shows that it is scheduled as Dialogue there by utiling my dialogue processers.
    Kindly let me know the reason behind it.
    Regards,
    Ahmed

    Ok, for bi7, this is the way it works...
    when you run an IP in background it will execute a dialog process on the BW side. this process is needed to execute (send the outbound messages) the background job on the R/3 part (with the BW remote user)... in prior releases a background job was also running on the BW side as  long as the R/3 load was running, but with the bi7 adaptations it takes less place on bw side, hence performance has improved...
    M.

  • XLS from Application server in background mode to internal table

    Hi,
    I need to transfer the content of an excel file in the application server to an internal table while running my program in background. My file is xls, cant use csv. For dataset bin mode, I need to know how to transfer the data to my internal table, already searched on forum but didnt find answer, at least not for background..
    ow, I am using v6 here
    about the ALSM_EXCEL_TO_INTERNAL_TABLE, I get the upload_ole error all the time, and with TEXT_CONVERT_XLS_TO_SAP, conversion_failed all the time too...
    here is the code, just the load part and data declaration:
    REPORT zbeto.
    TYPE-POOLS: truxs.
    TYPES:
    BEGIN OF y_cot,
    text1(12) TYPE c,
    text2(12) TYPE c,
    text3(12) TYPE c,
    text4(12) TYPE c,
    text5(12) TYPE c,
    END OF y_cot.
    DATA: it_datatab TYPE STANDARD TABLE OF y_cot,
    wa_datatab TYPE y_cot,
    it_raw TYPE truxs_t_text_data.
    DATA:
    v_file TYPE rlgrap-filename,
    begin_col TYPE i VALUE '1',
    begin_row TYPE i VALUE '2',
    end_col TYPE i VALUE '5',
    end_row TYPE i VALUE '102',
    t_ctmp TYPE y_cot OCCURS 0 WITH HEADER LINE,
    t_xls TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    PERFORM f_load_xls.
    FORM : f_load_xls
    FORM f_load_xls.
    v_file = '
    ZSAPDEV\SAPDEVINTERF$\COTACAO\TESTE.XLS'.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = v_file
    i_begin_col = begin_col
    i_begin_row = begin_row
    i_end_col = end_col
    i_end_row = end_row
    TABLES
    intern = t_xls
    EXCEPTIONS
    inconsistent_parameters = 1
    upload_ole = 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.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
    I_FIELD_SEPERATOR =
    i_line_header = 'X'
    i_tab_raw_data = it_raw " WORK TABLE
    i_filename = v_file
    TABLES
    i_tab_converted_data = it_datatab[] "ACTUAL DATA
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_ctmp[] = it_datatab[].
    ENDFORM. "f_load_xls
    both FM arent working, and when I try to execute in background mode, before anything, I recieve the following error:
    Message text:
    Error during import of clipboard contents
    Message class:
    ALSMEX
    Message no.:
    037
    Message type:
    A
    and without the ASLM FM, the TEXT_CONVERT give me the conversion_failed exception...
    the directories are right, that I am sure, because I just copy&paste it from CG3Z/CG3Y when I uploaded and downloaded to
    check the file in the server...
    am I missing something?
    thanks again,
    Roberto Macedo
    (PS: I made another topic because none replied the other in 4 days and wasnt solved yet)

    Hi!
    You didn't find answer for this, because it is not possible. If you run your program in background, it is running on the server, and does not have any connection to your local machine. That's why you can't upload/download in background mode.
    You might try to address somehow your local PC, with its IP or MAC address, but I don't think does this task worth so much time.
    Run your program in online mode, or if you want to run it in background, then upload your file into the SAP server.
    Regards
    Tamá

  • BDC Program is not working in background mode

    Hi All,
             I hv one bdc program for tcode fb02 which is working fine in foreground mode and data is updated to each screen properly. While running the same program in Background mode data is not updated. Can u seggust the solution.
    Regards,
    Rahul S

    Hi ,
    Remove the break point in the BDC performs.
    put the break point once u complete the BDC.... otherwise execute the BDC in MODE 'E'.. error mode.
    regards,
    Rama Reddy
    Edited by: ram reddy on Nov 16, 2009 5:37 AM

  • BDC is not working in background mode and working fine in Foreground mode

    Hi Experts,
    I have created a BDC in SHDB for the transaction code:CWBQM for creating and deleting the record and converted the BDC recording into the program using call transaction. It is working fine in both foreground and background. When I given the same program for users testing one for the user was able to delete the records but Creation is not working in the same BDC. He is able to create the same records in another PC and the problem is only in that PC and only during the creation of the record. When I change the mode to 'A' mode for testing and request the user to execute and it is working fine the records created successfully. What could be the issue ?
    Thanks,
    Hema

    Hello,
    While recording BDC in SHDB try setting "Simulate background mode" flag and give a try.
    Cheers,
    Nag

  • How to schedule a report in background

    could anybody inform me
    how to schedule a report in background
    if possible plz send the entire step by step process
    thanx
    regards
    kals.

    HI,
    Use transaction SM36
    For step by step process refer this link...
    http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Hope this helps!!
    Cheers
    Alfred

  • Submit + LIST_FROM_MEMORY in background mode

    Hi,
    I need to capture the output results from standard program RFKORK00 and hence I designed a wrapper program that calls the standard program.
    RFKORK00 generates a report output and I am able to capture the results correctly using the FM LIST_FROM_MEMORY and FM LIST_FROM_ASCI in foreground mode. But when I try to run the same job in background, the FM LIST_FROM_MEMORY does not return any results (I have checked the log by inserting information messages at various points in the program).
    I have searched for similar contexts here on SDN and everyone is in agreement that LIST_FROM_MEMORY would work well even in the background mode too but I am unable to find the fault in this case. Could you please help, attached is the code -
    SUBMIT RFKORK00
          USING SELECTION-SET c_variant
          EXPORTING LIST TO MEMORY
          AND RETURN.
        CALL FUNCTION 'LIST_FROM_MEMORY'
          TABLES
            listobject = lt_abaplist
          EXCEPTIONS
            not_found  = 1
            OTHERS     = 2.
        IF sy-subrc = 0.
          CALL FUNCTION 'LIST_TO_ASCI'
            EXPORTING
              list_index         = '-1'
              with_line_break    = ' '
            TABLES
              listasci           = lt_vlist[]
              listobject         = lt_abaplist[]
            EXCEPTIONS
              empty_list         = 1
              list_index_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.
          MESSAGE i099(z1) WITH 'LIST TO ASCI CALL'.
       ENDIF.

    Well, RFKORK00 is indeed a print program that triggers spool in the background.
    I gave up playing around memory id, instead I am using the following code to check whether a spool was created in table TSP03.
    CLEAR r_rqcretime[].
        r_rqcretime-sign    = 'I'.
        r_rqcretime-option  = 'BT'.
        CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
          EXPORTING
            i_datlo     = sy-datlo
            i_timlo     = sy-uzeit
            i_tzone     = 'EST'
          IMPORTING
            e_timestamp = v_tzntstmps.
        r_rqcretime-low = v_tzntstmps.
    **Submit job with changed variant
        SUBMIT (p_prog)
          USING SELECTION-SET c_variant
          EXPORTING LIST TO MEMORY
          AND RETURN.
        WAIT UP TO 5 SECONDS.
    **Fetch the spool number generated by the program
        CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
          EXPORTING
            i_datlo     = sy-datlo
            i_timlo     = sy-uzeit
            i_tzone     = 'EST'
          IMPORTING
            e_timestamp = v_tzntstmps.
        r_rqcretime-high = v_tzntstmps.
        CONDENSE: r_rqcretime-low,r_rqcretime-high.
        CONCATENATE r_rqcretime-low   '00' INTO r_rqcretime-low.
        CONCATENATE r_rqcretime-high  '00' INTO r_rqcretime-high.
        APPEND r_rqcretime.
        SELECT SINGLE rqident FROM tsp01
                      INTO v_rqident
                     WHERE rqowner = sy-uname
                       AND rqcretime IN r_rqcretime.

  • Calling a function from a DLL, exectution in background mode.

    Dear Experts,
    We have created an ABAP report the calls a function from a DLL file. If the report is executed in on-line mode the program calls and executes the function from the DLL, but if the ABAP programa is executed in background mode it doesnt calls the DLL function.
    Do you know a way to solve the problem when executing in background mode?
    Best regards.
    Antonio

    Hi Gabriel,
    Let me explain in details about my DLL function.
    We are importing the business partners from legacy system into the SAP CRM system, so at the moment we created the BP master data via BAPI, I get the name of the BP and this moment I call the function in the DLL file. I export the parameter name and I receive back a simplified string with the name reduced to a code. This code I get back from the dll it is insert in a Z table, so there is no interaction in the screen, all must be executed in background mode, because there are a lot of business partners to be converted in SAP system.
    I am sending my code for your considerations.
    Instancia a DLL
      CREATE OBJECT dll 'MTCODE.CPFONET'.
      IF sy-subrc NE 0.
        RAISE without_dll.
      ENDIF.
    Move para a tabela interna IT_NAME os valores recebidos na TI_NAME
      it_name[] = ti_name[].
    Para cada registro importado
      LOOP AT it_name.
        CLEAR v_string_ret.
        wa_matchcode-zregid     = it_name-zregid.
        wa_matchcode-name1_text = it_name-name1_text.
        v_string = it_name-name1_text.
        CONDENSE  v_string.
        TRANSLATE v_string TO UPPER CASE.
        CALL METHOD  OF dll 'SetNome' EXPORTING #1 = v_string.
        CALL METHOD  OF dll 'ExecMatch'.
        CALL METHOD  OF DLL 'GetMCData' = v_string_ret.
        FREE OBJECT dll.
      Preenche os campos do match-code de acordo com o retorno da DLL
        SPLIT v_string_ret
        AT '|'
        INTO wa_matchcode-zparmcln
             wa_matchcode-zparmcfn
             v_empty
             wa_matchcode-name_first
             wa_matchcode-name_last
             wa_matchcode-namemiddle.
      Adiciona o registro com o match-code correspondente na TE_MATCHCODE
        APPEND wa_matchcode TO te_matchcode.
      ENDLOOP.

Maybe you are looking for

  • How to filter View Objects on Main Page - Unbounded Task Flow

    Hi All, Version: 11.1.1.4 I have a scenario where I am trying to filter the Employee information by EmployeeID and show their related Items. I can do this if I encapsulate Employee and / or Items in bounded task flows and expose their view Criteria i

  • My iPod resets randomly, among other things......

    Any help would be greatly appreciated. Here are the facts: 1. I have a 60g 5G iPod. (It's black) 2. I am running windows XP. 3. The first time I tried to update the iPod, it added about 20 songs and resetted itself. 4. It now does everything from not

  • FM PROB

    HI.. Iam new in using ALV... this is the following report i created... When iam executing the following report its getting short dumped.. can anyone help me out in this... I didnt know how to use the FM reuse_alv_fieldcatalog_merge and iam facing pro

  • Navigating top sites on Yosemite

    How can I navigate to my top sites from another already opened page in Safari 8.0 (OS X Yosemite)? On Mavericks I was able to tap Top Sites button whatever page in Safari I was visiting. But after the update I can't do it. The only way I can see my T

  • Forms in debug mode

    Hi, I am able to run my forms in run mode. But, when I try to run my application in debug mode, facing problems. FRM-92101 error is thrown. Java console shows, Loading http://157.227.14.178:8889/forms90/java/f90all_jinit.jar from JAR cache proxyHost=