Reference data

Hi,
  What is reference data in IP and how do we get it?
Thanks.

Hi,
Assuming you are using BI IP:
Reference data should not cause you to have lock entries.
how do you experience the lock entries. Did you analys it with RSPLSE (this is a transaction to analyse lock entries)? On the last tab you can see locking conflicts details, on the third one you can see what is locked and what isn't. Also in rsplse please make sure that on the tab lock characteristics your characteristic version is assigned to the right-hand side of the column for your plan cube (in general everything is set to the right-hand side).
If you experience the locking in your workbook, please note that once your layout is locked, you need to unlock it with a statement CMD SET_INPUT_MODE and Active = X:
CMD 1 SET_INPUT_MODE
ACTIVE 1 X
DATA PROVIDER 1 ...
grtz
D

Similar Messages

  • Error while executing planning function with reference data

    Hi,
    I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
    Following data is uplooaded
    Company code | Profit_ctr | calmonth | Amount
    1000                 | 50000      | 01.2011  | 150
    Cube data
    Field1    |  Company code | Profit_ctr | calmonth | Amount
             |  1000                 | 50000      | 01.2011  | 150
    Z1         |  1000                 | 50000      | 01.2011  | 150
    Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
    Company code | Profit_ctr | calmonth | Amount
    1000             | 50000          | 01.2011  | 200
    Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
    I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
    Field1     Company code | Profit_ctr | calmonth | Amount
    #     1000                 | 50000      | 01.2011  | 150
    Z1     1000                 | 50000      | 01.2011  | -150
    Z1     1000                 | 50000      | 01.2011  | 150
    Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
    C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
    Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
    Thanks in advance
    Edited by: peppy on Aug 3, 2011 5:00 PM
    Edited by: peppy on Aug 3, 2011 8:37 PM

    Hi Peppy,
    C_TH_DATA is hashed table!  According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
      CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_data_wa->* TO <s_data_wa>.
      CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_new_wa->* TO <s_new_wa>.
    LOOP AT c_th_data INTO <s_data_wa>.
    <s_new_wa> = <s_data_wa>.
    now the SAP code changes the  values, you can do it your way here
    and than write the changes back
            MODIFY TABLE c_th_data FROM <s_data_wa>.
    ENDLOOP:
    Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
    READ C_TH_DATA from <s_data_wa> transporting no fields.
    if not sy-subrc EQ 0.
      INSERT <s_data_wa> into table C_TH_DATA.
    else.
      MODIFY TABLE c_th_data FROM <s_data_wa>.
    endif.
    Depending on your requirements you can also use the collect  statement.
    If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
    Hope this helps.
    Best regards
    Matthias Nutt
    SAP Consulting Switzerland

  • Customer Field in Delivery Address(Reference data, item)tab under Ite in PO

    Dear experts,
    While creating a PO in line item level, under the "Delivery Address" tab, we are able to see the Vendor option and the Address option for selecting the delivery address in the PO. We are unable to view the Customer Option even though we have maintained the optional entry in table T162(Reference data, item).
    We are only able to see the Customer option in the display mode, but unable to see in the create or change mode.
    Please advise is there any other setting is required for getting the customer field  under billing address tab under line item in create and change mode so as to be able to select customer code directly.
    Regards
    Sai

    no answer

  • Cross reference data from 2 different ecc system.

    Hi Sdners,
    Iam working on a scenario where i have to get data from two different Ecc system,consolidate them and send it back to their respective system.
    But some refernce data in both the systems are different and when iam merging data from 2 system i have to maintain either of the reference data.But problem comes when i syndicate it back to ECC ,it cannot accept a new reference data.
    Please suggest me some answere how to proceed in such case.
    Its urgent.
    Points will be rewarded for Genuine answeres.
    Thanks in advance,
    Regards,
    Neethu.

    Hi,
    First enable keymapping property to YES  for the table which you want to do
    importing and syndicatig.
    Create two remote systems type inbound/outbound .
    Import the data from first remote system and map the corresponding fields.
    Don't forget to map the remotekey field which is on the destination side.Make clone
    of one of the dispaly field and map to the remote key field.
    After importing you can see the records from which remote system are imported
    using Edit Key Mappings option in DataManager.It shows that remotesystem
    name and corresponding remote key.
    Do the same for second remote system too.
    After merging data in data manager , you can see the merged record and see the
    two remote systems names and two remote keys by using Edit Key Mappings
    option so the merged record goes back to both remote systems when you syndicate
    the records.
    Syndicate the data from first remote system by selecting destination properties and
    output remote system property under map properties tab as your first remote
    system.
    Do the mapping for corresponding fields and don't forget to map the value field under
    remote key .Then MDM generates remote keys for only records belongs to your
    first remote system.You can see this in destination preview.It does n't genarate
    remote keys for second remote system.Then check the option Suppress records
    without key under map properties tab and execute the syndication.Finally we can
    see the accurate records.
    Do the same for second remote system too.
    Hope it helps
    Cheers
    Narendra

  • In MIRO posting field DABRZ "Reference Date for Settlement is being require

    Help!
    For a limited number of MIRO postings, were are getting some hard, looping errors.
    At first, MIRO will ask for "Reference Date for Settlement" field DABRZ.  Once that is completed, it asks for "Asset value date" field BZDAT.  Once that is completed, it asks for "Enter a G/L account".  Once that is completed and you hit enter, tab, or even try to go to another tab...The errors start over, asking for the same items that were just completed.
    In this particular case, the account assignment is split between 3 different AFEs.  All three AFEs are open and have charges posting to them.
    Ideas?
    Thanks so much!
    Amy McRaney

    Check any validations exists in OB28. This may be the culprit.

  • How to access reference data in BPS Exit Function

    Hi Experts,
    Can any please tell me how to access reference data in BPS Exit function. I am creating a copy function using ABAP Exit Function (Std copy and fox formula doesn't work for my requirement).
    Please suggest,
    Thanks in advance,
    Shiwesh

    Hi Deepti,
    Thanks a lot for your reply. xth_data contains all the data based on package filteration. Let me explain you,
    Say, I have a characteristic char and whose value is 'A', I want to change it to 'B' in my copy function, while keeping the original record with 'A' as well. So now I want my xth_data to contain two records, one with A and other with 'B'. I mean to say from value is 'A' and to value is 'B'. Now my package contains 'B' (the to value) as the allowed value, but not A because in the package I am setting this using a BPS variable. There are two types of variables, one is to variables other is from variable. There could be two scenarios,
    1. If I set from varibale in the package: if I do so, I will have the data in xth_data containing 'A' as char value. But in this case when I change it to 'B' and try to save both the records, package won't recognize the record with value 'B' and reject it.
    2. If I set to variable in the package: In this case the xth_data itself will not contain anything and I can not loop over xth_data because there is no record with 'B'. Only record available in the system is with 'A' values.
    That is why I am thinking about having reference daya somewhere. I could loop over reference data and then pass it to xth_data. Package will contain to variable so it will allow all my modifications to get saved.
    Thanks and regards,
    Shiwesh

  • Distribute by Reference Data from Sender to Recipient planning function?

    Hi all;
    I’m trying to use the planning function “Distribute by Reference Data from Sender to Recipient” to distribute the reference data by material to plan data.
    This is:
    Reference Data:
    Version: 001
    0vtype: 010
    Material: M1; M2; M3
    Sub-brand: SB1;
    Price Group: PG1;
    Customer: C1;
    Area Manager: AM1;
    Exercise/Period: 001.2008; 002.2008; 003.2008
    Quantity: 100; 200; 300 -> 600
    Plan Data 1:
    Version: 002
    0vtype: 02
    Material: #
    Sub-brand: SB1;
    Price Group: #
    Customer: C1;
    Area Manager: AM1
    Exercise/Period: #
    Quantity: 1000
    I want to distribute the 1000 according with the material reference data. The plan doesn’t consider the Price Group and Exercise/Period.
    Goal:
    Plan Data 2:
    Version: 002
    0vtype: 02
    Material: M1; M2; M3
    Sub-brand: SB1;
    Price Group: #
    Customer: C1;
    Area Manager: AM1
    Exercise/Period: #
    Quantity: 167; 333; 500
    M1 = 100 / 600 * 1000
    In the planning function I had use:
    Fields for change:
    Material: 0 - ZZ
    Fields for conditions:
    0vtype: 020
    Exercise: 2008
    Key figure: quantity
    Version: 002
    Old material: #
    Reference characteristics:
    0vtype: 010
    Exercise: 2008
    Material: (I didn’t fill because it doesn’t allow all the material items)
    Key figure: quantity
    Version: 001
    When I execute the function a message appears:
    “No reference data”
    Can anyone help me?
    Regards;
    Ricardo

    Hi,
    price group is missing in your reference data
    D

  • KE28 with" Copy Characteristic Value with Reference Data" doesn't work

    Hi experts:
    We need to make a top-down setting the processing option 'Copy Characteristic Value with Reference Data'. We have the following source data:
    Customer Business Unit  Value field.
    6        #              100
    On the other hand, we have plan data as reference data:
    Customer Business Unit  Value field.
           A              40
           C              40
           D              20
    We need to run a top-down to distribute from client to Business Unit but copying client of reference data. Then, we set 'Copy Characteristic Value with Reference Data' and, in the selection criteria we set '*' for customer.
    After running, the result is that the system can find 1 sender and 3 receivers. It is exactly what we are expecting. However, program doesn't make individual items and anything is distributed.
    We have found notes 1086282 and 1273924 but the result is the same after implementing these notes.
    Thanks in advance for your help.
    Best regards
    Jose

    There are some restrictions on the XML Schema format that you can report off of in Crystal Reports.
    If you're using the ODBC XML driver, you may find this of relevance:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xml_data_sources.pdf]
    and if you're using the native XML driver, the following gives a guide for the accepted formats:
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf|http://resources.businessobjects.com/support/communitycs/TechnicalPapers/cr_xi_native_xml_driver.pdf]
    Sincerely,
    Ted Ueda

  • SEM-BPS Distribution with Reference Data

    All,
    Our planning design is such that our plan values are in one cube and our actuals are in another.  We use a mult-planning area to tie the two together.
    One of our requirements is distribute planning values from one cost center to other cost centers, but to use the actual data on the receiving cost centers as the base.  I have been able to accomplish this with the allocation function, but we need to retain the sender values.  I have been trying to use the Distribute by Reference Data from Sender to Recipient planning function, but it's not reading the reference data correctly.
    Does anybody have some insight into this function?
    Thanks
    Kory

    Hi Mary,
    Thanks for the reply.  I had ran it in trace mode and the message was that there was not any reference data; and maybe this is where I'm misunderstanding this planning function.
    Here's the scenario:  I have a cost center and a cost element and want to allocate it to another cost center.  The reference characteristic from the actuals cube that I'm using is cost element.  For example, cost center 4720001 and cost element 990039 have $100 in the planning cube.  I want to distribute this amount to cost centers 4720002 and 4720003, but using cost element 990014 as the reference data from the actuals cube.  Cost centers 4720002 and 4720003 have $200 and $500 posted to cost element 990014, respectively.  So I'm expecting 4720002 to receive $28.57 and 4720003 to receive $71.43.  When I run the function, I get a message for the receiving records stating that no reference data exists.  I have created this using the allocation planning function with success, but we also need to retain the sender values and the allocation function does not do this.
    Any further insight you have is much apreciated.
    Thanks
    Kory

  • Business package for master reference data

    Hi,
      can anyone know is there any business package for master reference data.i.e any standard iviews are there for MRD with workflow.
    Thanks,
    vinay

    Hari,
    When you download the BPO via Portal Content Portfolio,
    each bpo has additional information on the release.
    For example for the one you are inquiring about - Business Package for SAP Best Practices for Enterprise Portal, the additional release information is provided on the following links;
    https://www2.iviewstudio.com/sdn/info/index.cfm?action=faqs&part=#QSR03
    https://www2.iviewstudio.com/sdn/detail_view/index.cfm?action=package_information&CatalogSet=SAP%20Content&ItemID=17212&CFID=7544845&CFTOKEN=99283970
    Regards,
    James

  • Query Reference Data and CFCs

    I would to run a  query once that returns a record set and pass that as reference data to functions in a ColdFusion component. Inside those functions, I'd take the query and run a query of queries for aggregate results among other things. Can this be done? I am getting an error basically saying the passed-in query is not a simple value where I use it in the FROM clause of the query.
    It works fine when both queries are within the same function, but it's needless overhead to continually get the same ref data.
    Example:
    template.cfm
    <cfobject name="lib" component="mycfc">
    <cfinvoke component="#lib#" method="getQueryRefData" returnvariable="refData" />
    <cfinvoke component="#lib#" method="getSum" returnvariable="sum" refdata="#refData#" />
    mycfc.cfc
    <cffunction name="getQueryRefData" access="public" returntype="query">
            <cfquery name="allData" datasource="myDatasource">
                SELECT * FROM answer
            </cfquery>
            <cfreturn allData>
    </cffunction>
    <cffunction name="getSum" access="public" returntype="numeric">
         <cfargument name="refData" type="query" required="yes">
         <cfquery name="deptSum" dbtype="query">
                SELECT COUNT(*) AS total, department
                FROM ARGUMENTS.refData <--- ERROR occurs here --->
                GROUP BY department
          </cfquery>
          <cfreturn Val(deptSum.total)>
    </cffunction>

    This works when I run it.
    <cffunction name="q_of_q" returntype="query">
    <cfargument name="QueryIn" type="query">
    <cfquery name="QueryOut" dbtype="query">
    select count(*) thecount
    from arguments.queryin
    </cfquery>
    <cfreturn QueryOut>
    </cffunction>
    <cfquery name="x" datasource="burns">
    select 1 f1 from dual
    </cfquery>
    <cfset abc = q_of_q(Queryin = x)>
    <cfdump var="#abc#" label="abc">
    Try it and if it works, start modifying it until it either does what you want it to do, or crashes.

  • Reference data types in interface objects?

    How do you create reference data type based on data type in interface object??

    First create the reference DT1 in IR then create a new data type DT2 and if you want to create a reference to DT1 then in  the editor select Type (3rd coloum) as the DT1 which you can get by double click on Type and then you select "search help" and select DT1 from the list.
    Cheer's

  • File Reference Data

    HI!
    Is there a way to access a file reference data?, or do I have
    to upload de file to the server and the download it in order to get
    the file data (This sounds so much as overkilling).
    Also, is there a way to store the file reference data for
    future use, lest say I wish to keep the file reference data so my
    flash applicaction can access the same file in the future, can sore
    this, lest say in a server database or something?
    I hope people form adobe could answer this :)
    Thanks

    Peter,
    Thanks for taking your time to discus about this issue. I've
    always liked the approach flash has had to protect personal data,
    or to be more specific to completely separate Internet form the
    local PC environment. And the proof that you guys are on the right
    track is that there are no FLASH viruses yet.
    Still, and if it's possible I would like to make a few
    suggestions that shouldn't affect the security model but
    definatelly improve the way FLASH communicates with the server:
    1.- Access a File Reference locally, I'm not talking about
    accessing any file on the local PC but the one the user manually
    selected for lets say an upload (Básicaly add an open command
    to fileReference), this would be very usefull since will allow the
    SWF to process the file before sending it, wich for example will
    allow to change an image size before upload or to process a text
    file and upload only the results of this process. I don't see how
    this could be a security risk since you are able to do this with
    the server and a huge everhead today.
    2.- Been able to store the file Reference, again without
    accessing the PATH of the file, but the file reference object
    itself will be most useful to for lots applications, you don't need
    to have access to a directory structure but be able to access a
    file previously selected by the user. Just a while ago I wrote a
    flex application that uploaded a single file to a server every
    hour. I was able to store in a shared object all the paramenters a
    user selected for the upload except for the file reference. This
    meas that the user has to select the file every time it opens the
    application.

  • Definition of Reference Data in complex Fox Formulas

    Hello IP Experts / Gurus / Developers,
    As far as I know there is no real concept behind the determination of Reference Data in Integrated Planning, when you do run functions from a sequence and not directly on a Dataprovider (where you have the possiblity to define editable and not editable structure elements).
    The reference data is generated at runtime of the FOX Code. Using Complex FOX Code with a nested loop, the reference data in the planning buffer (seen in Planning Modeller) isnt really the data that it should be. Some read statements (in loops, but also outside the loops) are not recognized and obviously do not lead to the definition of Reference Data. This is not a specific problem of my function or architecture. It doesnt occur, when I reduce the complexity of the FOX Code to a few rows.
    The question that I have is: Is there any possibility to define reference data in a fox statement or before running it?
    Function modules, hidden statements etc. ?
    Maybe a trick with running a loop like the one below (doesnt work, it also leads to immense performance issues)
    FOREACH YEAR, CCODE IN SELECTION.
       VALUE = {0amount, YEAR, CCODE).
       EXIT.
    ENDFOR.
    Thanks in advance for sharing your experience.
    Michael

