[solved] XBMC - autostart torrent program in the background?

I'm back with more xbmc questions and since 99% of the users at xbmc use *buntu and their debian startup scripts, I'm going to bug you guys.
I've finally got a dedicated htpc that boots directly to xbmc without even bothering with a WM.
Now, I'm hoping to get a torrent program (with rss functionality) to boot at startup as well as having access to some kind of gui to check up on the torrents occasionally.
I'm mostly looking at deluge since it's what I know and the wife wants some kind of gui so she can add torrents and check up on stuff too.  (Hey, we're a windows free household but not GUI free, we're not that geeky)
I've also looked a bit at rtorrent + flexrss + some webgui of some kind.
I'm not really looking to start a thread with a hundred posts saying to try: transmission, ktorrent, deluge, rtorrent, vuze, utorrent+wine, etc.  I'm more interested in finding out how to get the specific functionality out of the software.
That being said, if you can help me accomplish what I'm aiming for I don't give a damn what torrent program I'm using.
Here's what I need:
1) Torrent program must have rss functionality
2) I need a script (or the ability) to get it to boot at startup without a WM or DE
2a) I can boot a WM if needed (openbox)
3) i need it to run in the background while XBMC is fullscreen and doing it's thing
4) Prefer access to either standard gui or web gui so I can check up on the torrents occasionaly
5) Can I have a pony?
Thanks guys!
Last edited by ctarwater (2009-04-23 04:25:28)

Actually I was just thinking about it and I may be overcomplicating things (like usual)
I may just change my current setup to boot directly into openbox and autostart xbmc fullscreen.
If I do that, then I can autostart my torrent program just like I would any other program in openbox.
Doing so should allow xbmc to autostart fullscreen while allowing deluge to autostart in the background.
My current setup looks like this:
- mingetty to autologin user
- .bashrc runs "startx"
- .xinitrc runs "/usr/bin/xbmc --standalone"
I'm going to try this out to see how it works:
- mingetty
- .bashrc runs "startx"
- .xinitrc runs "exec openbox-session"
- .config/openbox/autostart.sh runs "/usr/bin/xbmc --standalone &" and "(sleep 2 && deluge) &"
I'm still a bit new to openbox though, we'll see.
Thoughts?
Last edited by ctarwater (2009-04-23 01:25:53)

