Compressor vs Algolith for format conversion
Has anyone done any testing in terms of frame rate and format conversion of Compressor vs the Algolith plugins for Shake?
Cheers
Al
Hi,
Compressor is REALLY slow if you use the highest quality settings.
Algolith is always slow (check here):
http://www.algolith.com/index.php?id=algotools_benchmarks
Here is what they recommended to speed up the process:
"To speed up the PAL to NTSC conversion, do it in 2 passes to avoid the content adaptive scaler which doesn’t do much when downscaling 720x576 to 720x480. My recommendation is MAADI double frame rate, AE scaling to 720x480 -> intermediate result. Intermediate result -> FC 50 frame per sec to 60 field per second."
Their Noise Reduction Software is great. If that is any indication their format conversion is probably really good quality.
If you try it let us know.
Best Wishes!
Mitch
Similar Messages
-
Format Conversion : Transcoding
Hi,
I am working on an application for format conversion of files, be it audio or video files. I tried the code Transcode.java (attached below) given in JMF, but I could only succeed in converting .wav files to .mp3 files. I have till date been unable to convert any video files from one format to another. I might be missing out on certain assumptions as to which files can be converted to the required format or not. Kindly give some sample code if anyody has any and also any suggestions please so that I can fulfill the requirement.
Also kindly suggest a possible algorithm for the problem.
Thanks,
Amit
import java.awt.*;
import java.util.Vector;
import java.io.File;
import javax.media.*;
import javax.media.control.TrackControl;
import javax.media.control.QualityControl;
import javax.media.Format;
import javax.media.format.*;
import javax.media.datasink.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import java.io.IOException;
import com.sun.media.format.WavAudioFormat;
* A sample program to transcode an input source to an output location
* with different data formats.
public class Transcode implements ControllerListener, DataSinkListener {
* Given a source media locator, destination media locator and
* an array of formats, this method will transcode the source to
* the dest into the specified formats.
public boolean doIt(MediaLocator inML, MediaLocator outML, Format fmts[],
int start, int end) {
Processor p;
try {
System.err.println("- create processor for: " + inML);
p = Manager.createProcessor(inML);
} catch (Exception e) {
System.err.println("Yikes! Cannot create a processor from the given url: " + e);
return false;
p.addControllerListener(this);
* Put the Processor into configured state.
p.configure();
if (!waitForState(p, p.Configured)) {
System.err.println("Failed to configure the processor.");
return false;
* Set the output content descriptor based on the media locator.
setContentDescriptor(p, outML);
* Program the tracks to the given output formats.
if (!setTrackFormats(p, fmts))
return false;
* We are done with programming the processor. Let's just
* realize the it.
p.realize();
if (!waitForState(p, p.Realized)) {
System.err.println("Failed to realize the processor.");
return false;
* Set the JPEG quality to .5.
setJPEGQuality(p, 0.5f);
* Now, we'll need to create a DataSink.
DataSink dsink;
if ((dsink = createDataSink(p, outML)) == null) {
System.err.println("Failed to create a DataSink for the given output MediaLocator: " + outML);
return false;
dsink.addDataSinkListener(this);
fileDone = false;
* Set the start time if there's one set.
if (start > 0)
p.setMediaTime(new Time((double)start));
* Set the stop time if there's one set.
if (end > 0)
p.setStopTime(new Time((double)end));
System.err.println("start transcoding...");
* OK, we can now start the actual transcoding.
try {
p.start();
dsink.start();
} catch (IOException e) {
System.err.println("IO error during transcoding");
return false;
* Wait for EndOfStream event.
waitForFileDone();
* Cleanup.
try {
dsink.close();
} catch (Exception e) {}
p.removeControllerListener(this);
System.err.println("...done transcoding.");
return true;
* Set the content descriptor based on the given output MediaLocator.
void setContentDescriptor(Processor p, MediaLocator outML) {
ContentDescriptor cd;
* If the output file maps to a content type, we'll try to set it on the processor.
if ((cd = fileExtToCD(outML.getRemainder())) != null) {
System.err.println("- set content descriptor to: " + cd);
if ((p.setContentDescriptor(cd)) == null) {
* The processor does not support the output content type. But we can set the content type to RAW and
* see if any DataSink supports it.
p.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW));
* Set the target transcode format on the processor.
boolean setTrackFormats(Processor p, Format fmts[]) {
if (fmts.length == 0)
return true;
TrackControl tcs[];
if ((tcs = p.getTrackControls()) == null) {
* The processor does not support any track control.
System.err.println("The Processor cannot transcode the tracks to the given formats");
return false;
for (int i = 0; i < fmts.length; i++) {
System.err.println("- set track format to: " + fmts);
if (!setEachTrackFormat(p, tcs, fmts[i])) {
System.err.println("Cannot transcode any track to: " + fmts[i]);
return false;
return true;
* We'll loop through the tracks and try to find a track
* that can be converted to the given format.
boolean setEachTrackFormat(Processor p, TrackControl tcs[], Format fmt) {
Format supported[];
Format f;
for (int i = 0; i < tcs.length; i++) {
supported = tcs[i].getSupportedFormats();
if (supported == null)
continue;
for (int j = 0; j < supported.length; j++) {
if (fmt.matches(supported[j]) &&
(f = fmt.intersects(supported[j])) != null &&
tcs[i].setFormat(f) != null) {
* Success.
return true;
return false;
* Setting the encoding quality to the specified value on the JPEG encoder.
* 0.5 is a good default.
void setJPEGQuality(Player p, float val) {
Control cs[] = p.getControls();
QualityControl qc = null;
VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
* Loop through the controls to find the Quality control for the JPEG encoder.
for (int i = 0; i < cs.length; i++) {
if (cs[i] instanceof QualityControl &&
cs[i] instanceof Owned) {
Object owner = ((Owned)cs[i]).getOwner();
* Check to see if the owner is a Codec. Then check for the output format.
if (owner instanceof Codec) {
Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
for (int j = 0; j < fmts.length; j++) {
if (fmts[j].matches(jpegFmt)) {
qc = (QualityControl)cs[i];
qc.setQuality(val);
System.err.println("- Set quality to " +
val + " on " + qc);
break;
if (qc != null)
break;
* Create the DataSink.
DataSink createDataSink(Processor p, MediaLocator outML) {
DataSource ds;
if ((ds = p.getDataOutput()) == null) {
System.err.println("Something is really wrong: the processor does not have an output DataSource");
return null;
DataSink dsink;
try {
System.err.println("- create DataSink for: " + outML);
dsink = Manager.createDataSink(ds, outML);
dsink.open();
} catch (Exception e) {
System.err.println("Cannot create the DataSink: " + e);
return null;
return dsink;
Object waitSync = new Object();
boolean stateTransitionOK = true;
* Block until the processor has transitioned to the given state.
* Return false if the transition failed.
boolean waitForState(Processor p, int state) {
synchronized (waitSync) {
try {
while (p.getState() < state && stateTransitionOK)
waitSync.wait();
} catch (Exception e) {
System.out.println("Exception 1 : " + e.getMessage());
return stateTransitionOK;
* Controller Listener.
public void controllerUpdate(ControllerEvent evt) {
if (evt instanceof ConfigureCompleteEvent ||
evt instanceof RealizeCompleteEvent ||
evt instanceof PrefetchCompleteEvent) {
synchronized (waitSync) {
stateTransitionOK = true;
waitSync.notifyAll();
} else if (evt instanceof ResourceUnavailableEvent) {
synchronized (waitSync) {
stateTransitionOK = false;
waitSync.notifyAll();
} else if (evt instanceof EndOfMediaEvent) {
evt.getSourceController().close();
} else if (evt instanceof MediaTimeSetEvent) {
System.err.println("- mediaTime set: " +
((MediaTimeSetEvent)evt).getMediaTime().getSeconds());
} else if (evt instanceof StopAtTimeEvent) {
System.err.println("- stop at time: " +
((StopAtTimeEvent)evt).getMediaTime().getSeconds());
evt.getSourceController().close();
Object waitFileSync = new Object();
boolean fileDone = false;
boolean fileSuccess = true;
* Block until file writing is done.
boolean waitForFileDone() {
System.err.print(" ");
synchronized (waitFileSync) {
try {
while (!fileDone) {
waitFileSync.wait(1000);
System.err.print(".");
} catch (Exception e) {
System.out.println("Exception 2 : " + e.getMessage());
System.err.println("");
return fileSuccess;
* Event handler for the file writer.
public void dataSinkUpdate(DataSinkEvent evt) {
if (evt instanceof EndOfStreamEvent) {
synchronized (waitFileSync) {
fileDone = true;
waitFileSync.notifyAll();
} else if (evt instanceof DataSinkErrorEvent) {
synchronized (waitFileSync) {
fileDone = true;
fileSuccess = false;
waitFileSync.notifyAll();
* Convert a file name to a content type. The extension is parsed
* to determine the content type.
ContentDescriptor fileExtToCD(String name) {
String ext;
int p;
* Extract the file extension.
if ((p = name.lastIndexOf('.')) < 0)
return null;
ext = (name.substring(p + 1)).toLowerCase();
String type;
* Use the MimeManager to get the mime type from the file extension.
if ( ext.equals("mp3")) {
type = FileTypeDescriptor.MPEG_AUDIO;
} else {
if ((type = com.sun.media.MimeManager.getMimeType(ext)) == null)
return null;
type = ContentDescriptor.mimeTypeToPackageName(type);
return new FileTypeDescriptor(type);
* Main program
public static void main(String [] args) {
String inputURL = null, outputURL = null;
int mediaStart = -1, mediaEnd = -1;
Vector audFmt = new Vector(), vidFmt = new Vector();
if (args.length == 0)
prUsage();
* Parse the arguments.
int i = 0;
while (i < args.length) {
if (args[i].equals("-v")) {
i++;
if (i >= args.length)
prUsage();
vidFmt.addElement(args[i]);
} else if (args[i].equals("-a")) {
i++;
if (i >= args.length)
prUsage();
audFmt.addElement(args[i]);
} else if (args[i].equals("-o")) {
i++;
if (i >= args.length)
prUsage();
outputURL = args[i];
} else if (args[i].equals("-s")) {
i++;
if (i >= args.length)
prUsage();
Integer integer = Integer.valueOf(args[i]);
if (integer != null)
mediaStart = integer.intValue();
} else if (args[i].equals("-e")) {
i++;
if (i >= args.length)
prUsage();
Integer integer = Integer.valueOf(args[i]);
if (integer != null)
mediaEnd = integer.intValue();
} else {
inputURL = args[i];
i++;
if (inputURL == null) {
System.err.println("No input url is specified");
prUsage();
if (outputURL == null) {
System.err.println("No output url is specified");
prUsage();
int j = 0;
Format fmts[] = new Format[audFmt.size() + vidFmt.size()];
Format fmt;
* Parse the audio format spec. into real AudioFormat's.
for (i = 0; i < audFmt.size(); i++) {
if ((fmt = parseAudioFormat((String)audFmt.elementAt(i))) == null) {
System.err.println("Invalid audio format specification: " +
(String)audFmt.elementAt(i));
prUsage();
fmts[j++] = fmt;
* Parse the video format spec. into real VideoFormat's.
for (i = 0; i < vidFmt.size(); i++) {
if ((fmt = parseVideoFormat((String)vidFmt.elementAt(i))) == null) {
System.err.println("Invalid video format specification: " +
(String)vidFmt.elementAt(i));
prUsage();
fmts[j++] = fmt;
* Generate the input and output media locators.
MediaLocator iml, oml;
if ((iml = createMediaLocator(inputURL)) == null) {
System.err.println("Cannot build media locator from: " + inputURL);
System.exit(0);
if ((oml = createMediaLocator(outputURL)) == null) {
System.err.println("Cannot build media locator from: " + outputURL);
System.exit(0);
* Transcode with the specified parameters.
Transcode transcode = new Transcode();
if (!transcode.doIt(iml, oml, fmts, mediaStart, mediaEnd)) {
System.err.println("Transcoding failed");
System.exit(0);
* Create a media locator from the given string.
static MediaLocator createMediaLocator(String url) {
MediaLocator ml;
if (url.indexOf(":") > 0 && (ml = new MediaLocator(url)) != null)
return ml;
if (url.startsWith(File.separator)) {
if ((ml = new MediaLocator("file:" + url)) != null)
return ml;
} else {
String file = "file:" + System.getProperty("user.dir") + File.separator + url;
if ((ml = new MediaLocator(file)) != null)
return ml;
return null;
* Parse the audio format specifier and generate an AudioFormat.
* A valid audio format specifier is of the form:
* [encoding]:[rate]:[sizeInBits]:[channels]:big:signed
static Format parseAudioFormat(String fmtStr) {
int rate, bits, channels, endian, signed;
String encodeStr = null, rateStr = null,
bitsStr = null, channelsStr = null,
endianStr = null, signedStr = null;
* Parser the media locator to extract the requested format.
if (fmtStr != null && fmtStr.length() > 0) {
while (fmtStr.length() > 1 && fmtStr.charAt(0) == ':')
fmtStr = fmtStr.substring(1);
* Now see if there's a encode rate specified.
int off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
encodeStr = fmtStr;
} else {
encodeStr = fmtStr.substring(0, off);
fmtStr = fmtStr.substring(off + 1);
* Now see if there's a sample rate specified
off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
rateStr = fmtStr;
} else {
rateStr = fmtStr.substring(0, off);
fmtStr = fmtStr.substring(off + 1);
* Now see if there's a size specified
off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
bitsStr = fmtStr;
} else {
bitsStr = fmtStr.substring(0, off);
fmtStr = fmtStr.substring(off + 1);
* Now see if there's channels specified.
off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
channelsStr = fmtStr;
} else {
channelsStr = fmtStr.substring(0, off);
fmtStr = fmtStr.substring(off + 1);
* Now see if there's endian specified.
off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
endianStr = fmtStr.substring(off + 1);
} else {
endianStr = fmtStr.substring(0, off);
if (!fmtStr.equals(""))
signedStr = fmtStr.substring(off + 1);
* Sample Rate
rate = AudioFormat.NOT_SPECIFIED;
if (rateStr != null) {
try {
Integer integer = Integer.valueOf(rateStr);
if (integer != null)
rate = integer.intValue();
} catch (Throwable t) {
System.out.println("Exception 3 ");
* Sample Size
bits = AudioFormat.NOT_SPECIFIED;
if (bitsStr != null) {
try {
Integer integer = Integer.valueOf(bitsStr);
if (integer != null)
bits = integer.intValue();
} catch (Throwable t) {
System.out.println("Exception :4 " );
* # of channels
channels = AudioFormat.NOT_SPECIFIED;
if (channelsStr != null) {
try {
Integer integer = Integer.valueOf(channelsStr);
if (integer != null)
channels = integer.intValue();
} catch (Throwable t) {
System.out.println("Exception : 5 ");
* Endian
endian = AudioFormat.NOT_SPECIFIED;
if (endianStr != null) {
if (endianStr.equalsIgnoreCase("big"))
endian = AudioFormat.BIG_ENDIAN;
else if (endianStr.equalsIgnoreCase("little"))
endian = AudioFormat.LITTLE_ENDIAN;
* Signed
signed = AudioFormat.NOT_SPECIFIED;
if (signedStr != null) {
if (signedStr.equalsIgnoreCase("signed"))
signed = AudioFormat.SIGNED;
else if (signedStr.equalsIgnoreCase("unsigned"))
signed = AudioFormat.UNSIGNED;
return new AudioFormat(encodeStr, rate, bits, channels, endian, signed);
* Parse the video format specifier and generate an VideoFormat.
* A valid video format specifier is of the form:
* [encoding]:[widthXheight]
static Format parseVideoFormat(String fmtStr) {
String encodeStr = null, sizeStr = null;
* Parser the media locator to extract the requested format.
if (fmtStr != null && fmtStr.length() > 0) {
while (fmtStr.length() > 1 && fmtStr.charAt(0) == ':')
fmtStr = fmtStr.substring(1);
* Now see if there's a encode rate specified.
int off = fmtStr.indexOf(':');
if (off == -1) {
if (!fmtStr.equals(""))
encodeStr = fmtStr;
} else {
encodeStr = fmtStr.substring(0, off);
sizeStr = fmtStr.substring(off + 1);
if (encodeStr == null || encodeStr.equals(""))
prUsage();
if (sizeStr == null)
return new VideoFormat(encodeStr);
int width = 320, height = 240;
int off = sizeStr.indexOf('X');
if (off == -1)
off = sizeStr.indexOf('x');
if (off == -1) {
System.err.println("Video dimension is not correctly specified: " + sizeStr);
prUsage();
} else {
String widthStr = sizeStr.substring(0, off);
String heightStr = sizeStr.substring(off + 1);
try {
Integer integer = Integer.valueOf(widthStr);
if (integer != null)
width = integer.intValue();
integer = Integer.valueOf(heightStr);
if (integer != null)
height = integer.intValue();
} catch (Throwable t) {
System.out.println("Exception : 6");
prUsage();
return new VideoFormat(encodeStr,
new Dimension(width, height),
VideoFormat.NOT_SPECIFIED, // maxDataLen
null, // data class
VideoFormat.NOT_SPECIFIED // FrameRate
return null;
static void prUsage() {
System.err.println("Usage: java Transcode -o <output> -a <audio format> -v <video format> -s <start time> -e <end time> <input>");
System.err.println(" <output>: input URL or file name");
System.err.println(" <input>: output URL or file name");
System.err.println(" <audio format>: [encoding]:[rate]:[sizeInBits]:[channels]:big:signed");
System.err.println(" <video format>: [encoding]:[widthXheight]");
System.err.println(" <start time>: start time in seconds");
System.err.println(" <end time>: end time in seconds");
System.exit(0);Actually, it's XDcam Ex in a .mov wrapper.
+An out-of-the-box GY-HM700 can record to inexpensive SDHC cards (class 6 or faster) as Quicktime .MOV using the XDCAM EX codec at selectable bitrates of 19, 25 or 35Mbps. The Mpeg-2 encoder is JVC’s, the XDCAM EX codec is licensed from Sony, and the Quicktime wrapper is licensed from Apple.+
http://www.dvinfo.net/articles/jvcprohd/hm700firstlook.php -
FM for OTF to TIFF format conversion?
Hi,
Any function module for OTF to TIFF(image file ) format conversion or anything to do it.
Thanks
Vaibhavhi,
please check this link.. this contain some function moule to convert OTF -> other formats .. Not sure of TIFF
[http://help.sap.com/saphelp_45b/helpdata/EN/08/e043c4c18711d2a27b00a0c943858e/content.htm]
safel -
Compressor Stuck @ 99% for the 4th time...
I successfully got project 1 of 2 out yesterday, workflow went like this:
(From FCP) "Send to: Compressor" Select destination/compression settings. Submit batch (3 different timelines to be encoded." In this instance, Compressor successfully completed all but one of the three videos to be compressed, the first time. I had to resubmit the smallest clip of the three, a second time. Compressor than completed the job.
Next project (2 of 2)
Submitted two timelines to be encoded, via FCP>File>Send to>Compressor. First video encoded, second video got to 98% after 12 hours. Cancel encode, resubmit. Additional attempt....got to 99% after 3 hours. For third attempt, I first exported the clip as a "self-contained" quicktime file. Took that file into compressor, same result: 99% @ 3 hours.
It seems that my only experiences with Compressor have been this way. Crazy long encode times, and can't depend on it to finish any job I leave for it overnight.
For my 4th attempt, I will dump Compressor's history and restart.
Just finished my 4th attempt. Same failure...
Also, here is a sample of the log:
<mrk tms="314175845.019" tmt="12/15/2010 23:04:05.019" pid="393" what="service-request" req-id="8F0A772D-93FB-4BA7-BFEA-3D3B9A6439DC:1" msg="Error: unrecognized request."></mrk>
Here are the stats:
Macbook Pro 2.2 intel core 2 Duo,
4GB RAM,
OSX 10.5.8
500GB Drive w/140GB available.
Graid 2TB Drive w/1.35TB available, all media held here.
FCP 6.0.6
Compressor 3.0.5The format of my source clips is an ugly blend, as I used 3 different cameras to capture the footage. It was a wedding, shot with 2 panasonic cameras outputting DVCPRO HD 720p60 960x720, and one canon 7D doing close-ups and pickup shots, outputting apple prores 422 at 1080x1920. However, I transcoded all of the prores clips ahead of time, into the same codec and dimensions as the others.
Sequence Settings are DVCPRO HD 720p60, with a 23.98 editing timebase
I'm compressing into MPEG-2 for DVD playback.
I am trying compressor repair right now.
I will un-instal/reinstall if this doesn't work.
I was curious how the multiple codecs might alter the output, but had successfully completed 3 other timelines with similar/identical content (relative to the codecs). -
RE: Oracle DATE data format conversion..
<C.M> Motta's question about dates and oracle>
Dealing with dates and Oracle is somewhat of a nuisance. Oracle is very
particular about how date strings are formatted, and if you get it wrong,
you get the (unhelpful) message that C.M. Motta showed us. However, if
you pass a DateTimeData to Oracle, Forte' does the right formatting for you.
If you do need to format the date prior to interacting with Oracle, use the
following format:
dd-mmm-yy <time component>
You can change the default format, but it is not easy.
If you customise Express generated code that interacts with an Oracle
database, again, make sure that you pass a DateTimeData, and not the
.TextValue.
Good luck!
Richard KirkDate: Wed, 06 Nov 1996 08:18:37 -0500
To: "C. M. Motta" <[email protected]>
From: Jim Milbery <[email protected]>
Subject: Re: Oracle DATE data format conversion..
Cc: [email protected]
Cheers:
Most likely what is happening is that you are using the default date
format of Oracle, and you are sending a four-character year. As follows:
SQL> insert into jimbo values ('01-dec-1997')
2 /
insert into jimbo values ('01-dec-1997')
ERROR at line 1:
ORA-01830: date format picture ends before converting entire inputstring
>
Oracle defaults to a format of 'dd-MON-yy'
You can either truncate the year, or manipulate the date to match the standard
database as follows:
insert into jimbo values (to_Date('01-jan-1997', 'DD-MON-YYYY'))
\jimbo
At 09:21 AM 11/6/96 -0200, you wrote:
Forte Users,
First, Id like to thank all those who answered my question on
droplist & SQL. I got just what I was looking for: its up and runnunig
now.
I have another question: Im trying to insert a DATE into an Oracle
database. The source date is:
data : DateTimeData = new;
data.SetCurrent();
So, when I try to insert data.Value or data.textvalue into DB, I
get the following exception:
ORA-01830: date format picture ends before converting entire
input string.
Are there any suggestions?
Thanks for your help,
C.M. Motta
====================================================================
Jim Milbery
Milbery Consulting Group
132 N. West St., Allentown, PA 18102
O: 610 - 432 - 5350 F: 610 - 432 - 5380
E-Mail : [email protected]
==================================================================== -
Function module used for formatting alv
hi gurus,
which function module is uesd to format alv?Hi
see the following
ABAP List Viewer
The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).
This helps us to implement all the features mentioned very effectively.
Using ALV, We can have three types of reports:
1. Simple Report
2. Block Report
3. Hierarchical Sequential Report
There are some function modules which will enable to produce the above reports without much effort.
All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.
1. SIMPLE REPORT.
The important function modules are
a. Reuse_alv_list_display
b. Reuse_alv_fieldcatalog_merge
c. Reuse_alv_events_get
d. Reuse_alv_commentary_write
e. Reuse_alv_grid_display
A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.
The important parameters are :
I. Export :
i. I_callback_program : report id
ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status
iii. I_callback_user_command : routine where the function codes are handled
iv. I_structure name : name of the dictionary table
v. Is_layout : structure to set the layout of the report
vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
II. Tables :
i. t_outtab : internal table with the data to be output
B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
The Important Parameters are :
I. Export :
i. I_program_name : report id
ii. I_internal_tabname : the internal output table
iii. I_inclname : include or the report name where all the dynamic forms are handled.
II Changing
ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is
declared in the type pool SLIS.
C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type
Parameters :
I. Import :
Et_Events : The event table is returned with all possible CALLBACK events
for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.
II. Export :
I_List_type :
0 = simple list REUSE_ALV_LIST_DISPLAY
1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY
2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND
3 = hierarchical-sequential block list
REUSE_ALV_BLOCK_LIST_HS_APPEND
D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.
Parameters :
I. it_list_commentary : internal table with the headings of the type slis_t_listheader.
This internal table has three fields :
Typ : H header, S selection , A - action
Key : only when typ is S.
Info : the text to be printed
E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.
Parameters : same as reuse_alv_list_display
This is an example for simple list.
2. BLOCK REPORT
This is used to have multiple lists continuously.
The important functions used in this report are:
A. REUSE_ALV_BLOCK_LIST_INIT
B. REUSE_ALV_BLOCK_LIST_APPEND
C. REUSE_ALV_BLOCK_LIST_HS_APPEND
D. REUSE_ALV_BLOCK_LIST_DISPLAY
A. REUSE_ALV_BLOCK_LIST_INIT
Parameters:
I. I_CALLBACK_PROGRAM
II. I_CALLBACK_PF_STATUS_SET
III. I_CALLBACK_USER_COMMAND
This function module is used to set the default gui status etc.
B. REUSE_ALV_BLOCK_LIST_APPEND
Parameters :
Export :
I. is_layout : layout settings for block
II. it_fieldcat : field catalog
III. i_tabname : internal table name with output data
IV. it_events : internal table with all possible events
Tables :
i. t_outtab : internal table with output data.
This function module adds the data to the block.
Repeat this function for all the different blocks to be displayed one after the other.
C. REUSE_ALV_BLOCK_LIST_HS_APPEND
This function module is used for hierarchical sequential blocks.
D. REUSE_ALV_BLOCK_LIST_DISPLAY
Parameters : All the parameters are optional.
This function module display the list with data appended by the above function.
Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.
3. Hierarchical reports :
Hierarchical sequential list output.
The function module is
A. REUSE_ALV_HIERSEQ_LIST_DISPLAY
Parameters:
I. Export:
i. I_CALLBACK_PROGRAM
ii. I_CALLBACK_PF_STATUS_SET
iii. I_CALLBACK_USER_COMMAND
iv. IS_LAYOUT
v. IT_FIELDCAT
vi. IT_EVENTS
vii. i_tabname_header : Name of the internal table in the program containing the
output data of the highest hierarchy level.
viii. i_tabname_item : Name of the internal table in the program containing the
output data of the lowest hierarchy level.
ix. is_keyinfo : This structure contains the header and item table field
names which link the two tables (shared key).
II. Tables
i. t_outtab_header : Header table with data to be output
ii. t_outtab_item : Name of the internal table in the program containing the
output data of the lowest hierarchy level.
slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using REUSE_ALV_FIELDCATALOG_MERGE.
Important Attributes :
A. col_pos : position of the column
B. fieldname : internal fieldname
C. tabname : internal table name
D. ref_fieldname : fieldname (dictionary)
E. ref_tabname : table (dictionary)
F. key(1) : column with key-color
G. icon(1) : icon
H. symbol(1) : symbol
I. checkbox(1) : checkbox
J. just(1) : (R)ight (L)eft (C)ent.
K. do_sum(1) : sum up
L. no_out(1) : (O)blig.(X)no out
M. outputlen : output length
N. seltext_l : long key word
O. seltext_m : middle key word
P. seltext_s : short key word
Q. reptext_ddic : heading (ddic)
R. ddictxt(1) : (S)hort (M)iddle (L)ong
S. datatype : datatype
T. hotspot(1) : hotspot
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
Check the program in the following link:
http://sap-img.com/abap/display-secondary-list-using-alv-grid.htm
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
13. Top-of-page in ALV
selection-screen and top-of-page in ALV
14. ALV Group Heading
http://www.sap-img.com/fu037.htm
How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
15. ALV output to PDF conversion
It has an example code for PDF Conversion.
http://www.erpgenie.com/abap/code/abap51.htm
converting the output of alv in pdf
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
Regards
Anji -
Advanced Format Conversion - PAL - NTSC question
I need to convert from DV PAL (@ 25fps) to DV NTSC (@ 23.98fps).
My first test conversion resulted in a DV file running at 29.97 fps.
Also, I seem unable to modify the speed settings in order to re-time from PAL to NTSC, which should run approximately 4% longer.
Can somebody guide me through how to achieve this?
G5, dual 2.7 Mac OS X (10.4.9) Final Cut Studio 2.0Marc:
AFAIK standard DV NTSC is 23.97 fps, why do you need 23.98?
The best free way I found is with Compressor Advanced format conversion, using the settings you'll find in this thread posted by Andynick:
http://discussions.apple.com/thread.jspa?messageID=3055477�
Export your timeline as Quicktime Movie, same settings (self contained if you have space) and use that in Compressor.
Hope that helps !
Alberto -
Problem with date format conversion
Hi All,
I was trying to load from a flat-file to an ods through psa. the file has a date format which is mm/dd/yyyy. i want to convert that to yyyymmdd. i created a custom object ZDAT for this field of type char with length 10. i wrote a code in transfer routine for the conversion as follows:
DATA : ZT1 LIKE SYST-DATUM,
STR1 TYPE STRING,
STR2 TYPE STRING,
STR3 TYPE STRING.
SPLIT TRAN_STRUCTURE-/BIC/ZDAT AT '/'
INTO STR1 STR2 STR3.
CONCATENATE STR3 STR1 STR2 INTO ZT1.
RESULT = ZT1.
it reported error in PSA records while loading aS " Infoobject /BIC/ZDAT does not contain alpa-conforming value 20050321.
P.s: for this record i was abt to load 03/21/2005 to zdat.
thanks,
anitha.hi anitha!
ok!
in the transferrules you use the ZDAT as an field for date in transferstructure. but in info source use the 0calday.
so now
you need to write your routine in the transfer rules for 0calday which can be derived from zdat which can be derived from the zdat.
so your Transfer structure will be same as
zmid, zmatgrp, zdat, zcid, zloc, zqty
But your Info source must be like
zmid, zmatgrp, 0calday, zcid, zloc, zqty
and in transfer rule i suggest you to use the following code for the 0calday.
DATA : ZT1 LIKE SYST-DATUM,
STR1 TYPE char(2),
STR2 TYPE char(2),
STR3 TYPE char(4).
SPLIT TRAN_STRUCTURE-/BIC/ZDAT AT '/'
INTO STR1 STR2 STR3.
CONCATENATE STR3 STR1 STR2 INTO ZT1.
RESULT = ZT1.
hope it makes things clear....
with regards
ashwin
Message was edited by: Ashwin Kumar Gadi -
Regarding Date Format Conversion
Hi,
In my project i am picking the date from the date picker which is a javascript program . Then i am displaying it on a jsp page .It is coming in mm/dd/yyyy format .I have to change it to dd/mm/yyyy format .
I have the code for date formatting conversion .
What my doubt is whether the code should be written inside the jsp page or in the javascript .
Thanks .Hi
<%@page language="java" import="java.sql.*,java.util.*,java.text.*" %>
<%SimpleDateFormat sdf= new SimpleDateFormat(dd/mm/yyyy );%>
<% java.util.Date temp_date = sdf.parse(PassYourDateHere); %>
use this with your jsp
Regards
Abhijith YS -
NEED FUNCTIONAL/TECHNICAL SPEC FOR GL CONVERSION
Can someone please email me the functional and also technical spec for GL conversion. I need to give the functional spec to the Abaper to do LSMW.
Any advise and guidance in this regard will be greatly appreciated.
Please send me documentation on the spec sheet for gl conversion. I need to prepare one and give to the technical person by tomorrow. Email it to me at [email protected]
Please send me asap
thanks a lot
LakshmiLakshmi, can you please send me the format of that func spec, if possible?
-
Hi
I am using the sqldf package in R to do some joins of my data table as follows:
p1<-sqldf("SELECT t3.* FROM p as t3 JOIN (SELECT userid, MAX(type) as LastActivityType FROM p GROUP BY userid) t4 ON t3.userid = t4.userid AND t3.type = t4.LastActivityType")
However , I am getting the error mentioned in the subject line
The error doesn't appear when I change the column names from t3.* and limit it to a subset of column names ( t3.userid, t3.LastActivity....).
Surprisingly though, I have another similar sql script in the same code block which runs just fine.
My code runs fine in RStudio, so I guess there's some incompatibility with the Azure environment somewhere. For reference, the sqldf package and its dependencies (imported separately as a zip) is compatible with R 3.1.2
Can someone help me solve this?
Thanks in advance!!Hi AK
Thanks for the quick response
So I checked the following:
1) Downloaded the dataset from AML from the step just previous to where my sql script appears, fed it into RStudio with stringsAsFactors=FALSE and thereupon ran the sql script. It works without any issues. It works fine if I dont set stringsAsFactors
as false as well
2) Checked the CRAN documentation on the sqldf package, it mentions that the package is valid for versions>=R3.1.0
3)All 4 dependencies were included. Only one was preinstalled. The output log says:
warning: package 'proto' is in use and will not be installedso I removed the package 'proto' just in case it was causing trouble.Nothing Works :/I am pasting the output log, could you have a look and see if I am missing anything obvious?Thanks a ton!UpasanaOutput Log:Record Starts at UTC 11/27/2014 07:38:27:
Run the job:"/dll "ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run" /Output0 "..\..\Result Dataset\Result Dataset.dataset" /Output1 "..\..\R Device\R Device.dataset" /dataset1 "..\..\Dataset1\Dataset1.csv" /bundlePath "..\..\Script Bundle\Script Bundle.zip" /rStreamReader "script.R" "
Starting process 'C:\Resources\directory\275cc759e61f4dbf889cde5e5cba0835.SingleNodeRuntimeCompute.Packages\AFx\5.1\DllModuleHost.exe' with arguments ' /dll "ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run" /Output0 "..\..\Result Dataset\Result Dataset.dataset" /Output1 "..\..\R Device\R Device.dataset" /dataset1 "..\..\Dataset1\Dataset1.csv" /bundlePath "..\..\Script Bundle\Script Bundle.zip" /rStreamReader "script.R" '
[ModuleOutput] DllModuleHost Start: 1 : Program::Main
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString
[ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString. Duration: 00:00:00.0050545
[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::DllModuleMethod
[ModuleOutput] DllModuleHost Stop: 1 : DllModuleMethod::DllModuleMethod. Duration: 00:00:00.0000572
[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::Execute
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::BindModuleMethod
[ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodDescription ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript;Run
[ModuleOutput] DllModuleHost Verbose: 1 : assemblyFullName ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::LoadModuleAssembly
[ModuleOutput] DllModuleHost Verbose: 1 : Trying to resolve assembly : ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost Verbose: 1 : Loaded moduleAssembly ExecuteRScript, Version=5.1.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleBinder::LoadModuleAssembly. Duration: 00:00:00.0067974
[ModuleOutput] DllModuleHost Verbose: 1 : moduleTypeName Microsoft.MetaAnalytics.RDataSupport.ExecuteRScript
[ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodName Run
[ModuleOutput] DllModuleHost Information: 1 : Module FriendlyName : Execute R Script
[ModuleOutput] DllModuleHost Information: 1 : Module Release Status : Release
[ModuleOutput] DllModuleHost Stop: 1 : DataLabModuleBinder::BindModuleMethod. Duration: 00:00:00.0106972
[ModuleOutput] DllModuleHost Start: 1 : ParameterArgumentBinder::InitializeParameterValues
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos count = 5
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[0] name = dataset1 , type = Microsoft.Numerics.Data.Local.DataTable
[ModuleOutput] DllModuleHost Start: 1 : DataTableCsvHandler::HandleArgumentString
[ModuleOutput] DllModuleHost Stop: 1 : DataTableCsvHandler::HandleArgumentString. Duration: 00:00:13.1522942
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[1] name = dataset2 , type = Microsoft.Numerics.Data.Local.DataTable
[ModuleOutput] DllModuleHost Verbose: 1 : Set optional parameter dataset2 value to NULL
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[2] name = bundlePath , type = System.String
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[3] name = rStreamReader , type = System.IO.StreamReader
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[4] name = seed , type = System.Nullable`1[System.Int32]
[ModuleOutput] DllModuleHost Verbose: 1 : Set optional parameter seed value to NULL
[ModuleOutput] DllModuleHost Stop: 1 : ParameterArgumentBinder::InitializeParameterValues. Duration: 00:00:13.1845731
[ModuleOutput] DllModuleHost Verbose: 1 : Begin invoking method Run ...
[ModuleOutput] Microsoft Drawbridge Console Host [Version 1.0.2108.0]
[ModuleOutput] [1] 56000
[ModuleOutput]
[ModuleOutput] The following files have been unzipped for sourcing in path=["src"]:
[ModuleOutput]
[ModuleOutput] Name Length Date
[ModuleOutput]
[ModuleOutput] 1 sqldf_0.4-10.zip 71667 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] 2 chron_2.3-45.zip 107752 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] 3 DBI_0.3.1.zip 153831 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] 4 gsubfn_0.6-6.zip 348505 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] 5 proto_0.3-10.zip 458519 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] 6 RSQLite_1.0.0.zip 1211130 2014-11-21 11:38:00
[ModuleOutput]
[ModuleOutput] Loading objects:
[ModuleOutput]
[ModuleOutput] port1
[ModuleOutput]
[ModuleOutput] [1] "Loading variable port1..."
[ModuleOutput]
[ModuleOutput] package 'gsubfn' successfully unpacked and MD5 sums checked
[ModuleOutput]
[ModuleOutput] Loading required package: proto
[ModuleOutput]
[ModuleOutput] [1] TRUE
[ModuleOutput]
[ModuleOutput] package 'DBI' successfully unpacked and MD5 sums checked
[ModuleOutput]
[ModuleOutput] [1] TRUE
[ModuleOutput]
[ModuleOutput] package 'RSQLite' successfully unpacked and MD5 sums checked
[ModuleOutput]
[ModuleOutput] [1] TRUE
[ModuleOutput]
[ModuleOutput] package 'sqldf' successfully unpacked and MD5 sums checked
[ModuleOutput]
[ModuleOutput] [1] TRUE
[ModuleOutput]
[ModuleOutput] Loading required package: tcltk
[ModuleOutput]
[ModuleOutput] Error in asfn(rs[[i]]) : need explicit units for numeric conversion
[ModuleOutput]
[ModuleOutput] In addition: Warning messages:
[ModuleOutput]
[ModuleOutput] 1: In strptime(x, format, tz = tz) :
[ModuleOutput]
[ModuleOutput] unable to identify current timezone 'C':
[ModuleOutput]
[ModuleOutput] please set environment variable 'TZ'
[ModuleOutput]
[ModuleOutput] 2: In strptime(x, format, tz = tz) : unknown timezone 'localtime'
[ModuleOutput]
[ModuleOutput] 3: package 'gsubfn' was built under R version 3.1.2
[ModuleOutput]
[ModuleOutput] 4: package 'DBI' was built under R version 3.1.2
[ModuleOutput]
[ModuleOutput] 5: package 'RSQLite' was built under R version 3.1.2
[ModuleOutput]
[ModuleOutput] 6: package 'sqldf' was built under R version 3.1.2
[ModuleOutput]
[ModuleOutput] 7: In strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
[ModuleOutput]
[ModuleOutput] unknown timezone 'localtime'
[ModuleOutput]
[ModuleOutput] DllModuleHost Stop: 1 : DllModuleMethod::Execute. Duration: 00:02:41.0341394
[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0063: The following error occurred during evaluation of R script:
[ModuleOutput] ---------- Start of error message from R ----------
[ModuleOutput] R script execution failed. Please click on "View Output Log" in the properties pane for full details.
[ModuleOutput] ----------- End of error message from R -----------
Module finished after a runtime of 00:02:41.1766291 with exit code -2
Module failed due to negative exit code of -2
Record Ends at UTC 11/27/2014 07:41:12. -
Failed. Format conversion is not supported
Hello again, this error happened when I was playing around with Creative Audio Converter
Failed. Format conversion is not supported
This error happened when I was converting a song from WMA Pro, 128 Kbps, 44khz, 2 Channel 24-Bit to WMA Pro, 128 Kbps, 44khz, 5.1 Channel 24-Bit
Why is this error happening? And if the conversion is not supported, then why did Creative bother to put this format on their sound cards? Or is this another of Microsoft's problem?
Thank You.Thank you very much for answering my query about that, at this moment i am very interested on 5.1 channel conversion. I have written to other ppl on other forums about 5.1 channel conversion. One person told me that there are a lot of ways to do it, depending on what kind of 5.1 upmixing do you want to perform. What kinds of upmixing do you use for 5.1 channel conversion? What do you recomend?
Thank You very much -
Executing xml sql using jdbc adapter for date conversion
Hi experts,
I am following the fllowing blog for date format conversion for a jdbc receiver.
/people/alessandro.berta/blog/2005/10/04/datetime-datatypes-and-oracle-database
I constructed my graphical mapping to generate the following query
DateField in receiver structure = TO_DATE('2008-03-24','DD-MON-YY')
attribute hasQuot = No
The result that i want is 24-MAR-08
I am getting the error in communication channel monitoring as does not match string format.
The database gets successfully updated without this date conversion. But when i try to use this, it give the above error.
Is there any other configuration to be done to make the adapter execute this statement?
Regards,
ShamlyThe issue is solved.
The SQL statement was wrong.
The correct version is,( as was specified in the blog ) :-
DateField in receiver structure = TO_DATE('2008-03-24','YYYY-MM-DD')
Automatically in the database it is converted to 24-MAR-2008
Edited by: Shamly MM on Mar 27, 2008 8:01 AM -
I have signed up for adobe conversion to microsoft word and i can't get it to work - can you help me
I have signed up for adobe conversion to microsoft word and I can not get it to work - can you help me?
Hi Mike,
I've checked your account. I see that you just purchased the subscription this morning. The order is still pending processing, which is why you haven't yet been able to log in an use your subscription. It can take 24-48 hours for a subscription to process fully. Once it does, you'll be able to log in and convert files.
I apologize for the inconvenience.
Best,
Sara -
Increase the number of portions in process for each conversion object
I experts,
I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction).
The data transfer phase is still running (99% - 60hs running). We analyzed the Display Runtime Information report and see that objects of conversion with similar calc. records and calc. GBytes have very different the Net Runtime.
TMDS currently is working with four objects of conversion, processing a portion of each.
Conversion objects that are running are:
- Z_LTBP_002
- Z_TSEGE_002
- Z_VEVW_002
- Z_YST27_002
We check in the receiver system, and we see that is use only one DIA process to update the each table.
How can increase the performance of the update? Is correct that use only 1 DIA process for this??
Can I increase the number of portions in process for each conversion object?
Any help is greatly appreciated.
Regards,
SergioHi,
Check SAP Note 916763 - TDMS performance composite SAP note
Note 890797 - SAP TDMS - required and recommended system settings
Thanks
Sunny
Maybe you are looking for
-
IPod Touch 3rd Generation 32 GB will not charge, sync, nor turn on
I've had this iPod since about January/February 2010. I've had this issue ever since May 20th, 2012 .When I plug it into an adapter, it shows the very low battery red sign, and when it is plugged in, it shows that it is charging. However, when it rea
-
Add Flagged Photos To Selected Event / Select By Date
So I am having to bite the bullet and re-import all of my referenced pics to try and consolidate them eventually into my managed library. I start with my first folder, import it, select the 103 photos in the Event with a view of then going to the exi
-
Airport Extreme w/ static IP address issue
I'm using a westell 7501 in front of my airport extreme to connect to our ISP. Our static IP from the ISP worked great until our Mountain Lion server upgrade. Something has changed and I can't seem to troubleshoot it. I've returned everything to fact
-
Problem with orders identified - REASON FOR NO EMAIL
I think. It seems after reading on other boards about addresses not be taken the problem lies with the address validation system with the shipper. When I order it prepopulated the address field. the street name was missing the last few letters so I a
-
Any help much appreciated!