Control the Batch Size for inseting tables using xi

Hi Friends,
Please let me know if we are able to control the batch size for inserting data using procedures for staging tables. Using SAP XI. Any blogs on this. or any information. please let us know.
Thank you
Regards
Ramidi

Hi Ramidi,
There is something called message split on adapter engine but it won't guarantee a sequence of adapter calls.
here is a blog about it:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Maybe there is also an another simple way to do it.
Regards,
Wojciech
<i>** Please reward points if found it useful **</i>

Similar Messages

  • Generate dbsequnce for a table using a bean

    Is it possible to generate the next dbsequence for a table using bean?
    Thanks

    If you are only interested in the number in the bean, you should implement a service method in out application module, expose it to the client interface and call this via the binding layer.
    public oracle.jbo.domain.Number getSequenceNumber()   {
            try    {
                String seq = "YOUR_DB_SEQUENCE_SEQ";
                oracle.jbo.server.SequenceImpl empSeq =
                    new oracle.jbo.server.SequenceImpl(seq, getDBTransaction());
                oracle.jbo.domain.Number zSerienNrSeq = empSeq.getSequenceNumber();
                return zSerienNrSeq ;
            catch (Exception e)        {
                e.printStackTrace();
            return null;
    }Timo

  • How do you change the default size of the print batch size for mail merge in Publisher 2010?

    I appended this question to another thread with the same topic but have not received a reply, so I'll try with a new question. Publisher 2010, when doing mail merge, will only merge and print two records at a time. How do you change the default size of
    the print batch size? This is for a 4 page document, 8 1/2 x 11, printed two sides on 11 x 17. I've tried all the suggestions that were in the other thread. The response that was marked as the answer by the moderator is incorrect and does not work. Nothing
    suggested in that thread works. A registry fix that worked for Publisher 2003 won't work because the print batch size key does not exist in the registry for Pub 2010. At least not that I can find. Printing to an XPS document doesn't work. It asks for a filename,
    prints 2 records, asks for new file name, prints 2 records, asks for new file name, and so on. The same for printing to a PDF document. Merging to a new Pub document doesn't work. When I print that job every other sheet is turned over. I.e., sheet one has
    pages 1 & 3 on top, next sheet has 3 & 4 on top, and so on. This makes it impossible to run them through the folder. The same thing happens when I print that complete merged document to XPS or PDF. I have the latest drivers installed for our printer, a Toshiba
    2500C copier/printer connected via network. What do I need to do to to change the batch size to something reasonable, like 100 records?

    It's been two weeks since I posted this question. What does it take to get an answer? I cannot believe it's being ignored, nor can I believe that someone in MS doesn't have an answer.

  • How can I control the image size when I export form iphoto, the choice is too limited, I need to send a photo under 3 MB but if I choose high quaulity it is only 1.1 and i need to keep the best quaulity I can. Thanks for help.

    How can I control the image size when I export form iphoto, the choice is too limited, I need to send a photo under 3 MB but if I choose high quaulity it is only 1.1 and i need to keep the best quaulity I can. Thanks for help.

    Any image can only be as large as the Original. With a program like Photoshop you can UpRes an image and get it to a bigger size, larger files size as well, but the actual quality of the image will be degraded, depending on the UpRes system and the original quality of the image.
    iPhoto is not the program to be doing that in and I don't think it even has that option.
    So I suspect the image you are trying to send isn't much bigger than what you are getting. You can also try Exporting it from iPhoto to yopur desktop and see what size you end up with. If it is still that 209KB +/- file size then that is the size of the original image.

  • How to control the pixcel size in given tiff image

    Hai
    I loaded tiff image into the Frame by using the jai_core.jar and jai_codec.jar files. I am unable to control the pixcel size. It displaied default size. How to restract the pixcel on the image in Frame.
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.ImageLayout;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.imageio.ImageReadParam.*;
    class MultiPageRead extends JFrame
    ScrollingImagePanel panel;
    //     JFrame mainFrame = new JFrame();
         Container c;
         public MultiPageRead(String filename) throws IOException
    getContentPane();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              pack();
              setTitle("Multi page TIFF Reader");
              setSize(980,1200);
              getContentPane();
    File file = new File(filename);
    SeekableStream s = new FileSeekableStream(file);
    TIFFDecodeParam param = null;
              ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
    System.out.println("Number of images in this TIFF: " + dec.getNumPages());
              ImageLayout size = new ImageLayout(,0,12,12);
    // Which of the multiple images in the TIFF file do we want to load
    // 0 refers to the first, 1 to the second and so on.
    int imageToLoad = 0;
    RenderedImage op = new NullOpImage(dec.decodeAsRenderedImage(imageToLoad), null,
    OpImage.OP_IO_BOUND,
    size);
    // Display the original in a 800x800 scrolling window
    panel = new ScrollingImagePanel(op, 100, 200);
    getContentPane().add(panel);
         public static void main(String [] args)
    String filename = args[0];
    try {System.out.println("jfdfldjfldfjldjfjldjfjdjdjdjjdjdj");
              MultiPageRead window = new MultiPageRead(filename);
                        window.pack();
                        window.show();
              catch (java.io.IOException ioe)
              System.out.println(ioe);
    regards
    jaggayya

    Changing the fonts in Print using ABAP is not possible. as basic report output is a text editor.
    By changing "Customizing of Local Layout" will only change in display screen and not in print.
    One possible way to create a new printer formatr thry SPAD and use that format in while printing.
    to know more details about SPAD
    Using SPAD - SAP Spool Administration to print different paper size
    The SAP spool system manages its own output devices. This includes mostly printers, but also fax and archiving devices. In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system.
    Print to a dot matrix printer using computer paper with 66 lines
    Define paper types
    Formatting process Z_60_135
    Page format DINA4
    Orientation tick both Portrait and Orientation
    Type in the comment and click save
    Device initialization
    Device type - OKI341
    Formatting process Z_60_135 then click Execute
    Double click Printer initilization
    You must key the 66 lines hexadecimals for your printer. ( line no 9)
    1 # oki341 x_paper
    2 # reset
    3 # \e\0x40
    4 # select codepage multilingual 850
    5 \e\0x52\0x1a
    6 # disable skip perforation mode
    7 \e\0x4f
    8 # select 6 lpi
    9 \e\0x32
    10 # select page length 66 lines (66=hex $42)
    11 \e\0x43\0x42
    12 # select 10 cpi font
    13 \e\0x60
    CHECK THIS LINKS
    http://help.sap.com/saphelp_nw04s/helpdata/en/df/abbb3f8e236d3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/4df93bad37f87ae10000000a114084/content.htm
    http://www.geocities.com/SiliconValley/Grid/4858/sap/Basis/printprobs_solutions.htm
    Hope this helps you
    Regards
    Pavan

  • How to generate the batch number for group of records

    Hi All,
    requirement: i have created one sequence to generate the batch numbers.i have to get the nextval of the sequence for batch number (this column is not part of the table. its dynamic column/alias column) only for every 50000 records of a table.
    detail description:
    for example, if i have 10 records in a table. And, if i want to generate the batch number for every 2 records, then the output should look like belo.
    batch-number qty
    1 10
    1 20
    2 30
    2 40
    3 50
    3 60
    4 70
    4 80
    5 90
    5 100
    Please help me on this. Please let me know if you need more info.

    one more update on the above request. this has to be done using SQL query only.

  • Unable to debug/correct the CMOD code for a variable used in a query

    unable to debug/correct the CMOD code for a variable used in a query
    i am using the data in a DSO in a query and using a custom coding variable in that query , but this data not coming in that query ..
    can anyone suggest how to debug that cmod code for the variable?
    code is written in CMOD tocde for the variable.

    belowis the code that i have written for a custom coding for a variable
    *******Start***
    IF i_step = 2.
      CASE i_vnam.
        WHEN 'IC_COMPCD'.
         TYPES:       BEGIN OF gt_itab_DyAuthTable,
                           username  TYPE /bic/afiop_o1200-/BIC/IC_USER,
                           companycode TYPE /bic/afiop_o1200-COMP_CODE,
                      END OF gt_itab_DyAuthTable,
                      BEGIN OF gt_itab_Cocd_all,
                            companycode TYPE /BI0/MCOMP_CODE-COMP_CODE,
                      END OF gt_itab_Cocd_all.
          DATA: gi_itab_DyAuthTable TYPE STANDARD TABLE OF gt_itab_DyAuthTable,
                wa_itab_DyAuthTable TYPE gt_itab_DyAuthTable.
           DATA: gi_itab_Cocd_all TYPE STANDARD TABLE OF gt_itab_Cocd_all,
                wa_itab_Cocd_all TYPE gt_itab_Cocd_all.
          SELECT /BIC/IC_USER
                 COMP_CODE FROM /bic/afiop_o1200
            INTO CORRESPONDING FIELDS OF TABLE gi_itab_DyAuthTable
            WHERE /bic/ic_user = sy-uname.
          LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
            IF wa_itab_DyAuthTable-companycode EQ '*'
              OR
              wa_itab_DyAuthTable-companycode EQ ' '.
              SELECT COMP_CODE FROM /BI0/MCOMP_CODE
                  INTO CORRESPONDING FIELDS OF TABLE gi_itab_Cocd_all.
              LOOP AT gi_itab_Cocd_all INTO wa_itab_Cocd_all.
                l_s_range-low    = wa_itab_Cocd_all-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
          to exit the loop if any one value is */space/all for a user's compcode values
            EXIT.
            ENDIF.
          ENDLOOP.
           if control is here means, the comp codes values didnt have */space
              LOOP AT gi_itab_DyAuthTable INTO wa_itab_DyAuthTable.
                l_s_range-low    = wa_itab_DyAuthTable-companycode.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
      Endcase.
    Endif.

  • How to set the fetch size for a ResultSet object?

    Connection con  = getConnection();
    Statement stmt = con.createConnection();
    ResultSet res = stmt.executeQuery("select * from table");
    //res.setFetchSize(?);
    while (res.next)
    res.get....
    }I do not know the number of rows .
    How can I set the fetch size for the ResultSet object?
    I try
    res.last();
    res.setFetchSize(res.getRow()/2);
    res.beforeFirst();
    while (res.next)
    res.get....
    }but it's so slow if there are 6000 rows.
    How can I set the fetch size for the ResultSet object more effectible?
    And what is the best number to set the fetch size?

    The fetch size defaults to a standard number. It is unlikely that it will be any faster if you set it unless you only plan to read a small number of rows.
    i.e. if you are going to read all the rows, you need to read all the rows no matter what.
    Unless the system has set the fetch size to 1 changing it will not be faster.
    Depending on the row length, reading in 6000 rows is going to take a long time. You could try using a cpu profiler to improve performance.
    Do you really need to read everything in every row?

  • When I try and print an "Approach Plate, or Departure" from ForeFlight to my Epson Stylus NX430 using AirPrint the image is resized. How can I print without it resizing. I want to have the plate print in the original size so I can use it.

    When I try and print an "Approach Plate, or Departure" from ForeFlight to my Epson Stylus NX430 using AirPrint the image is resized. How can I print without it resizing. I want to have the plate print in the original size so I can use it. Is this an Apple, Epson, or Foreflight Issue? I just purchased the printer so I can return it and get a different model or brand. I spoke to Epson and the suggestions given did not resolve the issue. I have cut the paper down to the size of the plate roughly 5.5x8 and it still try's to print at 8.5x11. I have also requested help through ForeFlights Tech help but have yet to receive an answer.
    Please help!

    It varies based on what you ordered and whether it is in stock or has to be assenbled and shipped from China. Your email conformation should give an estimate of when the items are expected to be shipped or available for pick up if you are having it sent to a local Apple Store.

  • How do you determine the optimal size for Mozilla Firefox?

    How do you determine the optimal size for cache in Mozilla
    Firefox? I am using Firefox 7.0.1 on a 64-bit Windows 7 Ultimate operating system with 3GB RAM and 300 GB hard drive, but I have other computers running Windows XP. If the answer doesn't apply to all current versions of Firefox on all supported Windows operating systems, please explain the differences. Is there a formula for calculating the best cache size?

    I found that the best idea is to let Firefox decide that itself.

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • ALBPM 6.0 : The maximum size for file uploads has been exceeded.

    Hi,
    I use AquaLogic BPM Entreprise server to deploy my Process. When I try to publish a process on my server I get the following error:
    An unexpected error ocurred.
    The error's technical description is:
    "javax.servlet.jsp.JspException: null"
    Possible causes are:
    The maximum size for file uploads has been exceeded.
    If you are trying to publish an exported project you should publish it using the remote project option.
    If you are trying to upload the participant's photo you should choose a smaller one.
    An internal error has ocurred, please contact support attaching this page's source code.
    Has someone resolve it?
    Thank's.

    Hi,
    Sure you've figured this out by now, but when you get the "Maximum size for file uploads" error during publish consider:
    1. if your export project file is over 10mb, use "Remote Project" (instead of "Exported Project") as the publication source. That way when you select the remote project, you will point to ".fpr" directory of the project you are trying to publish.
    Most times your project is not on a network drive that the server has access to. If this is the case, upload the .exp file to the machine where the Process Administrator is running, then expand it in any directory (just unzip the file). Then, from the Process Administrator, use the option to publish a Remote Project by entering the path to the .fpr directory you just created when unzipping the project.
    2. Check to see if you have cataloged any jars and marked them as non-versionable. Most of the times the project size is big just because of the external jar files. So as a best practice, when you do a project export select the option "include only-versionable jars", that will get reduce the project size considerably (usually to Kb's). Of course you have to manually copy the Jar files to your Ext folder.
    hth,
    Dan

  • How to determine the proper size for Oracle 8i Data Base Objects

    Hi,
    I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
    Thanks.

    Start with the docs.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
    Best Regards
    Krystian Zieja / mob

  • Is there a way to increase the font size for the "songs" and "artists" lists in the new music app for iPad 2 (iOS 5)? It is too small for me.

    Is there a way to increase the font size for the "songs" and "artists" lists in the "music" app for iPad 2 (iOS 5)? It is smaller than the previous version.

    falkner09 wrote:
    is there really no fix for this?
    It would depend on your definition of "Fix"
    Your iPod touch running OS 4.2 has a ZOOM feature which will enable you to see the screen more clearly.
    To turn Zoom on or off got to:
    Settings > General > Accessibility > Zoom and tap the Zoom On/Off switch.
    _To Zoom in or out_:
    Double-tap the screen with three fingers. By default, the screen is magnified 200 percent. If you manually change the magnification (by using the tap-and-drag gesture, described below), iPod touch automatically returns to that magnification when you zoom in by double-tapping with three fingers.
    Increase magnification: With three fingers, tap and drag toward the top of the screen (to increase magnification) or toward the bottom of the screen (to decrease magnification). The tap-and-drag gesture is similar to a double-tap, except you don’t lift your fingers on the second tap—instead, drag your fingers on the screen. Once you start dragging, you can drag with a single finger.
    _Move around the screen_:
    When zoomed in, drag or flick the screen with three fingers. Once you start dragging, you can drag with a single finger so that you can see more of the screen. Hold a single finger near the edge of the display to pan to that side of the screen image. Move your finger closer to the edge to pan more quickly. When you open a new screen, Zoom always goes to the top-middle of the screen.
    _Large Text_:
    Large Text lets you make the text larger in alerts, and in Calendar, Contacts, Mail, Messages, and Notes. You can choose 20-point, 24-point, 32-point, 40-point, 48-point, or 56-point text.
    Set the text size: In Settings, choose General > Accessibility, tap Large Text, then tap the text size you want.
    I hope this has helped a little - other than this option I think it pretty much is what it is.
    BTW - This information can be found on page 208 of the iPod Touch iOS 4.2 Users Guide.
    Best wishes..
    Ricky

  • Hi all! What is the best way to create the correct space for baseball jersey names and numbers? along with making sure they are the right size for large printing.

    What is the best way to create the correct space for baseball jersey names and numbers? along with making sure they are the right size for large printing.

    Buying more hard drive space is a very valid option, here.  Editing takes up lots of room, you should never discount the idea of adding more when you need it.
    Another possibility is exporting to MXF OP1a using the AVC-I codec.  It's not lossless, but it is Master quality.  Plus the file size is a LOT smaller, so it may suit your needs.

Maybe you are looking for