One to one (mandatory participation)

hi,
if my db has a one to one relationship with mandatory participation on both sides (i.e. (1,1) ---- (1,1)), then according to my relational database notes, we can put the two relations as one. i.e.
schema (X U Y) = X1,...Xn,Y1,...,Yn
I assume this means that we will no longer need schema(X) and schema(Y). Because we have put them both together. Is this right? Or should we still have the original schemas too?
Now supposing our program had classes X and Y. Would it make sense to combine them into one class? It wouldn't, would it? So does that mean that even though our db now contains a table which is a combination of the columns of X and Y, our domain model should contain two separate classes, X and Y, and X should have a variable which is a reference to a Y instance to represent the mandatory 1-1 relationship?
Thanks.
AU

hi,
if my db has a one to one relationship with mandatory
participation on both sides (i.e. (1,1) ---- (1,1)),
then according to my relational database notes, we
can put the two relations as one. i.e.
schema (X U Y) = X1,...Xn,Y1,...,Yn
I assume this means that we will no longer need
schema(X) and schema(Y). Because we have put them
both together. Is this right? Or should we still have
the original schemas too?Your notes said so. Why don't you believe them?
Either one is valid. Both are design choices. Make one for whatever reason you have and be done with it.
>
Now supposing our program had classes X and Y. Would
it make sense to combine them into one class? It
wouldn't, would it? Not if they really should be two separate classes. Another design decision. Make a choice and defend it as best you can.
So does that mean that even
though our db now contains a table which is a
combination of the columns of X and Y, our domain
model should contain two separate classes, X and Y,
and X should have a variable which is a reference to
a Y instance to represent the mandatory 1-1
relationship?
Thanks.
AUYour problem is that you want black & white answers to make up for your utter lack of understanding. They don't exist. There are only choices and reasons why one is better than others under different circumstances.
%

