Problem encountered when using RKD_WORD_WRAP
Hi all,
I have encountered a problem when using RKD_WORD_WRAP. The problem is that the paragraph is not being formatted nicely when i try to printout in Smartforms.
Eg is that I want to format this paragraph;
"Text Conversion: Convert Text Formats
The function module CONVERT_TEXT provides the
following format conversion options:"
However, when I output it out, the text was being displayed like this;
"Text Conversion: Convert Text Formats
The function module CONVERT_TEXT provides
the
following format conversion options:"
The problem is that even though after the "the" word, although that line still has some spaces, thecorresponsing words just wont get concatenate to the 2nd line (as seen above).
Is there any way to fix this?? Or is there a standard value to be use for the outputlens parameter so that the above situation will not occurs??
Check the below program and output :
report ztest_ytt.
data input type string.
data SWASTRTAB like SWASTRTAB occurs 0 with header line.
start-of-selection.
input = 'The function module SWA_STRING_SPLIT that you have said is not
working successfully. It is still giving me the same problem where it is
appending a new line where there is still enough space for the word on
the current line'.
CALL FUNCTION 'SWA_STRING_SPLIT'
EXPORTING
INPUT_STRING = input
MAX_COMPONENT_LENGTH = 100
TERMINATING_SEPARATORS =
OPENING_SEPARATORS =
TABLES
STRING_COMPONENTS = SWASTRTAB
EXCEPTIONS
MAX_COMPONENT_LENGTH_INVALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at SWASTRTAB.
write:/ SWASTRTAB-STR.
endloop.
This is output :
The function module SWA_STRING_SPLIT that you have said is not working successfully. It is still
giving me the same problem where it is appending a new line where there is still enough space for
the word on the current line
Suppose you want to print 100 charcters in each line .. upto 95 charcters you have words perfectly the next will start at 97th ,so here word is <b>' Function'</b>
so this word will not fit into that line since you have 4 charcters,Function word is containg 8 charcters,this word will come in next line.
Check the program and give what ever input and see the results.
Thanks
Seshu
Similar Messages
-
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) -
i am trying to cut and paste from a program, IEP DIRECT, and normally on my PC I have no problems; however, when using my MAC the formatting gets all mixed up
If you refer to this
https://www.iepdirect.com/iepdotnet/hub/index.html
then they have an issue with mac version.
At a first glance, their website is optimized for Windows only, it displays badly in Safari, perhaps it would be better in Firefox or other browser. -
Problems occured when using BAPI_INSPECTIONPLAN_CREATE
hi,guys!
please help!
problems occurred when using BAPI_INSPECTIONPLAN_CREATE to create inspection plans.
problems as belows:
This inspection point completion is not possible for task list type Q;
Consistency check not successful when creating operation;
Inspection characteristic cannot be uniquely assigned to one operation.Hi Alex,
There must be some data issue.
Just try to create the Inspection plan without BAPI i.e. using the transaction for the data you have and see whats happening.
Regards,
Atish -
Problem encountered when join two remote tables in a materialized view
I'm using oracle 9.2.0.6
1> I have two tables:
CREATE TABLE TEST
A VARCHAR2(100 BYTE),
C DATE
CREATE TABLE TEST1
A VARCHAR2(100 BYTE),
B TIMESTAMP
2>. I defined a prebuild table:
CREATE TABLE MV_TEST1
ID1 ROWID,
A VARCHAR2(100 BYTE),
ID2 ROWID,
B TIMESTAMP(6),
C DATE
3> I created mview logs:
CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST
WITH ROWID
INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST1
WITH ROWID
INCLUDING NEW VALUES;
4> when I create mview:
CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
ON PREBUILT TABLE WITH REDUCED PRECISION
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
AS
select
test.rowid id1,
test.a,
test1.rowid id2,
test1.b,
cast(null as date) c
from test , test1
where test.a = test1.a(+);
It is created successfully.
5> problem:
when I use remote tables to do the same thing, say test and test1 are in another instance and are connected by a dbLink, I couldn't create the mview successfully:
CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
ON PREBUILT TABLE WITH REDUCED PRECISION
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
AS
select
a.rowid id1,
a.a,
b.rowid id2,
b.b,
cast(null as date) c
from test@dbl a, test1@dbl b
where a.a = b.a(+);
when run above statement, I got:
ORA-12015: cannot create a fast refresh materialized view from a complex query
Any ideas? Or joining two table through a dblink for a mview is not allowed at all?
Thanks in advance.No one has a clue?
Message was edited by:
lzhwxy -
ORA-01406 error encountered when using database link
I am moving data between two different databases using a database link on Oracle 8.1.5. The database statement looks like:
insert into TABLE@DATABASELINK
(COLUMNS)
select (COLUMNS) from TABLE
One of the database columns is defined as varchar2(4000) on both the source and target database tables. When the data in this column on the source database is greater than 2000 characters, the database query generates the message:
ORA-01406: fetched column value was truncated
I have verified that the target column is defined as varchar2(4000), and have also verified that it is this varchar2(4000) column that is causing the problem. I have also tested out that this error only occurs when the varchar field is more than 2000 characters; if I remove characters so that the source field is less than or equal to 2000 characters, this error is no longer generated and the data is inserted to the target database table.
Is this a limit with database links or some other database parameter that is not set up correctly?
Thanks...Theresa TucciCould you change the following entry in your 'sqlnet.ora' file and try?
SQLNET.AUTHENTICATION_SERVICES = (NONE) -
Sound problems encountered when copying and pasting
Hi all,
I've been running into a rapidly growing problem in Premiere Pro CS3. I'm hoping someone can help.
I've copied two clips -- both audio and video -- from two different Premiere Pro projects, but when I try to paste both clips into a third project, my audio files become badly screwy. The sound completely drops out from one clip, and in the other, the sound speeds up, like an old record played at a high speed. I have no idea what to do.
My computer is a Dell Inspiron. I've used the same load presets for all three projects: DV-NTSC Widescreen 48kHz. I'm at a complete loss as to what's wrong. Could someone give me a little insight? Thanks everyone.
MichaelThe undernoted link to the Wiki may give you a start
http://premierepro.wikia.com/wiki/FAQ:Why_is_there_no_wave_form_on_the_timeline%3F
The keyboard short cut is Press M when the CTI is located in the audio clip and the audio clip is also in the source monitor
John -
Java.lang.NoSuchMethodException encountered when using jar file
Hi Friends
I am getting this peculiar exception for some time now and not able to figure out why i get it.
I searched the net but seem to not find any proper solution.
Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
I have a Java project in my workspace which was previously using Java code to perform DAO look up.
Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. I have done this now and my code compiles properly. Even Eclipse is able to recognize this code.
When i try to run the code i am getting this java.lang.NoSuchMethodException: DAOClass.getValue(java.lang.string)L
The getValue() is present in the DAOClass in the jar file but still i am getting this exception.
I am not able to figure out what the issue is here.
Can you please provide your suggestions about this issue. is there something i am missing out.
Thanks
vikeng21802944 wrote:
Hi Friends
I am getting this peculiar exception for some time now and not able to figure out why i get it.
I searched the net but seem to not find any proper solution.
Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
I have a Java project in my workspace which was previously using Java code to perform DAO look up.
Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. Is the DAO code a jar, which you are attempting to put into another jar? Then there are very specific steps that you must take, outside of the code, to accomplish that.
If the DAO code is not a jar then the following possibilities exist
- You are not putting the code in the executable jar.
- You are putting it in the executable jar incorrectly due to a path problem. -
Problem faced when using calculated field as filter
Iam using an Oracle External Data Source.The external table contains a timestamp field and I add this to my data object.The year,month etc. functions work well on this field and results appear on list views.But when I try to generate a filter for this field and display the view I get errors.
SQLSYNTAXERROREXCEPTION_REPORTSERVER_STREAMINGLIST_INITIALIZE
Exception Message ORA-00904: "MONTH": invalid identifier
So,I tried out with the call center data object found in bam samples.This had a datetime field.Filters on calculated fields work fine here.
Is the former problem due to timestamp datatype or external datasource or anything else?
Thanks,
RaghuramAnswer to following questions will help me narrow down the problem:
1. Which version of BAM are you on - 10g or 11g?
2. What condition are you using in filter i.e. "is equal to", "is less than equal to", "is like"...etc?
3. In which format is the timestamp data being given in the filter? (by format, I mean mm-dd-yy HH:MM:SS etc)
4. Can you give the exact datatype of the DB in which this timestamp data is stored? -
Problems faced when using JSTL
Hi all,
I am a beginner in using JSTL 1.1 tag library in my web application and I got problems when I was dealing with it. The problem is, how can I pass the form bean parameter value (e.g. ArrayList) into the core tag? What should I do before defining the <c:forEach/> and the attributes I should defined inside the tag? I am confused with them. Could anyone have suggestions? Please do shout. Many thanks!
VanJSTL works with JSF only in particular circumstances. Those are some guides about this topic:
http://jsffaq.com/Wiki.jsp?page=DoJSTLAndJSFCanBeUsedTogether
http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsCForEachWithFacesContext
http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsConditionalTagsWithFacesContext
Sergey : http://jsfTutorials.net -
Is the wireless provider the issue? I can receive emails everywhere I go but in some locations can only send to a limited number of email addresses.
Greetings
I suspect that the issue is the SMTP server settings. On your home network you are using your providers SMTP server and all is fine (If you check your email account configs you will find that the SMTP server is set to your providers?).
When you use a different network (provider) mail will not be sent unless you use that networks (providers) SMTP server (this is a security issue to address ways of "spamming").
So if youre 3G/4G provider is the same as you home provider all will work well via your home WiFi. If you turn off WiFi and just use your 3G/4G connection to send mail (iPhone/iPad etc) all will work well (when you are out and about and using anothers WiFi network).
If you are connected to, say a MacDonalds WiFi, mail will probably not be sent. (It will be received though).
Using WEB mail interface (via your WEB browser) removes this problem as well.
(A SMTP server is what is used to send email. So to successfully use anothers (not a networks the same as your providers) WiFi network and send email via it, you must know the SMTP servers name and reconfigure your email account/s to use that server to send mail.) -
SQL problem encountered when setting up SCCM
Hi all,
I am currently trying to setup a configuration manager primary site (as a stand-alone site) in a test environment. My SQL server has already been setup, with other components of system center 2012 (SCOM, SCSM, Orchestrator) relying on the same
SQL 2008 standard edition R2 SP2 server.
I have been unable to install SCCM itself though. lets say I am now logged into my SCCM server using a domain admin account called scadmin. I have used scadmin to install other components of system center. Under my SQL server, in management studio, scadmin
has rights of "public", "securityadmin", "serveradmin", "setupadmin", "sysadmin".
When trying to specify my SQL server, instance name, I encountered the following error.
Setup is unable to connect to SQL Server with the connection information provided. Verify the following:
1. The SQL server and instance names are entered correctly
2. The specified SQL server instance is not configured to use dynamic ports
3. If a firewall is enabled on the SQL server, inbound rules exist to allow connections to the correct ports
4. The account used to run setup has permissions to connect to the specified SQL Server instance
I have verified against the 4 mentioned points above:
1. Yes
2. My understanding is SQL server by default uses static ports, so mine should be static
3. No firewall involved, all servers are on the same physical machine, connected to a switch, Windows firewall off
4. Permissions as mentioned above.
I also went to check out the log file in the SCCM server, C:\ConfigMgrSetupWizard.txt
this is what i saw everytime i tried to click next in the setup
"Creating SQL connection to database scsqlserver\master on server SC-SQL-01.testdomain.com"
My SQL server hostname: SC-SQL-01
SQL instance: scsqlserver
i also noticed in the same log file that when I start the installation, there is an error saying
"Cannot not connect to SMS provider on local machine. Either it is not installed or access is denied.
Cannot detect SMS Type because either SiteServer, SqlServer or SiteServerName is empty."
is there anyone who might be able to point out what went wrong?As you mentioned to check the “SQL Server Network Configuration->Protocols for Named_Instance (the
sql instance name you gave)" but I see the TCP\IP for the SQL Instance's (i.e. SQLEXPRESS as I selected Default) is Enabled. I have installed all Windows Server 2008 R2 Roles on the same system along with the SQL Server 2012 R2. Then I have also set the
Inbound and Outbound Firewall rules using gpedit.msc. Do you also have any idea why the SQL Server Agent service is not running. Other services i.e Windows Internal Database, SQL Server and SQL Server Browser are running fine. Please suggest. Moreover, its
also an Administrator account and thats the only account I use for logging in and installing everything on this system. Its not allowing me to attach the screenshots at this moment as it says it will first verify my account and then allow me but I dont think
it will be difficult for you to imagine this issue as you have seen this similar issue elsewhere. -
ive been using firefox for ages now and its only been the last 2 days ive had this problem with the pages being pushed to the right hand side when it does this their isnt a scroll bare to take it back to the left again
Hello,
What is the site URL?
Cheers
Parikshit -
Problems installing when using custom library
I can't install generated application on iPad (IOS report installation error), when I use custom library. Before DPS App Builder v25 all was OK, problems started after 1 feb, when I installed new AppBuilder. I can't install any application (generated from AppBuilder v25) with custom library, incl. reference applications from devnet articles.
Hi, Neil!
Thank you for your attantion to my problem. Explain me successful installation on IOS when I use standard library with identical certificates.
IOS reports "installation failed" only when I switch to custom library.
P.S.: our friend with another DPS Pro account have the same error. He tries to create 2 "Pro" applications, first installation success, second fail. All certificates and mobileprovisions created yesterday...
Message was edited by: Yuriy Petrov -
Problems faced when using xsl:include and extension functions
I am Working in XML and XSLT using Oracle's XML Parser V2.
Previously i had worked in Microsoft technology using MSXMLParser.
I am facing some problems in XSLT. They are as below...
1. Using <xsl-include href="Somexsl.xsl">
the oraclexmlparser processor is giving the error : XSL-1002: Error while processing include XSL file (no protocol: Submenu.xsl).
* Can u tell me why i am getting this error, and what is the fix for this.
The same case with <xsl:import> too.
2. In case i have to write some functions in the previous WD of xsl i used these statements
<?xml version='1.0'?>
<!DOCTYPE PageRoot SYSTEM "../../Common/dtd/PageNavBar.dtd">
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns:html="http://www.w3.org/TR/REC-html40"
result-ns="">
<xsl:script xmlns:xsl="uri:xsl"><![CDATA[
var strWebContentPath = "/SurSITE/Content/";
var strWebImagePath = "/SurSITE/sursitegraphics/";
function IncScript()
return "<script language='javascript' src='/SurSITE/Includes/avalidations.js'></script>";
]]>
</xsl:script>
To call the function i used this
<xsl:eval no-entities='true'> IncScript();</xsl:eval>
* Can u tell me how do i do this now, i tried with the code above using the current name space (<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />)
Please use the example given above.
I will be very greatfull to u if u can give me some suggestion or help for the above said problems.
Thanking you and eagerly waiting for your reply(s).
nullThe current version is "1.0" not "1.1"
You haven't included the code for what your <xsl:include>
statement looks like, which seems to be what it's complaining
about...
XSLT 1.0 has no <xsl:eval>, this is a microsoft specific tag
from a pre-XSLT-1.0 version.
XSLT 1.0 has no <xsl:script> element either.
Maybe you are looking for
-
Yes, I too cannot use the "Blackberry Desktop Software ( 4.7 or any other version )". I get all the same errors that I keep finding many others are getting. Microsoft's fault.. Blackberry's.. I really don't care, I would just appreciate some softwa
-
Basic replication in 10g Standard Edit.
Can some one guide me on the configuration of basic replication on version 10g Standard Edition? What I am looking for is a manual/documentation and examples or something like that. I just need to replicate a couple of tables from a database in a rem
-
Display a list of graphs+reports on the 1st HTML page
What is the way to go about making a page with a list of reports + graphs as hyerlinks? Is it similar to the making a template HTML for forms? How would I call up the 1st page, and what directory does it goes in? Do I need to set any variables up? eg
-
Properties panel not "sticking" CS4
Somehow my property panel is "loose" and not sticking to the bottom. Here's a screenshot if that helps. How do I get it back in place so it's not floating and it stretches across the bottom of the working area automatically? Thanks so much in advance
-
CC 5.2 , UME and CUA
How can I configure the CC5.2, UME connect to CUA? The SAP system is on a different box from the CUA. I want to get the most current userIDs from the CUA. Please advise!