How to create a relationship between documents

Can you create a  relationship between documents so in case the user requests one file he will also be prompted to download the other related file as well automatically

Thanks for Your answer, but main problem is what relation type use to create link between 2 common objects.
Your solution (use class CL_BINARY_RELATION) returns the same error message, because this class is used in FM BINARY_RELATION_CREATE.
In the end I found that solution is to use as relationtype (ORBRELTYP-RELTYPE  = 'ASGN').
    CALL FUNCTION 'BINARY_RELATION_CREATE'
      EXPORTING
        obj_rolea      = obj_a
        obj_roleb      = obj_b
        relationtype   = 'ASGN'
      EXCEPTIONS
        no_model       = 1
        internal_error = 2
        unknown        = 3
        OTHERS         = 4.
It seems to work and on both objects (A and B) I can see link (relation).
Best regards,
MD

Similar Messages

  • How to create the relationship between ESSBASE 11 and DM in OBIEE11

    Hi Experts,
    I have one requirement that there is one property table named 'Store Master' in DW,and it contains a lot of attribute, such as Open Date, Close Date, IS 24 Hour etc.
    But another data source is essbase and based on this source, I create all reports.
    In ESSBASE, it has one dimension and hierarchy Location, and it has four level, Country(L1),Region (L2),Province(L3),Store(L4)
    So I want to know how to create the relationship between Location (ESSBASE) and Store Master (DM).
    I try to create one relationship in physical layer between Gen4,Location and Store, then drag the open date and close date into Location Dimension in BMM,then Presentation Layer.
    When I drag column 'Open Date' ,'Gen4,Location ' and 'Sales' into reports, it will generate the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14020] None of the fact tables are compatible with the query request Dim Region.Store Open Date. (HY000)
    However, when I remove the column 'Open Date'. it will be ok.
    So what I missing the steps? Please help me. Thanks.

    >
    '2. Now, pull the 'Store' column from relational DB onto the Gen5, Location column from Essbase. This action now creates, two logical sources for your 'Store' column.'
    If the length from different data source is not same,such as 1001(DM),L_1001(ESSBASE), can I drag the 'Store' column from relational DB onto the Gen5, Location column from Essbase?
    I think it does not work.Right?Hi,
    I am not sure if you are talking about the length(as in varchar(128)) of the member value being different in different sources, or the member itself is different in both the sources.
    I am still assuming, that you are referring to the members not same in both the sources.If it is, the whole concept of federation is based on conforming dimensions. So, it needs that the same dimension information is present in both the sources and then only, you know we can analyze the numbers based on this dimension. So, either the dimension being different in both sources, or the members not present in both the dimensions might lead to incorrect numbers.
    So I select Store Attributes in relation DB and Location in ESSBASE in physical layer, then create the physical join, such as right("Hour Sales"."H_Sales".""."H_Sales"."Gen6,Location",4) = "Authorization".""."EDW"."T_EDW_MDM_STORE"."US_CODE", then drag the OPEN_DATE and CLOSE_DATE in relation DB to Location in ESSBASE in BMM,finially drag them into presentation layer.We create physical layer relationships, to send over the same relation to the underlying database during querying. So, creating a physical relationship between essbase cube and relation database would not help here.
    When you set up this federation, BI Server sends individual queries to each source and maps the conforming dimension members internally.
    Hope I was clear, and this helps.
    Thank you,
    Dhar

  • How to create the relationship between ESSBASE 11 and DM  in OBIEE 11G?

    Hi Experts,
    I have one requirement that there is one property table named 'Store Master' in DW,and it contains a lot of attribute, such as Open Date, Close Date, IS 24 Hour etc.
    But another data source is essbase and based on this source, I create all reports.
    In ESSBASE, it has one dimension and hierarchy Location, and it has four level, Country(L1),Region (L2),Province(L3),Store(L4)
    So I want to know how to create the relationship between Location (ESSBASE) and Store Master (DM).
    I try to create one relationship in physical layer between Gen4,Location and Store, then drag the open date and close date into Location Dimension in BMM,then Presentation Layer.
    When I drag column 'Open Date' ,'Gen4,Location ' and 'Sales' into reports, it will generate the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14020] None of the fact tables are compatible with the query request Dim Region.Store Open Date. (HY000)
    However, when I remove the column 'Open Date'. it will be ok
    So what I missing the steps? Please help me. Thanks.

    >
    '2. Now, pull the 'Store' column from relational DB onto the Gen5, Location column from Essbase. This action now creates, two logical sources for your 'Store' column.'
    If the length from different data source is not same,such as 1001(DM),L_1001(ESSBASE), can I drag the 'Store' column from relational DB onto the Gen5, Location column from Essbase?
    I think it does not work.Right?Hi,
    I am not sure if you are talking about the length(as in varchar(128)) of the member value being different in different sources, or the member itself is different in both the sources.
    I am still assuming, that you are referring to the members not same in both the sources.If it is, the whole concept of federation is based on conforming dimensions. So, it needs that the same dimension information is present in both the sources and then only, you know we can analyze the numbers based on this dimension. So, either the dimension being different in both sources, or the members not present in both the dimensions might lead to incorrect numbers.
    So I select Store Attributes in relation DB and Location in ESSBASE in physical layer, then create the physical join, such as right("Hour Sales"."H_Sales".""."H_Sales"."Gen6,Location",4) = "Authorization".""."EDW"."T_EDW_MDM_STORE"."US_CODE", then drag the OPEN_DATE and CLOSE_DATE in relation DB to Location in ESSBASE in BMM,finially drag them into presentation layer.We create physical layer relationships, to send over the same relation to the underlying database during querying. So, creating a physical relationship between essbase cube and relation database would not help here.
    When you set up this federation, BI Server sends individual queries to each source and maps the conforming dimension members internally.
    Hope I was clear, and this helps.
    Thank you,
    Dhar

  • How to create a relationship between 2 GOS objects

    Hi all,
    I have a small problem how to create a link between 2 GOS (businnes objects) .
    I have 2 different business objects ( Z* type, for example class Z1 and Z2) defined using SWO1, and I want to create link between instances of 2 GOS objects.
    I try to use FM 'BINARY_RELATION_CREATE' ,
    fill parameters OBJ_ROLEA , OBJ_ROLEB ,
    but I know how to fill parameter RELATIONTYPE.
    All the time I got a message RL 301 (Role type '&1' is not assigned object type '&2').
    Should I make some customization (and how ) for roles of object Z1 and Z2 ?
    Or should I use any general relationtype ?
    Can somebody helo me to explain, how to make customization , or any link, example ?
    Thanks in advance
    Milan Dobias

    Thanks for Your answer, but main problem is what relation type use to create link between 2 common objects.
    Your solution (use class CL_BINARY_RELATION) returns the same error message, because this class is used in FM BINARY_RELATION_CREATE.
    In the end I found that solution is to use as relationtype (ORBRELTYP-RELTYPE  = 'ASGN').
        CALL FUNCTION 'BINARY_RELATION_CREATE'
          EXPORTING
            obj_rolea      = obj_a
            obj_roleb      = obj_b
            relationtype   = 'ASGN'
          EXCEPTIONS
            no_model       = 1
            internal_error = 2
            unknown        = 3
            OTHERS         = 4.
    It seems to work and on both objects (A and B) I can see link (relation).
    Best regards,
    MD

  • Creating a relationship between one table and the PK in another

    Sorry the subject of this message is a bit vague. I'm not sure how to describe this problem in one sentence.
    So here's the issue: I've just created a new block on my form based on table2. Table2 contains t1_id which is the FK link to Table1.
    What I want is when one of the fields in Table2's block is changed and inserted, the t1_id is inserted in the applicable row. Essentially, I need :table2.t1_id to have the 'Copy From Item' property set at :table1.id
    I cannot seem to see where in designer this option is. I asked a friend and he said what I need to do is 'create a relationship between the two values in designer'. Huh? In the Table Definitions the FK is set for the two, so I'm not sure how to do this.
    Another problem, which I'm believing will be solved when this is, is that when the form loads, this new block, table2, is not automatically populated with the applicable values from the table.
    Thanks for any help. It's greatly appreciated!

    Do you mean that you want to create a Master-Detail Form using Designer?
    If yes, you need to define the entity usage from the Function Hierarchy Diagrammer, then attribute usage definition. Generate the module using Application Design Transformer. You need to define the Context so that master table's PK will be carried over to the detail table.

  • How to create an relation between two block

    Oracle forms 6i
    Hai All
    I have created a form in that i have four button ADD, QUERY, SAVE ,EXIT.
    I have two block named Leader and members.
    Four fields in leader block namely name , codeno, deptcode, unitid.
    When i pressed query button and the cursor goes to name field in leader when i enter the name of leader and click
    enter i gives the codeno, deptcode and unitid of the leader_name.
    so now i have created another block in tabular structure to bring the members in the same deptcode that belongs to Leader_name.
    So pls tell me the steps how to create the relation between these two blocks.
    when i enter the leader_name and gives enter it needs to bring the codeno, deptcode, unitid and
    I also need to gives the members in that deptcode..
    Thanks In Advance
    Srikkanth.M

    If it is possible to create relationship with one table No.
    Or
    I have created a pre-Query in the detali block and my code is
    set_block_property ('block_name', default_where, 'deptcode = (select deptcode from emplmaster where name like :block_in_which_leader_name.leader_name_field');BTW no need of joining here it can be solve by set the block's where clause as u said in ur earlier post above. Just changing the little bit this statement and then try.
    If numeric
    set_block_property ('block_name', default_where, 'deptcode = '||:block_in_which_leader_name.leader_name_field);
    Otherwire
    set_block_property ('block_name', default_where, 'deptcode = '''||:block_in_which_leader_name.leader_name_field||'''');-Ammad

  • How to create shared folder between mac and windows

    how to create shared folder between mac and windows

    Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.

  • How to create a link between 2 cells in different spreadsheets?

    when using numbers on MacBook Pro/IOS X - how to create a link between 2 cells in different spreadsheets?

    In the cell where you want the duplicate data to appear from another sheet/table do the following:
    type the equal sign ("=") then click the cell you in the sheet table while contents you want to appear in the cell where you just typed the equal sign"
    it reads "The cell I click equals the result of the formula or the contents of the next cell I click"

  • How to create database link between oracle9i database and oracle10g

    How to create database link between oracle9i database and oracle10g
    oracle9i database name "Prod" windows server 2003 ( 172.x.x.x)
    oracle10g database name "TEST" sun solaris 9 (165.x.x.x.x)
    Please help me on this

    For connections between 10.2 and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 and 9.2.0.1, 9.2.0.2 or 9.2.0.3 are not supported.
    Connections between 10.2 and 9.0.1 was never been supported.
    Cheers !!!!
    Bhupinder

  • How to create links betwen two documents in KM?

    how to create links betwen two documents in KM?

    If you use the KM provided HTML editor, there is an option to provide a link to another KM document from one KM document.
    Else if its an uploaded HTML, create a link like this:
    <a href="/irj/go/km/docs/documents.....">CLICK</a>

  • How  To create a new word document and to serve bookmarks

    how To create a new word document and to serve bookmarks

    there is an example :
    http://www.must.de/default.html?Javactpe.htm
    howerver ,I don't kown how to use in jsp!!

  • How to create a relationship diagram by using Visio 2010

    Dear
    Please can you tell me that how to How to create a relationship diagram by using Visio 2010?
    It should be include:
    one-to-one relationship diagram
    one-to-many relationship diagram
    many-to-many relationship diagram
    many thanks
    D.lui

    http://answers.microsoft.com/en-us/office/forum/office_2010-visio/how-to-create-a-relationship-diagram-by-using/2999bd63-1869-42d5-8292-74f8a777c7e0
    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

  • How to create a connection between SAP BPC 10.0 to SAP BOBJ

    Hi friends,
    My client want see the reports in BOBJ which are built in SAP BPC. How to create the conncetion between BPC and BOBJ.
    1.Is there any guide to create such connection ?
    2.how the data feed to BOBJ reports?
    please help me ASAP.
    Regards,
    Saida Reddy G

    Hi,
    Check http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8034121d-8419-2e10-229a-99ec678b64c5?QuickLink=index&…
    How to Use the EPM Connector to Visualize BPC Data via Dashboard Design (aka Xcelsius) | planingandconsolidation
    Hope it helps...
    regards,
    Raju

  • How to create radio button between two slection screen

    hello all.
    could you please guide me how to create radio button between two SELECTION-SCREEN  in screen painter.
    Thank you,
    srinivas

    hi
    SEE THIS CODE
    REPORT  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R3 RADIOBUTTON GROUP G2 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R4 RADIOBUTTON GROUP G2.
    SELECTION-SCREEN COMMENT 5(20) TEXT-004 FOR FIELD R4.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    <b>rEWARD IF USEFULL</b>

  • How to create a View between two Ztables?

    Hi experts,
    I have two ztables TableA and TableB both has one common field.
    Now Which type of view (Database,Maintanance,Projection or Help) I should create? If so what are the steps I should follow.
    What I suppose to do in Table/Join Condition tab ,View Flds ,Selection Conditions and Maint stsus tab.
    Reply with the detailed steps.
    Thanks in Advance,
    Dharani

    Hi,
    selection of view is depends on the type of requirement you have.
    1. To create the view go to Se11
    2. select the type of the view you required.
    3.Enter the name of the two z table in the tables and click on the relation button  so that it will automatically create the relationship between 2 table.
    4. add the addition condition if required in the join condition.
    5. In view field select the number of the field required to display in the view from both the table.
    6. specify the selection criteria in the to select the values.
    7. In maintenance tab select the appropriate option as per you requirement.
    8. save and activate the view.

Maybe you are looking for

  • External hard drives and mac/windows compatibility - Need Help pls

    I have an external Harddiskdrive with 200 GB formatted in HFS+ with my Mac. And here's my Problem: A friend of me would have some of the MP3's on this HDD, but he is a PC user with Windows XP. So he could not see the drive in his Workspace. Is there

  • I have problem with my battery

    hello. macbook 2.4 2008 late (upgrade Lion) 4Gb Ram i have problem with my battery cause i used 4 years... and i check that the count down time is wrong onces is 2:10 and the next minute is 1:45 so i buy a new one.. and i check that again i have the

  • Photoshop Album Mini 3.2の旧パソコンへから新パソコンへのプロクラム移行について

    Photoshop Album Mini 3.2の旧パソコ ンから新パソコンへのプロクラム移行をしようとしていますが. 方法がわかりませんので.どなたか教えて下さい. 1   旧パソコン       OSはVISTAを使用.       外付けHDDにプログラムと写真データを保管しています. 2  新パソコン      OSは8.1 (質問) 1  HDDのプログラムを新パソコンに取り込みができるのかわからない.     新パソコンでMin3.1を使用しようとすると.プログラムをインストールして

  • Analize authority checks in web dynpro processing

    Hi, I'm facing strange things here. A user was reported not to be able to successfully use a function provided in our system: We provide a function for use of our call center agents that will reprocess and output document and send it by mail to the c

  • Identifing all ccid columns in all tables

    Hi Everyone, I am in the process of identifying all tables that are either directly storing the CODE_COMBINATION_ID (gl_je_lines.code_combination_Id) or storing the same value with another name (ra_Cust_trx_types_all.GL_ID_REV). Can the forum experts