Read document attached to master data value

Hello.
I'm using FM RSOD_DOC_MAST_CHANGE to attach files to master data values. But I don't know how to read attached document((  Does anybody know?

Hi.
Take a look at [following thread|Document read functionality;.
Regards.

Similar Messages

  • 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

  • Showing master data value in report for which no record in Infoprovider

    Hi,
    We have the following reporting requirement. The master data values , e.g. 0Customer should appear in the report for which no sales has taken place, i.e no record in Infocube.
    We have defined a multicube using Infoprovider & 0Customer Infoobject, but the report seems to show only values from InfoCube, not the values which are not there in infoprovider but are present in infoobject.
    Please suggest.
    Thanks & Regards
    Madhu
    00919830957798

    Madhu,
    There is a how to paper on how to do this. It available in the BW InfoIndex under Multiproviders and is called Slow Moving Inventory Scenario.
    https://service.sap.com/~sapidb/011000358700008387152002
    This document details out the process of reporting on master data values for which no transactions ahve been recorded. This is achieved by creating a MultiProvider on a Cube and InfoObject and then using teh record count property.
    Cheers
    Aneesh

  • Check on Master Data Value (User Manual Input)

    Hi all,
    i have the following situation:
    User has to insert a set of Characteristic Value (these are not limited in level for any value nor variable) to be able to enter layout and does manual planning, with my great astonishment i have noticed that BPS does not do any check on the master data value inserted by the user, for example if user insert value '1' for 0payscalety CH instead of '01' the system does not give any error message and goes directly to perforate the Master Data with this wrong value.
    Does exist any setting/tip to avoid this unpleasant situation?
    Many thanks in advance
    Fabio

    Hello Fabio,
    personal I would not set up a data model, which makes differences between 01 and 1. It is known that this will make always problems in the future.
    I believe it is quite more unpleasant that SAP does not provide detailed documentation...
    You can use e. g.
    - conversion routine in BW char.
    - message, fox
    - char. rel. and / or ABAP
    - drop down list which does not allow manual input
    to manipulate before / after input. These are some of those possibilities, which SAP provides.
    regards
    Eckhard
    Message was edited by: Eckhard Lewin
    Message was edited by: Eckhard Lewin
    Message was edited by: Eckhard Lewin

  • Hierarchy node Variable: F4 Help - Not showing Master data values

    Hi,
    We're having some problems trying to display the F4 help of a hierarchy node selection variable, to show the master data values so that it would look more complete for the users during report execution.
    In the RSD1 setting for the info object, under 'Business Explorer' tab, the 'Query Execution Filter Val. Selectn' is set to 'Only Posted Values for Navigation'.
    I thot that we could overwrite this setting at the Query Designer level, but it does not seem to work.
    Even tho in the Query Designer, we have already specified the 'Filter Value Selection During Query Execution' to 'Values in Master Data Table', it does not seem to display the master data values.
    There is no difference in the F4 values being displayed for the hier node variable, before and after the change in Query Designer.
    Could anyone share some tips on other possible solutions to get a hier node selection variable's F4 help to show the master data values, without changing the RSD1 setting at the info object level please ?
    Thanks in advance for your help.
    Regards,
    Femmie.

    Hi,
    Could you please share the steps you have taken to fix the problem?
    We do have a similar problem and for some reason the newly added hierarchy node for 0Profit_ctr is not showing up in the variable selection screen F4 (input selection for query execution). However we can see this node when we display that hierarchy in RSA1. I did try applying the changes recommened by Jerome but unfortunately it didn't work.
    Any help on this would be greatly appreciated.
    Thanks,
    Krish

  • Export and import change document for user master data

    Dear Gurus,
    I have two queries on change document for user master data:
    1. Are there any approaches to export and import change document for user master data?
    We often do system copy from PRD to QAS for UAT and troubleshooting. Before system copy we export the user master data from QAS and then import after the copy process. We would like to keep the change document for user master data on QAS from being refreshed from PRD for security reason.
    2. Change document for Role change in QAS
    When the role is created or modified in DEV and then transported to QAS, the role change document doen't include this change log. The role change document in QAS only records those role changes directly made in QAS.
    Could you advise this is by SAP design or are there any approaches to record this transported role change  in the role change document in QAS?
    Thanks
    YBY

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • Query says master data value is invalid in selection screen.

    Hi,
    I am experiencing an issue that is occurring across many reports in our BW QA system, not just one. My InfoProvider clearly contains data with plant = US33. However, when I run the report and in the selection screen I enter US33 I get the error message saying that the value US33 is invalid.
    If I open the selection box, it even shows US33 as an available option (selections are restricted to values in the infoprovider), but again if I select US33 and click ok I get the same error message saying that the value US33 is invalid.
    If I run the report open the report returns records with plant = US33. However, if I try to filter on plant US33 in the report it returns no data.
    US33 is available in the 0PLANT master data and yes the data is active. I even tried modifying this record and saving it and that didn't work. I also tried reloading the data and still nothing.
    I also tried running tests in RSRT on the 0PLANT master data but there are no errors.
    I can query data in the infoprovider successfully when I select plant = US33 in the BW.
    I suspect that since this is occurring across multiple reports that report off of different infoproviders, that this is a master data or system issue but I can't solve it.
    Please advise.
    Thanks,
    Anthony

    what is the length of 0plant .
    it should be 4 characters with lower case on.
    ensure cases are same in 0plant and report selection screen if lowercase is allowed in plant data.
    if it still gives your problem try to create a new variable on 0plant and use it.
    revert back nothing works..

  • 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

  • All master data values not shown in query selections

    Hi
    I have created a query on a BasisCube containing the InfoObject 0FUNC_AREA. I loaded data to 0FUNC_AREA and the cube.
    I then created a query on the cube, in which I want to filter on 0FUNC_AREA. However, when I get the list of available values for 0FUNC_AREA not all the values in the master data is shown. It only shows 25 values out of 105.
    As a default, the data shown is only the cube data, so I removed the tick in the checkbox: Show only InfoCube data. Still the same.
    Then I went to the InfoObject and set the 'Query Def. Filter Value Selection' and 'Query Execution Filter Val. Selectn' equal to 'Values in Master Data'. Still the same.
    Then I deleted the contents of the InfoCube. It still shows the original 25 values.
    The really strange thing is, that when I go into the selection screen for 0FUNC_AREA in the BEx and limit the shown values to one of the values available in the master data but not shown in the list, it shows the text of the functional area in the limit summary window. But still when executing the limitation, it cannot find the value!!!
    The problem is the same in LISTCUBE
    I hope some of you can help we with this.
    Thanks
    /Karsten

    Hi Hari
    1) Reactivated the master data, said it was already active.
    2) Could see a difference between the data contained in cube and the remaining data. Otherwise not.
    I deleted cube and master data and reloaded, the problem still persists. I am beginning to suspect a bug in BW.
    I have to determine whether I am going to live with it (as it isn't critical, just a nuisance) or create an OSS on it.
    Thanks for all the input guys.
    /Karsten

  • Master data values in Query

    Hello,
    i want to restrict division by certain value in a query. i cannot see one of such values in the restriction window in the available list of values.
    i checked master records for division and it has this value. the infoprovider may not have this value.
    in the 0division infoobject the settings in the business explorer tab are:
    Query Def. Filter Value Selection: M Values in master data table.
    Query Execution Filter Val. Selectn:M Values in master data table.
    Why can't i see the value in the query for restriction?
    thanks

    Hi Aby,
    <i>Have you tried clicking on the "display other values" button right before the find text box in the restriction window (the one with the small yellow arrow)? If not, then click on tht button and put in some restriction rule to cut down on the number of entries displayed. This should display the value you desire.</i>
    In addtion to that uncheck 'only values from InfoProvider'
    regards

  • Not all the master data values appear in variable dropdown

    Hi all,
    we have a BPS variable in planning folder (SEM 4.0) where we have defined a variable with 'restriction required by user'. When the uses take a drop down they don't see all the values in the dropdwon but they can still manually input the missing values.
    Any idea?
    BR,
    SSC

    Hi,
    Make sure that the navigational attribute is assigned in the cube. Same goes for the workcenter. Also make sure when you loaded master data for workcenter the data for the navigational attribute also got loaded and you activated the same.
    Cheers,
    Kedar

  • Master data values(navigational attributes) are not turning up in the cubes

    Hi all,
    I have a cube, which contains 0cust_sales as master data and i have clicked on the navigational attributes of 0cust_sales like customer grp1, 2,3,4,5 etc
    But then i have the 0cus_sales number 6100034 with all the navigational attributes turning up when i look up at the master data in the quality system.
    But then for the same customer number i can see the customer number but no navigational attributes are turning up!!
    I have activated master data and the master data contents are active!!
    Can anyone pls update me on this!!
    Thanks
    Pooja

    Hi
    It is not part of dimension only 0CUST_SALES is part of dimension,
    And ocust_sales-customer grp1, 2,3,4,5 are navigational attributes in the info cube. I have just included them as navigational attributes enabled in the info cube.
    And when i loaded the data for customer say 6111035 from the ods to the cube. I can see the data for customer 6110035 but cant see the navigational attributes getting populated.
    But when i look at the same in the master data for 0cust_sales i can see the values for the navigational attributes too!!
    Thanks
    Pooja

  • Master data  value 0 can be created?

    Hi All,
    i want to create master data with value 0  but  when i am trying to create it  i am unable to create it  and   i am getting message  "Data record with this key already exists"  but actually its not there , can anyone suggest.
    Thanks in Advance,
    Harshitha

    Hi,
    Thanks for  suggesstions, as  suggested  i have  went to edit but in the  dailog box 000 is appearing   but not in the main infoobject
    and as Hawk  told i have given <1  selection  and i got  1 st record ,
    but i wanted 0 to appear like how 1,2 ,3  records are appearing,
    is there any way we can acheive it
    Thanks in Advance,
    Harshitha

  • Delete attachment from master data

    Hello,
    I need to delete .pdf file from attachment list of one material but there is no delete button. How could I delete it?
    Thank you

    click the right hand side of the icon( services for object), where you attached the document
    click the attachment list, select the attached file you want to delete and click delete icon in MM02
    or
    in  menu click system-->service for object in MM02
    Click the attachment list  icon next to the create icon select the attached file you want to delete and click delete icon
    Edited by: Sundaresan . E. V on Oct 2, 2010 9:14 PM

  • Attaching document in the Asset master data

    Hi All,
    If want to attach the supporting document in asset master data, i.e in AS02, AS03 what are the steps that we need to follow to implement this  in SAP?
    Also while doing asset transfer, how can we transfer the attached documents?
    Please provide inputs.
    Regards,
    Jayasudha

    Hi ,
    Below is the configuration steps
    Have defined a content repository (IMG activity Maintain Content Repositories, transaction OAC0)
    · Have maintained document types with the status "active" (IMG activity Maintain document types, transaction OAC2).
    · Have defined Relationships for your object type with the status "active" (IMG activity Maintain relationships transaction OAC3)
    Procedure
    Then if you check the service object in AS02 it will be in active status.
    Regards,
    Jayasudha

Maybe you are looking for

  • HP Compaq Presario notebook

    I bought an HP Compaq laptop yesterday.  The wireless and sound did not work.  I tried to get support from the helpline but they "do not support" pcs.  They will not honour the 12 month manufacturers guarantee and will not provide any form of helpful

  • Bad Quality in Canvas and Exported Movie

    Hi, I'm a new user of FCE. I want to use it for presentation of my software on the internet. I have a screencapture video in quicktime format. The resolution is 1008x744px. This quality is perfect. If i use this Video in a sequenz, the quality in Can

  • Oracle Mobile Server 11G with BerkeleyDB/SQLite

    Hi all, Actually I have got following situation: There are 2 Java apps that are running on Oracle Lite. Due to our Win 7 migration und outrunning support of Support for Oracle Lite we decided to migrate to Oracle Mobile Server 11 G and switch to Berk

  • Financial Reporting and Microsoft OLAP - issues with MDX

    We have installed Oracle/Hyperion Financial Reporting 11 for a client. They are using a Microsoft Analysis Services 2000 'cube' as the data source. The cube has an Account Dimension with 9 levels in its hierarchy. We have found Financial Reporting tr

  • My iPad2 front camera stopped working. How can I fix it?

    Hi everyone. I'm really terrified. After 2 long months waiting for my uncle to come from US with my new iPad2 I got it last week. The problem is that today I used the camera but the front one suddenly stopped working and now it's all dark and like fr