Similar Messages

  • Running program in the background

    Hi everybody!
    I need to run  program in the background.
    So I need only to change the sy-batch status to 'X'?

    HI,
    if your program is runninn in the Background then the System field SY-BATCH will become 'X' otherwise it will have space ......
    it will not execute the job in the background if you put SY-BATCH = 'X'
    you need to use: Job_open , Job_submit and job_close function modules
    example:
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Thanks
    Sudheer

  • HT201365 How do I stop the running of programs in the background?  The old way of doing it doesn't work now.

    How do I stop the running of programs in the background?  The old way of doing it doesn't work now.

    How to Close Apps
    Double Tap the Home Button... Then swipe the App (not the icon) Upwards... Tap the Home Button when finished.
    From Here  >  http://support.apple.com/kb/HT4211

  • Run program in the background

    I've created a program that I want to run in the background. Meaning that I want to use my cellphone as normal, calling etc. and have the program running in the background. The reason for it is that it needs to get some info at a server to generate new data in the phone.
    Is there someone who knows how to make this work. I'm using a SonyEricsson Z600 and T610 to test the program. Right now I've no clue how to solve it.

    I assume program is J2ME midlet of yours. Then - unless your device supports true multitasking, there's no way to achieve 'running in background' known from good old PCs.
    HTH,
    Peter

  • How to run a server program in the background on Linux or Windows?

    I just finished writing a Java network application with multiple clients and one server.
    However, I am not sure how I can run the server (SomeServer.class) in the background on Windows. Also when I am running it on Linux, I don't want it to terminate when I logout of the Linux shell.
    To run the server on Linux, should I use a command like this?
    nohup java -cp . SomeServer.class > output.txt &
    Or is there another command, or perhaps some code that I can add to the program so that it would run in the background automatically and/or continues even when I logout of the Linux shell??
    Sometimes, I also like to run the program on a Windows XP machine for testing purpose. How can I do it so that it runs in the background without openning a Console/Command Prompt window??
    (redirecting the standard output to a file)
    And is there an easy way to create a EXE file that runs the program with the default JRE in windows?

    On many UNIX systems there's a utility called detach which will launch the following command in such a manner that killing the shell will not kill the process. On systems that lack this command, I'd find an open source implementation and install it.

  • Vaue of sy-tcode when executing the report program in the background

    Hello All,
    To test and find out the value of sy-tcode when the report program is exectued in the background. I have done the below steps.
    1. created a report program with the code given below.
    Select option was just defiend to get the selection screen. it is of no use.
    Select-options: s_name for sy-uname.
    Write:/ sy-uname,sy-tcode.
    2. then I created a transaction for the program to identify whether the value of sy-tcode explicitly.
    3. Then I launched the transaction and in the selection screen of the program I selected the option of executing the program in the backgroung and i process the job immediately.
    4 . In the spool I am able to see the correct sy-uname value but not the sy-tcode.
    Where as if i am executing it in the foregroung it is giving the correct value of sy-uname and sy-tcode.
    Can anybody provide me the reason as to why this is happening . that is in the backgound mode the value of sy-tcode is getting cleared.
    Thanks,
    Mohit

    Hello,
    As they say it is an SAP standard behavior, you can "hardcode" the transaction itself into the ABAP code...
    ie:
    if sy-batch eq 'X' "->IT MEANS THAT IT IS A BACKGROUND JOB.
    w_tcode = 'Z*****'.
    else.
    endif.
    bYE!!
    Gabriel P.-

  • Programs in The background of my computer

    hello my name is thorin I have a dell 546ins with windows 7. when I boot on or shut down my computer programs aare running in the background and the screen aslo flickers with the aplications so I know there is something up with it. I check the
    task bar and it shows nothing. another one of my programs is getting affected from this. I believe it is a virus of sum sort but its slowing down my work flow of stuff that I have to do. please help! also I have looked online for the answers and still cannot
    explain it very well

    Hi,
    So have you tried to run a system check for virus?
    Run a System Health Check;
    Press the Windows key+R button;
    Then type perfmon /report and press Enter or Click OK (remember to put a space between perfmon & /)
    Now it will generate a report, it will complete in 60 seconds;
    Now you can view your results in great detail by using the drop down arrow buttons;
    The report includes a whole load of things here are just a few of them;
    Diagnostic Results Warnings, Performance
    Software Configuration, OS Checks, Security Center Information, System Services, Startup Programs
    Disk, Hot files, Disk breakdown, Physical disk, NTFS Performance
    CPU, Process, Service, Services, System
    Hardware Configuration, Disk Checks, Systems, Desktop Rating, BIOS, Devices
    Memory, Processes, Counters
    Network
    Also try SFC and hard disk check.
    Rgds

  • Bluetooth Problems when running other programes in the background

    I have been experiening problems with the bluthooth conenctivity on my 2012 Macbook Air.
    It is the 2.0GHZ i7 8GB RAm with 256Gb flash storage model released June 2012.
    I use it in clamsehll mode hoked up to an external HD monitor using the Mini display port to HDMI adaptor and then link it to an external LG soundbar using bluetooht for audio.
    No other device has any issue linking ot the LG soundbar but when i am using my Macbook air and downloading something, even a tiny file that might only be goign at a speed of a few kb/s ( I have very slow internet speed ) it casues the bluetooth to cut out every 5-10 seconds and then some times it will work for an hour uninterupted.
    The only other bluthooth device I have connected is my Magic Trackpad and I have tried it without this with the same results occuring.
    Has anyone else experienced this and if so has nayone found a soltuion so that i can run a basic video file and hear the sound clearly and uninteruopted while using my Macbook to to run some other vey basic tasks in the background?
    Any help is greatly appreciated.

    I believe the process to do this is to:
    1)  Go to transaction SM36 to create a batch job. 
    2)  Enter a job name
    3)  Select "Step", specify the ABAP program name (for ME2M, this is RM06EM00), then type in the variant you wish to use
    4)  Save, then go to Start Condition and specify when you want this batch job to run, along with the frequency
    Edit - nevermind, I misunderstood the issue.  I am unsure of how to have the layout automatically populated.
    Edited by: Andy Slania on Jan 26, 2011 10:28 PM

  • Setting Variants and running the program in the background.

    Hi experts,
    I have a custom program which needs to be executed in the background with a set of variants on every monday. For this I will execute the program in background and i will set the time and date.
    One of my variants in the screen is the running date based on which the records will be fetched from the table in the program.
    When i run on 29/05/2006 (MONDAY) the date select option should be set as 23/05/2006 to 29/05/2006.
      how should i do this.
    regards,
    Arul Jothi.

    Hi,
    You can change the DATE values dynamically. Look at the variant options.
    While saving the variant, click on the SELECTION OPTIONS for the DATE parameter (Select the L Parameter check box) and you can specify the dates.
    Here you specify the DYNAMIC DATE CALCULATION WHERE YOU can specify the high and low values.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Spoo Id not geting created while submitting a program at the background

    Hi All,
    I am submitting a Z program from other Zprogram.  I am actually creating a JOB and submitting the Z program.  Please find the code below,
    LOOP AT pernr.
      CLEAR p_job.
      p_stim = p_stim + 120.
      CONCATENATE'ITSlip' pernr-low p_job sy-datum INTO p_job SEPARATED BY
    space.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname  = p_job
        IMPORTING
          jobcount = l_jobcount.
      SUBMIT zpr022_inncometax_report_copy1
        WITH pnptimr6 = 'X'
        WITH pnpbegda = period-low
        WITH pnpendda = period-high
        WITH pnppernr-low = pernr-low
        WITH pnpabkrs-low = 'IN'
           VIA JOB     p_job
            NUMBER  l_jobcount
           TO SAP-SPOOL WITHOUT SPOOL DYNPRO
               SPOOL PARAMETERS ls_params
               WITH immediately = space
                  AND RETURN.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount  = l_jobcount
          jobname   = p_job
          strtimmed = 'X'
         PRDMINS = 2.
          sdlstrtdt = p_sdat
          sdlstrttm = p_stim.
    ENDLOOP.
    Once the FM JOB_OPEN is called, I could see the job getting scheduled in SM37.
    But after SUBMIT and JOB_CLOSE, the job is removed from SM37.  But when i go and see in table TBTCP, I could see the job but in the LISTIDENT field i could see 0 which means no spool id is getting created.  I want to know why the spool id is not getting created.  Please give me your valuable information.
    thanks in advance,
    Balaji

    PL change your SUBMIT statement as below..
    SUBMIT zpr022_inncometax_report_copy1
    WITH pnptimr6 = 'X'
    WITH pnpbegda = period-low
    WITH pnpendda = period-high
    WITH pnppernr-low = pernr-low
    WITH pnpabkrs-low = 'IN'
    VIA JOB p_job
    NUMBER l_jobcount
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    SPOOL PARAMETERS ls_params
    immediately = space
    keep in spool = 'X'
    AND RETURN.
    ~Suresh

  • Running a java program in the background

    I'm designing a network remote control system in java.
    I was wondering does anyone know if it is possible to run an application at the log in screen in windows 2000. There is no GUI and no command prompt.
    paddy

    If you mean can you run it as a windows 2000 service so the user doesn't see it yes you can.
    I recommend the following Java Service wrapper program:
    http://www.eworksmart.com/JNT/
    It's quite simple to set up and will start when the user logs in (so long as the service is set to start automatically).
    Hope that helps,
    Seigers.

  • Function module to execute the program in the background.

    Hi Experts,
         I have two reports i am calling report2 from report1. Here the problem is i wanted to pass the input parameters using the "submit" statement and i wanted only one field value from the report2... whcih is used in report1 and i dont wanted to display the selection screen or output of report2. i am using the submit and return and i am unable to get it... can any one suggest and send me a peace of code.. for this...
    he would be rewarded
    Regards,
    Rajashekahr.A

    if you don't want the selection screen or the output...you can use the option
    SUBMIT <RPT> EXPORTING LIST TO MEMORY AND RETURN
    this will directly execute the report without showing you the selection screen or the output..
    now you also want a value from report 2 into report1...you can set the value from report 2 into a memory variable..using EXPORT to memory id option....
    hope it helps

  • How can I delete any programs running in the background?

    When I try deleting any open programs in the background, I double click on the home button to bring them up. I hold the icon down, expecting to see the little red delete button and the icon wiggle but nothing is happening.

    Double-tap on the Home button. You will see an image of the app above the actual icon. Slide the image up to kill it.

  • While using a BDC in the background for some documents its hanging.

    Hi All,
    I had used BDC call transaction program and i am scheduling the program in the background. Normally it works fine but for some quotes it hangs and takes a long time. So its not going to other quote. Any solution how to kill the hanged quote and goto next one?

    Well, then you need to determine why (for which orders), the process is hanging. Compare with other orders, do a performance check, etc. There is no way for us to determine what the problem in this particular case is. We just don't have enough information to help you out here.

  • Problem while sending Abap list to mail in the background

    Hi all,
    I am sending abap list to email in the background.
    My code as folllows:
    DATA: so_ali LIKE solisti1 OCCURS 100 WITH HEADER LINE.
      DATA: listobject LIKE abaplist OCCURS 0 WITH HEADER LINE.
      DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
      DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
      DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
      DATA: doc_chng LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
      DATA: lt_user TYPE soud3 OCCURS 0 WITH HEADER LINE.
    *Start of modification Tix 14411 for transport request D82K929044
      DATA: it_user like SODLIENTI1 occurs 0 with header line.
    *End of modification for Tix 14411 for transport request D82K929044
    CLEAR: listobject, so_ali, objpack, objhead, objtxt, reclist, doc_chng.
      REFRESH :
         listobject, so_ali, objpack, objhead, objtxt, reclist.
    creation of the document to be sent
      doc_chng-obj_name = 'BOFAREPORT'.
      WRITE sy-datum TO doc_chng-obj_descr.
      CONCATENATE 'Bank Activity Report for :'(025)
              company_itab_tr-company_code '-' doc_chng-obj_descr INTO
              doc_chng-obj_descr.                               "AN052799
      objtxt = 'This is the bank activity report received for'(026).
      APPEND objtxt.
      CONCATENATE company_itab_tr-company_code '-'
                  company_itab_tr-company_name '-'
                  company_itab_tr-company_city INTO
                  objtxt.
      APPEND objtxt.
      WRITE sy-datum TO objtxt.
      CONCATENATE 'Date Received : '(027) objtxt INTO objtxt.
      APPEND objtxt.
      WRITE sy-uzeit TO objtxt.
      CONCATENATE 'Time Received : '(028) objtxt INTO objtxt.
      APPEND objtxt.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Creation of the entry for the compressed document
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num = 0.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'RAW'.
      APPEND objpack.
    Creation of the document attachment
      CALL FUNCTION 'SAVE_LIST'
        EXPORTING
          list_index         = '0'
        TABLES
          listobject         = listobject
        EXCEPTIONS
          list_index_invalid = 1
          OTHERS             = 2.
      CALL FUNCTION 'TABLE_COMPRESS'       "Schneller Tabellencopy
           TABLES
                in         = listobject
                out        = so_ali.
      DESCRIBE TABLE so_ali LINES tab_lines. "objbin
      objhead = 'BOFA-REPORT'. APPEND objhead.
    Creation of the entry for the compressed attachment
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num = 1.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'ALI'.
      objpack-obj_name = 'BOFAREPORT'.
      objpack-obj_descr = 'Bank Activity Report'.
      objpack-doc_size = tab_lines * 255.
      APPEND objpack.
    Completing the recipient list
      SELECT * FROM zwfi_yefap_paypr WHERE
                           bukrs = company_itab_tr-company_code.
        IF NOT  ( zwfi_yefap_paypr-list1 IS INITIAL ).
          clear it_user[].
          CALL FUNCTION 'SO_DLI_READ_API1'
           EXPORTING
             DLI_NAME                         = zwfi_yefap_paypr-list1
          DLI_ID                           = ' '
             SHARED_DLI                       = 'X'
        IMPORTING
          DLI_DATA                         =
           TABLES
             DLI_ENTRIES                      = it_user
           EXCEPTIONS
             DLI_NOT_EXIST                    = 1
             OPERATION_NO_AUTHORIZATION       = 2
             PARAMETER_ERROR                  = 3
             X_ERROR                          = 4
             OTHERS                           = 5
          IF SY-SUBRC = 0.
            loop at it_user.
              if it_user-member_typ = 'A'.
                reclist-receiver = it_user-member_adr.
                reclist-rec_type = 'U'.
                reclist-com_type = 'INT'.
                reclist-notif_del = 'X'.
                reclist-notif_ndel = 'X'.
                append reclist.
              elseif it_user-member_typ = ''.
                reclist-receiver = it_user-member_nam.
                reclist-rec_type = 'B'.
                reclist-express = 'X'.
                append reclist.
              Endif.
            endloop.
          ENDIF.
        ENDIF.
        IF NOT ( zwfi_yefap_paypr-list2 IS INITIAL ).
          clear it_user[].
          CALL FUNCTION 'SO_DLI_READ_API1'
           EXPORTING
             DLI_NAME                         = zwfi_yefap_paypr-list2
          DLI_ID                           = ' '
             SHARED_DLI                       = 'X'
        IMPORTING
          DLI_DATA                         =
           TABLES
             DLI_ENTRIES                      = it_user
           EXCEPTIONS
             DLI_NOT_EXIST                    = 1
             OPERATION_NO_AUTHORIZATION       = 2
             PARAMETER_ERROR                  = 3
             X_ERROR                          = 4
             OTHERS                           = 5
          IF SY-SUBRC = 0.
            loop at it_user.
              if it_user-member_typ = 'A'.
                reclist-receiver = it_user-member_adr.
                reclist-rec_type = 'U'.
                reclist-com_type = 'INT'.
                reclist-notif_del = 'X'.
                reclist-notif_ndel = 'X'.
                append reclist.
              elseif it_user-member_typ = ''.
                reclist-receiver = it_user-member_nam.
                reclist-rec_type = 'B'.
                reclist-express = 'X'.
                append reclist.
              Endif.
            endloop.
          ENDIF.
        endif.
      ENDSELECT.
      CLEAR error_text.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          put_in_outbox              = 'X'
          COMMIT_WORK                = 'X'
       TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = so_ali  "objbin
          contents_txt               = objtxt
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      CASE sy-subrc.
        WHEN 0.
          write: / 'Result of the send process:'.
          LOOP AT reclist.
            write: / reclist-receiver(48), ':'.
            IF reclist-retrn_code <> 0.
              write 'The document was sent'.
            else.
              CONCATENATE 'The document could not be sent to : '(029)
                         reclist-receiver(48) INTO error_text.
            ENDIF.
          ENDLOOP.
        WHEN 1.
          error_text = text-030.
        WHEN 2.
          error_text = 'Document could not be sent to any recipient'(031).
        WHEN 4.
          error_text = 'No send authorization'(032).
        WHEN OTHERS.
          error_text = 'Error occurred while sending'(033).
      ENDCASE.
      IF NOT ( error_text IS INITIAL ).
        CONCATENATE 'Mail send Error : '(034) error_text INTO error_text.
       PERFORM WRITE_LOG(YEFAP_APERAK) USING ERROR_TEXT.
        PERFORM write_log(zwfi_yefap_bank_report) USING error_text.
      ENDIF.
      CALL FUNCTION 'LIST_FREE_MEMORY'
        TABLES
          listobject = listobject
        EXCEPTIONS
          OTHERS     = 1.
    When I excute the same program in the foreground, Attachment in the mail is showing all the pages of the report output.
    But when I excute the same program in the background only last page is shown in the mail attachemnt.
    I think the problem is with the function module SAVE_LIST function module.
    I replaced the SAVE_LIST function module with  LIST_TO_MEMORY and LIST_FROM_MEMORY function modules.
    It is also giving the same result.
    In the foreground excution email attachemnt showing all the pages and in the background excution only last page is shown in the attachemnt.
    I want all the pages dispalyed in the background mode excution in the email attachment.
    How to slove this issue.
    Thanks in advance.
    Raja

    I have seen this problem before.   Please have a look at this example program.  This works very well when ran in background as well as foreground
    * This program works in the background,
    report zrich_0003 .
    data: maildata like sodocchgi1.
    data: mailtxt like solisti1 occurs 10 with header line.
    data: mailrec like somlrec90 occurs 0 with header line.
    data: list type table of abaplist with header line.
    data: ascilines(1024) type c occurs 0 with header line.
    data: htmllines type table of w3html with header line.
    parameters: p_check.
    start-of-selection.
      submit zrich_0004 exporting list to memory and return.
      call function 'LIST_FROM_MEMORY'
           tables
                listobject = list
           exceptions
                not_found  = 1
                others     = 2.
      call function 'LIST_TO_ASCI'
           tables
                listobject         = list
                listasci           = ascilines
           exceptions
                empty_list         = 1
                list_index_invalid = 2
                others             = 3.
      call function 'WWW_HTML_FROM_LISTOBJECT'
           tables
                html       = htmllines
                listobject = list.
      clear: maildata, mailtxt, mailrec.
      refresh: mailtxt, mailrec.
      maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test Subject'.
      loop at htmllines.
        mailtxt = htmllines.
        append mailtxt.
      endloop.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type = 'U'.
      append mailrec.
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'HTM'
                put_in_outbox              = 'X'
           tables
                object_header              = mailtxt
                object_content             = mailtxt
                receivers                  = mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      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.
      wait up to 2 seconds.
      submit rsconn01 with mode = 'INT'
                   with output = 'X'
                              and return.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Time machine - on a new Mac, how can I find my old files?

    My iMac had to give way to the new baby, so I got myself an older MacBook Pro to replace it. I used the Migration Assistant to port all my music, photos etc. over, but the hard disk was smaller so had to forgo some bigger files - like my iMovie libra

  • Using wildcards in URL variables (very simple question, i know)

    Hi all! Pulling my hair out over this... How do I use wildcards in URL variables? I have this code in compositionReady (which is working): var myurl = "http://www.mydomain.com/sub1/sub2/pagename"; var currenturl = window.location if(myurl == currentu

  • Photoshop cs6 - How do you stop the "Help Improve Adobe's Products" window from appearing?

    EVERY time I open Photoshop CS6 I get the damn "Help Improve Adobe's Products" box appearing. I've clicked 'Participate' and answered all the questions ... I've pressed 'Do Not Participate' ... many times !  The darn window still opens every time I o

  • Is Oracle 10g Express Edition compatible with Windows 2000 advanced Server

    I have installed Oracel 10g Express Edition on windows 2000 advanced Server, but it is not working properly, but when i installed it on Windows 2000 Professional, then it is working properly, Does anybody know why this is happening. If anybody know w

  • A/c assignment - Limt type PO

    Hi all, How to check a/c assignment in limit type PO's i.e. blanket Non valuated PO's???I need to put a custom check when converting the Limit type SC to PO in sourcing application to check if the a/c assignment is cost centre and disallow any other