Code to Submit RIMODGEN in the Background

Does anyone know how to submit RIMODGEN in the background? Here's a small clip of my code. I don't think the problem is with my parameters. The program executes but the integration model is not created.
CLEAR gt_params.
PERFORM load_params USING 'I_INCR' 'P' 'I' 'EQ' 'X'. "Dark Mode
PERFORM load_params USING 'I_MODID' 'P' 'I' 'EQ' p_model.
PERFORM load_params USING 'I_LOGSYS' 'P' 'I' 'EQ' p_lsys.
PERFORM load_params USING 'I_APPL' 'P' 'I' 'EQ' 'MATERIALS'.
PERFORM load_params USING 'I_MATINC' 'P' 'I' 'EQ' 'X'.
LOOP AT gt_mara INTO gs_mara.
PERFORM load_params USING 'MA_MATNR' 'S' 'I' 'EQ' gs_mara-matnr.
ENDLOOP.
SUBMIT rimodgen
WITH SELECTION-TABLE gt_params
AND RETURN.
Thanks in advance for any help someone can provide.
Mike

Could you please elaborate on your requirement. In general we use SM36 and SM37 for IM creation and scheduling. For IM activation you have to use program RIMODAC2 and create and schedule job using SM36 and SM37
Thanks
Aparna
Edited by: Saradha Ramesh on Jun 12, 2009 6:15 PM

