How to create a many to many relationship in forms 10g

hello frnds,
I want to create many to many relationship, can any one help me plz?
Regards
Divya Alok

Hi ,
In this situation create two separate blocks one is master and the other one is detail block.
Then make detail block as database data block with the proper table name.Pass the value that your enter in the master block to the detail block as the search criteria to fetch the data from the table and to show the data related to the master value .If you have multiple master values then create data base data block sql query in such way that it must use all the master inputs as the search criteria.
EX. Some time user wants to see the details of the employee after entering the emp id as the search criteria,that time you have to pass emp id as the search criteria to detail data base data block.Even you can pass emp id and emp name as the search criteria to the detail database data block.
Thanks,
Pavan.

Similar Messages

  • How to create sap query with "or" relationship

    dear experts,
    I need a report to display the employee whoese WSR is
    changed in the month for infotype 0007.
    that is ,we want to search with selection
    begda OR endda between 2008-01-01 and 2008-01-31.
    how to create sap query with "or" relationship?

    hi use like this,
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 =  p_pernr
        infty                   =  '0007'
       BEGDA                =  p_date1
       ENDDA                 = p_date2
      TABLES
        infty_tab             = itab .
    hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
    loop at itab where condition.
    endloop.
    may it helps u,
    regards,
    venkat.

  • How to create multiple Tree Type Region In Tabular Form ?

    Dear Friends,
    i have to design tabular form to Distribute User Rioght to emp to access application
    eg if i have Three module in application
    1.Administration
    2.Attendance
    3.Accounts
    Module
    1 Administration have 5 Pages A,B,C,D,E.
    Module
    2 Attendance HAVE 4 Pages F,G,H,I
    Module
    3 Accounts HAVE 7 Pages J,K,L,M,N,O,P
    I need these three module divided into three section in tabular form as a tree Type like
    Module 1 Tree Open in Tabular Form like
    - (Tree Mark Open )
    =======================================================
    PAGE_ID-------------SUBPAGE_ID-------VIEW-------------------MODIFY-------------------CREATE----------------------------TABLE COLUMN NAME
    ========================================================          
    Administration-----------A------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------B------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------C------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------D------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Administration-----------E------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    - (Tree Mark Open )
    Module 2 Tree Open in Tabular Form like
    Attendance-----------F------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------G------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------H------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Attendance-----------I------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    - (Tree Mark Open )
    Module 3 Tree Open in Tabular Form like
    Accounts-------------J------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------K------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------L------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------M------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------N------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------O------------------CHECK bOX------------CHECK BOX-------------CHECK BOX
    Accounts-------------P------------------CHECK bOX------------CHECK BOX-------------CHECK BOXi need divided these three Module in Tabular form in three region as tree.
    Table APPLICATION_PAGE_DETAILS
    ID                   NUMBER
    PAGE_ID             NUMBER
    SUB_PAGE_ID          NUMBER
    ========================
    TABLE USER_RIGHT
    ======================
    ID                  NUMBER
    EMP_ID            NUMBER
    PAGE_ID            NUMBER
    SUB_PAGE_ID        NUMBER
    VIEW                    VARCHAR2(1)
    MODIFY                VARCHAR2(1)
    CREATE                VARCHAR2(1)How to create multiple Tree Type Region In Tabular Form ?
    How can i do this ?
    Thanks
    Edited by: Vedant on Oct 4, 2011 3:21 AM
    Edited by: Vedant on Oct 4, 2011 9:09 PM
    Edited by: Vedant on Oct 13, 2011 8:57 PM

    Well think of it I believe the scenario is too bird viewed hence the solution can't be exact.
    But thinking of a possible solution every time a child operation fails have a catch block where you you go back to system if the parent needs to be deleted if yes, call Delete Method on the parent.
    Note: Make sure that the decision on whether or not the parent record needs to be deleted will depends on the question "Does Parent Record already has several other children associated to it or not"
    Hope this clarifies.
    Regards,
    Messer

  • How to create table with row type in smart forms

    How to create table with row type in smart forms with out line type
    please explain me the procedure

    HI,
    A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command DATA <inttab> TYPE TTYP. An internal table <inttab> is created in the program with the attributes defined for TTYP in the ABAP Dictionary.
    A table type is defined by:
    its line type, that defines the structure and data type attributes of a line of the internal table
    the options for managing and accessing the data ( access mode) in the internal table
    the key ( key definition and key category) of the internal table
    The row type is defined by directly entering the data type, length and number of decimal places or by referencing a data element, structured type ( structure, table or view) or other table type. Or the row type can be a reference type.
    <b>for more info :</b> http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm
    Internal table
    Regards
    Sudheer

  • How to create own attributes in the graph.xml of 10g Reports

    Hi,
    Iam using 10g reports. Iam recreating the graphs in 10g which were created in Graphics builder earlier. While doing that I found lot of features are missing in 10g reports charts wizard. It has only limited number of Graph types when compared to the Graphics builder. Like there is no Curve graph in 10g. The available are Line, Bar and Area. So how can I draw a curve instead of line? 10g Legend looks very ugly. There is lot of space between the values. Is there anyway that I can add my own attributes in the graph.xml and register in the reports?
    Please advise.
    Thanks.
    Ram Dontineni.

    Hi Ram,
    how can I draw a curve instead of line?I have posted a Q in BI Beans Forum for you, we should get an answer there:
    Curved Line Graph?
    10g reports charts wizard. It has only limited number of Graph types when compared to the Graphics builderThat may not be exactly true.
    10g Graph Wizard supports 11 major graph types, and 47 sub-types
    While 6i Graphics Builder supported 5 major graph types and 35 graph sub-types
    There are differences between 6i Graphics and 10g Graph Wizard, so certain things you might have been able to do in 6i may not be entirely possible in 10g. However, the main advantages of the 10g Graph option are - it internally uses BI Beans, which is used in ALL Oracle poducts like JDeveloper, Discoverer, Oracle Apps etc. So the customer gets a consistent look-and-feel. And that it is possible to define your Graph in XML format (and through Java API in JDeveloper).
    We have published a list of FAQ's on OTN where you should get answers to at least some of your Q's:
    http://otn.oracle.com/products/reports/index.html (click on Graphing FAQ)
    Is there anyway that I can add my own attributes in the graph.xml and register in the reports?This will not be possible, however, you should take a look at the complete list of elements and their attributes that is exposed in Graph.dtd - you can then choose the attributes you want, and add them to your Report's Graph.xml:
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/graphdtd/graph_dtd_technote_2.html
    Navneet.

  • How to create table for XML schema-based Interface form

    Hi All,
    With tcode SFP to crate  a XML schema-based Interface form, how to create a defined table can be listed in "Data View"?
    Just like APAP Dictonary- Based Interface form, that we can drag  a defined table from data view to the panel.

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • How to create Generic Service in HCM Processes and Forms

    Hi Friend's,
      Can you tell me what are the steps to create Generic Service in HCM Processes and Forms and also tell me how to link Generic service with BADI.
       In SPRO, I defined one customized generic service, but i cant able to implement the generic service to BADI. Moreover it's asking for Composite Badi Implementation name.
       So tell me the steps which guide me to create that.. Waiting for your replies....

    hi ramesh,
                      use HRASR00GEN_SERVICE_BASIC  create ur own.
    Madhukar

  • How to create good looking GUI workflows without Infopath forms

    Hi All,
    I have to create Good looking GUI without using Infopath Forms for use in workflows.
    Since Infopath support will gradually go off I want to use some other technique so that it can be used in long run.
    Please let me know a good solution.
    Regards,
    Navy

    You can use Visio to obtain nice visual flows.. for your workflow.. In 2013 you can use visual designer..
    Please refer link below..
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/10/22/introducing-the-new-visual-designer.aspx
    Nintex or K2 are good options specifically nintex if you can afford them..

  • How to create an applet, with many squares inside?

    Hey,
    I'm having problems creating an applet. Heres the image I need to recreate. The drawing should scale, so that it reaches the full width and
    height of the applet.
    http://img503.imageshack.us/my.php?image=graphicsafx5.jpg
    I created a similar one (the code is below), but don't know how to modify it to create the image in the above link. Do I need a for loop? like for ( int i = 0; i < 10; ++i )
    import java.applet.Applet;
    import java.awt.*;
    public class AprilTest1 extends Applet
       public void paint(Graphics g)
            Graphics2D g2 = (Graphics2D)g;
            int width = getWidth();
            int height = getHeight();
            g2.setColor( Color.black );
            g2.fillRect( 0, 0, width, height);
            int pen_width = width/90 + 1;
            g2.setStroke(new BasicStroke(pen_width));
            g2.setColor( Color.white );
            g2.drawRect( width/4, height/4, width/2, height/2);
    }

    As CeciNEstPasUnProgrammeur said you do need a loop. You can probably make good use of the % operator inside your loop also.
    for(int i=0; i<NUMBER_OF_RECTANGLES; i++){
         if(i % 2 == 0) {
             //draw black rectangle
         } else {
             //draw white rectangle
    }Just think about what you need to do:
    -Start 1 rectangle at (0,0) and have its width and height as getWidth() and getHeight().
    -Pick an increment [this will be the 'width' of each rectangle]
    -Now for each rectangle you want to move your x and y points right and down by your increment. Moreover, you want to make your width and height smaller by your increment*2
    Essentially what I did is initialize 3 variables to 0 [say x, y, and z]. In your for loop use the % operator in an if-else block. If the loop is on an even number make a white rectangle, if the loop is on an odd number make a black rectangle. Set the x and y position to x+z and y+z respectivley. Set the height and width to getHeight()-(z*2) and getWidth()-(z*2) and then increment z by...lets say 10.
    This means on the first loop:
    x = 0
    y = 0
    width = getWidth()
    height = getHeight()
    Second loop:
    x = 10
    y = 10
    width = getWidth()-20 [10 to compensate for the shift, and 10 for the width]
    height = getHeight()-20
    Here is what I came up with - hope it helps.
    import java.applet.Applet;
    import java.awt.*;
    public class AprilTest1 extends Applet {
         private int x, y, z = 0;
         public void paint(Graphics g) {
              for(int i=0; i<10; i++){
                   if(i%2==1){
                      g.setColor( Color.white );
                      g.fillRect(x+z, y+z, getWidth()-(z*2), getHeight()-(z*2)); 
                   } else {
                      g.setColor( Color.black );
                      g.fillRect(x+z, y+z, getWidth()-(z*2), getHeight()-(z*2));
                   z += 10;
    }Any questions, feel free to ask :)

  • How to create several colums if many rows

    Hi,
    I have a problem with finding a technical solution. If I have more than 30 records, I want to put them in the next column. How do I do this in xsl (HTML output):
    |PCS|REV|DATE | |PCS|REV|DATE |
    | 1 | 1 |xx.xx.xx| | 5 | 1 |xx.xx.xx|
    | 2 | 1 |xx.xx.xx| | 6 | 1 |xx.xx.xx|
    | 3 | 1 |xx.xx.xx| | 7 | 1 |xx.xx.xx|
    | 4 | 1 |xx.xx.xx|
    Is this something you can help me with?
    Where can I learn more about xsl, xpath, xml, xslt etc?

    My book Building Oracle XML Applications has a technical introduction to XML, XML Namespaces, XPath, XSLT, and contains 17 chapters of examples of using these technologies together with the Oracle XML platform in Java, PL/SQL, and with XSQL Pages. You can checkout reviews at: http://www.amazon.com/exec/obidos/ASIN/1565926919
    Here's a solution to your XSLT problem.
    Given an XML source like:
    <terje>
    <rec rev="a" date="xx.xx.xxxx"/>
    <rec rev="b" date="xx.xx.xxxx"/>
    <rec rev="c" date="xx.xx.xxxx"/>
    <rec rev="d" date="xx.xx.xxxx"/>
    <rec rev="e" date="xx.xx.xxxx"/>
    <rec rev="f" date="xx.xx.xxxx"/>
    <rec rev="g" date="xx.xx.xxxx"/>
    <rec rev="h" date="xx.xx.xxxx"/>
    <rec rev="i" date="xx.xx.xxxx"/>
    <rec rev="j" date="xx.xx.xxxx"/>
    <rec rev="k" date="xx.xx.xxxx"/>
    <rec rev="l" date="xx.xx.xxxx"/>
    <rec rev="m" date="xx.xx.xxxx"/>
    <rec rev="n" date="xx.xx.xxxx"/>
    <rec rev="o" date="xx.xx.xxxx"/>
    <rec rev="p" date="xx.xx.xxxx"/>
    <rec rev="q" date="xx.xx.xxxx"/>
    <rec rev="r" date="xx.xx.xxxx"/>
    <rec rev="s" date="xx.xx.xxxx"/>
    <rec rev="t" date="xx.xx.xxxx"/>
    <rec rev="u" date="xx.xx.xxxx"/>
    <rec rev="v" date="xx.xx.xxxx"/>
    <rec rev="w" date="xx.xx.xxxx"/>
    <rec rev="x" date="xx.xx.xxxx"/>
    <rec rev="y" date="xx.xx.xxxx"/>
    <rec rev="z" date="xx.xx.xxxx"/>
    <rec rev="aa" date="xx.xx.xxxx"/>
    <rec rev="ab" date="xx.xx.xxxx"/>
    <rec rev="ac" date="xx.xx.xxxx"/>
    <rec rev="ad" date="xx.xx.xxxx"/>
    <rec rev="ae" date="xx.xx.xxxx"/>
    <rec rev="af" date="xx.xx.xxxx"/>
    <rec rev="ag" date="xx.xx.xxxx"/>
    <rec rev="ah" date="xx.xx.xxxx"/>
    <rec rev="ai" date="xx.xx.xxxx"/>
    </terje>the following stylesheet renders the columnized output as you want, with a parameterizable number of records per column.
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!--
    | This controls the number of records in a column and can
    | be changed by passing in a new value from outside the stylesheet
    +-->
    <xsl:param name="per-col" select="30"/>
    <!-- Calculate the number of columns we'll need based on $per-col -->
    <xsl:variable name="num-col" select="ceiling(count(terje/rec) div $per-col)"/>
    <xsl:template match="/">
    <html>
    <body>
    <table border="1" cellspacing="0">
    <tr>
    <!-- Print a heading for each column we need -->
    <xsl:apply-templates mode="header"
    select="terje/rec[position() mod $per-col = 1]"/>
    </tr>
    <!-- Process all the records in the FIRST column in "row" mode -->
    <xsl:apply-templates mode="row"
    select="terje/rec[$per-col >= position()]"/>
    </table>
    </body>
    </html>
    </xsl:template>
    <!--
    | Process the current "rec" element and all following sibling <rec>
    | elements that are a multiple of $per-col away from the current one
    +-->
    <xsl:template match="rec" mode="row">
    <tr>
    <xsl:variable name="rowrecs"
    select=".|following-sibling::rec[position() mod $per-col = 0]"/>
    <xsl:variable name="num-rowrecs" select="count($rowrecs)"/>
    <xsl:apply-templates select="$rowrecs"/>
    <!--
    | If the number of columns is greater than the recs in this row
    | then generate an empty row to avoid blank table cells
    +-->
    <xsl:if test="$num-col > $num-rowrecs">
    <xsl:call-template name="empty-row"/>
    </xsl:if>
    </tr>
    </xsl:template>
    <xsl:template match="rec">
    <td><xsl:value-of select="count(preceding-sibling::rec)+1"/></td>
    <td><xsl:value-of select="@rev"/></td>
    <td><xsl:value-of select="@date"/>&lt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ;/td>
    </xsl:template>
    <xsl:template match="rec" mode="header">
    <th>PCS</th><th>Rev</th><th>Date</th>
    </xsl:template>
    <xsl:template name="empty-row">
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    </xsl:template>
    </xsl:stylesheet>Hope this helps.
    Steve Muench
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • How to Create Passport Size Photo (many photo in a single page) using photoshop cs

    Can anyone here tell me to  create and print same photo (passport size) in a single page i mean full page will cantain my photo multiple times of same size I have printer which suports A4 size paper
    vishal verma
    Ebuzznet

    Good day!
    What are your options under Edit > Automate?
    Regards,
    Pfaffenbichler

  • How to create "One to zero-one relationship"?

    Hi there,
    I have the following tables:
    Table A has the following fields:
    a_id (PK)
    a_name
    b_id (FK) NULL
    Table B has the following fields:
    b_id (PK)
    b_name
    I have 2 objects as follows:
    Object A
    Integer a_id
    String a_name
    B objB
    Object B
    Integer b_id
    String b_name
    I have setup one-to-one mapping between Objects A and B. There are times when I wish to insert Object A where objB is null and have null inserted in b_id of Table A. But by doing this, TopLink tries to insert a record with Null values in Table B. What is the best way to create a one-to-zero-one mapping in TopLink?
    Thanks
    Deepak.

    Deepak,
    What you are looking for is the default behavior of TopLink. Having the attribute A.b set to null should result in the FK being populated with NULL and nothing written to the B table.
    The only thing I could think of that would cause this is if you mapped the A table using a multiple table mapping. You should not require a multiple table mapping in the scenario you described.
    If this is not the problem then please post the deployment XML generated from the Mapping Workbench to help explain the situation.
    Doug Clarke
    Product Manager
    Oracle9iAS TopLink

  • How to create a text field in Oracle apps11i Forms.

    Hi Guru's
    I have the following requirement to modifiy the PO Receiving screen in Oracle apps 11i,
    1. An additional field (No. of Items to recive) need to be created to the “PO Receiving” screen of Oracle apps 11i .
    2. Once user mentioned the po num, PO Line Num and quantity in the newly created text field and when he/she click on the Find Button , the receipt lines (lines should be as many as the quantity mentioned in the newly created field) should be create in the receipt screen
    Please let me know if this can be achived through Form Personalization or is there any other approach?
    Thanks,
    Mustaq.

    Mustaq,
    First and foremost; never under any circumstance should you modify an Oracle EBS form. This is a violation of the EBS License Agreement. Oracle has provided methods of capturing data that is not part of a form. I suggest you dig through the Oracle Applications Documentation and read up on using Descriptive Flex-Fields (DFF).
    Also, Francois is right. For this type of question, the General EBS Discussion forum is the best place to post this question.
    Craig...

  • How to create a password on windows folder using form developer

    Dear friends
    i want to create a password on folder of ms windows. i think we use host() or ora_ffi. but i don't know how to use it to create a password. if any one knows my request please inform me step by step as soon as possible
    thanks a lot
    God bless all of us
    shafiq malik

    How To Encrypt A Folder With Password Protection In Mac

  • Instructions on how to create a "flattened" pdf from a LiveCycle Form

    My company is working with a vendor who had requested that I "flatten" my LiveCycle created pdf so as to remove the XML data and interactivity from the form so it no longer has fill in fields. After much research I found a very simple solution and wanted to post it here because the discussions that I waded thru on this forum to find out how to do this process were varied and lengthy. But in reality, the solution is quite simple.
    I opened my regular LiveCycle file in LiveCycle and chose "print" from the File menu. In the Printer Name drop down, I chose "Adobe PDF", clicked OK and then saved the form with another name. Now the form is not fillable, is compatible with older systems, and no longer has any "fill in fields" even when opened back up in LiveCycle as a "flowed" document. The text is editable but in small snippets instead of as paragraphs.
    I thought I'd share this because you never know who might be looking for just this same solution. The funny thing is, I wish I had known of this earlier. The United States postal service is using Adobe Reader version 5 and couldn't open any of my pdfs. This might have helped us to be able to view the documents on their system. And I thought MY company was behind the times! Who knew?

    Hello All,
    Value Table in Marketing attributes is for search help configured by following the steps mentioned in below OSS.
    1044363
    1546360
    1542289
    Thanks
    Praneeth

Maybe you are looking for

  • Release sales order credit block using VA02

    Dear experts, By any chance can we release the sales order from credit block using VA02 instead of VKM3? I could see an example wherein the change log shows that the Overall Credit Status has been changed to Approved using VA02. Could you please assi

  • Query a view w/data entered into a text field populated by 2 table fields

    Hello, Looking for advise!!! I have a tabular canvas thats datablock uses a view to populate. In this canvas I have a text field that has been populated with first_name || ' ' || last_name in the database node of the property pallate column name. The

  • How to add an image in a JPanel

    Hi All, How to add an image in a JPanel and make it display. Thanks,

  • Global Variable in report

    i am working with some global variables in all of my application including forms and reports. the global variables are created in the when new-form-instance trigger of the main form. the global variables are accessible throught the forms but i d,not

  • Skype Video Call Clarity after PR 1.2 Release !

    Hi Guys, Can any of you confirm how is the Video Clarity whilst making Video calls on Skype. is the Video and call clarity good enough. I guess not many people have tried this since the PR 1.2 release. Dont see any posts so far on people confirming i