BI upgrade: abap menu role, url format conversion ?

hi all,
I'm upgrading from BW3.5 to BI7.0.
In BW3.5 abap role I am using menus wich include BW3.5 queries. URL format for query is like <bsp_protcl>://<bsp_server>/sap/bw/BEx?...
The system gets upgraded in BI 7.0. Abap menu role still have the URL format for the query (like above). I would like to have the new BI format wich is like <prt_protcl>://<prt_server>/<bi_launcher>?...
Is there a way to make URL format mass conversion ?
There are thousand of queries in abap menu roles, I do not imagine this has to be changed manually ...?????
Thanks in advance for your reply.
Jean

You could write a short SE38 program against the AGR_BUFFI table on the URL field:
Replace <bsp_protcl> with <prt_protcl>
Replace <bsp_server> with <prt_server>
Replace sap/bw/BEx with <bi_launcher>
Replace VARIABLES_CLEAR with CLEAR_VARIABLES
Replace DATA_PROVIDER_ID with initial_state=VIEW&initial_state-view
Keep in mind that you would not want to automatically convert entries that reference a 3.5 Web Template, or a table API.

Similar Messages

  • Save new workbook in menue role with VBA / ABAP

    Hello,
    does anybody know of a way to save a workbook which is not stored in SAP BW by then in a menue role folder through VBA or ABAP automatically?
    I know that there is the SAPBEXsaveWorkbook function in VBA but that only works if the workbook already has an ID in BW. Maybe there is some workaround to assign name and ID beforehand? Where does the BEx get the ID if the workbook already has one? Is it stored in a temporary mapping table or something? I found that there are NO very hidden sheets as long as there are no queries embedded in the workbook, and I want to save a workbook WITHOUT queries.
    Also, I know that there is the saveDialogWorkbook function, but as stated above the saving process should be automatically, i.e. a function like SAPBEXsaveWorkbook(name As String, role As String, node-id As String). By the way, where would I get the node-id for the nodes in the menue role?
    Thank you for ANY hints!

    Hi Peter,
    thanks for your update! Saving in the "root folder" of a role might already be sufficient if we don't figure out how to save in folders.
    I've done some research, too, and the strange thing is that the number at the end is obviously not the folder ID. When you choose "Open -> Workbooks", then copy a workbook entry using Ctrl+C and paste it in an editor, you get more information than what is displayed in the dialog even with technical names turned on. The pasted entry includes the role name and the number you referred to. And the thing is that even two workbooks in the same folder have different numbers! When you save a workbook using 0000000000 and then look at the number assigned in the way described above, it also has an ID different from 0000000000. It seems that every workbook has its own number. So to me it's still a mistery where the folder is specified.
    Regards,
    Jörg

  • ABAP centered role assignment not working

    I have been trying to implement ABAP centered role assignment for our users but not really having much luck in gettng it to work. I've been trying to make sense of it by using [the help guide|http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm] but I must be doing someting wrong. Here are the steps that  take.
    1. Create a single ABAP role - A single role with no menu or authorizatons
    2. Create a UME Group - I name the group exactly the same as the ABAP single role from the previous step
    3. Assign UME Group to Portal Role
    4. Assign mapped user to ABAP role
    Supposedly the ABAP role assingment is supposed to reflect through to the UME group membership so the portal user then sees the associated portal tab.
    Can you enlighten me?
    Thanks in advance

    Hi,
    I 'm facing same kind of problem.
    Case 1:
    I tried with:
                      Assigning users to group (abap role) which didn't worked.
                      Assigning UME Role to group (abap role) which worked. Then i assigned the user to the UME Role, but the user is not getting the backend authorizations.
                      Assigning the portal role to the group (abap role), then when i assiged a user to the abap role from R/3 automatically the user is getting the portal role.
    How can i do the same from portal?
    Case2:     
    While distributing the portal roles to the ABAP system (System Administrator -> Permissions -> SAP Authorizations), the status is showing as "Role transfer compleated". but when i checked from the R/3 transaction WP3R, there are no portal roles.
    Why are the portal roles not getting transfered even though the status is green?
    Mr.Chowdary

  • ABAP spool to OTF format

    Hi,
    Is there any function module available to convert ABAP spool Job to OTF format?.
    Final requirement is to convert this to PDF, however CONVERT_ABAPSPOOLJOB_2_PDF  is not found suitable for this requirement, since the converted output needs to be of  type  XSTRING.
    For WebDynpro, application, I have one solution. Please see the below URL
    http://****************/Tutorials/Smartforms/SFinEPasPDF/Page1.htm
    I could convert ABAP spool to RTF format, now I would like to have a solution for converting this RTF file to OTF and then use function module CONVERT_OTF. This function module give converted result in export parameter of type XSTRING.
    Please advice any solution for this
    Regards
    Sujith

    Hi,
    Try with the report program RSTXPDFT4(ECC6).
    With Regards,
    Sakthi

  • Abaper's role in the project ?

    what is abaper's role in the projects.
    what are the difficulties abaper's faced in the project ?
    i had no real time experience ? can u explain with one example plzzzzzz ?

    Hi,
       Plz find the role of an ABAPer in different projects.
    SAP Implementation:
    SAP Implementation is the whole of processes that defines a complete method to
    implement SAP software in an organization. It is based on best practices and case studies from various literature sources and presents a collection of processes and products that make up a complete implementation method to allow any organization to plan and execute the implementation of SAP (ERP) software. The SAP implementation process is made up out of four main phases, i.e. the project preparation where a vision of the future-state of the SAP solution is being created, a sizing and blueprinting phase where the solution stack is created and training is being performed, a functional development phase and finally a final preparation phase, when the last tests are being performed before the actual go live.
    ABAP Developer Role is to prepare the Technical Specification (based on a Functional Specification given by a Functional Consultant), build the code, Review the code and finally to prepare the Unit Test Cases. Sometimes ABAPer may be asked to do a technical research for an optimal solution.
    SAP Support:
    After a go live, the application needs a maintenance/support to resolve the issues/tickets raised by the users when using the application. Ticket is like a request for changes/bug fixing or a request for a new ABAP Developer Role includes bug fixing/change the existing code due to new requirements/build a new code etc.
    SAP Upgrade:
    SAP Upgrade is nothing but upgrading the software with a superior version which has got more advantages when compared to the earlier version.
    ABAP Developer Role is to go through transactions SPAU/SPDD to compare the old and new version of the change and finally need to activate the relevant one. Some times might need to work on SAP notes too.
    Regards,
    CS

  • 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

  • XML-22108: (Error) Invalid Source - URL format is incorrect

    Hi,
    When following statement is executed from PERL getting err msg.
    `$JAVA_RUNTIME org.apache.xalan.xslt.Process -in $work_xml_file -xsl $xsl_file -out $sql_file 2>&1`;
    XML-22108: (Error) Invalid Source - URL format is incorrect.
    XML-22000: (Fatal Error) Error while parsing XSL file (no protocol:xsl file).
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.parser.v2.DOMLocator.getPublicId(DOMLocator.java:101)
    at org.apache.xml.utils.DefaultErrorHandler.printLocation(DefaultErrorHandler.java:341)
    at org.apache.xalan.xslt.Process.main(Process.java:1091)
    Kindly help me to resolve the issue.
    Thanks and Regards,
    Vijay

    Hi Alosh,
    Thanks for the reply.
    We are in process of upgrading Oracle Apps R11i into R12. This statement works fine in 11i but not working in R12. I think issue is not with -IN, -XSL and -OUT parameters.
    Thanks and Regards,
    Vijay

  • Driver Class name and JDBC URL Format

    Hi,
    I'm trying to use the oracle jdbc driver to connect to an (what a surprise) oracle database.
    I need a 'driver class name' and the JDBC URL Format. But I cannot find these anywhere.
    Can anyone help me out here?
    Regards,
    Laurens

    http://myjdbc.tripod.com/basic/jdbcurl.html

  • How to remove Queries in menu roles?

    Hi,
    I am removing unneccessary quries added in menu roles!
    How to remove those queries from the roles?
    Raj

    Hi,
       Open your role in PFCG with edit mode -> you can see list of reports assigned here, right click on delete which is not required.

  • Printing ABAP list in portrate format

    Hi,
      In one of requirement I wanted to print a report
      in portate format on A4 size paper. Report has been created with use of write statement only.
      When I checked print properties it shows only standard some page format(all are landscape).I even tried by creating custom portate format for ABAP list.
    Please anybody suggest the way to take printout of ABAP list in portrate format.
    Thanks in advance,
    Amit R

    Hi Amit,
    check the line count and  line size of your repor. And try with the line size = 80 and line count = 0. Then while printing the page format  will be determined based on these variable to print the report.
    If the report length is lange then you cannot print in the portate format.
    Hope this  will help you.
    Regards
    Satya.

  • 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 Kirk

    Date: 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]
    ====================================================================

  • 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.0

    Marc:
    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&#3055477
    Export your timeline as Quicktime Movie, same settings (self contained if you have space) and use that in Compressor.
    Hope that helps !
      Alberto

  • 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

  • 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
    Vaibhav

    hi,
    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

  • Abap consultant role in implementation project

    hi
    may i know
    abap consultant role in implementation project
    and implementaion steps

    SAP provides the SUIT but the service companies like IBM & Infosys do two activities to make that suit workable for a perticular client's buisness.
    1. Configuration
    2. Customization
    The abap consultant's role is to customizing the standard suit accoring client's buisness. Also there may be many 3rd party systems involve in for the client along with SAP. To create the interface of SAP and those 3rd party systems and manage the data transfer is also a job ob ABAP consultant.

Maybe you are looking for