A question when using BDC tables

Hi
suppose i have a session named SESSION1, in which there are 100 transactions.
now i want to know each transaction's status ( processed or incorrect ), how to do this using ABAP code?
i searched standard tables such as APQI,APQD,APQL but found nothing i want.
thanks & best rgds.

thanks.
i used sql trace and found the only related tables were BDCUSEOP/APQI/APQD/APQL/TST01. Also couldn't find data i want......
Would you pls help to check these tables?
regards

Similar Messages

  • clientValidater s when used in tables

    The thread UIX <clientValidater> elements when used in <tables> - problem in the JDeveloper forum gave me a solution to using client validaters on repeating fields in a <table>. I've got this to work fine but have noticed in the log (I've set debug=true in uix-config.xml) that when the page is rendered I get the message 'The id nnn is used more than once' for each of the fields in a row. I can see why it's doing this and am just curious as to whether it could cause me any problems. I don't (currently) make any use of the id other than for this situation.
    Cheers
    Ian

    It shouldn't cause any major problems. It would affect
    PPR if you tried to use PPR to individually replace
    single table cells.
    If you use <messageTextInput>, we'll automatically
    generate unique IDs per row in the table, and this'll
    get client validaters to work just fine. Unfortunately,
    <bc4j:messageTextInput> doesn't support ID generation
    for some arcane but nasty-to-untangle reasons.

  • Different screens shown when using BDC for Transaction XK03

    Hello Forum,
    Please provide a soultion for the below problem .
    When i open transaction XK03 (with 4 check boxes of general Data ticked )it is ok.
    When i call transaction XK03 from my program (by sending the check box parameters ticked)- the scren shown is different .
    (I used BDC to set the checkboxes)
    Sample code for testing that i write to call XK03 is -
    DATA: ls_bdc_comp  TYPE bdcdata,                   "workarea for BDC recording of XK03
            lt_bdc_comp  TYPE STANDARD TABLE OF bdcdata. "table for BDC recording of MK03
      CLEAR: ls_bdc_comp .
      REFRESH lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-program = 'SAPMF02K'.
      ls_bdc_comp-dynpro = '0101'.
      ls_bdc_comp-dynbegin = wc_x.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'BDC_OKCODE'.
      ls_bdc_comp-fval = '/00'.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'RF02K-LIFNR'.
      ls_bdc_comp-fval = 'S000819001'. "Vendor
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'RF02K-D0110'.  "Address
      ls_bdc_comp-fval = 'X'.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'RF02K-D0120'. "Control
      ls_bdc_comp-fval = 'X'.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'RF02K-D0130'. "Payment transactions
      ls_bdc_comp-fval = 'X'.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CLEAR ls_bdc_comp.
      ls_bdc_comp-fnam = 'WRF02K-D0380'. "contact person
      ls_bdc_comp-fval = 'X'.
      APPEND ls_bdc_comp TO lt_bdc_comp.
      CALL TRANSACTION 'XK03'
           USING lt_bdc_comp.
           MODE 'E'.
    Regards
    Lovleen
    Moderator Message: Please use proper subject lines while posting your questions.
    Edited by: Suhas Saha on Jul 22, 2011 3:48 PM

    Hi,
    You can try with below code,
    DATA: ls_bdc_comp TYPE bdcdata, "workarea for BDC recording of XK03
    lt_bdc_comp TYPE STANDARD TABLE OF bdcdata. "table for BDC recording of MK03
    CLEAR: ls_bdc_comp .
    REFRESH lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-program = 'SAPMF02K'.
    ls_bdc_comp-dynpro = '0101'.
    ls_bdc_comp-dynbegin = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'BDC_OKCODE'.
    ls_bdc_comp-fval = '/00'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'RF02K-LIFNR'.
    ls_bdc_comp-fval = 'S000819001'. "Vendor
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'RF02K-D0110'. "Address
    ls_bdc_comp-fval = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'RF02K-D0120'. "Control
    ls_bdc_comp-fval = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'RF02K-D0130'. "Payment transactions
    ls_bdc_comp-fval = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CLEAR ls_bdc_comp.
    ls_bdc_comp-fnam = 'WRF02K-D0380'. "contact person
    ls_bdc_comp-fval = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    ls_bdc_comp-fnam = 'USE_ZAV'. "contact person
    ls_bdc_comp-fval = 'X'.
    APPEND ls_bdc_comp TO lt_bdc_comp.
    CALL TRANSACTION 'XK03'
    USING lt_bdc_comp
    MODE 'E'.
    It will also take you to some other screen but up to some extend you will able to see same kind of data.

  • WPS1 using BDC table

    Hi,
    Currently i have a program that call tcode WPS1 via BSP (internet explorer , ITS), i manage to pass data into WPS1 via BSP page using BDC and everything seem fine, but problem occur when i try to create a new revision at the WPS1 program.
    Some how the popup window that allow us to key in Planning Plant and Revision Type seem to be not working. When i try to press F4 to retrieve the list of Planning Plant, it doesn't show the list. The problem doesn't occur when we call WPS1 without using BDC data.
    the code is looks like :
    call transaction 'WPS1' using it_bdctable mode 'E'.
    my questions are:
    1. is there any other way for me to pass data from bsp to wps1 without using bdc?
    2. is there any other way to fix the issue mention above when i using bdc data?
    Thank you.

    Also, if you look inside the function module, you can go to any section of the sapscript form.  Just use the appropriate component in your call, the default is HEADER.
    Code from the EDIT_FORM function module
      IF COMPONENT <> 'HEADER'       AND
         COMPONENT <> 'PARAGRAPH'    AND
         COMPONENT <> 'STRING'       AND
         COMPONENT <> 'PAGE'         AND
         COMPONENT <> 'WINDOW'       AND
         COMPONENT <> 'PAGE_WINDOW'  AND
         COMPONENT <> 'LAYOUT'       AND
         COMPONENT <> 'DOCUMENTATION'.
    Regards,
    Rich Heilman

  • Abap Logic for performance tuning not working when using Internal tables

    Hi,
    I wrote this piece of code that is working correctly that is select SUM of cost from DSO where Plant is the same for Sales Items.
    LOOP AT RESULT_PACKAGE INTO rp.
    SELECT SUM( /N/S_STRDCOST ) FROM /N/ADSP_DPIT00 INTO
    rp-/N/S_STRDCOST
    WHERE /N42/S_SALESITEM = rp-/N42/S_ITEMID AND /N42/S_PLPLANT EQ
    rp-/N42/S_SOURCE.
    MODIFY RESULT_PACKAGE FROM rp.
    Clear rp.
    ENDLOOP.
    Now I try to rewrite it for performance tunning using internal table  but I am getting 0 values. can't figure out whats the problem and been struggling fixing it.
    TYPES : begin of ty_DSO_TABLE,
             /N42/S_STRDCOST TYPE /N/ADSP_DSPC00-/N/S_STRDCOST,
             /N42/S_ITEMID TYPE /N/ADSP_DSPC00-/N/S_ITEMID,
           end of ty_DSO_TABLE.
    DATA: it_DSO_TABLE type hashed table of ty_DSO_TABLE with unique key
    /N/S_ITEMID,
         wa_DSO_TABLE type ty_DSO_TABLE.
    Field-symbols:  <rp> TYPE tys_TG_1.
    LOOP AT RESULT_PACKAGE assigning <rp>.
      clear wa_DSO_TABLE.
    Read table IT_DSO_TABLE into wa_DSO_TABLE with table key /N/S_ITEMID
      = <rp>-/N/S_ITEMID.
      if sy-subrc ne 0.
          select SUM( /N/S_STRDCOST )  into CORRESPONDING
          FIELDS OF wa_DSO_TABLE from
          /N/ADSP_DPIT00 WHERE /N/S_SALESITEM =  <rp>-/N/S_ITEMID AND
          /N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
         if sy-subrc eq 0.
              <rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
         endif.
    endif.
    ENDLOOP.
    Any idea whats wrong with the code
    thanks

    Hi Vaidya,
    According to the code which you have written, there is no value in table IT_DSO_TABLE when you are trying to read the values.And after the read statement you have given a condition for sy-subrc. Hence the select statement is actually not even getting executed. *Also you have not assigned the final value back to the ResultPackage.*_
    So Kindly correct your code as follows:
    Data: wa_dso type ty_DSO_TABLE.
    LOOP AT RESULT_PACKAGE assigning <rp>.
    clear wa_DSO_TABLE.
    select SUM( /N/S_STRDCOST ) into CORRESPONDING
    FIELDS OF wa_DSO_TABLE from
    /N/ADSP_DPIT00 WHERE /N/S_SALESITEM = <rp>-/N/S_ITEMID AND
    /N/S_PLPLANT EQ <rp>-/N/S_SOURCE.
    if sy-subrc eq 0.
    <rp>-/N/S_STRDCOST = wa_DSO_TABLE-/N/S_STRDCOST.
    MODIFY RESULT_PACKAGE FROM <rp>.
    endif.
    ENDLOOP.
    Hope this helps you.
    Regards,
    Satyam

  • Java script error when using a "Table" component (jsc2)

    using a table component, I get a js errors, when lodiing the HTML page, sorting rows etc.
    can some one helpe me or can some one have the same problem ?

    Hi,
    Please post JSC2 related queries at:
    https://feedbackprograms.sun.com/login.html
    Cheers
    Giri

  • "Print page" doesn't work as intended when using lengthy tables. (Brother MFC 6490CW, possibly others)

    I had originally thought this was a printing driver problem, but further testing indicated that this was not a problem in Internet Explorer and it was a problem in Firefox.
    When printing some web pages using Mozilla Firefox, particularly those having sizable tables which would extend beyond the length of a single printed page, the remainder of the table is not printed even though the remainder of the web page itself is printed. The behavior is also noted when using Print Preview. See, for example, this web page which I created: http://alltherightwaystowrite.blogspot.com/2013/08/the-basics-capitalization.html
    I inquired of other bloggers to see if they were also experiencing this issue. See, for example, the discussion I began here: https://productforums.google.com/forum/#!msg/blogger/EpD6K2ezIZE/a5mPu8CV0HwJ
    As you can see, the only response I received indicated it was not an issue for that person with a different printer. This leads me to believe the problem is with either the MFC6490CW printer (unlikely) or the MFC6490CW printer driver (more likely) or perhaps with Firefox, or some combination of those three. This problem is duplicatable by me on successive attempts to print with any web page with a table extending beyond the length of a single page of printed paper. The output error occurs whether printing in portrait or landscape mode.
    Saving a web page as "Web Page Complete" and opening up the web page in Microsoft Word created a variety of formatting errors, but otherwise, the entire contents of the page would have printed. Of course, this is not an ideal solution in any event. The entire document should print seamlessly across multiple pages without losing any data or content in the process.
    As indicated above, as an additional test, I attempted to print the same web page in Internet Explorer and did not note the output errors described here. The web page printed correctly under those conditions. As a result, I believe that the most likely culprit is Firefox since Internet Explorer was also a good test case for my printer and printer driver, and it passed that test case.

    https://bugzilla.mozilla.org/show_bug.cgi?id=521204 - this is a META Bug which is tracking all the Bugs which are related to '''Wrong page splitting / Missing page content when printing''' - 34 different Bugs, 14 of which are marked as solved.
    IMO, that page would be better served with a print css script ''(as jscher2000 mentioned earlier)'' to make that a "printer ready" page, if wanting that page to be "printable" is your intention. As it now is that page is shrunk by about 50% with the "Shrink to Fit" feature engaged. Look at that page in Print Preview when the Scale is set to 100% instead of Shrink to Fit, and see that the page is so large that it shows that about 1/2 the width. Then decrease the zoom level in Print Preview to 50 or 60% to get that page to fit horizontally with the "Shrink to Fit" feature disabled. Looks like a case of "garbage in - garbage out".
    I think the css used for that page uses too large a font which ''(IMO)'' forces Firefox to shrink the font too much to make that page fit to a letter size sheet of paper. And relying first upon the Print to Fit feature in the four different major browser engines ''(Gecko, Trident, WebKit, and Presto)'' and then the hundreds of print drivers out there is just looking for failures such as you are seeing; it works for some viewers and doesn't work for other viewers. What appears on the '''"screen"''' doesn't always translate to the '''"printed page'''" too well without proper instructions via style sheets, especially since "screens" are oriented horizontally and most "printed" pages are vertically oriented unless the user shifts to the Portrait view.
    http://www.w3.org/TR/CSS2/media.html#media-types <br />
    http://www.w3.org/TR/CSS2/page.html

  • How to upload material text  in mm02 using bdc table control

    i have problem to upload material Description in mm02 using bdc.
    my text file is like
    2000251     AF     A12345               
    2000251     AR     B12345               
    2000251     BG     C12345               
    2000252     AF     F12345               
    2000252     AR     G12345               
    2000252     AF     H12345     
    i want to upload material number, language, and material description, how can i upload pls help me.

    Hi,
    Try with bapi , bapi_material_save_data.. didn't exactly remember it,Please check the same.
    Regards,
    Nagaraj

  • Read-mostly pattern & EJB-QL question when using Weblogic 8.1

    I want to use the same implementation of an CMP entity bean for the
    read-mostly pattern in BEA Weblogic 8.1 (means for the reader and the
    writer class).
    Therefore my ejb-jar.xml contains the following statements:
    <ejb-name>MyBeanReadOnly</ejb-name>
    <local-home>mypackage.MyBeanLocalHome</local-home>
    <ejb-name>MyBean</ejb-name>
    <local-home>mypackage.MyBeanLocalHome</local-home>
    The weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml have the proper
    changes.
    I can deploy this bean & for the corresponding session bean binding
    and calling methods works for the (virtual) read-only and read-write
    entity beans.
    When we are using Xdoclet and ejb.finder methods e.g.
    @ejb.finder
    signature="java.util.Collection findAllValid(java.util.Date date)"
    result-type-mapping="Local"
    query="SELECT DISTINCT OBJECT(u) FROM MYTABLE AS u
    WHERE (?1 >= u.validFrom) AND ((u.validUntil IS NULL)
    OR (?1 <= u.validUntil))"
    the compilation and packaging runs well (as usual).
    During the deploy to Weblogic 8.1 we get errors, because the
    implementation of MyBeanReadOnly's findAllValid(...) should return
    objects of type MyBeanReadOnly instead of MyBean.
    Is there a way to solve this problem
    - and not write seperate reader and writer classes like
    the Weblogic 5.1 sample implementation?
    - and not use the CMP optimistic locking?
    Thanks for any further information.
    Wolfgang

    surya jeedigunta wrote:
    We are using Weblogic 8.1 SP2 and our Oracle Database is of version 9.2.0.5.
    I created user ID 'testa' in the database which owns all the objects.
    I created another userID 'testb' which has privileges to read, modify and delete data from tables owned by testa.
    I created public synonyms for all the objects owned by testa.
    I set the userid 'testb' and password in weblogic administrator window and set the same in reg.xml file also.
    Now when I tried to install the application, I got the following errors:
    BEGINNING INSTALLATION
    START INSTALLING FORMS SECTION
    Installing Form ./dataform/EventHistory.xml...<ErrorStack>
    <Error>
    <Code>FORM_045</Code>
    <Msg><![CDATA[ Form "Form" schema lacks some required columns:
    Field=ID column=ID does not exist in table=QSTForm
    Field=Name column=Name does not exist in table=QSTForm
    Field=Version column=Version does not exist in table=QSTForm
    Field=Content column=Content does not exist in table=QSTForm
    Field=LastModified column=LastModified does not exist in table=QSTForm ]]></Msg>
    </Error>
    <Error>
    <Code>FORM_7</Code>
    <Msg><![CDATA[ Failed to bind FDT columns, exception com.quovadx
    .bpms.core.CWException: (FORM_045) Form "Form" schema lacks some required column
    s:
    Field=ID column=ID does not exist in table=QSTForm
    Field=Name column=Name does not exist in table=QSTForm
    Field=Version column=Version does not exist in table=QSTForm
    Field=Content column=Content does not exist in table=QSTForm
    Field=LastModified column=LastModified does not exist in table=QSTForm ]]></Msg>
    </Error>
    My question is :
    does weblogic 8.1 works when I use public synonyms and user id other than the schema owner ID?
    I would appreciate if somebody could help me with this.
    Thank YouHi. I wish I could help you more, but so far, from what symptoms you've shown us,
    this is a purely internal Oracle issue to do with what your second user sees or
    can access. The fact that the user is logging in via JDBC or through WebLogic is
    irrelevant.
    Joe

  • Back up Question when using backup not Time Machine

    Hi there, I currently have my Time capsule configured as a file server sharing my files between 3 macs on the TC's wifi and also via the back to my mac service, while outside my home. The 3 macs connected also use the TC as the time machine back up disk. This setup works fine but I have concerns about reports that TC's can just die and the files contained on it could be lost. To combat this I have set my macbook to perform a backup using the backup program once a day. This is set to backup the whole TC excluding the 3 Time capsule files to an external firewire disk. The problem seems to occur after about a day or two, when the backup program reports a failed backup due to not enough disk space but I don't understand this as the external firewire disk has enough space unless it is trying to carry out a complete backup again. Once the initial backup is done (about 6 hours) I can manually trigger a backup which completes in a matter of seconds and is labelled on the firewire disc as incremental and contains a few mb. Can any one explain this to me? and any posable fixes.
    Cheers
    Here are the figures.
    TC = 500GB
    TC Files= 87GB (Excluding the 3 TM backups)
    Firewire drive 160GB
    Initial Backup file size 87.7GB
    Successful Incremental Backup file size 4.2mb (done on same day as initial backup)
    2nd Sucsesfull Incremental Backup file size 2.1mb (manually triggered day after initial backup)
    Error backup file size 29kb (auto triggered day after initial backup)

    The current version of Backup won't do a full backup (after the first one) unless you tell it to, via +Plan > Full Backup+ from the menubar. But it will back up everything that was added or changed since the last backup, so an Incremental backup can be quite large.
    A clue may be lurking in the log for the failed backup.
    From the main Backup screen, select the Plan in question, then from the Menubar, +Plan > History.+ Then select the "event" in question and click the +View Details+ button at the bottom.
    If the log doesn't tell you much, copy and post it here (but if there's a long list of files copied, leave out most of that).

  • Problem in Master Detail form when using ADF table for Detail

    hi,
    jdev version-11.1.2.1.0
    i have create Master detail form using datacontrol drag as ADF Master Form Detail Table.
    Now when i create a new row in Detail table using CreateInsert button a blank new row created on the top of detail table.
    and other row show that data of previous record based on master.
    problem is that i want when i click on createInsert button all row of detail table should be blank and when user fill two or three row then commit.
    Thanks in Advance

    Hi,
    if a detail table has data, then createInsert adds to these. If you want to hide existing rows, create a new View Object instance and set its "Retrieve from the Database" option to "No Rows". The use an af:switcher to change the table shown when the user clicks the createInsert button. There is a bit of coding required to have this use case in ADF, but its mostly declarative. Bottom line is that there is no automated option other than creating new rows in a separate page or dialog if you are bothered by existing rows
    Frank

  • Weird graphics artifacts when using light table

    I'm seeing strange flashing shapes and pixels when I move photos around on a light table. Doesn't affect performance, just visually very bothersome. Using new MacPro w/ 8800GT. Wondering if anyone else is seeing this behavior on light tables??
    -Nelson

    I also have the same problem, only different circumstances. I've noticed there are several websites that I can go to that yield this issue, and for me the fix was to go into the Energy Saver system preferences and uncheck the Automatic Graphics Switching box. An example of an issue I'm currently experiencing is:
    Visit http://www.macsimumnews.com/index.php/archive/applepatents_hint_at_final_pro_changes_and_or_new_media_presentationsoftw/
    then click on the Reader button and the Safari window background gets all mangled. Click on the reader button again and it all goes away. Now repeat with that system preference turned off and it won't do it anymore.
    Please advise if you can reproduce this. (Oh, this obviously is only for 2010 MacBook Pros that have that system preference option in the first place).

  • Optimized sql not properly generated when using SAP tables

    Hi Experts
    We are using BODS 4.1 sp2.
    We have a simple dataflow where we pull data from SAP r3 using direct download and push it in our database.
    Basically its like this:
    SAP Table-->Query Transform-->Oracle Database
    Inside query transform,we have applied some conditions in where clause,which are combinations of 'or' and 'and' operator.
    However when we are generating optimized SQL for the same,we observe that the conditions in where clause are not being included in the optimized query.
    But if we replace all conditions by only 'or'  or by only 'and' condition,the optimized sql query with condition  is generated.
    Somehow the optimized sql with conditions is not generated if where clause has mixer of 'and' and 'or' conditions.
    The issue is only observerd for SAP Tables
    However the same dataflow in bods 4.0,generates an optimized sql containing the mixed conditions of 'and' and 'or' in where clause.
    Please help me on this.

    Dear Shiva
    We e
    Let me explain this in detail to you:
    We have a simple dataflow where we push data from the sap table directly into our oracle database.
    The dataflow has a query transform where we have some conditions to filter the data.
    The method used to pull data from R3 is direct download.
    System Used:
    BODS 4.2 SP1
    SAP R3 620 release(4.7)
    The where clause has mixed 'and' and 'or' operators.The problem is that this where clause is not getting pushed in the Optimized sql.
    Eg: Table1.feild1=some value and Table1.feild2=some value or Table1.feild3=some value.
    If this is the condition in  where clause,the where clause does not appear in optimized sql.
    Also the condition in where clause is from same table.
    However if all the condition in where clause are either all 'and'  or either all 'or',the condition gets pushed and appears in optimized sql.
    But if their is mixed 'and' and 'or' it fails.
    The same was not the case when we used BODS 4.0 with R3 620(4.7).
    We investigated further and used R3 730 with BODS 4.2.With R3 720,we the where condition was getting pushed into optimized sql for mixed 'and' 'or' predicated.
    SAP support too confirmed the same.They were able to reproduce the issue.
    We will use ABAP dataflow and see if if resolves the issue.
    Regards
    Ankit

  • Table structure changes when using 'create table X as ( select * from X@remote_server )'

    I need to create and copy data from a remote Oracle server to a local server. The command I use is
    create table X as ( select * from X@remote_server )
    with remote_server is the tns name of the remote Oracle server.
    The local table is created and populated with data as expected but when I check the structure using 'desc X' it shows me all the CHAR fields of the local table are triple as large as of the remote table.
    I guess the problem is the difference  between the NLS_CHARACTERSET settings . The local charset is AL32UTF8 and the remote is  WE8MSWIN1252.
    How do I change the command to make the two tables have the same field sizes ?
    Thanks,
    Vu

    Do you want to be able to store all the data from the remote table in the local table?  Assuming you do, increasing the size of the column would be the correct behavior.
    By default, a VARCHAR2(10) allocates up to 10 bytes of storage.  In the Windows-1252 character set on the source, 1 character requires 1 byte of storage.  So a VARCHAR2(10) has space for up to 10 characters.  In the UTF-8 character set on the destination, however, 1 character can require up to 3 bytes of storage.  So a VARCHAR2(10) may allow you to store as few as 3 characters.  Since Oracle has no way of knowing what data you have (and will have) in the source system, it triples the size to ensure that all the data from the remote system will fit in the new table.  If you want the columns to be the same size on the destination that they are on the source, it is highly probable that you'll get errors inserting the data because at least one value will be too large for the destination column.
    Justin    

  • Rejecting a moving member when using interface tables

    Hi,
    I'm using the interface tables to update some of my dimensions in EPMA.
    My problem is that I want the process to reject members when they are moved, and I can't do that.
    Let me explain a little bit more: if I have a product A under a parent X, and that in the next load, A is specified under Y, then I want the process to fail with a message like this: "the member cannot be created because it already exists under another parent".
    Right now what it does is that it create the new A under Y and the A under X as shared member. I've tried to change the settings of my profile: I change Merge as Primary for 'replace' but that's not what I want. I tried 'Move' but it's not what I want. I tried to set my IsPrimary column as blank string, doesn't change anything.
    Does anyone know how to do that ? Basically, we want to make sure that no product are moved by mistake. Any movement should be performed manually by the admin in the dimension library before interfacing.
    Thanks for your help.
    Cyril

    I used only IM_Dimension & HS_Account_Hierarchy table to load data and that worked.
    But now, if I want to give option to user to select the Load_Id while importing, IM_Load_Info needs to be populated.
    The problem arises at the time when you try to insert data in IM_Load_Info. Even if we clear data from the table it generates next sequential Load_ID from previously deleted record. For eg. Load_Id in IM_Dimension & hierarchy table is 1, then for the same record in IM_Load_Info can have Load_id as 14.
    Now user can select 14 while importing but cannot import any data since all records are having Load_Id as 1.
    I am still not able to resolve/handle this problem

Maybe you are looking for