How to create a relationsship between a DB Bock and Non DB Block

Hi All,
I am working with oracle forms 10g.
I have created a Custom form. I have two block. One is a DB Block and another is control block(ie multi record blk).
I tried to create a master detail relationship between these two block.
Master block:LC_Master_BLK(DB Block).
Detail block: LC_Detail_blk(Non DB Block).
Form object navigator I click relation in Master Block and a pop up window opens and form there i select Detail block.
And i give the join condition like
LC_Master_BLK.PO_HEADER_ID=LC_Detail_blk.PO_HEADER_ID.
I have made po_header_id as primary key in my custom table,refred in my master block.
But it shows error as
FRM-15004: Error while parsing the join condtion.
Can any one tell me how to solve this.
Thanks & Regards
Srikkanth

Hi Srikkanth.M
I have two block. One is a DB Block and another is control block(ie multi record blk).this is what i call bad form design pls exchange the two blocks making ...
Master block:LC_Master_BLK(Non DB Block).
Detail block: LC_Detail_blk (DB Block).
Now to link the 2 blocks then define the join condition as follows:
:LC_Master_BLK.PO_HEADER_ID = :LC_Detail_blk.PO_HEADER_IDPls Keep in mind that the join condition specifies the relationship between items in 2 blocks db
or
one which is the master Non DB Block (to filter the display of data through user input to display the result output of data related in multi-records in the detail block.
That how u can works with the relation between two blocks as urs..
Hope this helps...
Regards,
Amatu Allah

Similar Messages

  • How to create RFC Destination Between ECC 6.0 and BI 7.0

    HI,
    My name is balu working in gucons,i was trying to create RFC between ECC 6.0 and BI 7.0,i have tried with the help of some documents but iam unable to do that,Iam very helpfull if you give a clear description regarding this problem.
    Thank you,
    Regards,
    BALU.

    Hi Balu
    the error screen is from your BI system? If yes, then why the source system is showing to be of type BI? For ECC it should be of type r/3.
    You can try to delete already created RFC from both your BI and ECC system and try to create source system connection from your BI end from RSA1>> Source System> right click..Create..
    Choose "Automatically Create SAP system" . Enter the required credential then click on "Replicate as well"
    If you do not want to delete any RFC for any reason please upload entries from RSBASIDOC, RSLOGSYST table.

  • How to tell the difference between DRM (fairplay) music and non-DRM music?

    Apple finally is selling non-DRM music and I've bought a couple songs in the past with ease. I like the system but I'm having a problem finding out which music is still using DRM.
    Apple originally differentiated it by charging 30 cents more for the unprotected music. Now however they removed the surcharge, but there's no way to tell if the music I'm looking at is protected.
    I choose not to buy DRMed music as I'm using my music to burn MP3 CDs for my car, and having to crack protection isn't the way I want to do it.
    How can I tell using iTunes Store which music is DRM protected, and which music is DRM free?

    Agreed, I have stopped buying from iTunes until they eliminate the restrictions, and have started replacing the songs I DID buy from iTunes with non copy protected ones from Amazon. I tell everyone not to buy from iTunes for exactly that reason. There are lots of other excellent options, which do not have the stupid restrictions that Apple has. The iPod is great, iTunes with DRM is incredibly annoying.

  • 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 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 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 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 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 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

  • 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 make a Integration between jdev10.1.2 and vss

    How to make a Integration between jdev10.1.2 and vss to enable a version control.the help document tell to make a extension file, but how to do? thank you!

    http://www.oracle.com/technology/products/jdev/101/htdocs/partners/addins/905resources.html
    There is a link there to:
    Creating a Version Control System Extension
    A project with sample code to get you started

  • How to create a report in Form line Style and can display Image field?

    Hi,
    In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
    I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
    But in Paper Layout, my report can not display Image field.
    I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
    How to create a report in Form line Style and can display Image field?
    I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
    Thanks & regards,
    BACH
    Message was edited by:
    bachnp

    Here you go..Just follow these steps blindly and you are done.
    1) Create a year prompt with presentation variable as pv_year
    2) Create a report say Mid report with year column selected 3 times
    - Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
    - Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
    - Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
    Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
    3) Create your main report with criteria as Year and Measure col
    - Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
    - Now put a filter on year column with Filter based on results of another request and select these:
    Relationship = greater than or equal to any
    Saved Request = Browse Mid Report
    Use values in Column = YEAR-1
    - Again,put a filter on year column with Filter based on results of another request and select these:
    Relationship = less than or equal to any
    Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
    Use values in Column = YEAR+1
    This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
    This will 100% work...
    http://i56.tinypic.com/wqosgw.jpg
    Cheers

  • How to create a query to see Opening stock and closing stock as on particul

    Hi All,
    How to create a query to see Opening stock and closing stock as on particul.
    Regards
    Albaik

    Hi,
    In BI 0IC_C03 will provide u the  required information and also having standard queries provided by the SAP.
    Plz find the list of Queries provided by the SAP.
    =======================================================================================================
    Inventory turnover      0IC_C01_Q0001
    Range of coverage - quantity      0IC_C01_Q0002
    Range of Coverage - Value      0IC_C01_Q0003
    Range of coverage of finished goods - quantity      0IC_C01_Q0004
    Range of Coverage of Finished Goods - Value      0IC_C01_Q0005
    Range of coverage of raw materials - quantity      0IC_C01_Q0006
    Range of Coverage of Raw Materials - Value      0IC_C01_Q0007
    Obsolete Stock on Hand      0IC_C01_Q0008
    Period-dependent requirement coverage      0IC_C01_Q0009
    Value of stock on hand      0IC_C01_Q0010
    Quantity of stock on hand      0IC_C01_Q0011
    Material consumption      0IC_C01_Q0012
    Material Movements      0IC_C01_Q0013
    Consignment stock: receipts and issues      0IC_C01_Q0014
    Valuated stock: receipts and issues      0IC_C01_Q0015
    Material stock and movements      0IC_C01_Q0016
    Material Movements (Healthcare)      0IC_C01_Q0020
    Material Consumption (Healthcare)      0IC_C01_Q0021
    Material Availability      0IC_C01_Q0022
    Inventory Turnover Frequency (Value)      0IC_C01_Q0023
    Consignment Stock Received and Issued per Unit      0IC_C01_Q0024
    Material Consumption (Quantity)      0IC_C02_Q0001
    Valuated Stock Receipts and Issues (Quantity)      0IC_C02_Q0002
    Range of Valuated Stock (Quantity)      0IC_C02_Q0003
    Inventory Turnover      0IC_C02_Q0004
    Receipt and Issue Consignment Stock at Customer      0IC_C03_Q0001
    Receipt and Issue Quality Inspection Stock      0IC_C03_Q0002
    Vendor Consignment Stock Receipt and Issue      0IC_C03_Q0003
    Receipt and Issue Stock in Transit      0IC_C03_Q0004
    Receipt and Issue of Blocked Stock      0IC_C03_Q0005
    Valuated Stock      0IC_C03_Q0006
    Stock in Quality Inspection      0IC_C03_Q0007
    Stock in Transit      0IC_C03_Q0008
    Blocked Stock      0IC_C03_Q0009
    Vendor Consignment Stock      0IC_C03_Q0010
    Consignment Stock at Customer      0IC_C03_Q0011
    Stock Overview      0IC_C03_Q0012
    Stock Overview (as of 3.1 Content)      0IC_C03_Q0013
    Quantities of Valuated Project Stock (as of 3.1 Content)      0IC_C03_Q0014
    Valuated Stock (as of 3.1 Content)      0IC_C03_Q0015
    Quantities of Valuated Sales Order Stock (as of 2.1 Cont.)      0IC_C03_Q0016
    Inventory Turnover      0IC_C03_Q0017
    Days' Supply      0IC_C03_Q0018
    SUS: Vendor Consignment Stock      0IC_C03_Q0019
    Scrap      0IC_C03_Q0020
    Inventory Aging      0IC_C03_Q0021
    Stock Overview - extended      0IC_C03_Q0022
    Demand Supply Match      0IC_C03_Q0023
    Warehouse Stock Analytics – Inventory Turnover      0IC_C03_Q0024
    Warehouse Analytics - Obsolescence and Variance      0IC_C03_Q0025
    Stock Overview: Materials      0IC_C03_Q0030
    Average Stock Value Over Time      0IC_C03_Q0031
    Stock Overview Over Time      0IC_C03_Q0032
    Range of Coverage Over Time      0IC_C03_Q0033
    ==================================================================================================
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Jan 18, 2010 8:06 AM

