Problem in adding data to database thru UDO object

hi i have created udo object thru b1 udo wizard...successfully with object type as "d1". and table name is "dummy".
in that dummy table(master data table) i have added 3 user fileds called country, phone, email.
and i have designed a screen with 5 controls called code, name, country, phone and email and 2 buttons OK(1) and Cancel(2) with (unique id's).
and when i write the program where i have connected to B1 using UI DI....and successfully loaded the screen in to B1 and also enabled the menu controls (First Record, Next Record, Previous Record and Last record and also ADD).  and  when i entere some values in the controls and click on ADD i got a error message saying that """INVALID CODE ( dummy--Code)""""...
and even next previous first and last are also not working........
even i have also mentioned object type as "d1" in .srf file...
in my program even i have mentioned item event with out any logic.....
plz reply me the solution.......

Dim oForm As SAPbouiCOM.Form
Dim creationPackage As SAPbouiCOM.FormCreationParams
creationPackage = sbo_application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.UniqueID = "UDO_TEST"
creationPackage.FormType = "UDO_TEST"
creationPackage.ObjectType = "UDO_TEST"
creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
oForm = sbo_application.Forms.AddEx(creationPackage)
oForm.Visible = True
oForm.Width = 300
oForm.Height = 400
Dim oItem As SAPbouiCOM.Item
oItem = oForm.Items.Add("1", BoFormItemTypes.it_BUTTON)
oItem.Top = 336
oItem.Left = 5
oItem = oForm.Items.Add("2", BoFormItemTypes.it_BUTTON)
oItem.Top = 336
oItem.Left = 80
oItem = oForm.Items.Add("3", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Top = 5
oItem.Left = 100
oItem.Width = 100
oItem = oForm.Items.Add("30", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Top = 5
oItem.Left = 5
oItem.Width = 90
oItem.Specific.caption = "Code"
oItem = oForm.Items.Add("4", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Top = 20
oItem.Left = 100
oItem.Width = 100
oItem = oForm.Items.Add("40", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Top = 20
oItem.Left = 5
oItem.Width = 90
oItem.Specific.caption = "Country"
oItem = oForm.Items.Add("5", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Top = 35
oItem.Left = 100
oItem.Width = 100
oItem = oForm.Items.Add("50", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Top = 35
oItem.Left = 5
oItem.Width = 90
oItem.Specific.caption = "Phone"
oItem = oForm.Items.Add("6", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oItem.Top = 50
oItem.Left = 100
oItem.Width = 100
oItem = oForm.Items.Add("60", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Top = 50
oItem.Left = 5
oItem.Width = 90
oItem.Specific.caption = "Email"
oForm.Items.Item("3").Specific.DataBind.SetBound(True, "@UDO_TEST", "Code")
oForm.Items.Item("4").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_COUNTRY")
oForm.Items.Item("5").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_PHONE")
oForm.Items.Item("6").Specific.DataBind.SetBound(True, "@UDO_TEST", "U_EMAIL")
oForm.DataBrowser.BrowseBy = "3"
Edited by: János Nagy on Oct 15, 2009 1:53 PM

Similar Messages

  • Swing Applet in JSP: problem with fetching data from database

    i am facing a problem while fetching data from database using Swing Applet plugged in a JSP page.
    // necessary import statements
    public class NewJApplet extends javax.swing.JApplet {
    private JLabel jlblNewTitle;
    private Vector vec;
    public static void main(String[] args) {
    JFrame frame = new JFrame();
    NewJApplet inst = new NewJApplet();
    frame.getContentPane().add(inst);
    ((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
    frame.pack();
    frame.setVisible(true);
    public NewJApplet() {
    super();
    initGUI();
    private void initGUI() {
    try {
    this.setSize(542, 701);
    this.getContentPane().setLayout(null);
    jlblTitle = new JLabel();
    this.getContentPane().add(jlblTitle);
    jlblTitle.setText("TITLE");
    jlblTitle.setBounds(197, 16, 117, 30);
    jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
    jlblNewTitle = new JLabel();
    this.getContentPane().add(jlblNewTitle);
    Vector vecTemp = getDBDatum(); // data fetched fm DB r stored here.
    jlblNewTitle.setText(vecTemp.get(1).toString());
    jlblNewTitle.setBounds(350, 16, 117, 30);
    jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));
    } catch (Exception e) {
    e.printStackTrace();
    }//end of initGUI()
    private Vector getDBDatum() {
    // fetches datum from oracle database and stores it in a vector
    return lvecData;
    }//end of getDBDatum()
    }//end of class
    in index.jsp page i have included the following code for calling this applet:
    <jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
    width="600" height="300">
    <jsp:fallback>Could not load applet...</jsp:fallback>
    </jsp:plugin>
    if i view it in using AppletViewer it runs perfectly and display the data in JLabel. (ie, both jlblTitle and jlblNewTitle).(ie, DATA FETCHES FROM db AND DISPLAYS PROPERLY)
    BUT IF I CLICK ON INDEX.JSP, ONLY jlblTitle APPEARS. jlblnNewTitle WILL BE BLANK(this label name is supposed to fetch from database)
    EVERY THING IS DISPAYING PROPERLY EXCEPT DATA FROM DATABASE!!!
    i signed the applet as follows :
    grant {
    permission java.security.AllPermission;
    Can any body help me to figure out the problem?

    This is the Swing Applet java code
    import java.awt.Dimension;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Vector;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.JScrollPane;
    import javax.swing.JApplet;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTree;
    import javax.swing.ScrollPaneConstants;
    import javax.swing.SwingConstants;
    public class HaiApplet extends javax.swing.JApplet {
         private JLabel     jlblTitle;
         private JLabel     jlblNewTitle;
         private Vector     vec;
         * main method to display this
         * JApplet inside a new JFrame.
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              NewJApplet inst = new NewJApplet();
              frame.getContentPane().add(inst);
              ((JComponent)frame.getContentPane()).setPreferredSize(inst.getSize());
              frame.pack();
              frame.setVisible(true);
         public HaiApplet() {
              super();
              initGUI();
         private void initGUI() {
              try {               
                   this.setSize(542, 701);
                   this.getContentPane().setLayout(null);
                        jlblTitle = new JLabel();
                        this.getContentPane().add(jlblTitle);
                        jlblTitle.setText("OMMS");
                        jlblTitle.setBounds(197, 16, 117, 30);
                        jlblTitle.setFont(new java.awt.Font("Dialog",1,20));
                        jlblTitle.setHorizontalAlignment(SwingConstants.CENTER);
                        jlblTitle.setForeground(new java.awt.Color(0,128,192));
                        jlblNewTitle = new JLabel();
                        this.getContentPane().add(jlblNewTitle);
                        Vector vecTemp = getDBDatum();
                        jlblNewTitle.setText(vecTemp.get(1).toString());
                        jlblNewTitle.setBounds(350, 16, 117, 30);
                        jlblNewTitle.setFont(new java.awt.Font("Dialog",1,20));     
              } catch (Exception e) {
                   e.printStackTrace();
         }//end of initGUI()
         private Vector getDBDatum() {
              Vector lvecData = new Vector(10,5);
              Connection lcon = null;
              Statement lstmt = null;
              ResultSet lrsResults = null;
              String lstrSQL = null;
              String lstrOut = null;
              try {
                   OmmsDBConnect db = new OmmsDBConnect();
                   lcon = db.connectDb();
                   lstmt = lcon.createStatement(lrsResults.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   lstrSQL = "select DT_ID from P_DATATABLES";
                   lrsResults = lstmt.executeQuery(lstrSQL);        
                   int i = 0;
                   lrsResults.last();
                   int length = lrsResults.getRow();
                   System.out.println(length);
                   lrsResults.beforeFirst();
                   int recCount = 0;
                   while (lrsResults.next()) {
                        recCount++;
                        lvecData.addElement(new String(lrsResults.getString("DT_ID")));
                   //     System.out.println("ID :  " + lrsResults.getString(1));
                        i++;
                   }System.out.println("here 3 out fm while");
              catch(SQLException e) {
                   System.out.print("SQLException: ");
                   System.out.println(e.getMessage());
              catch(Exception ex) {
                   lstrOut = "Exception Occured " + ex.getMessage();
              finally {
                   try {
                        lrsResults.close();
                        lstmt.close();
                        lcon.close();
                        System.out.println("[DONE]");
                   catch(Exception e) {
                        System.out.println(e);
             }//end of finally
              return lvecData;
         }//end of getDBDatum()
    }//end of classOfcourse the above code compiles and runs well. in Applet Viewer
    I plugged the above Swing Applet in a JSP page index.jsp
    <jsp:plugin type="applet" code="NewJApplet.class" codebase="applets"
                   width="600" height="300">
         <jsp:fallback>Could not load applet...</jsp:fallback>
    </jsp:plugin>Every thing is working fine in AppletViewer...But if i view this in any browser, then only the jlblTitle is displaying. jlblNewTitle is not displaying(this label name is actually fetching from thedatabase)
    can any body help me regarding this matter.? Thx in Advance.

  • Problem in getting data into database with standard direct input program

    HI All,
    I am having problem which is not updating the records in MM01 or MM02 with standard direct input program. i have data in internal table. from that table i am trying to upload into database by using background job MRP_MATERIAL_MASTER_DATA_LOAD.
    when i execute my program it is showing message job is started. then i go into sm37 and seethe job status by executing. there also i am seeing job completed succesfully.
    but if i go to mm03 and find the materials are updated or created there i couldn't find the material numbers which are from internal table.
    So if ny one help me it wil be great.
    Thanks in Advance
    Venkat N

    Hi Anil,
    Thanks for your answer, but i am facing problem is i have material no and denominator and Actual UOM and nominator field values in the flat file.....
    by using RMDATIND direct input program with MRP_MATERIAL_UPLOAD as job name for background job while uploading data into database.
    here i am not getting data in to database, but when i execute the job in sm37 it is showing that message job processing successfully completed...this is my status..
    if u can help me in this it will be gr8ful..
    Thanks,
    Venkat N

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Problem searching for data in database

    hello, im facing a problem here. Actually i have 2 files,jsp and a javabean file. The jsp files basically contains a few radio buttons and a text field. Now what im planning to do here is if user enter a value in the text field and selects the appropriate radio button, it will basically perform a search. The problem here is its not displaying any results although that particular data is in the database.
    Actually the real problem is its not passing the data to the javabean. This is how the statement looks like in the JSP file
    String field = request.getParameter("searchfield");
    ResultSet rs = ad.searchFirstName(field);
    searchfield = name of the text field
    ad = name of the usebean id
    searchFirstName = name of the method in the javabean that will perform this search function
    Now the javabean file
    public ResultSet searchFirstName(String field)
    This is how the method declaration looks like
    the sql statement is stated as below
    SELECT * from PersonalInfo where FirstName LIKE '%field%' order by FirstName;
    Everything ok(no errors in code) but i realise that its not displaying any data. i think its not passing the value from the jsp text field to the javabean. This is because if i replace the "field" with a data in the database, it displays the data. But if i dont, it just dont display any data. How can i pass a variable that user enter in the jsp text field file to a javabean file for processing..
    Pleaseee help..i have been working on this for quite some time. Thanks in advance..

    You might need something like this:
    String sql = "SELECT * from PersonalInfo where FirstName LIKE '%" + field + "%' order by FirstName";
    Even better would be to use a prepared Statement and preventing bad field value like M'Hael from ruining your code (the quote in the name would break your SQL statement)
    String sql = "SELECT * from PersonalInfo where FirstName LIKE ? order by FirstName";
    PreparedStatement stmt = connection.prepareStatement(sql);
    stmt.setString(1, "%" + field + "%");
    ResultSet rs = stmt.execute();Cheers,
    evnafets

  • Using .csv file and adding data into database

    hi,
    i'm working on a project which shows all the share prices on a webpage from the FTSE100..
    my problem is..i connect to yahoo.co.uk to get my share price information which is updated every 15mins..they return a .csv file to me...at the moment, i am just printing the information onto my website, but is there any way that i could store this information into a database if i needed the data to be used elsewhere...thanx for the help in advance

    below is my code which i used to get my info onto the web...i'd just like to know how i would use this to store the data into a database..
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class SharePrice
         private String line;
         private int maxShares = 101;//maximun shares a user can have
         private int details = 5;//five details, name,date,time,price,change.
         public String [][] shareData = new String[maxShares][details];
    public SharePrice(String [] shares) throws Exception
              getShare(shares);
         //returns a double array containing share data of each share as a seperate row in the array
    public String [][] getShare(String [] sh) throws Exception
                   for(int i=0; i<sh.length; i++)
                        //if the entry is null we have reached the end of the array
                        if(sh!=null)
                             String share = sh[i];
                             //part of url of the resource
                             String address ="http://uk.finance.yahoo.com/d/quotes.csv?s=";
                             //adds the share tothe url so that particular shares data is retieved
                             address = address+share;
                             System.out.println(address);
                             try
                                  //connection is created to the resource and input stream opened to read data
                                  URL url = new URL(address);
                                  BufferedReader in = new BufferedReader(
                                            new InputStreamReader(
                                            url.openStream()));
                                  line = in.readLine();
                                  in.close();
                             }catch(Exception e){System.err.println("Exception: " + e.getMessage());
                                  e.printStackTrace();}
                             //the line of data retrieved is spli and placed in a single row of the array
                             //beause the each piece of data is seperated by commas it is easily seperated.
                             StringTokenizer t = new StringTokenizer(line, ",");
                             int count = t.countTokens();
                             System.out.println(" count= "+count);
                             while(t.hasMoreTokens())
                                  for(int j=0; j<count; j++)
                                       String s = t.nextToken();
                                       shareData[i][j] = s;
              return shareData;

  • Problem to insert data into database

    hi all ,
    I had the two following xmls.
    SELECT XMLELEMENT("PUR_ORDER_INFO",
    XMLFOREST (PUR_ORDER_ID ,PUR_ORDER_STATTUS ))
    FROM T_PUR_ORDER
    WHERE PUR_ORDER_ID = 2 ;
    and
    SELECT XMLELEMENT("PRTCPNT_INFO",
    XMLFOREST(PRTCPNT_ID,PRTCPNT_NAME,PRTCPNT_ADDRESS))
    FROM T_PRTCPNT
    WHERE PRTCPNT_ID = 2 ;
    i need to CONCAT these two outputs and put in one xml column(XML_HIST) in another table (t_pur_hist).
    SQL> desc t_pur_hist
    Name Null? Type
    HIST_ID NOT NULL NUMBER
    HIST_DT DATE
    XML_HIST XMLTYPE
    PUR_ORDER_ID NUMBER
    i am new to xml.
    could anyone please help me.
    thanks
    rampa.

    Be aware that XML needs a root (=starting) tag to be well formed.
    <this><is><a><valid><xml_document>!</xml_document></valid></a></is></this>
    <here><is><another><valid><xml_document>!</xml_document></valid></another></is></here>
    Now we union both XMLs...
    <this><is><a><valid><xml_document>!</xml_document></valid></a></is></this>
    <here><is><another><valid><xml_document>!</xml_document></valid></another></is></here>
    => not valid!
    <documenthistory>
       <this><is><a><valid><xml_document>!</xml_document></valid></a></is></this>
       <here><is><another><valid><xml_document>!</xml_document></valid></another></is></here>
    </documenthistory>
    Valid!AS for your select problem.
    You can add both selects into one.
    select xmlelement("Documenthistory",
                      (select xml1 from table1),
                      (select xml2 from table2)
    from dual;Message was edited by:
    Sven W.

  • Problem while populating data from database dynamically.

    I am having two combo box
    First one displays list of table Names
    Second one displays list of the corresponding field Names.
    Now when the user selects the table name the corresponding field names appear in the second combo box & now when the user selects the field name then the requirement is to get the data of the corressponding field of the table on the screen on the button click.
    I want to do this thing dynamically through coding.
    My requirement is only the data of those columns that have been queried should appear on the screen whereas other column data should not appear.
    Can any body help me out.

    I'm not sure if you want to populate the combobox dynamically based on any selected data source.
    If so it is kind of tricky, but do-able. You need to write little bit of coding yourself.
    First you need to get the Database metadata. For details see
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html
    where you can get the table names.
    Then using the result set metadata of the selected table you can get the column information. For details see
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/ResultSetMetaData.html
    If you want to display the data of selected table and column value (statically filled combo box), then it is easy.
    you can create your own SQL statement based on the selected tabe and column and set it to the rowset dynamically in the code (may be in the method beforerenderresponse).
    - Winston

  • Re: Problems with pulling data from database

    OK, I figured it out I believe.
    In the second recordset called rsEligibility, I dimmed it,
    then set
    rsEligibility_svuserid= "0". and then put in an if statement.
    In IIS 5 it
    worked, but not in IIS6. What I had to do was take out the
    part that set
    rsEligibility_svuserid="0" and leave it as such without first
    setting it to
    zero:
    <%
    Dim rsEligibility__svuserid
    if (Session("UserID") <> "") then
    rsEligibility__svuserid =
    Session("UserID")
    %>
    My question is why did I have to change it when I switched
    over to IIS 6???
    Wierd.
    I had this:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/connNewdatabase.asp" -->
    <%
    Dim rsClients__svuserid
    rsClients__svuserid = "0"
    if (Session("UserID") <> "") then rsClients__svuserid =
    Session("UserID")
    %>
    <%
    set rsClients = Server.CreateObject("ADODB.Recordset")
    rsClients.ActiveConnection = MM_connNewdatabase_STRING
    rsClients.Source = "SELECT * FROM CLIENTSW WHERE CASENUM=" +
    Replace(rsClients__svuserid, "'", "''") + " ORDER BY CASENUM"
    rsClients.CursorType = 0
    rsClients.CursorLocation = 2
    rsClients.LockType = 3
    rsClients.Open()
    rsClients_numRows = 0
    %>
    <%
    Dim rsEligibility__svuserid
    rsEligibility__svuserid = "0"
    if (Session("UserID") <> "") then
    rsEligibility__svuserid =
    Session("UserID")
    %>
    <%
    set rsEligibility = Server.CreateObject("ADODB.Recordset")
    rsEligibility.ActiveConnection = MM_connNewdatabase_STRING
    rsEligibility.Source = "SELECT * FROM ELIGIBILITY WHERE
    CASENUM=" +
    Replace(rsEligibility__svuserid, "'", "''") + " ORDER BY
    CASENUM"
    rsEligibility.CursorType = 0
    rsEligibility.CursorLocation = 2
    rsEligibility.LockType = 3
    rsEligibility.Open()
    rsEligibility_numRows = 0
    %>

    Hi,
        Create one generic Datasource based on Function Module, and use MDX of that Query in Function module. and upload the data into cube by using that Datasource.
    About MDX, there are lots of threads available, you can take refrence of that.
    regards,

  • Problem with saving data in database table.

    i have ceated on screen prgram...
    screen contains one text field of leth 40(type c)...
    if user enters some text in that and enters save button it will store in dbtable which is created by me(ztable)...
    but that text storing in big letters...even i enter the samll letters....
    i want to store as user enters in  fiels on screen
    woe can i do that?

    go to screen(painter) of that program and double clik on that field
    u will get a small screen there u check the upper/lower letters check box
    <b>Reward Points if USEFUL</b>

  • Problem converting XMLTYPE data into database rows.

    Can anyone help with this ?
    I�ve got an XML document like the following:
    <ROWSET><ROW>><NAME>John</NAME></ROW></ROWSET>
    I want to extract the �Name� element and insert it into a table that has one column:
    create table employee
    (empname varchar2(50));
    The following PL/SQL block does the job:
    begin
    insert into employee
    (empname)
    select extractvalue(value(xmltab),'/ROW/NAME')
    from table(xmlsequence(extract(xmltype('
    <ROWSET><ROW>><NAME>Cpty 1</NAME></ROW></ROWSET>')
    ,'/ROWSET/ROW'))) xmltab;
    commit;
    end;
    However, instead of having the XML string embedded in the actual SQL statement I would like to assign the XML string to a variable (of type XMLTYPE) and refer to the variable in the SQL statement i.e.
    declare
    v_xml xmltype;
    begin
    v_xml := xmltype(�<ROWSET><ROW>><NAME>John</NAME></ROW></ROWSET>�)
    insert into employee
    (empname)
    select extractvalue(value(xmltab),'/ROW/NAME')
    from table(xmlsequence(extract(v_xml,'/ROWSET/ROW'))) xmltab;
    commit;
    end;
    When I run this I get the following exception:
    ORA-22905 Cannot access rows from a non-nested table.
    I can�t understand why the first example works but the second example doesn�t. I want to get the second version working because eventually I want to put this code in a stored proc that excepts an xmltype parameter.
    Any help would be much appreciated.

    Hi
    Now I understand why you want to use an insert as select...
    The following PL/SQL code should work...
    declare
    v_xml xmltype;
    begin
    v_xml := xmltype('<ROWSET><ROW><NAME>John</NAME></ROW></ROWSET>');
    insert into employee (empname)
    select extractvalue(value(t),'/NAME')
    from table(cast(xmlsequence(extract(v_xml, '/ROWSET/ROW/NAME'))as xmlsequencetype)) t;
    commit;
    end;
    Chris

  • Retrieved data from database assignd to object array

    Hi all,
    Im new to java. I creat class it has item_name,item_qty,item_price as properties.then i need to create object array type of that class.now i need to assign values to properties in each element of object array from the database.in my database has ITEM table it has data according to that properties of class.how i do this.please tel me .
    thanks in Advanced,

    Harsha_Lasith wrote:
    yes I knew connect to the database using JDBC.but i have not clear understand about instantiate an object of a class using a constructor.please give me some example for those.
    thanks in advance.If you don't know how to use constructors you really should not be trying to use the JDBC. Learn Java first.

  • Reporting on Alternate Hierarchy master data (HR-BW)  thru DSO object

    I have a quick question. I would appreciate if you know of any direction to approach this.
    We have a hierarchy in a external system that we want to bring into BW as alternate hierarchies. The hier nodes are a bunch of leagacy hierarchies and the leaves will be 0COSTCENTER (R/3 values). After loading this hierarchy in BW, we need to manipulate and add 0POSITIONS to the 0COSTENTER hierarchies from R3 and store this back as another hierarchy (with 0POSITION as leaves below 0COSTCENTER). Now we need to report on this hierarchy and get stats like # vacant position, occupied position, etc.
    Have you seen anybody doing this kind of manipulation, reading hierarchy data into DSO object, reporting, etc?
    Any idea will be appreciated.
    Thanks
    Raj

    Hi,
      To provide you with further information
    i need the following data in my BW report
    HRP1000 - OBJID, OTYPE, STEXTBEGDA
    HRP1007-STATUS
    HRP1011-SOBID, RELAT
    HRP1005-TRFGL
    PA0002 –NACHN, VORNA
    <b>PA0007 - WOSTD ( Number of hours per week)
    HRP1011 - MOVAG (Number of hours per month)</b>
    Some one in HR Fourms told me that these tables are master data tables and i am reporting on master data
    So Anil,Quick question if the data i need is master data can i use the cube u suggested
    Please update me on this
    Thanks a lot

  • Adding data source-JDBC

    Hi Guys,
    I have another problem on adding data source on EID. When I try adding a data source on EID as a JDBC source I get error that says "Could not establish a connection"..Do you tell me step by step what I have to do when I add a data source on Endeca? My data has based on SQL 2008.

    The Studio Administration and Customization Guide includes the information on creating and managing data sources.
    Adding and editing data sources in the Data Source Library
    I don't know anything about the specific format of a connection URL for SQL 2008. That should be fairly standard, though.

  • Oracle form: how to retrieve data from database to pop list

    I have problem in retrieving data from database to item list in
    oracle forms.
    Can anyone help me.
    thanks.

    The next is an example but you can find this information in
    Forms Help:
    DECLARE
         G_DESCS RECORDGROUP;
         ERRCODE NUMBER;
         rg_id RECORDGROUP;
         rg_name VARCHAR2(40) := 'Descripciones';
    BEGIN
         rg_id := FIND_GROUP(rg_name);
         IF Id_Null(rg_id) THEN
         G_DESCS := Create_Group_From_Query (rg_name, 'SELECT
    DESCRIPCION DESCRIPCION, DESCRIPCION DESC2 FROM FORMAS_PAGO);
         ERRCODE := POPULATE_GROUP(G_DESCS);
         POPULATE_LIST('FORMAS_PAGO.CMBDESCRIPCION',G_DESCS);
         END IF;
    END;
    Saludos.
    Mauricio.

Maybe you are looking for

  • How to install Oracle VM server on Sun Fire v100 server

    Hi All I have just a Sun Fire V100 Server. How to install Oracle VM server on Sun Fire v100 server? Thankyou and best regards, Thiensu

  • ITSG transaction FILE setup

    Hi, I'm setting up the Basis side of configuring ITSG for German Social Insurance. Part of the work involves setting up logical File paths in transaction FILE. problem is that logical path configured in FILE is the same across all SAP instances but t

  • Color tint in Illustrator CS5

    I want to make a tint (screen) of a swatch and have the tint appear in the swatches panel. How? Thanks

  • Integrating the Google Web-Service in Enterprise Portal

    Hi, I am trying to integrate Google WebService in SAP Enterprise Portal. I created the Client side portal service from WSDL. From the PDK help I copied the GooglePage.java code and placed in the dynapage. Now after porting the .par file I am getting

  • Why does my music sound weird in iTunes?

    When I play music. it sounds like a fan is running over the speakers. It sounds rubbish. But this is only in iTunes. When I play through Quick Time it sounds absolutly fine. I am running Mountain Lion and have updated iTunes and it still happens. PLE