Data Record Number Field in PSA

Hi,
There is a field " Data Record Number" in every PSA. This field is howeven not part of the DataSource.I need to bring a counter like this into the Cube that counts all unique records (i need to setup a COUNTER using a unique key). Is there a way of doing that?
Thanks

Hi davy,
To get counter of records,
you have to write a routine.
so for this make an infoobject of name counter and add this field to your cube.
then go to update rule and write update routine for the above infoobject like
if condition is true
result = 1
else
result = 0.
the sum of all 1s will give the no. of records.
Hope this will help you.
thanks.
Saurabh Jain.

Similar Messages

  • How to get the Data Record Number in BI 7.0?

    Hi All,
    In our requirement we need to load the Data Record Number in the DSO. I got the Request ID and Data Packet Number but not the Data Record Number.
    Does anyone has any idea?

    Hi......
    When the data is activated in DSO, it is written to the table of active data, where it is then available for reporting. Requests are sorted by the key of the DataStore object, request ID, data package ID, or data record number.
    You just load the data to the DSO.....and activate it.......it will autometically get generated.......You cannot load it from one DSO to other beacuse in this case Change log table is used........and this filed is in active table..........I think you need this fir reporting purpose.....so load it and activate the DSO......then it will be available in your active table for reporting.........because reporting is done on active table.......
    Check this link :
    http://help.sap.com/saphelp_nw04s/helpdata/en/a9/49453cabf4ef6fe10000000a114084/frameset.htm
    Hope this helps you....
    Regards,
    Debjani....
    Edited by: Debjani  Mukherjee on Sep 16, 2008 5:22 PM
    Edited by: Debjani  Mukherjee on Sep 16, 2008 5:25 PM

  • Which table include duration&data records number for each nodes in PC?

    Hi Experts,
    Now I am on Process Chains maintenance work, I need daily record a very huge infopackage process chain's each nodes more then 50 infopackage, record something like duration ,data records nubmer for each infopackage. I need check this one by one in process chain, and my question is do you know this infomation record in which table in BW system? if i know it I will write a program to get it in one time.
    Thanks in advance!

    Hi,
    You can find the information about the process[as you said nodes]  in his tables ,
    RSPCPROCESSLOG - Stores complete information about the finished process
    RSPCPROCESSINSTANCE - Stores the meta data for the successor process..it also has the runtime
    RSPCVARIANT and RSPCVARIANTATTR - the succesor process reacts to the event
    Process chain related tables are start with RSPC*.
    under Settings ® Maintain Process Types (table RSPROCESSTYPES).
    Pls chk this link;
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    Other tables used for Process chains:
    http://wiki.sdn.sap.com/wiki/display/BI/ProcessChainTables
    Thanks
    Hemav
    Edited by: hemav on Aug 4, 2010 7:38 AM

  • Automatically generate sequential record number field for Z table

    Hi Experts,
    I have a Z table that I would like to add a "record_number" field to, because we are having an issue with duplicate entries not being created in the table.  Is there a way to add that field to the z table and have the system automatically assign a value when the insert statement is made?
    Thanks
    Shane

    Hi Shane,
    You can use the transaction SNUM to create a number range for your custom table. You can assign your invervals to whatever limit you would like. Once you create this range you can then call the function module below to get the next number before the insert (lv_object is the name of your number range and lv_number will export the next sequential number)
      CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr                      = '01'
          object                                = lv_object
        IMPORTING
          number                              = lv_number
        EXCEPTIONS
          interval_not_found            = 1
          number_range_not_intern = 2
          object_not_found              = 3
          quantity_is_0                     = 4
          quantity_is_not_1              = 5
          interval_overflow              = 6
          buffer_overflow                = 7
          OTHERS                             = 8.
      IF sy-subrc <> 0.
      ENDIF.
    Six

  • Form Letter Report - How To Format Date and Number Hidden Fields

    Hi
    Is it possible to format date and number fields in a form letter report. This case were Paper Design shows fields as $<hire_date>. The examples in reference book only print character values which do not require formatting. I cannot determine how to achieve this. Cannot select fields from Paper Design view as per other report styles where can apply formatting. Do I have to perform formatting in the query to return date as string in format I wish for? This is not case for other report styles.
    Thanks

    you could add a field, set the source of the field to hire_date (assuming hire_date is a column in the data model), and put a format mask of whatever format you want. then set visible to No.
    then instead of &<hire_date> you can instead type &<name of your new field>.

  • Date and number display format

    Hello all,
    I am new to Adobe Form, and I am quite unimpressed with how difficult it is to do the most simple things.
    I have managed one way or another to solve all my problems until now, but this one got me stuck.
    I have date and number fields in my form, and here is what I want to do but cannot:
    - I need these fields to be displayed using the defaults date and number settings of the SAP user who is generating the form. This one is really hard for me to figure out.
    - I need some other fields to be displayed in a specific format depending on a variable in the context of my form. I imagine this could be done using scripting, but how to change the display format of a field via scripting?
    Anyone has an idea of how that can be achieved?
    Thank you.

    Hi Thomas,
    For these kind of issues you will get many answers if you search the forum.
    If your requirement is to display the current date in the form, just drag and drop the "Current date" UI element from the Library palette -> Custom.
    If it is to get the date from SAP and display, pass date to the context node and just drag and drop the field into the form from the data view.
    Check the following wiki by Chintan. It explains some common scenarios in javascript.
    [JavaScript Part 1|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartI]
    [JavaScript Part 2|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartII]
    Use an 'if' condition, check the value and based on the value you can make the field hide/visible in the form.
    Hope this will help.
    Thanks & Regards,
    Sanoosh

  • Duplicate Condition Record Number !

    Hi Experts,
    I have a question on condition record number:
    I have a Material SH00001 in  more than one Sales Orgs. Example: MTD and NTD.
    1. Is it possible SAP generates the same condition record number (field- KNUMH) for both sales organisation when I created two records separately at VK11 for each sales orgs for price?
    2. Is it possible SAP automatically generates two condition record numbers when I create a ccondition record at  VK11 (for price )
    for a material SH00001 for a sales org MTD for two unit of measures. (e.g PC and KG)
    3. Is it possible SAP automatically generates two condition record numbers when I change a ccondition record at  VK12 (for price )for a material SH00001 for a sales org MTD from one unit of measure KG to PC??
    Thanks

    Hi
    For one condition record in VK11, system will create one number. And if your are creating new record with slight difference, new number will generate.
    Conclusion, no two condition records can have same number.
    Secondly, if you change record in VK12, record number will not change.

  • Adobe Forms: date and number display format

    Hello all,
    I am new to Adobe Form, and I am quite unimpressed with how difficult it is to do the most simple things.
    I have managed one way or another to solve all my problems until now, but this one got me stuck.
    I have date and number fields in my form, and here is what I want to do but cannot (beware, it is impressive): I need these fields to be displayed using the defaults date and number settings of the SAP user who is generating the form.
    Anyone has an idea of how that can be achieved?
    Thank you.
    Moderator message: please post again in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Feb 24, 2011 1:53 PM

    Hi Thomas,
    For these kind of issues you will get many answers if you search the forum.
    If your requirement is to display the current date in the form, just drag and drop the "Current date" UI element from the Library palette -> Custom.
    If it is to get the date from SAP and display, pass date to the context node and just drag and drop the field into the form from the data view.
    Check the following wiki by Chintan. It explains some common scenarios in javascript.
    [JavaScript Part 1|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartI]
    [JavaScript Part 2|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartII]
    Use an 'if' condition, check the value and based on the value you can make the field hide/visible in the form.
    Hope this will help.
    Thanks & Regards,
    Sanoosh

  • Data statistics | Number of  Records passed how can I remove?

    Hi,
    on several standard output there is, on first page, as example... for BOL printing there is:
    Data statistics Number of
    Records passed         70
    How can I remove it? Each time is a printed page than go on trash.
    Regards.

    Sadly, the only way I know of is that this has to be done PER USER with the instructions below. We had all of our users do this when we went live.
    1.Navigate to a screen in SAP that produces a statistics page when you print.
    2.Start printing the page as normal.
    3.Enter the printer that you would like to print to.
    5.Click on the Properties button.
    6.If a screen appears about line format, click the Green Checkmark (Continue).
    7.On the next screen, click the Specifications button.
    8.For Field name select ALV Statistics.
    9.Click on the Pencil Icon (Change) to the right of the Field default value.
    10.Uncheck the box ALV Statistics
    11.Click the Green Checkmark.
    12.Click on the Copy settings button.
    13.An entry in the box below the Copy settings button will appear.
    14.Click the Green Checkmark to continue.
    15.Click the Green Checkmarks as they appear to save the settings and print your document.  You will need to do this on several screens.
    16.The one page statistics report will no longer print with your documents.
    Brian

  • How to fill the segment name field in a data record

    Hi All,
    I am using pure java (jco) (not XI) to send idoc to R3. I know how to check the definition of Idoc type by using Tcode - we30, we05, BD......
    I am wondering if someone on this forum has the onhand experience about the following question:
    The "segment name" field in a data record should be filled with "Segment type" or "Segment Name". Sounds silly? huh? But this question is not always clear for me.
    For instance, E1MBXYH - Goods movements for Mobile data entry.
    There are three versions - E2MBXYH, E2MBXYH001 and E2MBXYH002.
    Should I use "E1MBXYH" or one of E2MBXYH, E2MBXYH001 and E2MBXYH002?
    I appreciate that you could give me a clear explanation.

    The EAN / UPC fields are part of the material master .. So if you hahve this fileds filled in MM02 , then automatically these fileds are taken where ever the material Number is referenced

  • ODS - Number of Active Data Records count?

    Hi,
    I am having a ODS. In manage screen of ODS, i can able to see the records as shown bellow:
    Transferred records: 352053
    Added Records: 1836
    But the number of entries in Active Data of ODS is only 471 records.
    My question here is that why Added records (1836) are not equal to number of Active data records (471)? Where i am missing or is it correct?
    Best Regards,
    Venkata.

    Hi,
    Have you completed the Activation of ODS data after uploading? If no see the entries in NEW records' table of ODS.
    If you have activated already,still there is a chance to have different count, because of no of records with same value of KEY fields but exist in different packets.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar

  • [AS] Trying to change Single Record number under data merge?

    Any help would be great?

    This is where I am trying to go with this:
    tell application "Adobe InDesign CS3"
    tell data merge 1 of document 1
    tell data merge preferences
    set record selection to all records
    set records per page to single record
    set record number to 3--or any number or i value I want to repeat with
    end tell
    end tell
    tell document 1
    tell data merge properties to merge records--and merge that one number
    end tell
    end tell
    Setting the record number actually changes the field for single record but when I try to merge said number it does all the records. I am sure its an ordering thing but it is still causing some head scratches. You've all been really helpful with an area that doesnt seem to be detailed anywhere.
    Any help would be great. Thanks.

  • 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

  • Issue with field data type NUMBER(22,5) while updating field data.

    Hi,
    I have a field with data type NUMBER(22,5).
    While inserting or updating field data it should take 17 digit and after decimal point 5 digit total 22 digit.
    I set 22 for maximumLength property of messageTextInput field.
    While updating field I am getting following problems,
    1) I provide the value as 1234567890123456789012 (22 digit) and click apply button.
    then I got error message as
    Error
    मैकेनाइजड दो पहिया/तीन पहिया वाहन - Value 1234567890123460000000 exceeds the maximum allowed value (NUMERIC (22, 5))
    2)then I insert 12345678901234567.1234 (17 digit before decimal point and 4 digit after decimal point and it didn't accept 5 digit after decimal point) and click apply button.
    It insert the value as 12345678901234600 (value changed after Apply)
    The I tried with simple SQL insert statement to insert data and it successfully insert 12345678901234567.12345 value.
    Any item property I missed here to set?
    Please suggest.
    Thanks & Regards,
    Sagarika

    hi
    according to
    " then I insert 12345678901234567.1234 (17 digit before decimal point and 4 digit after decimal point and it didn't accept 5 digit after decimal point) and click apply button.
    It insert the value as 12345678901234600 (value changed after Apply)"
    this statement ,it seems that it is definitely applying round or somthing like that function in the code before inserting value in the table("try with select round(12345678901234567.1234 ) from dual u will get the same result = 123456789012345600 ") ,
    bcz u r able to insert the same directely into the table using insert statement so kindely have look on the code if something like this is not happening there.try to check code in related EOimpl class
    try to to use debugging mode ,and the 23 char problem is related to maximum lenghth of text box make it 23 it will get resolved and u will be able to enter 17 digits with 5 digits after decimal point
    thanx pratap

  • Error message "EDI: Field SEGNAM in data record is default"

    Hi all,
    I am facing issue in Idoc creation. I am getting error message saying 'EDI: Field SEGNAM in data record is default' and so Idoc is not getting created.
    Can anybody tell me how to resolve this. I checked in debugging mode and found that this error message is coming from a standard program.
    Waiting for some good replies.
    Thanks,
    Archana

    Hi,
    Yes, it is getting displayed from FM 'EDI_SEGMENTS_ADD_BLOCK'.
    But not getting any clue how to resolve this as it is getting displayed from standard program.
    Any clue on this?
    Thanks,
    Archana

Maybe you are looking for

  • How to calculate a value in sap script?

    Hi friends i have to do addition and then display the added value in grandtotal like total amount + late fee = grand total i have to do this in sap script can anyone tell me the procedure where to declare wheather in abap aditor if yes how?

  • TS1381 how to connect keyboard to imac when imac is locked.

    cannot use my iMac.

  • System Monitor for PXI 4-Slot Chassis

    Hi all, I have PXI 4-Slot and PXIe 5-Slot system, which are currently being used for continuous monitoring of some power parameters. Recently, there's a requirement for us to actually monitor the status and health of these PXI systems. I was told tha

  • Connecting ipod to digital slr camera

    i purchased a ipod camera adapter and attempted to load photos from my canon digital slr but it was unsucessful after three attempts the first wich recognised the photos but did not show them or load them the second that loaded half the photos then l

  • Deployment very slow since moving to OWB 10.1.0.4.0 on new server

    We recently moved our OWB development from a Windows box running OWB 10.1.0.2.0 client/10.1.0.1.0 repository to a Linux box running OWB 10.1.0.4.0 client & repository. The other change was from using separate schemas for the design and runtime reposi