Urgent: Not all records extracted to ODS

Hi,
Not all of the records I am trying to load get updated to ODS. Ex:
Doc#     Item#     Created On     Debit/Credit
1000     1     02012007     540
1000     2     02012007     540
1000     1     02022007     -540
1000     2     02022007     -540
These 4 records appear as 2 records in ODS as:
1000     1     02022007     -540
1000     2     02022007     -540
When I do simulate update it shows me 4 records till communication structure. But from communication structure to ODS it they come in only as 2 records. There is no routine in update rules it is just direct one to one mapping. I am having this problem for records with same line item # within a document. Please advice how to solve this issue…
Thank you,
sam

I personally don't think there would be a requirement to load two line items the way you mention; if that is the case there should generally be some record number also coming in with the data. The data example you gave doesn't look right/complete to me somehow.
Anyway, you can get the record no in many ways. You can create a number range object in the system (check Txn SNUM), and you can then use standard functions in your code to get the next no (I think you can check functions NUMBER_RANGE* in se37 to get an appropriate one). Or you can always read the MAX() no stored in the ODS in this field and start from there in your routine (likely not as robust as the first option).

Similar Messages

  • How to read some records from a text file into java(not all records)

    hello,
    how to read text files into java. i need only few records from the text file not all records at a time.
    If any one knows plz reply me
    my id is [email protected]

    this snipet reads a text file line by line from line 1 to 3
    try {
                  FileReader fr = new FileReader(directory);
                  BufferedReader br = new BufferedReader(fr);
                  int counter = 0;
                  while ((dbconn = br.readLine()) != null) {
                      switch(counter){
                          case 0:
                            status = dbconn;
                          break;
                          case 1:
                            userName = dbconn;
                          break;
                          case 2:
                            apword = dbconn;
                          break;
                      counter++;
                  br.close();
        }catch(IOException e){
        }

  • Import not all records

    Hi, all!
    We use BPC MS 7.5 sp 06.
    We try import txt file. But not all records loaded.
    We checked tmp file that generated during Import and saw that all files that we try to import exceeds max 1,265 KB, and last record in this file not the same as in source file.
    And at all not all records imported in application and there isn't errors during Import.
    Does anybode know how to change this limit?
    Best regards,
    Iaroslav

    Hi,
    Once again, the number of records might not be similar in BPC and file. The reason behind this is the records might get aggregated while importing. Hence, you should consider this while comparing the data.
    Let me give an example to explain this scenario.
    Lets say below are the records in your file:
    ACCOUNT    ENTITY    CATEGORY    VENDOR    AMOUNT
    ACC1       ABC       ACTUAL      1234      1000
    ACC1       ABC       ACTUAL      5678      2000
    One you import the data, if your application doesnt have VENDOR dimension, then the 2 records will get aggregated and will be displayed as:
    ACCOUNT    ENTITY    CATEGORY    AMOUNT
    ACC1       ABC       ACTUAL       3000
    So, you see, the source file has 2 records. However, the application has only 1 record. So, the record count doesnt match. You wont even get any rejected count, because both the records from the file have been imported successfully. Its just that the records have been aggregated.
    Please note that the above example is just to show you how the records will get aggregated.
    Hope this helps.

  • Not all records shown for selection - CR 2008

    I have a crystal report that has dynamic record selection. The selections are set to allow multiple, allow discreet, allow ranges.
    When I run the report I am not shown all records on the file to choose from.
    The file has approx 6000 records. Does anyone know of any limitations? The file I am writnig report for is from Item Master in SAP.  Thanks.

    There is a registry entry that limits the number of records shown in a list of values (LOV).  The default value is 1000.  The registry key is Crystal reports version specific.  You should be able to find the key by searching the forum for LOV 1000 or similar...
    HTH,
    Carl
    Moderators:  This question comes up once a week, it seems.  Maybe we should "pin" the answer to the top of the forum board?

  • Urgent: not all variable bounds in forms 6i

    hi all
    I am using forms 6i
    I am having problem in this cursor query
    SELECT distinct main_item, des_l FROM table(TECH_BOM_TOT_SRNO(:model0,'X','X','X','X','X')) a,item_master b
    where a.main_item = b.ITEM_CODE
    and LOCATION_cD = :line0;
    it does not fetch any records.
    but if i hardcode the values of bind variables as follows
    SELECT distinct main_item, des_l FROM table(TECH_BOM_TOT_SRNO('MDL0000016','X','X','X','X','X')) a,item_master b
    where a.main_item = b.ITEM_CODE
    and LOCATION_cD = 'FRP';
    it works fine
    i have check the following query
    SELECT count(*) fROM table(TECH_BOM_TOT_SRNO(:model0,'X','X','X','X','X')) a,item_master b
    where a.main_item = b.ITEM_CODE ;
    then it gives an error at runtime
    ora-1008: not all variables bound..
    any help to overcome this problem will be highly appriciated.
    thanks......

    Kritika,
    Oracle Forms 6i is TOO old and does not support Pipelined Functions. You will need to create a view on the database and then select from your view in order to use the Pipelined TABLE() construct.
    SELECT distinct main_item, des_l
    FROM table(TECH_BOM_TOT_SRNO(:model0,'X','X','X','X','X')) a, item_master b
    where a.main_item = b.ITEM_CODE
    and LOCATION_cD = :line0;Additionally, I don't believe you can pass a string reference to an object in place of the object name in the TABLE() function.
    Do us all a favor and take a look at Oracle Forums FAQ! It is extremly helpful if you format your post to make it easier to read!
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • URGENT:not all variables bound error

    Hi
    I am getting the following error while trying to run my MAAddTrnActPg.xml in the SSHR Module error in my VO. I have checked all the bind variable mappings still getting this error, pls suggest ASAP
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT lpm.LEARNING_PATH_MEMBER_ID,
    lpm.NOTIFY_DAYS_BEFORE_TARGET,
    lpm.BUSINESS_GROUP_ID,
    lpme.LP_MEMBER_ENROLLMENT_ID,
    lpme.MEMBER_STATUS_CODE,
    lpme.COMPLETION_TARGET_DATE,
    lpme.CREATOR_PERSON_ID,
    tav.VERSION_NAME,
    tav.END_DATE,
    tav.START_DATE,
    tav.ACTIVITY_VERSION_ID,
    lpm.ACTIVITY_VERSION_ID AS ACTIVITY_VERSION_ID1,
    decode(nvl(lpme.creator_person_id, -1), :1, 'Yes','No' ) update_switcher,
    decode(nvl(lpme.creator_person_id, -1), :2, 'Yes','No' ) delete_switcher,
    lpm.LEARNING_PATH_SECTION_ID
    from
    ota_learning_path_members lpm,
    ota_lp_member_enrollments lpme,
    ota_activity_versions tav
    where
    lpm.learning_path_section_id = :3
    and lpme.learning_path_member_id = lpm.learning_path_member_id
    and tav.activity_version_id = lpm.activity_version_id
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707)
    java.sql.SQLException: ORA-01008: not all variables bound

    Mariah,
    As you are using bind variables in the query itself, u should overide initQuery method in VOimpl class of VO.Like this
    VOimpl class
    =============
    public void initQuery(String creator_person_id,String learning_path_section_id )
    setWhereClauseParam(0,new oracle.jbo.domain.Number(Integer.parseInt(creator_person_id)));
    setWhereClauseParam(1,new oracle.jbo.domain.Number(Integer.parseInt(creator_person_id)));
    setWhereClauseParam(2,new oracle.jbo.domain.Number(Integer.parseInt(learning_path_section_id)));
    executeQuery();
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Execute query. Not all records retrieved.

    Hi everyone.
    I have made a screen with the data block and layout wizzards.
    When I click on the default toolbar "Execute query" it brings only 68 records and there are about 25,000!.
    I have a botton which displays a LOV of the same table and the LOV is working well, it brings all the records in the table.
    Any idea ???
    Thanks!

    If you go to the bottom of the query, does
    it get the next set of records??
    Oracle forms buffers the records it gets
    based upon the number of records buffered
    in the "block properties".
    Go to block properties. Look at Number of
    records buffered. If you want it to get
    ALL records. Set the Query ALL records switch
    to "Yes". Try it again.
    Hopefully this helps.

  • Urgent :Show all records till selection screen date

    Hi Techis
    i want to show all records till selected date , selection screen consist of date also and my select statement is given below so any body pls tell me what changes i hav to make so that all records till particular date should b shwn
    Select statement is
    SELECT BUKRS KUNNR
    BLDAT
    GSBER
    DMBTR
    BUDAT
    GJAHR
    SGTXT
    SAKNR
    SHKZG
    PRCTR FROM BSID INTO corresponding fields of TABLE IT_FINAL WHERE BUKRS IN S_BUKRS AND
    SAKNR IN S_SAKNR AND
    GSBER IN S_GSBER AND
    PRCTR IN S_PRCTR AND
    BUDAT IN S_BUDAT AND
    KOSTL IN S_KOSTL.
    and selection screen is ...
    SELECTION-SCREEN BEGIN OF BLOCK AGE WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_BUKRS FOR BSID-BUKRS," OBLIGATORY DEFAULT 'TCIL'
    S_KUNNR FOR KNA1-KUNNR,
    S_SORTL FOR KNA1-SORTL,
    S_SAKNR FOR BSID-SAKNR DEFAULT '15110013',
    S_KTOKD FOR KNA1-KTOKD ,"OBLIGATORY DEFAULT 'LTOB'
    S_GSBER FOR BSID-GSBER,
    S_PRCTR FOR BSID-PRCTR,
    S_KOSTL FOR BSID-KOSTL,
    S_GJAHR FOR BKPF-GJAHR," OBLIGATORY.
    S_BUDAT FOR BSID-BUDAT DEFAULT SY-DATUM."OPEN ITEM DATE
    *PARAMETERS : P_BUDAT LIKE BSID-BUDAT DEFAULT SY-DATUM." OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK AGE.
    rewars for help ful ans

    Hi Santosh,
    If your requirement is up to the selection date you'd better use a parameter (which can only hold one value).
    Then define a range in your program:
    DATA:
    zlt_budat_range TYPE RANGE OF budat,
    zls_budat_range LIKE LINE OF zlt_budat_range.
    zls_budat_range-sign = 'I'.
    zls_budat_range-option = 'LE'.
    zls_budat_range-low = pa_budat.
    APPEND zls_budat_range TO zlt_budat_range.
    .....AND budat IN zlt_budat_range.
    Regards,
    John.

  • Not all records are updated in DSO

    Dear Friends
         My Scenario is SAP - FM -> DataSource -> InfoPackage -> DTP ->Transformation - > DSO.
         I have 896 Records in my PSA , but when I run DTP to load the data in DSO only 817 records are added, rest records are not updated.  I have supplied
    Purchasing organization             0PURCH_ORG
    Purchasing Group                      0PUR_GROUP
    Vendor                                      0VENDOR 
    BW: Document Number              0DOC_NUM
    BW: Document Item Number      0DOC_ITEM
    Material                                    0MATERIAL
    Accounting document number    0AC_DOC_NO
    Item in Material Document         ZZEILE
    as key fields of DSO.
    can you suggest me what could be possible reason for not having all the records.
    Regards
    Naim

    Hi,
    is it full load?
    Have you applied any filters at dtp level?
    if its full load then delete whole psa data and dso data.
    reload them again and see the count.
    As per dso primary keys, same combination data will over write it.
    how many records count you see at dso-->manage-->request tab
    Added and transferred.
    Thanks

  • Master - some records : Detail - for only a few i(not all)records in master

    Hi
    I have a requirement like master and detail. However I do not wish to see the details of everything that is there in the master but only a few records (based on some criteria). Example:
    Id Desc Col3 Col4
    1 1 desc 1col3 1col4
    2 2 desc 2col3 2col4
    3 3 desc 3col3 3col4
    id col5 col6 col7
    3 abc def ghi
    4 4 desc 4col3 4col4
    How can I have such a layout in which detail shows details of only selected records present in the master?
    Any help appreciated big time.
    Thx!

    1. create two queries. master and detail and link on the fields of interest.
    2. on the layout, have repeating frames. one for the master and inside the master frame, a repeating frame for the detail.
    hope this is what you are looking for..

  • Disable few record in a table control not all records

    Hi 
    I have an internal table of   6 rows with table control .first field char 1 (ws_flag) which I am using for line selection of row in the table control .
    I have to disable some rows in a table control (user can not select or deselect it).
    I don’t want to disable all rows . I just want to disable some rows depending upon the condition .
    Loop at screen doesn’t seem to be working .
    I already tried the below given code .  how does Screen-name = column name this will besatisfied in  a table control.
    Set screen attributes for table control
      loop at zzhb6_0100 with control zhb6ctl
                        cursor zhb6ctl-top_line.
        module modify_screen_0100.
      endloop.
    Then:
    module modify_screen_0100 output.
      loop at screen.
        if screen-name = 'ZZHB6_SAL_PHASE2_S-ZZMERIT_AMT'.
          if zzhb6_sal_phase2_s-zzself_funded = 'X' or
             zzhb6_sal_phase2_s-zzmed_rec     = 'X' or
             zzhb6_sal_phase2_s-zztr          = 'X'.
            screen-input = '0'.                       "Display
            modify screen.
          endif.
        endif.
        if screen-name = 'ZZHB6_SAL_PHASE2_S-ZZMERIT_AMT_SP'.
          if zzhb6_sal_phase2_s-zzself_funded = 'X'.
            screen-input = '0'.                       "Display
            modify screen.
          endif.
        endif.
      endloop.

    When using table control, chances are you have some code like this in the screen flow logic of the screen.
    PROCESS BEFORE OUTPUT.
    * PBO FLOW LOGIC FOR TABLECONTROL 'I_WOODCAPCON'
    * MODULE I_WOODCAPCON_CHANGE_TC_ATTR.
    * MODULE I_WOODCAPCON_CHANGE_COL_ATTR.
      LOOP AT   I_WOODCAP
           WITH CONTROL I_WOODCAPCON
           CURSOR I_WOODCAPCON-CURRENT_LINE.
        MODULE I_WOODCAPCON_CHANGE_FIELD_ATTR.
      ENDLOOP.
      MODULE STATUS_0300.
    Notice the MODULE I_WOODCAPCON_CHANGE_FIELD_ATTR. in the above code, this is the module which will allow you to change the attributes of the cell per row.  Notice that this MODULE is inside the LOOP statement in the PBO flow logic.
    So here is the coding for the module.
    module i_woodcapcon_change_field_attr output.
      modify i_woodcap index i_woodcapcon-current_line.
      loop at screen.
        if i_woodcap-level = 'B'
          and  screen-name = 'I_WOODCAP-PDATE'.
              screen-input = '0'.
        endif.
         modify screen.
      endloop.
    endmodule.
    Notice here that my condition statest that if the LEVEL value for the row is "B", then I want to make the PDATE of the row "not ready for input".   'I_WOODCAP is the name of the internal table associated with the table control.
    Help this helps.
    Regards,
    Rich Heilman

  • Not all records displayed

    hi guys,
    i'm new in reports, my report has repeating frame the query returned correct result but the reports disply only one page with limited number of records although i set all frames to be variable in vertical elasticity
    regards

    Which version are you using ?
    Are you seeing this in builder ? Builder shows only 1 page by default. Did you try clicking "Next page" ?
    When you generate to html are you able to see correct output ?
    When you create a report using reports wizard what are you seeing ? Are you able to see correct output ?

  • End routine not updating all records

    Hi,
    I have an end routine to update a cube from another cube.
    The routine has two loops, one child loop inside the main loop. Result Package was sorted before the loops.
    Now, not all records were updated in the target infocube as per expectation. Also, when I pick one such record (that did not get updated) and debug, interestingly it shows that expected value has been assigned to the relevant field. And if I upload only that specific record to the cube, the record does get updated with expected value.
    The problem seem to appear only when the whole set of data is loaded.
    Any suggestion about the coding or further debugging will be greatly appreciated.
    Thanks,
    Pranab

    HI,
    check if u r using any internal tables, make this itab refresh at correct point.i tmight be sumtimes create problem.
    else paste ur code here...
    thnks.

  • Incomplete Data on report (report does not show all records from the table)

    Hello,
    I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
    Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
    I'm using CR XI runtime on Windows Server 2003
    Any help appreciated
    Thanks!

    Sorry Alexander. I missed the last line where you clearly say it is runtime.
    A few more questions:
    - Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
    - What is the exact version of CR you are using (from help | about)
    - What CR Service Pack are you on?
    And a troubleshooting suggestion:
    Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
    Download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    and follow the steps as described in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
    The download also includes instructions on how to use modules.
    Ludek

  • Data loads is not picking up all records

    Hello, wonder if anyone ever encountered the following problem.  I've been trying to load a flat file to BPC and for a year now, we've had no issues.  This time however, it seems that not all records were loaded, eventhough the status indicated the correct number of rows were successfully loaded.  Any ideas what may be causing this?  I've checked the conversion files, account dimension and nothing has changed.  Any help with this is greatly appreciated.  Ideas on how / where to check for potential trouble spots are all welcome.
    Thanks in advance.
    David

    Hello,
        If you are using the standard SSIS package import, the rejected record should be reported into the log file at the end. However, in order to see if there are rejected records or not, you can try to validate your transformation file using the same import file.
    You can also verify also the temporary files generated into D:\BPC\Data\Webfolders\APSHELL_Sorin\Finance\PrivatePublications. In this way you can find the right calues imported into the cube.
        How you check if data is loaded or not?
    Best regards,
    Mihaela

Maybe you are looking for