Date infoobject in ODS...

Hi,
I have a characteristic infoobject of type Date, it is a part of an ODS. The user given date for this infoobject in the format of mm/dd/yyyy. I want to load this into ODS. I wrote a ABAP routine in the transfer rule, but it fetches the only the 8 chars from the date ie.,mm/dd/yy. Is there any way to fetch the full of 10 chars to the routine?
Thanks in Advance!

hi sureshkumar,
We have to use Variable lenth which was assained to Result change to 10 ( Insted of taking 8).
Do like this it may work.
Char <b>v_date(10</b>), i_date(10), day(2), month(2), year(2).
i_date = trans_stru-<your date>.
month = i_date + 0(2).
day = i_date +  4(2).
year = i_date + 6(4).
concatenate month'/' day'/'year into v_date.
Result = v_date.
Try with this code it may work.
Thanks,
kiran.
Message was edited by:
        kiran manyam

Similar Messages

  • Change the infoobjects from Key fields to Data fields in ODS.

    Hi ,
    I want to change the few infoobjects from Keyfields to Datafields in ODS.
    When i drag the infoobjects in ODS edit screen , then i am getting  small pop up..states that "cannot move/delete the Lock objects".
    Plz reply me
    Prasanna

    Hi Prasanna
    Delte the existing data in ODS before doing modifications..
    Regards
    R M K
    Assining points is the only way of saying thanx in SDN ***

  • Remove infoobject from ODS

    Hi all,
    I wanted to replace an old infoobject(which it's using in report) with the new one that i created in ODS.To do that i deleted the data from the ODS and mapped the transfer rules with the new infoobject.and scheduled the Infopackage of the new one and everything was green.Now,
    1.i don't see any data in my ODS.
    2.when i rt.clk on ODS and go to manage i still see that it has the old Infoobject in it.How do i refer it to the new one?
    And why isnt there any data in ODS?i did schedule the package and everything was green.In the manage of ODS i see there is no request in the bottom screen.Is that the problem?Am i doing anything wrong?
    Plzz help me.
    Thanks.

    "I wanted to replace an old infoobject(which it's using in report) with the new one that i created in ODS.To do that i deleted the data from the ODS and mapped the transfer rules with the new infoobject."
    Q: Did you add the new InfoObject to the ODS (as a key or data field?)
    "...and scheduled the Infopackage of the new one and everything was green.Now,
    1.i don't see any data in my ODS."
    1) Check the requests in the ODS (right click on your ODS and go to Manage).  See if the request from the scheduled infopackage is there.  Also...
    There are 3 tables in an ODS.  One of these tables in the 'New Data' table.  This is where your data goes after you schedule an InfoPackage.  Another Table is the 'Active Table'.  Once the ODS data has been activated, the data is moved from the 'New Data' table to the 'Active Table'.  If you go to the Contents tab in the ODS, you'll be able to view these tables.
    There is a chance that hte data went into the New Data table, and the ODS data hasn't been activated yet (why you can't see the data).  If you are sure you activated the ODS Data, and there is no data in the Active Table, check your InfoPackage for the following:
    1) In the Processing Tab, make sure that it has (PSA to Data Target) selected. 
    2) In the Data Targets Tab, make sure that the ODS is selected.  
    This should help you figure out where your data is...
    -Brendon

  • Basic question on Master data reporting on ODS

    Hello All,
    Recently I had a requirement, where they need to see the master data report ( with its attributes and attributes of attributes (transitive attribute)). Hence I loaded the master data on a ODS, to turn on the Navigational attributes.........
    For e.g.:  Requirement:
    Master data :                       0EQUIPMENT
    ATTRIBUTE:                        0SHIP_TO
    ATTRIBUTE of ATTRIBUTE:  0SHIP_TO_REGION
    Question: The report is working fine...... but I have a doubt whether the report (built on the ODS with no Key figures) will populate the master data for which there is no Key figures are maintained in ECC???
    Please let me know your ideas and views.......

    Hi........
    I think it will be better if u use Infoobject to store master data......here also u can turn attributes to Navigational attribute....u can activate that  infoobject as dataprovider and do the Reporting as you do it now for the ods object. .........The master data approach will additionally give you the possibility to add navigational attributes to fulfil more reporting requirements..........In RSA1.............Infoprovider >> Right click >> Insert that Infoobject as Infoprovider............
    Regards,
    Debjani.......

  • Adjusting the SID table for master data infoobject

    Hai
    Im trying to activate one master data infoobject. But it says the error like below
    <b>The SID Table /BI0/SBBP_DELREF must be converted incompatibly with an activation of characteristic 0BBP_DELREF (changes to the key in the table). Table /BI0/SBBP_DELREF contains data. Parts of this data were lost in the conversion</b>.
    or
    <b>Undo the changes that led to the incompatible conversion (the changes in the key) or delete all data from table /BI0/SBBP_DELREF.</b>
    So how can i adjust the SID table for this .
    pls tell me
    kumar

    Hi,
    you'll have to delete ALL the master data for this IObj. Therfore you'll have to
    delete all data in ALL the IObjs using 0BBP_DELREF (ODS, CUbes and characteristics).
    Then activate your IObj. You will go through some step which I explained in the
    following thread
    Re: Urgent...Company Code lenght has been changed
    Extract:
    1. Delete 0COMP_CODE master data.
    - get objects list using 0COMP_CODE with loaded data: I suggest to delete
    master data via AWB (right click the characteristic). If it can't be deleted because
    it is used display the deletion log (via AWB or tx SLG1 / RSDMD, MD_DEL).
    - delete loaded data for the list above.
    This should not be too much since you are in DEV.
    2. change 0COMP_CODE length
    - change the length to 4;
    *- Activate your IObj. You'll get a popup log, validate. Activate despite warning and
    errors. You will get An error message, validate.
    You should get an horizontal pane with the activation log. Read it for your personal culture but if you don't have time then don't...
    - Next the system will prompt to convert the tables: answer YES. The system will ask to schedule the table conv. in the background, go4it.
    - next is the SE14 screen for the P table: Hit Activate and adjust (Direct
    execution, or in the back as you wish). Answer yes to the mass processing
    question and yes (again) for request adjust online. Your table should be converted successfully.
    - go back twice from this screen (leaving SE14 tx and return to RSD1). reread the update log if you wish.
    - repeat from the *- above... it will perform the very same for all other P tables of IObj using 0COMP_CODE and the 0COMP_CODE S table.
    Your IObj is reactivated again. So should your ODS/DSO objects (check activate for example). Cube didn't need to convert tables since the MDID is note posted in any table of a cube.
    Please note that once your IObj is in revised version you can perform the same via the menu extras / database table / convert all (see my previous post).
    Now you have to evaluate the task. Of course that is a work to fix the mistake.
    Depending on when it has be changed it may be worth to restore your DEV sys with a backup (loose work performed from the backup until now).
    hope this helps... otherwise, revert.
    Olivier.

  • Master data text and ods

    can i load the master data text and ods parallely?

    Hi Abby,
    If your ODS contains a characteristic value of an infoobject and you want to load master data (texts and attributes) of this IO, you'd better load master data first (not in parallel), then transaction data.
    You can do it in a process chain.
    Such a sequence will prevent the possible ODS activation failure.
    Best regards,
    Eugene

  • Overwrite data of master data infoobject

    Hi all,
    We have one master data infoobject ZASRYHMA. This infoobject does not have any attrbiutes but it has two compounding fields ZSITE and 0DISTR_CHAN.
    Now customer has a requirement in which value of ZASRYHMA can change for a particular site and distribution channel. Generally if this value changes then system creates a new entry in tables /bic/pzasryhma and /bic/szasryhma.
    What they want is to overwrite the existing entry.
    Is it possible to achieve?  It's a master data infoobject.
    Please provide your kind help.
    Regards,
    Nilima Rodrigues

    Hi,
    You have three fields as key field in table as shown below along with values,
    ZASRYHMA     ZSITE         0DISTR_CHAN
    A-1                     B-1            C-1
    A-2                     B-2            C-2
    now if you want to change the value of say second row to
    A-3                    B-2             C-2
    right?
    This is not possible just by overwritting in the info-object master data. Because these are key-fields system will treat A-3 as new value and create new entry, on top of this your A-2 master data values must have been used in transactional data.
    Only way I can think of is to delete the transactional data where ever A-2 is used and then delete ZASRYHMA master data and then upload master data for ZASRYHMA with new values. And then transacional data.

  • No data load into ODS although sourcesystem connection is ok

    Hello experts,
    although everthing is ok with my sourcesystem connection, SAP BW loads no data into ODS and Cube. In the ODS-administration-view the requests are registrated, QM-Satus is green but ODS-id is zero.
    Everything worked fine when running the process chain, but suddenly it stops when activating the data in the ods because there are no data in it.
    Any suggestions?
    thanx
    Axel

    Hi Axel,
    well the error message you specified is only poosible if the datasource is not installed.I m a bit confused.
    Check if you are able to see this datasource in rsa6 in the source system.
    Also,try replicating the source system on the BW side,then check your respective infosource,whether they are available..?
    hope it helps,
    regards,
    Parth.

  • Unable to load data from an ODS to a Cube

    Hi all,
    I am traying to load data from an ODS to a cube, and I'm getting the following msg at the bottom of the screen monitor: <b>"No corresponding requests were found for request REQU_BZUH9ZPYNL5XLQNB7K8IQDKFS in the ODS/Cube" Message no. RSBM043.</b>
    I am unable to load the data. The QM status is yellow. When the process starts, on the left hand of the monitor it shows: "0 of 84408 records" which is ok. I load that with this package before and it works well.
    Can you help me what I have to do? I tried to wait but it was the same: no progress and no data in the cube.
    Thank you very much and kind regards,
    MM.
    May be this helps...
    When I look at the status, it says that I have a short dump at BW. It was CALL_FUNCTION_REMOTE_ERROR and the short text is "The function module "SUBST_TRANSFER_UPGEVAL" cannot be used for 'remote'". This short dump occurs very much before I shoot the upload.
    Thanks again.

    Hello MM,
    Can you do the following..
    make the Total status Red Delete the request from cube.
    goto ODS -> Remove the Data Mart Status -> Try loading it again.
    The error message that you get is common when we are trying to run a infopackage with the source object having no new request, (means all the requests available in the source are already moved to the targets). So please try the steps given above.
    Hope it will help!

  • InfoCube Modelling-Adding data from different ODS's on to the Infocube

    Hi Experts,
    I am new to SAP BI. I have a basic doubt on Modelling the InfoCube.
    In our requirement, I have to populate data from 9 custom SAP Tables on to 9 ODS's. And, then take these data on to Infocubes.
    And, they want to reduce the number of cubes as much as possible. So, I have to combine the data from different ODS's and build 2-3 Infocubes.
    For Example.
    I am going to combine 5 ODS's data on to 1 CUBE based on Delivery number...
    there are 5 ODS with common key Delivery number. And, suppose I have added some set of fields from ODS1.
    And, now when I add other set of fields from the second ODS, WHAT WILL HAPPEN TO THE 'Delivery Number' field ??
    I will make it clear.
    I have a record in CUBE already containing Fields- : Delivery no, field_a,  field_b, field_c, field_d. Where the 'Delivery no =112333'. This record comes from ODS1.
    Now, I want to add data data from ODS2, containg fields -: Delivery no, field_e, field_f, field_g, field_h.
    And, what happens to the already existing record in CUBE with 'Delivery no = 11233'. ?
    Will the value in this info-object get overwritten ?
    OR.. will it combine the data from both the ODS's and show it as ONE record ???
    Please advice ... How will I solve this scenario ?
    Thanking You in Advance
    Shyne Sasimohanan

    Answer for your question and the suggestion.
    the data will look like as given below
    Delivery no, field_a, field_b, field_c, field_d, field_e, field_f, field_g, field_h
    11233           1           1           1          1            0           0            0            0
    11233          0           0          0             0           1           1           1          1 
    but the best way, according the design standards is creating another DSO on the top of all the DSO's and combine all the data in that DSO and send the data to Infocube. then the data will be shown as below.
    Delivery no, field_a, field_b, field_c, field_d, field_e, field_f, field_g, field_h
    11233           1           1           1          1            1           1           1          1 
    Regards,
    Siva A

  • Data load stuck from DSO to Master data Infoobject

    Hello Experts,
    We have this issue where data load is stuck between a DSO and master data infoobject
    Data uploads from DSO( std) to master data infoobject.
    This Infoobject has display and nav attributes in it which are mapped from DSO to Infoobject.
    Now we have added a new infoobject as attribute to the master data infoobject and made it as NAV attri.
    Now when we are doing full load via DTP the load is stuck and is not processing.
    Earlier it took only 5 mns of time to complete the full load.
    Please advise what could be the reason and cause behind this.
    Regards,
    santhosh.

    Hello guys,
    Thanks for the quick response.
    But its nothing proceeding further.
    The request is still running.
    earlier this same data is loaded in 5 mns.
    Please find the screen shot.
    master data for the infoobjects are loaded as well.
    I can see in SM50 the process at P table of the infoobject the process is.
    Please advise.
    Please find the detials
    Updating attributes for InfoObject YCVGUID
    Start of Master Data Update
    Check Duplicate Key Values
    Check Data Values
    Process time dependent attributes- green.
    No Message: Process Time-Dependent Attributes- yellow
    No Message: Generates Navigation Data- yellow
    No Message: Update Master Data Attributes - yellow
    No Message: End of Master Data Update - yellow
    and nothing is going further in Sm37
    Thanks,
    Santhosh.

  • Data not uploading in Time dependent Master data Infoobject

    Hello All,
    I have a master data infoobject for HR entity and have to load data from PSA to that info object.
    The HR entity infoobject already have sone data like below:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    01.07.2013
    31.12.9999
    x
    A
    19.04.2013
    30.06.2013
    x
    A
    01.09.2012
    18.04.2013
    x
    A
    01.01.2012
    31.08.2012
    x
    A
    01.01.1000
    31.12.2011
    Now the data in PSA is as follows:
    HR Entity
    Start Date
    End Date
    X
    01.01.2012
    18.12.2013
    Once I loaded this data to the infoobject, i can not see this value which is the latest value of this HR entity.
    Can somebody please explain how the data gets loaded in the time dependent master data infoobject and why this entry is not getting loaded in the info object.
    Regards
    RK

    Hi,
    did you activate master data after your load?
    You can check also version 'M' records and see if your record is there.
    The load went green?
    The problem is, that your entry overlaps all exisitng time intervals, which can't be deleted or merged as there may be dependent transactional data. You have first to delete the transactional data for this entity.
    Then you can delete the time-dependent data and reoload it from your PSA.
    BW will build then correct time intervals.
    The easiest is to change the time interval in PSA, see example below:
    At the moment the time interval is not accepted. But you can add time intervalls before 31.12.2011 and after 01.07.2013, Then system will create remaiing time intervals, e.g. your new record is:
    HR Entity
    Start Date
    End Date
    X
    01.08.2013
    18.12.2013
    Result will be:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    19.12.2013
    31.12.9999
    x
    A
    01.08.2013
    18.12.2013
    x
    A
    01.07.2013
    31.07.2013
    Regards, Jürgen

  • Key Fields and Data Fields in ODS

    Hi Guru's ,
    Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
    Thanx in Advance.

    Hi Pradeep,
    An ODS’ key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
    For example, you have the following key fields:
    Doc No, Doc line item (item no in the doc) and you load the following data:
    Doc# Item# Amount CALDAY
    1234  1        100       26.09.2005
    1234  1        150       27.09.2005
    1234   2        300      27.09.2005
    1235   1        400      27.09.2005
    The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
    What I said is true if for Amount key figure the ‘Add’ option is set.
    But if you set an ‘Overwrite’ option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
    But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
    So, ODS’ key fields choice and KFs settings are very important for data aggregation in the ODS.
    Best regards,
    Eugene

  • How to load data into an ods from multiple info sources.

    hi all...
    i am given a task to load data into an ods from 3 infosources ...
    can someone plz give me the flow .
    thank u in advance..

    Hi Hara Pradhan,
    You have to create 3 update rules by giving the 3 different infosources while creating each update rule. And u have to create the infopackages under each infosource. with this u can load the data to the same data target from multiple info sources.
    Hope it helps!
    Assign points if it helps!

  • Data Extraction and ODS/Cube loading: New date key field added

    Good morning.
    Your expert advise is required with the following:
    1. A data extract was done previously from a source with a full upload to the ODS and cube. An event is triggered from the source when data is available and then the process chain will first clear all the data in the ODS and cube and then reload, activate etc.
    2. In the ODS, the 'forecast period' field was now moved from data fields to 'Key field' as the user would like to report per period in future. The source will in future only provide the data for a specific period and not all the data as before.
    3) Data must be appended in future.
    4) the current InfoPackage in the ODS is a full upload.
    5) The 'old' data in the ODS and cube must not be deleted as the source cannot provide it again. They will report on the data per forecast period key in future.
    I am not sure what to do in BW as far as the InfoPackages are concerned, loading the data and updating the cube.
    My questions are:
    Q1) How will I ensure that BW will append the data for each forecast period to the ODS and cube in future? What do I check in the InfoPackages?
    Q2) I have now removed the process chain event that used to delete the data in the ODS and cube before reloading it again. Was that the right thing to do?
    Your assistance will be highly appreciated. Thanks
    Cornelius Faurie

    Hi Cornelius,
    Q1) How will I ensure that BW will append the data for each forecast period to the ODS and cube in future? What do I check in the InfoPackages?
    -->> Try to load data into ODS in Overwrite mode full update asbefore(adds new records and changes previous records with latest). Pust delta from this ODS to CUBE.
    If existing ODS loading in addition, introduce one more ODS with same granularity of source and load in Overwrite mode if possible delta or Full and push delta only subsequently.
    Q2) I have now removed the process chain event that used to delete the data in the ODS and cube before reloading it again. Was that the right thing to do?
    --> Yes, It is correct. Otherwise you will loose historic data.
    Hope it Helps
    Srini

Maybe you are looking for

  • DUAL BOOTING WINDOWS 8.1

    I want to dual boot my laptop. I have Windows 8.1 currently installed and want to also have LINUX OS. Please help.

  • Various errors

    I have several users using iFolder (the latest client) on Win 7 Pro 64 bit. Each user is experiencing multiple problems on a regular basis such as: Failing to load the client first time often taking 4 or 5 attempts to launch Web service not started e

  • Assignment of plant to sales organisation and distribution channel

    Hi, What is the use of assignment of plant to sales organisation and distribution channel. thanks Kuntla

  • Firefox can not open this page

    firefox can not open this page

  • Trip Approval

    Hi Friends, I am working on trip approval process, My client wants to implement just the 'out-of box' workflow. What are the steps to implement the standard workflow . I figured out WS2000040 suits the requirements. Can any one provide me the details