Proxy or File which is better approach

Hi
I am using PI 7.1. I need to pass some informations (approx. 40K records per day) from SAP CRM database to a third party application. The target communication will be file. What is the best approach for source communication? Is proxy the better option or should I write an extraction programme in SAP CRM, generate one file, and then do the transformations required in PI?
Regards,
Nirupam

HI,
First of all as this is adapter less communication, I think it is better to use in as many senario as possible. Why only for big messages. There is no limit on number of Proxy senario count ;).
Secondly, You need ABAPer for custom ABAP program to extarct and create file. So in either case you need both ABAP and PI skill.
Monitoring will be using same tools no extra tool is needed for proxy.
And If you use Proxy, in future even if you message size increses you dont have to bother.
If any change is there in the interface then also you need both ABAPer and PI Skill to make the changes.
Hence I feel, whenever possible, it is better to use Proxy.
Shweta.

Similar Messages

  • Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?

    Which is better approach to manage sharepoint online - PowerShell Script with CSOM or Console Application with CSOM?
    change in sharepoint scripts not require compilation but anything else?

    Yes, PowerShell is great, since you can quick change your code without compilation.
    SP admin can write ps scripts without specific tools like Visual Studio.
    With powershell you can use cmdlets,
    which could remove a lot of code, for example restarting a service.
    [custom.development]

  • XDD Vs Offset file usage -Which is better approach

    Hi,
    We are designing a new workspace (on Documaker 11.5) for a client sending a flat file input. To reduce the impact of offset driven changes we are planning to use either of the below:
    1) XDD
    2) OFFSET.DAT file for which we can update AFGJOB.JDT with folowing rules.
    ;LoadEXTOFFS;1;OFFSET.DAT;
    ;CUSAltSearchRec;1;;
    Based on the copybook/layout of the incoming file we should be able to build a XDD or OFFSET.DAT file.
    The reason I am asking this question is we already have some experience with offset file approach, and we wanted to explore if XDD is a better approach from maintanance perspective.
    Regards..

    The XDD extract mapping method is standard support.
    The OFFSET.DAT file you mention was a pseudo-custom implementation originally submitted by CSC/PMSC for their customers. It was added to the product as a curtesy and not really promoted as a mainstream feature (if that is a good term). As such, that feature is not specifically targeted by QA testing or included in internal regression results. I'm not even sure it is documented. I doubt you would be able to get much help (or quickly) via Support if you had questions.
    Therefore, the official recommendation would be to use the XDD, but if you have experience with the OFFSET.DAT method and are comfortable with the functionality, then the feature should still be available.

  • TextConverter.importToFlow() Vs TextFlowUtil.importFromString() which is better approach ?

    Hi,
      I am new to spark library. When i tried to use TextFlowUtil class for handling html text, i found it has some issues with handling some html tags like <b>.
    Can any one suggest while using html text with spark components, is it  good approach to use  TextConverter.importToFlow() instead TextFlowUtil.importFromString()?
    Thanks in advance,,,,

    The XDD extract mapping method is standard support.
    The OFFSET.DAT file you mention was a pseudo-custom implementation originally submitted by CSC/PMSC for their customers. It was added to the product as a curtesy and not really promoted as a mainstream feature (if that is a good term). As such, that feature is not specifically targeted by QA testing or included in internal regression results. I'm not even sure it is documented. I doubt you would be able to get much help (or quickly) via Support if you had questions.
    Therefore, the official recommendation would be to use the XDD, but if you have experience with the OFFSET.DAT method and are comfortable with the functionality, then the feature should still be available.

  • Pages and .doc files - which is better?

    Hello one and all
    I am looking at converting my .doc files to pages files but I am unsure. I was wondering if it's worth converting my .doc (some .docx) files or just leave them as they are.
    Thanks for your help

    Word Format as they can be sent in either Word or Pages Format…
    …or:

  • Which is better? store files in the database or directly on the O.S.?

    Hi,
    i´m developing an application to manager files. which is better? store files in the database or directly on the O.S.? If i decide to store on database, i will use the BLOB data type but i have a doubt...the BLOB data type occupies the same space on database regardless of file size? there is another data type better?
    Tks,
    Fernando.

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1011065100346196442
    Ask Tom has a bit of info to share on the topic. Have a read of this. :)

  • Which is better for bulk message scenario in sap xi RFC or Proxy

    which is better for bulk message scenario in ( RFC or Proxy ) ?
    Edited by: prabhatxi on Aug 6, 2010 4:44 PM

    Proxy will alwaays be better option in this case, as it is adapter less framework, and communication happens directly with XI central integration engine. So it is always fast communication and gives good performance.
    But still you should consider other factors, you may consider using RFC as well, as sometime we go for RFC/IDOC as this are the standard interfaces already available rather than creating structure...
    May be you can share more info on what type/volume data are you planning to send via XI?
    Hope this cleart your doubt..
    Divyesh

  • Which is better External View OR Database procedure Proxy ?

    Hi Jasmin and Kilian,
    Creation of External View in HANA and consume in ABAP.
    Which is better External View OR Database procedure Proxy.
    Regards,
    Pravin
    Message was edited by: Jens Weiler
    Branched from http://scn.sap.com/thread/3498161

    Hi Pravin,
    that depends on your application logic and use case. There is no general recommendation for one or the other.
    If, for instance, you have input parameters, you would go for a DB procedure proxy, since the external view does not allow to pass input parameters from the ABAP to the HANA column view.
    On the other hand, if you would like to consume the result in an ALV with integrated data access (the "next generation ALV"), you would rather go for an external view... so - like the answer to so many other questions - it depends... .
    Cheers,
      Jasmin

  • Which is better ASM or file system storage

    Hi all, I need a urgent help from all u gr8 DBAs.
    I have to give justification to my client that which is better to use between file based option ASM and why??
    So can anyone give me some write up in this line?

    Ok, how about this
    Today's large databases demand minimal scheduled downtime, and DBAs are often required to manage multiple databases with an increasing number of database files. Automatic Storage Management lets you be more productive by making some manual storage management tasks obsolete.
    The Oracle Database provides a simplified management interface for storage resources. Automatic Storage Management eliminates the need for manual I/O performance tuning. It simplifies storage to a set of disk groups and provides redundancy options to enable a high level of protection. Automatic Storage Management facilitates non-intrusive storage allocations and provides automatic rebalancing. It spreads database files across all available storage to optimize performance and resource utilization. It also saves time by automating manual storage tasks, which thereby increases their ability to manage more and larger databases with increased efficiency. Different versions of the database can interoperate with different versions of Automatic Storage Management. That is, any combination of release 10.1.x.y and 10.2.x.y for either the Automatic Storage Management instance or the database instance interoperate transparently.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/mgmt_db.htm

  • Which i/o approach is better and why?

    can someone please explain which i/o approach is better for obtain the data from the InputStream and why? and consequences for reading streams that contain 2-byte characters?
    thank you.
    InputStream in = conn.openInputStream();
    approach 1
    byte[] byteData = new byte[(int)conn.getLength()];
    in.read(byteData);
    String rawdata = new String(byteData);
    approach 2
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    byte[] buf = new byte[128];
    int t;
    while( (t=in.read(buf)) != -1) {
    baos.write(buf,0,t);
    String rawdata = new String(baos.toByteArray());

    First way will be best in terms of performance: you do all the reading procedure in one sentence, avoiding the chequing of the loop condition check and invoking less times the method read, and you too sabe the memory space required for the object baos you employ in the second approach.
    In performance terms I would say second option saves CPU and memory, so it's better.
    Abraham.

  • Read content of file which is ZIPed

    I need to read contents of a file which is present in ZIP file.
    The zip file is present on online server. I am able to get the Zip Input stream for the Zip file and also able to retrive the file names which are present but when I am trying to retrive the content of file is get a String which has only the file names of the zip. Please suggest what to do.
    Following is my Code.
    // aConn.getInputStream() Gives me access to Zip file present on online Server
    ZipInputStream fileIn = new ZipInputStream(aConn.getInputStream());
                 anEntry = inputStream.getNextEntry();
                 if (anEntry != null) {
                      String filename = arEntry.getFilename();
                                            byte[] b = new byte[2024];
                      fileIn.read(b);
                                 sb.append(b.toString());
                 }

    Reading an input stream into an array of bytes and then calling toString() on that byte array isn't going to give you the contents of the input stream meaningfully. For one thing it might not even be textual data. And secondly that's not how you get textual data.
    A better approach would probably be to get the number of bytes of the given entry from the ZipEntry.getSize method, create a byte array of that size, load only that many bytes, and then (if you're sure it's text data) send the byte array to a String constructor. Or you could use a java.io.ByteArrayOutputStream for that. Note that you'll need to know the character encoding for this.

  • LDOM on ZFS - ZVOL or mkfile ... which is better ?

    Curious which approach is better for using LDOMs on ZFS ... Using a ZVOL specific to each LDOM or a mkfile in a ZFS file system specific to each LDOM ?
    Both can be snapped but curious which is the better approach and why.

    Hi all,
    I have searched everywhere and a lot of what I have seen helped men move forward piece by piece.
    I have a test LDom, that I have created replicating all the commands from the LDoms - Beginners Guide - http://www.sun.com/blueprints/0207/820-0832.pdf
    with the exception that I am using zfs in stead of ufs.
    I have setup the Jumpstart as follows:
    # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    ldpool 15.4G 90.9G 5.38G /ld
    ldpool/test 18K 90.9G 18K /ld/test
    # more net172_sun4v
    install_type initial_install
    system_type server
    client_arch sun4v
    pool test auto auto auto mirror C0d0s0
    When I do a: boot vnet1 - install, I get the following:
    {0} ok boot vnet1 - install
    Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args:
    - install
    Requesting Internet Address for 0:14:4f:f8:e4:a0
    ++++++++++++
    It is just not going anywhere from there...
    Netstat on the jumpstart server shows a connection...
    Local Address Remote Address Swind Send-Q Rwind Recv-Q State
    svrk-unixadm01.nfsd test01.printer 50680 2399 49232 0 ESTABLISHED
    Active UNIX domain sockets
    Address Type Vnode Conn Local Addr Remote Addr
    600191b7ac0 stream-ord 60019977340 00000000 /var/run/zones/svruxtst-ecxcefe01.co
    nsole_sock
    600191b7c88 stream-ord 60019116d00 00000000 /var/run/.inetd.uds
    But this is just going on for ever....

  • Which is better? Extracting images from directories or from database?

    Good day,
    I would like to start a discussion on extracting image (binary data) from a relational database. Although some might say that extracting image from directories is a better approach, I m still sceptic on that implementation.
    My argument towards this is based on the reasonings below:
    1. Easier maintainence. - System Administrator can do backup from one place which is the database.
    2. High level of security - can anyone tell me how easy it is to hack into a database server?
    3. image is not dependent on file structure - no more worries about broken links because some one might mistakenly change the directory structure. If there needs to be a change, it will be handle efficiently by the database server.
    The intention of my question is to find out :
    1. Why is taking image from a directory folder which resides on the web server is better than using the same approach from the database?
    2. How is this approach (taking image from directory) scalable if there is thousands of images and text that needs to be served?
    If anybody would be kind enough to reply, I would be most grateful.
    Thank You.
    Regards
    hatta

    Databases are typically more oriented towards text and number content than binary content, I believe. If you carry images in the database you will need to run them through your code and through your java server before they are displayed. If they are held in a directory they will be called from hrefs in the produced page, which means that they are served by your static server. This is quicker because no processing of the image is required. It also means the Database has to handle massively less data. Depending on the database this should be far quicker to query.
    It is worth noting that it is also quite difficult to actually change mime-types on a page to display a picture in the midst of HTML- the number of enquiries on these pages about this topic should be enough to illustrate this.
    If you give over controls of all the image file handling to your java system (which I do when I write sites like the one you describe) then the actual program knows where to put the images and automatically adds them to the database. The system administrator never needs to touch them. If they want a backup they save the database and the website directory. The second of those should be a standard administrative task anyway, so there is not a huge difference there. The danger of someone accidentally changing the directory structure is no greater than the danger of someone accidentally dropping a database table- it can be minimised by making sure your administrators are competent. Directory structures can be changed back, dropped tables are gone.
    The security claim is slightly negated because you still have to run a webserver. Every program you run on your server is vulnerable to attack but if you are serving web pages you will have a server program that is faster than a database for image handling. You are far more at risk from running FTP or Telnet on your server or (worst of all) trying to maintain IIS.
    The images in directory structure is more scalable because very large databases are more likely to become unstable and carrying a 50k image in every image field rather than 2 bytes of text will make the database roughly 25000 times larger. I have already mentioned the difference in serving methods which stands in favour of recycling images. A static site will be faster than a dynamic site of equivalent size, so where you can, take advantage of that.

  • Which is better, Double Buffering 1, or Double Buffering 2??

    Hi,
    I came across a book that uses a completely different approach to double buffering. I use this method:
    private Graphics dbg;
    private Image dbImage;
    public void update() {
      if (dbImage == null) {
        dbImage = createImage(this.getSize().width, this.getSize().height);
        dbg = dbImage.getGraphics();
      dbg.setColor(this.getBackground());
      dbg.fillRect(0, 0, this.getSize().width, this.getSize().height);
      dbg.setColor(this.getForeground());
      paint(dbg);
      g.drawImage(dbImage, 0, 0, this);
    }that was my method for double buffering, and this is the books method:
    import java.awt.*;
    public class DB extends Canvas {
         private Image[] backing = new Image[2];
         private int imageToDraw = 0;
         private int imageNotDraw = 1;
         public void update(Graphics g) {
              paint(g);
         public synchronized void paint(Graphics g) {
              g.drawImage(backing[imageToDraw], 0, 0, this);
         public void addNotify() {
              super.addNotify();
              backing[0] = createImage(400, 400);
              backing[1] = createImage(400, 400);
              setSize(400, 400);
              new Thread(
                   new Runnable() {
                        private int direction = 1;
                        private int position = 0;
                        public void run() {
                             while (true) {
                                  try {
                                       Thread.sleep(10);
                                  }catch (InterruptedException ex) {
                                  Graphics g = backing[imageNotDraw].getGraphics();
                                  g.clearRect(0, 0, 400, 400);
                                                    g.setColor(Color.black);
                                  g.drawOval(position, 200 - position, 400 - (2 * position), 72 * position);
                                  synchronized (DB.this) {
                                       int temp = imageNotDraw;
                                       imageNotDraw = imageToDraw;
                                       imageToDraw = temp;
                                  position += direction;
                                  if (position > 199) {
                                       direction = -1;
                                  }else if (position < 1) {
                                       direction = 1;
                                  repaint();
              ).start();
         public static void main(String args[]) {
              Frame f = new Frame("Double Buffering");
              f.add(new DB(), BorderLayout.CENTER);
              f.pack();
              f.show();
    }which is better? I noticed smoother animation with the later method.
    Is there no difference? Or is it just a figment of my imagination??

    To be fair if you download an applet all the class files are stored in your .jpi_cache, and depending on how that game requests its graphics sometimes they are stored there to, so really if you have to download an applet game twice, blame the programmer (I've probably got that dead wrong :B ).
    But, what's wrong with Jars. They offer so much more.
    No offence meant by this Malohkan but if you can't organize your downloaded files the internet must really be a landmine for you :)
    Personally I'd be happy if I never seen another applet again, it seems java is tied to this legacy, and to the average computer user it seems that is all java is capable of.
    Admitidly there are some very funky applets out here using lots of way over my head funky pixel tricks, but they would look so much better running full screen and offline.

  • Which is better: DB vs. JSP?

    In a JSP, I have a list of categories in a form on the page. I can store the category data in the DB and populate it when the page is up. Or, I can list the category directly on the page. Both approachs seem fine to me from the maintenance aspect: changing in the DB vs. JPS.
    Which one is a better approach if I haven't put something else into the consideration?
    Thanks.

    Most likely for me, db is still a better because of the following
    1. You can fetch the stored data anytime
    2. Due to maintenance aspect, changing the UI might affect the static data
    3. You can have restriction on db, like you can fetch only the data that you needed.
    4. The JSP file won't be large to reach the file limit, Also it will good on maintainability

Maybe you are looking for

  • DBMS_XMLGEN, Carriage Returns XSLT to HTML

    Hi, I am facing an issue using the DBMS_XMLGEN. I have written a function (see under) that receive A SYS_REFCURSOR and return as a CLOB the XML with eventually transformed using a CLOB containing the passed XSLT code. The goal is to reuse several tim

  • Please help! Officejet Pro L7380 refusing to print

    Hi, My officejet pro had a strange power outage (nothing else, computer etc affected) and since then has been flashing and displaying the message "The following printheads has a problem: magenta/cyan" and refuses to print. I have used the HP diagnost

  • Chart showing percentage of groups of cells

    Hello everybody, I am a teacher and I am new to Numbers. It is the end of the term and I have prepared a table with the students' names and marks they got during the term. That table also shows the average sum of their results. I managed to create a

  • IMac to MacBook

    Hello, I'm new to Mac and I'm trying to use iChat to chat between my iMac MacBook and I can't figure it out. Do I need two separate accounts or can my wife and I use the same account to chat?

  • Persian(فارسی)Keyboard on new update does not work (10.3.2)

    persian keyboard does not work in 10.3.2 os unfortunately,does not some of the original persian letters like پ چ گ ژ