A: Definition of Reference Data in complex Fox Formulas

Hi Michael,
   I don't think I understand from your post what is the issue that you are trying to solve; but it would not be correct to say that there is 'no real concept' behind determination of reference data.
Reference data is the data a planning function needs to read, which is outside the selection of the filter under which the function is currently running. So for the same function, reference data can change when running under different filters. Reference data can only be read, not modified - I am sure that is already clear. And also, the selection corresponding to reference data is not locked by planning.
Whenever you put any selection (inside the curly braces - {}) on the right hand side of the equal sign (talking about Fox), and if this selection is not contained in the filter, this data will be read as reference data. Also, statement like FOREACH in REFDATA will read reference data. Regarding the amount of data that is read (and hence the performance impact), it depends on factors like master data (for eg, in the Foreach statement in your code, it must be slow becuase of the huge master data that CCODE might be having), and number of records in cube, that are being read. You cannot really "define" reference data using code - it will be determined at run-time.
Hope this helps.

Hi Michael,
   I don't think I understand from your post what is the issue that you are trying to solve; but it would not be correct to say that there is 'no real concept' behind determination of reference data.
Reference data is the data a planning function needs to read, which is outside the selection of the filter under which the function is currently running. So for the same function, reference data can change when running under different filters. Reference data can only be read, not modified - I am sure that is already clear. And also, the selection corresponding to reference data is not locked by planning.
Whenever you put any selection (inside the curly braces - {}) on the right hand side of the equal sign (talking about Fox), and if this selection is not contained in the filter, this data will be read as reference data. Also, statement like FOREACH in REFDATA will read reference data. Regarding the amount of data that is read (and hence the performance impact), it depends on factors like master data (for eg, in the Foreach statement in your code, it must be slow becuase of the huge master data that CCODE might be having), and number of records in cube, that are being read. You cannot really "define" reference data using code - it will be determined at run-time.
Hope this helps.

  • Reference data extraction in multiple languages

    Hi all
    I'd like to extract reference data from ECC system for say Material Groups with the descriptions in both English and German.
    I added entries in the MDMGXC1 table to import the material group key and description into MDM lookup tables. Even though the German values exist in ECC its only the english ones which are imported.
    This happens with all the reference tables. Is it because the language assigned to me in the ECC sys i EN, its by default picking up only that?
    Thanks
    SwarnaDeepika

    Hi Swapna,
    Check your repository definition in ECC using MDMGX transaction and "Define repositories". Please check and revert if you have german "DE" languages defined for your repository. You can define multiple languages seperated by Comma.
    Please revert with your findings..
    Best Regards,
    SHiv

  • Reference Data of Customer from R3 to CRM

    Hi Group,
        we downloaded ECC customers to CRM 5.0. now we have a situation where we want to see reference data of Customer: 1) Prev.aact no, 2) Buying Group in CRM.
       these feilds are maintained in ECC in "Company Code Data" of Customer Master under "Account management" tab.
       can somebody help me figure out which fields in CRM are these mapped to and where can i see them in CRM "BP" transaction.
            Appreciate your time. and help is awarded.

    Hi Anu,
    As Jai mentioned it is not easy to bring in additional customer master fields from R/3 to CRM during the download.
    This can acheived by extending the middleware functionality. Also you need to extend the CRM BP with these additional fields.
    First identify the fields on CRM BP in order to recive the data from R/3 fields. For this you may use some of the unused fields in the CRM BP or extend the BP using EEWB to accomodate new fields.
    Then you have to enhance the middleware by writing a custom function module to move new field data into bapimtcs structure. Then move the data from bapimtcs structure into appropriate CRM fields. Also you need to take the precaution for delta changes on these fields.
    This process is involved lot of development effort and you should be able to get some code samples from this forum's previous threads.
    <u><b>Here the note which exactly addresses your requirement : 863611</b></u>
    Reward points if it helps
    Regards,
    Paul Kondaveeti
    Message was edited by:
            Paul Kondaveeti

  • Maybe you are looking for

    • Post-Kernel Panic: Various questions on iTunes, mail, stability, help!

      I recently experienced a Kernel Panic on my Macbook Pro from late 2010 (2.53 ghz, 4 gb ram, 500 gb OS X snow leopard etc). First, a quick overview of the Kernel Panic process: I had a lot of stuff running simultaneously, and the system started hangin

    • Mac vs PC for all in one audio/video workstation?

      Well, I have been a Mac user for my whole life. The more I get involved with motion graphics and post production, as well as audio, and considering the direction Adobe seems to be going with their apps, I am considering going to a PC. PCs seem to hav

    • My ipod touch isn't working. Please help!!

      So I was using my Ipod touch, generation 4 32g, recently and I dropped it onto a wooden floor. The hard case (i got it at one of the stand things at the mall) fell off like it usually does when i drop it on a hard surface. I picked it up and it conti

    • Laserjet 100 color MFP M175nw - Problem always visible to public network

      I have an IBM laptop running on Windows 7. I know that supposedly the SSID is only supposed to be visible when printing, but mine is always available and visible in the Network Connections Internet Access Tray at all times.  I can tell when neighbors

    • Down payment request against PO

      Hi SAP Guru, When user entering down payment request in F-47 against  a purchase oder the system is allowing to post the amount more than PO value which is logically incorrect. How can I prevent this ? Kindly reply with details. Regards, Sajib