Dates not refreshed correctly

Hi,
We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on.
We now have a problem with refreshing the Dates assignment block from service contract. The Dates assignment block is handled within a separate component called BTDATES and is called from BT112H_SC using component usage.
When running an action that should change the dates (due to for example an Annulation of contract), the status is set to Cancelled but the dates Contract end date is not changed. I am calling function module CRM_ORDER_READ_OW after the action is executed in some places and see that the dates are updated correctly in the buffer, but they are not showing up in the Web UI.
It seems as the dates are set correctly if I donu2019t expand the assignment block Dates before running the action. So if I expand the assignment block after running the action the dates are set correctly. If expanding the Dates assignment block before running the action, the dates are not updated.
The dates are also set correctly after saving the contract so it is just a matter of visibility.
Also if I (after running the action), go to one of the items and expanding the Dates assignment block on item level and then go back to header level the dates are displayed correctly.
I have enhanced component BTDATES/Dates u2013 Method DO_PREPARE_OUTPUT where I use the following commands that should refresh the values.
me->typed_context->btdate->collection_wrapper->publish_current( ).
    lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).
    lr_ent->reread( ).
I have also used the command modify without success.
Somehow the BTDATES component must be refreshed to read the dates from the buffer correctly after the action is executed.
Do anyone have any suggestions on how to handle this?
Regards Andreas

Hi,
Thanks a lot for your answers. I need all input I can get.
Kathirvel: I can see that event 0002_expand_link is triggered (from class  ZL_BT112H_S_MAINWINDOW_IMPL I believe) when expanding the Dates assigment block. But I cannot figure out what is happening next.
But after expanding the assignment block once, the event is not triggered if I expand/collapse the assigment block again.
I see that in CL_BSP_WD_VIEW_MANAGER ~ DO_FINISH_INPUT when expanding Date assignment block, a BOL_CORE->MODIFY statement is made. This code is triggered when expanding the Date assignment block (but only first time).
Do you know which event I could call to trigger the update again?
asen2222 : I entered the code lr_core->modify( ) in ZL_BT112H_S_OVVIEWSET_IMPL ~ DO_PREPARE_OUTPUT which is called after my action is executed and the dates are modified in the buffer. But it doesn't work. When debugging the modify( ) method it seems as it have no delta-information to save.
I have also tried setting the statement in component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT without success.
In the same place -  component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT  -  I also put the following code:
lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).lr_ent->reread( ).
This do not work either. But if I debug the reread method and go into
method REREAD_ENTITY of CL_CRM_BOL_CORE I see following code:
lv_relation_cacheable = me->object_model->relation_is_cacheable(
lv_parent_relation_name ).
If I then set lv_relation_cacheable = ' ', it seems to bypass the buffer and read the data from underlying layers. And then the values is showingcorrectly updated!.
I believe it is reading the relation from table CRMC_ORLSTA_BTIL but this
table do not include field DO_NOT_BUFFER so I assume this field should
never be set for business transactions. But in this case it wouldhave worked for us.
Regards Andreas

