Help for a SELF REFEREBNTIAL entity required

I'm trying to set up an entity which contains references to itself:
@Entity
public class Klasse implements Serializable
@Id
@GeneratedValue (strategy = GenerationType.AUTO)
private Long id;
String name;
List<Klasse> subCategories;
List<Klasse> superCategories;
How do I have to define the annotations for teh relationships?

I'm trying to set up an entity which contains references to itself:
@Entity
public class Klasse implements Serializable
@Id
@GeneratedValue (strategy = GenerationType.AUTO)
private Long id;
String name;
List<Klasse> subCategories;
List<Klasse> superCategories;
How do I have to define the annotations for teh relationships?

Similar Messages

  • Required F4 help for Requestioner(EBAN-AFNAM) in ME51N,ME52N & ME53N

    Hi Experts,
    Need F4 help for Requistioner(EBAN-AFNAM) in Tran. ME51N, the system is ECC 5.0,
    How can i meet my requirement., kindly revert back <removed by moderator> if u have solution for this.
    Regards,
    Niranjan.G
    Edited by: Thomas Zloch on Jun 21, 2010 4:35 PM

    Hi,
    There are 2 possibilities.
    For these you need to get the Access key.
    One is just create the search help and assign this search help to this field in the screen attributes.
    Second one Just create the POV for this field.
    With Regards,
    Sumodh.P

  • Online Help for Oracle HRMS Self Service System

    I am looking into developing context-sensitive online help for an Oracle HRMS Self Service application. There is currently no online help for the application; all help is provided in printed and online docs, so users are having trouble navigating to the info they need. Help is needed! My initial questions are:
    Would I need to create OHJ or OHW?
    Could I use RoboHelp to develop the content?
    Is there a reference document you can point me to?
    Thanks
    Belinda

    Hi Belinda,
    You would create Oracle Help, and then deploy it using OHJ or OHW.
    The format of the help is the same. There is nothing specific that needs to be done for one or the other. If your system i s a Web application, you would use OHW and otherwise, you would use OHJ.
    You can read more about Oracle Help on OTN at http://www.oracle.com/technology/tech/java/help/index.html.
    (Read the FAQ for more information about the choice between OHJ and OHW.)
    Personally, I would not recommend RoboHelp to create Oracle Help. RoboHelp has a lot of nice features, but the Oracle Help output feature is fairly buggy, especially if you are creating a large helpset, or a helpset that has subhelpsets.
    At Oracle, a lot of help development is done using DreamWeaver and an in-house build tool, called the Oracle Help Build Tool. This is available for free. Send me a mail ([email protected]) if you want a copy.
    Regards,
    Pete

  • Need help for my requirement...

    Need help for my requirement...
    Hello Experts,
    I have report where users can input the company, housebank, account ID and posting date.
    Now in one column of my report named 'Cash in Bank', I need to get all postings from cash
    accounts with GL code ending in '0'. Now, I know that I can get the amounts in BSIS/BSAS
    but how do I link it with the proper bank and account?
    For example:
                       Cash in Bank
    Bank A
      Account ID 1     1,000,000
      Account ID 2     25,000,000
    Hope you can help me guys. Thank you and take care!

    hi Viraylab,
    each house bank you can find in table T012, in T012K you'll find the bank accounts to the housebank, the G/L account will be in T012K-HKONT.
    hope this helps
    ec

  • Required help for a query

    Hi All....
    Required help for one more query.
    I have a table with data like this:
    Cust_id Transaction_no
    111 1
    111 2
    111 3
    111 4
    111 5
    111 6
    222 7
    222 8
    333 9
    333 10
    333 11
    333 12
    I wrote the following query :
    select cust_id, ntile(3) over (order by cust_id) "Bucket" from trans_detls
    The output is like this :
    Cust_id Bucket
    111 1
    111 1
    111 1
    111 1
    111 2
    111 2
    222 2
    222 2
    333 3
    333 3
    333 3
    333 3
    The problem is that I dont want the cust_id to overlap in buckets. That is one cust_id should be present in only one bucket.
    Is this possible?
    Thanks in advance.
    Ameya

    Or Something like..
    SQL> select * from test;
            ID         NO
           111          1
           111          2
           111          3
           111          4
           111          5
           111          6
           222          7
           222          8
           333          9
           333         10
           333         11
           333         12
    12 rows selected.
    SQL> select id, ntile(3) over (order by rn) "Bucket"
      2  from(
      3      select id,row_number() over(partition by id order by no) rn
      4      from test);
            ID     Bucket
           111          1
           222          1
           333          1
           111          1
           222          2
           333          2
           111          2
           333          2
           111          3
           333          3
           111          3
           111          3
    12 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help For Reimbursements requirement - Urgent

    Dear All,
    Requirement says: - Reimbursements are part of employee CTC -
    Employee CTC consists of -
    Basic - 10,000
    HRA- 4000
    CEA-200
    Med- 1250
    Petrol Remb- 1250 - yearly - 15000
    Proff. Dev Remb-1250 - yearly - 15000
    Car Maintce Remb-1250 - yearly - 15000
    Here, Petrol. Prof. Dev and Car Maintce rembursement will be paid once the bills are submitted. However, For instance the employee submits the bill on 1st Apr 2014 then he should only be paid 1250 and not 15000 because in the month of April he is eligible for 1250 only and this amout will also get prorated if there is any LOP's. Now, I have tried with this with the PC00_M40_REMP t.code, but it doesn't work that way coz it doesn't check monthly eligiblity and Client also expects that if the employee submits a bill of 15000 in April then the system should only pay 1250 and the rest amount should be auto-carry forwarded for the rest months and he shall be paid 1250 for rest of months, whenever he is eligible.
    Could you please help me to tackle with this requirement? Your help is really appreciated

    Hi Anusha,
    Either write a PCR for the same or Go for Off cycle payroll ...
    Make an entry in IT0267 for a month once bill has been received...& for a particular month & run off cycle payroll.....
    By doing this you will have a separate payslip too..... for tracking reimbursement claim....
    hope this should solve your issue...
    Regards,
    Veeram

  • Limiting the value help for a user input variable as required

    Hello Gurus,
    I have a requirement :-
    Restrict the value help for a user input variable in a query to only a required set of values instead of the default behaviour. ie instead of having all the values in the master data of that characteristics in the value help.
    How do I go about it? - Do I have to explore the precalculated value set feature?
    If so, please tell me how to go about it in BI 7.I would appreciate if you could explain it in detail rather than sending me a URL because I have gone through most of them but Iam yet to figure out how to create the broadcast setting and subsequent steps.
    Thanks for your time.
    Regards,
    Kris_Hitman

    I believe if the User doesn't want to see any particular values in F4 help then it means they are not intrested in viewing the transaction data related to those values.
    So why don't you restrict that object with the required values. Then the F4 help will automatically display only those values.

  • "Application Help" for Solution Manager 4.0 pre SP 12 required

    Hello,
    where on the web I can find the application help for the SAP Solution Manager 4.0 in the version relevant for me (SP 10)?
    On help.sap.com I only find the help for SAP Solution Manager 4.0 SP12. But in SP12 there are some screens which are not in SP10. Therefore the help for SP12 does not tell me how to do it on SP10 (activating EWA).
    Where do I find the application help for SAP Solution Manager 4.0 SP10?
    Regards

    Hi,
    in the SAP Knowledge Shop for Customers and Partners (http://www.sap.com/company/shop) you can still order the Documentation DVD for SAP Solution Manager 4.0 with the material number 50077327. I expect this to be the one you are searching for.
    best regards
    Carsten

  • F1 help for radio buttons

    Hello All,
       I am getting F1 help when the radio buttons are in display mode but i am not getting F1 help when the buttons are in input mode. what cud be the problem?
    can anyone please help me. required urgerntly
    Thanks & Regards
    Amarender Reddy B

    Hi,
        use  event
       at selection-screen on  HELP-REQUEST FOR 
       rb_radio                                                                               
    As with the addition ON VALUE-REQUEST the field psel_low_high  
    is either the name of a report parameter or of the form sel-LOW
    or sel-HIGH, where sel is the name of a selection criterion.   
    When the user presses F1 on the relevant field, the subsequent 
    processing block is executed. You can thus implement a         
    self-programmed help for the input/output fields of the        
    selection screen. If the program contains such an event and the
    user presses F1, the system processes this rather than         
    displaying the documentation of the Dictionary field - even if 
    the report parameter or the selection option with LIKE or FOR  
    points to a Dictionary field.                                  
    Regards
    amole

  • Need to restrict values in F4 help for Batch Characteristic

    Hi,
    I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
    Regards,
    Nikhil

    Hi nikhil simha,
    first of all, find out which search help is called.
    [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
    may help you.
    If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
    If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
    Regards
    Clemens

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • How to get the F4 help for a field in the selection screen

    Hi all,
    I am working on a report program. In the selection screen, I have the field 'Brand Node ID'(ZNODEID). The requirement is to have the F4 help for this field. This field is available in a 'Z' table ZNODETAB. There is no Value table maintained for the corresponding data element. So, without disturbing the table data element/domain, I should get the F4 help in the selection screen of the report. In the F4 help, data should be fetched from the table ZNODETAB and the field is ZNODEID. Is there any way to do this.
    By searching the function modules, I could find that, we can use the FM F4IF_INT_TABLE_VALUE_REQUEST. But, I am not Sure. Can someone tell me the parameters to be passed to this function module to get the F4 help and the procedure to follow. S_NODEID is the select option used in the program. Please help me in this regard. Thanks in advance.
    Thanks & Regards,
    Paddu.

    look at this code and try
    select-options : S_NODEID for ZNODETAB-ZNODEID.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-LOW'.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-HIGH'.
    end-of-selection.
    FORM f4_nodeid  USING    p_field.
      declare it_node.
    select znodeid from ZNODETAB into table it_node.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ZNODEID'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = p_field
          value           = space
          value_org       = 'S'
          display         = 'F'
        TABLES
          value_tab       = it_node
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    endform

  • Where can I find detailed, systematic HELP for advanced topics relating to Thunderbird?

    In moving from XP to Windows 7, I opted for Thunderbird as email client in order to bypass Microsoft's hyper-intrusive Windows Live Mail (I used Outlook Express for years).
    I have a very complicated email structure, and it's taken me weeks (seriously) to learn how to replicate it in TBird. Now I'm trying to customize TBird further, but none of the TBird articles/forum Q&A's/Google searches address my questions.
    There is no live tech support for TBird, and I'm just about ready to leave it for good. However -- one last effort: where can I find detailed, systematic HELP for advanced topics relating to Thunderbird?
    Thanks.

    I am no expert, but I don't know of any authoritative reference as to what elements of HTML and CSS are supported in Thunderbird. However, as I believe you appreciate, it's more than just what Thunderbird supports, but one must also think about what is likely to work in other email clients. Keep it simple. Avoid ancient deprecated tags that other email clients may not support, and for similar reasons, avoid cutting edge technology. Remember that recipients using tablets or smartphones won't appreciate large fancy email documents.
    The only thing ''guaranteed'' to work in email is plain text. ;-)
    If you haven't already discovered it, the Stationery add-on is designed specifically to support OE stationery in Thunderbird. Your existing stationery may "just work" in this add-on. It makes switching between various stationery templates much easier, but I'm not confident that it will affect interpretation of your CSS or HTML coding.
    Your code is at least clean and minimal. Most times my involvement with troublesome templates and signatures centres on the horrible bloat and mso custom code generated by Word or Outlook.
    Having said that, you and I are mortal enemies, as I don't have much patience with what you aspire to achieve. I specifically don't like background images, nor being obliged to suffer other folks' bizarre choice of typefaces and colours (but your simple 12pt black Tahoma is quite inoffensive. ;-) ) I'm of an age where my tolerance and eyesight are easily offended.
    Nonetheless, I'm intrigued by how to parse the tag for the background image, as it doesn't look like a legitimate pathname to a graphics file. Does the background image actually appear as required?

  • F4 help for the batch field in VL02N transaction

    We have upgraded our system from 4.6 to ecc 6.0 .In 4.6 the f4 help for the batch had " Batch selection via plant/Material/Storage location/Batch " which is not there in ECC 6.0.
    Please tell us the procedure to add in the existing  search help H_MCHA in ECC 6.0
    Thanks
    Aruna

    Hi Aruna.
      Create ur own search help using se11 tcode for required fields.
      Thanks & Regards,
    Kiran.
    Plz give rewards if and only if it is helpfull.

  • F4 help for the field requisitioner in ME51n

    hi friends,
    i got a requirement to give F4 help for the filed  requisitioner in Me51N which will be in item level .
    can any one give me the exit, badi, enhancement-point for this.
    thanks and regards,
    venkat.

    not answered

Maybe you are looking for

  • Importing text from XML file, "\n" not working

    Hi I'm currently trying to set up my game so it pulls in all text from an external XML file (to make switching between different languages easier). The problem is that on several occasions I need to use the special code "\n" to start a new line (for

  • Returning both raise_application_error and return value from db function...

    Hi , I use Oracle 10g and forms10g. I have written a db packaged function such as: function fnc_ipologismos_xiliometron(code_poleis_apo_var in varchar2,code_poleis_pros_var in varchar2)    return number    is     apostasi_var ref_apostaseis_poleon.ap

  • Garageband 10 won't load my Wallander Instruments AU plug-ins

    I upgraded to Yosemite and GB 10.0.3 on my PowerBook pro 15" 4GB 2008 laptop. The 6.05 version of GB still works fine, but when I try to load GB 10 I get two messages complaining that the WIVI and WIVI Band AU plugins can't be found: "The plug-in nam

  • Question on synchronized

    Hello: Suppose I have this code: class BigClass     class MyThread extends Thread           @Override public void run()                inst.DoSomethingLocal();                inst.DoSomethingGlobal();     int globalvar=0;     public int /*synchronize

  • Why wont imessage on ipod touch send messages to my iphone contacts?

    I have bought my daughter an ipod touch - she wants to use the imessage function to send messages to me on my iphone. The ipod touch lets her type the message but whenever she tries to send it it comes up with a red exclamation mark and says message