Timestamp field in Generic Data sourcce.

Hi All,
i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
or any other way to proceed.
Thanks
Rao.

Hi VS,
The following are the delta specific fields that can be  used while creating a generic data source.
1. Time stamp - The field is a DEC15 field which always contains the time stamp of the last change to a record in the local time format.
2. Calendar day - The field is a DATS8 field which always contains the day of the last change.
3. Numerical pointer - The field contains another numerical pointer that appears with each new record
Also the following are some useful links about delta setting in generic datasources.
|http://help.sap.com/saphelp_nw04s/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/frameset.htm]
Creation of Generic DS:[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]

Similar Messages

  • Timestamp field in Generic data source

    Hi ,
               I need , what field we used as a TimeStamp in Generic Data source. and also can any body explain how to set timestamp delta , in Generic & Co_PA data sources.please. If any body gives right answer I will assign points to them.
    thanks.

    Hi Leela,
    Pls chk this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    how to ...gds
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    1. Time stamp - The field is a DEC15 field which always contains the time stamp of the last change to a record in the local time format.
    2. Calendar day - The field is a DATS8 field which always contains the day of the last change.
    3. Numerical pointer - The field contains another numerical pointer that appears with each new record
    http://help.sap.com/saphelp_nw04s/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/frameset.htm
    *pls assign points, if info is useful*
    Regards
    CSM Reddy

  • More than one field in generic data source

    Hi All,
    We wanted extract Allocation data for the sales order from R/3 to BW. I am not able to find proper data source for it... there are two datasources..we wanted afs specific datasource
    2LIS_11_V_ITM  :  Sales-Shipping Allocation Item Data
    2LIS_11_V_SCL :  Sales-Shipping Allocation Schedule Line
    But its not reflecting allocated quantity at all...
    So we decided to create generic data source.. but there is one problem for some allocation ARUN is initial.. so i cann't use ARUN as delta field... can i use comination of  Sales order no,Item and Schedule line number as delta field....
    Because in RSO2 i can define only one field as delta specific field....
    How to proceed ???
    Regards,
    Viren.

    Hi,
    If you decided to use generic data source, make sure that, U'll have to take only
    one filed as a delta, I suggest, you take any date field rather than the value fields
    it may be created date/change date and so on so forth..
    Regards,
    Pattan.

  • Issue with Safety Upper limit for CALDAY Field for Generic Data Source

    Hi,
    I have given Upper limit as 1 for Calday field of one of the Generic Data Sources.
    I have got a doubt here.If today's load got failed and I will rerun the load next day.So Will that new run captures all 2 days records.
    Can any one advise me on this.
    Regards,
    K.Krishna.

    Hi,
    A one-day upper safety interval determines that an extraction run today, only fetches records up to yesterday (if the pointer has the day before yesterday date, the extraction comprises from the day before yesterday to yesterday).  This is meant to avoid missing records that were about to be persisted in the database when the delta extraction is running but whose date was determined in memory before the delta started.
    If pointer has today date value and you want to load data from today and yesterday, you should use a lower safety interval.  Take into account that this could reload data previously extracted.  Therefore, only InfoProviders with overwritting features (DataStores or InfoObject master data) should be used as targets of this extractions.
    You can find further details at:
    http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
    I hope this helps you.
    Regards,
    Maximiliano

  • Time Stamp Delta field for Generic Data Source

    Hi Experts,
    I have a requirement to create a Generic Data Source based on view. This view on PA0006 and PA0105 tables.
    Will you please suggest me which field i have to take as delta field.
    Thanks In Advance.

    Also, make sure that whenever a new record is created in those tables, field AEDTM is getting updated with system date else you will miss new records in delta unless there is a change in those newly created records.
    Regards,
    Gaurav

  • Currency field in Generic Data Source

    Hi All,
    I have a case here, where i have few Amount field in my Generic Extractor which is based on a table ZXXX.
    Now the key figures have 0currency appended in theie currency tab which is coming from table ZYYY, now while saving the data source is giving error that the extract structure is not proper, reason being the base table has no currency field and the kf's need to have one currency field to assign to it which is coming from some other table.
    One sloution is create an FM based extractor, but we dont want that.
    Can any one suggest any work around without any FM or View??
    Thanks,
    Neha.

    if your table have currency field with different reference table and field mean
    you have to create view
    Diagnosis
    You tried to generate an extract structure with the template structure eg:XXXX(table). This operation failed, because the template structure quantity fields or currency fields, for example, field XXXX(fileld) refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
    1.Create the view
    2.Add the currency field and currecy key field also
    3.Create the generic data source in RSO2
    Regards,
    G

  • Delta field in generic data source

    Hi,
    in my data source we contain fields are :
    clent,data record number,material,production planning item,sector,G/L account,chart of accounts,recordmode,base unit of measure
    from above fields which field was i have to keep in  generic delta ?

    Ok Ramakrishna,
    I could see its a custom data source by looking at the fields you have mentioned..
    But you need one date field or time field..on which u want to do delta..
    How will you post the data to BW ,ie. based on what field?
    Characteristics like Sales Number, Invoice Number,etc which holds unique and increasing value every time are used as Numeric Pointer.
    But one problem with this Numeric pointer you cant update the existing records because for every transaction you have to give a Unique numeric pointer value

  • Urgent: Add field in generic data source

    Hi,
    Could anyone please help me out in resolving the issue to add field from different table in generic datasource.
    How can I add it in R/3 data source when a function module was created in ABAP to generate fields from PLPO table?
    Whatz the changes has to be done at BW side to map the added field?
    <u>Requirement</u>
    1) Need one more field in the extractor. Field name is PLAS-LOEKZ. Initially client wanted me to add PLPO-LOEKZ which I added, now he needs the same fields from both the table (PLAS and PLPO).
    2)The name of the extractor/structure is ZBW_ROUTINGS_OPERATION
    3)Now, we need to add this field (LOEKZ from PLAS) in the function module as well. FM name is: Z_BW_ROUTE_OPERATION_EXTRACTOR. This will be in a SELECT query. We need to add this field in the SELECT statement.
    Testing will be done in following steps
    1)     Go to Transaction RSA3.
    2)     Enter the data source “Z_BW_OPERATION_ATTR”(not sure about the name though, but it should end with OPERATION_ATTR)
    3)     Enter the following details:
    EXTTY – I
    PLNNR – 50000032
    PLNTY – N
    4)     Now execute (F8) the transaction.
    5)     Click on “Display List”
    6)     In the output, we should be able to see these 2 columns(PLAS-LOEKZ) and (PLPO-LOEKZ)
    Please send your valuable suggestions to resolve the issue ASAP as its damn urgent.

    Hi,
    Here is an overview of the solution -
    Use T.Code SE11> ZBW_ROUTINGS_OPERATION. Add your new field (PLAS-LOEKZ) to this table, check, save, activate. Edit your function module, SE37> Z_BW_ROUTE_OPERATION_EXTRACTOR and add your code to look up the correct value of this field LOEKZ from the table PLAS, check, save, activate. (Note that SAP provides a sample function module you can use as a template and customize for your requirements. This sample function module is RSAX_BIW_GET_DATA_SIMPLE.)
    Your Generic DataSource Z_BW_OPERATION_ATTR  is already created, you don’t have to change any settings here. Just regenerate it in RSO2. Now test the extraction for the DataSource in RSA3.
    Hope this helps
    Sandeep

  • Delta field for generic data source based on view EKBE

    Hello,
    I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
    Thanks for the help.
    Praveen

    Hello Ajeet Singh,
    Thank you very much for the reply.
    I will go ahead with CPUDT.
    BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
    CPUDT is the date on which document was created/changed.
    Thanks,
    Praveen

  • Timestamp field in BAM dataobject

    Hi,
    There is requirement for us to find response time of a service in milliseconds. For this we need to insert two timestamp fields in BAM data object. But BAM is allowing us to include only one Timestamp field in a data object.Is there any other work-around to overcome this problem.

    Hi,
    UPMOD     Record Mode -- check there is a filed record mode which will handle the images.
    Check the help link
    http://help.sap.com/saphelp_nw70/helpdata/en/be/928f40f5767d17e10000000a1550b0/frameset.htm
    In the delta process, the DataSource transfers the record data with the new status in each case. For this reason, the data cannot be updated directly to the InfoCube. The update is only possible using the ODS object (update with MOVE).
    For safety, the delta process uses a lower interval setting of one hour (this is the default setting). In this way, the system always transfers all postings made between one hour before the last delta upload and the current time. The overlap of the first hour of a delta upload causes any records that are extracted twice to be overwritten by the after image process in the ODS object with the MOVE update. This ensures 100% data consistency in BW.
    For deltas settings
    you can make important global settings in SAP R/ in the table BWOM_SETTINGS.
    Check the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/41/4b73415fb9157de10000000a155106/content.htm
    Regards
    KP

  • How to get the time difference (in seconds) between two timestamp fields?

    Hi All,
    I'm exploring validation expressions in SAP MDM Data Manager version 7.1.07.245
    I have two timestamp fields, suppose Update Date and Update-GDS.
    What I'm trying to do is prompt a warning when:
    (Update Date minus Update-GDS) is greater than or equal to zero seconds
    AND
    (Update Date minus Update-GDS) is less than or equal to 900 seconds
    the bottomline is, Update Date must be equal or greater than to Update-GDS but Update Date must not exceed 900 seconds difference.
    my initial try was:
    (Update Date - Update-GDS)>=0 s AND (Update Date - Update-GDS)<=900 s
    But it always returns true even the time difference between update date and update-gds is beyond the condition.
    Can you please guide me through this?
    Thank you very much in advance.
    Regards,
    ~erwin

    Hi Abhishek,
    I tried your code but it always returns true.
    It seems subtraction of timestamp fields do not actually get the time difference... (in seconds)
    Is this possible anyway? Or is there any other better approach on this?
    Thanks,
    ~erwin
    Edited by: erwin.j.rivera on Dec 14, 2011 8:40 AM

  • Delta On CALDAY Filed for Generic Data Source

    Hi,
    I have enabled delta option on CALDAY Field for Generic Data Source.
    I thought of giving Safety Interval for Upper Limit as 1 and Safety Interval for Upper Limit as ZERO.Would you please advise me on this, This fetches all delta data?.
    Would you please advise me on this.
    Thanks and Regards,
    K.Krishna Chaitanya.

    Hi Krishna,
    If your delta enabled field is Date then try this,
    Safety Interval Upper Limit                                                                     Calend. Days
    Safety Interval Lower Limit                         1                                        Calend. Days
    Then test your delta, will get good result.
    I created 4 GDS with this safety interval and working fine for me.
    regards,
    Kiran

  • How to get  generic delta using timestamp field

    Hi All,
    i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
    So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
    or any other way to proceed.
    Thanks
    Rao.

    Hi Rao,
    Delta based on timestamp based on generic datasource only works if any one of the tables contains timestamp field(not time and date fields separately).
    I dont think by combining date & time fields will give you correct results.
    Regarding time zone: Use SAP system time zone.
    Srini

  • How can I create an index on the date part of a timestamp field?

    is there a way I can create an index on the date part of a timestamp field?

    LONGENECKER wrote:
    Idea:
    If you find no direct command that allows you to create an index on JUST the date portion of a timestamp datatype column then I recommend you consider splitting date and time into two seperate columns.
    If date is column "A" and time is column "B" then you can concatenate them using a view or virtual column (in 11G) to re-assemble them at run time.
    In the solution I describe above you might trade ease of management for better performing queries.
    Additional Info:
    This thread may be of some value.
    Can we create INDEX on TIMESTAMP column???
    And what datatype do you propose for your columns A and B? The only proper datatypes would be DATE or TIMESTAMP. Both of these inherently carry both date and time components, so that would have to be dealt with anyway. The use of any character or number datatype to hold date and/or time should be treated with an application of Billy's lead pipe.
    Perhaps function based indexes would be a better solution.

  • Generic data source with float field possible?

    Hello,
    when creating an generic data source using a view with a float field I get error R8359 (extract structure: You tried to generate an extract structure with the template structure .... This operation failed, because the template structure quantity fields or currency fields, for example, field ... refer to a different table.).
    I changed the data element from ATFLV to e.g. FLOAT but it did not help.
    SAP hint 335342 deals with this issue, but I just want to use the float number without the unit.
    Is this possible or do I need to write a function module?
    Best regards
    Thomas

    Hi,
    you could try to add the unit table and field to your view. When saving the datasource in RSO2, you can choose to hide these fields if you don't want them extracted into BW.
    Regards,
    Øystein

