Master-detail: check changes in detail when navigation in master

Dear friends,
forms 6i oracle 9i.
I have a master and a detail block, changes in detail block can only be made in a non-database-field.
For saving a procedure do_save is called where values from non-database-fields are calculated and then put into database field.
For realizing that any changes where made I created another non-database-field in a control block which is set to 1 in when-validate-item-trigger of detail.non-database-field.
When closing the form I simply check the status of my control.item und if necessary call the dó_save procedure.
I now want to have same functionality when navigating through master-block, for example with key-down.
I tried to use the master on_populate_detail trigger:
--snip
do_check_item_changed;
IF ( (:EVM_A_ARTIKEL.H_MANDANT is not null) or (:EVM_A_ARTIKEL.ABTEILG_ID is not null) or (:EVM_A_ARTIKEL.ARTTYP_ID is not null) or (:EVM_A_ARTIKEL.ARTIKEL_ID is not null) ) THEN
rel_id := Find_Relation('EVM_A_ARTIKEL.EVM_A_ARTIKEL_EVM_JN_A_L');
Query_Master_Details(rel_id, 'EVM_JN_A_L');
--snip
but at this time the detail block seems to be empty.
Has anybody an idea where's the right place to put my
checking procedure?
Thanks for help
Silke

Hallo,
Do you mean this?
relation type Join
detail datablock evm_jn_a_l (this block
itself is based
on a join)
join condition EVM_JN_A_L.H_MANDANT = EVM_A_ARTIKEL.H_MANDANT AND
EVM_JN_A_L.ABTEILG_ID = EVM_A_ARTIKEL.ABTEILG_ID AND
EVM_JN_A_L.ARTTYP_ID = EVM_A_ARTIKEL.ARTTYP_ID AND
EVM_JN_A_L.ARTIKEL_ID = EVM_A_ARTIKEL.ARTIKEL_ID
behavion when deleting not isolated
hinder masteless actions no
coordination no
automatic query no
Silke

