Can anyone give me examples of replacement path with query?

hi all,
Can anyone give me examples of replacment path with query. if u have any docs pls send it across to my email id [email protected]
thanxs
hari

Here is an example:
Lets assume you have a characteristic( Say Project)  with about 30 attributes. now your requirement is to display all 30 attributes and about 10 keyfigures and another characteristic and it's attributes...
If Project has about 25K projects in a Year,you will find its very difficult to diasply all the inofmation with one Query.(you may get disconnected from server after executing the query)..
So firstly,create a Query1 only with Project and keyfigures.
then create another Query2 only with Project and its attributes...here create a variable on Projeect with replacementpath and select the Query1.So you will have the Projects only from Query1.
Create Query3 with Project and other chars.create one more variable on Project with replacementpath select Query1 result. So this Query also gets Projects from Query1...
Now Query2 and Query3 get Projects from Query1 always...so you will have same Projects in your all 3 Queries..
Now crate a workbook and insert 3 Queries.make sure you insert Query1 lastly.Since last inserted query will be executed first...
You may use VBA or excel functionality if you want to see whole data in one sheet.
Hope this helps.

Similar Messages

  • Can anyone give an example for 'PUT' method.

    Can anyone give an example for 'PUT' method ?
    Unable to find an examples for this in the forum
    Thanks
    Chandran

    Hi Chandran,
    Check link below:
    RESRful POST method
    Resource Templates : Strategy for dealing with PUT and POST
    HTH
    Zack

  • How do I...Mimic Replacement Path with Query using Customer Variable Exits?

    Hello SDN:
    We are on BW 3.5 SP16.
    We are currently using a replacement path Query(RP) with variables
    to populate a variable in another Query(T).
    The problem we are having is with performance.
    The entry of variables in replacement path Query(RP) is optional (This is necessary there cannot be required values)
    When results from Replacement Path Query are small performance is fine. (e.g. 10 seconds)
    When results from Replacement path query are large performance suffers. (e.g. 1+ minutes)
    Users are free to leave the replacement path variables empty resulting in a large set of data to be replaced. This is the worst performance case.
    We would like to discover a way to conditionally execute the replacement path query. That is if users do not enter values for the replacement Query(RP) variables do not execute the replacement path query(RP).
    Does anyone know if this is possible within reason and in customer exit space?
    We have reviewed the situation from all angles and the requirement for the replacement path FUNCTIONALITY and the freedom for the user to leave variable values blank remains.
    I've been searching and reading SDN and SAP notes for about a week and do not find threads which address this situation.
    We are also exploring Customer variable exits to mimic replacement path functionality
    (different topic subject="How do I...Mimic Replacement Path with Query using Customer Variable Exits?")
    Any help will be appreciated
    Many thanks
    David Schuh

    My appologies-I posted this message with the wrong subject. I will repost it with appropriate subject.
    dave schuh

  • Replacement Path with query---error

    Hi
    I have one query 'B' which uses replacement path variable(with query  A) on 'Customer' infoobject in Global filter area.
    So everytime,I execute query 'B',first query 'A' runs and gives some customers list who are active yesterday and today.This active customers list is fed into replacement variable in query 'B' and query 'B' shows its own result.
    The problem,we have is,Query 'B' is showing some customers who are not in the list returned by query 'A'.
    Any ideas,how I can fix this problem?
    Thanks.............

    Hi
    Thanks for your reply.
    Both run on same Multiprovider.
    First thing is...this Customer infoobject is placed in Global filter area of Main Query and the infoobject has replacement path variable(with query on it).So the main query's data is limited to whatever customers that are given by replacement path query.
    how can Main query show some customers data thats not been given by this replacement path query?
    Second thing is...when user reported this error,he showed error in screenshots.When I ran query today,error is gone.Its showing correct.I reported to user and he informed that its happening now and then ....He gave one more example that happened today which is exactly of some type.....Main Query is showing customers that are not given by Replacement path query .....
    Any ideas?Thanks

  • Replacement Path with Query

    Dear Experts,
    We are facing problem where we had a query in which we are having the characteristic External Notiifcation and created varaible for the same and this variable is getting replaced with Output of another query i,e the procesing type for this variable is Replacement path.
    We had results for the query which we are using in the replacement path and also the same values exists in the cube on which we built the second query in whcih we are using the Replacement path.
    when we execute the current query,query was not showing any output.Any suggestions would be of great help.
    Regards,
    Sunil Kumar.B

    ok

  • Can anyone give an example of how to configure a DataSource using Mysql driver?

    thanks in advance.

    Hi Jack,
    I don't have an answer for you -- just some suggestions.
    Yes, I know it's a silly question, and please excuse me, but have
    you looked at the documentation? I think this web page will be relevant:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95879/ds.htm#1004903
    The following web sites may also be useful (if you haven't already
    looked at them, of-course :-)
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    Good Luck,
    Avi.

  • Can anyone give me an example for crm_svy_..._pai?

    Hi all, I have a survey, there are several questions. After I input the answers, I click the 'CHECK' button, I will check the answers. There will be different response to my answers. If the answer is not correct, I will post an error message.
    And I also need to retrieve data from tables to fill the blank.
    I am a beginner for CRM survey, can anyone help me? I create a FM:crm_svy_..._pai, and code in it right? But how can I do it?
    Can anyone give me an example for crm_svy_..._pai to do what I need?
    Many many thanks in advance!! 
    Heare is an example, but I don't its function and how does it work..
      read table lt_all_values into ls_value
                               with key answer_id = 'get_value'.
      if sy-subrc = 0.
        data: lt_values type crm_svy_api_string_t.
        append ls_value-value to lt_values.
        call method ir_survey_values->values_set
          exporting
            i_question_id = 'set_value'
            i_answer_id   = 'set_value'
            it_values     = lt_values.
      endif.

    Hi Yu,
    Could you tell how you solved your issue?
    Regards and tx in advance,
    Mon

  • Can anyone give me an example of direct, queued and unserialized delta?

    hi all,
    Can anyone give me an example of direct, queued and unserialized delta for fi and sd applications.
    thanxs in advance
    regds
    hari

    hi,
    Update Methods,
    a.1: (Serialized) V3 Update
    b. Direct Delta
    c. Queued Delta
    d. Un-serialized V3 Update
    Note: Before PI Release 2002.1 the only update method available was V3 Update. As of PI 2002.1 three new update methods are available because the V3 update could lead to inconsistencies under certain circumstances. As of PI 2003.1 the old V3 update will not be supported anymore.
    a. Update methods: (serialized) V3
    • Transaction data is collected in the R/3 update tables
    • Data in the update tables is transferred through a periodic update process to BW Delta queue
    • Delta loads from BW retrieve the data from this BW Delta queue
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Issues:
    • Even though it says serialized , Correct sequence of extraction data cannot be guaranteed
    • V2 Update errors can lead to V3 updates never to be processed
    Update methods: direct delta
    • Each document posting is directly transferred into the BW delta queue
    • Each document posting with delta extraction leads to exactly one LUW in the respective BW delta queues
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    • Extraction is independent of V2 update
    • Less monitoring overhead of update data or extraction queue
    Cons:
    • Not suitable for environments with high number of document changes
    • Setup and delta initialization have to be executed successfully before document postings are resumed
    • V1 is more heavily burdened
    Update methods: queued delta
    • Extraction data is collected for the affected application in an extraction queue
    • Collective run as usual for transferring data into the BW delta queue
    Transaction postings lead to:
    1. Records in transaction tables and in extraction queue
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3. This BW Delta queue is read when a delta load is executed.
    Pros:
    • Extraction is independent of V2 update
    • Suitable for environments with high number of document changes
    • Writing to extraction queue is within V1-update: this ensures correct serialization
    • Downtime is reduced to running the setup
    Cons:
    • V1 is more heavily burdened compared to V3
    • Administrative overhead of extraction queue
    Update methods: Un-serialized V3
    • Extraction data for written as before into the update tables with a V3 update module
    • V3 collective run transfers the data to BW Delta queue
    • In contrast to serialized V3, the data in the updating collective run is without regard to sequence from the update tables
    Transaction postings lead to:
    1. Records in transaction tables and in update tables
    2. A periodically scheduled job transfers these postings into the BW delta queue
    3.This BW Delta queue is read when a delta load is executed.
    Issues:
    • Only suitable for data target design for which correct sequence of changes is not important e.g. Material Movements
    • V2 update has to be successful
    hope it helps
    partha

  • Can anyone give me an example?

    I want to lucubrate M-UI ,CAN anyone give me an example just for my beginning?

    What is "lucubrate M-UI ,CAN"???
    CUL8er,
    Nick.

  • Can anyone give me a simple workflow example?

    So I need to make a banner (468 x 60) with flash that
    basically is just a background, some text, that text disappears and
    new text shows up, and then some falling hearts. I've been through
    so many tutorials, but I STILL get confused as to the exact
    workflow when doing this. I understand about making movie clips,
    but do I make a movie clip of a line of text, then what do I do?
    How do I make it disappear and a new line of text show up? Should I
    do this all on Scene 1 or do I need to somehow animate within the
    movie clips? Also, I have a heart that falls and rotates at the
    same time - I don't want it to do a full rotation, so I tried
    rotating the instance of it in the beginning and have it motion
    tween to do a 1/4 rotation, but when I try to animate it, it just
    shows it falling and then rotating at the very last frame. Say I
    want to show "screen A" of text, then show "screen B" then finally
    "Screen C" which includes some hearts animating, can anyone give me
    a real basic outline of what to do? I mean, the order I should do
    stuff, what needs to be made into a movie clip, what each movie
    clip timeline should look like, and what the Scene 1 timeline
    should look like. OR if anyone knows of a decent tutorial that
    basically shows how to do something like this. Thanks!!! (*puppydog
    eyes*)
    p.s. i just want the text to fade-in/fade-out unless that is
    complicated enough that a flashtard like myself couldn't do it
    easily.

    wouldn't it make more sense that a flashtard is someone who
    just generally sucks at flash and asks idiotic questions?
    anyway, so i pretty much got the banner done - but i'm stuck
    on one problem. I made a motion clip of a heart, and i want the
    heart to fall from top to bottom, following a squiggly motion
    guide, and to rotate 1/4 turn on the way. I got it as far as
    following the motion guide, but when i try to select the instance
    in the first frame and rotate it, shouldn't the motion tween make
    it appear to slowly rotate, rather than stay put then rotate 1/4
    turn at the last frame? When I select the clip and play around with
    alpha and stuff, that works fine. What the heck?

  • Can anyone give me some documents for data cluster

    Hi,
    can anyone give me some documents for data cluster?
    ths!
    regards!

    Hi ,
    The following is a documentation on the <b>Data Cluster</b>:
    <b>Data clusters</b> are specific to ABAP. Although it is possible to read a cluster database using SQL statements, only ABAP can interpret the structure of the data cluster.
    You can store <b>data clusters</b> in special databases in the ABAP Dictionary. These are called ABAP cluster databases, and have a prescribed structure:
    <u><b>Cluster Databases</b></u> ( I have explained the cluster databse below )
    This method allows you to store complex data objects with deep structures in a single step, without having to adjust them to conform to the flat structure of a relational database. Your data objects are then available systemwide to every user. To read these objects from the database successfully, you must know their data types.
    You can use cluster databases to store the results of analyses of data from the relational database. For example, if you want to create a list of your customers with the highest revenue, or an address list from the personnel data of all of your branches, you can write ABAP programs to generate the list and store it as a data cluster. To update the <b>data cluster</b>, you can schedule the program to run periodically as a background job. You can then write other programs that read from the data cluster and work with the results. This method can considerable reduce the response time of your system, since it means that you do not have to access the distributed data in the relational database tables each time you want to look at your list.
    <b>Cluster Database :</b>
                    Cluster databases are special relational databases in the ABAP Dictionary that you can use to store data clusters. Their line structure is divided into a standard section, containing several fields, and one large field for the <b>data cluster.</b>
    <b>Creating a Directory of a Data Cluster</b>
    To create a directory of a data cluster from an ABAP cluster database, use the following statement:
    Syntax
    <b>IMPORT DIRECTORY INTO <dirtab>
                     FROM DATABASE <dbtab>(<ar>)
                     [CLIENT <cli>] ID <key>.</b>
    This creates a directory of the data objects belonging to a data cluster in the database <dbtab> in the internal table <dirtab>. You must declare <dbtab> using a TABLES statement.
    To save a <b>data cluster</b> in a database, use the <b>EXPORT TO DATABASE</b> statement .
    For <ar>, enter the two-character area ID for the cluster in the database. The name <key> identifies the data in the database. Its maximum length depends on the length of the name field in <dbtab>. The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
    The IMPORT statement also reads the contents of the user fields from the database table.
    If the system is able to create a directory, SY-SUBRC is set to 0, otherwise to 4.
    The <b>internal table</b> <dirtab> must have the ABAP Dictionary structure CDIR.
    <b>******** Sample Program illustrating the data cluster .</b>
    PROGRAM Zdata_cluster.
    TABLES INDX.
    ******to save data objects in cluster databases
    DATA: BEGIN OF ITAB OCCURS 100,
            COL1 TYPE I,
            COL2 TYPE I,
          END OF ITAB.
    DO 3000 TIMES.
      ITAB-COL1 = SY-INDEX.
      ITAB-COL2 = SY-INDEX ** 2.
      APPEND ITAB.
    ENDDO.
    INDX-AEDAT = SY-DATUM.
    INDX-USERA = SY-UNAME.
    INDX-PGMID = SY-REPID.
    EXPORT ITAB TO DATABASE INDX(HK) ID 'Table'.
    WRITE: '    SRTF2',
         AT 20 'AEDAT',
         AT 35 'USERA',
         AT 50 'PGMID'.
    ULINE.
    SELECT * FROM INDX WHERE RELID = 'HK'
                       AND   SRTFD = 'Table'.
      WRITE: / INDX-SRTF2 UNDER 'SRTF2',
               INDX-AEDAT UNDER 'AEDAT',
               INDX-USERA UNDER 'USERA',
               INDX-PGMID UNDER 'PGMID'.
    ENDSELECT.
    ****To create a directory of a data cluster from an ABAP ****cluster database
    DATA DIRTAB LIKE CDIR OCCURS 10 WITH HEADER LINE.
    IMPORT DIRECTORY INTO DIRTAB FROM DATABASE
                                      INDX(HK) ID 'Table'.
    IF SY-SUBRC = 0.
      WRITE: / 'AEDAT:', INDX-AEDAT,
             / 'USERA:', INDX-USERA,
             / 'PGMID:', INDX-PGMID.
      WRITE  / 'Directory:'.
      LOOP AT DIRTAB.
        WRITE: / DIRTAB-NAME,  DIRTAB-OTYPE, DIRTAB-FTYPE,
                 DIRTAB-TFILL, DIRTAB-FLENG.
      ENDLOOP.
    ELSE.
      WRITE 'Not found'.
    ENDIF.
    *******run this program and see the result.
    Hope this documentation will give you an idea of data cluster.
    if useful, do reward with the points.
    Regards,
    Kunal.

  • Can anyone give me step by step for calling FM from one SAP to another SAP

    can anyone give me step by step for calling FM from one SAP to another SAP
    points will be rewarded,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    *& Report  RFC_FOR_CUSTOMER_LIST
    *& RFC to a Fn. module from another system which implements BAPI
    REPORT  rfc_for_customer_list.
    DATA:
      fl_status TYPE i.
    DATA:
      fs_message TYPE bapiret2.
    DATA:
      BEGIN OF fs_customers,
        id   TYPE s_customer,
        name TYPE s_custname,
      END OF fs_customers.
    DATA:
      t_customers LIKE
         STANDARD TABLE
               OF fs_customers.
    CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
      IMPORTING
        return = fs_message
      TABLES
        customerlist = t_customers.
    IF sy-subrc EQ 0.
      fl_status = 1.
      LOOP AT t_customers INTO fs_customers.
        WRITE:
          /10 fs_customers-id,
           30 fs_customers-name.
        AT LAST.
          WRITE:
            /,/5 'No of customers in R3N = ', sy-tabix.
        ENDAT.
      ENDLOOP.
    ELSE.
      MESSAGE 'RFC failed' TYPE 'S'.
      EXIT.
    ENDIF.
                           TOP-OF-PAGE EVENT                            *
    TOP-OF-PAGE.
      IF fl_status NE 0.
        WRITE:
          /12 'ID'   COLOR 6,
           32 'NAME' COLOR 6.
        SKIP.
      ENDIF.
    This is one small example...
    Regards,
    Pavan

  • Can anyone give the details of SAP note 325525 .

    Hai
    Can anyone give the details of SAP note 325525 .
    Thanks
    Kumar

    What exactly do you want. Is that just the explanation in the note: If so, here it is.
    Summary
    Symptom
    WARNING: THIS NOTE HAS BEEN REPLACED.  FOR MORE CURRENT AND MORE COMPREHENSIVE INFORMATION SEE NEW NOTE 886102.
    You want to copy and or rename one or more systems (database or client copy). One or more of the systems is a BW system or is connected to a BW system.
    Caution: This note only deals with problems that occur in the BW source system connections. Other problems that occur in the BW environment (indexes) are NOT dealt with. See URL http://www.service.sap.com/bw --> Services & Implementation --> System copy & Migration.
    Other terms
    BW, source system, OLTP, database copy, client copy, system infrastructure, transport system, connections, RFC connection, trfc, transfer structure, IDoc, ALE customizing, logical system name, system changeability, renaming systems, system copy
    Solution
    Several scenarios are possible in this environment. Find the scenario relevant to your situation below and execute the steps listed or read the note(s) specified:
    Scenario 1) You do not want to copy a system but only want to rename one (changing a logical system name).
               Solution scenario 1): Execute Transaction BDLS both in the client to be renamed and in the connected BWs or BW source systems. To do this, see Notes 121163 and 369758.
               Check the RFC destinations in all connected BWs/BW source systems as described in Note 524554.
               Reactivate all partner agreements that carry the new logical system name after renaming.
    Scenario 2) You want to copy the entire system infrastructure connected by the BW source system connections (that means the entire system group) by a database copy. SAP recommends this procedure for copying systems.
               Solution scenario 2):
    If you want to rename one or more of the copied systems, then execute Transaction BDLS both in the client you wish to rename and in all the connected BW and BW source systems. See Note 121163.
                        Make sure that an RFC destination exists with the new logical name in every connected BW or BW source system.
                        Reactivate all partner agreements that carry the new logical system name after renaming.
    Change the hosts in the appropriate RFC destinations so that they refer to the correct computer. For this, see Note 524554.
    Scenario 3) You want to copy a single BW system of the group by database copy.
    Scenario 3)a) You only want to exchange the hardware of your system but do not want to rename the system.
                         Solution scenario 3)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
    Scenario 3)b) You want to keep the original system of the copy so that you have two systems after copying.
                         Solution scenario 3)b): See Note 184754.
    Scenario 4) You want to copy a single source system of the group by database copy.
    Scenario 4)a) You only want to exchange the hardware of your system but do not want to rename the system.
                         Solution scenario 4)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
    Scenario 4)b) You want to keep the original system of the copy so that you have two systems after copying.
               Solution scenario 4)b): See Note 184322.
    Scenario 5) You want to import a client copy in a source system.
               Solution scenario 5): See Note 325470.

  • Seed_Database.dfb in Oracle 11g is corrupted, can anyone give me this file.

    I downloaded Oracle 11g database from oracle.com but when i extract .zip file it showed Seed_Database.dfb is corrupted at following path
    win32_11gR1_database(1).zip\database\stage\Components\oracle.rdbms.install.seeddb\11.1.0.6.0\1\DataFiles\Expanded\filegroup1\
    I have installed oracle 11g, but it didn't installed properly because Seed_Database.dfb file was not present.
    Can anyone give me that file for oracle 11g, any link from where i can download that file only, or email me that file at [email protected] Also, it is not possible for me or anyone to download the full .zip file of oracle 11g of 1.7 GB again.

    Even I am also still facing the same Problem. The issue here is even if we download the Install media, its in Jar format (Im referring to Solaris Install media). I couldn't find any article referring to which jar file contains the Seed_Database.dfb. Without knowing this the only option available is to reInstall Oracle again. But this is useless since we only need the Started Database and not the S/W itself.
    Or the only other option is creating a new custom DB thru the dbca command. (But ofcourse you should be a hard core Oracle DBA professional to create a DB from scratch!).

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

Maybe you are looking for