No Source Fields(But wants to read attributes of another master data infoob

Hi
Im planning to use the 2LIS_03_BF datasource. I have two master data infoobjects(0PRODVERS_ATTR, 0MAT_PLANT_ATTR).
Im loading data from 2LIS_03_BF in DSO . But this datasource doesn't contains the source fields for master data infoobjects 0PRODVERS_ATTR, 0MAT_PLANT_ATTR.
So hw can i read the attributes of these master data infoobjects. please let me know
kumar

Hi
You can write a routine for this purpose we call it lookup in bw terms ie if the field isnt present in the source then you can take the values from the other targets may it be ods or master data and the selection is based on the keyfields in both the targets ie source field and the target from which the field has to be picked.
lets say i want customer Number  from the MD Customer and i dont have customer number in the souce field so i will write a routine in the start routine to select customer number from customer master data put the field in the internal table and then write a update routine in the field customer number that reads the values into the work area from the internal table and then put the result in the result field from work area.
below is the syntax.
TYPES:BEGIN OF t_custnumber,
***declare the fields u will be using including the keyfileds in the souce**
customer number type /bic/0customer number
END OF t_custnumber.
........internal table to read data into......
DATA : i_custnumber.TYPE STANDARD TABLE OF t_custnumber.
work area to read data from internal table
DATA : wa_custnumber   TYPE t_custnumber,
select
customer number
x
y
from table customer
into i_custnumber
where
x= x of data package ie below ods (source)
y = y of data package ie below ods (source)
The above routine comes in the start routine
Now for the update routine
read table i_custnumber into wa_custnumber with key
x= x of comm_strucute ie below ods (source)
y = y of comm_strucute ie below ods (source)
Result =wa_custnumber-customer number
in start routine the souce table is called as data package but in case of update routine the same souce table is termed as communication structure thus comm_strucuture.
hope this is handy information assign points if applicable
thanks
puneet

Similar Messages

  • Issues In Reading Attribute Values From Master Data

    Hi All,
    I have a requirement where, i need to read an attribute value from master data. I have a characteristic YCSTATMCG (AT Cost Group Code) which is the master data from where i have to read the attribute, 0PROFIT_CTR (Profit Center). The attribute thus read, has to be populated into another characteristic, YPROFIT_C.  But YCSTATMCG referes to another characteristic, YCSTCG. Here is the FOX Code I wrote with YPROFIT_C as the changing characteristic and 0AMOUNT as keyfigure.
    DATA V_ATCP TYPE YCSTATMCG.
    DATA V_PROFIT TYPE YPROFIT_C.
    DATA V_PROFITC TYPE YPROFIT_C.
    DATA V_AMOUNT TYPE F.
    V_ATCP = OBJV().
    MESSAGE I020(YCO_CFT) WITH V_ATCP.
    V_AMOUNT = {0AMOUNT,  # }.
    V_PROFIT = ATRV('0PROFIT_CTR' , V_ATCP).
    MESSAGE I020(YCO_CFT) WITH V_PROFIT.
    {0AMOUNT, V_PROFIT} = V_AMOUNT.
    But this is not working. The ATRV() function is not reading the attribute values at all. Any solutions and suggestions is highly valued.
    Thanks in advance
    Swaroop

    Hi,
    even i have the same situation.
    i just want the attribute value of a char to be populated into another characteristic in the planning query.
    my question is whether i should populate the keyfigure field also in the FOX code.
    if so should i populate both 0amount and 0quantity fields as i have 2 keyfigure fields.
    Thanks for your help
    Nishanth

  • Getting "Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452)" error after upgradating to siebel Open UI 8.1.1.11

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

    Hello Team,
    We have upgraded from Siebel 8.1.1.3 to Siebel Open UI  8.1.1.11.
    But after up-gradation we are getting the below error in   "My Account Opportunity" View.
    We detected an Error which may have occurred for one or more of the following reasons:
    Join in business component definition 'CG Opportunity My Accounts' has source fields that come from tables 'S_OPTY' and 'S_ORG_EXT'(SBL-DAT-00452).
    Thanks,
    Tirupati Nanda
    Mob:-9742404115

  • I chose a template for the free partner site but want to change it for another one

    I chose a template for the free partner site but want to change it for another one. Is there anyway this is possible and to start again? Been looking for hours to fix this and kinda got frustrated and deleted most of the code.....

    I had the same problem.
    I wanted to test the free site with a dummy site first but I since I can't delete the dummy site now to start afresh, I have no choice but to go elsewhere.

  • Can anyone recommend an external storage device to supplement my mac book air?  I already have a time capsule but want the new device to replicate the data on that so ideally would like a device that i can connect to the time capsule through a cable.

    Can anyone recommend an external storage device to supplement my mac book air?  I already have a time capsule but want the new device to replicate the data on that so ideally would like a device that i can connect to the time capsule through a cable. 

    Hi CJR
    I'm not sure how Time Capsule can be replicated onto your external drive but there is a USB port on the back of TC that can be hooked up to any recent external drive.
    Another thing to think about , besides a Time Capsule failure, is the theft of your Time Capsule, so it might be a good idea to consider separating any redundant back-up from your Time Capsule or both my be stolen.
    TC will back up until full and then begin deleting the oldest back-ups.  Mine is a 2TB Time capsule.
    My back-up plan is as follows:
    1.  Macbook Air back-up on Time Capsule though Time Machine backs up everything - I think it's about every 30 min or so.
    2.  Contacts, reminders, appointments, notes, email are backed up through iCloud.
    3.  iTunes and non-itunes purchased music is on iMatch (and no need to back-up) and any non-iTunes music is backed up on an HP external drive (in case Time Capsule dies)
    4.  Photos are on my MacBook Air and are backed up on my HP external drive.
    5.  Office documents (Excel, Powerpoint, Access etc) are stored in a Skydrive app (like iCloud) and Skydrive syncs these docuemnts with the MS  cloud and my old PC and does not alter their native format like storing in iCloud would do.
    Cheers

  • Maintaining attribut time dependent master data

    Hi all,
    I have a question regarding normal system behaviour while maintaining BW Attributs with dependent master data. For example, I have created an infoobject like this:
    - cod 40029, class 10 valid from 01.01.2008 until 31.12.2008
    - cod 40029, class 10 valid from 01.01.2009 until 31.12.9999
    But afterwards when I try to maintain master data and change the 2nd row (valid until the end of 2010) the system changes the requested row but also creates an extra line with same data valid until 9999
    - cod 40029, class 10 valid from 01.01.2008 until 31.12.2008
    - cod 40029, class 10 valid from 01.01.2009 until 31.12.2010
    - cod 40029, class 10 valid from 01.01.2011 until 31.12.9999 (extra line)
    Is this the standard behaviour? the fact is that with this behaviour the user allways needs to "delete" the fields cod 40029 and classe 10 to make the row "unuseful".
    Regards,
    Pedro
    Edited by: Pedro Godinho on Jun 25, 2009 1:15 PM

    Hi Pedro,
    Yes this is the standard behaviour.
    I am not sure where you are using this and why you need to make it unuseful.
    If you are using it in BPS or IP. Create one more attrbute to this master data object, this would flag the usefulness of the timeslice.
    You would then be able to filtrer to only useful timeslices in your planning/reporting.
    Dont forget to make the flag attribute as navigaitonal attribute.This will allow selection for the flag in the report or filters in IP or BPS.
    Hope this helps,
    Best regards,
    Sunmit.

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

  • Secure an attribute of a Master Data Info Object

    Hello,
    We would want to secure one of the attributes of the Master Data InfoObject. For eg. In  Material master data info object, we have price as an attribute. We would like to impose a field level security on the price field.
    Anyone please let me know how we can do it ...

    Steps:
    1. Make the info object authorization relevant. RSA 1- info object in change mode and in bex tab therw will be a check box and check that to make it authorization relavant.
    2. go to RSSM - create an authorization object.
    3. In PFCG, set the values for this object.
    4. Whereever this object is sued, the system will check for authorizations.
    Ravi Thothadri

  • I want to read system registry and installation date of that

    Hi All,
    I want to read a registry of one product and the date of installation of that registry.
    please can any one answer.

    Hi-
    The limitation of OS would be because of the processor speed- need a minimum of 867mhz to run Leopard.
    If you were to upgrade to a 1.2ghz, or better, the OWC 1.5ghz processor, you would realize speed that would be worth the upgrade. This would also help you run more current software, and of course, Leopard.
    The two processors that I think have the best performance vs. cost, are the OWC 1.5ghz 7455 based processor, and the Newertech 2.0ghz 7448 based processor. Both will run the more current softwares, run Leopard, improve graphics intensive work, and really increase performance over the OEM processors.
    Of course, all other processor upgrades will increase performance, I just feel that these two offer the most "bang per buck".
    FYI, the 1.5ghz (runs 1.47ghz in the DA) gets Xbench scores of 60-65(avg.). This is in comparison to the dual 533mhz DA which scores 30-35(avg.) That is a healthy boost, pretty much double, and moves the DA into the realm of dual 1.25ghz MDD scores.
    BTW, the 1.2ghz bumps Xbench scores to 45-50.
    And yes, thanks for the stars!

  • Performance: reading huge amount of master data in end routine

    In our 7.0 system, each day a full load runs from DSO X to DSO Y in which from six characteristics from DSO X master data is read to about 15 fields in DSO Y contains about 2mln. records, which are all transferred each day. The master data tables all contain between 2mln. and 4mln. records. Before this load starts, DSO Y is emptied. DSO Y is write optimized.
    At first, we designed this with the standard "master data reads", but this resulted in load times of 4 hours, because all master data is read with single lookups. We redesigned and fill all master data attributes in the end routine, after fillilng internal tables with the master data values corresponding to the data package:
    *   Read 0UCPREMISE into temp table
        SELECT ucpremise ucpremisty ucdele_ind
          FROM /BI0/PUCPREMISE
          INTO CORRESPONDING FIELDS OF TABLE lt_0ucpremise
          FOR ALL ENTRIES IN RESULT_PACKAGE
          WHERE ucpremise EQ RESULT_PACKAGE-ucpremise.
    And when we loop over the data package, we write someting like:
        LOOP AT RESULT_PACKAGE ASSIGNING <fs_rp>.
          READ TABLE lt_0ucpremise INTO ls_0ucpremise
            WITH KEY ucpremise = <fs_rp>-ucpremise
            BINARY SEARCH.
          IF sy-subrc EQ 0.
            <fs_rp>-ucpremisty = ls_0ucpremise-ucpremisty.
            <fs_rp>-ucdele_ind = ls_0ucpremise-ucdele_ind.
          ENDIF.
    *all other MD reads
    ENDLOOP.
    So the above statement is repeated for all master data we need to read from. Now this method is quite faster (1,5 hr). But we want to make it faster. We noticed that reading in the master data in the internal tables still takes a long time, and this has to be repeated for each data package. We want to change this. We have now tried a similar method, but now load all master data in internal tables, without filtering on the data package, and we do this only once.
    *   Read 0UCPREMISE into temp table
        SELECT ucpremise ucpremisty ucdele_ind
          FROM /BI0/PUCPREMISE
          INTO CORRESPONDING FIELDS OF TABLE lt_0ucpremise.
    So when the first data package starts, it fills all master data values, which 95% of them we would need anyway. To accomplish that the following data packages can use the same table and don't need to fill them again, we placed the definition of the internal tables in the global part of the end routine. In the global we also write:
    DATA: lv_data_loaded TYPE C LENGTH 1.
    And in the method we write:
    IF lv_data_loaded IS INITIAL.
      lv_0bpartner_loaded = 'X'.
    * load all internal tables
    lv_data_loaded = 'Y'.
    WHILE lv_0bpartner_loaded NE 'Y'.
      Call FUNCTION 'ENQUEUE_SLEEP'
      EXPORTING
         seconds = 1.
    ENDWHILE.
    LOOP AT RESULT_PACKAGE
    * assign all data
    ENDLOOP.
    This makes sure that another data package that already started, "sleeps" until the first data package is done with filling the internal tables.
    Well this all seems to work: it takes now 10 minutes to load everything to DSO Y. But I'm wondering if I'm missing anything. The system seems to work fine loading all these records in internal tables. But any improvements or critic remarks are very welcome.

    This is a great question, and you've clearly done a good job of investigating this, but there are some additional things you should look at and perhaps a few things you have missed.
    Zephania Wilder wrote:
    At first, we designed this with the standard "master data reads", but this resulted in load times of 4 hours, because all master data is read with single lookups.
    This is not accurate. After SP14, BW does a prefetch and buffers the master data values used in the lookup. Note [1092539|https://service.sap.com/sap/support/notes/1092539] discusses this in detail. The important thing, and most likely the reason you are probably seeing individual master data lookups on the DB, is that you must manually maintain the MD_LOOKUP_MAX_BUFFER_SIZE parameter to be larger than the number of lines of master data (from all characteristics used in lookups) that will be read. If you are seeing one select statement per line, then something is going wrong.
    You might want to go back and test with master data lookups using this setting and see how fast it goes. If memory serves, the BW master data lookup uses an approach very similar to your second example (1,5 hrs), though I think that it first loops through the source package and extracts the lists of required master data keys, which is probably faster than your statement "FOR ALL ENTRIES IN RESULT_PACKAGE" if RESULT_PACKAGE contains very many duplicate keys.
    I'm guessing you'll get down to at least the 1,5 hrs that you saw in your second example, but it is possible that it will get down quite a bit further.
    Zephania Wilder wrote:
    This makes sure that another data package that already started, "sleeps" until the first data package is done with filling the internal tables.
    This sleeping approach is not necessary as only one data package will be running at a time in any given process. I believe that the "global" internal table is not be shared between parallel processes, so if your DTP is running with three parallel processes, then this table will just get filled three times. Within a process, all data packages are processed serially, so all you need to do is check whether or not it has already been filled. Or are you are doing something additional to export the filled lookup table into a shared memory location?
    Actually, you have your global data defined with the statement "DATA: lv_data_loaded TYPE C LENGTH 1.". I'm not completely sure, but I don't think that this data will persist from one data package to the next. Data defined in the global section using "DATA" is global to the package start, end, and field routines, but I believe it is discarded between packages. I think you need to use "CLASS-DATA: lv_data_loaded TYPE C LENGTH 1." to get the variables to persist between packages. Have you checked in the debugger that you are really only filling the table once per request and not once per package in your current setup? << This is incorrect - see next posting for correction.
    Otherwise the third approach is fine as long as you are comfortable managing your process memory allocations and you know the maximum size that your master data tables can have. On the other hand, if your master data tables grow regularly, then you are eventually going to run out of memory and start seeing dumps.
    Hopefully that helps out a little bit. This was a great question. If I'm off-base with my assumptions above and you can provide more information, I would be really interested in looking at it further.
    Edited by: Ethan Jewett on Feb 13, 2011 1:47 PM

  • Using Attribute of a Master Data InfoObject as a characteristic in the DSO

    Hi
    I have "ARBPL" field in the DataSource. And i map this source filed to "0WORKCENTER" Infoobject in the DSO.
    This "0WORKCENTER" has an attribute '0WRCT_CATG" . I want this attribute "0WORCT_CATG" needs to use as a characteristics in the DSO.
    So how can i populate the data for this attribute "0WORCT_CATG" from it's master data infoobejct "0WORKCENTER" in the DSO .
    So please let me know
    kumar

    Hi Ravi Kumar..
    U have ARBPL field in ur datasource and u r maping this field to a system defined infoObject  “0WORKCENTER” koooool……and the same time u mentioned 0WORKCENTER have a attr “0WORCT_CATG”…..is their any field in ur datasource that defines(maps ) this infoObj “0WORCT_CATG”. Map that field with the attr infoobject at info source level.
    If u don’t have any relevant field in the datasouce to define this 0WORCT_CATG object….. proceed with update routine……..or start routine(transfer rules/update rules) according to ur convenient.

  • Maintain the attributes for the master data-InfoSource

    Hi All,
    I got the error in the Schedule Process chain were one of my Delta Load-Master Data is not taking data from the source system.For rectifing the error is tried to check the Master data attribute (InfoPackage) in InfoSource. But I am getting the error message as "Attributes are not yet maintained" RSM006. Please provide the solution to the problem. As I want to run the scheduled Process Chain.
    Regards,
    Rajesh Giribuwa.

    Hi,
    Welcome to SDN!
    In the error message do you see a question mark (or help/explanation button)? Clcick on it and see the system explanation and proposed remedy.
    Best regards,
    Eugene

  • Sort of attributes objects in master data

    Hi,
    I have a question regarding the attributes of master data info objects.
    What is the best way to sort the order of the info objects attributes?
    We want the order of the attributes will be set in our local language alphabetically,
    and not as a defualt language as set now in English.
    The order of the attributes as showen in the WEB (as set on local language) is not alphabetically.
    Thanks,
    Yossi

    I'm going to make some assumptions:
    1)     The Attribute key values are written in your language's Latin equivalents, but you want to sort them by your language's alphabetic order.
    2)     The Attributes have not text in your language
    Create a data source from your master data values into master data text, hard coding your language set. Set the Attributes in your query to display text, not key values.
    Good luck,
    John Hawk
    Phone: (408) 550-9484
    Mobile: (209) 324-0436
    http://www.linkedin.com/in/johnbhawk

  • Update marketing attribute and customer master data via Survey Response

    Hi,
    I am creating a marketing survey. I have come to a point where I am able to get the reponses posted by the business partners.
    Now I would like to update the BP's directly when they respond. The challenge here is I want to update both Marketing attribute and Customer master.
    Is this possible with standard function modules. I am using version 4.0. Please let me know.
    Regards,
    Hemanth

    Hello Hemanth,
    Check my last response in the below thread, it could be a reason.
    update marketing attributes in BP via survey
    Thanks
    Raja Pamireddy
    CRM Marketing Forum Moderator.

  • Master Data is in Revised Version while transporting a request to add an attribute in existing master data infoobject

    Hi Experts,
    I am facing short dump when trying to send a request to add an attribute in Master Data Infoobject from DEV to QA.
    Although the attribute is getting added to main Master data Info object but main master Info object is in Revised Version.
    I have been searching the solution in SCN from couple of days and tried every single solution but none of them works for us.
    When I check in se09 I am getting the following message
    Program terminated (job: RDDEXECL, no.: 09445401)
       Execution of programs after import (XPRA)
    End date and time : 20150420094559
    Ended with return code: ===> 12 <===
    When checking in ST22 IN QA I am getting the following message
    The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
      along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RSDD_DS====================CP' has to be
    terminated.
    When I checked in ST22 in QA I am getting following dump
       31         RAISE EXCEPTION TYPE cx_rs_program_error
       32           EXPORTING
       33             text = 'Invalid DSO subtype'.                   "#EC NOTEXT
       34     ENDCASE.
       35
       36 *   get table name from DDIC
       37     CALL METHOD cl_rsd_odso=>get_tablnm
       38       EXPORTING
       39         i_odsobject = n_infoprov
       40         i_tabt      = l_tab
       41       IMPORTING
       42         e_tablnm    = l_tablnm
       43       EXCEPTIONS
       44         OTHERS      = 1.
       45
       46     IF sy-subrc <> 0.
       47       RAISE EXCEPTION TYPE cx_rs_program_error
       48         EXPORTING
       49           text = 'Error in CL_RSD_ODSO=>get_Tablnm'. "#EC NOTEXT
       50     ENDIF.
       51
       52     CALL FUNCTION 'DDIF_NAMETAB_GET'
       53       EXPORTING
       54         tabname   = l_tablnm
       55       TABLES
       56         dfies_tab = l_t_comp
       57       EXCEPTIONS
       58         not_found = 1
       59         OTHERS    = 2.
       60     IF sy-subrc <> 0.
    >>>>> RAISE EXCEPTION TYPE cx_rs_program_error
       62         EXPORTING
       63           text = 'Error in DDIF_NAMETAB_GET'.        "#EC NOTEXT
       64     ENDIF.
    I have attached the short dump
    Thanks In Advance
    Rashid

    Hi Tom
    Thanks for your reply.
    I am not sure what do you mean by Manually activated in Dev or QA . If you mean Dev then i did and also maintain the infoobject related tables using transaction SE14 but still same error.
    But if you mean in QA then QA is lock for manual activation but i tried though program RSDG_IOBJ_ACTIVATE but again failed. I also maintain the infoobject related tables using transaction SE14 but still same error.
    Regards
    Rashid

Maybe you are looking for

  • OracleCustomTypeMappingAttribute Issue in Custom type mapping(Urgent Help)

    I am figuring "OracleCustomTypeMappingAttribute" attribute in web.conifg. I am getting Error when i am trying execute the code.please find the error messsage in below "Custom type mapping for 'QR.iPromansys.Common.UDT.TAB_MC_REGION' is not specified

  • Unhandeled exception occurred while clicking on new query button in Manaement studio in SQL server 2008 R2 SP2.

    I am getting below exception while clicking on new query button in SSMS of SQL server 2008 R2 SP2.  I am thinking to reinstall Complete Management Tools. is it worth to give a try on production server?  What can be the fix? Exception Details- See the

  • PS CC keeps crashing after starting

    following message received The Desktop Window Manager is experiencing heavy resource contention Reason - Graphics subsystem resources are over-utilized. Diagnosis - A sharp degradation in Desktop Window Manager responsiveness was observed. I've check

  • Click and Drag to Select Multiple Grids

    Hello, I am trying to create a Java application that will represent a simple paper timesheet for multiple jobs. I am trying to keep it as close as possible to an actual timesheet that I already have to fill out weekly. I will try to describe the shee

  • Yosemite broke my mac : (

    I installed Yosemite. I'm connected to the internet as I'm using Chrome to type this but Safari and App Store won't connect/work. Other native apps don't work like messaging either. I've restarted my comp multiple times and have run reboot mode twice