Output Format..Urgent help thanks

//package test.example1;
// Imports
import java.util.*;
import java.text.*;
import java.util.Collection;
import java.util.Vector;
import test.shapes.Shape;
import test.shapes.CalculationException;
import test.shapes.round.Circle;
import test.shapes.notround.Square;
import test.shapes.blackbox.BlackBox;
import java.util.Iterator;
public class Example1 {
public static void main(String[] args) {
NumberFormat numFmt = NumberFormat.getInstance();
numFmt.setMaximumFractionDigits(2);
numFmt.setMinimumFractionDigits(2);
BlackBox bb =BlackBox.getBlackBox();
Collection c=bb.getShapes();
System.out.println("Type of Shape Area Circumference Shape Details");
System.out.println("------------ ---- -------------- -------------");
for (Iterator i = c.iterator(); i.hasNext(); ){
Shape s =(Shape)i.next();
try{
if (s instanceof Circle) {
Circle ccl = (Circle)s;
System.out.println("Circle"+
" "+(String)numFmt.format(ccl.calculateArea())+
" "+(String)numFmt.format(ccl.calculateCircumference())+
" "+"Radius="+(int)ccl.getRadius());
else if (s instanceof Square) {
Square sq = (Square)s;
System.out.println("Square"+" "+
(int)sq.calculateArea()+" "+ (int)sq.calculateCircumference()+
" "+"Side="+(int)sq.getSide());
}//end try
catch(CalculationException e) {
if (s instanceof Square) {
Square sq = (Square)s;
System.out.println("Square N/A N/A"+
" "+"Radius="+(int)sq.getSide());
}//end for loop
and here my my output that I got:
Type of Shape Area Circumference Shape Details
Circle 78.54 31.42 Radius=5
Square 9 12 Side=3
Circle 201.06 50.27 Radius=8
the third line is shifted to the right one position because due the the bigger number of Area.
I want the Output like this:
Type of Shape Area Circumference Shape Details
Circle 78.54 31.42 Radius=5
Square 9 12 Side=3
Circle 201.06 50.27 Radius=8
How do I do it? Please teach me. Thanks a lots.

I don't see any difference in both the outputs. May be you are trying to reformat it??

Similar Messages

  • RFCHKE00 program  output formatting - Urgent

    Hello Friends,
    I am working on the Positive payments - Outgoing payments to Banks.  The standard SAP program is doing the Check extract for the same.  If I run the transaction code FCHX, then this transaction is using the program RFCCHKE00 to produce the output file from SAP.  The format of the output file does not match the Bank format and so I've to reformat the output file to the bank format before transferring the data to the respective banks. 
    Could anybody tell me how to reformat the output file programattically?  Shd I write an ABAP for this or what should I do?  If I've to write an ABAP then could somebody help me with the program?.  Please advise. 
    This is very urgent please.
    Thanks in Advance.

    check below program which was written for the same purpose in one of our client.
    <b>AWARD Points</b>
    REPORT  zfo_positive_pay   LINE-SIZE  120
                               LINE-COUNT 60
                               MESSAGE-ID zf_cd.
    ======================      T A B L E S       =======================
    TABLES: t001,        "Company Codes
            t012,        "House Banks
            tcurc,       "Currency Codes
            payr,        "Payment data
            dfkkcr.      "Repository For Checks
    ======================         T Y P E S      =======================
    TYPES: BEGIN OF ty_boa_format,
            acc_num(10)  TYPE  c,
            void_ind(1)  TYPE  c,
            filler(2)    TYPE  c,
            s_no(10)     TYPE  c,
            amount(12)   TYPE  c,
            add_data(45) TYPE  c,
          END OF ty_boa_format.
    TYPES: BEGIN OF ty_boa_detail_format,
            acc_num(10)  TYPE  c,
            void_ind(1)  TYPE  c,
            filler(2)    TYPE  c,
            s_no(10)     TYPE  c,
            amount(12)   TYPE  c,
            iss_date(8)  TYPE  c,
            add_data(37) TYPE  c,
          END OF ty_boa_detail_format.
    =========        I N T E R N A L   T A B L E S         ==============
    DATA  BEGIN OF it_sap_format OCCURS 0.
            INCLUDE STRUCTURE dtachkp.
    DATA  END OF it_sap_format.
    DATA: it_boa_format TYPE STANDARD TABLE OF ty_boa_format
                                      WITH HEADER LINE,
          it_boa_detail_format TYPE STANDARD TABLE OF ty_boa_detail_format
                                    WITH HEADER LINE.
    internal tables to send E-mail
    DATA: st_doc_chng LIKE  sodocchgi1,
                          "Data of an object which can be changed
          it_objtxt   LIKE STANDARD TABLE OF solisti1   ,
                            "SAPoffice: Single List with Column Length 255
          wa_objtxt   LIKE LINE OF it_objtxt,
          it_objpack  LIKE STANDARD TABLE OF sopcklsti1 ,
                     "SAPoffice: Description of Imported Object Components
          wa_objpack  LIKE LINE OF it_objpack,
          it_objhead  LIKE STANDARD TABLE OF solisti1 ,
                            "SAPoffice: Single List with Column Length 255
          wa_objhead  LIKE LINE OF it_objhead,
          it_reclist  LIKE STANDARD TABLE OF somlreci1  ,
                           "SAPoffice: Structure of the API Recipient List
          wa_reclist  LIKE LINE OF it_reclist,
          it_objbin   LIKE STANDARD TABLE OF solisti1,
                      "SAPoffice: Single List with Column Length 255
          wa_objbin LIKE LINE OF it_objbin.
    =========              C O N S T A N T S               ==============
    CONSTANTS c_flag TYPE c VALUE 'X'.
    =========              V A R I A B L E S               ==============
    DATA: w_flag TYPE c,
          w_str(70) TYPE c,  " To store E-Amil contents
          w_tab_lines TYPE sy-tabix.
    ==========         S E L E C  T I O N  S C R E E N      =============
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN: SKIP.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS:     p_bukrs   LIKE payr-zbukr OBLIGATORY DEFAULT '2580',
                    p_hbkid   LIKE payr-hbkid OBLIGATORY DEFAULT 'BOAUS',
                    p_waers   LIKE payr-waers OBLIGATORY DEFAULT 'USD'.
    SELECT-OPTIONS: s_erdat   FOR  dfkkcr-erdat OBLIGATORY.
    "DEFAULT SY-DATUM.
    SELECT-OPTIONS: s_voidr  FOR payr-voidr.
    SELECTION-SCREEN: END OF BLOCK b2.
    SELECTION-SCREEN: BEGIN OF BLOCK b3 WITH FRAME.
    PARAMETERS:     p_sfile   LIKE rlgrap-filename OBLIGATORY,
                    p_opath LIKE rlgrap-filename OBLIGATORY,
                    p_ofile   LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK b3.
    SELECTION-SCREEN: END OF BLOCK b1.
    ============     I N I T I L I Z A T I O N              =============
    data : w_bukrs like payr-zbukr.
    INITIALIZATION.
      DATA: l_path1 LIKE rlgrap-filename VALUE '/global/data/transfer/',
            l_path2 LIKE rlgrap-filename   VALUE '/3302/pub/out/'.
      CONCATENATE l_path1 sy-sysid l_path2 INTO p_opath.
    ============     A T  S E L E C T I O N  S C R E E N    =============
    AT SELECTION-SCREEN.
    *---to Validate the entered Company code
      PERFORM to_validate_bukrs.
    *---to Validate the entered house bank
      PERFORM to_validate_hbkid.
    *---to Validate the entered currency
      PERFORM to_validate_waers.
    AT SELECTION-SCREEN OUTPUT.
    *--- to populate the default file names if the entered company code and
    *--- house bank id are valid
      PERFORM to_populate_default_file_names.
    ============    S T A R T  O F  S E L E C T I O N       =============
    START-OF-SELECTION.
    *---checking of file CD_POS_COMPLETE for existence
      PERFORM CHECK_FILES.
    *--- to submit the report RFCHKE00
      PERFORM submit_rfchke00.
    *--- to open the unix file and download the data
      PERFORM open_unix_file_and_process.
    *--- to convert the sapfile format to the required BOA format
      PERFORM sap_format_to_boa_format.
    =============    E N D   O F  S E L E C T I O N       ===============
    END-OF-SELECTION.
    *If entered file exists in the Unix directory
      IF w_flag = ' '.
    *--- process the boa internal table to generate the trailer records for
    *--- every new account number
        PERFORM process_boa_for_trailer_record.
    *--- upload data to the unix file which contains the required BOA format
        PERFORM upload_unix_file.
    *---addition of files into server
      PERFORM ADD_FILES.
    *-----Send a E-Mail to the user
        PERFORM send_email.
      ENDIF.
    ===================    S U B R O U T I N E S       ==================
    *&      Form  to_validate_bukrs
          to validate the entered company code at the selection screen
    FORM to_validate_bukrs .
      IF NOT p_bukrs IS INITIAL.
        SELECT SINGLE bukrs
                 FROM t001
                 INTO t001-bukrs
                WHERE bukrs EQ p_bukrs.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-e01.
          STOP.
        ENDIF.
      ELSE.
        MESSAGE e004 WITH text-e00.
      ENDIF.
    ENDFORM.                    " to_validate_bukrs
    *&      Form  to_validate_hbkid
          to validate the entered house bank id at the selection screen
    FORM to_validate_hbkid .
      IF NOT p_hbkid IS INITIAL.
        SELECT SINGLE hbkid
                 FROM t012
                 INTO t012-hbkid
                WHERE hbkid EQ p_hbkid.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-e02.
          STOP.
        ENDIF.
      ELSE.
        MESSAGE e004 WITH text-e00.
      ENDIF.
    ENDFORM.                    " to_validate_hbkid
    *&      Form  to_validate_waers
    to validate the entered cCurrency at the selection screen
    FORM to_validate_waers .
      IF NOT p_waers IS INITIAL.
        SELECT SINGLE waers
                 FROM tcurc
                 INTO tcurc-waers
                WHERE waers EQ p_waers.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-e03.
          STOP.
        ENDIF.
      ELSE.
        MESSAGE e004 WITH text-e00.
      ENDIF.
    ENDFORM.                    " to_validate_waers
    *&      Form  to_populate_default_file_names
      to disable the file name fields and to populate the default values
      into it
    FORM to_populate_default_file_names .
      DATA: l_date LIKE sy-datum.
      l_date = sy-datum.
      IF p_sfile IS INITIAL or w_bukrs <> p_bukrs.
    *---   move the entered company code, house bank id and todays
    *---   date to the sap file name
        CONCATENATE '/tmp/FI_' p_bukrs p_hbkid p_waers sy-datum
                    INTO p_sfile.
      ENDIF.
      IF p_ofile IS INITIAL or w_bukrs <> p_bukrs.
        CONCATENATE '3302-BA-03-'
                       l_date '-' sy-uzeit '-' p_bukrs '-out'
                     INTO p_ofile.
      ENDIF.
      w_bukrs = p_bukrs.
    ENDFORM.                    " to_populate_default_file_names
    *&      Form  open_unix_file_and_process
          opne the unix file and download data to internal table
    FORM open_unix_file_and_process .
      DATA : l_msg(80) TYPE c.
      CLEAR w_flag.
    open the file in text mode
      OPEN DATASET p_sfile FOR       INPUT
                           IN        TEXT MODE
                           MESSAGE   l_msg
                           ENCODING  DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE s004 WITH l_msg '-' p_sfile.
        w_flag = 'X'.
        STOP.
      ENDIF.
    move the downloaded file data record wise to the internal table
    till it reaches to the last record
      DO.
        READ DATASET p_sfile INTO it_sap_format.
        IF sy-subrc = 0.
          APPEND it_sap_format.
        ELSE.
        cursor reached to the last record of the file
          EXIT.
        ENDIF.
      ENDDO.
    remove the header record form the downloaded file data
      DELETE it_sap_format INDEX 1.
    remove the dataset file created by sap standard program
      DELETE DATASET p_sfile.
    close the opened file
      CLOSE DATASET p_sfile.
    ENDFORM.                    " open_unix_file_and_process
    *&      Form  sap_format_to_boa_format
          to convert the sap generated file format to the required Bank Of
          America format
    FORM sap_format_to_boa_format .
      DATA: l_amount(10),
            l_decimal(2),
            l_payee2 LIKE payr-znme2.
      LOOP AT it_sap_format.
        WRITE it_sap_format-bankn  TO it_boa_detail_format-acc_num
                                      RIGHT-JUSTIFIED.
        UNPACK it_boa_detail_format-acc_num TO it_boa_detail_format-acc_num.
        IF NOT it_sap_format-voidr IS INITIAL.
          it_boa_detail_format-void_ind = '2'.
        ELSE.
          CLEAR it_boa_detail_format-void_ind.
        ENDIF.
        it_boa_detail_format-filler   = space.
        WRITE it_sap_format-chect  TO it_boa_detail_format-s_no
                                      RIGHT-JUSTIFIED.
        UNPACK it_boa_detail_format-s_no TO it_boa_detail_format-s_no.
        WRITE it_sap_format-amnt+6(9) TO l_amount.
        WRITE it_sap_format-decm+0(2)  TO l_decimal.
        CONCATENATE '0' l_amount l_decimal INTO it_boa_detail_format-amount.
        it_boa_detail_format-iss_date = it_sap_format-zaldt.
    *addition of payee2 field in version2.
        CLEAR l_payee2.
        SELECT SINGLE znme2
                      INTO l_payee2
                      FROM payr
                      WHERE zbukr = p_bukrs AND
                            hbkid = p_hbkid AND
                            chect = it_sap_format-chect.
    *payee1 and payee2 separated by # symbol.
        it_boa_detail_format-add_data+0(20) = it_sap_format-znme1.
        it_boa_detail_format-add_data+20(1) = '#'.
        it_boa_detail_format-add_data+21(16) = l_payee2.
    *if payee1 is initial , then condenses the name
        CONDENSE it_boa_detail_format-add_data.
        APPEND it_boa_detail_format.
      ENDLOOP.
      CLEAR it_boa_detail_format.
    ENDFORM.                    " sap_format_to_boa_format
    *&      Form  process_boa_for_trailer_record
          to generate the trailer record for every new account number
    FORM process_boa_for_trailer_record .
      DATA: l_cnt     TYPE i,
            l_amt(12) TYPE p DECIMALS 2,
            l_temp(12).
    *--- sort the table on account number
      SORT it_boa_detail_format BY acc_num.
      LOOP AT it_boa_detail_format.
      to get the item line count and the total
        if it_boa_detail_format-void_ind <> '2'.
          l_cnt = l_cnt + 1.
          l_amt = l_amt + it_boa_detail_format-amount.
        endif.
        it_boa_format-acc_num        = it_boa_detail_format-acc_num.
        it_boa_format-void_ind       = it_boa_detail_format-void_ind.
        it_boa_format-filler         = it_boa_detail_format-filler.
        it_boa_format-s_no           = it_boa_detail_format-s_no.
        it_boa_format-amount         = it_boa_detail_format-amount.
        it_boa_format-add_data+0(8)  = it_boa_detail_format-iss_date.
        it_boa_format-add_data+8(37) = it_boa_detail_format-add_data.
        APPEND it_boa_format.
        CLEAR it_boa_format.
      for the new bank account number
        AT END OF acc_num.
          it_boa_format-acc_num        = it_boa_detail_format-acc_num.
          it_boa_format-void_ind       = 'T'.
          it_boa_format-filler         = ''.
          it_boa_format-s_no           = l_cnt.
    *--   unpack is used to add leading zeros
          UNPACK it_boa_format-s_no     TO it_boa_format-s_no.
          l_amt = l_amt / 100.
          UNPACK l_amt                  TO it_boa_format-amount.
          l_temp = it_boa_format-amount.
    *-- Changes as per BOA - no decimals requried ,instead put a 0
    *-- in the start
          CLEAR it_boa_format-amount.
          it_boa_format-amount+0(01)  = '0'.          "Zero at the start
          it_boa_format-amount1(9)   = l_temp1(9).   "9 digits whole amt
          it_boa_format-amount10(2)  = l_temp10(2). "2 decimals amt
          UNPACK it_boa_format-add_data TO it_boa_format-add_data.
          APPEND it_boa_format.
          CLEAR: l_cnt,
                 l_amt,
                 l_temp,
                 it_boa_format.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " process_boa_for_trailer_record
    *&      Form  upload_unix_file
          create unix file with the required BOA format
    FORM upload_unix_file .
      DATA l_msg(80) TYPE c.
    opne the unix file
      CONCATENATE p_opath p_ofile INTO p_ofile.
      OPEN DATASET p_ofile FOR      OUTPUT
                           IN       TEXT MODE
                           MESSAGE  l_msg
                           ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE i004 WITH l_msg.
        EXIT.
      ENDIF.
    move the data from internal table to unix file
      LOOP AT it_boa_format.
        TRANSFER it_boa_format TO p_ofile.
      ENDLOOP.
      message about number of records downloaded
      IF sy-subrc EQ 0.
        MESSAGE s004 WITH
                     sy-tfill 'records downloaded to the file'
                     p_ofile.
      ENDIF.
      close file
      CLOSE DATASET p_ofile.
    ENDFORM.                    " upload_unix_file
    *&      Form  submit_rfchke00
          to submit the standard program RFCHKE00 to extract the checks
          for the given company code, House bank and currecncy
    FORM submit_rfchke00 .
      SUBMIT rfchke00 WITH par_zbuk EQ p_bukrs
                      WITH par_hbki EQ p_hbkid
                      WITH par_waer EQ p_waers
                      WITH par_xneu EQ c_flag
                      WITH sel_zald IN s_erdat
                      WITH par_file EQ p_sfile
                      WITH par_dbup EQ c_flag
                      WITH sel_void IN s_voidr
                      AND RETURN.
      IF sy-subrc NE 0.
        MESSAGE i004 WITH text-e04.
        EXIT.
      ENDIF.
    ENDFORM.                    " submit_rfchke00
    *&      Form  send_email
          sends an email in the required format
    FORM send_email .
    Populate the Mail contents
      PERFORM populate_email_ref_data.
    Populate the attachment data
      PERFORM pop_data_objbin.
      CLEAR w_tab_lines.
      DESCRIBE TABLE it_objbin LINES w_tab_lines.
      wa_objhead = text-021.
      APPEND wa_objhead TO it_objhead.
    Creation of the entry
      wa_objpack-transf_bin = 'X'.
      wa_objpack-head_start = 0.
      wa_objpack-head_num   = 0.
      wa_objpack-body_start = 0.
      wa_objpack-body_num   = w_tab_lines.
      wa_objpack-doc_type   = 'txt'.
      wa_objpack-obj_name   = 'POS pay-FI'.
      wa_objpack-obj_descr  = text-022.
      wa_objpack-doc_size   = w_tab_lines * 255.
      APPEND wa_objpack TO it_objpack.
    Populate the User mail ids from the distribution list
      PERFORM receiver_details.
    ENDFORM.                    " send_email
    *&      Form  POPULATE_EMAIL_REF_DATA
         Subroutine to set the Attachment file name ,Mail subject,
         Body of the mail and size of the mail
    FORM populate_email_ref_data .
    Setting up attachment file name
      st_doc_chng-obj_name = text-t02.
    Setting up mail subject
      st_doc_chng-obj_descr = text-t03.
      st_doc_chng-sensitivty = 'P'.
    *Seting up the body of the E-mail
      wa_objtxt = text-t04.
      APPEND wa_objtxt TO it_objtxt.
      DESCRIBE TABLE it_objtxt LINES w_tab_lines.
      READ TABLE it_objtxt INTO wa_objtxt INDEX w_tab_lines.
    *Finding size of the E-mail
    st_doc_chng-doc_size = ( w_tab_lines - 1 ) * 255 + STRLEN( wa_objtxt ).
    Creation of the entry for the compressed document
      CLEAR wa_objpack-transf_bin.
      wa_objpack-head_start = 1.
      wa_objpack-head_num = 0.
      wa_objpack-body_start = 1.
      wa_objpack-body_num = w_tab_lines.
      wa_objpack-doc_type = 'RAW'.
      APPEND wa_objpack TO it_objpack.
    ENDFORM.                    " POPULATE_EMAIL_REF_DATA
    *&      Form  POP_DATA_OBJBIN
    Subroutine to populate the contennts of the attached document
    FORM pop_data_objbin .
      DATA : l_date LIKE sy-datum.
      l_date = sy-datum - 1.
    Populating the message
      CLEAR w_str.
      CONCATENATE text-t06 l_date INTO w_str SEPARATED BY space.
      MOVE w_str TO wa_objbin-line.
      CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
      wa_objbin-line = w_str.
      APPEND wa_objbin TO it_objbin.
      CLEAR w_str.
      CLEAR wa_objbin.
    WRITE TEXT-T07 TO W_STR+01(64).   "Message
    MOVE W_STR TO WA_OBJBIN-LINE.
    CONCATENATE  CL_ABAP_CHAR_UTILITIES=>CR_LF W_STR INTO  W_STR.
    WA_OBJBIN-LINE = W_STR.
    APPEND WA_OBJBIN TO IT_OBJBIN.
    CLEAR W_STR.
    CLEAR WA_OBJBIN.
    WRITE TEXT-T06 TO W_STR.
    MOVE W_STR TO WA_OBJBIN-LINE.
    CONCATENATE  CL_ABAP_CHAR_UTILITIES=>CR_LF W_STR INTO  W_STR.
    WA_OBJBIN-LINE = W_STR.
    APPEND WA_OBJBIN TO IT_OBJBIN.
    CLEAR: W_STR,
            WA_OBJBIN.
    *for Company Code and House Bank
      CONCATENATE text-t08 p_bukrs INTO w_str SEPARATED BY space.
      CONCATENATE w_str text-t09 INTO w_str.
      CONCATENATE w_str p_hbkid INTO w_str SEPARATED BY space.
      MOVE w_str TO wa_objbin-line.
      CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
      wa_objbin-line = w_str.
      APPEND wa_objbin TO it_objbin.
      CLEAR w_str.
      CLEAR wa_objbin.
      WRITE text-t07 TO w_str+0(62).
      MOVE w_str TO wa_objbin-line.
      CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
      wa_objbin-line = w_str.
      APPEND wa_objbin TO it_objbin.
      CLEAR w_str.
      CLEAR wa_objbin.
    Processing output records to send email in attachment
      LOOP AT it_boa_format.
        PERFORM cheque_records_to_objbin.
      ENDLOOP.
      IF it_objbin[] IS INITIAL.
        MOVE 'No data in Positive Payfile for FI'  TO wa_objbin-line.
        CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
        wa_objbin-line = w_str.
        APPEND wa_objbin TO it_objbin.
        CLEAR w_str.
        CLEAR wa_objbin.
      ENDIF.
    ENDFORM.                    " POP_DATA_OBJBIN
    *&      Form  CHEQUE_RECORDS_TO_OBJBIN
          Subroutine to populate the output data in attachment
    FORM cheque_records_to_objbin .
      DATA: l_bank_acc_no(10),
            l_check_no(10),
            l_amount(12),
            l_paid_date(8),
            l_status(1).
      l_bank_acc_no = it_boa_format-acc_num.
      l_check_no    = it_boa_format-s_no.
      l_amount      = it_boa_format-amount.
      l_paid_date   = it_boa_format-add_data+0(8).
      l_status      = it_boa_format-void_ind.
    Display only summarised records in Email
      IF it_boa_format+10(1) = 'T'.
        WRITE text-t05 TO w_str+01(80).
        MOVE w_str TO wa_objbin-line.
        CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
        wa_objbin-line = w_str.
        APPEND wa_objbin TO it_objbin.
        CLEAR w_str.
        CLEAR wa_objbin.
        WRITE l_bank_acc_no TO w_str+0(18).
        WRITE l_check_no    TO w_str+18(12).
        WRITE l_amount      TO w_str+30(14).
        MOVE w_str TO wa_objbin-line.
        CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
        wa_objbin-line = w_str.
        APPEND wa_objbin TO it_objbin.
        CLEAR w_str.
        CLEAR wa_objbin.
        WRITE text-t05 TO w_str+01(80).
        MOVE w_str TO wa_objbin-line.
        CONCATENATE  cl_abap_char_utilities=>cr_lf w_str INTO  w_str.
        wa_objbin-line = w_str.
        APPEND wa_objbin TO it_objbin.
        CLEAR w_str.
        CLEAR wa_objbin.
    ELSE.
      for detail records
       WRITE L_BANK_ACC_NO TO W_STR+0(18).
       WRITE L_CHECK_NO    TO W_STR+18(12).
       WRITE L_AMOUNT      TO W_STR+30(14).
       WRITE L_PAID_DATE   TO W_STR+44(12).
       WRITE L_STATUS      TO W_STR+56(1).
       MOVE W_STR TO WA_OBJBIN-LINE.
       CONCATENATE  CL_ABAP_CHAR_UTILITIES=>CR_LF W_STR INTO  W_STR.
       WA_OBJBIN-LINE = W_STR.
       APPEND WA_OBJBIN TO IT_OBJBIN.
      ENDIF.
      CLEAR: w_str,
             wa_objbin.
    ENDFORM.                    " CHEQUE_RECORDS_TO_OBJBIN
    *&      Form  RECEIVER_DETAILS
       Subroutine to populate the receiver details
    FORM receiver_details .
      wa_reclist-receiver = text-t10.  "'[email protected]'.
      wa_reclist-rec_type = 'U'.
      APPEND wa_reclist TO it_reclist.
      CLEAR  wa_reclist.
    *-- Sending the email with attached document
      PERFORM call_email_function.
    ENDFORM.                    " RECEIVER_DETAILS
    *&      Form  CALL_EMAIL_FUNCTION
          text
    FORM call_email_function .
    Call function to send email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            EXPORTING
                 document_data              = st_doc_chng
                 commit_work                = 'X'
                put_in_outbox               = 'X'
          importing
               sent_to_all                = sent_to_all
            TABLES
                 packing_list               = it_objpack
                 object_header              = it_objhead
                 contents_bin               = it_objbin
                 contents_txt               = it_objtxt
                 receivers                  = it_reclist
            EXCEPTIONS
                 too_many_receivers         = 1
                 document_not_sent          = 2
                 operation_no_authorization = 4
                 OTHERS                     = 99.
      CASE sy-subrc.
        WHEN 1.
    *message e004.
        WHEN 2.
    *message e005.
        WHEN 3.
    *message e006.
        WHEN 0.
          SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
    *leave program.
         SET SCREEN 0.
          MESSAGE s004(zf_cd) WITH text-012 ' '  text-t10.
      ENDCASE.
    ENDFORM.                    " CALL_EMAIL_FUNCTION
    *&      Form  CHECK_FILES
    Perform used to check whether FI_POS_COMPLETE file exists on the
    server
    form CHECK_FILES .
      DATA : L_MSG(80) TYPE C,
             L_FILE   LIKE RLGRAP-FILENAME.
      CLEAR : L_FILE.
      CONCATENATE P_OPATH 'FI_POS_COMPLETE_' P_BUKRS INTO L_FILE.
      OPEN DATASET L_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
      CLOSE DATASET L_FILE.
      MESSAGE E054.
      ELSE.
      CLOSE DATASET L_FILE.
      ENDIF.
    endform.                    " CHECK_FILES
    *&      Form  ADD_FILES
    Perform used to create the FI_POS_COMPLETE file on the server with a 0
    byte record
    form ADD_FILES .
      DATA : L_MSG(80) TYPE C,
             L_FILE   LIKE RLGRAP-FILENAME.
      CLEAR : L_FILE.
      CONCATENATE P_OPATH 'FI_POS_COMPLETE_' P_BUKRS INTO L_FILE.
      OPEN DATASET L_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
        TRANSFER SPACE TO L_FILE.
      ELSE.
        MESSAGE I055.
      ENDIF.
      CLOSE DATASET L_FILE.
    endform.                    " ADD_FILES

  • Urgent Help, Thanks to any with advice... (capturing HDV)

    Hello, my name is Justin. I am under the gun and have to turn in my final movie project this week. I have footage on my Canon XH A1, shot in HDV, 24F. When I capture to Final Cut Express 3.5, my footage is slightly fast. My audio is in real time but my footage is at about 115% percent. Needless to say this will not do. I tried all 3 HDV easy set up codecs. Help?
    Thanks for any advice...

    Hi Justin
    How were you capturing the video, off the same camera you shot on. Problems occur if you you shot on a panasonic and capture off a sony as an example. Shoot and capture off the same an you should not have a problem.
    A 2nd solution send the clip to the time line unlink the video and audio and slow down the video 1 or 2 percent at a time until there is a sync up. Might not work, but when in a bind any port in a storm!!
    I shoot HDV as FCE3.5 allows me to capture the whole tape and it creates clips were as this would not be so with sd. The Sony HVRA1 has guides for on the flipout screen and the viewfinder.
    Let me know if you come right!!
    Justin..Durban..South Africa

  • Incorrect Message format -- Urgent help needed.

    When I send a mssg from UCM Publish/Subscribe to JMS implemented on Weblogic it is recevied as a below mssg instead of the xml. The workflow being used is "UCM Person Customer Profile Integration SOAP Process"
    00000000: 3c3f 786d 6c20 7665 7273 696f 6e3d 2231 .?xml version."1
    00000010: 2e30 2220 656e 636f 6469 6e67 3d22 5554 .0" encoding."UT
    00000020: 462d 3822 3f3e 3c43 6f6e 7461 6374 0a3e F.8"?..Contact..
    Has anybody faced a similar issue or any clues why the mssg is not in xml format. Is there any configuration needed on my part to fix the above issue ?
    Please help.

    Have you looked at the link that I gave you in your earlier post shown below:
    http://forum.java.sun.com/thread.jsp?thread=426514&forum=57&message=1901238
    Or is this a school assignment that you simply clueless and want somebody to write a whole program for you?
    ;o)
    V.V.

  • Urgent help needed, can I restore N900 Backup file...

    i owned a N900 (now sold out)
    before selling i took backup of contacts from backup restore option in application section
    now i bought a N8 but i m not able to restore my contacts
    1. is there any way to restore them in N8?
    2. if not, can i convert them in TEXT or any readable format
    urgent help needed
    thanks in advance

    The backup procedures built into the phone are only designed for restoring to the same phone (ie: in case or data corruption, software update or repair etc.), they can't usually be used to restore to a phone with a different operating system.
    You should have backed up with Ovi Suite before selling the N900, that would have been able to restore to the N8.

  • Diagnostic Reporter Output Format?

    Hello; I've just begun working with the Diagnostic Reporter piece that comes with the StorEdge 3x00 software, and I've generated reports and notifications in both XML and non-XML format.
    I have no XML experience; when I receive the report in XML format, and I attempt to open in IE, it displays the XML coding for the report. If I open it in Firefox, it also displays the coding, but includes an error at the bottom saying that there "appears to be no style sheet" available for this XML file.
    If I use the non-XML format, the report comes in a jumbled plain-text format. Some sections are tidy enough to be read, others aren't.
    I've gone through Sun support, and the group that I was directed to stated that no one on their team has any experience with the Diagnostic Reporter tool.
    Does anyone have any tools or tips for how to read or reformat the Diagnostic Reporter output? Thanks!

    Hi,
    While defining Template you have defined the output format as pdf,so edit the template and output format Excel.
    Thanks & Regards
    Srikkanth

  • Query Output Formatting Help

    Hello All,
    I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
    Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank.  I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
    The concatenation code would be something like the below.
    Desired concatenation:
    emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
    I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
    I appreciate all your help!!! Thank you.
    Query
    SELECT EMPLOYEE, PREPARED,
    RANK() OVER (ORDER BY Prepared DESC) AS rank
    FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
          FROM employee
          LEFT OUTER JOIN faultreport USING (empno)
          GROUP BY lname
          ORDER BY Prepared DESC)
    WHERE rownum < 15;

    Hi,
    8bb7968b-e6ae-456c-8459-f418352e9e0a wrote:
    Hello All,
    I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
    Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank.  I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
    The concatenation code would be something like the below.
    Desired concatenation:
    emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
    I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    I appreciate all your help!!! Thank you.
    Query
    SELECT EMPLOYEE, PREPARED,
    RANK() OVER (ORDER BY Prepared DESC) AS rank
    FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
          FROM employee
          LEFT OUTER JOIN faultreport USING (empno)
          GROUP BY lname
          ORDER BY Prepared DESC)
    WHERE rownum < 15;
    It looks like you've found the right way to concatenate the columns.  How to use that in your query depends on your data, and what you want the query to do with that data.
    If you GROUP BY lname, what do you want the concatenated value to be when different rows having the same lname have different fnames and/or emp#s?
    Do you want to GROUP BY the new concatenated employee instead of lname?

  • Need to do a remote wipe of my iphone - stolen 24 hrs ago and . Need urgent help on this. Thanks - Pinaki

    Need to do a remote wipe of my iphone - stolen 24 hrs ago  Need urgent help on this. Thanks - Pinaki
    < Personal Information Edited By Host >

    Follow the steps in this article:
    iCloud: Erase your device
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud), then click Find My iPhone.If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.If you don’t see Find My iPhone on iCloud.com, your account just has access to iCloud web-only features. To gain access to other iCloud features, set up iCloud on your iOS device or Mac.
    Click All Devices, then select the device you want to erase.If you have Family Sharing set up, your family members’ devices appear below their names.
    In the device’s Info window, click Erase [device].
    To erase:
    An iOS device: Enter your Apple ID password. If the device you’re erasing has iOS 7 or later, enter a phone number and message. The number and message will be displayed on the screen after the device is erased.

  • Help : Complex Output Format

    Hi there
    Using Data in TAB_DTL for an APPID, I need to generate a Report in the following format.
    CREATE TABLE TAB_DTL
    APPDATE          DATE,
    AMOUNT          NUMBER(12,2),
    STATUS          VARCHAR2(1),
    RATE          NUMBER(5,2)
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '13/09/2011 10:50:45 AM','DD/MM/YYYY HH:MI:SS AM'), 500000, 'D', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '09/11/2011 1:15:30 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '15/12/2011 3:20:31 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '05/01/2012 10:25:11 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '02/02/2012 4:23:34 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '05/03/2012 11:15:45 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '30/03/2012 11:55:10 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
    INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '31/03/2012 11:59:00 AM','DD/MM/YYYY HH:MI:SS AM'), 470000, 'B', 13 );
    OUTPUT FORMAT :
    APPDATE                    DR          CR     BALANCE          ACCAMT     DAYS     CUMM     
    13/09/2011 10:50:45 AM          5,00,000.00     0     5,00,000.00     10301     58     10301
    09/11/2011 1:15:30 PM          0          5000     4,95,000.00     6330     36     16631
    15/12/2011 3:20:31 PM          0          5000     4,90,000.00     3655     21     20286
    05/01/2012 10:25:11 AM           0          5000     4,85,000.00     4823     28     25109
    02/02/2012 4:23:34 PM          0          5000     4,80,000.00     5456     32     30565
    05/03/2012 11:15:45 AM          0          5000     4,75,000.00     4218     25     34783
    30/03/2012 11:55:10 AM          0          5000     4,70,000.00     334     2     35117
    31/03/2012 11:59:00 AM          0          0     4,70,000.00     35117Logic for computation of A) DAYS : Difference in Days from the next succeeding Date
                   B) ACCAMT : Balance * (Difference in Days from the next Date) * Rate / Days in the Financial Year
    Using CASE / LEAD SQLs, can the same be accomplished.
    Thanks

    # If appdate is 31-MAR-YYYY and time portion is > 11:59:AM THEN we will treat it as 01-APR-2012 otherwise the we will ignore the timestamp of appdate
    SELECT TO_CHAR (tab_dtl_vw.appdate, 'DD/MM/YY fmHHfm:MI:SS AM') appdate,
           CASE
               WHEN round(tab_dtl_vw.dr,2) < 10000 THEN to_char(round(tab_dtl_vw.dr,2))
               ELSE TO_CHAR(round(tab_dtl_vw.dr,2),'FM99,99,99,99,99,99,99,999.00')
           END dr,
           CASE
               WHEN round(tab_dtl_vw.cr,2) <10000 THEN to_char(round(tab_dtl_vw.cr,2))
               ELSE TO_CHAR(round(tab_dtl_vw.cr,2),'FM99,99,99,99,99,99,99,999.00')
           END cr,
           CASE
               WHEN round(tab_dtl_vw.balance,2) <10000 THEN to_char(round(tab_dtl_vw.balance,2))
               ELSE TO_CHAR(round(tab_dtl_vw.balance,2),'FM99,99,99,99,99,99,99,999.00')
           END balance,
           tab_dtl_vw.days,
           CASE
               WHEN tab_dtl_vw.days IS NOT NULL THEN ROUND ((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100))
               ELSE SUM(ROUND((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100)))
                       OVER(ORDER BY tab_dtl_vw.appdate)
           END accamt,
           CASE
               WHEN tab_dtl_vw.days IS NOT NULL THEN SUM(ROUND((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100)))
               OVER(ORDER BY tab_dtl_vw.appdate)
               ELSE NULL
           END cummamt
    FROM
      ( SELECT appdate ,
                   CASE  WHEN status = 'D' THEN amount   ELSE 0  END AS dr ,
                   CASE   WHEN status = 'R' THEN amount  ELSE 0  END AS Cr ,
                   SUM (amount * CASE WHEN status = 'D' THEN 1 WHEN status = 'R' THEN -1 END) OVER (ORDER BY appdate) AS balance ,
                   CEIL (LEAD(appdate) OVER (ORDER BY appdate) - appdate ) AS days ,
                   rate ,
                   CASE 
                       WHEN (appdate >= '01-APR-' || TO_CHAR(appdate,'YYYY')  AND
                       TO_CHAR(LAST_DAY('01-FEB-' || (TO_CHAR(appdate,'YYYY') + 1)),'DD-MON') = '29-FEB')
                              THEN 366
                        WHEN TO_CHAR(LAST_DAY('01-FEB-' || TO_CHAR(appdate,'YYYY')),'DD-MON') = '29-FEB'
                               THEN 366
                        ELSE 365
                    END daysinyear
           FROM (SELECT CASE WHEN (TO_CHAR(TRUNC(APPDATE),'DD-MON') = '31-MAR' AND APPDATE > TRUNC(APPDATE - 1/2 - 60/86400)) THEN TRUNC(APPDATE) +1 ELSE TRUNC(APPDATE) END appdate,
                        status,
                        amount,
                        rate
                  FROM  tab_dtl
         ) tab_dtl_vw
    ORDER BY tab_dtl_vw.appdate ASC
    Output
    APPDATE              DR         CR         BALANCE                                        DAYS     ACCAMT    CUMMAMT
    13/09/11 12:00:00 AM 5,00,000.0 0          5,00,000.00                                      57      10123      10123
    09/11/11 12:00:00 AM 0          5000       4,95,000.00                                      36       6330      16453
    15/12/11 12:00:00 AM 0          5000       4,90,000.00                                      21       3655      20108
    05/01/12 12:00:00 AM 0          5000       4,85,000.00                                      28       4823      24931
    02/02/12 12:00:00 AM 0          5000       4,80,000.00                                      32       5456      30387
    05/03/12 12:00:00 AM 0          5000       4,75,000.00                                      25       4218      34605
    30/03/12 12:00:00 AM 0          5000       4,70,000.00                                       2        334      34939
    01/04/12 12:00:00 AM 0          0          4,70,000.00                                              34939
    {code}
    Edited by: Himanshu Binjola on Apr 24, 2012 11:18 AM
    Edited by: Himanshu Binjola on Apr 24, 2012 11:20 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    I can't get volume on Main Output to work correctly with controllers on my keyboard. It's either all on or all off. Works fine for individual instruments (thought it lumps them all together) but not for main volume output on concert. Thanks for any help.

    Hi
    frodojon wrote:
    I either didn't do the correct mapping sequence before or I'm starting to wonder if it has something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.
    All this sounds like you are confused about the general nature of MIDI Continuous Controllers (MIDI CC). The MIDI specification allows for 128 different CC's: CC0 to CC127. Some are typically "preallocated" to 'standard functions: CC1= Modulation, CC7=Volume, CC10+Pan, CC11= 'Expression'. Some act as switches such as 'Sustain' CC64.
    frodojon wrote:
    Everything appears to be scaled from -63 to +64 if that's what you mean by scaling?  What do you mean by MIDI CC7?
    Mainstage works with MIDI CC's generally in a number of ways:
    Some standard ones are automatically passed through to all MIDI/Instrument channels unless you specifically block them. Others are not passed through unless you specifically map them to something.
    This mapping can be done basically two ways (with MS 2.2):
    a) Make a Screen Control in Layout mode, and assign it to a particular incoming MIDI CC message. Then, you can map this Screeen Control to a variety of parameters such as the volume of a particular channel strip.
    b) With MS 2.2, you can do the above Assign and Mapping directly, without the need for Screen Controls as an 'intermediary'.
    frodojon wrote:
    something to do with my keyboard which has the expression pedal set to the same volume control as the mod wheel.  I
    Yes.
    It sounds to me like you have an issue where you have several hardware controls on your Keyboard set up to transmit the same MIDI CC. This is probably not a good idea, and it would be much better if you assigned them to transmit different CC messages (CC1 for Modulation and probably CC11 for the Expression (though you may want to set the pedal to some other number instead.
    Once you are transmitting different CC messages, you will be able to Assign and Map much more flexibly:
    for example, you could one to control the overall output volume at Concert Level in MS, whilst the other controls the volume of a specific channel within a Patch.
    Your issue of layered patches is one of "Scaling": one Screen Control (assigned to an incoming MIDI CC message) needs to alter the ranges of different channel strips to different amounts. You can set this up by using multiple mappings for one Control, each set to work over a particular range (for example a goes from -20 to 0 whilst b goes from -30 to -20 etc.).
    hth
    CCT

  • Help deciding best output format and workflow to obtain it.

    I’ve volunteered to create a class video for my son’s school.  The majority of my source footage (~80%) is DV NTSC 720x480i 16:9 29.97 fps shot on a Sony DSR-PDX10.  The remainder consists of 1920x1080p 59.941 fps, 1280x720p 119.89 fps, and 1280x720p 59.941 fps, all shot with a GoPro 3.  I need to deliver the final product on discs to the students/parents, though I can be flexible as to whether it is SD DVD or HD Blu-Ray.  I have Adobe CS6 Production Premium suite of applications and I’m not opposed to purchasing other products/add-ons in the couple of hundred dollar range if they’d be of a significant help.
    I’m trying to figure out what output format would give the best quality and the workflow to achieve it.  I’ve been perusing the internet looking for help, but it has gotten a bit overwhelming and there doesn’t seem to be a definitive answer out there.
    I’m wondering since most of my footage is 720x480i, should that be my output format and just down-convert or crop the HD footage.  Or since most folks will be viewing on HDTV’s (which would up-convert an SD-DVD anyhow), should my output format be HD and should I up-convert the SD footage myself.  In any case, when and how should I do the up/down converting, interlacing/de-interlacing, and converting to/from square/non-square pixels (before importing into Premiere, on the timeline, with 3rd party converters, on export or in Encore with AME, etc).
    Any advice or suggestions would be most certainly appreciated.

    If most of the footage is SD, I'd just make the call to work SD and go out to DVD. You shouldn't have too much of an issue using the GoPro footage on an SD timeline I don't think. Just keep an eye on your frame edges and scale up if the PAR mixing is introducing any letter/pillarboxing.
    But I wouldn't export out in DV AVI format for your final export. DV AVI is quite lossy. Sure, most of your footage is already DV, but if you're adding any titles they'll get really gunked up. Instead, go directly out of Premiere into your DVD formats (MPEG2-DVD with NTSC DV Wide preset).

  • [URGENT HELP NEEDED] Premiere Pro CS6 failed rendering

    Hello!
    I`ll try to make this quick because I need help asap. I`ve been starting to make YouTube gaming videos 3 weeks ago and my channel is growing up pretty fast. I promised I would make a video everyday but it`s been a full week since I couldn`t upload because I was busy and when I tried to render it failed.
    Anyway here`s how it goes.I`ve recorded with fraps some gameplay footage with the resolution of 1360x706. One of my friends reccommanded me Adobe Premiere Pro for editing so I`m using the trial version of CS6. I create a new project and choose a format of 720 25 (cant really remember the exact name). I then import my recorded files and when I place them in the sequence it tells me the resolution is different and asks me if I want to change the sequence settings according to the files. Usually, I ignore it and when I export the Media I just tick the option: "Scale to Fill" and that usually works just fine, quality HD on YT...
    But this week it has driven me crazy, I really don`t want to explain how much stress and dissapointment this has caused to me because I think I`ll end up raging...I`ll just tell you I`ve been trying for a couple of days more than 7 time to render the project(each time it takes about an hour and a bit more, so let`s just call it 7 hours wasted). The problem actually is that when I check the output file after exporting the media, the file size is ONLY 24 bytes!!! Other times the file size gets to like half of the one that should be or less, but mainly the render even so takes up a normal length of time of processing but in the end the file is only 24 bytes..Thing is I don`t encounter any error whatsoever...
    I really need some urgent help!
    Thanks!

    1st, some FRAPS information
    These are for Premiere Elements, but may help with PPro
    Fraps & Elements http://forums.adobe.com/thread/871095
    -and more Elements http://forums.adobe.com/thread/943772
    -and yet more Elements http://forums.adobe.com/thread/967201
    2nd, it is REALLY better to have your project sequence match your video
    Please NOTE that the PPro CS6 screen may look a bit different (I use CS5)
    For CS5 and later, the easy way to insure that your video and your project match
    See 2nd post for picture of NEW ITEM process http://forums.adobe.com/thread/872666
    -and a FAQ on sequence setting http://forums.adobe.com/message/3804341

  • Urgent Help required! - Storing the XML as String instead as a file

    Hi,
    I need urgent help on this.
    I have an XML file. I have used org.w3c.dom to build dom and manipulate the XML file.
    I have updated the values for some of the nodes and I have deleted some of the unwanted nodes.
    I am able to save the output of the DOM as another XML file using
    either transform class or XMLSerializer with OutputFormatter class.
    But my requirement is to save the output of the DOM into a String instead of a file.
    When I save it in String, I need to have the following XML decalration and DOCTYPE declration also with it.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE Test SYSTEM "Test.dtd">
    Can anyone pls help me in this??
    Thanks in Advance. Expecting some inpputs pls....!
    Regards,
    Gayathri.

    hi,
    i think this is what u want
        public static String getXmlString(Document d) {
          StringWriter strResponse = null;
          try {
             OutputFormat format  = new OutputFormat(d);
             strResponse = new StringWriter();
             XMLSerializer serial = new XMLSerializer( strResponse, format );
             serial.asDOMSerializer();
             serial.serialize(d.getDocumentElement());
          catch (Exception e) {
            System.out.println(e.toString());
          return strResponse.toString();
    }HTH
    vasanth-ct

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • Urgent : Help with XSD

    We are tring to syndicate the vendor numbers only from vendor repository in xml format. I created an XSD for the same. See the XSD below :
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="Vendor" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="Vendors">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="LIFNR" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    XSD validates fine and generates an output from syndicator, but the problem that we face is that this is creating 1 file for each vendor record. We want a consolidated file. I know I am missing something but cannot make it to work.
    I tried to put the unbounded parameter in <xs:element name="Vendors"> but that makes the XSD invalid.
    Need urgent help on this.
    Thanks

    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:element name="Vendors">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Vendor" type="Vendor" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="Vendor">
              <xs:sequence>
                   <xs:element name="LIFNR" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>

Maybe you are looking for