Similar Messages

  • Adobe Reader on Mac changes page size when navigating or searching

    Upgraded to version 11.0.09 of Reader and when I search or use the navigation links the page size is not maintained. How do I set the page size to remain constant for all actions in Reader.

    Hello,
    Is this happening with all the PDF files?
    Reader doesn't change the Page Size automatically.
    Regards,
    Anoop

  • PRISM Master-Details with navigation between the Master and details view

    Hi, I have a Master list with accounts and a Details list containing transactions.
    The Master list : has a UserControl (AccountListView) and Viewmodel(AccountListViewModel)
    The list is bound to an observable collection of type AccountViewModel and has a SelectedAccount property to get the current selected account. Each AccountViewModel has a collection of type TransactionViewModel.
     public AccountListView(IAccountListViewModel viewModel)
                //this.DataContext = vm;
                InitializeComponent();
                ViewModel = viewModel;
            public Infrastructure.IViewModel ViewModel
                get
                    return (IAccountListViewModel)DataContext;
                set
                    DataContext = value;
    //the viewmodel
            public AccountListViewModel(IRegionManager regionManager)
                this.regionManager = regionManager;
                this.AccountList = GetAccounts(); // gets the list of accounts from another layer
            public AccountViewModel SelectedAccount
                get { return selectedAccount; }
                set
                    selectedAccount = value;
                    OnPropertyChanged("SelectedAccount");
    And the Details view has a user control(TransactionListView) and a viewmodel(AccountView);
    public TransactionListView(IAccountViewModel viewModel)
                InitializeComponent();
                ViewModel = viewModel;
                //this.DataContext = vm.SelectedAccount;
            public Infrastructure.IViewModel ViewModel
                get
                   return (IAccountViewModel)DataContext;
                set
                    DataContext = value;
    //the viewmodel 
    public AccountViewModel(Business.Account a)
                    AccountId = a.AccountId;
                    accountName = a.AccountName;
    I created a hyperlink command so that whenever I click on the name of an account from the master list it will navigate to the detail list and set the as the DataContext the account I clicked on. Before I had both Master and Detail lists displayed at the
    same time and set the DataContext of the Detail List as the SelectedAccount property(which is bound to the SelectedItem of the Master List) of the Master List. I am not sure how to pass the SelectedAccount when I navigate to the Detail List and set it as the
    DataContext of the Detail List.
           

    >>I'm using the reguestnavigate method, but from what I read you can't pass objects as parameters ?
    As I mentioned there is a NavigationParameters class that you can create an instance of and pass as a parameter to the RequestNavigate method in Prism 5:
    private void NavigateTransaction(AccountViewModel obj)
    var parameters = new NavigationParameters();
    parameters.Add("accountViewModel", obj);
    regionManager.RequestNavigate(RegionNames.ContentRegion, new Uri(transactionview, UriKind.Relative), parameters);
    The TransactionView should then implement the Microsoft.Practices.Prism.Regions.INavigationAware interface and retrieve the parameter in the OnNavigatedTo method:
    public partial class TransactionView : UserControl, INavigationAware
    public TransactionView()
    InitializeComponent();
    void INavigationAware.OnNavigatedTo(NavigationContext navigationContext)
    AccountViewModel myParameter = navigationContext.Parameters["accountViewModel"] as AccountViewModel;
    this.DataContext = myParameter;
    public bool IsNavigationTarget(NavigationContext navigationContext)
    return true;
    public void OnNavigatedFrom(NavigationContext navigationContext)
    In Prism 4 there is no NavigationParameters class so you either need to upgrade to Prism 5 if you haven't already done so or you could store the parameters to be passed yourself somewhere else. Please refer to the following links for more information and
    examples of how you could do this:
    http://stackoverflow.com/questions/9320638/how-to-pass-an-object-when-navigating-to-a-new-view-in-prism
    http://visualstudiomagazine.com/articles/2012/08/20/view-communication-in-wpf-and-prism.aspx
    Please also remember to mark helpful posts as answer to close the thread and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • Regarding the detailed level navigation theme change

    Dear Experts,
    I am using Light Detailed Level Navigation iview .And in the theme if I make change for the backgrond color of the theme related to DLN its not reflecting for the entire tray .For some part of the dln the changed color is reflecting(where and all links appears) in the other parts its showing the default color.
    Can someone help me in this regard.
    Thanks,
    Regards,
    Rudradev

    Hi Sunil,
    Do you really want to place the image at the right side of the TLN - or at the header (which is different)?
    In the first case, there is a mixture of JavaScript and JSPs (containing JS) which build up the TLN, and this is quite complicated to understand (at least too complicate for a SDN thread). You would have to work through the code and try to modify it carefully.
    In the secondd case, you are touching the wrong PAR, but you would know the right one (as you opened a different thread about such a modification).
    Alternatively, you could try to use the light framework page, using the navigation tag library. This way, it is more easy to design your own UI, including the nav functionality.
    Hope it helps
    Detlev

  • IPhoto: Retain modified date&time details when re-importing

    Instead of having all my photos in just one iPhoto library, I am now moving out photos into separate iPhoto libraries to better manage my photos:
    ... Export photos from existing/old library
    ... Re-import photos into newly-created library
    Some of my existing photos have modified date & time (result of not checking camera clock after a service!)
    Is there a way to retain these modified details when exporting photos from the OLD library and re-importing them into the NEW library?
    I am really hoping not to re-edit the photo attributes
    Thanks in advance
    Message was edited by: auroranight

    I am using iPhoto 6.0.6 I do not know of any option "modify original photo". Other than 'batch change' there is no option.
    You are posting in the iPhoto '08 forum and will get iPhoto '08 answers here - if you want iPhoto 6 answers it is best to post in the iPhoto 6 forum
    I xferred the pics from my camera to a new folder on my desktop. The times are all correct in that folder.
    Again - how are you seeing that the time is correct? iPhoto looks at the EXIF data and the finder looks at the file data - how are you seeing the EXIF data on the desktop? EXIF viewer - http://homepage.mac.com/aozer/EV/index.html - is a useful utility to have to see the EXIF data
    You can create a fresh plist - that might be the issue but I doubt it - quit iPhoto and in the finder to to "your username" ==> library ==> preferences ==> com.apple.iPhoto.plist and delete it - launch iPhoto and reset any personal user preferences you have changed and if you have moved the location of the iPhoto library repoint iPhoto to it
    LN

  • Detailed Level Navigation missing post NW 7.31 portal SP12 upgrade

    Hi,
    We are on NW 7.31 portal . We have recently upgraded portal from SP 9 to SP12. Post upgrade the the detailed level navigation panel is missing . I have checked the role and workset setting and its absolutely fine. Any idea what might be the issue? It was visible before upgrade.
    Regards,
    Navya

    Hi Navya,
    When you click on a link for an SCA file you see on the right side a yellow icon, that's the dependency calculation tool, it will automatically tell you the dependend components.
    In this case:
    Notice you have a download button on the right side for each SCA.
    Hope this helps,
    BR,
    Saar

  • Detailed Level Navigation Missing

    When we have upgraded Portal (NW2004s) from SP13 to SP14 we were not able to see the Detailed level Navigation in Production environment, that was working fine in Development and Test environments; Also the content area was missing because of the upgrade.
    Can anyone throw some light on this?

    HI,
    Please confirm that your Portal framework in production environment contains Innerpage->detail level navigation iview in that. If not then u have to import that from dev server.
    Same you can check for the Content Area whether framework contains Content Area iview.
    Regards
    Parth
    **Points will be welcomed**

  • Customize detail level navigation

    Hi,
    I want to create my own detail level navigation(dln) iview. I need to have the same functionality of the standard dln iview with minor changes.
    So my question is : Is there any par file provided by sap so that I can extend or simply reuse it.
    Next question is :
    From which jar files I can get the following classes.
    com.sapportals.common.PPLogger;
    com.sapportals.common.TracingConsts;
    com.sapportals.portal.useragent.IUserAgent;
    com.sapportals.portal.useragent.IUserAgentService;
    Thank you very much for the time.
    Best Regards,
    Shiva

    Hi Shiva,
    EP provides bak files for many of its UI, like masterhead,TLN etc. Like that it also provides the bak file for detailed navigation area.The par file is
    com.sap.portal.navigation.detailedtree.par.bak
    U can get this par file from server System Admin>>Support>>Portal Runtime>>Browse deployment>>WEB-INF>>Deployment>>pcd.
    Import this par file into ur NWDS and edit it accordingly.
    Hope this helps
    gEorgE

  • Problem Updating  partner details when the confirmation is created.

    I want to update the partner details when the confirmation is created
    In SRM (non -sus ), Confirmation is created using the function module : bbp_pd_conf_create .
    While creating confirmation, only item wise confirmation details are updated.
    But the partner details of that confirmation is not updated.
    bbp_pd_po_Getdetail is used to get the purchaser order details .
    the same partner details are used in the confirmation create function module .
    the following are the fm  used for the above purpose ,
    BBP_pd_conf_create
    bbp_pd_conf_update
    bbp_pd_conf_save
    What are the details i should change in partner details to get updated. like guid information..
    Please provide some suggestions ...
    Thanks,
    Uma

    In BBP_PD messages
    i can see the header , item  and Stats details .
    What ever value i retreive from PO getdetail fm , i pass it to the partner details while creating confirmation. only item details get updated but not partner details ,
    I think its missing with  the p_guid details. i dont know how to pass value consistently the p_guid value in hte partner when the item details are confirmed.

  • To remove credit card details when none option not there

    to remove credit card details when none option not there

    If "none" is not an option, your latest order is unpaid at the moment (due to payment issues). You can check your purchase history to find out, if it's so. Please follow:
    http://support.apple.com/kb/HT2727?viewlocale=en_US
    If the latest order is unpaid, you have to choose another valid payment method like another credit card or you can redeem an iTunes Gift Card (if supported in your country). After the order is paid, you can choose "none".

  • Automatic email with logon details when user creation

    Hi,
    Does any one can through some light on sending automatic emails with logon details when the users created with SU01? I know we have lot of tools like GRC, Approva we can do but I would like to know any thing within SAP not with any external tools.
    Thanks,
    Venkat

    Quick and easy way without any development:
    a)  Create a variant for report RSUSR100N to search for created user IDs where the creator was not equal to the expected "false positive" ones.
    b) Save a dynamic date and time calculation for the variant.
    c) Define a mail distribution list for the spool request if there is one ...
    d) Schedule the variant periodically as per the dynamic date and time period.
    e) Check that SCOT is configured to send the mail or SMS.
    f) Wait for the mail to be sent (this step might take some time...)
    Cheers,
    Julius

  • How remove credit card details when I have iTunes credit

    How to remove credit card details when account is frozen and have iTunes credit?

    http://support.apple.com/kb/HT1918 for changing payment types in iTunes

  • HT2589 have a iphone 4s, why is it asking for my visa details when i try to install a 'free ' Ap (torch)? Do i need to turn off any aps that appear in the bottom of my screen when i double click on the home button,if they stay on screen are they using bat

    Why is my iphone 4s asking for my credit card details when trying to download a 'free' torch App? newby!

    Because many free apps have in-app purchases.  And it's also a way for iTunes to verify you're an adult.
    You can log into iTunes on your computer and select your payment options to be 'None'.

  • My Exchange Calendar shows an "Exclamation Error" but there is no detail when I click it.

    OSX 10.8.2
    Added an Exchange Account through the wizard, Calendar worked for a number of months but stopped some time recently. 
    Perhaps when I did a password change. 
    Perhaps when I upgraded to Outlook 2013 on my work PC
    Updated my password, Mail works, Contacts work, but Calendar does not sync.  Small Exclamation Mark does not show error when clicked so I can't tell what the real problem it.  Tried to remove and re-add the account, same issue. 
    Checked out the Console logs and it throws these three errors below.  There is something with the "LegacyFreeBusyStatus" that is causing the sync to fail.  Outlook 2013 has a new status of "working somewhere else".  I had used it for a few items.  I also found an item that had a Null status (like what it is pointing to in the error).  Removed that item and changed all the others to a valid stauts for previous versions of outlook.  ie. Free, Busy, etc. 
    2/12/13 3:29:32.871 PM CalendarAgent[19447]: [com.apple.calendar.store.log.exchange.queue] [-[CalOperationQueue executeOperations] :: [<EWSCalendarItemType 0x7f9dfac9e9b0> setNilValueForKey]: could not set nil as the value for the key LegacyFreeBusyStatus.]
    2/12/13 3:29:32.872 PM CalendarAgent[19447]: [com.apple.calendar.store.log.exchange.queue] [error = Error Domain=CalExchangeErrorDomain Code=-1 "Calendar can’t refresh the account “Exchange”." UserInfo=0x999dfaaa0000 {NSLocalizedFailureReason=The account "Exchange" currently can’t be refreshed., CalFailedOperationKey=<CalExchangeSyncFolderItemsOperation: 0x7f9df521de50>, NSLocalizedDescription=Calendar can’t refresh the account “Exchange”.}]
    2/12/13 3:29:33.623 PM CalendarAgent[19447]: Unexpected type EWSMessageType for calendar Calendar in account Exchange

    Whaoo,
       Looks like all I needed to do was ask the question and I would answer it. 
    It is definitely the outlook 2013 calendar item that had the new status.  Even though I changed the item to a valid status, I needed to completely remove the item and add it back in with a valid legacy status from the start. 
    -The Steve

  • Power Shell script to send a email with event details when an specified event occur

    I want a power shell scrip to send a email to a specific email id with the event details when an specified event triggered. The default option to trigger the email on event occur is failed.

    Why is everybody now saying "I want, I want, I want"
    Can you say what is happening?  Can you post a script with a line that is failing?  No!  All you want is a free script.
    Start by learning how to script.   Try at least to write a simple "hello World" script.  Until then you cannot post here.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • BSODs lock ups and flakey firewire port - help ??

    Okay I'm really getting fustrated over this laptop it's nearly 2 weeks old and I've already had 2 BSODs the odd crash where the mouse moves but nothing else around it works so a forced reboot was needed. Today I had a BSOD all i did was run some unti

  • Screen freezing in Lion

    Since upgrading to Lion, I've had to hard shut down (?) my computer more each day. Is this a common problem or possible virus?

  • Migrating application from weblogic 8.1 to Sunone server

    I need to migrate enterprise application, currently deplyed in Weblogic 8.1, to Sunone server 7 or 8. Please provide some documentation help or if any tool is there to do that. Thanks

  • Perchased songs, how to re-download?

    I perchased some songs on my iphone. I accidently deleted the songs on my macbook pro. How can I re-download them on my macbook pro? When I go to the songs on iTunes Store, they show perchased but I can't download them again. I did authorize this com

  • HttpSessionTimeOut

    Hi, Does the HttpSession time out work in JDeveloper? I ran a JSP application locally in JDeveloper 3.2.3 and set the session.MaxInactiveInterval(20). But in my JSP page session information never expired no matter how long the application idled. I ju