HTMLDB 1.6 Source Used difference
(1.6 only) If all the fields on a form are Source Type=Database Column and Source Used=Only when current value in session state null, no data populates the form when called from the report edit link.
We need to leave the Source Used as is since we have master select lists on the form that submit the form page back to itself and display child select lists.
If I change the 1st form element source type to "Always...", then when I click the report edit link I do get all the form values from the database column as I expect. When I change the 1st form element source type back to "Only when current..." the form does not populate with values again.
I exported the application from our production 1.5 version into 1.6. The application works as expected in 1.5 but not sure if this is a 1.6 change or is something else wrong and how do I go about fixing it.
This one has me stumped. Thanks
Paula and Satish,
Thanks for the information. This is indeed a bug. Here's a summary of the problem:
When a region with an item whose Source Used attribute is "Always, replacing any existing value in session state" is rendered on a page invoked with a URL that passes a value into that item, subsequent items in the region (in display sequence order) will not be sourced correctly if their currently cached value is null and if their Source Used attribute is "Only when current value in session state null". This behavior continues until another "Always" item is rendered whose value is not set in the URL.
Workarounds: If the "Always" item whose value is set in the URL is a hidden item and no other items in the region reference its value during their rendering, the easiest workaround is to give it the highest sequence number in the region and group all other items having those identical properties along with it. For items with these properties (Always+URL input) that are not hidden or whose post-rendered values affect the rendering of later items in the region, it's necessary to interpose a hidden "Always" item between that item and the next "Only" item in the region. The most common case may be where the PK item used in an automated row fetch process is hidden and should be expected to have a value passed in the URL. Moving the PK item to the end of the region should be an easy fix.
It's safe to say that this bug will be fixed in a patch release of some kind. Please don't ask when that will be available, we'll publish that information as soon as we know.
Thanks again for helping us identify this problem.
Scott
Similar Messages
-
Hi All,
I am using HTML DB 2.0. I am a new user of HTMLDB. Please explain the difference between 2 Source Used Item Attribute
1. Always, replacing an existing value in session state
2. Only when current value in session state is null.
If there is already a thread on this, please give me the link.
Thanks in advance
MonikaSo are you saying that this behaviour is different in v1.6?Yes. Otherwise the PPR stuff wouldn't work when those requests referenced uncommitted session state.
You mean, "will NOT be able to ..."No, it will be able to see the value of the item (in uncommitted session state). That's the change from 1.6.
What is an example of a "session-state committing source method"? Code that not only sets the source of the item for display but as a side-effect cause update_cache_with_write to occur for that item or for any other item(s). For example a PL/SQL Function source type that returns the source value and also does :P1_ITEM := 'value'; .
Scott
Message was edited by:
sspadafo -
Hi All,
I had two same forms of different source coding, i need to find out the difference between the source code, is their any utility to find out the source code difference. Iam using forms 5.0
ThanksAnil,
you can convert the fmb to txt file using file-->administration-->object list report in the form builder.
do the same for both forms. if u have an editor like ultra edit u can compare those two txt files.
regards
Sini -
What is an ageing report? What are the data sources used to develop an agin
Hello BW gurus,
I was going thru some of the BW resumes. I could not understand some of the points mentioned below. Kindly go thru them and please explain each of it.
Thank you.
TR.
Developed AR ageing report, created invoice layout and processed invoices.
What is an ageing report? What are the data sources used to develop an aging report
Worked on month-end and year end processes such as Balance Sheet Statements and Profit and Loss Accounts.
What data sources does one use to get Balance sheet and P&L accounts tables and fields.
Involved in the end to end implementation of BW at Reliance Group as a team member.
What are the tasks a BW consultant normally performs when he is involved in an end to end implementation project or
a full life cycle project?
Extensively worked on BW Statistics to optimize the performance of Info Cubes and to create Aggregates.
What do you mean when you say worked on BW statistics to optimize the performance of Info Cubes.
What are aggregates why do you need them?
Prepared design documents from the Business Requirement documents and identified the
relevant data targets for satisfying the customer requirements.
What are the design documents does one prepare, please give an example.
Is cube a data target?What is an ageing report? What are the data sources used to develop an aging report
Aging refers to values in different time period ranges. Example, the customer (credit) aging report can look like this.
customer (credit) for current period, 0 to 30 days, 30 to 90 days, 90 to 120 days. This is the way aging is classified.
What data sources does one use to get Balance sheet and P&L accounts tables and fields.
For P&L information, you may use 0FI_GL_6 datasource (or 0FI_GL_10 if you use ERP 5.0 version). This datasource reads the same information used in R/3 transaction f.01 (table glt0).
What are the tasks a BW consultant normally performs when he is involved in an end to end implementation project or a full life cycle project?
Requirement gathering, blueprint creation, development etc
Refer to posts on Sap Methodology and Sap lifecyle
What do you mean when you say worked on BW statistics to optimize the performance of Info Cubes. What are aggregates why do you need them?
Please check these links
http://help.sap.com/saphelp_nw04/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f0/3c8c3bc6b84239e10000000a114084/plain.htm
What are the design documents does one prepare, please give an example.
Design document is basically a document to say how the design is to be developed for a particular solution ex: FI it says what is the data fow and what are the data targets to be used and how data shld be stored for providing the client a solution they need.
Is cube a data target?
Yes cube is a data target.
Hope this Helps
Anand Raj -
Error while creating Generic data source using FM
Hi Experts,
I try to create a generic data source using the Function Module via the transaction RSO2. I got the following error messages.
" Das Einheitenfeld CURR des Feldes ZPKZA1 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
" Das Einheitenfeld CURR des Feldes ZPKZA2 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
" Das Einheitenfeld CURR des Feldes ZPKZA10 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
"The unit field CURR of the field ZPKZA1 of the DATA SOURCE ZBWN_DS_POLPOSP is not visible/ stopped/ hide".
for all 10 fields of type CURR.
How shall i handle this issue..........any suggestions please........
thanks in advance
cheers
sailekhaHi,
Are your CURR fields refereded to a currency field of your structure?? Maybe the problem is that the field containing the currency is refered to other table/structure and it has to be one of your structure fields.
Hope this helps,
Regards,
Carlos. -
My IPad is getting hard to charge,I have to wiggly the charger to get it to charge. I've bought a new charger and used difference outlets. I need to know what is wrong?
Consider where you are wriggling the charger (I suspect you mean the cable. Why does everybody refer to a cable as "the charger"?) and make sure all the contacts there are free from pocket fluff and such.
-
"Source used" item best practice
Hello,
How can I configure an item with source used "Always, replacing any..." and source type="Database Column" and STILL not loose the entered value every time the page comes back (items are by default repopulated with DB column values, which make me loose all entered values),
The reason why the page comes back before a submit is because I have some "Select List with Redirect" which dynamically populate other "select list" (dynamic LOV)
How can solve/workaround this issue? Remember, I want all entered values NOT be reset by db column values
Thanks for your help!
SamSam,
I've begun to use AJAX for this type of select list. Solves the caching issues nicely and doesn't cause an entire page refresh as the page isn't submitted until all the data is entered. Carl Backstrom has an example in his samples application - http://apex.oracle.com/pls/otn/f?p=11933:37
Make that Denes Kubicek's - http://deneskubicek.blogspot.com/2008/04/cascading-select-list-in-tabular-form.html
Dave
Message was edited by:
dsteinich
Message was edited by:
dsteinich -
Cannot create data source using custom third-party driver
Hi,
I've just installed Weblogic Server 10.3.6 and I'm getting problems creating a generic data source using my own third party jdbc driver which I had no problems doing in Weblogic Server 10.0; this is what I did in 10.0;
before starting server i put my driver jar file (and any jar files it needed) in the lib folder of the domain user project which weblogic appends to the classpath during server startup
inside weblogic console -
1. first page - provided a data source name and jndi name and selected 'other' for database type
2. second page - selected 'other' for jdbc driver
3. third page - deselected the global transactions
4. fourth page - provided database name, username, host name, port, and password.
5. fifth page - provided driver class, url, database user name and password (didn't bother with the test)
6. Selected target server
I then saved and activated changed and was done.
This what I did for 10.3.6
did the same thing I did for 10.0 before server start up
inside weblogic console -
1. first page - provided data source name and jndi name and selected 'other' for database type
2. second page - selected 'other' for jdbc driver
3. third page - deselected the support global transactions
4. fourth page - here's where things are different - page only asked for database username and password, which I give.
One this page I get a criptic error saying 'errors must be corrected before proceeding' - no other message as to what these errors might be either in the console or the cmd window of the server. I tried making changes to the provider authenticiation of the security realm but no luck. I tried following password creation requirements, I even tried proceeding to the next page without entering anything on this page, all no luck. I have no idea what's going on.
Hope someone can help.
Sam.I've fixed the class issue but am struggling a bit with SQL Server authentication. I'm running in mixed mode (originally set to Windows authentication but I've modified the security setting), I've enabled TCP/IP and Named Pipes, I've created a user (who I can log in to SQL Server Mgmt Studio successfully with), but still get a connection refused error.
Any insight? Thanks. -
Source used and source type problems????
please help.. i know i am being very thick here -
i have a page with two text fields (say :P8_item1 and :P8_item2) which are not database columns, but which are populated by LOVs (displays descr, returns key value) from database columns. the first field i select the LOV item i desire and it appears in the text field. the second field is also a LOV but the 'where' clause is where a column in my LOV query is equal to the result of the first text field (ie :P8_item1). the LOV of the second column is finding no rows whcih is nonsense, because if i check in the DB it does find.
what i am wondering is if indeed the contents of :P8_item1 are being transferred to the LOV of the second item. If i look at the properties of the 1st item, the source used is set to 'always, replacing any existing value in session state' and the source type is 'db column) - even though it really isnt..
this is driving me nuts - any help would be great.
thanks
staffordStafford,
Values of items on the page are pushed into "session state" when the page is submitted. You're trying to create "cascading LOVs" without a full page submit - for that your need a little Ajax. LG worked on this some before and has begun work on some code that aims to make this easier. You can see the demo here:
http://apex.oracle.com/pls/otn/f?p=987654321:54:0:::RP,54
And you can find LG here:
http://www.apexquebec.com
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-) -
OLAP cubes from heterogeneous data sources using XML DB
hi.
Q:1
How we can create an OLAP cube (XML cubes) from XML data sources if using XML DB.
Q:2
How we can create an OLAP cubes from warehouses and flat files and covert these cubes into XML cubes.
Q:3
Is there any other tool (Except Analytical workspace manager AWM) which supports the construction of OLAP cubes in XML format from heterogeneous data sources?
Edited by: user11236392 on Aug 21, 2009 3:50 AMHi Stuart!
Your undersatnding is partially correct. i am working for providing an architecture for XOLAP, XML is one of my data source.
The idea is to generate uniform cubes from heterogeneous sources that can be integrated into a global cube. instead of building Oracle OLAP cubes from all the sources (this work is already done) i want to generate an XCube from XML data sources using XQuery.
On the other hand if we have generated the Oracle OLAP cube from other sources like warehouses or flat files. i have to convert these Oracle OLAP cube into XML cube for uniformity. in an research paper i find that there is an operator Xcube embedded in XQuery which converts the multidimensional data (cube) into XML cube. im looking for the implementation of this operator in Query that how this operator works.
hope u understand my architecture. but if u still have some confusion, kindly give me ur mail id. i will mail the diagram of my architecture.
thanks.
saqib -
Connecting through Data Source using JNDI
I would like to connect my application to sql server database through data
source using JNDI. But when i try to bind the data source object with the
logical name, i am getting following exception. How can i ger rid of this
error ? How can i provide the initial context ? I thought Java would create the default initial context by itself. But it doesn't seem to be true. Any type of help would be appreciated.
-Prashant
Exception :
Naming Exception :Need to specify class name in environment or system
property, or as an applet parameter, or in an application resource file:
java.naming.factory.initial
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:651)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:283)
at javax.naming.InitialContext.bind(InitialContext.java:358)
at RegDataSource.regDataSource(RegDataSource.java:30)
at RegDataSource.main(RegDataSource.java:52)
Source code :
public class RegDataSource
public RegDataSource()
private void regDataSource()
try
com.microsoft.jdbcx.sqlserver.SQLServerDataSource sds =
new
com.microsoft.jdbcx.sqlserver.SQLServerDataSource();
sds.setServerName("servername13");
sds.setDatabaseName("test");
Context ctx = new InitialContext();
ctx.bind("jdbc/EmployeeDB", sds);
catch(NamingException e)
System.out.println("Naming Exception :" + e.getMessage()
//+ "\n" + e.getExplanation()
//+ "\n" + e.getResolvedObj()
//+ "\n" + e.getResolvedName()
e.printStackTrace();
catch(Exception e)
System.out.println("Exception :" + e.getMessage());
public static void main(String[] args)
RegDataSource regDataSource1 = new RegDataSource();
regDataSource1.regDataSource();Thanks you very very much for your prompt reply and helping me out. I have following questions.
1) Now i am able to bind data source object to the logical name. But the problem is that whenever i try to look up the data source object by providing logical name (i.e. DataSource ds = (DataSource)ctx.lookup("jdbc/EmployeeDB") ), it returns always null. I don't know why it doesn't return the correct data source object ?
Following is the code used to bind datasource with the logical name
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL, "file:/TEMP/jndi");
Context ctx = new InitialContext(env);
//Properties p = new Properties();
//p.put(Context.INITIAL_CONTEXT_FACTORY,
// "com.sun.jndi.fscontext.RefFSContextFactory");
//Context ctx = new InitialContext(p);
ctx.bind("jdbc/EmployeeDB", sds);
Following is the code used to look up for the bound object
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL, "file:/TEMP/jndi");
Context ctx = new InitialContext(env);
DataSource ds = (DataSource)ctx.lookup("jdbc/EmployeeDB");
2) I am writing client server application in which my client is going to access the SQL Server 2000 to read/write database related data. The reason behind using the JNDI is that i don't want my client application to kwon which driver (sql) and database i am using. It is going to provide the great flexibility whenever i can make my application to use other database like Oracel, sybase, etc. without changing any code most probably. In this situation, which JNDI service provider to use ? I am not sure about "File System" service provider be the ideal choice for this type of situation. so please let me know which JNDI service provider is the ideal for this situation.
Any type of help would be appreacited. -
Loading from source using DBLink
Hello all,
I am trying to load from a table which I can connect using only a DBLink. I have a DB link created to a remote schema.
OWB : 10gR2; Oracle DB (local and target) : 10g R2; Oracle DB (remote - Source):9i R2.
I created a source with the following steps:
- I created a normal location (host:port:service) to connect to my local DB where I have the DB link to connect to remote DB.
- I created a source with a new location (dblink connection) using the above location and selecting the DB link.
- The above step created a location just for the data, for the metadata, owb forced me to create another location- Hence created another source using the same location created in 1 and selecting the DBlink.
- Using the above, I was able to connect to the source and import the required Views and MVs.
Next, I created mapping using this source. When I deploy the mapping, I get an error, "table or view does not exist". The script is not using the location detail at all.
I did try registering the location manually (though they will be deployed while deploying the mapping), still it did not help.
Any ideal please?
Thanks
MaruthiI tried creating all over again.
The location which is created using the Database link as the location type is not listed in the 'Metadata location' tab of the source module editor.
Alternatively I also created the source module and when the create module wizard prompts me for the location, I selected the location that was created with the DBlink as the location type and finally when click Finish, I get a message 'API2421: A metadata location is not defined for the module. Import cannot continue without a metadata location. To continue with import, select ok and a metadata location will be created'.
When I proceed here, a new location is created and I am prompted for the connection details. I created this also as DBlink type and then the import takes place.
I go back and open the editor for the source module, I still don't see this location which was created by OWB.
Is this some kind of bug or am I missing something.
Please respond as early as possible.
Thanks a lot in advance!
Maruthi -
Use differents fonts in a smartform
Hi Experts!!!
I need help with this problem, I have to make a smartforms with data from PE51, I do this in this way, first I read the data from PE51, after, I execute the program ZRPCTDE0 and make changes in this, for example, I take the data with the table LINDA, that's is a string of 132 caracteres. I also make a smartform, the structure of this smartforms is, I read the table linda and I print all the data in the smartforms, and after, for make the tables, make the title.... I put a lot of windows with the corresponding lines. The problem is that I want to change the type of font of some data of the smartform, but I don't know how to do this, can anybody help me?
Also I want to know how can I use the conditions of the smarforms, I don't understand the way of using this.
Please help me!!
Thanks a lot,
Regards,
RebecaI have done this but the problem is that I want to use differents kinds of fonts, the problem is that when I read the PE51 I read all the lines at the same time, so I can't change only one data, I change all the smartforms,
this is the last code
IF NOT it_xform[] IS INITIAL.
CLEAR v_name.
MOVE formular TO p_form.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = p_form
IMPORTING
fm_name = v_name.
So now, when I call the smartforms, I've a loop to the table it_xform and I write the it_xform-linda, and in this text I put the style for all the line, but I don't want to write all the line with the same font, I want to change the second line with a different font... It's difficult to explain...
Do you know how can I use the conditions ?
Thanks a lot for your rapid answer!
Regards,
Rebeca -
Which Process Chain or DATA Source uses Queue MCEX02
Hi plz tell me which pc or data source uses Queue name - MCEX02,MCEX04,MCEX05,MCEX05_1,MCEX08,MCEX11,MCEX12,MCEX13,
Actually these queues entries are blocked in ECC Environment.
Also provide any document on running jobs thorough LBWE.
Thanks
NileshHi,
MCEX02,MCEX04,MCEX05,MCEX05_1,MCEX08,MCEX11,MCEX12,MCEX13 these are the extract structure names of the datasource for the applicaitons Sales, Billing, Delivery, Purchasing....etc.
If you goto LBWE based on the application component number you can find the datasouurces like 11, 12, 13 are for sales, delivery, billing repectively.
Check the below link for LO extraction process steps.
http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
Hope this helps.
Veerendra. -
How to create Geniric data source using the SAP FUNCTION MODULE
Hi,
I want to create genric data source using function module
MD_STOCK_REQUIREMENTS_LIST_API (delivered by sap)
for this function module where I can find Extract Structer
or I have to create ?
How can i use this ?
Thanks in AdvanceHi Shilpa,
Check here..........
Using function module as the generic extractor
Generic Delta Update using Function Module
Document regarding R/3 extractors using function module/user exits
Generic extractors using FM
Maybe you are looking for
-
I've forgotten my passcode and can't get into the phone to turn off "find my iphone" in order to restore it... Can anyone help?
-
Windows 7 64 bit drivers for HP ENVY 17-J070CA
Hi, Can anyone please help me with the drivers Windows 7 (64 bit) for my new Hp Envy 17-J070CA laptop. i would really appreciate. thank you !!! This question was solved. View Solution.
-
Regarding addition of new field in mb1a, mb1b.
Hi, I want to add new field in mb1a or in mb1b in first screen below reason for movement field and while saving this field value and with line item hav to be fetched and get stored in ztable. Is it possible. Regards, Natchi.
-
How to run python files on the browser?
Good day, I am trying to run any python file on the Leopard web server, accesing it via safari. also I have set the permissions of the file to 777... then I have copied the file to library/webserver/documents.When I open this file in Safari, the file
-
Setting permissions at entity object level using JAAS and LDAP
Hi, I am using ldap-based provider for authorizaton. Every thing works fine. Authorization works fine based on the roles created in web.xml file. Could you please let me know how I can define permissions at entity object level when using ldap based p