Maybe you are looking for

  • E_LIC_NO_ITEMS_AVAILABLE error

    Hi, I have this ebook <response xmlns="http://ns.adobe.com/adept">    <distributionRights>      <distributor>urn:uuid:8a2e06b8-5d70-4a0c-b802-e35eb82a50ca</distributor>      <resource>urn:uuid:7cabbe87-80f1-45e0-b1b6-e36d95d56c39</resource>      <dis

  • Need help installing Solaris 10

    Hello expert, I installed solaris 10 on my Ultra 2 box a few months back, for learning purposes, then I stopped using it. NOW I FORGOT ALL THE PASSWORD, INCLUDING ROOT PASSWORD. I want to resintall solaris 10, but how do i get to the ok prompt if I d

  • ACE problem - bridge mode - behind a firewall

    Hello We are having problems with one of you ACE context, this implementation was done by a supplier and I am trying to troubleshoot it. The clients and the servers are on different subnets, there is a Nokia firewall in the middle. The firewalls are

  • ACE end-to-end SSL with Client Authentication

    we have a need to perform an end-to-end SSL with the ACE doing client authentication. Is there a mechanism to allow the ACE to inspect certain fields in the user certificate? All I see are checks for signature, validity, expiration, etc. Nothing that

  • Can't open indesign CS6 program

    It crashes on startup after stating "executing startup services". Have tried restarting my com. But still the same. Im using windows btw.