Number of expected records

Hi,
Is there a possibility in an ODI interface to set a number of expected records, that the interface should at least return.
I would need such an option and - if the number of records is less than the expected number a warning should be shown in the log.
Does anybody know if there is such an option in ODI?
Thanks,
H.

Hi H,
Few questions:
Should the interface fail when ( inserted records ) > (number of expected records).
Next one,whether warning message should get in operator or (in a flat file or table ).
If u want the warning message in flat file or table then its easy:
Keep the interface in a package.Add a variable after the interface where u can find number of records inserted for a purticular
interface using session information in work rep.
like
select NB_INS
from "SNP_STEP_LOG"
where SESS_NO = < %=snpRef.getSession("SESS_NO")% >
write a procedure where
case when var_val>(number of expected records) then inert message into tablename end
Thanks,
katukota

Similar Messages

  • Grey screen and "incorrect number of thread records"

    I think I am in trouble. My eMac will not boot and gets stuck on the great screen with the Apple logo and the spinning windmill. I have followed the instructions in the Apple help article up to but not including "archive and install". I tried the advanced secure boot and the messages I got over and over were "HFSSWAPHFSPlusBTIternalmode: catalog record #30 keylength=34 expected=144 node=15278 File ID=4 volume= Macintosh HD device=/dev/disk 0s 10"
    And
    "Jan31 12:00:35 Launched: /System /Library/CoreServices/Loginwindow.app/Contents/MacOS/Loginwindow Port/dev/console exited abnormally: Trace/ BPT trap"
    And
    Jan31 12:02:13 Launched: Getty repeating too quickly on port/ dev/ console, sleeping"
    I rest the PRAM and NVRAm as instructed.
    I booted from the OSX 10.4 install disk and ran the verify disk and repair disk sequences several times. It did repair a number of things but it kept coming back to "
    Message was edited by: Mont Rigaud Stud
    Itkept coming back to "incorrect number of thread records". Even after running repair disk again several times it came back to the same thing and said
    "the volume Macintosh HD could not br repaired after 3 attempts
    ERROR: the underlying task reported failure On exit
    1HFS volume checked
    1 vOlume could not be repaired because of an error
    Repair attempted on 1 volume
    1 volume could not be repaired"
    What should I do? I am NOT BACKED UP! How do I back up now? Can I usean external Hard drive? I really do not want to lose my photOs, email and business files.
    I am typing my question on my iPhone, so that accounts for the poor capitalization.
    Thanks
    Doug

    Will it boot in Safe Mode? See
    What is Safe Boot, Safe Mode? (Mac OS X)
    http://docs.info.apple.com/article.html?artnum=107392
    Takes a while to run, but it usually "fixes" problems.
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://docs.info.apple.com/article.html?artnum=106214
     Cheers, Tom

  • KEB2: "number of transfered records number of read records" why?

    Hi
    I have an extractor 1_CO_PA_1000. When I go to R/3 and look in KEB2 I can see that less records are transfered than read for 1_CO_PA_1000. This is not the case for every request - some times every read record is transfered.
    Does anybody have some ideas about how that can be?
    Kind regards,
    Torben

    Key Figure Model versus Account Model in CB COPA
    Key Figure model:
    Pros:
    •     Number of records is lesser as a result of having more key figures.
    •     Direct access to key figures during run time.
    •     Better data read performance as number of records is lesser - read time depends more on number of records than the size of records. Lesser records = shorter read time.
    Cons:
    •     Lack of flexibility when it comes to redesigning- additional key figure may need to be added.
    •     Length of each record is more as a result of having more key figures and may generate empty cells if not all key figure are used.
    Account model:
    Pros:
    •     Changes to data model can be made more easily. Does not require adding more key figures.(Please refer to the example)
    •     Length of each record is lesser.
    •     If a key figure is not being used, no additional record is added.
    Cons:
    •     Number of records is very high.
    •     Data read performance is affected as result of having more records.
    Example:
    If we want to assign multiple key figures (say different type of revenues) to a characteristic (say customer), we can use both the key figure model as well as the account model.
    Key figure model;
    Customer  Revenue1    Revenue2    Revenue3
       A               10                20                50
             B               10                                    40
    Account model:
    Customer   Revenue type    Revenue
             A                1                       10
             A                2                       20
             A                3                       50
             B                1                       10
             B                3                       40
    As we can see from the above example, the key figure model has lesser number of records than the account model. We can easily add an additional revenue type in the account model, because we do not have to change the data structure. In the key figure model, on the other hand, we must add an additional key figure to the structure.
    It is also apparent that the number of additional records in the account model depends on the number of key figures that are actually being used. If there are key figures that are not being used, then empty cells are generated in the key figure model but no additional records are added in the account model.
    The amount of memory required to store data depends on both the number and the length of records. The number and length depend on the model chosen. The key figure or the account model will require lesser memory depending on the relationship between record length and number of records. The key figure model is better when all or most of the key figures are filled up in each record. The account based model is better if we expect to have key figures that will not be filled up.
    For CB COPA, below two concerns started the conversation to explore key figure model.
    •     Expected additional duration during ETL (for transposing key figure model records into account model).
    •     Better performance with key figure model started the discussion to go for key figure model.
    But, below reasons are strongly driving towards account model for CB COPA.
    •     Key figure model does not offer the query flexibility which account model offers. With account model, a specific line in P&L can freely be selected and drilled down (Flexible column reports, for example).
    •     Account model tends to be easier to explain to user community. When some body drills down on Account in P&L, Account model will give amounts in transparent accounts. With key figure model, account drill down won’t be straight forward. (COGS value field in CB COPA won’t give corresponding COGS account number during account drill down).
    •     All other data models (CCA, Oracle data, Freight, Layers, and Adjustment) will be in account model and making just CB COPA to key figure model will result in complexity in query creation and maintenance.
    •     It has been tried and tested with satisfactory results with AB-COPA. If it ain’t broke, don’t fix it!!

  • Number for every record that is retrieved from (query)

    Hello
    I wish to put a number for every record that is retrieved
    from the record that is output by this query
    For example
    For the first recored/row
    Generated number, ksnumber, date
    1, gg111 11/05/05
    2, oo235 12/06/05
    the query returned 2 records 1 and 2 are the number that is
    generated with this code.
    In addition if there is a built in function, where in the
    code do I put it???
    <cfquery name="gelov datasource="kl90">
    SELECT
    FROM
    WHERE
    ORDER BY
    <cfswitch expression="#Form.orderBy#">
    <cfks value="KSNUMBER">
    KS.KS_NBR
    </cfks>
    <cfks value="CREATIONDATE">
    KS.KREATDAT
    </cfks>
    </cfswitch>
    </cfquery>
    <!---html report--->
    <cfswitch expression="#Form.outputFormat#">
    <cfks value="HTML">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Ctwye Kss Report</title>
    </head>
    <style type="text/css">
    table{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    td{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    th{
    font-family:Arial, Helvetica, sans-serif;
    font-size:10px;
    h2{
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    h3{
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    </style>
    <body>
    <cfoutput>
    <table border="0" cellpadding="3" cellspacing="0">
    <tr>
    <td align="center">
    <h3>Ctwye Kss
    Report</h3><br><br></td>
    </tr>
    <tr>
    <td align="center">
    </h2>report returned #getCtwyeKss.RecordCount#
    records</h2></td>
    </tr>
    <tr>
    <td>
    <table border="1" cellpadding="2" cellspacing="0">
    <tr>
    <td width="160">Ks Number</td>
    <td>Creation Date</td>
    <!--- <td class="dataField">Address</td>
    <td class="dataField">Type</td>
    <td class="dataField">Description</td>--->
    </tr>
    <cfloop query="getCtwyeKss">
    <tr bgcolor="<cfif currentrow mod
    2>GHOSTWHITE<cfelse>WHITE</cfif>">
    <td>#KS_NBR#</td>
    <td>#dateformat(KREATDAT,"mm/dd/yyyy")#</td>
    </tr>
    </cfloop>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    </cfoutput>
    </cfks>
    <cfks value="CSV">
    <CFHEADER NAME="Content-Disposition" VALUE="attachment;
    filename=ctwye.csv">
    <cfcontent type="application/msexcel">"Ks
    Number","Creation Date"
    <cfoutput
    query="getCtwyeKss">#ltrim(KS_NBR)#,"#dateformat(KREATDAT,"mm/dd/yyyy")#"
    <tr #IIF(getCtwyeKss.CurrentRow MOD
    2,DE(''),DE('backgroundColor="##999"'))#>
    <!---<tr bgcolor="<cfif currentrow mod
    2>##808080<cfelse>##ffffff</cfif>"> --->
    </cfoutput>
    </cfks>
    </cfswitch>

    <cfks> is not a Coldfusion tag. Use <cfcase>
    instead.
    The following code will print the row numbers
    <cfquery name="gelov" datasource="kl90">
    select ksnumber, date
    from yourTable
    </cfquery>
    <cfoutput query="gelov">
    #currentrow#, #ksnumber#, #date#<br>
    </cfoutput>

  • How to restrict number of Data Records from Source system?

    Hi,
    How can I restrict the number of Data records from R3 source system that are being loaded into BI. For example I have 1000 source data records, but only wish to transfer the first 100. How can I achieve this? Is there some option in the DataSource definition or InfoPackage definition?
    Pls help,
    SD

    Hi SD,
    You can surely restrict the number of records, best and simplest way is, check which characteristics are present in selection screen of InfoPackage and check in R3, which characteristics if given a secection could fetch you the desired number of records. Use it as selection in InfoPackage.
    Regards,
    Pankaj

  • How can I get the number of distinct records that each field of a DB table has?

    Hi everyone,
    I would like to know how to get he number of distinct records that each field of a DB table has. When tracing a SQL statement either in ST12 or ST05, in the plan execution, if the sentence made useage of an index, then I can click in the index name and see this kind of information (no. of distinct values for each field of that index).
    Can I do something like this but with the whole fields of a table?
    What I have found until now is in Tx ST10; I search for whatever kind of table statistics and then use the function of "Analyze table" (which takes me to Tx DB05). In here, I can enter a table and up to 5 fields in order to get the information that I want.
    Is there any other way to do this?
    Regards,
    David Reza

    Hi David,
    You can export the same to excel and sort as per requirement.
    Sorry is that what you are looking for ?
    Regards,
    Deepanshu Sharma

  • System Extract - Incrementing a sequence number in detail record layout

    I have a system extract for a bank that requires a file header, batch header, detail, batch trailer and file trailer record. The detail record is at the run result level as I am looking to choose all records for a particular deduction (savings bonds) and I also have to put employee ssn and full name. This is working fine. I also have to put a sequence number, ie. detail record layout is record type, length 2, string, record sequence number, 5, ?????, employee SSN, length 9, field, employee full name, length 9, field. I need to increment the record sequence number by one for each detail record in the file. Ie. detail record 1 has record sequence number of 00001, detail record 2 has record sequence number of 00002.
    What type of data element would I set up? For this particular field, I don't need to go against a database field, I only need to keep track of the previous record's sequence number so that I can keep incrementing by 1 until all detail records have been written. The batch trailer has a record count of the number of detail lines and that works fine because I've set that up as a type 'total' with a 'count' of the detail records. I also have in the batch trailer a sum of the pay values from each of the detail records and that works fine as subtrailers allow total data elements where detail records do not.

    You can use any of the below mentioned 2 options in the ctl (Control) file:
    1. SEQUENCE(1,1)
    2. "xxcust_autoinv_seq.nextval"
    where xxcust_autoinv_seq is a database sequence.
    Thanks,
    Angelica.

  • Maximum number of the "records" in: Aggregated bill and payment handling

    HI,
    currently we are dealing with proposal and design of processes/settings in area Aggregated bill and payment handling among distributor and suppliers.
    Do you have experience and/or knowledge with maximum amount of records in related processes , like:
    Supplier side:
    - the maximum number of the individual postings aggregated in agregated posting on the supplier contract account?
    - the maximum number of the of the aggregated postings included in aggregated bill (print document)?
    - and consequently the maximum number of the  individual print documents included and printed/sent in aggregated bill (print document)? Also in case, if the aggregated bill is send as IDOC with details ?
    - the maximum number of the IDOCS sent in aggregated IDOC?
    - the maximum number of the records in distribution lot created form aggregated billing?
    Distributor side:
    - the maximum number of the individual electronic bills posted in aggregated form on the supplier contract account during processing ?
    - the maximum number of the individual payments included in PAN?
    Thanks
    Tomas.

    Hi,
    I would not receive too many documents into an aggregated document (suppier and distributor side). Try to find an error in a distribution lot or payment advice note with more than 10000 items. You can use posting area R0070 and R0071 (TX FQC0) for limit the size of aggregated postings.
    Best regards,
    Alexander

  • Statusrecord 37:Sender partner number in control record is default

    Hi all
    I am sending MATMAS data from one R/3 to another R/3 in ALE.
    when i am testing it from we19..... I'm the data is not sent insted it is being saved in database.
    In WE05 I can see the following error.... and the lights are green.
    statusrecord 37:Sender partner number in control record is default
    Please help me
    Thankyou
    SIMON

    Hi Joergen,
    we also have similar problem to send out ordrsp. Could you tell me how to solve this problem as I saw tht this problem of yours has been answered.
    Thanks inadvance for your reply,
    Lily

  • EA608 EDI: Sender partner number in control record is default

    We have created some KU partners in WE20 for sending billing documents to the SD bill-to partner but is running into an output error EA608 (EDI: Sender partner number in control record is default) on the billing document when trying to create IDOC's.
    Settings on partner:
    Partner: 12345
    Partner type: KU
    Partner function: BP
    Message type: INVOIC
    Application: V3 : Billing        
    Output type: ZEDI : US EDI Invoice
    Process code: SD09 : INVOIC: Invoic
    EDI Standard         X  
    Message type         810        
    Version              004010     
    Any idea to what the problem is?
    BR
    Joergen

    Hi Joergen,
    we also have similar problem to send out ordrsp. Could you tell me how to solve this problem as I saw tht this problem of yours has been answered.
    Thanks inadvance for your reply,
    Lily

  • EDI: Sender partner number in control record is default

    Hello!
    Another problem... in SUS - MM, Plan Driven Procurement
    I try to send PO from MM to SUS. But in the messages I get following
    error: "EDI: Sender partner number in control record is default"
    Message no. EA608
    SAP Note Number: 111342 doesn't help
    the logical systems are maintained!
    Any idea about this problem?
    Kind regards,
    Barbara

    If this is in regards to an ASN:  Check to see if this customer buys several divisions or is relevant for one division only.  In our instance of SAP, we found that it didn’t go to the Customer Master division setup relevant  to the division on the ASN to get the ACCT AT CUST field, it went to the first in the sequence of divisions and got that ACCT AT CUST field information.  That information was not filled out as it was a new division and that is what kept the output from happening.    For example:   we had divison 02, 04, 06 and 08.   We added division 03 and extended all customers to division 03.     Those customers that only bought division 04 just stopped sending ASNS.    The ASN was for division 04, but SAP logic was retrieving the ACCT AT CUST information (SALES tab, not CORRESPONDENCE tab) for divison 03, but we didn’t have that filled out. 
    Hope that helps.  

  • How count number of item records in a File: Idoc to File scenario

    Hi All,
    I am configuring an IDOC to File scenario.
    Once all the IDOC data is dumped on a File, I need to calculate the number of Item records in this file and write this number at the end of the trailer record in the file.
    Is theer a way to calculate the item data records(or say number of lines in the file) in the message mapping area. Or any other simple way to do it.
    Appreciate your help on same.
    Thanks
    Shirin

    hi,
    Use the count function for ITEM node the assign this count value to the receiver field , keep the ITEM context to header!
    Thanks,
    Vijaya.

  • Number of available records in Oracle 10g express database

    Hi,
    I am facing problems in getting the number of available records in Oracle 10g express database with the following query.
    string filename = dbObject.FILENAME;
    string vendorID = dbObject.VENDOR_ID;
    OracleCommand myCommand = _connection.CreateCommand();
    myCommand.CommandText = "SELECT COUNT(*) FROM ASSET_PROCESSING_OUTPUT WHERE *FILENAME = :filename AND VENDOR_ID = :vendorID*";
    myCommand.CommandType = CommandType.Text;
    myCommand.Parameters.AddWithValue("filename", filename);
    myCommand.Parameters.AddWithValue("vendorID", vendorID);
    OracleDataReader reader = myCommand.ExecuteReader();
    Using this command how can I get if the record exists in the database with the given value.
    Thanks in advance.
    punit

    It appears you're only executing the statement. You need to fetch the result to see the value returned by the SELECT statement.

  • Number of Condition Records in Pur. Info Record

    I am trying to get the number of condition records in a purchase info record.
    using ME_GET_INFORECORD_CONDITIONS and also ME_GET_INFORECORD_CONDITIONS_1.
    ME_GET_INFORECORD_CONDITIONS_1 gives me the correct values when I try to test the FM.
    What is the diff between these 2 FMs.
    But when I use ME_GET_INFORECORD_CONDITIONS_1 in a report, it is not giving a correct value.
    Following is the code:
    DATA: IT_KONP TYPE KONP OCCURS 0 WITH HEADER LINE,
          WA_KONP TYPE KONP.
    DATA: coun TYPE i VALUE 0.
    "Get the number of condition record - should be useful in BDC call.
    CALL FUNCTION 'ME_GET_INFORECORD_CONDITIONS_1'
    EXPORTING
    I_EKORG       = 'U001'
    I_ESOKZ       = '0'
    I_INFNR       = '5300000320'
    I_LIFNR       = '200524'
    I_MATKL       = '001'
    I_MATNR       = '80141300'
    I_WERKS       = 'L001'
    *     I_VABME       =
    *     I_BSTME       =
    TABLES
    TKONP         = IT_KONP.
    LOOP AT IT_KONP.
    ADD 1 to coun.
    ENDLOOP.
    WRITE: / coun.
    The variable coun is always Zero.
    Reg

    The LIFNR in the input parameters should be L-Padded with zeros. In SE37 it does it by itself.
    reg

  • Confirmation error - Number of hours recorded  exceeds target hours 0,00

    Hello Friends,
    I am getting one error in service confirmation . Service confirmation did not go through R/3 properly.
    Also how system checks recorded hours against target hours ?
    We can find recorded hours in Actual duration column but where we can see targeted hours?
    Error message is described below , can you pl let me know what should I do to fix it.
    An error has occured in the system KRP810 while copying the document
    Number of hours recorded 57,00 exceeds target hours 0,00 (Notification W LR 206)
    Amount field has zero value in CO Document (Notification E 000)
    Updating could not be completed (Notification E S& 150)
    Pl advice.
    Nitin

    need to replace confirmation

Maybe you are looking for

  • Error while editing groups in Oracle Portal 3.0

    I get following error message when I try to add a user to a group: Unexpected Error in wwsec_app_group_mgr.edit_group - ORA-00001: unique constraint (PORTAL30.WWSEC_FLAT_UK) violated (WWC-41234) Unexpected error encountered in wwsec_api.add_user_to_l

  • In converting PDF to Word images well, text disappeared. Why?

    How can I get images and text together?

  • Creating New Entity Instances within OPA

    This is another one that I think I know the answer to, but I think it is best to confirm. In prior versions, it was not possible to create entity instances within RuleBurst/Haley Office Rules. Is that still the case in OPA? For example, my rules are

  • Additional Fields for Substitution

    Dear friends Is it possible to add additional fields for substitution in OBBH. When I checked in OBBH I didnt find the Document type in the available list. I want to substitute document type for each profit center wise for each transaction. Regards K

  • The job is experiencing a transient failure and processing may be delayed

    Hi, I get the following error (in the management services operation logs) every 10-15 minutes. What does it mean? Thanks. "The job is experiencing a transient failure and processing may be delayed" Correlation ID: 340f6e80-8559-4892-b61a-84bad23f947a