Problem in Matrix while Populating Data

Hello All,
I am facing a problem in matrix column in SAP 8.8
I am filling a matrix with data from a table ITT1.
Matrix1 = oChlSelc.Items.Item("3").Specific
oChlSelc.DataSources.DataTables.Add("Approval")
oChlSelc.DataSources.DataTables.Item("Approval").Clear()
Dim Str_Query As String = "Select Father,Code,Quantity From ITT1"
oChlSelc.DataSources.DataTables.Item("Approval").ExecuteQuery(Str_Query)
Matrix1.Columns.Item("col_1").DataBind.Bind("Approval", ",Code")
Matrix1.Columns.Item("col_2").DataBind.Bind("Approval", "Quantity")
matrix1.LoadFromDatasource
The problem is that the data is getting populated in the matrix without any problem but the Quantity field is not showing the
exact Value means its showing the RoundOff Value i.e. 1.45 = 1
If Quantity is 1.45 in matrix column its showing 1 .
That what i am facing .
Thanks
Amit

Hi Amit
Its working fine in my system
and also im getting the quantity value as 1.00  by using this code
  Dim matrix1 As SAPbouiCOM.Matrix
        Dim oform As SAPbouiCOM.Form
        oForm = SBO_Application.Forms.Item("frm_test")
        matrix1 = oForm.Items.Item("1").Specific
        oForm.DataSources.DataTables.Add("Approval")
        oForm.DataSources.DataTables.Item("Approval").Clear()
        Dim Str_Query As String = "Select Father,Code,Quantity From ITT1"
        oForm.DataSources.DataTables.Item("Approval").ExecuteQuery(Str_Query)
        matrix1.Columns.Item("V_0").DataBind.Bind("Approval", "Code")
        matrix1.Columns.Item("V_1").DataBind.Bind("Approval", "Quantity")
        matrix1.LoadFromDatasource()
Thanks
Shafi