Similar Messages

  • Adding one more participant to approve the task in workflows

    Hi All,
    I'm having a requirement of adding the adding one more workflow user for approving the task. How to add one more workflow user in the human and allow him to approve the task which has been already approved by another workflow user, means it is hierarchical approval.
    First the task has been approved by assignee then finally the task has been approved by the approver who has admin rights.
    Regards,
    CH

    Hi,
    I have added the users but i need to approve the same task for twice then it is propagating the data to the other end. Is there any hierarchy that we have to
    define for the user inside human task.
    Everytime I'm approving the request for twice. How to approve the request for only one time.
    Regards,
    CH

  • How to get New Window without Variable Entry screen from one Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • How to achieve New Window requirement from One Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • Checking updates to threads one has participat​ed in without receiving email

    Sounds basic but here is my question, and if it has no answer, my request for a forum feature.
    Once one posts into a thread (including starting one), one can opt in or out to receive email updates. I usually opt out because I cannot care less for the spam. Moreover, I don't need the updates shortly after my post, as the thread will likely show up on my profile in the "Latest posts by X." section.
    However, past a certain time, these threads will drift back into oblivion and I have to tab through many pages to occasionally find an updated thread (sometimes with interesting feedback).
    Most other forums I follow have a way of bringing modified threads one has participated in (or subscribed to) to the top of the list.
    Is there a way to do this on this site or is this a missing feature?

    Just Click your own name and hit the View All button in Latest Posts.  
    The Glyphs and BOLD text are rather informative and I rely on them to track short term activity since I often participate on multiple threads at the same time.
    Hit the "My Settings" button on the mid-banner too!  and there is a way to get a daily summary e-mail.  That e-mail is the one to watch for longer term threads like bug report updates from JeffP etc....
    Generally, the average poster never needs more tools that the profile page offers (I would bet a majority of "Members" do not even know THAT exists)  But you are getting up to that multi K post level where you do start feeling a bit of a pinch from being a few sigmas out on the tail of the distribution.  Writing tools for this far out on the tail is probably not a sound investment for Lithium---- but I wish they HAD thought of us earlier in the design.
    Jeff

  • Two input ports to BAPI submit on one event

    Hi colleagues!
    I'm trying to setup incoming invoice creation in Visual Composer.
    I use standard BAPI (BAPI_INCOMINGINVOICE_CREATE).
    This BAPI expects one input form (headerdata) and, as far as I understood, one table (itemdata) as mandatory input.
    So I put bapi on storyboard, flipped port ITEMDATA from output to input. Created input form from HEADERDATA and input table from ITEMDATA. Also I created output form with Invoice Number.
    I created custom event SUBMITPO on both input form and table. Upon that event data, entered into form and table, should be submitted to BAPI, and Invoice should be created.
    But when I deploy and run iView, it throws two errors (see Link: [screenshot|http://www.dennisk.org/tmp/inv_screeenshot.jpg]).
    I think it's because uppon event two data streams are triggered, and BAPI deals with them independently. How can I avoid that?
    More broad question. How to create invoice in VC, preferably using standard function modules?
    Here's Link: [model|http://www.dennisk.org/tmp/IncomingInvoiceTest19052008.gml] itself.
    Thanks in advance for help and assistance!
    Regards,
    DK

    Dear dk ,
    I think ur question is even u have one mandatory field in ur first screen even u dont fill in mandatory field the data is populating in table at mean time an error is returing from back end right . is ur exact requirement means send me reply we will do this .
    or
    brief about ur problem
    Regards ,
    venkat

  • BICS - Passing Mandatory Filter Variable value to a BEx Query

    Hi All,
    I have similar problem as the below URL.
    BICS - Passing variables to a BEx Query
    Details:
    I have a mandatory filter - Display Currency in BEx query. I'm trying to input this mandatory filter from Xcelsius, (by mapping the filter value to a cell in Xcelsius spreadsheet).
    However, when I lauch the dashvoard in IE page, it still throws an error:
    " One or more mandatory varaibles of the query... are not filled"
    Does anyone face this issue?
    Regards,
    AK

    Hi Sriram,
    I assume you are using SAP direct connectivity.
    >> Yes, it is direct connectivity to SAP-BW.
         (And I'm publishing this dashboard in SAP-BW system itself.)
    1. What are all the Variables you get in intial variable screen?
    because if you have a Mandatory variable in your Bex query, a intial variable screen will appear with all the variables.
    >> I'm testing the underlying BEx query, it has one mandatory variable for "Display Currency". Other are optional variable-filters, so other filters are not a problem.
    2. when you get this error "One or more mandatory varaibles of the query... are not filled", just after the Launch or after the variable screen?
    >> I use the option in Xcelsius: SAP --> Launch -->  a new IE page opens, then I get this error
    3. However you can bye pass this screen only when you give default values to your mandatory variables.
    >> When I use personalization in BEx side, to input default value (e.g: USD), and then run this standard content dashboard, the hangs.(Do not see anything on IE page for long time. Though the data is very less-Few hundres rows)
    So, I'm looking at passing the value from Xcelsius-spreadsheet, however, the dashboard is not picking up the value from the mapped-cell.
    Hope this gives more clarity on the problem.
    Cheers,
    AK
    Edited by: Anil Kumar2981 on Jun 16, 2011 12:12 AM

  • Behaviour of radiobutton and mandatory fields in a selection screen

    Hello all
    In the selection screen in a report , I have one mandatory field F1 and 2 radio button  p_val and p_prov. there's no relationship between p_prov, p_val & F1.
    I have 2 others fields p_dom and p_seg which are active when I select p_val : they are also mandatory when selecting p_val.
    p_prov is the default radiobutton so p_dom and p_seg are inactive when the screen appears
    I have 2 problems :
    1 - First I select p_val (the message for F1 as mandatory appears -> normal) so p_val appears selected but The 2 fields p_dom and p_seg are not active. I would like them to be active even I have not filled F1.
    2- I fill F1then I select p_val, so p_dom and p_seg are active, I fill only p_dom but not p_seg : I select radio button p_prov (the message for p_seg as mandatory appears -> normal) : p_prov appears selected but I don't want it.
    Thanks for your help.
    below the code of selection screen with event at selection-screen output :
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : p_val RADIOBUTTON GROUP GR2 USER-COMMAND radio.
      SELECTION-SCREEN COMMENT 4(37) text-132.
      SELECTION-SCREEN END OF LINE.
      PARAMETERS : p_dom TYPE GSBER OBLIGATORY MODIF ID SC1.
      PARAMETERS : p_seg TYPE FB_SEGMENT OBLIGATORY MODIF ID SC1.
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : p_prov RADIOBUTTON GROUP GR2 DEFAULT 'X'.
      SELECTION-SCREEN COMMENT 4(37) text-133.
      SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'SC1'.
          IF p_prov = 'X'.
            SCREEN-INPUT = '0'.
            SCREEN-REQUIRED = '0'.
          ENDIF.
          IF p_val = 'X'.
            SCREEN-INPUT = '1'.
            SCREEN-REQUIRED = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

    hello Jerome,
    Here you go.
    2 things to remember:
       1. Remove the obligatory addition from all fields.
       2. Remove the input required while changing the screen elements.
    PARAMETER: f1 TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : p_val RADIOBUTTON GROUP gr2 USER-COMMAND radio.
    SELECTION-SCREEN COMMENT 4(37) text-132.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS : p_dom TYPE gsber MODIF ID sc1.
    PARAMETERS : p_seg TYPE fb_segment MODIF ID sc1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : p_prov RADIOBUTTON GROUP gr2 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 4(37) text-133.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'SC1'.
          IF p_prov = 'X'.
            screen-input = '0'.
          ENDIF.
          IF p_val = 'X'.
            screen-input = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
      CHECK sy-ucomm <> 'RADIO'.
      IF p_val = 'X'.
        IF p_dom IS INITIAL OR p_seg IS INITIAL.
          MESSAGE 'Fill Mandatory fields' TYPE 'E'.
        ENDIF.
      ENDIF.
      IF f1 IS INITIAL.
        MESSAGE 'Fill F1' TYPE 'E'.
      ENDIF.
    Thanks,
    Jinesh.

  • There used to be a little icon indicating which threads I am participating in

    There used to be a little icon (to the left of the subject line) indicating which threads I am participating in.  Such an icon doesn't appear anymore ?
    It's difficult to track which threads I am participating in within a "Community"
    Hemant k Chitale

    Aman.... wrote:
    Hemant,
    Probably, for this they have made that Activity tab where you can see what is going on. Not quite matching with the old , "watching" of the thread one has participated.
    Aman....
    But now one has to make a side-trip to the 'activity' and 'communications' tabs.  Before, I could just visually scan the message listing for a forum and quickly identify threads or users I was watching ... and participating constituted 'watching'.

  • JDBC driver does not support XA, hence cannot be a participant in two-phase

    Hi
    I have a question, we enabled "One Phase Commit", even though we are getting "javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source =nested exception is: javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source". Why is that?
    Thanks
    Edited by: user7256072 on Apr 10, 2012 12:35 PM

    Is there more than one resource participating in the transaction?
    If this is the case, and the resources are for example a database and JMS, you can emulate XA
    by using the logging last resource setting on a non-XA driver.
    An example of the above is presented here: http://middlewaremagic.com/weblogic/?p=7716 (the section my first JavaEE6 application)
    Here a stateless EJB is used that has an insertPerson method that uses a datasource and JMS in a transaction.

  • Euipment or Function location field Mandatory in Work Order

    Hi
    How to make either Equipment or Function location ( either of the one) mandatory in Work Order.
    Thanks ini advance
    Thiyagarajan

    Hi ,
    The field equipment or f.loc can be made mandatory using transaction variants  -- but it would be applicable for all order types .....
    1.use tcode SHD0 , give IW31 in Transaction code and ZIW31 in transaction variants and press create ..
    2.this would take you to IW31 initial screen and enter planning plant and order types and press enter this would give the dialog box of screen variant .Here press continue and this would take you to inside screen .
    3.Here you again press enter and by entering some required data you can finally reach to screen variant of reference object
    and can mark the equipment or f.loc field mandatory as required .
    4.Once this is finished you can you can select local object and save ... and come back and test the same ... now this trans varint ZIW31 can be assigned to user group ...
    go thru the documentation of SHD0 for bette information
    regards
    pushpa

  • Mandatory Variable in Key Figure(new selection) does not give Input Screen

    Hi,
    I have created a query based on a Multiprovider, which uses 0FIGL_C10 & one target DSO.
    In colums I was trying to create one new selection type key figure using 0BALANCE infoobject, restricted it by 0FISCYEAR using one mandatory variable. When I am executing this query fiscal year variable is not asking for any value as input.
    Being it a mandatory variable it should ask for some input, which is not happening.
    Please suggest if I am missing something here or there is some problem with the SAP.
    Regards,
    Lokesh Kumar
    +91 9871097220

    Only making a variable mandatory will not make it input enabled...it should be also " Variable ready for input" then only you will get input screen.
    Rgds
    Amit

  • Making Infotypes Mandatory during Personnel Actions

    Hello,
    Can anyone please tell me how to make infotypes mandatory so that they cannot be skipped during an action?. For Example, when you are executing a hiring action, is it possible to make the Objects on Loan infotype mandatory, so that it is required to be filled out and saved, and cannot be skipped?
    Thanks for your help!
    Gao

    Hi Gao,
    Try it out in Infogroup table T588D. Set the required sequence of Infotypes for your action with atleast one mandatory field in the infotype, So that, you can't skip the infotype, if you want to proceed the action. But again, you can skip the Action itself.
    I hope, you can accomplish by writing a custom program to fullfil your requirement.
    Good luck
    Om

  • Making Mandatory of Partner functions in Sales Order

    Hi All,
    My requirement is as follows:
    While creating configenment Issue with ref to Fillup, In Sales Order Header(Issue) Bank Partner function should be mandatory.
    For that I have tried:
    In Partner function i have made the Partner as mandatory( I have ticked on Check box(M)).But still it is solving the purpose.In fact in the Bank Partner customer Number is getting copied.
    Please advice for the same
    Regards,
    Vinay

    Hi Vinay,
    If you set field "Mandatory function" in partner determination procedure for bank Partner function,
    then the document is incomplete when the partner is missing.
    However, bank partner function couldn't be the only one mandatory function, because sold-to, ship-to, bill-to and payer are also mandatory according to standard design. Please refer to note 381062.
    Regards,
    Smile

  • Two-way video chat with other (audio-only) participants?

    Is it possible to have a five-way chat in iChat with
    . - myself and one other participant via video, and
    . - three other participants via audio only?
    I know there's an option for one-way video conferencing, where only one person in a conference has video and the other(s?) have audio, but what about two with video and the others with audio?
    And if we did this, could the three audio participants see the two video participants even if the three don't participate via video?
    Message was edited by: Quelque

    Hi,
    You can start A One Way Video chat with a Buddy without a Camera.
    You can add others up to the standard 4 people (you and three others) and some can be audio Only.
    You do have to have a Mac of a G4/1Ghz dual or above and have a Upload speed of 256 k at the very Least (Apple Specs say 384k) although more is preferable when you are Host.
    Ideally the Host should be the fastest Mac with the fastest connection.
    Invite Camera able Buddies first then Audio Only Buddies by clicking on the green A/V icon they are showing in the Buddy list.
    8:20 PM Saturday; April 18, 2009

Maybe you are looking for

  • Is it possible to use more than one value in SUPPRESSCHARACTER option

    Hi, Is it possible to Suppress more than one value uisng SUPPRESSCHARACTER option in transformation file? if yes, any syntax? I have 'Z' and '1000' that i wish to suppress from the values being loaded. Any thoughts ? Thanks.

  • Convert Teradata TIMESTAMP to SQL Server DateTime

    I have a Teradata TimeStamp(6) field which I have imported into a VarChar field in a staging table.  The values look like this: 1/22/2010 00:00:00.000000 9/15/2003 00:00:00.000000 10/10/2006 00:00:00.000000 I'm trying to move it to a permanent table

  • Item Details Columns of Production Order

    Hi, In a Production Order Component overview screen,i can see 4 columns related to item details- ITEM, OpAc,ItemID,ItemNo. Can anyone explain what is the use of above 4 columns and how are they different from each other. Does maintaining all the abov

  • WRT54G - Need help asap!

    First and foremost, thanks for helping... I've been running into a problem with my WRT54G.  When I try to access the admin page at 192.168.1.1, it will ask for the password and accept it, but then the page loads VERY slow (sometimes timing out), and

  • Passing an array of integers to a method...

    here's the case, i have 2 array of integers parent and child. how can i pass the arrays in a method so i can evaluate the contents of both arrays? here's the block of the code that contains what i'm talking about. for(int i=0; i<tree.length; i++) {//