Help Required in Steps to create Hgrid Region

Hi
Guys
I want to create a hgrid region in my oaf for some requirement. can any one please help me to create HGrid or Provide Basic steps.
Please maill me the document to [email protected]
I Appreciated your people to come out from this issue.
Regards
Santhosh Kumar. K
[email protected]

Hello
As I'm not really fluent with English, I tell you that detailed explanations are given in the Help in a chapter entitled: "About Charts"
As values must be in a header to be used as labels
and
as a header can’t be used to display values defined by a formula,
it’s necessary to use an auxiliary table in a mixed way.
I assumes that we have a table containing most of our datas. I name it « main »
I use an auxiliary table named « 4chart ». In this table the column A is a header one.
As it can’t display formulas, the year values are typed here
A1 2007
A4 2010
In the main table, the block of cells we want to chart is C3 :D6
In C3 enter a formula grabbing the value of aux table’s A1
C3 =4chart :: A1
fill down until C6
In D3 thru D6 I enter the values.
Back to the auxiliary table.
enter the formula
B1 =main :: D3
fill down from D3
thru D6
Yvan KOENIG (from FRANCE dimanche 27 janvier 2008 15:18:57)

Similar Messages

  • Help required understanding steps of Transfer Workflow:WS01000014

    Hi All,
    Please help me understand the steps of this workflow..i have already gone thru some explaination about this workflow from this [link|http://www.sapfans.com/forums/viewtopic.php?f=11&t=292192&start=0&st=0&sk=t&sd=a] but getting confused with few steps.
    Correct me if i am wrong ..the workflow is triggered when a  new position is created?(to which employee is going to be transffered?)
    In step1:check target postion..of who? and then what happens?
    step on user and role is confusing too
    there are two specify postion in two departments..what are the two postions for ? 1 fro employee and one for his new manager/hr admin?
    pls advice
    thanks in advance

    Hello,
    The workflow is triggered when an instance of object ORGCHEARM
    issues the event CREATED - ie there has been an organizational change.
    Step 1 is condition "Check Target Position" :
    ( Designation.Root <> 'P'     and
      Designation.Object Type <> ''     and
      Designation.Object ID   <>     00000000
    ) or
    ( Designation.Root = 'P'     and
      Designation.Object Type = 'S'     and
      Designation.Object ID   <>     00000000
    If true then continue, if false: Specify Agent.
    Specify Agent branches according to type of
    Agent Specification. The condition is:
    Designation.User Name <> ''
    In both cases task TS01000118 (Specify Position in New Department)
    is called. If the condition was true then it's called with as agent
    the contents of ORGCHEARM.ACROSSBORDERUSER; if not true then
    the role AC0000168 is used to determine the superior(s) of the
    "object type affected" and they are used as the agents (ie they receive the workitem).
    Hope this helps.
    regards,
    Rick Bakker
    Hanabi Technology

  • Need help with basic steps in creating ebook

    I have a confession: I constantly use workarounds instead of stopping and learning the proper way of using Indesign to create ebooks. I wouldn't say I do it because I'm lazy, but rather because I'm simply inept lol. These are some of the basic steps I take:
    1. create new document: include master text frame (because I want page numbers to show)
    2. paste unformatted text into document
    3. adjust size of master frame to give text suitable margins (since its an ebook, right/left margins same on opposing pages.)
    4. highlight all text, adjust before- and after-paragraph spacing to half of the character leading (so bottom of text is at same point for each page)
    5. go to chapter titles; do page-break so title has its own page; highlight title, choose font, size; create new character style; apply style to other chapter titles (is it possible to create a ctrl + number shortcut to apply character styles?). Notice I didn't create a character style for body text. Should I do that first?
    6. insert page number markers on both master pages, then cover page number with white box on first page of chapters.
    7. drop pictures into textbox so that if more text is added, pictures move with the text.
    That's basically what I do when I create an ebook. Any suggestions as to better/proper way to do these things would be very appreciated.

    1. Master text frames have nothing to do with page numbers and in most cases are totally unnecessary. Set the margins appropriately and place your text.
    2. Without knowing what you're starting with it's impossible to tell if that's a good idea or not. My gut says is it's not. See number 1.
    3. See number 1.
    4. This is what paragraph styles are for.
    5. See number 4.
    6. This is what multiple master pages are for. Stop doing that.
    7. Well, you finally got one right. As my people would say...mazel tov.
    Now, it's time for you stop being inept (your word, not mine) and start learning the right way to do this. First thing you do is buy Sandee Cohen's Visual Quick Start Guide. It's the best InDesign book on the market for beginners. http://amzn.to/plsvxy
    Secondly, check out the video training on Lynda.com. This link will get you a free one week trial: http://bit.ly/fcGpiI
    Bob

  • Help Required: Updating Multiple dynamically created rows in database

    Hi All,
    In my jsp page I am retriving the values from the database and displaying in the jsp page, the columns are studentID and student name. Now for each studentID i am creating two textfields as date of birth and parent name.
    my code snippet is as follows
    while(rs.next())
    <tr>
    <td><%=studID%></td>
    <td><%=name%></td>
    <td><input type="text" name="DOB<%=studID%>"></td>
    <td><input type="text" name="PName<%=studID%>"></td>
    </tr>
    from the above code i am getting dynamically create textfield whose names are
    <input type="text" name="DOB10001">
    <input type="text" name="PName10001">
    and so on now how can i capture all these values and update the corresponding records in the database.
    Please help me in this
    Thanks in advance

    well in that case u can do this
    int i=0;
    while(rs.next())
    <tr>
    <td><%=studID%></td>
    <td><%=name%></td>
    <td><input type="text" name="DOB<%=i%>"><input type="hidden" name="h_DOB<%=i%>" value="<%=studID%>" ></</td>
    <td><input type="text" name="PName<%=i%>"></td>
    </tr>
    <%i++%>
    <input type="hidden" name="RecordCount" value="<%=i%>" >
    when u submit this for then in the other jsp u can read the data from query string
    int li_rec_count = Integer.parseInt(request.getParameter("RecordCount"));
    for(int i=0;i<li_rec_count;i++)
    String studID = request.getParameter("h_DOB"+i);
    String dob = request.getParameter("DOB"+i);
    String pName = request.getParameter("pName"+i);
    create your sql statment and update for each studID
    }

  • Steps to create a Restricted Key Figure

    Hi,
    I am trying to create a  BEx Query and want to create a Restricted Key Figure.
    I am using BEx 7.x.
    Please help me with steps to create a Restricted Key FIgure.
    Thnaks and Regards,
    Shreyas Shah

    Hi Shreyas,
    Please find the step by step to create a restricted key figures.
    Procedure for Defining a new restricted key figure:
    1. In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).
    If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.
    The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.
    2. Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button).
    The Change Restricted Key Figure dialog box appears.
    You can also call the Change Restricted Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
    You make the basic settings on the General tab page.
    The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.
    You can use text variables in the description (see Using Text Variables).
    Next to that, you can enter a technical name in the Technical Name field.
    Underneath the text field, to the left of the Detail View area, the directory of all objects available in the InfoProvider is displayed. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.
    3. Using drag and drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristics.
    You can also use variables instead of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:
    Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Querys)
    Variables that represent a precalculated value set (see also Details)
    You can use these variable types to restrict characteristics in the rows, columns, or in the filter.
    4. Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Propertiess.
    5. Choose OK. The new restricted key figure is defined for the InfoProvider.
    Let me know if this helps.
    Thanks
    Sachin

  • When I complete all the steps to create Apple ID.In part that requires the credit card i dont have credit card and the option none does not appear.What can I do?

    When I complete all the steps to create Apple ID.In part that requires the credit card i dont have credit card and the option none does not appear.What can I do?

    Greetings anabeqiri, 
    Thank you for contributing to the Apple Support Communities. 
    The advice and steps in this article may help if you don't see "None" as a payment option when creating your Apple ID:
    Why can’t I select None when I edit my Apple ID payment information? - Apple Support
    All the best,
    Jeremy 

  • Steps to create f4 help for a table

    steps to create f4 help for a table

    These are the steps you have to take first:
    1. Please elaborate, your question does not all too clear.
    2. Search on SCN.
    3. Search on help.sap.com (for creating F4 search help).
    I guess you get the picture. Creating an F4 help is quite easy (you can find that on SCN for sure), but what do you mean by
    for a table
    1.Do you want to create a field which has an F4 help for searching tables or
    2. is this field part of a table and you need to have a search help for that field of that table in order to select some sort of value
    3. Is this a custom table.
    4. Is this a custom field for which F4 help should be added.
    5. Won't a domain value do.
    6. etc.

  • Steps to create help document

    Hi All,
    I have developed set of new pages in OAF. For my pages i need to give the help documentation. I have seen the seeded pages and developer guide also.
    There i found that we have to set "Help Target" for our pages to set our help document. I have created one sample help file /oracle/apps/chainpro/webui/HelpIndex.html. But i am not able specify this path
    with format "<appShortName>_<packageFunctionalComponent>_<pageName> " given in OAF Dev Guide.
    Have I missed any missed steps....
    Please help me in linking Help documents in OAF
    Thanks in advance...

    Hi..
         I have uploaded my help file by using FNDGFU. I used the command like
         FNDGFU apps/apps@vis 0 Y PROGRAM_NAME=FND_HELP PROGRAM_TAG=DEMO:100 CONTENT_TYPE=text/html LANGUAGE=US /oracle/D1/VI/apps/apps_st/comn/java/classes/oracle/apps/demo/help.htm. .
    Then i opened HelpBuilder from SystemAdministration responsiblity.
    There I tried to add my help information,but I am not aware of some fileds in that form like data,
         node key and parent key. i couldn't find any tables where my help file is actually stored.      I have seen some seeded page help information like
         Data - @p_sup_factor
         Node Key - T366734_APUG_CONTENTS
         Parent Key - I_PX2DSUPPLIERS_APUG_CONTENTS
         where i can see this type of information for my uploaded help file?
         Please give me some suggestions...
         Thanks in advance..

  • Steps to create LOGICAL DATABASE in sap

    hi guys,
    i have gone through many documents about LDB. But, i didnt get the steps to create a LDB.
    plz provide me with the steps to be followed to create a LDB.
    thnx,
    shivaa.

    Hi Shiva,
    This might help you!
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1. Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2. Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3. Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4. Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Watch out!
    The use of very large tables will degrade the performance of a logical database, so be aware of that trade-off. Remember that some tables in SAP are very complex, so they will be problematic in any user-defined logical database.
    Declaring a logical database
    Hereu2019s another surprising feature of logical databases: You do not assign them in your ABAP/4 Code. Instead, the system requires that you specify logical databases as attributes. So when you are creating a report, have your logical database identifier (the name you gave it) on hand when you are defining its attributes on the Program Attributes screen. The Attributes section of the screen (the lower half) will include a Logical database field, where you can declare your logical database.
    Logical databases for increasing efficiency
    Why else would you want to create a logical database? Consider that the logical databases already available to you begin with a root node and proceed downward from there. If the data object you wish to construct consists of items that are all below the root node, you can use an existing logical database program to extract the data, then trim away what you donu2019t want using SELECT statementsu2014or you can increase the speed of the logical database program considerably by redefining the logical database for your object and starting with a table down in the chain. Either way, youu2019ll eliminate a great deal of overhead.
    Reward if useful.
    Thankyou,
    Regards.

  • How to create a Region without Task Flow

    I want to create a Region without creating bounded task flow.
    I need to divide my page into some Regions, and I want to have Page Fragments under each region.
    I created one Region but not able to understand what I need to give as value attribute
    <af:region value="">
    I am confused what is needed as value attribute, it is required as RegionModel, would you please help me regarding this?

    Hi,
    Instead of using region, try using <af:declarativeComponent> for this.
    Refer below-
    https://blogs.oracle.com/jheadstart/entry/avoid_use_of_jspinclude_where
    Thanks,
    Ansh

  • Steps to create a purchase order in SAP r/3

    Hi All,
        I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisite data in R/3?
    Waiting for your reply!
    Thanking you.
    Regards,
    Namrata.

    Trigger
    A purchase order needs to be created, and the vendor is known
    Business Process Description Overview
    A purchase order is a legal document issued by the buyer to the vendor to supply materials or service at the agreed price, terms and conditions. The Purchase Order forms the basis for all follow-on activities like Goods Receipt, Invoice Verification, etc. The Purchase Orders can be created directly by entering all the required data, copying already created purchase order, with reference to an RFQ/Contract or with reference to a PR.
    Purchase Order creation is possible only if sufficient budget allocation is there for the Fund Centers. It is not possible to create Purchase Orders for a Vendor who is blocked for procurement or not maintained in source list for that item. Also it is not possible to create PO for Quantity more than the PR quantity.
    All the price components which are to be paid to vendors and requires to be inventoried has to be included in PO.It is possible to add different vendors for delivery costs. The tax codes should be correctly maintained in PO for the purpose of Cenvat availment etc.
    The payment term defaulted from Vendor Master or RFQ has to be verified and changed if required.
    The incomplete Purchase Orders can be saved as HOLD document and later completed and saved thru Change PO menu
    Input - Required Fields     Field Value/Comments
    Vendor     Vendor number
    Purchasing Organization     1000
    Purchasing Group     Purchasing Group code
    Date     Purchase order date
    Account assignment category     Where costs will be allocated
    Delivery Date     Anticipated Delivery Date
    Plant     For which plant we are buying the material
    Output - Results     Comments
    Purchase order document     Can be changed, displayed or printed which can then be mailed to vendor
    Tips and Tricks
    The Purchase Orders can be created directly by entering all data required for creating PO or by copying another PO or with reference to RFQ/Contract/PR.To create a purchase order by copying existing document (PO/RFQ/PR), you can either select the desired document in the document overview   .and adopt it in the current purchase order in the right-hand area of the screen using the ADOPT button   .In addition you can drag it onto the shopping basket symbol   with the left-hand mouse button. 
    Click the Personal Settings button on the tool bar, this function is for default information for purchase order header data and also purchase order item data.  This will reduce the amount of redundancy in the data entry, i.e. plant, company code.
    One Purchase Order may be created for several purchase requisitions
    Procedural Steps
    1.1.     Access transaction by:
    Via Menus     Logistics èMaterials ManagementèPurchasingèPurchase OrderèCreateèVendor/Supplying Plant Known.
    Via Transaction Code     ME21N
    1.2.     Double-click   
    On screen “Create Purchase order”
    On screen select Domestic Purchase order in this screen . You can also select other document if you want to create other. Here drop down menu is available.
    Click   to enter the organization data.
    Screen will change in the header; enter data as given in the table below:
    Field Name     R/O/C     Description
    Purchasing Org.     R     Enter the purchasing organization code.
    Example: 1000
    Purch. Group     R     Enter the purchasing Group which is procuring the material
    Example: P01
    Company Code     R     Enter the company code under which above purchasing
    Organization is.
    Example: 1000
    After entering the organization data enter the vendor or material supplier in the field    here drop down is available.click   to see the drop down.
    Field Name     R/O/C     Description
    Search term     O     Text that describes the vendor in more detail.
    Example:     MICON
    Vendor     O     Description of the vendor.
    Example:     100008
    Click   .
    System displays all possible entries available as per data entered
    Restrict value range (1)   1 Entries found
    To select required Vendor Click   .
    Click   .
    Vendor selected
    Now go to   ,here the system will pick up the data automatically from the vendor master but if you want to chane the data you can change the data. Here drop down menu is available.
    Now go to   to mainatin the text.
    After maintaining the text if you want to see or change the vendor address click   and do the amendments.
    Now Go to   and click to enter the Items and other data as per the table given below:
    Field Name     R/O/C     Description
    Account Assignement     R     Key that identifies specific settlement receiver types such as cost centers, internal orders, work orders, asset accounts, or project WBS elements.Example: K
    drop down menu is available here.
    Item Cateogry     O     How the procurement of a material is controlled.
    Drop down menu is available here.Example: Standard
    Material     R     Here you will enter the material to be purchased from the
    Vendor.
    Here also drop down menu is available. Use the following
    to select the material. Example ZROH-DEMO
    In the figure above enter the search cretira for the material for example ZROH-DEMO and click
      . The follwing result will appear on the screen select the line item and click   to select
    the material.
    Short Text     R     Enter here short description about the material,if the text is not
    automatically picked up from the material master.
    PO Quantity     R     Enter here quantity to be ordered.
    Example 10
    Order unit     R     Here we enter the order unit’s of measurement.
    Here also drop down menu is available.
    Example : KG
    Category of delivery date     O     Here you can enter deleviery date format.
    Here also drop down menu is available.
    Example : Day format
    Delivery date     R     Enter the delivery date. You can use the calender provided by
    the system.
    Example : 28.02.2006
    Net price     R     Enter the net price of the material here
    Example : 1000 INR
    Material group     R     Enter the material group to which that material belongs.Here
    also drop down menu is available. This field is also automatic
    picked up field.
    Example : M10001
    Plant     R     Enter the plant code for which you are purchasing the material
    Here also drop down menu is available.
    Example : 1100
    Storage location     O     Here you will enter where the material is to be stored. Drop
    Down menu is available here.
    Example WH01
    Click Enter and system will give you message  
    You will now see the screen
    Field Name     R/O/C     Description
    Cost Centre     R     The purchase is done for which purpose. Here also drop down
    Menu is available.
    Example: 11050 for CDU/VDU /SGU OP
    G/L Account     R     G/L account from which payment will be done.
    It will be automatically be picked up from the material group
    You can change it also.
    Unloading Point     O     Specifies the point at which the material is to be unloaded.
    Recipient     O     Specifies the recipient for whom the material is destined.
    Click   to see and to change the Tax Code at item level.
    Select    to view the taxes applied on the line item.
    click   to go back to the previous screen .
    On the main screen in the same tab if you want to change the taxe select the tax code from the drop down available
    After selection again, Select    to view the taxes applied on the line item.
    If you want to add more conditions click   tab and enter the conditions from the drop down
    You can also maintain the text at item level by clicking   tab.
    After completeing this all click   to check wether here is any error in the purchase order , If there will not
                             ↓
    any error then on the screen following line will appear.
    If there will be some error the system will throw the message on the screen
    select the line item and click   to see the detail of the error.
    close this window now and goto main screen to rectify the error.
    After rectifying the error again click   to check wether here is any error in the purchase order.
    Now click   to save the purchase order, after clicking the button the following message will appear

  • How to create a region which should float in a page . (Like as windows cal)

    Hello Friends
    Using
    Apex Version 4 +.
    Oracle database 11g.
    How to create a region which should float in a page .
    ie i can move that region inside that page anywhere like as windows calculator.
    Can anyone please help me.
    Thanks in advance
    regards
    Edited by: A on Apr 13, 2011 1:48 AM
    Edited by: A on Apr 13, 2011 1:48 AM

    Hi,
    You can use a jQuery dialog.
    http://docs.jquery.com/UI/Dialog
    e.g. create html region, just say you give the region static id: floating-region, make it hidden by adding attributes: style="display: none;"then do like: $('#floating-region).dialog();
    I made another post on steps to create a dialog. See: {message:id=9506160}
    Ta,
    Trent

  • Creating a region inside another region

    Hi,
    I have created a region with a report. Inside that region, I want to create another region with a report. How do I do this?
    Thanks.

    bp21 wrote:
    Hi Denes,Please DO NOT post follow-ups to closed/ancient threads.
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread if it is closed.
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
    <li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
    <li>You have no ability to mark posts as helpful or correct.
    <li>As in this case, features and techniques discussed in old threads may no longer be relevant in the version you are using.
    Post your requirements as a new thread, including at least the following information:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Links to related posts and threads (using the methods in the FAQ)
    I have exactly the same requirement i.e. I want to display two reports within a single region. I am using Apex 4.1.In APEX 4.1 this is best achieved using the built-in subregion feature.

  • Steps to create JCO to call R3 Function module in ISA CRM b2b webshop

    Hi experts,
    Can u help me in creating a JCo connection to R3 from CRM isa b2b webshop.
    See i am working on CRM 5.0 isa . I have a default jco connection calling to CRM.
    But i wanted an another JCO to call FM of R3.
    Can u pls give me the steps in creating this jco (XCM, Xml, changes etc )?
    Hope you have understood my question.
    Pls reply,
    thanks in advance,
    Niraja.

    Hi Niraja,
    The second option would be easy to do, as the connection is already made you can just use the connection pool.
    I feel maintaining/creating two connections would lead to performance issues.
    So its better to go with FM in CRM to FM in R/3
    If you want to go for a different connection or connection pool then follow this example
    In the world of database connectivity, creating individual connections to a database system is technically expensive and often incurs unwanted overhead in both client and server-side applications. Connection pools allow your application to check connections out from a pool and release a connection once the transaction has completed. This tip briefly explores the value and implementation of using connection pools in JCo.
    The following code presents two classes that demonstrate the use of a connection pool and its restrictions. You should be able to pull code from this example when adding pooling to your own Java/JCo application.
    The first JCo application does not use pooling:
    import com.sap.mw.jco.*;
    public class JcoTest {
    private static JCO.Client theConnection;
    private static IRepository theRepository;
    public static void main(String[] args) {
      createConnection();
      retrieveRepository();
      try {
      JCO.Function function = getFunction("RFC_READ_TABLE");
      JCO.ParameterList listParams = function.getImportParameterList();
      listParams.setValue("BSAUTHORS", "QUERY_TABLE");
      theConnection.execute(function);
      JCO.Table tableList = function.getTableParameterList().getTable("DATA");
      if (tableList.getNumRows() > 0) {
       do {
        for (JCO.FieldIterator fI = tableList.fields();
          fI.hasMoreElements();)
          JCO.Field tabField = fI.nextField();
          System.out.println(tabField.getName()
               + ":t" +
               tabField.getString());
         System.out.println("n");
       while (tableList.nextRow() == true);
      catch (Exception ex) {
       ex.printStackTrace();
    private static void createConnection() {
      try {
       theConnection = JCO.createClient("000", "DDIC", "minisap", "en", "sincgo", "00");
       theConnection.connect();
      catch (Exception ex) {
       System.out.println("Failed to connect to SAP system");
    private static void retrieveRepository() {
      try {
       theRepository = new JCO.Repository("saprep", theConnection);
      catch (Exception ex)
       System.out.println("failed to retrieve repository");
      public static JCO.Function getFunction(String name) {
        try {
             return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
        catch (Exception ex) {
         ex.printStackTrace();
          return null;
    To add connection pooling you simply add this code to the beginning of the main method:
        if (connPool == null) {
          JCO.addClientPool(POOL_NAME,
                            5,
                            "000",
                            "bcuser",
                            "minisap",
                            "EN",
                            "sincgo",
                            "00");
    And replace the call to the createConnection() method with this:
             theConnection = JCO.getClient(POOL_NAME);
    The code should now look like this:
    import com.sap.mw.jco.*;
    public class JcoTest {
    private static JCO.Client theConnection;
    private static IRepository theRepository;
        private static final String POOL_NAME = "myPool";
    public static void main(String[] args) {
        JCO.Pool connPool = JCO.getClientPoolManager().getPool(POOL_NAME);
        if (connPool == null) {
          JCO.addClientPool(POOL_NAME,
                            5,      //number of connections in the pool
                            "client",
                            "username",
                            "paswword",
                            "EN",
                            "hostname",
                            "00");
            theConnection = JCO.getClient(POOL_NAME);
      retrieveRepository();
      try {
      JCO.Function function = getFunction("RFC_READ_TABLE");
      JCO.ParameterList listParams = function.getImportParameterList();
      listParams.setValue("BSAUTHORS", "QUERY_TABLE");
      theConnection.execute(function);
      JCO.Table tableList = function.getTableParameterList().getTable("DATA");
      if (tableList.getNumRows() > 0) {
       do {
        for (JCO.FieldIterator fI = tableList.fields();
          fI.hasMoreElements();)
          JCO.Field tabField = fI.nextField();
          System.out.println(tabField.getName()
               + ":t" +
               tabField.getString());
         System.out.println("n");
       while (tableList.nextRow() == true);
      catch (Exception ex) {
       ex.printStackTrace();
      JCO.releaseClient(theConnection);
    private static void retrieveRepository() {
      try {
       theRepository = new JCO.Repository("saprep", theConnection);
      catch (Exception ex)
       System.out.println("failed to retrieve repository");
      public static JCO.Function getFunction(String name) {
        try {
             return theRepository.getFunctionTemplate(name.toUpperCase()).getFunction();
        catch (Exception ex) {
         ex.printStackTrace();
          return null;
    Now, when this class executes, it will create a pool of 5 SAP connections. Once created, a single connection is retrieved and executed against. After the call to SAP has finished, the connections are released with:
    JCO.releaseClient(theConnection);
    You can easily integrate this code in any application that acts as a server or requires multiple users to access SAP via the Web.
    Regards,
    Sateesh Chandra

  • Steps to create Numer range buffering

    Hi Gurus,
    Can any b'dy explain the concept of number range buffering and also i need steps to create number range buffering for transactional data.
    here we have a full load it has to load 50L of records daily . it is taking 1.5 hr to 2 hr to load this data into an info cube we are looking to improve this load performence.
    thanks in advancde to all gurus.
    lax

    hi,
    Welcome to SDN...
    basically number range buffering is used to increase performance. usualy SID number range buffered,
    transaction rsrv can be used to check -> all elementary tests >> master data >> compare number range and max sid. and >> transcation data >> comparison of rumber range and max dimid.
    transaction SNRO is used to maintain number range.
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/6eb2aa7aed44ea92ebb969e03081fb/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/aa/dbc9b4b56143bb8f2ae909d7d040fa/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/71efb490-0201-0010-949b-b2344b58b094
    Number Range Buffering can help cube loads if you your loads result in a good number of new Dim IDs being created with the load.
    Without buffering, each row of data to be loaded that would require a new Dim ID to be assigned (because it is new combination of characteristics for that dimension) must go out and read the Number Range table for that specific Dimension and get the next available number. So if you add 50,000 rows to a cube that results in 5,000 new Dim IDs to be assigned, that means 5,000 queries that must go read the table. Now if you buffered 500 numbers at a time, that would mean only 10 queries to the number range table.
    In a perfect BW world, someone in your shop would have the ability to go to your P system and make the change. Chances are, this ability is locked down and you will have to get the P opened to make the change.
    This can also make a big improvement in the load time if you are doing a large initial load of millions of rows to a cube.
    FOR MORE DETAILS http://www.sap-img.com/ge003.htm
    Re: SMS through SAP
    pls assign points if useful..
    -Shreya

Maybe you are looking for

  • Can not accept invitation using Mac OS calendar client

    Hi, All! I've a problem accepting invitation using Mac Os X 10 Calendar client. When I create the following event BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Oracle Corporation/CS 7.0.4.16.0//EN BEGIN:VTIMEZONE TZID:Europe/Moscow X-LIC-LOCATION:Europe/Mosc

  • Archive content which is in workflow, status Review

    I have to archive content, which is still in workflow, not reviewed, not approved. So the Indexer status is shown as "Workflow" Revision Status is "Review". If I create a query with these critera, the archive is empty. dReleaseState = 'E' AND dStatus

  • Resume process instance

    My customer wants to have their own workspace and is being build using java. The customer wants to have a draft or delete instance folders. The instance can be deleted and store in these folders. Maybe in some situations, these instance can be resume

  • When do you intend to bring back the via iphone status for facebook?

    when do you intend to bring back the via iphone status for facebook? it's been a couple of months now so pls fix this.

  • FM to update premise type?

    Hi, Is there any Function module to update the premise type ?