Importing multiple bapi's

Hi,
In a java web dynpro app I am desiging I am going to make use of some 20 bapi's. My question: what is the recommended architecture in this case? Do I create two, three models and put 6 bapi calls in each one? Do I create two DC's and put one or two models in each? Any good suggestion is highly appreciated.
Furthermore, can putting say 20 Bapi's into one DC affect the JCO performance and cause occasional disconnections?
Thank you for your expertise.
Sincerely
yuval peery

HI
For optimizing the performance of a single edit-deploy-run cycle, the deployment granularity plays a decisive role. Consider the following rule of thumb regarding the separation of Web Dynpro models.
Principally, Web Dynpro models should be separated into separate (model) DCs (one model per DC). These models can be referenced in other Web Dynpro components based on a defined DC usage.
It is a better strategy to separate models into another DC and expose them as public parts. Typically, models contain classes that do not change during development, especially if the interfaces have been defined thoroughly. Since it is optional to build dependant components during design and build time, the development component that holds the models can be excluded from the build, thereby reducing build time as well as deploy time.
Since Different DCs are not allowed to share the same namespace, placing each model in a different DC enforces the following rule:
Put each model in its own namespace or Java package.
Thanks,
Tulasi.Palnati

Similar Messages

  • SAP PI Interface for Multiple Bapi

    hi,
    i need to expose 2 Bapi (Bapi A and Bapi B) using SAP PI 7.0 using single PI Interface / webservice.
    3rd party --> SAP PI -->SAP ECC6.
    for first option, i can create new Bapi C and include Bapi A & B new Bapi C.  then only expose BAPI C in SAP PI.
    for 2nd Option, i want to import BAPI A & B into SAP PI and used SAP PI capability to run BAPI A & B in sequence.
    if i want to go for 2nd option (just use existing BAPI A & B), how to implement the steps to make the bapi can execute in sequence? any link tutorial wil be help me a lot.

    Hi Hashim,
    try to implement Stefan approach or even you can try below appraoch,
    call BAPI A using SAP PI, then cal BAPI B within BAPI A logic, here you need to import only BAPI A in to PI system.
    better to take help from ABAPer, he will help you on the same.
    Regards,
    Raj

  • How to import multiple images at the same time in illustrator?

    How to import multiple images in a document at the same time in illustrator?
    It's possible?

    Script: Place Multiple Files in Illustrator (Kelso)
    http://kelsocartography.com/blog/?p=2047

  • How to import multiple DNG files into Premiere

    I want to import multiple raw DNG files from a 2.5K blackmagic camera. Each clip is recorded in a separate folder:
    I can import each clip separately by selecting its folder and clicking on a DNG file, but -for obvious practical reasons- I would like to import ALL clips at once. However, when I try to do so, Premiere does not import the clips. Instead, it imports each folder, and within them there is not one single clip, but as many clips as DNG files compounded that particular clip. In other words, if the clip had ONE HUNDRED DNG files, Premiere imports that clip ONE HUNDRED times, not just once:
    In this image, each file contains the ENTIRE clip, not just a DNG file. Is there a workaround for this? Otherwise, DNG files must be imported one by one, which of course makes the workflow much more difficult.

    Jim, when selecting the blackmagic2 level, the only available option is File Directory:
    This doesn't happen with RED files, where you can choose between File Directory and RED from the first level. Unlike blackmagic's DNG clips, RED files can be imported all at once, so maybe that's the whole problem:
    And yes, Source Settings are available for RED files, whereas they are not for DNG (only basic information, not raw manipulation):
    RED Source Settings:
    DNG Source Settings:

  • Import multiple records into a PDF document?

    I'm not sure I'm using the correct terms, but let me spell out my problem.
    I have a PDF document with several text forms named with the same names as columns in an Excel spreadsheet saved into txt format.
    The forms are duplicated onto several pages so if there are five records in the spreadsheet, there are five pages in the PDF.
    I am able to open the PDF and choose Import Form Data and point to the Excel txt file.
    But in the Import Data from Delimited Text File dialog box, I am only able to choose one record at a time.
    I was hoping to be able to import multiple records onto multiple pages. This way I could do a bulk printing of the spreadsheet data into the PDF. But doing one record at a time is cumbersome and won't work as we expand the project.
    Any clues as to how to do this better?

    John,
    I don't have the actual client's data as that is proprietary.
    I do have two silly little test files that I put together, but I think you've answered my question.
    I've already told the client to use Word (gasp) and Excel with a mail merge and then export to PDF or print directly.
    Ironically this could have also been done with InDesign.
    But as much as I had to recommend Word, it was nice that the client started out by wanting PDF.

  • Importing multiple Word docs into InDesign

    Hi there
    Is it possible to import multiple Word documents into a single InDesign text frame all at once?
    I have 20 files that all flow sequentially so was wondering if -- by selecting them all in Place window -- they would all be brought in one after the other, without each one creating its own new text frame.
    Any help gratefully received.
    Thanks
    Dan

    I use the script, below, for that. It's a bit scruffy, it should be tarted up. But it works fine. When you start it you type a path/file mask, using the formats illustrated in the dialog.
    It sets a few import preferences, these are the only ones I'm interested in. But it'll pick up the other options from their current settings.
    Peter
    // Description: Place multiple textfiles as one story
    #target indesign
    preset = '/d/test/*.rtf';
    app.wordRTFImportPreferences.useTypographersQuotes = true;
    app.wordRTFImportPreferences.convertPageBreaks = ConvertPageBreaks.none;
    app.wordRTFImportPreferences.importEndnotes = true;
    app.wordRTFImportPreferences.importFootnotes = true;
    app.wordRTFImportPreferences.importIndex = true;
    app.wordRTFImportPreferences.importTOC = false;
    app.wordRTFImportPreferences.importUnusedStyles = false;
    mask = prompt ('Enter a file path/mask.\r\r' +
        'Examples:\r' +
        'd:\\books\\test\\*.rtf   /d/books/test/*.rtf', preset);
    if (mask == null) exit();  // Cancel pressed
    ff = Folder (File (mask).path).getFiles (File (mask).name);
    if (ff.length > 0)
        placed = [];
        missed = [];
        tframe = app.documents.add().textFrames.add({geometricBounds : [36, 36, 400, 400]});
        placedstory = tframe.parentStory;
        app.scriptPreferences.userInteractionLevel =
            UserInteractionLevels.neverInteract;
        pb = initprogressbar (ff.length, 'Loading');
        for (i = 0; i < ff.length; i++)
            pb.value = i;
            try
                placedstory.insertionPoints[-1].place (ff[i]);
                placedstory.insertionPoints[-1].contents = '\r\r';
                placed.push (ff[i].name);
            catch (_)
                missed.push( ff[i].name );
        app.scriptPreferences.userInteractionLevel =
            UserInteractionLevels.interactWithAll;
        inform = '';
        if (placed.length > 0)
            inform = 'Placed ' + ff.length + ' files (in this order):\r\r' + placed.join ('\r');
        if (missed.length > 0)
            inform += '\r\rCould not place:\r\r' + missed.join ('\r');
        delete_empty_frames ();
        alert( inform );
    else
        alert (mask + ' not found.');
    // End
    function delete_empty_frames ()
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = '\\A\\Z';
        var empties = app.activeDocument.findGrep (true);
        for (var i = 0; i < empties.length; i++)
            empties[i].parentTextFrames[0].remove()
    function initprogressbar (stop, title)
        progresswindow = new Window('palette', title);
        progressbar = progresswindow.add ('progressbar', undefined, 1, stop);
        progressbar.preferredSize = [200,20];
        progresswindow.show ()
        return progressbar;

  • SCRIPT TO IMPORT MULTIPLE PLACED IMAGES..AND OUTPUT MULTIPLE IMAGES TO SINGLE PDF.

    Anyone got a script to import multiple placed images into CS4? or is this possible in CS5?
    and can we output multiple layers into a single PDF in illustrator?  Or multiple layers into single JPEGS from illustrator with one command instead of individually saving out each page... would be a huge time saver for me.
    Currently I output each completed layer individually and then right click those outputted jpegs in their output folder and choose "combine supported files into acrobat..." to make a single acrobat file..
    I`d also like to be able to CTRL click multiple layers and go save as... only those layers get saved out...
    And so adding something in the Save for PDF output dialogue box to save layers to multiple pages would be a helpful time saver..

    In CS 4 and CS 5 you can drag and drop fro m the finder or the Bridge, and I guess any other similar type viewer, multiple number of image files to a document. You can configure the bridge in such a way as to allow you to see the Bridge and your document at the same time for this very purpose.
    If you just drag and drop the files are linked if you drag while holding the shift key then the files will be embedded.
    ID and PS CS 5 have a minibridge which works the sam way but is an actually panel and will stay in the front.
    I separate the images but they import one on top of another.

  • Address Book no longer able to import multiple vCards

    In Leopard, and at least Tiger before that, when importing vCards into Address Book, you could hold down the Command key and import multiple vCards at once rather than only one at a time. You can no longer do this in Snow Leopard. This is extremely inefficient, especially when I need to import tens of vCards at a time. What used to take 5 minutes now takes 20-30!!

    I was using the File>Import function in Address Book. With drag & drop, I can select multiple vCards which, I guess, is what I'll now have to do. Thanks for the workaround.

  • Importing Multiple Word Documents into RH

    I know that RH allows users to import word documents, however
    I was wondering if there was a way to import multiple word
    documents (ala batch style import) instead of importing each
    document one at a time.

    Colum has good advice. Also, since you're new to this, there
    are a few curiosities that occur that can be puzzling to newcomers.
    If you have graphics in your Word docs (screenshots, etc.) a new
    folder will automatically be created. So if the name of your Word
    doc is MYDOC.DOC, graphics will be placed in a new folder called
    MYDOC_Files.
    Another "hitchhiker" to the process is the creation of a CSS
    file automatically created for each Word doc. After the import you
    have the choice to reassign any style sheet you like, regardless of
    the CSS originally linked.
    Another tip if you're new to importing, go to Peter Grainge's
    excellent site.
    http://www.grainge.org/
    Follow the links: RoboHelp > Importing from Word for some
    excellent ideas.

  • InDesign CS3 Scripting XML Import Multiple Images into same Text Frame

    I am having trouble importing multiple images into the same Text Frame using XML import. I imported 5 images into the text frame. However, all 5 images are laying on top of one another. Does anyone know if there is a way to have all images laying out like how Microsoft Word handles inline images, i.e., laying out next image to the right of previsous image in the same line and if there is not enough space left in the line, then wrap to next line. Thanks in advance. I understand I could use JavaScript to do post import processing, e.g, calculate the image size and place each images accordingly. But I am trying to see whether there is a way to do this without scripts.

    You can apply an object style to all anchored images by script. A text frame containing main flow should be selected.
    var doc = app.activeDocument;
    var textFrame =  app.selection[0];
    var rectangles = textFrame.texts[0].rectangles;
    if (rectangles.length > 0) {
         for (var i=0; i < rectangles.length; i++) {
              rectangles[i].appliedObjectStyle = doc.objectStyles.item("Cover");
    However, there is a better approach:
    Step 1
    Create place holders for a single "Book" element and format it as needed -- apply an object style to the cover.
    Step 2
    Import the xml file -- the placeholders are replaced with data from the 1st xml element
    Step 3
    Drag & drop the element containing all "Books" elements into the main flow -- all elements are placed and formatted the same way as in step 1.
    Finally, add a new page, click the overset text icon and autoflow text to add pages so that to fit all the text.
    Hope this helps.
    Kasyan

  • Help with importing multiple folders

    Hi,
    I've just bought a new computer which has come with PE9 pre-installed. It looks like it could be a great program but ...
    Two big problems. Firstly, I tried importing all my pictures from "My Pictures". All my pictures are neatly arranged into their various folders so I clicked on "My Pictures" and it imported all 2000+ photos straight away which was great. However, the big problem is that it has copied every picture individually i.e. it hasn't imported the 20 odd individual folders I had those files arranged in. So firstly, and most importantly, how do I import multiple folders at the same time or can't I? Do I need to remove everything and just copy each individual folder across one by one? Because that sounds like an awful lot of work! I'm assuming it should import multiple folders at the same time but, as usual, there's nothing I can find on the forums or the FAQs to answer the question.
    Your help and advice would be gratefully received.
    Many thanks.

      Elements will simply mirror your hard drive making links to each image.
    When using File >> Get Photos & Videos >> From Files & Folders
    You can navigate to your system folders and then check the box to include all sub folders.
     

  • Multiple BAPI calls in RFC Adapter

    Hi, Dear Friends!
    I have asynchronous scenario File to RFC(BAPI).
    File contains raws. For each raw I need to execute BAPI.
    With the help of each raw I need to construct one document in R/3 database with the help of BAPI.
    But now my scenario provide only one document (only one BAPI is executed).
    I read file to xml structure. This structure contains elements. The elements represent raws of file. But BAPI is executed only for the first element.
    How to explain to XI that I want it impement BAPI <b>N times</b> - as number of raws in file (or elements in xml structure).
    So how to implement multiple BAPI calls. Have you any idea?
    Thank you in advance.
    Natalia Maslova.

    Hi Natalia
    have a look on these links
    http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4253c111d395fa00a0c94260a5/frameset.htm
    Best Design : for a SOAP -XI - BAPI ( Multiple )
    Re: RFC adapter...How it handles multiple calls...
    Re: Multiple BAPIs and COMMIT in BPM
    Re: Is it possible to compose XML in BPM from responses of multiple BAPI calls?
    Multiple BAPI calls in RFC Adapter
    may be helpful
    Thanks !!!

  • Import Multiple XSD Files

    Is it not possible to import multiple xsd files. If a single file is used there is no problem but when the second import statement is added, it will not compile.
    It complains that it cannot find one of the element types. Removing the second import it compiles fine.
    I also tried it using seperate schema tags for each import.
    <types>
      <schema xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://TargetNamespace.com/ftpadapter"
               schemaLocation="delimited_2.txt"/>
       <import namespace="http://xmlns.oracle.com/FTP_Test"
               schemaLocation="FTP_Test.xsd"/>
      </schema>
    </types>

    It is possible to add multiple XSD's in WSDL.
    1. Did u add different namespace alias's for these two in <definitions> section ??
    2.How you are referring the element which it can't find in the wsdl ?
    Try this to identify the issue
    "remove the first xsd and use the second one alone. "
    If this works then it eliminates that there is an issue with xsd.
    Thanks,
    Satish
    http://soadiscovery.blogspot.com

  • How to import multiple vcard contacts into iphone4

    How to import multiple vcard contacts into iphone4

    I had a Nokia C6-01 and had to import the contacts to my Iphone 4S. This is how I did it
    1. Open Nokia Suite and Click on Contacts
    2. Select all contacts. Click on File -> Import Contacts .Specify the folder that you are creating . For ex: C:\vcards.
    Now you have multiple .vcf files in this folder.
    To combine the multiple .vcf into a single .vcf
    a . Open command line interface (click Start -> Run, or windows button + r and type cmd to launch it).
    b. Navigate to the folder where multiple vCard files are by entering cd "C:\vcards", if the folder is there.
    c. Enter the command copy /a *.vcf combinedfile.vcf in the command prompt.
    3. Now add this file as an attachment and mail it to your email address. Open the email on your iphone and click on the attachment.
    4. It will prompt you to add the contacts. Now you have all the contacts on your Iphone.

  • How to import multiple XML schemas in Toplink.

    Hi All,
    I try to import multiple Schema(defined by EPCGlobal) in toplink This schema imports few other schemas and all are available in the same location.
    For this I tried to create a project by selecting XML radio button, and specified an XSD. The classes are getting generated for this file. After this, I try to import all other schema's using the Import schema option. I'm able to import it. but, I'm not able to generate classes for the schemas imported recently. Can you please let me know whether this is the expected behaviour..?
    Alternatively, I try to import a Schema(defined by EPCGlobal) in toplink through a TopLink-Jaxb Project. But I get the following exception..
    oracle.xml.parser.schema.XSDException
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:754)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:407)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:572
    at oracle.toplink.workbench.utility.ClassTools.attemptToInvokeMethodWithException(ClassTools
    .java:198)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:541
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:526
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchema.reload(MWXmlSchema.java:481)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.addSchema(MWXmlSchema
    Repository.java:107)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.createSchemaFromFile(
    MWXmlSchemaRepository.java:89)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.generate(tljaxb.java:70)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.main(tljaxb.java:44)
    I tried to use the "tljaxb.cmd" but there too the same problem occurs.Where the problem could be..? please let me know.
    As I'm struck with this problem, please throw some light in this regard.
    Thanks
    Rajasekaran

    Rajasekaran,
    I have examined your XML schemas and do not believe that the problem is due to the import. Instead it is because the XML schema being imported is itself invalid. I have emailed you the specific correction to your XML schema. It was an error related to the namespace qualification of the type in one of your element declarations.
    -Blaise

Maybe you are looking for

  • In HTTP to SOAP scenario. Error i get is "Invalid content type for SOAP"

    Hi, In HTTP to SOAP(synch) scenario. Error i get is <b>"Invalid content type for SOAP"</b> When pass my data in the HTTP client, I get the following Error. What may be the cause,How to reslove it. Response am getting is below.........................

  • Function Module (BAPI) for Delivery Change

    Dear All, We have a Function Module "BAPI_SALESORDER_CHANGE" for changes in sales order, wherein we also can enter Texts in sales order. Please tell me similar such function module for Outbound Delivery, wherein I can enter / insert / change the Text

  • "An error exists on this page." - too vague!

    Hello. I'm using v 9.5.1. I open a PDF which I have created and it says "An error exists on this page. Acrobat may not display the page correctly. Please contact the person hwo created the PDF document to correct the problem." Well, I can't see any p

  • Stripe Breadth and Block size Allocation..

    Hi, Could anyone please advise me if there is any formula or utility to calculate or to investigate the stripe Breadth or the Block size to be used while creating the pools, I know it differs with the different kind of data to be stored.. It should b

  • How to desactivate error ORA-39181 during expdp schema export.

    Hi all, Is it possible to NOT have ORA-39181 in log file during expdp export? In my case, I have a lot of ORA-39181 errors, and these errors can easily mask other errors... Tahnsk for your help, Regards, Elodie