Similar Messages

  • Script to Submit XFDF in the background?

    I was wondering if anyone has any hints or techniques on how to submit a pdf as XFDF in the background using javascript on a web instance of Adobe Reader. Right now, I have a button that when the user hits save, submits the XFDF to another web page that then saves the data to the database. I'd love to be able to do this without having to redirect the user to a new page. I'd like to be able to just have it save in the background and keep the user on the web page and maybe even use a timer option in Javascript to do an auto submit at a time interval.
    Any suggestions?
    Thanks
    John

    Could you please elaborate on your requirement. In general we use SM36 and SM37 for IM creation and scheduling. For IM activation you have to use program RIMODAC2 and create and schedule job using SM36 and SM37
    Thanks
    Aparna
    Edited by: Saradha Ramesh on Jun 12, 2009 6:15 PM

  • The submit button on my form will not show the word SUBMIT. I type it in but as soon as I take the form out of edit mode SUBMIT disappears. The background is yellow and SUBMIT is in black. Any ideas?

    I can't make the word SUBMIT stay visible on the submit button

    Yes. They need to download Reader and then disable Google Chrome's internal PDF viewer and enable Adobe Reader.
    FireFox should also be configured to use Adobe Reader and not the internal PDF viewer.
    The internal viewers are created to process PDF documents by not including the features and code to process PDF forms.

  • Call java code on submit anyaction on the BPEL form

    Dear All
    As you know in the BPEL form there is many action like Submit , Approve , Not Approve etc.. i want to call java code when i call any actions.
    Regards
    Wish79

    Hi friend,
    Maybe this is a sin, to ask a question about java on a .net forum but still going to try ;)
    As you said, this is a question about Java. I am afraid this is out of our support. You'd better ask in thier special forum. Like selenium.  Thanks for your understanding.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Submit RIMODGEN in Background

    Does anyone know how to submit RIMODGEN in the background?  Here's a small clip of my code.  I don't think the problem is with my parameters.  The program executes but the integration model is not created.
        CLEAR gt_params.
        PERFORM load_params USING 'I_INCR'   'P' 'I' 'EQ' 'X'.  "Dark Mode
        PERFORM load_params USING 'I_MODID'  'P' 'I' 'EQ'  p_model.
        PERFORM load_params USING 'I_LOGSYS' 'P' 'I' 'EQ'  p_lsys.
        PERFORM load_params USING 'I_APPL'   'P' 'I' 'EQ' 'MATERIALS'.
        PERFORM load_params USING 'I_MATINC' 'P' 'I' 'EQ' 'X'.
        LOOP AT gt_mara INTO gs_mara.
          PERFORM load_params USING 'MA_MATNR' 'S' 'I' 'EQ' gs_mara-matnr.
        ENDLOOP.
        SUBMIT rimodgen
          WITH SELECTION-TABLE gt_params
           AND RETURN.
    Thanks in advance for any help someone can provide.
    Mike

    Could you please elaborate on your requirement. In general we use SM36 and SM37 for IM creation and scheduling. For IM activation you have to use program RIMODAC2 and create and schedule job using SM36 and SM37
    Thanks
    Aparna
    Edited by: Saradha Ramesh on Jun 12, 2009 6:15 PM

  • Making Page look same in All Pixels & Writing code for Submit Button.

    Hello All,
    How to make the page look the same in all computers even though the pixels are different?
    Please help me in this regard.
    More Over if I want write the code for Submit button where the code should be written.
    Whether the code is different from normal ABAP coding?
    Warm Regards,
    SampathKumar G.

    Hi Sampath,
    You can trigger mandatory field checks in WDA as in R/3. For this you need to make the "state" property of your input field to "required".
    In addition to this you need to call the static method check_mandatory_attr_on_view of class cl_wd_dynamic_tool. This would then automatically verify if all the mandatory fields have been filled or not. It would then populate the error messages into an internal table and display them in the view. Also the mandatory fields which haven't been filled would be highlighted with a red border. You need to put the below coding into the action up on which you want to trigger the data chesks.
    data: lt_msg TYPE cl_wd_dynamic_tool=>t_check_result_message_tab,
              lo_view_controller TYPE REF TO if_wd_view_controller,
              lo_message_manager type ref to if_wd_message_manager.
      lo_view_controller ?= wd_this->wd_get_api( ).
      lo_message_manager = lo_view_controller->get_message_manager( ).
      cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
        EXPORTING
          view_controller = lo_view_controller
          display_messages = abap_true
        IMPORTING
          messages = lt_msg ).
    Regards,
    Uday

  • How to Debug a ABAP code running the background in Portal

    How can I debug a ABAP code running in the background while executing a transaction code through portal.
    e.g Presently I have to incorporate some checks in the portal. For that I know the function module where i need to put though checks. Now I want to know, how does the code during runtime. What values do we get in the function module. For this I need to get into the debugging mode while executing the portal.
    So how can we do that???

    Namit,
    it doesnot matter whether it is a standard funtion module or a custom one .check whether you are debugging for proper user(portal user and backend user are same) and check debugging is activated

  • Can i have the HTMLB Code for the background color for a  screen?

    Hi friends,
    Can i have the HTMLB Code for the background color for a  screen?
    moosa

    Hi:
    you can put like
         <table width="100%" height="100%" cellspacing="1" cellpadding="2" border="0">
                     <tr class="sapTbvCellStd"> <td bgcolor="#B1E1D2" valign="top">
    Regards
    Shashi

  • Steps for Running T-code MIRO in the background

    HI,
    Plz let me know the steps for running T-code MIRO in the background Programatically.
    Regards

    Hi
    check following link it will help to you
    [http://help.sap.com/saphelp_46c/helpdata/en/a8/b992bd452b11d189430000e829fbbd/content.htm]
    [invoice verification in background;
    Regards
    Kailas Ugale

  • My code panel has an entirely black background and i can not see the coding how can i correct this?

    my code panel has an entirely black background and i can not see the coding how can i correct this?

    cs5 , windows, i don't even know how it changed? and yes all files but after 3 hrs burned here at work i figured it out:
    Before:
    click the format source code button
    Preferance panel will show up>code coloring>Default Background
    Correct:
    Thank you for your reply
    Message was edited by: Graphixqueen1

  • Chess UI Code Posted... Problems setting the background of JLabel.

    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    class chess
         JLabel l[];
         JPanel p;
         public chess()
              l = new JLabel[65];
              p= new JPanel();
              p.setLayout(new GridLayout(8,8));
              p.setBorder(new MatteBorder(2,2,2,2,Color.black));
              for(int i = 1; i<=64; i++)
                   l[i] = new JLabel(""+i);
                   p.add(l);
              JFrame f = new JFrame ("Hello");
              f.getContentPane().add(p);
              f.setSize(500,500);
              f.setVisible(true);
         public static void main(String args[])
              new chess();
    hello, i have created an array of JLabel and i wannt to set the background of JLabel white n black.. But when i write this statement it does not work..though it shud.
              if (i%2==0)
                   l.setBackground(Color.black);
              else
                   l[i].setBackground(Color.white);
    where i am going wrong n wht is the way to do this...

    can u tell wht shud i use in the if else block coz... the output is not wht i was expecting....u nd 2 chng clr wn lb @ % 8

  • Submit rfbibl01 fails in background as 'LIST_FROM_MEMORY'  raising exceptio

    Hi All,
    I have a requirement where I submit "rfbibl01" in a custom program. The program works fine in foreground. Below is the code I am using for foreground run. The list output of rfbibl01 is being written to memory using the below submit statement and then read using FM 'LIST_FROM_MEMORY' into an internal table. This internal table is being used for further processing.
        SUBMIT rfbibl01 WITH  ds_name   =   v_filetemp
                        WITH  fl_check  =   v_fl_check
                        WITH  os_xon    =   ''
                        WITH  xnonunic  =   ''
                        WITH  callmode  =   'C'                   
                        WITH  max_comm  =   '1000'
                        WITH  pa_xprot  =   ''
                        WITH  anz_mode  =   'N'
                        WITH  update    =   'S'
                        WITH  xpop      =   ''
                        WITH  xlog      =   'X'
                        WITH  xinf      =   ''
                        EXPORTING LIST TO MEMORY AND RETURN.
        CALL FUNCTION 'LIST_FROM_MEMORY'
          TABLES
            listobject = i_memory_list[]
          EXCEPTIONS
            not_found  = 1
            OTHERS     = 2.
        IF sy-subrc <> 0.
          Error  'List not Found' .
        ENDIF.
    The same code gives exception for FM 'LIST_FROM_MEMORY', when run in background. The submit statement is successfull, but the FM raises error message and so the background processing is stopped.
    I have tried changing my code for background mode as below.
        CONSTANTS: c_job    TYPE tbtcjob-jobname VALUE 'ZFXL_56632_GL_ALINEA_SUB',
                   c_kind      TYPE c VALUE 'P',
                   c_sign      TYPE c VALUE 'I',
                   c_dest(8)   TYPE c VALUE 'HPMISPRT',
                   c_true      TYPE c VALUE 'X',
                   c_option(2) TYPE c VALUE 'EQ'.
        DATA: v_jobcnt     TYPE tbtcjob-jobcount,
              v_desc(200)  TYPE c,
              l_release(1) TYPE c.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = c_job
          IMPORTING
            jobcount         = v_jobcnt
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        DATA: print_parameters TYPE pri_params,
              archi_parameters TYPE arc_params,
              valid_flag(1) TYPE c,
              v_spono TYPE sy-spono.
        TYPES: BEGIN OF t_tsp01,
                 rqident   TYPE tsp01-rqident,
                 rqcretime TYPE tsp01-rqcretime,
               END OF t_tsp01.
        DATA i_tsp01 TYPE STANDARD TABLE OF t_tsp01.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            layout                 = 'X_65_132'
            line_count             = 65
            line_size              = 132
          IMPORTING
            out_parameters         = print_parameters
            out_archive_parameters = archi_parameters
            valid                  = valid_flag
          EXCEPTIONS
            invalid_print_params   = 2
            OTHERS                 = 4.
        IF valid_flag <> space AND sy-subrc = 0.
        Submit program in background to transfer log
          SUBMIT rfbibl01 WITH  ds_name   =   v_filetemp
                            WITH  fl_check  =   'X'                  " v_fl_check
                            WITH  os_xon    =   ''
                            WITH  xnonunic  =   ''
                            WITH  callmode  =   'C'
                            WITH  max_comm  =   '1000'
                            WITH  pa_xprot  =   ''
                            WITH  anz_mode  =   'N'
                            WITH  update    =   'S'
                            WITH  xpop      =   ''
                            WITH  xlog      =   'X'
                            WITH  xinf      =   ''
                         EXPORTING LIST TO MEMORY AND RETURN
                            VIA JOB c_job
                            NUMBER v_jobcnt
                            TO SAP-SPOOL
                            SPOOL   PARAMETERS print_parameters
                            ARCHIVE PARAMETERS archi_parameters
                            WITHOUT SPOOL DYNPRO
                            WITH destination = c_dest
                            WITH immediately = 'X' "space
                            WITH keep_in_spool = c_true
                            AND RETURN.
          COMMIT WORK.
          SELECT rqident RQCRETIME
          FROM tsp01
          INTO table i_tsp01
          WHERE rqowner EQ sy-uname.
            v_spono = sy-spono.
          ENDIF.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount                          = v_jobcnt
              jobname                           = c_job
    IMPORTING
      JOB_WAS_RELEASED                  =
           EXCEPTIONS
             cant_start_immediate              = 1
             invalid_startdate                 = 2
             jobname_missing                   = 3
             job_close_failed                  = 4
             job_nosteps                       = 5
             job_notex                         = 6
             lock_failed                       = 7
             invalid_target                    = 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.
    But I do not see any spool number generated. My requirement is to use this spool number, job name and job number to get the list that is written to the spool and then do some processing on it.
    Can anyone suggest me how to solve this issue?
    <b><REMOVED BY MODERATOR></b>
    Thanks,
    Deepthi
    Message was edited by:
            Alvaro Tejada Galindo

    Hello Deepthi,
    Check whether the report is displaying ALV grid when it  is executed in bacground.
    Since when the report displays ALV grid then u can't export the list to memory from ALV grid.
    Regards,
    Vasanth

  • SUBMIT REPORT AS A BACKGROUND JOB

    Hi all,
       I am executing one report in foreground in that report i want to submit one report which should be executed in background only. how it is possible to execute 2nd report in <b>background mode</b> only.
    Regards
    deepak

    This is the Basic code to Achieve that.
    Call Function 'JOB_OPEN'
    SUBMIT RSBDCBTC
    via background Job <Job info>
    With QIE = <QID Returned by BDC_OPEN_Group FM>
    AND RETURN.
    Call Function 'JOB_CLOSE'
    2) Also go through this
    DATA: lv_job_name         LIKE tbtco-jobname,
    lv_job_nr           LIKE tbtco-jobcount,
    lv_job_released     TYPE c,
    lv_job_start_sofort TYPE c,
    lv_print_parameters TYPE pri_params.
    lv_job_name = 'Z_BGPROGRAM'.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_job_name
        IMPORTING
          jobcount         = lv_job_nr
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF syst-subrc = 0.
    " submit job with all the selection screen params...
        SUBMIT (lv_job_name)
            WITH applfile = applfile " these are the parameters of the background program
            WITH p_lines = p_lines
            USER syst-uname " you must use this
           VIA JOB lv_job_name NUMBER lv_job_nr AND RETURN.
        IF sy-subrc = 0.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = lv_job_nr
              jobname              = lv_job_name
              strtimmed            = 'X'
            IMPORTING
              job_was_released     = lv_job_released
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              OTHERS               = 8.
          IF syst-subrc <> 0.
            MESSAGE i162(00) WITH
            'An error occured while closing the background job.'.
            STOP.
          ENDIF.
        ENDIF.
      ENDIF.
      SKIP 1.
      WRITE: / 'Background process', lv_job_name , 'called successfully' NO-GAP.
      WRITE: / 'You can check the job in transaction SM37'.
    Thanks

  • How 'Submit WITH  VIEW in background' can be Done

    HI EXPERTS
    I want to run This code in the background  from a zreport  .Can any body help me ho can i run this in background.
    SUBMIT RSCMPADJ WITH VIEW = TBL_DD02L-TABNAME
    WITH RFC_DEST = RFC_DEST
    WITH SEL = SPACE
    EXPORTING LIST TO MEMORY
    AND RETURN .

    Hello,
    1. Call FM : JOB_OPEN
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
             JOBGROUP         = 'AUTO'
             JOBNAME          = W_JOBNAME
           IMPORTING
             JOBCOUNT         = W_JOBNO
           EXCEPTIONS
             CANT_CREATE_JOB  = 1
             INVALID_JOB_DATA = 2
             JOBNAME_MISSING  = 3
             OTHERS           = 4 .
    2. SUBMIT RSCMPADJ WITH VIEW = TBL_DD02L-TABNAME
    <b>VIA JOB W_JOBNAME NUMBER W_JOBNO</b> WITH RFC_DEST = RFC_DEST
    WITH SEL = SPACE
    EXPORTING LIST TO MEMORY
    AND RETURN .
    3. FM: JOB_CLOSE
      CALL FUNCTION 'JOB_CLOSE'
           EXPORTING
              JOBCOUNT                    = W_JOBNO
              JOBNAME                     = W_JOBNAME
              STRTIMMED                   = 'X'
         EXCEPTIONS
              CANT_START_IMMEDIATE        = 1
              INVALID_STARTDATE           = 2
              JOBNAME_MISSING             = 3
              JOB_CLOSE_FAILED            = 4
              JOB_NOSTEPS                 = 5
              JOB_NOTEX                   = 6
              LOCK_FAILED                 = 7
              OTHERS                      = 8
    Regards,
    Naimesh

  • Changing the background of a text field in adobe interactive forms

    Hello All,
    Is there any way to change the background colour of text field in interactive form dynamically.??
    Thanks,

    Naresh,
    Change the language to JavaScipt in Script Editor of LiveCycle Designer and use the following code to highlight the area of TextField where R,G,B means that you have to give the RGB values of the color you want.
    <YourTextFieldName>.border.edge.color.value = "R,G,B";
    For eg:- If you have a textfield with name TextField1 then this will highlight the TextField1 area in red color.
    if ((TextField1.rawValue==null) || (TextField1.rawValue==""))
      TextField1.border.edge.color.value = "255,0,0";
    You can use this on exit event of Textfield1 or at the submit button where you check the form data.
    Chintan

Maybe you are looking for