Problem in using Auto-generated Table in Program
Hi experts,
I'm using some auto-generated table in my program. But the Problem is program is not activated due to non-existance of any type of table or structure or view of that Table type in the development server. i.e. table name in development is FMFMOADE12200014 and same in Production is FMFMOAPE14000018.
How can I solve this problem to active the program and transport it?
Thnaks in advance.
Goutam
Hi Friend ,
If an Auto-generated tables inside your program ,then you should not use that table directly as internal table type .
In that case you have used the Dynamic structure in your program .
tips is you should check first the table is there in the database through your programing using the standard function module for checking the table exsisting , then use the field symbols for dynmaic creating of program strucuture ,including field creation to tat strcuture . this will make your program more lines in that case you can write subroutine for creating the fields and adding inside the dynamice strucure .
simple example please see this link : [http://www.sap-img.com/ab030.htm]
becasuse we do have the same auto-generating table concept in Finance base on the Operating cencern out table name & fields inside will be changing ,Our program has to support world wide Rollouts . so we used dynamic structuring inside Our program .
Regards,
Similar Messages
-
Problem using Auto Generated Task Form with Autogenerated ADF controls
Sorry bothering you again, but I'm in troubles again.
I'm using an autogenerated page for a human task with adf controls. Generates fine, it's deployed in App Server and runs Ok, buth when you try to see the form, you get this error:
500 Internal Server Error
Servlet error: Security sensitive exception occured. Please consult application log for details.
And in the log, I got:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Class not found:oracle.classloader.util.AnnotatedNoClassDefFoundError
Dependet class: oracle.bpel.services.workflow.adfforms.BPELWFDCDef
Loader: oracle.bpel.common:10.1.3
Origen : /C:/programs/com/oracle/SOASuite/10.1.3.1/bpel/system/services/lib/bpm-services.jar
Configuration: <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml
Class can be found in:
1. Code origen: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/jlib/adfui.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
2. Origen de Código: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/lib/adfm.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:132)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
at oracle.adf.model.BindingContext.get(BindingContext.java:483)
at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:261)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:165)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
There is something I must add?See if this helps -
https://forums.oracle.com/thread/2460140 -
Installing components using auto-generated plans from Jython CLI
Hi All,
for specific reasons, we want to install a set of components with fixed signatures from Jython CLI, but without appropriate plans. In fact, we want to simulate the behavior that we know from Plugin UI, i.e. linking directly to an installer of a component.
We figured the following steps are necessary within CLI code:
1) For the targeted component generate an appropriate install plan using 'pdb.p.genplan' command. This unfortunately does not create the plan within the system, but rather has to be redirected to a file.
2) Import the previously generated plan using 'pdb.p.ci' command from this file.
3) run the plan using fixed signature to install component
4) eventually remove the plan.
Now, the problem is, that step 1) generates a plan targeted for the folder '/system/autogen', but step 2) fails on importing the plan there, because the folder is owned by the system plugin. So we would end up parsing the XML file, replacing path and so on .... We definately don't want to reinvent the wheel, here.
Any help appreciated!!!
Regards,
FrankFirst of all, thanks for the super-fast reply.
We got around with parsing using the xml.dom.minidom package in Python. Three more lines and poorer performance, but nothing you can measure against the CLI performance itself ;-)
I like the idea of using a template plan, as you suggested, because the generated ones bear another problem: We have to pipe in the plan parameters, which we don't know for sure, except for one, that is the 'markOnly' flag. So this might get us around piping in stupid dummy params.
How exactly do you wait for the plan completion? We use 'pe.p.lo', but don't know how to figure out, if it was successful or not, at all. No return code this time, and stdout isn't filled in markOnly=true mode.
Regards,
Frank -
Performance Problem in using the BSEG table - Required alternative
Hi All,
Pl go thru the below program.
I am unable to change this code
It is having 46 performance errors
Pls check the code and suggest.
*To get Pmt Doc No & Posting Date
SELECT SINGLE
BELNR
ZFBDT
FROM BSEG
INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
WHERE AUGBL = W_CLR_DOC
AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
AND BSCHL = '15'.
IF SY-SUBRC <> 0.
SELECT SINGLE
BELNR
ZFBDT
FROM BSEG
INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
WHERE AUGBL = W_CLR_DOC
AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
AND BSCHL = '11'.
The above code is having performance error "NO field of a table Index in WHERE"
The same error repeated for 45 select statements and for all statements the "BSEG" table is used for selecting data.
But creating a secondary index on BSEG table columns will not be possible
So pls suggest me accordingly
Awaits for the Reply.
P KamalHi,
Perhaps my post here: Re: BSEG table performance issues might help you.
Regards, Gerd Rother -
Auto-generate table or list from other data
Hello,
I'm trying to figure out how to get Numbers (if it can) to generate and display a list. I'm not sure how to explain it well, so let me just give you an example.
I have a table that looks like this:
A 0
B 1
C 0
D 0
E 1
F 1
Where A through F are strings, and the 0 and 1s are determined by a formula based on other data in the spreadsheet. The point of the second column is to indicate if the corresponding item in the first column is "available" and can be chosen by the user, 1 meaning yes, 0 meaning no. So, for the example, all the requirements for "E" are met, and it can be chosen by the user; not so for "A." There are about 200 rows of data, so I'd rather have a formula or function than do it all manually.
I would like all the items (and only those items) in the first column that are available (as indicated by the second column) to be displayed in a table on a different sheet that the user is expected to interface with.
Hence, ideally that table would look like this:
B
E
F
and not like this:
(blank)
B
(blank)
(blank)
E
F
The goal is to then allow the user to select some or all of those available options (using check boxes in the next column). For what its worth, there's actually already a column before the string column that is a simple enumeration of rows; it's occurred to me that multiplying the "available" column by the enumeration will give a unique number for each available option and the same number, 0, for each unavailable option.
I really appreciate any advice you could give me!
Thanks!Tstedman,
You have to remember that checkboxes are just a pretty way of stating TRUE or FALSE. There is no mechanism other than to click on them to change them. They are not controlled by formula.
Knowing nothing about how you are using the checkbox in you tables, the following is offered as a possible workaround. In this scenario you may change the checkbox setting in table 1 and the change will be reflected in Table 2. But the down side is that the reverse will not work and that a check "mark",not a check "box", appears in Table 2. Column B of Table 2 contains the formula:
=IF(ISBLANK(A2),"",IF(LOOKUP(ROW()-1,Table 1 :: C,Table 1 :: D),"√",""))
If this works for you, Great! If not, others may come up with a different workaround. The checkbox can be useful in cases where formulas in other cells refer to it ... but, it cannot refer to other cells.
pw -
Problem in using translation builder table??? pls help
Dear OTN Users,
I have to convert an existing application developed using forms 6i to Chinese for use in China. Kindly advice how to achieve this.
We have tried to use the Translation Builder but it gives an error message " xbd-00024 Translation builder table does not exist" and another error " xbd - 00301 Project Insertion Failed".
Pls reply back on Urgent basis.
Thanks
nullHi,
You can add attributes in the View to store the selected values .
For eg Add gv_index type i.
Now in the On select first table add a parameter NEW_LEAD_SELECTION type IF_WD_CONTEXT_ELEMENT in the action.
Now
use the get index method.
CALL METHOD new_lead_selection->get_index
RECEIVING
my_index = lv_index.
wd_this->gv_index = lv_index.
Now when u press the Delete Button the wd_this->gv_index gives the current index which u have selected before
And in the properties of the table SelectionMode use singleNoLead proerty so that the user has to select some value to delet the records. -
Problem with using View Generator Plug-in in AWM
Hi,
I have noticed that the View Generator Plug-in does not show me the Level Short Desc and Level Long Desc when I pick the fields to be written to the view. Has anybody encountered this before? I am using Oracle 10gR2
Thanks,
BharatHi Bharat,
I checked my 10.2.0.3 environment and both the long and short description attributes are shown for each dimension. If you have not already done so, download the 10.2.0.3.A version of AWM and the associated "A" version of the SQL View generator from the OLAP home page on OTN.
Hope this helps
Keith
Keith Laker
Oracle Data Warehouse Product Management
OLAP Blog: http://oracleOLAP.blogspot.com/
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
DM Blog: http://oracledmt.blogspot.com/
OWB Blog : http://blogs.oracle.com/warehousebuilder/
OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html -
TOC using auto-generate TOC function in RH - wierd XREFs
I am using TSC2 on an XP machine.
I linked a FM file (not a book) and then used TOOLS, Auto-Create TOC. It does that just fine... but there are some topics named in the TOC as follows:
XREF_1234_1.0_Name of Topic
When I look at the project manager, although these are not topics, they are listed below the topics (sort of greyed out)
When I go to that topic, there is a little flag icon which says its a bookmark. If I delete the flag icon then the topic names correctly... what am I deleting? What are those bookmarks? Is that a setting I can change somewhere?
TIA,
AdrianaHi Adriana.
These bookmarks are being created because of something in your FM file. They could be bookmarks or some other element. Deleting them won't delete any content apart from the TOC entry so you are OK there. You can prevent having these by either removing the element from the FM file or manually creating the TOC. If the former, I can't say for sure what causes them without knowing more about your FM file.
Read the RoboColum(n). -
Translate field name using auto-generated xlf resource for a view
Hi,
as i already know a resource file (xlf), is automatically generated for each view, message pool, etc. But textAccessor seems to work only for messages in the message pool. What if i want to translate the name of a field in a view? Do i have to repeat it's name and translation in the message pool in order to show the field's name correctly translated?
The problem arose when i was trying to display an error message bound to an input field trying to append the field's name in the current language.
Greetings
NicolásHi Nicolas,
For your WD views you are getting separate XLF files wich contains localizable text. So, if you have view with name ViewCV you will get ViewCV.wdview.xlf. Copy it with name ViewCV.wdview_de.xlf (german example), open in NWDS and change all UI text elements.
Best regards, Maksim Rashchynski. -
Problem in using MultiSelect ADF table with view Object
I have a requirement of displaying a table with multi select option. On page load table will be displayed with all columns as output text except last column as input text. User can update the last column of the selected row and only checked rows should get updated in the DB Table.
Is there any document or Tutorial available?Hi,
this is an individual implementation. Tutorials are written for common usecases. However, the way to implement this is to set the read-only property on the last column's text field (turn it into a textinput field) based on whether or not the row is selected. Make sure that the row selection PPRs the table
for a code example download
http://thepeninsulasedge.com/frank_nimphius/wp-content/uploads/2008/05/OldAndLostBlogBusterTips.zip
and look at page 272 "ADF Faces: Conditional table row manipulation on table row select"
Frank -
More than one programs using report generator at the same time
Hi,
I want to ask that how can I use Report Generator in two program at the same time.
As I am using Report Generator to log my data into excel, I find that if there are two
programs contain Report Generator, the program which ran first cannot find its
report.What can I do apart from alway open a new report?
RyanRyan,
Could you elaborate on what you mean when you say that the program which ran first cannot find its report? Are you trying to modify the same report simultaneously with these different apps?
Regards,
Jared Boothe
Staff Hardware Engineer
National Instruments -
How to "auto" generate "Primary Key" in custom table?
Hi Folks,
Requirement:
I need a function module or program that can create automatically a primary key.
Scenario:
I have a program that creates an entries and save it to a custom table at the same time, but a primary key should always be generated respective to the entries saved.
Example:
Material(MATNR) 4001001, Plant(WERKS) XX01, ID[Primary Key-auto generated]
(I'm thinking of a similar concept/logic on how a unique IDOC number is being generated or how SAP standard creates a unique entry)
I try to look for any SAP FM that can generate a PK, but there's no luck.
Thanks.
Regards,
JunHi Keshu and All,
The links are helpful, however:
#1. I don't have authorization to create a new object in transaction SNRO, but the way I see the objects in SNRO is just for defining the length(number of characters) for the ranges that will be use if I'm not mistaken.
#2. FM NUMBER_GET_NEXT - yes it can populate incremental unique entries but it's only occurring at runtime ?? So when the program get terminated it's not being saved nowhere.
So after if I use FM NUMBER_GET_NEXT, I always have to look for all the last primary key in my custom table, then target it as my starting point for creating a new PK. I think this will give a performance issue, any comments?
For better visualization, I have scenario:
1. (ZQ_CREATE_PK) Create unique incremental PK for material, batch, so on..
2. Append line/entries to ZQ_TABLE
3. Repeat #1 and #2
4. User exits the program
5. Back to 1 --> At this point, I need to get the "LATEST" PK then start this as a starting point again to generate PK and append it to ZQ_TABLE
I'm assuming that SAP has other SAP FMs related in creating this scenario. Similar to IDOC # creation..
Thanks. -
Problem using auto-complete SQL Developer
Hi everyone ...
I'm having a problem using the SQL Developer 3.2.20.09 87 ... when I try to use auto-complete in a 'SELECT' clause at a specific table (EX: clients.cod_client), if I have more tables in my 'FROM' clause, the program shows all columns from all tables. Even if I have specified the table I want to show the columns (like the exemple: clients.<columns>) ...
I've tryed to change the properties at preferences->insight ... but there's no option to change it there.
So, if anyone have faced this problem and solved, please help me ;)Hi,
There is a specific forum for this kind of question which are not related to PL/SQL: {forum:id=260}
Please mark this question as answered and post your question there.
Regards.
Al -
ADD Auto Generate column to table
Hi All,
I drag my table from dataview , what I want is add new column to it ? I have tried but i couldnt , and add script to that column so
it come auto generate int numbers?
thanksHi,
try to create a new table with the wizard, under the toolbar -> table -> insert table -> create table using assistant.
Set the body layout, with fixed dimensions or depending or data.
Then choose if you need a footer and a header.
Divide the new table in sections if needed.
Optionally, you even can add row shading to the table.
Finally, you need to create the correspoding binding between the context and the new created table.
I hope this solves your problem. -
Problem regarding the creation of Table using CSS.
Hi ,
Here I have a Problem regarding the creation of Table using CSS.
In My Application i have a table with multiple rows(Rows are Dynamically added to the table).First i am setting the table with the following properties:
width:900px;
height : auto,
Overflow : visible,
Max-height: : 200px.
If I use above properties,I'm getting a table with 5 or 6 rows(height upto 200px).After that i am getting the Vertical ScrollBar.
The problem is when a table has many columns, Vertical and Horizontal Scrolls are coming at the time of setting the table. The table height is not Increasing dynamically.
How can i use "height" property in CSS? (I want the table height to be increased when the columns are more.)
Thanks & Regards
MadhaviHey humble user. Errr I'm trying to understand what ur trying to do. U want to create a section of a region destructively from an existing region right? If so select the option convert to new region (opt-comm-R or selecting it by right clicking). Check your audio bin to make sure. Whats the "merge" function? Are u refering to the glue tool?
Maybe you are looking for
-
Will the ATI Radeon 700 AGP card run two Studio 21 Displays?
I just bought a G4 MDD 1.4 GHZ Mac that has what I assume was the stock video card, which appears to be for LCD displays, since the cables from my Apple 21" Studio displays (CRTs) don't match up to it (those are called VGA monitors, right?). On my pr
-
On my Primary database when I did archive log list, it gives me Database log mode Archive Mode Automatic archival Enabled Archive destination /u04/oradata/arch/PROD/ Oldest online log sequence 29627 Next log sequence to archive 29629 Current log sequ
-
CF8.01 hacked. Need info on patches
Yesterday some of our hosted sites were hacked using code pasted below. We're running CF 8.01 and I'm wondering if there is a cumulative secutity patch that we can apply or If I should just apply every security patch that I can find. I noticed that
-
Data from oracle to excel very urgent
hi all, im using servlets for fetching the data from oracle , i want to display the data which i get from orcle in excel sheet. A code snippet regarding this is highly appreciated... Thanks in advance
-
hi all experts , I am new in BI. When I am lodaing data from SRM to PSA through data source 0BBP_MS_0COSTCENTER_TEXT then I am getting this error. Error message from the source system Diagnosis An error occurred in the source system. System Response