How to Exclude a sub directorys from polling using FileAdapter of BPEL Proc

Hi all,
I have a BPEL process with file adapter which is polling to root folder .
I want to exclude File polling for some of the sub folder of the BPEL process.
How to exclude file polling for sub folder i know the option is available for file name not for folder.
Thanks
Phani

dude, you have to give the exact name of the folder you want to poll to,
you can also pass the location of the folder at runtime/dynamically.
In 10 G only single location can be polled by single file adapter
in 11 g we can poll different folders by single file adapter
However I doubt that there can be selective polling to multiple folder.

Similar Messages

  • How to exclude a file/folder from Microsoft Security Essentials scan in Windows 7/Vista/XP?

    How to exclude a file/folder from Microsoft Security Essentials scan
    in Windows 7/Vista/XP?
    Hetti Arachchige V Aravinda | Network & System Administrator (B.Sc, Microsoft Small Business Specialist, MCP, MCTS, MCSA, MCSE,MCITP, CCNA, CEH, MBCS)

    Hi,
    Thanks for sharing this link.
    Nice job!
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • How to exclude a file/folder from Windows Defender malware scan in Windows 8/8.1?

    How to exclude a file/folder from Windows Defender malware scan in Windows 8/8.1?
    http://answers.microsoft.com/en-us/protect/wiki/protect_defender-protect_scanning/how-to-exclude-a-filefolder-from-windows-defender/f32ee18f-a012-4f02-8611-0737570e8eee

    Hi,
    Thank you for sharing the solutions & experience here. It will be very beneficial for other community members who have similar questions. 
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Urgent: How to exclude a particular value from the selection in the infopac

    How to exclude a particular value from the selection in the infopackage.
    Ex: not load for cost center 10000
    Thank you,
    sam

    Hi Sam,
    You cannot do this directly as exclusion, but you can include all other values, even as ranges and thus exclude the particular value, else you can also try to do this by writing a routine.
    Hope this helps...

  • How to exclude music and pictures from backing with USMT in SCCM 2012 SP1?

    How to exclude music and pictures from backing with USMT in SCCM 2012 SP1?
    I know we can use config.xml but I m not sure what all steps to take.
    Below is my understanding
    1. Create Custom.xml file using below
      <component context="System" type="Documents">
            <displayName>Test</displayName>
            <role role="Data">
                <rules>
                 <unconditionalExclude>
                            <objectSet>
        <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp3]", "Fixed")</script>
                            </objectSet>
                 </unconditionalExclude>
                </rules>
            </role>
        </component>
    </migration>
    2. Save as Custom.xml.
    3. Copy it to USMT source files package in both the x86 and x64 subfolders and update the relevant USMT package distribution points.
    I am confused as where in task sequence will we specify the custom.config file.

    Edit the miguser.xml file. The default list is as follows:
    -<objectSet>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qdf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qsd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qel]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qph]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dot*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rtf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mcw]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wps]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.scd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wri]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wpd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xl*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.csv]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.oqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wk*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wq1]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.slk]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dif]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pot*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.sh3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ch3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pre]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppa]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.txt]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pst]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.one*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vl*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.or6]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.accdb]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mdb]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pub]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xml]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ini]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dgn]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dic]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dsk]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gqa]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gqu]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.id]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ora]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pab]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pdf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qry]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.r2w]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rdl]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rsf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.url]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vdx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vss]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vst]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vtx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.zip]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rar]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.7z]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iso]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gif]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.jpg]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.bmp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.avi]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp4]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wmv]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.bat]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vbs]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.lnk]", "Fixed")</script>
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • How to read line number text from PDF using plugin?

    Hi, I would like to know how to read line number text from PDF using plugin?
    Thanks in advance.

    Ok, some background reading of the PDF Reference will help you understand why this is so difficult. PDF files are not organised into lines. It is best to think of each word or character on the page as being a graphic with its own position. The human eye sees lines where a series of graphics (words) are roughly in the same horizontal region.
    In the general case it is difficult or even impossible to answer this. You may have columns with different spacing (but the PDF stores no information on what is a column). You may have subscripts and superscripts. You may have text in graphics coinciding with other text. Commonly, there may be titles, headings or page numbers which are just ordinary text and might count as lines.
    That said, what you need to do is extract the text on the page and its positions. The WordFinder APIs are the way to do that. Now, sort all the words out, using the Y coordinates and size to try and guess what makes a "line". Now you are in a position to find the text (divided into words, not strings) and report the "line number" you have estimated.

  • How to send sms to mobile from tomcatserver using java code?

    Hi,
    Could you please let me know that,
    How to send sms to mobile from tomcatserver using java code? Please provide the code snippet.
    Thanks in advance.

    Yes, but something needs to send that message. You can't just take an arbitrary computer and send an SMS, it does not have the hardware to do that.
    So either you have a mobile through which you do that or more likely - you use some sort of online service to do it. Whatever choice you make will determine what code you will have to write to get it done. Nobody is going to deliver the code to you, that's your job. It is also your job to figure out what service you are going to use.

  • How to call a sub screen from abap report

    Hellow friends,
    how to call sub screen 1001 prog name SAPLMGD1
    and main program SAPLMGMM screen 4000 of tcode MM02.
    i need to call the sub screen from abap report

    Hi Rajesh,
    You can use FM MATERIAL_MAINTAIN_DIALOGUE to go to subcreen MRP1 in MM02.
    Please check this sample code from other thread and enter 'MRP 1' for p_dytxt.
    REPORT zsritest.
    TABLES mara.
    DATA: lv_bilds LIKE t133a-bilds,
    ls_t130m LIKE t130m,
    ls_rmmg1 LIKE rmmg1,
    lwa_view TYPE mbildtab,
    lwa_auswg TYPE mgauswg,
    lt_views TYPE STANDARD TABLE OF mbildtab INITIAL SIZE 0,
    lt_auswg TYPE STANDARD TABLE OF mgauswg INITIAL SIZE 0.
    PARAMETERS: p_matnr LIKE mara-matnr,
    p_werks LIKE marc-werks,
    p_dytxt LIKE mbildtab-dytxt.
    SELECT SINGLE * FROM mara WHERE matnr EQ p_matnr.
    CHECK sy-subrc EQ 0.
    CALL FUNCTION 'T130M_SINGLE_READ'
    EXPORTING
    tcode = 'MM02'
    kzrfb = 'X'
    IMPORTING
    wt130m = ls_t130m
    EXCEPTIONS
    not_found = 1
    wrong_call = 2
    OTHERS = 3.
    CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
    EXPORTING
    branche = mara-mbrsh
    materialart = mara-mtart
    tcode_ref = ls_t130m-trref
    * KZRFB = ' '
    IMPORTING
    bildsequenz = lv_bilds
    * KZ_BILDS_CHANGED =
    EXCEPTIONS
    wrong_call = 1
    not_found = 2
    OTHERS = 3.
    CALL FUNCTION 'SELECTION_VIEWS_FIND'
    EXPORTING
    bildsequenz = lv_bilds
    pflegestatus = mara-pstat
    TABLES
    bildtab = lt_views[]
    EXCEPTIONS
    call_wrong = 1
    empty_selection = 2
    OTHERS = 3.
    ls_rmmg1-matnr = mara-matnr.
    ls_rmmg1-werks = p_werks.
    READ TABLE lt_views INTO lwa_view WITH KEY dytxt = p_dytxt.
    CHECK sy-subrc EQ 0.
    lwa_auswg-auswg = lwa_view-auswg.
    APPEND lwa_auswg TO lt_auswg.
    CALL FUNCTION 'MATERIAL_MAINTAIN_DIALOGUE'
    EXPORTING
    irmmg1 = ls_rmmg1
    * IRMMG1_REF = ' '
    KZ_EIN_DARK = 'X'
    t_tcode = 'MM02'
    * FLG_MATNR_RES = ' '
    p_pstat = mara-pstat
    * FLG_STAT_ALL = ' '
    * CALL_MODE2 = ' '
    * IMPORTING
    * MATERIAL_NO =
    * UPDATE_OK =
    TABLES
    iauswg = lt_auswg[]
    EXCEPTIONS
    no_authority = 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.
    Regards,
    Ferry Lianto

  • How to exclude the XML declaration from each row of the result set?

    Hi,
    I have a table with an XMLTYPE column and would like to SELECT a set of rows. How can I exclude the XML declaration from each row in the result set? My query currently looks like this, I'm executing it through Spring JDBC:
    SELECT XMLSerialize(CONTENT t1.xmltext) FROM myschema.event t1 WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e") ORDER BY t1.time DESC
    After selecting, in my application I convert each row into a String and concatenate all rows into one big string in order to parse it into a DOM model. I get a parser exception (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed) because there are multiple XML declarations in my big string. Of course, I could manually check the String of each row whether it starts with the XML declaration, but it would be nicer if I could instruct the DB not to add it in the first place. Is there a way?
    Thanks!
    -- Daniela

    Hi,
    A couple of options I can think of :
    SELECT XMLSerialize(CONTENT
    XMLtransform(t1.xmltext,
      xmltype('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output omit-xml-declaration="yes"/> 
    <xsl:template match="/"><xsl:copy-of select="*"/></xsl:template>
    </xsl:stylesheet>')
    FROM myschema.event t1
    WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e")
    ORDER BY t1.time DESC
    ;or simply,
    SELECT XMLSerialize(CONTENT
      extract(t1.xmltext,'/')
    FROM myschema.event t1
    WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e")
    ORDER BY t1.time DESC
    ;

  • How to exclude the Shared folder from TM in Mavericks?

    Hi, I have just moved to Mavericks. I discovered that now I cannot exclude the folder "Shared" from my TM back-up. From the TM preferences I can add it to the exclusion list but it seems that it is not taken in account. Even if I use "sudo tmutil addexclusion -p /Users/Shared" I cannot exclude it. Any idea how to force TM to exclude this folder?
    Regards

    Hello there, Bangla.
    The following Knowledge Base article reviews the process for excluding a particular folder from backup:
    OS X Mavericks: Exclude items from a Time Machine backup
    http://support.apple.com/kb/PH14182
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to exclude a single database from the transaction log backup

    How do I exclude a specific backup from Backup TLOG job?
    C:\Progra~1\Tivoli\TSM\TDPSql\tdpsqlc"  backup * log  /tsmoptfile="C:\program files\tivoli\tsm\tdpsql\dsm.opt" /sqlserver=
    Please advise what do I need to write instated of backup * to exclude one database from this backup job
    Best regards,
    Vishal

    You have to skt the maker of the backup tool. It isn't SQL Server or its tool that initiates the backup commands. It is apparently your Tivoli application (judging by the file path you posted).
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • How to delete a single data from table using control file

    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PM

    977940 wrote:
    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PMWhy?
    And how do you imagine this happening with sqlloader?
    The entire purpose of sqlloader is to load data (hence, the name sql*loader*) into a table from an external source. If you want to delete rows from a table, you use the sql DELETE statement.
    What is the business problem you are trying to solve?

  • How can i print an email from icloud using W 7

    How can I print an email from ICloud, from my PC, using Windows7?
    I just cannot find and icon for it. When I right click on mouse, I get print option, but it does print a blank page.
    Help please.
    Thanks,
    Rene

    Hi there Lindlylou!
    I have an article here that can explain a little more about the feature you are referencing, called AirPrint:
    AirPrint Basics
    http://support.apple.com/kb/HT4356
    That article will contain information about which printers are AirPrint compatible, as well as information about how to use AirPrint on your iPad. Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • How to get the complete data from Webdynpro using a RFC

    hi guys,
    A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
    I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
    And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
    I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
    FUNCTION ZSEND_MAIL_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(OUT_PLACE_LEVEL) TYPE  XSTRING OPTIONAL
    *"     VALUE(BIN_DATA) TYPE  INDX_CLUST OPTIONAL
    *"  TABLES
    *"      IT_MESSAGE STRUCTURE  SOLISTI1
    Data Declaration
      DATA: gd_cnt TYPE i,
          gd_sent_all(1) TYPE c,
          gd_error TYPE sy-subrc,
          tab_lines LIKE sy-tabix.
    Structure Declaration
      DATA : BEGIN OF it_file OCCURS 0,
              row(255),
             END OF it_file.
      DATA : BEGIN OF i_split OCCURS 0,
      row(50),
      END OF i_split.
    Internal Table Declaration
      data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
      DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
      DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      data : wa_receiver like table of SOMLRECI1 with header line.
      data : it_receiver like table of SOMLRECI1 with header line.
      data : v_bin_data like SOLISTI1 occurs 0 with header line.
      DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    *data bin_data1 like table of solix with header line.
      REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
      CLEAR   : objbin, it_packing_list, wa_receiver, it_receivers.
      DATA V_SUBJECT(255) VALUE 'HI'.
      gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name = 'SENDFILE'.
      gd_doc_data-obj_descr = v_subject.
      gd_doc_data-sensitivty = 'O'.
      APPEND GD_DOC_DATA.
    Appending The Internal Table it_packing_list
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'RAW'.
      it_packing_list-body_num = tab_lines.
      APPEND it_packing_list.
    *CALL FUNCTION 'GUI_UPLOAD'
    *EXPORTING
    *filename = V_FILE_PATH
    *filetype = 'BIN'
    *TABLES
    *data_tab = BIN_DATA.
      move bin_data to v_bin_data.
      append v_bin_data.
    *move soli to bin_data.
      LOOP AT V_BIN_DATA into objbin.
    MOVE v_bin_data TO objbin-line.
        APPEND objbin.
      ENDLOOP.
      CLEAR it_packing_list.
      DESCRIBE TABLE objbin LINES tab_lines.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'PDF'.
      it_packing_list-body_num = tab_lines.
      it_packing_list-doc_size = tab_lines * 255.
      APPEND it_packing_list.
    data file(255) value '/tmp/bali.txt'.
    *Appending The Internal Table it_receivers
    close dataset '/tmp/bali.txt'.
    open dataset '/tmp/bali.txt' for output in text mode encoding default.
    if sy-subrc = 0.
    loop at objbin.
    transfer objbin to '/tmp/bali.txt'.
    endloop.
    else.
    write 'hi'.
    close dataset '/tmp/bali.txt'.
    endif.
      it_receiver-receiver = '[email protected]'.
      it_receiver-rec_type = 'U'.
      it_receiver-com_type = 'INT'.
    APPEND wa_receiver.
    move wa_receiver[] to it_receiver[].
      append it_receiver.
    *Move wa_receiver[] to it_receivers[].
    Clear it_receivers.
    if i_OUT_PLACE_LEVEL NE 0.
    loop at it_receivers into wa_receiver.
       loop at it_receivers into wa_receiver.
    **Function Module To Post The Message To Externa Mail
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
             document_data              = gd_doc_data
             put_in_outbox              = 'X'
             commit_work                = 'X'
           TABLES
             packing_list               = it_packing_list
             CONTENTS_TXT               = objbin
             receivers                  = it_receivers
           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.
         clear wa_receiver.
    ENDFUNCTION.

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • How do I retrieve a file from Trash using Time Machine in Mavericks?

    Is it even possible to retrieve a file from Trash from a Time Machine backup? Does Time Machine even back up the Trash? I've been told a total restore from a Time Machine backup will put the past Trash back on the Mac, but what if I just want to restore an individual file?
    Shortly after emptying my Trash on my Mac (10.9.4) for the first time in weeks, I realized I needed one of the files I'd just erased. Trying to retrieve with Time Machine was not fruitful, however, because I couldn't find the file on any of the past backups using the normal Enter Time Machine interface. However, I know it would have been in the Trash during all of the most recent backups.
    So I researched how to find the backups of Trash with Time Machine, but I think all of the solutions I found on various online forums were pre-Mavericks and do not seem to work now. I've basically tried 2 things:
    Show Trash in Finder using the Terminal command: open ~/.Trash
    It shows the hidden Trash folder in Finder, located in Macintosh HD/Users/User. For easy access, I added the .Trash folder to the Finder Sidebar. But I can't get to it in the backups. The Trash shortcut in the Finder Sidebar is always grayed out in the old backups using the Time Machine app. And it does not show up in ~ when looking through the backups.backupdb folder on my external HD.
    I also tried the Terminal command to show all hidden files in Finder: defaults write com.apple.finder AppleShowAllFiles YES
    But while many hidden files do suddenly appear in Finder, curiously, the User's .Trash folder is not one. This is true for the Finder of the Mac, the backups.backupdb folder on the External HD, and Time Machine app.
    Thanks.

    How do I retrieve a file from my backup in Time Capsule?
    It depends on the type of file that you are trying to retreive.
    In general.....
    Open Time Machine by clicking on the clock icon on the dock
    Wait a few minutes for Time Machine to fully load
    Use the timeline at the far right of the window to go back in time to a date when the file was still on your Mac
    Click that date
    Navigate using the Finder interface to locate the file that you want
    Click on the file to highlight it
    Click Restore at the lower right of the window to be brought back to the present
    You have to retrieve other types of files differently. For details, see:
    http://pondini.org/TM/28.html

Maybe you are looking for