Similar Messages

  • Login Window: Screen does not refresh correctly after waking 10.7.2 iMac and MacBook.

    I have a client who brought to my attention that when we wakes his iMac and MacBook after the screen dims or sleeps at login screen, that sometimes the screen does not refresh correctly and you must use the cursor to basically "clear the screen."  I have witnessed this myself and elimiated all third party products and this still happens.  I am starting to believe that is is a bug in 10.7.2.  Has anyone witnessed this or have any suggestions on how to remedy?  Thank you.

    Thanks lynque.  It turns out I did need a keychain repair, but that didn't fix the problem.  I probably should have done this earlier, but I ended up unplugging all peripherals (2 firewire + 3 USB) then powered up without issue.
    So I shut down, plugged in one at a time, and ran into the problem again after plugging in an external hard drive (WD My Book Essential).  I repaired with disk utility, but the problem remained.
    I then rebuilt the partitions with Disk Warrior, and now everything seems to work....

  • Site Index Portlet is not refreshed correctly

    I have deployed the Site Index Portlet in Portal 10.1.4, and it seems to work nicely. However, sometimes the portlet does not refresh correctly, even though other elements on the page (e.g. banner, page path) are updated. Refreshing the page with F5 in Internet Explorer 6.0 (or clicking the same link once more) refreshes the content of the portlet, but this is unacceptable for end users.
    The same problem is not possible to reproduce in Firefox 1.5. If only all end users were using Firefox . . .
    Any ideas for how to fix this for all browsers?
    -- [email protected] [Senior Principal Consultant]
    -- http://home.c2i.net/toreingolf/contact/

    My browser caching is already set to "Every visit to the page", I'm afraid.
    I was suspecting the PPE in Portal, but if that was the reason, then the problem would occur in all browsers, right? Or do you think this could be caused by how IE handles ESI?
    Interestingly, the portlet works perfectly in Firefox (the menu is even updated immediately, before the new page loads!). And in Opera, the menu doesn't show up at all! What's going on here?

  • Date not displaying correctly

    Hi,
    we have an issue where date is not displaying correctly in report. it shows 1/1/1990. even in universe it shows the same value 1/1/1990. but if i run query at DB level it shows the correct date. Reporting Database is Sybase.
    we are on Bi 4.0 SP 6.
    Any Ideas.
    Thanks,
    Yogesh.

    HI Farzana,
    Finally,i have narrowed down the issue. So here it is,Initially we were seeing date as 1/1/1900 in webi rich, IDT and BI LaunchPad. so than we have made changes to sybase. prm file in following location
    ........\dataAccess\connectionServer\sybase\extensions\legacy
    in prm file the input date parameter is as below
    <Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy hh:m:s am/pm'</Parameter>
    we changed it to
    <Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy hh:mm:ss A'</Parameter>
    and than  we see correct date in IDT and Webi rich but not in BI LaunchPad. the connection we were using in universe is ODBC. so i have created a new connection using sybase CTL client and now i see correct dates in BI LaunchPad also. So i am not sure if i need to make changes to prm file in /dataAccess\connectionServer\odbc\extensions location for the report to show correct values using ODBC.
    Any Idea.
    Thanks,
    Kumar.

  • ADF table data not refresh

    hi,
    i am create a adf table using data control. value of adf table depend on view object. where i bind a variable in where clause.
    now i am giving the value of whereClauseParam using using view object instance in backing bean method.
    when i pressed command button method run properly but adf table not refresh and not showing data.
    thanks in Advance

    public void callData(ActionEvent ae) {
    String amDef = "com.jagran.in.model.view.updatable.AppModule";
    String config = "AppModuleLocal";
    ApplicationModuleHandle handle = null;
    ApplicationModule am;
    try {
    handle = Configuration.createRootApplicationModuleHandle
    (amDef, config);
    //am = Configuration.createRootApplicationModule(amDef,config);
    // ApplicationModule sam = handle.useApplicationModule();
    am=handle.useApplicationModule();
    am.processChangeNotifications();
    ViewObject svo = am.findViewObject("BindView1");
    svo.setNamedWhereClauseParam("id","JK0554");
    svo.executeQuery();
    ((ViewObjectImpl)svo).refreshCollection(null, false, false);
    am.processChangeNotifications();
    svo.reset();
    while (svo.hasNext()) {
    Row r = svo.next();
    System.out.println( (String)r.getAttribute(1));
    } catch(Exception e)
    System.out.println(e);
    finally {
    if (handle != null)
    Configuration.releaseRootApplicationModuleHandle(handle, false);
    }

  • IDAutomationHC39S font not refreshing correctly...

    Hi
    We are using IDAutomationHC39S font in our webi report. The font is not appearing correctly unless we go to edit mode. Once we edit the repot and run the font is displaying correctly.
    Can i know how to resove this issue so that when user opening he will be able to see the correct font...
    Thanks in advance..
    Muthu

    You may also want to search/ask in the forum specifically for PowerPoint problems:
    http://www.officeformac.com/ProductForums/PowerPoint/

  • Report prints Saved Data not Refreshed Data

    We were running VS 2005 and using the Basic CR 2005 Basic that comes with it.  We upgraded to use CR 2008 and found MANY issues after we went live in production that were apparent in the development.  This has caused a lot of stress with us as well as our users.  Iu2019ll summarize everything we found, possible workarounds and the open issues including the Printing/Loading of Saved Data.
    First, it was reported that printing changed.  It turns out when PrintMode = u2018PDFu2019 (default setting) it now asks after you choose u2018EXPORTu2019 (use to be u2018OKu2019) that it asks to Open or Save the Adobe.  When our customers were running 20 some reports at a time and we had hundreds of users, this became a nuisance for the heavy reporting users and a training issue in general for us.  With research, I found that we can change the PrintMode to be u2018ActiveXu2019.  This was much better when we were testing.  However, in Production it became a nightmare.  If the user is on a Domain that disallows itu2019s user from installing software or if the user has tight security settings, this became a nightmare.
    The second thing reported was that it was exporting to the wrong format.  It was exporting into RPT format.  It turns out with CR2008, it automatically defaults to RPT and the new pop-up, doesnu2019t isnu2019t clear to the user they even have a choice (the pop-up is much prettier, but it doesnu2019t look like a dropdown anymore).  In addition, they reported it was taking twice as long to export (we think it was related to export file type now).  With CR2005 Basic, it would have no default selection and if the user didnu2019t pick one, it would remind them they need to pick one.  After much research, I found there is no way to customize the operation of the export without writing my own export.  My users 90% of the time want to export to PDF and Excel the rest of the time.  Since we arenu2019t using a CR Server like product, they NEVER will do RPT.  There is no way with CR2008 to limit this list or to default the File Format.  So now, if they forget to select the type, they get the wrong file format instead of being reminded to select one.  Since the new pop-upu2019s dropdown selection isnu2019t easily apparent, this was a BIG issue for us.  Since I have close to 300 reports on 7 websites, this will be a lot of work for me to write my own code and change all the ASPX page to use my own control.
    The third thing reported was that the default name on Exporting was changed.  Export uses the ID property of the Crystal Report Viewer as the default name of a file on export.  When it replaced the viewer on all our pages, it set the ID to CrystalReportViewer1 instead of preserving the original ID.  We now have to go back and change them to what we wanted manually.  BEAWRE of this!  For our power users who wanted to export 40 reports they now have type the name in manually on all of them.  What took minutes now takes over an hour for them to do, until we can fix all the pages.
    Now it was reported that some reports are showing OLD data.  It turns out there shows Saved Data from design time.  In our site, we have a parameter page which getu2019s user selected parameters, save to a session and then load the report page using the session variables, and then redirect them to the report page which on page load we set the reports parameters.  We use the CrystalReportSource using ODBC.  The report has all the connection information.  Well if the user happens to select the same parameters I used at design time, it wonu2019t pull the data from the database.  They see our test data instead which is garbage.  If they select different parameters, display the report and then go back and select the original parameters, they will get the correct data.  This can be catastrophic for us!  So I added at the beginning of the Page Load before setting parameters the following:
         If Not Page.IsPostBack Then
                CRSServiceAlertsReport.ReportDocument.Refresh()
         End If
    This seemed to work.  A pain to add on every report page though when it wasnu2019t necessary before.  But then I just got called this morning and they say when they print, it prited the OLD data.  It seems the refresh pulled new data and updated the display in the viewer but the ActiveX print still used the original Saved Data!  I couldnu2019t find a solution for this.  I found switching PrintMode back to u2018Pdfu2019 worked but now I have the extra click issue again, which I described above.  I tried setting the reports u2018Discard Saved Datau2019 option but it still had the data!
    In the end, had I known about all these issues I would have NEVER upgraded to CR2008.  Iu2019m still looking for help on getting by the following:
    u2022     Stop using Saved Data at runtime (either on Display or Print)
    u2022     Getting the PrintMode=u2019Pdfu2019 to just pull up Adobe in Open mode without prompting the user.
    u2022     Remove File Type options from Export
    u2022     Set the default File Type options to nothing or something I want.
    Another nice feature to have would be the ActiveX control for printing to be part of the .NET Framework so users donu2019t need to download it.  Come on BO is a big company Iu2019m sure they can work with MS.  

    What is that method to clear Saved Data; I looked and couldn't find it.  I never had to call one in the prior version of CR 2005 Basic in .Net.  With the .NET controls, it always refreshed the data before.  This is a change in behavior for me.
    As for the Print using Adobe, with CR2005 Basic, it didn't prompt the user to Open or Save before.  This is new behavior.  It used to just open the report in Adobe in memory before without this specific prompt (it did have the first prompt for All or specific pages, but it would just open after that).  This is a change in behavior from prior versions and it has caused me several issues. 
    Many users don't like change and I didn't know to communicate this to them.  They were taken by surprise.  We'll learn to live it I guess, but I would ask you just to consider, why have an option to "Save" to PDF when you choose to print?  I would think you would use Export if you want to save.  It would never hurt to add an option to allow alternatives either.
    As for including with .NET Framework, it was just an idea.  I know how hard it can be working with third parties.  However, given that CR Basic comes with it, I thought it may be possible to work with them.  The better the integration the better the product is for the developers.  I was thinking the button could call JavaScript/Java to print instead of an ActiveX, or some other method.  Since I donu2019t know how the Control works, I couldnu2019t say.  It just would be nice.  I had a smiley face after that request, it didn't come out right when I saved the post.
    I still don't understand why .Refresh will update the data in the viewer but printing using the ActiveX Control will still print the saved data instead of refreshed data.  Since I never used this in the prior version I don't know what it would of done or not, but it just doesn't seem right it shows one set of data, and prints another.
    In addition, why the designer still saves data with the report when you state not to, I think may be a problem still.
    Edited by: Thomas Johnson on Nov 21, 2008 12:26 PM

  • Data not refreshing in report

    Post Author: SparrowHawk
    CA Forum: Data Connectivity and SQL
    I'm developing a dB application in VB6 using the Developers CRXI. For the problem I'm having with the report, I've got a discrete table in the dB which holds only 1 record. The report gets it's data from that table. Before calling the report, I am saving all the data from the VB form to the table and then calling the report. Initially, the report acts fine, but if I close the report, go back to the VB form, make changes, save the data to the table once again and then reopen the report, the old data remains. More often than not I have to click the refresh button TWICE on the report in order to get the updated data to appear. Sometimes it simply won't update. I've tried to force the refresh at runtime without any luck. The save data with report is NOT checked. And, because I know an Access dB can take a bit of time to "settle", I've waited for as long as 5 minutes with the report visible before I click the refresh button. It still takes TWO tries and even then sometimes will not update. Is there a way to solve this, or must I pass the variables to the report at runtime? Since there are upwards of 100 discrete variables to pass (it's an invoice form), I'd prefer not to have to do this if at all possible.I've posted this on other forums without any replies but this can't be that hard to do. Thanks,Ken

    Hi,
    I do face the same issue. Live data is not getting updated in the BAM report.
    My scenario: BPEL generates sensors for the response message variabe and data is inserted into JMS Topic.
    Created an Enterprise Message Source to poll the data fromo JMS Topic.
    In design studio -&gt; configured Oracle BAM Enterprise Message Reciever to revceive data from Enterprise message source and send the data to BAM using Oracle BAM Insert Sink.
    As mentioned in one of the post, updated below changes in Plan Setting in BAM administrator for the report.
    Completion Action: Always restart on completion.
    Failiure Action: Alway restart on failiore.
    Max restart frequency: No limit on frequency.
    Monitor Service: Oracle BAM Plan Monitor.
    Did I missed any configuration to be made for the reports to get updated.
    Please someone throw some light on this.
    Regards
    Jude.

  • Sharepoint excel data not refreshed

    Hi All,
    I have SharePoint foundation 2010, add one excel document after that trying to open that excel document it is showing error message.
    Error message:-
    Unable to referesh data for a data connection in the workbook.
    try again or contact your sharepoint adminstator. the following connection failed to referesh.
    powerpivot data.
    -> click on OK it is opened after that go to menu Data refresh selected connection. It is open error Message.
    It is showing error message
    Error message: 
    The current selection is not within a refreshable region of the workbook.
    Select a refreshable region,such as a pivot Table, before clicking on the refersh selected connection Buttion.
    Unable to refresh data for a connection in the workbook.Try again or contact your administrator. The following
    connections failed to refresh: ThisWorkbookDataModel
    How to fix this issue. Please
    let me know how to resolve this.
    hope this helps.
    Best Regards.
    Johnson.

    Hi,
    From your description, I know when you open excel document and it pops up some error message regarding refresh data for a data connection in a library within SharePoint Foundation 2010.
    For Excel workbooks that contain PowerPivot data, Excel Services returns this error if it submits a connection request to a PowerPivot server and the request fails. Excel Services cannot connect to or load the PowerPivot data. You could refer to this article:
    https://msdn.microsoft.com/en-us/library/ff487856.aspx?f=255&MSPPError=-2147217396.
    If you use Excel 2013 in your environment, you could refer to this article:
    "Unable to refresh data for a data connection in the workbook" error when you interact with an Excel 2013 workbook in a SharePoint Server 2010 farm
    http://support.microsoft.com/en-us/kb/2755126
    Besides, you could get something from these links:
    http://social.technet.microsoft.com/wiki/contents/articles/11566.refreshing-powerpivot-for-sharepoint-2010-sql-2008-the-data-connection-uses-windows-authentication-unable-to-refresh-data-for-a-data-connection-in-the-workbook-errors.aspx
    http://www.sharemuch.com/2012/01/22/troubleshooting-powerpivot-unable-to-refresh-data-for-a-data-connection-in-the-workbook/
    If above all don’t work, please check if there are more related error messages (which recorded around the time of error occurring when you open Excel file) from ULS log for help troubleshoot the issue.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Google map data not displaying correctly in a spry collapsible panel

    I created a spry collapsible panel into which I've put google map data. The map placed in the collapsible panel looks and functions OK but shows my location in the wrong place. I tested it by putting exactly the same google map elsewhere on my page and this time it displays my location correctly. Here is a link to my test page: http://www.cornucopia-design.co.uk/BatimTest/map3test.html . Mouse over the 'view our location' link to see the incorrectly located map. It places my location in the top left corner rather than in the centre.  When you click on google's 'view larger map' links, they both then display the location identically. Anyone have any ideas about what's going on here? Is the coding for the collapsible panel doing something to the google code? I'm not a great code expert so any help would be greatly appreciated. Thanks

    Hello, thank you for your helpful comments. At least I now won't waste any more time trying to get this to work if it just won't... I'll just have to display the map in another way.
    Just a point about your suggestion of offsetting - I had thought of that but if I did that, when someone clicked on the map, they would be taken to the wrong place as, as I said, even though it displays incorrectly in my panel, the data IS correct and therefore correctly linked back to google maps.
    Thanks anyway.

  • Cascading LOV in af:table will not refresh correctly

    Jdeveloper version 11.1.1.5.0
    I have spent quite a bit of time trying to understand why 2-level cascading LOV won't work in a particular situaion. I still haven't been able to fix it and so I turn to the ADF gurus on this forum.
    Here's the scenario:
    1. I have a ViewObject called AdjustDeltaValuesView. This VO contains attributes from its entity. It also has transient attributes called CategoryId and CodeId.
    2. There is LOV defined for CategoryId for VO CodeCategoryMasterView
    3. There is LOV defined for CodeId for LimitedCodeMasterView.
    3. View Criteria is created for LimitedCodeMasterView which sets a bind variable value from CodeCategoryMasterView.CodeCategoryId.
    4. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
    5. In the UI, I have dropped AdjustDeltaValuesView data control as ADF Table where CategoryId and CodeId are displaying as af:selectOneChoice.
    6. CategoryId has autoSubmit=true and CodeId has partialTrigger set to component ID of CategoryId.
    7. The LOV inside editable af:table is working fine except one scenario that when user selects same categoryId from the category LOV in the second row, the CodeId LOV will not populate.
    Here's the code snippet of jspx:
            <af:table value="#{bindings.AdjustDeltaValuesView1.collectionModel}"
                      var="row" rows="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      emptyText="#{bindings.AdjustDeltaValuesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                      fetchSize="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      rowBandingInterval="0"
                      selectedRowKeys="#{bindings.AdjustDeltaValuesView1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.AdjustDeltaValuesView1.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1" editingMode="editAll"
                      rendered="false">
              <af:column sortProperty="CategoryId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.label}"
                         id="c25">
                <af:selectOneChoice value="#{row.bindings.CategoryId.inputValue}"
                                    label="#{row.bindings.CategoryId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.tooltip}"
                                    id="soc3" autoSubmit="true">
                  <f:selectItems value="#{row.bindings.CategoryId.items}" id="si3"/>
                </af:selectOneChoice>
              </af:column>
              <af:column sortProperty="CodeId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CodeId.label}"
                         id="c27">
                <af:selectOneChoice value="#{row.bindings.CodeId.inputValue}"
                                    label="#{row.bindings.CodeId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CodeId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CodeId.tooltip}"
                                    id="soc4" partialTriggers="soc3">
                  <f:selectItems value="#{row.bindings.CodeId.items}" id="si4"/>
                </af:selectOneChoice>
              </af:column>For example, where it DOES NOT Work
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category A from the dropdown from the second row.
    5. PROBLEM: In the second row, Code Id dropdown does not populate. Code dropdown is empty.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. User selects Category A from the dropdown from the second row.
    4. In the second row, Code Id dropdown populates correctly.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category B from the dropdown from the second row.
    5. In the second row, Code Id dropdown populates correctly.
    Has anyone come across this scenario? It's a very weird problem.
    I hope I have explained this well. If it's not clear please let me know.
    Edited by: Shah23 on Jan 14, 2013 6:42 PM
    Edited by: Shah23 on Jan 15, 2013 9:09 AM

    Hi,
    Always mention your JDev version.
    Try modifying your VOs as explained in this blog and see if it works fine : https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    -Arun

  • List items do not refresh correctly.

    In a form that i have developed there are two list items. I
    want among others to chenge their appearance (background color
    basicaly) according to witch one has th focus each time.
    So I've put this code on the items, in WHEN-NEW-ITEM-INSTANCE
    triger:
    * LIST1
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    * LIST2
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    The Visual Attributes have the colors that i would like to
    appear on the items.
    This does not work (while it was working on Forms 5.0). It
    seems to be a refresh problem, because when you open another
    form that covers this one, or you minimize and maximize it the
    colors are assigned corectly.
    Thanks in advance for your help.
    null

    Panagiotis Lygnos (guest) wrote:
    : In a form that i have developed there are two list items. I
    : want among others to chenge their appearance (background color
    : basicaly) according to witch one has th focus each time.
    : So I've put this code on the items, in WHEN-NEW-ITEM-
    INSTANCE
    : triger:
    : * LIST1
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    : * LIST2
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    : The Visual Attributes have the colors that i would like to
    : appear on the items.
    : This does not work (while it was working on Forms 5.0). It
    : seems to be a refresh problem, because when you open another
    : form that covers this one, or you minimize and maximize it the
    : colors are assigned corectly.
    : Thanks in advance for your help.
    Hi Panagiotis Lygnos ,
    I am not able to produce this problem. I create one form with
    two list item ,two visual attribute & when-new-item-instance
    trigger for these two list item as you have written above.
    But List item background color of both list item is getting
    changed according to witch one has th focus each time.
    Even I tried to call this form from some other form still I am
    getting correct result.
    Can you just try by adding synchronize in the trigger of
    both list item.
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    Synchronize;
    Bye
    Mani/-
    null

  • Idoc status green but data not posted correctly to destination system.

    Hi,
    Can anyone help me out with idoc problem that I am facing.
    The problem has come out with outbound idoc.
    The status of the idoc is green when it has been sent but the objects that has been sent with that idoc are not getting posted in the destination system.Some of them are posted correctly but some of them are not.
    What may be the reason behind this.
    Regards,
    Rachana.

    Good morning
    What was the resolution here? We are siitng with the same problem, but IDoc's are correct, but data packet not processed.
    Thanks, have  a nice day
    Cj

  • Data not refreshing on taskflow

    Hi,
    I have two jsff page let say, page1.jsff and page2TF.jsff. Page1.jsff has tabbed panal which has 7 show detail items for each weekday.
    one task flow page2TF (page2TF.jsff ) has put as region on every 7 showdetail item. page2TF has one paramether hmtf(type hashmap). page2TF takes all of it's data from hmtf which is passed to it by a parameter type hashmap say hm declared on page1Bean.java .
    I am changing this variable hm's value on tabchange method "tabchange(DisclosureEvent disclosureEvent) {}".
    Now issue is on tab change page2TF.jsff is not getting refresh with the new values of hm. i have already put programatically pratial tigger as follows to region.
    AdfFacesContext.getCurrentInstance().addPartialTarget(r2);
    Could tell me what i am missing. I think how to refresh taskflow variable hmtf value? or shall i set to it rather to bean varable hm?? if yes, how?

    HI,
    Put button to HowDetailItem to handle disclosure event and set partialSubmit="true" and use partialTrigger as you said.

  • Issues with dates not storing correctly on a data entry screen

    We are using Application Express 3.0.1.00.08
    I have a table which I have written a data entry screen for, the user enters most of the fields on theentry screen, howevere there are some fields that I would like to populate when a biutton is pressed e.g last_updated_date and creation_date.
    I have a on submit after computations and validation process with the following code to set the last updated date:
    begin
    :P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
    end;
    I am setting the creation date at the same time as getting the primary key as follows:
    declare
    function get_pk return varchar2
    is
    begin
    for c1 in (select XX_SVS_SEQ.nextval next_val
    from dual)
    loop
    return c1.next_val;
    end loop;
    end;
    begin
    :P1_ID := get_pk;
    :P1_CREATION_DATE := sysdate;
    :P1_CREATED_BY := :F380_OSS_USER_ID;
    end;
    However the dates are being written to the database incorrectly they are being written with a year 0009 instead of 2009.
    Does anyone know how I can get hidden dates in a data entry form to write correctly to the database.
    Regards
    Kay

    It could be done as a database trigger but surely APEX should be capable of saving the correct date format of an item.
    Since my original post I have managed to get the dates stored with the correct year in the hidden fileds by doing the following in my process:
    :P1_LAST_UPDATED := to_date(sysdate,'DD-MON-RRRR HH24:MI');
    however for some reason the date is being stored with the correct year now as 2009 , but the time element is not being stored any ideas?

Maybe you are looking for