Dynamic Filter not being refreshed
I have a problem with a dynamic filter refreshing properly.
In a 7.0 Bex Query, I have a variable where I put in a Sales Rep. Based on the Sales Rep entered ('Z_M1Y_SALESREP04' ), I have a user exit that reads that Sales Rep and goes and gets all their customers:
IF i_step = 2.
READ TABLE i_t_var_range
WITH KEY vnam = 'Z_M1Y_SALESREP04' INTO ls_var.
When I run this for the first time, lets say Sales Rep A, it goes out and gets all the correct customers (shown in the Dynamic Filters of the Information tab). Now, if I change Sales Rep A to Sales Rep B, I am still getting Sales Rep A's customers. Does anyone know why it still shows Sales Rep A's customers?
Thanks,
Patrick
If your using BEx Web for executing this query, try deleting the cache on your browser before re-executing the query with the new Sales Rep. The other thing you may want to consider is adding the following code prior to the READ TABLE statement:
CLEAR: ls_var.
This will ensure that the variable being read into won't have any values in it before it's being populated.
Similar Messages
-
The xml is not being refreshed
hello
i am trying to build an online calendar in which the user can
save his massages.
the problem i have is that once the user saved the messages
the first time, the next times he logs in the messages are not
being refreshed. meaning that the user will always see his first
messages and it does not refresh.
the way it works is that after u press save, it creates an
xml file that is loaded the next times.
if you delete the cache than the correct info appears.
i tried to research it but havent really figured out a way to
solve it. maybe its something to do with http headers i dont
know...
the calendar is on :
http://www.omrihecht.com/calendar/calendar.html
any help will be appreciated.the code i am using to load the xml is :
prevData.onLoad = function (success : Boolean)
if (success)
loadPreviousData ();
showErrorMessage ("loading data")
} else
showErrorMessage ("welcome "+loginName.text)
myIdentifier = Math.round (Math.random () * 10000);
prevData.load (fileToLoad + "?uniq" + myIdentifier);
and on explorer it works ok, on firefox it doesnt
if you will look at it, when it finds the file it has to
load, it displays "loading data", if it doesnt find it it displays
"welcome "+username..
if you will use the following username = 123 and
password=456789 than you will be able to see the difference between
the browsers.. -
BPM Correlation from Dynamic Configuration not being filled
Hey guys,
I'm having the following problem with BPM correlation.
In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created with adapter metadata and filled with dynamic configuration, as refered here: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further).
All instances of BPM are with error status. And when I go into the workflow log for these processes, if I check the correlation object, it is like this:
<?xml version="1.0" encoding="utf-8" ?>
<CorrelationKey Version="001">
<Field1 />
<Field2>123456789</Field2>
</CorrelationKey>
Field1 is the one read from context object, and is not being filled (thus I think the error comes from here). Field2 is from payload and is being normally filled.
Any ideas on this matter?
Maybe the problem is not from the correlation. If not, what else could be the case? The BPM crashes on the very first step (one more reason to think that the correlation is the issue).
Thanks in advance,
Henrique.HI,
In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
Regards
Chilla
Oh closed!!
Message was edited by:
Chandra Sekhar Chilla
Message was edited by:
Chandra Sekhar Chilla -
Filter not being generated into where clause
Hi,
I have a simple mapping that has a source table, a filter, and a target table that is set to DELETE. The source table has many rows, but the filter would narrow down these rows by a lot. When I generate the code, the cursor that gets created SELECTs the whole table then there is an IF statement that is applied to each row with the filter condition. A lot less processing would be required if the filter was implemented as a WHERE clause in the cursor, but I can't get it to generate this way. I realize that deletes automatically generate row-based code but it would still be row-based if the WHERE clause was in the cursor.
Is there any way to get it to generate the filter as a WHERE clause in the cursor?Hi,
In general, Warehouse Builder gives you a number of different operating modes:
- set-based: which does everything in (one) SQL statement. This method is most performant, but has some limitations. Warehouse Builder today does not support set-based deletes (arguably, deletes are not the most common operation in a data warehouse).
- row-based: which is optimal for debugging. In row-based mode, you get as many records as possible and all operations/transformations take place in PL/SQL. This option gives you most debugging capabilities.
- row-based bulk: which is the previous method fetching rows in bulk (e.g. 100 by 100). Bulk processing speeds up the overall processing.
- row-based target only: in this mode we push as many of the operations/transformations as possible into the query (cursor). I.e. your filter (in your case) would be implemented as a restriction on the filter.
- row-based target only in bulk: see previous.
Warehouse Builder's default operation is set-based fail over to row-based. I.e. because we do not support set-based delete statements, I suspect you fall back to the row-based method of execution, which is not ideal in your case. I suggest you use the row-based target only option in order to get optimal performance for your scenario.
Note that for the deletes that are common in DW scenarios the row-based bulk deletes that we generate are often faster than set-based deletes. Also note that if you perform a complete delete (or even truncate) followed by an insert that Warehouse Builder does issue one statement for emptying the table.
Thanks,
Mark. -
Hi,
I have deployed a web-application which is working on Tomcat and various other servlet/j2ee containers, but when I deploy it on OC4J (10.1.3.0.0) it seems like my filter is NOT executed for all requests.
The filter is setup with an URL mapper of "/*", but when I enter http://localhost:8888 in my browser I get a "Directory browsing not allowed" and my filter is not called. Same problem if a e.g. enter http://localhost:8888/resources which is a directory in my web-app, but the filter (which ought to be executed first) should handle the request, but it doesnt because it is never executed.
BUT if I enter http://localhost:8888/not_existing the filter is executed, because its not a directory.. But this seems like a wrong strategy to me. Anyone know what I can to avoid this problem?
regards, Lars BorupHi Lars,
maybe is useful for you: you can add the file orion-web.xml to your WEB-INF directory.
The following content should be enough for your environment:
<orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd" schema-major-version="10" schema-minor-version="0" servlet-webdir="/servlet/"
directory-browsing="allow">
</orion-web-app>
I haven't tested it myself, but the attribute
directory-browsing="allow"
seems to be what you need.
Best,
Manfred -
Dynamic Action not being triggered in Batch
Hi Gurus,
We have the below Dynamic Action that is not getting triggered when we run a Batch to Create IT2010. We are using TCode PTE1 to create the batch.
2010 4 5 P T001P-MOLGA='10'
2010 4 10 P PSPAR-TCLAS='A'
2010 4 12 P P2010-LGART='4023'
2010 4 15 I INS,2001,,,(P2010-BEGDA),(P2010-ENDDA)/D
2010 4 20 **P2001-AWART='0100'
2010 4 21 W P2001-AWART='1300'
2010 4 25 W P2001-STDAZ=P2010-ANZHL
I have read a few posts on how this can be done, but not very clear as to whether it can even be achieved.
This Dynamic Action works fine when we manually Create an IT2010 record via PA30, it creates the IT2001 in the background.
Cheers,
AnilHello Anil,
Please check the following note, I think note should be helpful in this case.
386027 Dynamic actions
1564499 Processing initial values which are not valid in
Best Regards,
Deepak. -
Text items not being refreshed by LOV items.
Hi all,
I've got a strange LOV behavior problems which I cannot solve and require your valuable time and efforts.
I've created a simple ADF JSF pages with 3 fields and the first field is LOV enabled. For all new row, after clicking the LOV icon, the LOV will show up and after selecting a particular value, it closes the LOV screen and replace it with a new row with the selected LOV data. It is all working well for all new rows just like a normal LOV should perform.
But I had problem with existing data. The row which I selected from the LOV somehow cannot referesh and overwrite any existing row (visually) but after commiting the data, it was actually written and refreshed with the correct data. Is there a property in the JHeadstart Application Definition Editor where I enforce the text items to be refreshed by the LOV items?
Thank you for your time and efforts.
Kind Regards,
JohnHi Guys,
I've performed the following scenarios attempting to refreshed Text items by the LOV Items.
Scenario 1: Create a new column called some_key load unique number into it. Set this column as the primay key and deselect existing primary keys as key attributes. Also, I've created a sequence and some_key is of type of DBSequence getting value from the new sequence starting from 1.
After generation when run and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 2: Create a unique index for the some_key column, rerun and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 3: Set some_key as number instead of DBSequence (from Entity Object Editor), rerun and the result is:
JBO-27021: Failed to load CustomDatum value at index 11 with java object of type oracle.jbo.domain.Number due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 4: Deattach the offending View Object from the Application Module. Remove the offending view link and view object. Recreate view object and view link. Reset some_key is of type of DBSequence getting value from the new sequence starting from 1 (From the Entity Object Editor). After generation when run and result is:
SUCCESSFULLY!!
So, I guess the bottom line is here are the following things which you need to perform in order to enable text item to be refreshed by LOV item (if the detail table has composite primary keys)
1.) Create a new column
2.) Load unique value to it
3.) Create unique index for it
4.) Create entity object, view object and view link object.
5.) Set the new column as primary key.
6.) Deselect the key attributes for all composite primary key columns.
Regards,
John -
Problem Dynamic Security : No filter applied without Refresh
Hi, I am surprise because when I open my PowerPivot report on my Bi portal on Sharepoint 2013, no filter are applied, Dynamic Security not work, unless I do a refresh of my report. When I refresh my report, with an other windows account, all
the filter determined in the tabular data model, at the level of Role.
I use the User Authentification option at the level of my report PowerPivot.
Can you help to understand this bug and help me to resolve it.
Thanks for advance.Hi,
I am not quite sure about your scenario. Are you using Power Pivot or SSAS Tabular?
Power Pivot itself does not have any security features so I guess you are talking about SSAS Tabular right?
Or are you moving data from SSAS Tabular into Power Pivot?
In this case if you you refresh the workbook a Service Account will be used and of course the securtiy settings will be derived from the credentials of this service which may be allowed to see all data
hth,
gerhard
Gerhard Brueckl
blogging @ http://blog.gbrueckl.at
working @ http://www.pmOne.com -
Dynamic image is not being displayed in Adobe Reader 8.1
Hi,
In interactive form, we have followed below required steps to show a dynamic image.
For the left image, drag and drop an Image Field element from the standard Library tab to the Body Pages pane. Select this image field and edit the following properties:
Click on the Layout tab and choose None for the Caption position.
Click on the Object, then the Binding tab and choose None for Default Binding.
Click on the Field tab, enter $record.SapOnlineShopUrl for the URL entry, and select Use Image Size for the Sizing field.
Click on the script editor and enter the following FormCalc script statement, which enables the dynamic integration of the image. Show: initialize Script: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Language: FormCalc Run At: Client
Image is displayed properly in Adobe reader 7.1 but it's not being displayed in Adobe reader 8.1.
I was going through some forums and understand that Adobe 8.1 blocks href URL. If this is indeed true, what's the alternative way to show a dynamic image?
Regards
Chandra
Edited by: Chandrashekhar Singh on Apr 24, 2008 7:28 AMSoory, I thought its static image....
Regards,
Vaibhav Tiwari.
Edited by: Vaibhav Tiwari on Apr 24, 2008 11:45 AM -
AJAX Report Refresh a_report- Condition for display not being validated
Hi ,
I have a report which has the following condition for dispaly:
Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
function f_insert_Temp_table(pTrans){
var l_Return = null;
var get = new htmldb_Get(null,$x('pFlowId').value,
'APPLICATION_PROCESS=temp_table_insert',206); // ODP to insert into temp1
get.add('TRANS_ID_ITEM',pTrans);
gReturn = get.get('');
//alert(gReturn);
//$x_Show('6342610690289435');
$a_report('6342610690289435','1','15','15');
}Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
Thanks,
Dippy
Edited by: Dippy on Feb 5, 2010 11:05 AMHi Flavio,
Thanks for your support.I figured where I was going completely wrong.
Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
I fixed it as follows :
Remove the condition for the report.
Added and item and computed(P_Compute) its value using select count(*) from temp.
Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
Flavioc : the query for my report is simple
select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc . -
My challenge at the moment is that I need to create a dynamic filter. To explain this is a cascading filter but not your normal cascading filter,
ie, Year/Month/day etc.
Here we have a single Dimension, Organisation. It contains every level of a business,
Site,
Dept,
Company name,
Division
Holding
Strategic Area
From these as a default we have 4 built hierarchies with a different combination of the above.
Activity (Strategic Area, Dept)
Organisation (company Name, site, Dept)
Sites (Division, Site)
Holdings(Holding, Strategic Area, site, Dept)
At any given time we have have additional Hierarchies created within the Dimension, further adding to the hierarchy list.
We now have a challenge where we require our users to be able to in the first filter select the Hierarchy they want to use, ie, Holdings, Site, Organisation
or Activity. This should then cascade to the second filter and contain the relevant hierarchy and levels as a multi select filter. Of course this also needs to be connected to number of graphs, charts and scorecards on the page, dynamically.
I have gone around the houses to get this to work but not having any luck. Tried the variety of filters available, MDX, member selection, tabular,
SharePoint, and attempted to mix and match to get this to work. I cannot find a way but I don't believe this is not possible.
If it is not possible we must look around for another front end solution for our BI Dashboards which I would prefer to avoid. Any response or suggestion
would be much appreciated.
Regards,
ShebHi Sheb,
Please check the articles below and see if cascading filter in PerformancePoint Dashboard can be help:
http://technet.microsoft.com/en-us/library/hh272541(v=office.15).aspx
http://www.dotnetcurry.com/showarticle.aspx?ID=872
Regards,
Rebecca Tu
TechNet Community Support -
Why is the template not being used when dynamic page called ?
Hi,
I have created a dynamic page and assigned a template to it. When I call the dynamic page using the 'show' procedure from a form, I do not see the template.
Why is the template not being used ? How can I get the template working when I call the dynamic page ?
I even tried to show the page from the dynamic page's manage components tab and there is same problem. Template is not being used.
thanks,
MainakYou can alter the generated package body to include the following function in the header and footer sections.
Header:
PORTAL.wwv_headings.show_header(
p_template => 'PUBLIC.TEMPLATE_3',
p_heading => 'Dynamic Page',
p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help',
p_about_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.about');
Footer:
PORTAL.wwv_headings.show_footer(
p_template => 'PUBLIC.TEMPLATE_3',
p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help');
where
<PORTAL_DEMO> indicates application schema
<PORTAL> indicates the name of the portal (normally this will be portal30 by default). -
Dynamic HtmlPanelGrid - Not Refreshing
Hello,
I'm using the binding attribute of the <h:panelGrid> tag to reference a dynamically created HtmlPanelGrid on a backing managed bean. The HtmlPanelGrid is constructed on the fly based on data from the database.
All is well the first time the JSP is displayed.
When I navigate away from the JSP and return to it later via an action method that returns a navigation rule string, the HtmlPanelGrid is not getting refreshed.
I suspect the original HtmlPanelGrid is hanging around out there in session somewhere ... possibly in the ViewRoot/component tree. I can't understand why it's not getting reset on the subsequent visits to the page. I was under the impression that if you navigated to a page via a navigation rule that the component tree is refreshed. Is this not the case?
I have tried assigning unique id's, playing around with "transient" on the component (with unpredictable results, I might add). Not sure what fooling around with client side state saving would get me -- or if I even want to fool with that.
I have been using JSF now for nearly 2 years and really like it, but this has got to be the most frustrating thing I have come across.
Any ideas? Thanks in advance.I'm happy (but a little embarrassed) to report the duplication was a result of a session scope List that was not getting cleared at the beginning of the page prep process. JSF appears to be working fine -- the problem was 100% programmer error!
-
The apexafterrefresh event not being fired in Chart IR's
Hi all,
I am adding additional functionality to IR reports using the plug-in architecture in Apex 4.1.1. A Dynamic action has been added to the "After Refresh" event for the #apexir_WORKSHEET_REGION jQuery selector.
This works fine in all cases except when no data is found in the report. This has been fixed in 4.2 so I can live with this until the upgrade. However, it also does not work when a chart is created in the report, the apexafterrefresh event does not get raised. Therefore my dynamic action will not fire. Looking at the apex_interactive_reports_4_1.js this event gets raised for the table element with an ID stored in apexir_WORKSHEET_ID ie:
apex.jQuery('#' + $v("apexir_WORKSHEET_ID")).trigger('apexafterrefresh', that.report_id);However this table element does not get rendered when a Chart is displayed and therefore the apexafterrefresh will not get raised.
In apex 4.2 the widget.interactiveReport.js has been modified to handle the no data found but not charts:
var lTriggeringElement$, lWorksheetId;
lWorksheetId = $v( "apexir_WORKSHEET_ID" );
if ( $x( lWorksheetId ) ) {
// If the table element containing data exists (ie when the report returns rows),
// use that to trigger the event.
lTriggeringElement$ = apex.jQuery( '#' + lWorksheetId );
} else {
// Otherwise, use the span holding the no data found message.
lTriggeringElement$ = apex.jQuery( '#apexir_NO_DATA_FOUND_MSG' );
lTriggeringElement$.trigger( 'apexafterrefresh', that.report_id );I have created a test case on apex.oracle.com - http://apex.oracle.com/pls/apex/f?p=41357:1 In this example I simply display an alert from a Dynamic action with the following attributes:
Event - After Refresh
Selection Type - Region
Region - Interactive Report
As can be seen when the user navigates to the report the alert displays, however when you navigate to the Chart the alert does not display.
In my mind this is a bug and the IR reports JavaScript should be modified to raise the event apexir_WORKSHEET DIV Element instead. This would fix both issues.
Any ideas on how to overcome this issue?
Thanks
Chris.For everyone's information Bug 16029272 - ALERT (APEXAFTERREFRESH EVENT) NOT BEING FIRED IN CHART OF INTERACTIVE REPORTS has been raised regarding this issue.
-
Data is not being populated in screen field PSPNR after F4 search help.
Hi expert,
I have added one field GW_SELECT-PSPNR in existing screen 100, and there are many fields already existing.
and there are POV for 4 fielda and i added POV for field GW_SELECT-PSPNR.
PROCESS ON VALUE-REQUEST.
FIELD gw_select-kostl MODULE determine_kostl.
FIELD gw_select-aufnr MODULE determine_aufnr.
FIELD gw_select-matnr MODULE determine_matnr.
FIELD gw_select-bwart MODULE determine_bwart.
***Added by me
FIELD gw_select-pspnr MODULE determine_pspnr.
****end add
now problem is that the value is not being populated in screen.
values are coming in field GW_SELECT-PSPNR but in screen its not being populated.
i tried function module 'DYNP_VALUES_UPDATE' then also its not being populated
now this module MODULE determine_pspnr has code inside
MODULE DETERMINE_PSPNR INPUT.
DATA:w_dynpfields TYPE dynpread,
i_dynpfields LIKE STANDARD TABLE OF dynpread.
PERFORM fill_pspnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'PSPNR'
value_org = 'S'
TABLES
value_tab = gt_pspnr
field_tab = lt_field_tab
return_tab = lt_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
LOOP AT lt_return_tab INTO ls_return_tab.
gw_select-pspnr = ls_return_tab-fieldval(12).
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = gw_select-pspnr
IMPORTING
output = gw_select-pspnr.
EXIT.
ENDLOOP.
refresh i_dynpfields.
w_dynpfields-FIELDNAME = 'gw_select-pspnr'.
w_dynpfields-FIELDVALUE = gw_select-pspnr.
APPEND w_dynpfields to i_dynpfields.
APPEND gw_select to gt_select.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
DYNAME = sy-repid
DYNUMB = sy-dynnr
TABLES
DYNPFIELDS = i_dynpfields
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
UNDEFIND_ERROR = 7
OTHERS = 8
ENDMODULE. " DETERMINE_PSPNR INPUTHi
Use this code instead of your function call:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FEE_NUMBER'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'FEE' ================>your field
value_org = 'S'
TABLES
value_tab = it_fee
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Best Regards
Yossi
Maybe you are looking for
-
Is there any way to get lightroom 4 to recognise raw files from my 7d Mark 2?
I have been searching on here for a few days now, but can't seem to get my head around the answers I got a new 7D mark 2 a few weeks ago. When I first came to download my pictures from the card I was only marginally surprised they were unreadable -
-
Hi I'm buying a laptop for my son who uses either CS5 or CS6. Could someone please tell me if there are any issues with installing and running either on a laptop running Win 8. The laptop we are looking at is a gaming one which has a dedicated graphi
-
On 2/20/2013 all printing was normal. On 2/21/2013 not only did the printing not work, but PDF files did not show up properly. Is this a new version of Firefox? I got the PDF reset so that works now, but not the printing. In Comcast email, the date f
-
How to access BPS variables in ABAP Exit Function
Hi Experts, I am using a Exit Function. My BPS variables contain multiple values. I want to trasfer then (may be directly read) to an internal table from where I can loop over then. Could you please suggest me the code for this? Points will be awarde
-
Media Encoder in settings mode only shows the lower half of screen
All of a sudden, my Adobe Media Encoder CS4 is only showing the lower half of the screen in Settings mode. This is how it encodes from the .wmv file to .avi. and is therefore corrupting the file. Does anyone know why this has happened?