Maybe you are looking for

  • How do I save pictures and videos taken on my i-phone to my pc or backup storage device?

    Hello, I am trying to save my pictures and videos that I have taken on my i-phone to my computer or some sort of backup device.  I am afraid in case my i-phone is lost or broken that I will have no permanent record of precious family footage.  What a

  • Analog to digital sound input

    I have a Mackie mixing board sending a stereo signal to a Sony DVMC analog to digital converter box. I can capture audio in FCP (although I can't hear it via headphones while capturing) but it plays back fine. I'm trying to get soundtrack or garageba

  • Function apec

    Experts:- (we are searching for the job in sap fi/co if we have any doubts, will posted in this website) Now days almost interviewers, is asking difficulty question, and twisted,questions some interviews, behavior is also inconvenience, so I faced so

  • User manual or ebook for Business Explorer 7.0

    Dear All, I have recently installed BI7.o server, and found some of the new features in BEx. I want to know the functionality of these new features. Is any user Manual available which explains all the Features and Functionalities, if yes pl. help me

  • Manager cannot see Candidates for assessment in MSS E-Recruiting.

    Hi All, Hope everyone is ding good. I have an issue in regards with Candidate Assessment by Manager.  Please have a look into this. I was able to create Requisition and External application from Recruiter dashboard. I can also complete all the activi