Exception CNTL_ERROR raised when using REUSE_ALV_GRID_DISPLAY
Hi,
I would like to ask your help concerning the following issue. I have a program called ZBAL_ZSTOCK2 which uses the following FM :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_interface_check = 'X'
i_buffer_active = space
i_callback_program = g_program
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_sort = gt_sort[]
i_save = 'A'
is_variant = gs_variant
it_events = gt_events[]
is_print = gs_print
IMPORTING
e_exit_caused_by_caller = g_exit_caused_by_caller
es_exit_caused_by_user = gs_exit_caused_by_user
TABLES
t_outtab = it_alv[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
It works fine when I run it in foreground.
This program is called from another program, using the statement:
SUBMIT zbal_zstock2
USING SELECTION-SET varianta
WITH SELECTION-TABLE rspar
EXPORTING LIST TO MEMORY AND RETURN.
In this last case, the program ZBAL_ZSTOC2 short dumps during of execution of FM - 'REUSE_ALV_GRID_DISPLAY', method SET_VISIBLE, with following explanation:
Error analysis
A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the
exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
The line where the error is raised into method SET_VISIBLE is:
16 * check handle
17 IF ME->H_CONTROL IS INITIAL.
>>>> RAISE CNTL_ERROR.
19 ENDIF.
Do you have any idea how to avoid this short dump?
I appreciate any suggestion.
Thank you in advance,
M
You cannot use ALV GRID in background. You need to go for ALV LIST Function Module.
PLease search with ALV GRID BACKGROUND in the search field of SCN. You will get lot many posts related to this and solutions are given.
regards,
Padma
Similar Messages
-
"CNTL_ERROR" raised , when using a Function Module
Hi All,
I am trying to reuse an existing Function module. This function module, fetches data in an internal table and creates a popup using ALV, using the Call Screen statement. I cannot modify this function module.
Is there any method, how I can use this Function Module in Web Dynpro Application(which would be executed from portal) , because if I use it directly, I get an error .. Exception condition " CNTL_ERROR" raised as the Custom Container object doesn't get created. As far as I understand, we cannot use such a function module directly, but please let me know if there Is any work around apart from creating a new function module.
Best Regards,
Preethi Santhanam.Refer these threads (Ans by Thomas) :
CNTL_ERROR while calling an FM through WebDynpro -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
Is it possible to add tooltip when using REUSE_ALV_GRID_DISPLAY
All,
Is it possible to add tool-tip when using REUSE_ALV_GRID_DISPLAY. I am using
i_fieldcat_alv TYPE slis_t_fieldcat_alv.
slis_t_fieldcat_alv does not have a tool tip option.
Your earlier response is much appreciated.
Regards
KasiLooks like it is NOT possible to add our own text for tooltip when using REUSE_ALV_GRID_DISPLAY.
See attached thread
Re: quickinfo in ALV -
Marshal Exception raised when using an union type
Hi,
I am using jdk1.4.0 and I am experiencing a problem when using union types. I was wondering if anyone would have experienced the same problem ? Or would have any idea of a possible workaround ?
Here is the code :
=========
module X208 {
typedef string AE_form1Type;
typedef long AE_form2Type;
enum AETypeChoice { form1Choice, form2Choice };
union AEType
switch(AETypeChoice) {
case form1Choice:
AE_form1Type form1;
case form2Choice:
AE_form2Type form2;
module HelloApp {
interface Hello
string sayHello(in any param);
=========
My code, in the client, looks like this :
AEType ae = new AEType();
ae.form2(14);
Any many = orb.create_any();
AETypeHelper.insert(many, ae);
string Hello = helloImpl.sayHello(many);
I have noticed that, each time I send an AEType form1 (a String) in the Any, it works fine. But when I try send an AEType form2, it fails with a Marshal exception (see below).
I tried to switch form1 and form2 (actually their types : string and integer) to see if the problem was linked to the integer, but it failed the same on form2.
When checking the bug database, there is one bug which might be close to this, but it's supposed to be fixed now (#4518206).
Did someone experience the same problem ? Am I doing something wrong here ?
Thanks for your help !
ERROR : org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:25)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:73)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_2.alignAndCheck(CDRInputStream_1_2.java:28)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_octet_array(CDRInputStream_1_0.java:567)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.getConvertedChars(CDRInputStream_1_0.java:2285)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.internalReadString(CDRInputStream_1_0.java:469)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:460)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:520)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2430)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2679)
at com.sun.corba.se.internal.corba.TypeCodeImpl.copy(TypeCodeImpl.java:2632)
at com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581)
at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:534)
at com.sun.corba.se.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:235)
at HelloApp._HelloStub.sayHello(_HelloStub.java:19)
at HelloClient.main(HelloClient.java:37)I have similar problem. Except that mine throws a null exception write after com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:581).
do you have a workaround? -
Hi All,
We have the Java web dynpro applications running smoothly in development system.
But in Quality system we are getting the following issue.
Exception condition "CNTL_ERROR" raised., error key: RFC_ERROR_SYSTEM_FAILURE"
All users are created with same authorization as in development system.
Still getting the problem.
Any idea how to solve this problem.
Thanks in advance.
Regards,
Sumangala.Hi ,
CNTL_ERROR" raised is something related to backend system . ask backend consultants to check any dumps related to this error.
Regards,
Koti Reddy -
Help: Jbo Exception non blocking when using table cell renderer?
Hi,
JClient 9.5.2.
When using Table Cell Renderer on an table cell attribute that is defined mandatory and activating the insert button, the (oracle.jbo.AttrValException) JBO-27014 exception is caught but it is not blocking and a new row is still inserted.
The JClient component demo, table attribute list, has the same behaviour.
You can add multiple rows even if not all required attributes have been documented.
Can a Swing specialist help me on this one?
Example of Table Cell Renderer:
public class TableBasicStatusRenderer extends DefaultTableCellRenderer
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
int row, int column)
JLabel lb = new JLabel((String) StaticData.getStatusName(value)); // retrieves label from Map
return lb;
Regards
FredericHi,
I found something interesting, it could be a WORKAROUND!
I noticed that in another detail panel with table layout the JBO exception was blocking and adding another row before completing the row was NOT possible.
In the create method of the entity object of the displayed View Object I iterate over the detail row iterator to retrieve a maximum value.
By the end of the method the pointer is positionned after the last row.
So I added to the detail panel that doesn't block following code:
In create method of detail Entity Object Impl (only one entity object involved for this View)
// Retrieve master EntityObjectImpl from association:
PostalTariffImpl postalTariffImpl = getPostalTariffAssoc();
// Retrieve detail default row iterator
RowIterator ri = postalTariffImpl.getPostalDetailGroupAssoc();
// Position pointer after last row
ri.last();
ri.next();
Question: Why does this solve the problem?
Regards
Frederic
PS Les mysteres de l'informatique! -
Exception in createStatement when using UserTransactions
I am trying to use UserTransactions in Weblogic. After obtaining and starting a transaction, I get the connection object. I am getting an error when I try to use connection.createStatement. The code and exception are below:
The database is Oracle 9i.
Code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, getWebLogicProviderUrl());
initialContext = new InitialContext(env);
UserTransaction tx=(UserTransaction)initialContext.lookup("javax.transaction.UserTrasanction);
tx.begin();
DataSource ds = (DataSource)getInitialContext().lookup(dataSource);
Connection connection=ds.getConnection();
Statement stmt=connection.createStatement();
At the above line I get the following exception:
java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[java.rmi.MarshalException: error marshalling return; nested exception is:
java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection]
at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:168)
at com.fedex.edm.updateapi.server.EdmUpdateSBO.deleteShipmentDoc(EdmUpdateSBO.java:962)
If there is another way to implement to transaction mechanism please provide sample code.
Thanks.
Edited by nganesh21 at 04/01/2007 9:01 AM
Edited by nganesh21 at 04/01/2007 9:04 AMSeems like a problem with the library.
How about getting the source code for it and checking out that line 559 to see what causes the null and whether you can do anything about it. If not, then file a bug report about the lib. -
Exception starting server when using wlserver Ant task
Hello All:
When attempting to start my server using the wlserver Ant task, i receive the following error:
[wlserver] java.lang.NoClassDefFoundError: weblogic/Server
[wlserver] Exception in thread "main"
[wlserver] Error in server execution
my snippet is as follows:
<target name="start-server">
<wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
port="7001" username="weblogic" domainname="mydomain" password="weblogic"
servername="myserver" action="start"/>
</target>
It seems as if it should work fine. Anybody have any solutions? Thanks in advance.
RickyRicky,
You have to add the weblogic JARs to the classpath of the wlserver task.
add something similar to the following (bold text are additions):
<path id="classpath.weblogic">
<fileset dir="c:/bea/weblogic81/server/lib">
<include name="weblogic_sp.jar" />
<include name="weblogic.jar" />
<include name="webserviceclient.jar" />
</fileset>
</path>
<target name="start-server">
<wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
port="7001" username="weblogic" domainname="mydomain" password="weblogic"
servername="myserver" action="start" classpathref="classpath.weblogic"/>
</target>
--Peter -
Portal exception error recieved when using StringBuffer
Hello
I have created a portal service. I need to use StringBuffer or StringBuilder class as i do some text concatenation. Since the String is very resource intensive, this is the only best solution. But when i try to append a text to stringbuffer variable, iget a portal exception.
What could be the issue? Has anyone run into same issue? If some one could suggest an alternative, that would be fine too.
Regards
KalpeshCode is always helpful....and what exception are you getting? You're not giving us much information to go on....
Try this:
StringBuffer sb = new StringBuffer();
sb.append( "This is a test" );
System.err.println( sb.toString() );
This will write "This is a test" to the default trace log file.
Make sure that the string you're trying to append is not null. Also, if you know that you're going to be creating a string 1000 characters long, allocate the string buffer with a size close to what you think you might need:
StringBuffer sb = new StringBuffer( 1000 );
And, of course, there's always the docs:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StringBuffer.html -
Exception is thrown when using JEditorPane to display html
Hello,
I have this basic browser to display some pages from our intranet. Here's the code for it:
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JEditorPane;
import javax.swing.JScrollPane;
import java.net.MalformedURLException;
import java.net.URL;
import java.io.IOException;
public class BrowserPanel extends JPanel {
private JEditorPane pane = null;
// Constructors
public BrowserPanel() {
pane = new JEditorPane();
pane.setEditable(false);
JScrollPane sp = new JScrollPane(pane);
sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
setLayout(new BorderLayout());
add(sp, BorderLayout.CENTER);
// Methods
public void setContent(String str) {
StringBuffer sb = new StringBuffer(500);
sb.append("http://local.com/cgi-bin/search.pl?arg=");
sb.append(str);
try {
URL url = new URL(sb.toString());
pane.setPage(url);
} catch (MalformedURLException e) {
System.err.println("Malformed URL: " + e);
} catch (IOException e) {
System.err.println("IOException: " + e);
On some of the pages I get text all scrambled and the following exception comes up:
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.html.TableView$RowView.layoutMajorAxis(TableView.java:1393)
at javax.swing.text.BoxView.layout(BoxView.java:580)
at javax.swing.text.BoxView.setSize(BoxView.java:265)
at javax.swing.text.BoxView.paint(BoxView.java:283)
at javax.swing.text.html.TableView$RowView.paint(TableView.java:1315)
at javax.swing.text.html.TableView.paint(TableView.java:740)
at javax.swing.text.BoxView.paintChild(BoxView.java:104)
at javax.swing.text.BoxView.paint(BoxView.java:294)
at javax.swing.text.html.BlockView.paint(BlockView.java:240)
at javax.swing.text.BoxView.paintChild(BoxView.java:104)
at javax.swing.text.BoxView.paint(BoxView.java:294)
at javax.swing.text.html.BlockView.paint(BlockView.java:240)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1170)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:523)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:657)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:636)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Many thanks for any clues on how to make it work.
cheers,
--JavanTyou should specify that this is an HTML veiwer explicitly, by writting something similar to this,
editor.setContentType("text/html");
kit = (HTMLEditorKit) editor.getEditorKit();
editor.setEditorKit(kit);
doc = (HTMLDocument) kit.createDefaultDocument();
editor.setDocument(doc); -
Error raised when using a CallBack function on a Richtextbox
Hi,
I am using a RichTextBox with a Callback VI attached to the Keypress event. Everytime I cause the kepress event to go off I get the attached error.
I have created a small project to demonstrate the issue, also attached.
I'm running Labview 2009 but have seen the issue on other version as well.
Any ideas on what is causing the error would be most useful. Have not implemented the CallBack VI correctly or is there some other issue I need to be aware of?
Thanks
Attachments:
Error message.png 24 KB
RichTextBoxCallback.zip 23 KBHello Ruffdi,
In order to get your 8.5 code to work as intended, you should wire the RichTextBox reference to your User Parameter input on the Event Callback (see pic below), and you should see the "KeyPress Detected" appear on your front panel.
Also, make sure you add a little delay in your while loop, and a Close Reference function at the end of your code right after the while loop, to close the reference you open with the RichTextBox.
I hope this helps for now, as I cannot find a workaround to the issue we are seeing in LabVIEW 2009.
Let me work on this slightly more and see what we can do.
smercurio_fc, thank you kindly for all your help so far, it is much appreciated.
Kind Regards,
Michael S.
Applications Engineer
NI UK & Ireland -
Bugreport: Long Plugin-Name raises exception when used in item
Hi,
i created an item-type plugin with a rather long name which saves and "compiles" successfully.
Name: Resizeable Textarea (remember Size)
Internal Name: PLUGIN_INFO.ORACLEAPEX.RESIZABLETEXTAREAREMEMBERSIZE
But when i try to use this plugin for an item, following exception is raised:
ORA-20505: Error in DML: p_rowid=6139204663671389, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-12899: value too large for column "APEX_040000"."WWV_FLOW_STEP_ITEMS"."DISPLAY_AS" (actual: 52, maximum: 50)The Problem is caused by the internal name. This should be checked when creating/saving the plugin, or the restriction on DISPLAY_AS needs to be adapted.
thanks for fixing :-)
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.atFixed in 4.1
Thanks
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Exception condition "CNTL_ERROR" raised. in WDA : smartform to pdf
Hii,
I am using a webdynpro - abap application. I am showing a smartform as a pdf in one on the windows.
When the link in the main window is clicked, a secondary window. Instead of the pdf, I get following exception.Kindly help me understand, where would I be going wrong. Let me know if more details required.
*Exception condition "CNTL_ERROR" raised. *
Form: PBO_HTML_CONTROL of program SAPLSTXBC
Module: HTML_CONTROL of program SAPLSTXBC
Function: SSFCOMP_PDF_PREVIEW of program SAPLSTXBC
Method: DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_COMPONENTCONTROLLER~DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: ONACTIONPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
The code in the DISPLAYPDF method is as follows:
method DISPLAYPDF .
DATA: I_RS38L_FNAM TYPE RS38L_FNAM.
DATA: CTRL TYPE SSFCTRLOP.
DATA: OUT TYPE SSFCOMPOP.
DATA: I_SSFCRESCL TYPE SSFCRESCL.
DATA: LT_OTFDATA TYPE TABLE OF ITCOO.
CTRL-GETOTF = 'X'.
CTRL-NO_DIALOG = 'X'.
CTRL-PREVIEW = 'X'.
OUT-TDNEWID = 'X'.
OUT-TDDELETE = ' '.
data: i_tsp03 type tsp03.
clear i_tsp03.
select single * from tsp03 into i_tsp03.
*OUT-TDDEST = i_tsp03-PADEST.
OUT-TDDEST = 'TEP1'.
********get context data
DATA lo_nd_zwebquestionaire TYPE REF TO if_wd_context_node.
DATA lo_el_zwebquestionaire TYPE REF TO if_wd_context_element.
DATA ls_zwebquestionaire TYPE wd_this->element_zwebquestionaire.
* navigate from <CONTEXT> to <ZWEBQUESTIONAIRE> via lead selection
lo_nd_zwebquestionaire = wd_context->get_child_node( name = wd_this->wdctx_zwebquestionaire ).
* get element via lead selection
lo_el_zwebquestionaire = lo_nd_zwebquestionaire->get_element( ).
* get all declared attributes
lo_el_zwebquestionaire->get_static_attributes(
IMPORTING
static_attributes = ls_zwebquestionaire ).
********get context data ends
data: itab1 type TCHAR255.
data: itab2 type TCHAR255.
data: itab type zprint. "addition by chandani
data fm_name type rs38l_fnam..
clear fm_name.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCPESMARTFORM'
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = CTRL
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = OUT
USER_SETTINGS = ' '
NAME = 'test'
ZWEBQUESTIONAIRE = ls_ZWEBQUESTIONAIRE
IMPORTING
* DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = I_SSFCRESCL
* JOB_OUTPUT_OPTIONS =
TABLES "addition by chandani
itab = itab "addition by chandani
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH LT_OTFDATA.
LT_OTFDATA[] = I_SSFCRESCL-OTFDATA[].
CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
EXPORTING
I_OTF = LT_OTFDATA
* EXCEPTIONS
* CONVERT_OTF_TO_PDF_ERROR = 1
* CNTL_ERROR = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: PDF_DATA TYPE XSTRING,
PDF_SIZE TYPE I.
DATA: L_DUMMY TYPE STANDARD TABLE OF TLINE.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = PDF_SIZE
BIN_FILE = PDF_DATA
TABLES
OTF = LT_OTFDATA
LINES = L_DUMMY
* EXCEPTIONS
* ERR_MAX_LINEWIDTH = 1
* ERR_FORMAT = 2
* ERR_CONV_NOT_POSSIBLE = 3
* ERR_BAD_OTF = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA lo_nd_pdf TYPE REF TO if_wd_context_node.
DATA lo_el_pdf TYPE REF TO if_wd_context_element.
DATA ls_pdf TYPE wd_this->element_pdf.
DATA lv_sources LIKE ls_pdf-sources.
* navigate from <CONTEXT> to <PDF> via lead selection
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
* get element via lead selection
lo_el_pdf = lo_nd_pdf->get_element( ).
* get single attribute
lo_el_pdf->Set_attribute(
EXPORTING
name = `SOURCES`
value = PDF_DATA ).
endmethod.Hi,
1) This error generally comes ,when your GUI version is old.Check this point & try to upgrade.
2) Otherwise if you are running report in background,then check madhu kumar's reply in this link & try like this.
Dump Error Raise_Exception CNTL_ERROR
Also search OSS notes.
Thanks
Gourav. -
Short Dump - Exception condition "CNTL_ERROR" raised.
hi all
I found a runtime error
but i can't find the correct answer either in SDN or Sap Notes
plz tell me what can i do to solve this problem
sap version : 4.6c
h3.
Error analysis
A RAISE statement in the program "SAPLOLEA " raised the exception
condition "CNTL_ERROR".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
h3.
Source code extract
000010 FUNCTION AC_SYSTEM_FLUSH .
000020 *"
000030 ""Lokale Schnittstelle:
000040 *" IMPORTING
000050 *" VALUE(CALLED_BY_SYSTEM) TYPE C OPTIONAL
000060 *" EXCEPTIONS
000070 *" CNTL_SYSTEM_ERROR
000080 *" CNTL_ERROR
000090 *"
000100 data: sysubrc like sy-subrc.
000110
000120 CALL FUNCTION 'AC_FLUSH_CALL'
000130 EXPORTING
000140 SYSTEM_FLUSH = 'X'
000150 CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
000160 IMPORTING
000170 MESSAGE_NR = sysubrc
000180 MESSAGE_TEXT = SY-MSGLI.
000190
000200 sy-subrc = sysubrc.
000210
000220 CASE SY-SUBRC.
000230 WHEN 0.
000240 WHEN 1.
000250 RAISE CNTL_SYSTEM_ERROR. "// system_error
000260 WHEN 2.
000270 RAISE CNTL_ERROR. "// method_call_error
000280 WHEN 3.
000290 RAISE CNTL_ERROR. "// property_set_error
000300 WHEN 4.
> RAISE CNTL_ERROR. "// property_get_error -
>>>>> here's the error occured
000320 WHEN OTHERS.
000330 RAISE CNTL_ERROR.
000340 ENDCASE.
000350
000360 ENDFUNCTION.
Edited by: kwang young kim on May 6, 2010 8:38 AMHi,
This error is pretty common when using ABAP GUI controls. Actually it says: "Something was wrong with some control data so the SAPGUI cannot handle it".
Sometimes this happens accidently (might be a problem on the PC or something else), so you should try the same action (perhaps after restarting the SAP GUI or even the PC) and see whether the problem persists.
if so (and also other users encounter the same problem) this is probably a program bug. Check your control handling program code for errors.
If you cannot see any problem by just reviewing the code switch on the SAPGUI trace for errors (can be found in the SAPGUI settings popup). Depending on what data you want to be traced this trace file can be very huge! But eventually you will see the actual error message given by the SAPGUI and this normally gives you an idea what went wrong.
Regards,
Gerd Rother
Maybe you are looking for
-
How can we Restict the Char single value Variables with , , =
Hi Experts, How can we Restict the Char value Variables with <, >, <= (without selecting Inverval or only passing single value) For Example We have a standard Query 0FIAR_C03_Q1005, in this New Selection "1 - 15 Days, Posting Date<=Key Date, Clearin
-
USB is no longer recognised by Macbook Pro
I was trying to follow the instructions from this website: http://www.macworld.com/article/2056561/how-to-make-a-bootable-mavericks-install -drive.html to help my friend reboot her laptop. Prior to this my USB has never had a problem, and I was prepa
-
Is there a cable available that will hook up to a monitor? I understand that there won't be sound. I think there are s video cables, but I need the standard computer monitor hookup.
-
"Please Wait For The User Profile Service" message when logging on to TS 2008
I have a Windows 2008 AD Domain with 2 Windows 2008 Terminal Servers. Both are configured identically. I have the TS Roaming profiles stored on a 3rd server and a GPO pointing all users to the roaming profiles. On one of the servers everything wor
-
Failed to create a user with Mac Mini Server, the message "Failed to process the command writesettings" in the module "servermgr_sharing"