Conversion problem from 8.5 to 10.0
Hello,
I have a report that was created in 8.5. We're upgrading our manufacturing software (SQL database) and the report needs to be converted to Crystal 10.0 to be compatible. I also have to change the datasource location. The 8.5 report has 16 parameter fields.
When I open the report in 10.0 and change datasource location, the mapping seems to work ok. But when I go to refresh the data, only two of the parameter fields show up. If I look at the SHOW SQL QUERY in both versions, they look quite different.
Any ideas on this will be greatly appreciated.
Thanks !
- BOB -
Hi Bob -
That sounds whacko. I've never worked with 10 - only 8.5, 9, and XI. I remember hearing lots that 10 had issues - maybe this was one? Right now I'm stuck with 9 because of compatibility issues in our company. You've probably already tried this, but can you recreate the params in 10? Better yet, drop them in the 8.5 version, THEN do the conversion, then recreate the params? Be sure you don't get stuck with the report needing to run without the params because you'll be liabel to sit there all day (or dump out) while the report runs without them.
I might be way off the track. I think I'll go back and review your original question. Too bad I can't from here!
Have a great day -
Alex
Similar Messages
-
Enterprise application conversion problem from WLS 10.3.0 to WLS 10.3.2
Hi all,
I'm posting this just to document a problem I had when converting an Enterprise Application from WLS 10.3.0 across to WLS 10.3.2 environment.
Upon deployment of the application I was getting this error:
Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.ApplicationParamBeanImpl@b720894d(/ApplicationParams[webapp.encoding.default])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:227)
at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setApplicationParams(WeblogicApplicationBeanImpl.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:536)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:329)
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
It turns out this was an issue with the META-INF/weblogic-application.xml having duplicate entries for the "webapp.encoding.default" parameter.
This obviously got duplicated when my app was re-imported into the Eclipse OPEP environment for WLS 10.3.2
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-application xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.0/weblogic-application.xsd">
<!-- server-version: 10.3 -->
<!--weblogic-version:10.3.2-->
<wls:application-param>
<wls:param-name>webapp.encoding.default</wls:param-name>
<wls:param-value>UTF-8</wls:param-value>
</wls:application-param>
<wls:application-param>
<wls:param-name>webapp.encoding.default</wls:param-name>
<wls:param-value>UTF-8</wls:param-value>
</wls:application-param>
</wls:weblogic-application>
Removing the duplicate entry resolved this problem.
I hope this helps anyone else that experiences this issue.
Regards,
PaulBelow link might be helpful.
http://kr.forums.oracle.com/forums/thread.jspa?threadID=1049509&tstart=0
Regards,
Anandraj
http://weblogic-wonders.com/ -
Loading EMF and Conversion Problem from EMF to SVG in Adobe illustrator CC
Hello,
I have downloaded trial version of adobe illustrator CC.
I am importing .emf file into adobe illustrator CC. it loads an emf file properly with its content but my emf file contains some lines(--------) also..imported emf file doesn't show any line.
My main motive is convert this emf file into svg file. but as because my emf file is not imported properly, so as with SVG.
Ask one more important thing, why converted svg file from emf appears to be having different fonts and margins.
Kindly helpThe problem is once I finished with the art, I deleted the template, and there's a big art board there and it's in the way, I don't want it to affect the size and dimensions of the channel art. I just need it to be 2560px by 1440px wide, is there any way I can save it exactly like that?
Not sure what you mean by "it's in the way."
The size of the artboard doesn't necessarily affect the "size of the art." (There are some workflow scenarios where the artboard size is recognized and utilized, but for the most part it is simply a 'passive' boundary.)
If your art is 2560px X 1440px, and you want the artboard to match, double-click the artboard tool and choose "Fit to Artwork Bounds" at the top of the preset menu. -
Conversion problem from AppleWorks document
I have a number of documents in Appleworks format that I have opened in Pages and then saved as a Pages document. I viewed and worked on them several times, but now when I open them, some of the images are thumbnail size and some have changed places with others. I went back to the original AW document to go through the process again and the same thing happens after saving and reopening.
Am I missing something about those images? I can't place them from a media file as they exist only in the original AW file, so what am I to do? I have tried closing the file and reopening it, but the same mistakes are there.
Any ideas?Hi Scott,
Is this happening while exporting the reports or while viewing?
However, if it is while exporting then you can use this with Crystal Reports XI (version greater than 10) by manipulating the
ExcelFormatOptions.ExportPageHeadersAndFooters
Hope it helps!
AG. -
Conversion problem from PM7 Win to InD CS3
My client sent 400 CAD images to a design company in India to have them converted into PM7 sheets to for printed here in the US!!!!
I just received the PM files-I do have a copy of PM 7 on an XP Win PC.
The printer also happens to have PM7 but is having difficulty converting the files to .PDF for printing. My solution, I think, is to open the .PMD (PM7) on my Mac using InD CS3, making page order changes, and converting to .PDF for printing. Seems there is distortion when I open in CS3. I understand there is a FREE Plug-in for Pagemaker 7 that is available. I have never configured a Plug in-only used native ones. Can anyone advise or does anyone have another fix?
Many thanks
Gail BOH YEAH! IDIOTIC from my point of view.
They brought the files into PM& (because this is what they have and
this company does not want to spend $ on upgrading-which if fine if
they were only working in house-a manufacturer) that's why they sent
it India-thought they could save $ NOT! I could have done it right
in the first place.) They needed borders and text and logos etc place
on the final pages. The India firm mis-placed certain pages-this is a
double side print and they neglected to take into consideration that T
of C and others are single sided print- and so on. So do you think I
have to stay in PM7 . I thought the reason the distortion was
happening was because they DID NOT embed the CAD images.
Thanks for any help on this lovely Sunday morning in NJ -
Digital Classroom Lesson Conversion Problem from Premiere Pro CS5 to CS5.5?
I have the book Premiere Pro CS5 and CS5.5 Digital Classroom. The project lessons on the dvd do not convert for use with my Premiere Pro CS5.5 program. Has anyone had this issue and found a resolve?
Thanks
jimI did copy the lessons to drive and tried to open project then this comes up:
This project was saved from a previous version of Adobe Premiere Pro and must be converted. The original project file will not be modified. Continue?
It gives you a file to convert.... but it does not convert. That is there is a project in form but no videos or images.
Importing the project will skip the question above but end result the same. -
When I attempt to convert a pdf file to a word file it does not let me and I am re-directed to the purchase page. I already paid for this service and It will not let me convert. What is going on here ?
I guess I do not matter. You all have my money and that is all you care about. Forget it. I'll call tomorrow and somehow get this figured out myself. Sorry for the harsh attitude but this is so frustrating and there is no reason why I should not be able to do this. Buenos Noches
-
Conversion Problem from character to number
Dear All,
I have a file which i have loaded in the table through SQL loader.
After using substring function, i got the desired information.
Now I want to put the extracted information in another table.
Following is my table defination:
RECORD VARCHAR2(3)
COUNTRY_CODE VARCHAR2(3)
CUSTOMER_ID NUMBER(11)
CONTRACT_ID NUMBER(11)
ORDER_TYPE VARCHAR2(3)
ORDER_ID NUMBER(20)
AUTH_ID NUMBER(20)
AMOUNT NUMBER(12,2)
TAX NUMBER(12,2)
TOTAL_AMOUNT NUMBER(12,2)
CURRENCY VARCHAR2(3)
PAYMENT_METHOD VARCHAR2(1)
INSERT_UPDATE_DATE DATE
NET_CREDIT_AMOUNT NUMBER(12,2)
NET_CREDIT_TAX NUMBER(12,2)
NET_CREDIT_TOTAL NUMBER(12,2)
GROSS_CREDIT NUMBER(12,2)
But I an getting the error like ORA-00932: inconsistent datatypes: expected - got NUMBER
Any one can help me????????
Regards
GauravI have forgotten to show you the record that I am trying to insert into table
I have date in following format in file 2005/09/30 08:10:55
Amont in this format 0000000000026.07 -
Oracle to Mysql character set conversion problem!!! PLZ IGNORE
Hi Experts,
I have created a database link from Oracle 10g to Mysql 5.
I have installed Oracle Gateway 11g for this purpose.
When i retreive the data from sql plus the text is displayed as question marks.
Oracle 10g Database character set is WE8MSWIN1252
Mysql character set --->latin1
Character set of ODBC connector for mysql is latin7
Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
when i login from sqlplus i get question marks!
I have another post in Heterogeneous Connectivity forum
Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
Kindly update your comments there,
@@@@@@@@@@@@@@2
Appreciate your help,
regards
Edited by: user10243788 on Apr 21, 2010 3:25 AMIt is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
C:\> set NLS_LANG=.WE8PC850
C:\> sqlplus ...On Unix:
$ setenv NLS_LANG .WE8ISO8859P1 (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
$ sqlplus ...-- Sergiusz -
Hello,
In a DB to DB scenario, I am getting this error "Error: Unexpected error converting database resultset to XML, codepage conversion problem?" on the side of the sender adapter. I am not able to see any messages or trace in IE-Monitoring. Is there any log wherein I can find out the problem as to where it is occuring?
Regards,
SanjayHi Sanjay,
The JDBC sender adapter returns the rows selected from the database in the follwoing format.
<resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
</resultset>
This error occurs , when the source datatype you have created for the JDBC adapter does not match with this format. I would suggest that you check the source format along with the occurence of your field.
Regards,
Bhavesh -
I have Photoshop Elements 6 (Camera Raw 4.2) and a Nikon D7000 (Camera Raw 6.3 minimum). I am using DNG converter 8.1 to create DNG files, but these still will not open in Elements. I am selecting compatibility of Camera Raw 4.1 in the conversion program. What else can I do?
Sorry it took me a long time to reply. If I send to dropbox (which I can), can I restrict the images to specific email addresses, or will it be accessible to anyone? Not that I care about the image particularly, as it was only a test.
Once I have an idea of this, I will do a final test & send the data to dropbox.
Date: Wed, 19 Mar 2014 15:12:51 -0700
From: [email protected]
To: [email protected]
Subject: Raw conversion problem
Re: Raw conversion problem
created by ssprengel in Photoshop Elements - View the full discussion
It seems like you're doing everything that you're supposed to be doing, and it is not working. I don't have an explanation why that is, but can you share an original NEF and its DNG via www.dropbox.com or similar and others can test with a newer version of ACR to make sure there isn't something corrupted wtih the files.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6225513#6225513
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6225513#6225513
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6225513#6225513. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Dreamweaver cc html entity conversion problem in mac -NO utf-8 related answer please
I probably am fighting against a bug existing in DW for a while, and i'm really on the edge of bursting out!
Here are the specifications:
Dreamweaver CC from creative cloud (also tested w/ CS5.5 too) installed on mac, OS and DW user interfaces are english, and on mac turkish keyboard layout is also installed.
I have been using DW for maybe 15 years, since it was macromedia.. But was always on windows. This is the first time I use it on mac. Here is my problem step by step:
1- Dreamweaver > Pereferences > New Document > Default Encoding: Western (ISO Latin 1) (NOT UTF-8 PLEASE, IT KEEPS THE CHARS UNCHANGED, ISO LATIN1 IS IMPORTANT)
2- Go to Design View,
3- There are 6 special characters in Turkish (times 2 for the caps versions of course), type:
ĞÜŞİÖÇğüşıöç
4- Go back to code view, what i should have seen was:
ĞÜŞİÖÇğüşıöç
But I see:
ĞÜŞİÖÇğüşıöç
There are 3 chars (and capital versions) NOT converted to html entity at all. Which were: ĞŞİğşı
But I should have seen them as: ĞŞİğşı
Any help would be appreciated, I do not want to leave my old friend DW just because of a weird conversion problem...Ok, when you look at the code view, what do you see exactly?
do you see unconverted
ĞÜŞİÖÇğüşıöç
or converted
ĞÜŞİÖÇğüşıöç
Here is one of my reasons:
I sometimes create newsletters in turkish for my customers, and the html files i prepare are sent to customers attached as inline through various versions of outlook or thunderbird, or through i completely different email sender company (none is sent by me, i only create the html file). And most of the time the headers and some coding are cut off from the code when used to send as newsletter, and i have no control at all on it. so i have to create absolute correct viewed/rendered html files since i have no control at all on which sending method will be used or which os or browser or mail system will be used to open it... -
Hi ABAPers
While sending smartform as a mail attachment(PDF Format) i am facing problem.
While opening the PDF attachment in SOST (T-code), It shows a error pop up.(I.e., Conversion Problem in PDF). Some pages are getting opened as a blank page and some are not getting opened.
What may be the prolem.
Please help Me out ............
But it works properly in IDES version.
In IDES i have ADOBE 5.0 Version, In Live server it is ADOBE 6.0 ,7.0.Hi,
Thanks for your feedback
There is no problem in the coding , is there any thing we have to do in configuration level regarding PDF ?????
*& Report ZVNPAML
REPORT zvnpaml.
TABLES: somlrec90.
DATA: it_zvnpa TYPE TABLE OF zvnpa,
it_zvnpa1 TYPE TABLE OF zvnpa,
wa_zvnpa TYPE zvnpa,
it_head TYPE TABLE OF zvnpa,
it_head1 TYPE TABLE OF zvnpa,
wa_head TYPE zvnpa,
wa_head1 TYPE zvnpa,
fmname TYPE rs38l_fnam,
tot TYPE zvnpa-wrshb,
otfout TYPE ssfcrescl,
outopt type SSFCRESOP,
pdftab TYPE TABLE OF tline WITH HEADER LINE,
datab TYPE TABLE OF itcoo WITH HEADER LINE,
conpar TYPE ssfctrlop,
mailrec TYPE swotobjid,
outopt TYPE ssfcompop,
jobopt TYPE ssfcresop,
jobout TYPE ssfcrescl,
w_return TYPE ssfcrescl,
it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
binsz LIKE sood-objlen,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
wa_buffer TYPE string,"To convert from 132 to 255
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: wa_doc_data TYPE sodocchgi1,
it_pack TYPE TABLE OF sopcklsti1,
wa_pack TYPE sopcklsti1,
it_mailhead TYPE TABLE OF solisti1, " OCCURS 1 WITH HEADER LINE,
wa_mailhead TYPE solisti1,
it_mailbody TYPE TABLE OF solisti1, " OCCURS 0 WITH HEADER LINE,
wa_mailbody TYPE solisti1,
it_receiverid TYPE TABLE OF somlrec90, " OCCURS 10 WITH HEADER LINE.
wa_receiverid TYPE somlrec90,
it_attach LIKE solisti1 OCCURS 0 WITH HEADER LINE,
wa_attach TYPE solisti1,
lncnt TYPE i.
DATA: lv_spool TYPE tsp01-rqident,
wa_line TYPE tsp01-rqident,
it_pdf_output TYPE TABLE OF tline.
SELECTION-SCREEN BEGIN OF BLOCK vendor WITH FRAME TITLE text-w03.
*PARAMETERS: pa_lifnr TYPE lfa1-lifnr,
pa_bukrs TYPE zvnpa-bukrs,
PARAMETERS: pa_augdt TYPE zvnpa-augdt.
SELECT-OPTIONS: pa_mail FOR somlrec90-receiver NO INTERVALS.
SELECTION-SCREEN END OF BLOCK vendor.
SELECT * FROM zvnpa INTO CORRESPONDING FIELDS OF TABLE it_zvnpa1
WHERE augdt = pa_augdt
AND bukrs = '2000'
AND flag <> 'X'.
konto = pa_lifnr AND
bukrs = pa_bukrs AND
IF it_zvnpa1 IS NOT INITIAL.
SORT it_zvnpa1 BY konto.
LOOP AT it_zvnpa1 INTO wa_zvnpa.
APPEND wa_zvnpa TO it_zvnpa.
CLEAR: wa_zvnpa.
AT END OF konto.
SORT it_zvnpa BY ttref augbl wrshb shkzg.
*it_head[] = it_zvnpa[].
LOOP AT it_zvnpa INTO wa_zvnpa WHERE shkzg = 'S'.
APPEND wa_zvnpa TO it_head1.
CLEAR: wa_zvnpa.
ENDLOOP.
*delete adjacent duplicates from it_head comparing ttref.
SORT it_head1 BY ttref augbl wrshb shkzg.
LOOP AT it_head1 INTO wa_head1.
tot = tot + wa_head1-wrshb.
wa_head = wa_head1.
AT END OF ttref.
wa_head-wrshb = tot.
APPEND wa_head TO it_head.
CLEAR: wa_head,tot.
ENDAT.
CLEAR: wa_head1.
ENDLOOP.
SORT it_head BY ttref augbl wrshb shkzg.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZVNPASF'
IMPORTING
fm_name = fmname.
conpar-no_dialog = 'X'.
conpar-getotf = 'X'.
outopt-tddest = 'LOCL'.
outopt-urlcall = fmname.
outopt-tdnoprev = 'X'.
outopt-tdnewid = 'X'.
CALL FUNCTION fmname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = conpar
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = outopt
user_settings = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = w_return
JOB_OUTPUT_OPTIONS =
TABLES
it_zvnpa = it_zvnpa
it_head = it_head.
READ TABLE w_return-spoolids INTO wa_line INDEX 1.
IF sy-subrc = 0.
lv_spool = wa_line.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_spool
no_dialog = ' '
dst_device = 'LOCL'
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.
it_otf[] = w_return-otfdata[].
IF it_otf[] IS NOT INITIAL.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = binsz
TABLES
otf = it_otf
lines = i_tline.
LOOP AT i_tline.
TRANSLATE i_tline USING ' ~'.
CONCATENATE wa_buffer i_tline INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~ '.
DO.
i_record = wa_buffer.
APPEND i_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDIF.
IF i_record[] IS NOT INITIAL.
it_attach[] = i_record[].
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
LINE_WIDTH_SRC = '132'
LINE_WIDTH_DST = '255'
TRANSFER_BIN = ' '
TABLES
content_in = i_tline[]
content_out = IT_ATTACH[]
EXCEPTIONS
ERR_LINE_WIDTH_SRC_TOO_LONG = 1
ERR_LINE_WIDTH_DST_TOO_LONG = 2
ERR_CONV_FAILED = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
it_attach[] = w_return-otfdata[].
IF it_pdf_output[] IS NOT INITIAL.
it_attach[] = it_pdf_output[].
wa_mailbody-line = 'Dear Sir / Madam,'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Please be informed that we have remitted the payment towards your outstanding bills as per the attachment:'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Best Regards,'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Mary. G '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Finance department'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Intimate Fashions (I) Pvt Ltd'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Please do not print this email unless it is absolutely necessary. Become environment friendly.'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'E-MAIL DISCLAIMER.'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'If you are not the addressee of this mail, please delete this. Intimate Fashions does not accept any liability on the improper usage of this mail. It may also be legally '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'privileged. Internet communications cannot be guaranteed to be timely, secure or virus free'.
APPEND wa_mailbody TO it_mailbody.
DESCRIBE TABLE it_mailbody LINES lncnt.
wa_doc_data-obj_descr = 'Remittance details - Brunet'.
wa_doc_data-expiry_dat = sy-datum + 10.
wa_doc_data-obj_name = 'TRIAL'.
wa_doc_data-sensitivty = 'F'.
wa_doc_data-doc_size = lncnt * 255.
CLEAR wa_pack.
CLEAR wa_pack-transf_bin.
wa_pack-doc_type = 'RAW'.
wa_pack-transf_bin = ' '.
wa_pack-head_start = 1.
wa_pack-head_num = 0.
wa_pack-body_start = 1.
wa_pack-body_num = lncnt.
wa_pack-doc_size = lncnt * 255.
APPEND wa_pack TO it_pack.
CLEAR: lncnt,wa_pack.
DESCRIBE TABLE it_attach LINES lncnt.
wa_pack-transf_bin = 'X'.
wa_pack-head_start = 1.
wa_pack-head_num = 1.
wa_pack-body_start = 1.
wa_pack-body_num = lncnt.
wa_pack-doc_type = 'PDF'.
wa_pack-obj_name = 'VNPA'.
CONCATENATE 'Vendor Payment Advice' '.PDF' INTO wa_pack-obj_descr.
wa_pack-obj_descr = 'Vendor Payment Advice'.
READ TABLE it_attach INDEX lncnt. "INTO WA_ATTACH
wa_pack-doc_size = ( lncnt - 1 ) * 255 + STRLEN( it_attach ).
wa_pack-doc_size = lncnt * 255.
APPEND wa_pack TO it_pack.
CLEAR: lncnt,wa_pack.
wa_mailhead = 'Vendor Payment Advice'.
APPEND wa_mailhead TO it_mailhead.
CLEAR: wa_mailhead.
LOOP AT pa_mail.
wa_receiverid-receiver = pa_mail-low.
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
CLEAR:wa_receiverid.
ENDLOOP.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
CLEAR:wa_receiverid,lncnt.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_data
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = it_pack
object_header = it_mailhead
contents_bin = it_attach[]
contents_txt = it_mailbody
CONTENTS_HEX = it_attach
OBJECT_PARA =
OBJECT_PARB =
receivers = it_receiverid
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
LOOP AT it_zvnpa INTO wa_zvnpa.
wa_zvnpa-flag = 'X'.
MODIFY it_zvnpa FROM wa_zvnpa TRANSPORTING flag.
ENDLOOP.
MODIFY zvnpa FROM TABLE it_zvnpa.
ENDIF.
ENDIF.
CLEAR: wa_zvnpa,it_zvnpa,it_otf,it_otf[],w_return,lncnt,
wa_doc_data,
wa_head,it_head,it_head1,
i_record,i_record[],
i_tline,i_tline[],
it_pack,
wa_pack,
it_mailhead,
wa_mailhead,
it_mailbody,
wa_mailbody,
it_receiverid,
wa_receiverid,
it_attach.
ENDAT.
ENDLOOP.
ENDIF. -
Captivate 3 to 4 Conversion Problem - audio
First off, I love Captivate. Have since it was known as
Robodemo!!
Recently upgraded to Captivate 4.
When the conversion process from Captivate 3 to 4 completed,
the audio disappeared.
All I see is a black bar where there used to be audio - on
the layers.
I tried importing the mp3 audio back into the new file and
the error received states:
"Unable to decode and import the selected wav/mp3 file"
Please say there is a fix for this. Thanks!!!quote:
Originally posted by:
mvlele
Hi Urs Humbel,
As you are facing the issue only on Vista, please try the
below steps:
1. Close Captivate 4
2. Run command prompt (cmd) in admin mode.
3. Go to the directory where Adobe Captivate 4 has been
installed
4. Run 'regsvr32 NSAudio.dll'
5. You should get a message 'registration of dll successful'
6. Now launch Adobe Captivate 4 in admin mode. (i.e. on the
Captivate menu item in program files > right click > run as
administrator)
7. Now check if audio files are playing.
Hope it helps.
FWIW, I'm testing C4 and text to speech on a 64 bit machine.
I didn't want to install it right onto my Vista installation
because I have C3 installed there so I installed it on a 64 bit XP
virtual machine. I encountered the same error and the 7 steps
aboved fixed the problem for me. -
hi
i am facing data from problem from dso to cube
i am getting daat into dso
plant material doc_num itemno qty
p1 m1 1 1 10
p1 m1 1 2 20
dso i am uisng key fields
doc_no
item_no
doc_year
data fields
material
plant
qty
while loading data into cube
its showing only
p1 m1 1 2 20
item 1 is missing
there is no iten num filed in my target field?
ple let me know ur idea.Hi,
The problem is in your ODS/DSO.
In your ODS you have 'Doc_num' as key field.
For both Items 1 & 2, you have same key field ( Doc_Num) Value.
So, the first record will be over written by the second one. So from your ODS you will get only the latest record to the Cube.
If you want to send both doc_nums to cube, you need to bring doc_num to the data fields area of ODS.
Hope this helps.
Cheers
Praveen
Maybe you are looking for
-
Mapping Issue for IDoc to JDBC interface
Hi All, I am having problem in implementing logic in IDoc to JDBC interface where I have to filter out E1WBB07-KSCHL = VKP0. Source IDoc structure is like -> E1WBB01(occ 0 -1000) |-> E1WBB03 (occ 0-100) |-> E1WBB07(occ 0-1000)
-
Hi! I have created a remote RFC that retrieves employee information from SAP HCM. The retrieved employee information is then placed in an output table imported by SAP XI. Below is the schema of the output table: id employee_number
-
When I start Firefox and if I close and then reopen it the address bar is fine. But when I go the a new address, the menu bar overlays the address bar. Also a small number of pages, such as this one are overlayed with some garbage which is other part
-
Dear friends, Can anyone help me finding the best way to read the dynamic URL returned XML . Like webservices this URL returns the result in an XML and I want to embed this result into my application. The best way I thought was to use XMLBeans and ma
-
Mail program for business purposes - what is the best one?
I own a business that runs out of my house. Its very email intensive. I probably send/receive about 400 msgs a day. I need something that is similar to Outlook. I have entourage but Im just not happy with it. Is there a better mail program I should c