Similar Messages

  • Error while populating data

    hi,
    Here i am giving the DDLs and Inserts of Database .i am getting error while fetching data into outlist.
    and the error is err_msg = ORA-00932: inconsistent datatypes: expected - got -
    I also posted the same one in my previous post but i did not got any satisfactory answer .Please help me out .It's urgent ..
    CREATE TABLE ip_lov_hdr
    (table_id VARCHAR2(50) NOT NULL,
    table_name VARCHAR2(30) NOT NULL,
    col_name VARCHAR2(30) NOT NULL,
    codetype VARCHAR2(2))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_hdr
    ADD CONSTRAINT pk_lov_hdr PRIMARY KEY (table_id)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    CREATE TABLE ip_lov_dtl
    (table_id VARCHAR2(50) NOT NULL,
    col_name VARCHAR2(30) NOT NULL)
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT pk_lov_dtl PRIMARY KEY (table_id, col_name)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT fk_lov_hdr FOREIGN KEY (table_id)
    REFERENCES ip_lov_hdr (table_id) ON DELETE SET NULL
    CREATE TABLE emp
    (ename VARCHAR2(50),
    empno VARCHAR2(9),
    dept VARCHAR2(4))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('titu','111','10')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('naria','222',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiks','123','55')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiki','221',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('narayan',NULL,NULL)
    INSERT INTO ip_lov_hdr
    (TABLE_ID,TABLE_NAME,COL_NAME,CODETYPE)
    VALUES
    ('emp_id','emp','ename',NULL)
    INSERT INTO ip_lov_dtl
    (TABLE_ID,COL_NAME)
    VALUES
    ('emp_id','empno')
    create or replace PACKAGE PKG_LOV_1
    AS
    TYPE listtable IS TABLE OF out_rec_lov INDEX BY BINARY_INTEGER;
    PROCEDURE p_getlov (
    tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    OUTLIST OUT LISTTABLE,
    err_msg OUT VARCHAR2);
    END;
    create or replace PACKAGE BODY PKG_LOV_1 AS
    PROCEDURE p_getlov( tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    outlist OUT listtable,
    err_msg OUT VARCHAR2)
    IS
    query_str VARCHAR2(2000);
    col_str VARCHAR2(2000);
    type cur_typ IS ref CURSOR;
    c cur_typ;
    i NUMBER := 0;
    l_table_name ip_lov_hdr.TABLE_NAME %TYPE;
    l_col_name ip_lov_hdr.col_name%TYPE;
    l_codetype ip_lov_hdr.codetype%TYPE;
    BEGIN
    BEGIN
    SELECT TABLE_NAME,
    codetype,
    col_name
    INTO l_table_name,
    l_codetype,
    l_col_name
    FROM ip_lov_hdr
    WHERE UPPER(table_id) = UPPER(tab_id);
    EXCEPTION
    WHEN no_data_found THEN
    NULL;
    END;
    col_str := l_col_name;
    FOR rec IN
    (SELECT col_name
    FROM ip_lov_dtl
    WHERE table_id = tab_id)
    LOOP
    col_str := col_str || ',' || rec.col_name;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE (col_str);
    IF l_codetype IS NULL THEN
    query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE ' || l_col_name || ' like :col_value';
    ELSE
    query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE Codetype =' || l_codetype || ' And ' || l_col_name || ' like :col_value';
    END IF;
    DBMS_OUTPUT.PUT_LINE(QUERY_STR);
    BEGIN
    OPEN c FOR query_str USING col_value;
    LOOP
    FETCH c INTO outlist(i);
    i := i + 1;
    EXIT WHEN c % NOTFOUND;
    END LOOP;
    CLOSE c;
    EXCEPTION
    WHEN others THEN
    err_msg := SUBSTR(sqlerrm, 1, 500);
    END;
    EXCEPTION
    WHEN others THEN
    err_msg := SUBSTR(sqlerrm, 1, 500);
    END p_getlov;
    END PKG_LOV_1;
    Regards,
    Dhabas
    Edited by: Dhabas on Dec 29, 2008 12:58 PM
    Edited by: Dhabas on Dec 29, 2008 2:43 PM
    Edited by: Dhabas on Dec 29, 2008 2:54 PM

    I made one more small change. This code
    15             i number := 0;I modified as
    15             i number := 1;And It works fine for me
    SQL> create table ip_lov_hdr
      2  (
      3     table_id varchar2(50) not null,
      4     table_name varchar2(30) not null,
      5     col_name varchar2(30) not null,
      6     codetype varchar2(2)
      7  )
      8  /
    Table created.
    SQL> alter table ip_lov_hdr add constraint pk_lov_hdr primary key (table_id) using index
      2  /
    Table altered.
    SQL> create table ip_lov_dtl
      2  (
      3     table_id varchar2(50) not null,
      4     col_name varchar2(30) not null
      5  )
      6  /
    Table created.
    SQL> alter table ip_lov_dtl add constraint pk_lov_dtl primary key (table_id, col_name) using index
      2  /
    Table altered.
    SQL> alter table ip_lov_dtl add constraint fk_lov_hdr foreign key (table_id) references ip_lov_hdr (table_id) on delete set null
      2  /
    Table altered.
    SQL> create table emp1
      2  (
      3     ename varchar2(50),
      4     emp1no varchar2(9),
      5     dept varchar2(4)
      6  )
      7  /
    Table created.
    SQL> create or replace type out_rec_lov as object(ename varchar2(50),emp1no varchar2(9))
      2  /
    Type created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('titu','111','10')
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('naria','222',null)
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('tiks','123','55')
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('tiki','221',null)
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('narayan',null,null)
      5  /
    1 row created.
    SQL> insert into ip_lov_hdr
      2     (table_id,table_name,col_name,codetype)
      3  values
      4     ('emp1_id','emp1','ename',null)
      5  /
    1 row created.
    SQL> insert into ip_lov_dtl
      2     (table_id,col_name)
      3  values
      4     ('emp1_id','emp1no')
      5  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> create or replace package pkg_lov_1
      2  as
      3     type listtable is table of out_rec_lov index by binary_integer;
      4
      5     procedure p_getlov
      6                     (
      7                             tab_id in varchar2,
      8                             col_value in varchar2,
      9                             outlist out listtable,
    10                             err_msg out varchar2
    11                     );
    12  end;
    13  /
    Package created.
    SQL> create or replace package body pkg_lov_1
      2  as
      3     procedure p_getlov
      4                     (
      5                             tab_id in varchar2,
      6                             col_value in varchar2,
      7                             outlist out listtable,
      8                             err_msg out varchar2
      9                     )
    10     is
    11             query_str varchar2(2000);
    12             col_str varchar2(2000);
    13             type cur_typ is ref cursor;
    14             c cur_typ;
    15             i number := 1;
    16             l_table_name ip_lov_hdr.table_name %type;
    17             l_col_name ip_lov_hdr.col_name%type;
    18             l_codetype ip_lov_hdr.codetype%type;
    19     begin
    20             begin
    21                      select table_name,
    22                             codetype,
    23                             col_name
    24                        into l_table_name,
    25                             l_codetype,
    26                             l_col_name
    27                        from ip_lov_hdr
    28                       where upper(table_id) = upper(tab_id);
    29
    30             exception
    31                     when no_data_found then
    32                             null;
    33             end;
    34
    35             col_str := l_col_name;
    36
    37             for rec in (select col_name
    38                           from ip_lov_dtl
    39                          where table_id = tab_id)
    40             loop
    41                     col_str := col_str || ',' || rec.col_name;
    42             end loop;
    43
    44             dbms_output.put_line (col_str);
    45
    46             if l_codetype is null
    47             then
    48                     query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where ' || l_col_name || ' like :col_value';
    49             else
    50                     query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where codetype =' || l_codetype || ' and ' || l_col_name || ' like :col_value';
    51             end if;
    52
    53             dbms_output.put_line(query_str);
    54
    55             begin
    56                     open c for query_str using col_value;
    57
    58                     loop
    59                             fetch c into outlist(i);
    60                             i := i + 1;
    61                             exit when c % notfound;
    62                     end loop;
    63
    64                     close c;
    65             exception
    66                     when others then
    67                             err_msg := substr(sqlerrm, 1, 500);
    68             end;
    69
    70     exception
    71             when others then
    72                     err_msg := substr(sqlerrm, 1, 500);
    73
    74     end p_getlov;
    75  end pkg_lov_1;
    76  /
    Package body created.
    SQL> declare
      2     outlist pkg_lov_1.listtable;
      3     err_msg varchar2(1000);
      4  begin
      5     pkg_lov_1.p_getlov('emp1_id', 'titu', outlist, err_msg);
      6     for i in 1..outlist.count
      7     loop
      8             dbms_output.put_line(outlist(i).ename ||','||outlist(i).emp1no);
      9     end loop;
    10
    11     dbms_output.put_line(err_msg);
    12  end;
    13  /
    ename,emp1no
    select out_rec_lov(ename,emp1no) from emp1 where ename like :col_value
    titu,111
    PL/SQL procedure successfully completed.
    SQL>

  • 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

  • Issues while Populating data in Tree Table..

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew> Phone
    Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    > Email
    work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    *<af:treeTable value="#{bindings.contact.treeModel}" var="node"*
    *selectionListener="#{bindings.contact.treeModel.makeCurrent}"*
    *rowSelection="single"*
    *binding="#{backingBeanScope.EditValidationDetails.tt1}"*
    *id="tt1" width="920">*
    *<f:facet name="nodeStamp">*
    *<af:column id="c1" width="800" filterable="true">*
    *<af:commandLink text="#{node}" id="cl2"/>*
    *</af:column>*
    *</f:facet>*
    *<f:facet name="pathStamp">*
    *<af:outputText value="#{node}"*
    *binding="#{backingBeanScope.EditValidationDetails.ot3}"*
    *id="ot3"/>*
    *</f:facet>*
    *</af:treeTable>*
    Thanks in Advance...
    Regards
    Thoom

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew
    --Phone
    ----Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    ----Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    --Email
    ----work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    <
    <af:treeTable value="#{bindings.contact.treeModel}" var="node"
    selectionListener="#{bindings.contact.treeModel.makeCurrent}"
    rowSelection="single"
    binding="#{backingBeanScope.EditValidationDetails.tt1}"
    id="tt1" width="920">
    <f:facet name="nodeStamp">
    <af:column id="c1" width="800" filterable="true">
    <af:commandLink text="#{node}" id="cl2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}"
    binding="#{backingBeanScope.EditValidationDetails.ot3}"
    id="ot3"/>
    </f:facet>
    </af:treeTable>
    >
    Thanks in Advance...
    Regards
    Thoom

  • Mutating Problem when insert  while selecting data from dual

    Hi All,
    we have a table
    test (
    ID NUMBER
    NAME VARCHAR2(100)) and a before insert trigger
    create or replace trigger test1
    before insert on test
    for each row
    begin
    select decode(max(id),null,1,max(id)+1) into :new.id from test;
    end;
    i am able to insert values by using
    "insert into test(name) values('test1')" with out any issues.
    when i am inserting the values
    "insert into test(name) select 'test1' from dual" i am getting error
    ORA-04091: table SCOTT.TEST is mutating, trigger/function may not see it
    Could someone please advice why i am getting error in second scenario.
    Thanks in Advance
    Prasad

    Prasad
    try
    insert into test (name) values ((select 'test1' from dual));
    Frank

  • F4 help for custom table field - to be used when populating data thru SM30

    Hi,
    I have a custom table with 5 fields - say A, B, C, D and E. While populating data to the table through SM30, I need to create a F4 help for the field C. A  custom function module needs to be used.
    I have created a module for the same in the event PROCESS ON VALUE-REQUEST of the function group of the table.
    But the F4 for field C depends on the values put in fields A and B.
    I am not able to get the values of fields A and B from within the module PROCESS ON VALUE-REQUEST.
    Please help me to create the F4 help.

    hii,
    This is the piece of code i have used in one of my SM30 to get f4. mopdify according to ur need and use.
    revert back for further help.
    w_dynpread-fieldname = 'ZSITEDCDATA-SITE'.
      APPEND w_dynpread TO i_dynpread.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = 'SAPLZSITEDCDATA'
          dynumb               = sy-dynnr
          translate_to_upper   = 'X'
        TABLES
          dynpfields           = i_dynpread
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE i_dynpread INTO w_dynpread INDEX 1.
      IF sy-subrc IS INITIAL.
        SELECT land1 FROM t001w
          INTO TABLE i_site
          WHERE werks EQ w_dynpread-fieldvalue.
        IF i_site[] IS NOT INITIAL.
          DATA: lv_line TYPE i.
          CLEAR lv_line.
          DESCRIBE TABLE i_site LINES lv_line.
          IF lv_line GT 1.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'ZSITEDCDATA-SITE_COUNTRY'
                dynpprog        = 'SAPLZSITEDCDATA'
                dynpnr          = sy-dynnr
                window_title    = 'Site Country'
                value_org       = 'S'
              TABLES
                value_tab       = i_site[]
                return_tab      = i_return
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              READ TABLE i_return INTO w_return INDEX 1.
              IF sy-subrc IS INITIAL.
                zsitedcdata-site_country = w_return-fieldval.
              ENDIF.
            ENDIF.
    Thanks ,
    Gaurav

  • CX_SDB-ORA_PROGRAM_ERROR  while loading data in BI

    Hi All,
    We are facing a problem"CX_SDB-ORA_PROGRAM_ERROR  " while loading data from R/3 to BI7.0,  we are on SP 15 and kernal level 114.
    Is there any patch to applied ... please suggest
    Thanks,
    Subhash.G

    Hi Sibhash,
    Iam trying to load some data from ECC into BI7 using DTP.
    and its failing and giving the same error.
    The note you have specified, i can't get thru.
    Please let me know, how did you solve the issue?
    Cheers,
    Nisha

  • Problem while retrving data from a view

    Hi Friends
      i have a problem while retriving data from a view <b>v_t685a</b>.
    the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
    i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
                        KSCHL = 'JIN1' and
                        KAPPL = 'V'.
    how to retrive the data.
    waiting for quick response
    Regards
    Mukesh

    Hi
    This is a Maintenance View, not a Database View
    SO can't fetch data using select statement.
    You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • TS2634 My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What

    My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What can I do next since it doesn't give me even one clue as to what the error would be?

    Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted :  a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone.  I deleted that event, then went through the calendar resync one by one, and all seems OK now.
    In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them.  It would be nice to have a similar way to work with Calendar!
    Thanks for pointing me to the right article.

  • (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 while loading data from ODS to infoobject

    Hi guys,
    I am facing problem while loading data from <b>ODS to infoobject</b>.
    If I load data via PSA it works fine but
    if I load data without PSA its giving error as Duplicate records.
    Do u have any idea why it is so.
    Thanks in advance
    savio

    Hi,
    when you load the data via the PSA, what did you select? Serial or Paralel?
    If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
    Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
    hope this helps...
    Olivier.

  • Problem while uploading data with GUI UPLOAD Function

    Hi,
      I am facing problem while uploading data with FM GUI UPLOAD    in out text file there are 7 row  but after the FM GUI UPLOAD  there are 14 entries are coming in Internal table   and each alternate row is coming as blank  with  0000 in some column   in internal table first row is proper and second line is blank so on.
    what can be the problem .
    The program in which we are using this we are using it from last 2 year but we are facing problem today only.
    regards,
      zafar

    Hi,
      The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change  in the file formate.
      So waht can be the problem  to check any inconsistancy in system  i have develop a samll program fro  uploading a text file with same function module ,  but it is working fine.
    regards,
      zafar

  • How to rollback a traansacation if we got any problem while sending data to

    how to rollback a traansacation if we got any problem while sending data to a webservice...

    Is it SOA or OSB? Which version you are in..

  • Problem while writing data on xls file using jxl API

    Hi,
    I am getting problem while writing data on excel file using jxl api.
    When i write data on file and all handles associated to the file are closed, file size increases but when i open the file nothing is written in it and when file is closed manually from excel window, file size decreased to its original that was before writing data.
    here is code:
              FileOutputStream os = new FileOutputStream(this.dirPath + this.fileName, true);
              WritableWorkbook this.workbook = Workbook.createWorkbook(os);
    after writing data following handler are closed:
    this.os.flush();
                        this.workbook.write();
                        this.workbook.close();
                        this.os.close();
                        this.os = null;
    can any body help me.
    Thanks in advance

    Err, I did help you. I did understand your problem; and I solved it for you. What was missing was that you apparently made no effort to understand what you were being told. Or even consider it. You just argued about it, as though you were the one with the solution, instead of the one whose code didn't work.
    And the other thing that was missing was the part where you said 'thank you' to me for solving your problem. Somewhat more appropriate than biting the hand that fed you, frankly. I do this for nothing, on my own gas, and it's extremely irritating when people keep asking about problems I have already solved for them. I am entitled to discourage that. It's part of making them more efficient actually.
    But it happens often enough that it also makes me think I'm just wasting my time. Probably I am.

  • Error while merging data problem while syncing calendars to iPhone

    My iTunes just recently updated itself to iTunes 12, I'm using OS X Mavericks on a Macbook Pro, and have an iPhone 5S with iOS 8.1.1.
    Whenever I try to sync my calendars from my laptop onto my phone, I get a message saying "iTunes cannot sync calendars to iPhone because an error occurred while merging data".  I'm not sure if it's an issue with iTunes or my phone...but everything else syncs normally.
    If anyone could help it would be greatly appreciated!!

    hi there,
    i've found a great & simple solution for this problem
    just open your iCloud acc on iPhone
    turn off calendars (it wil ask you to keep info or not - KEEP IT!)
    and turn back on (MERGE!)
    now SYNC it..
    and that's it
    PS in my case it was contacts so the procedure is the same..

Maybe you are looking for