Output not coming properly in SF

Hi all,
This is the select stmt i have written in the Program lines of Smartform.
SELECT  VKORG  VBELN  FKTYP  VTWEG
               FROM VBRK
               INTO TABLE ITAB
               WHERE  VBELN BETWEEN '0090022987'   AND
               '0090023500'.
but i am geting the output like this, even though i have all the records
in the VBRK  Table.
VKORG      VBELN               FKTYP             VTWEG
                 0090022987          1
                 0090022988          R
                 0090022989          R
                 0090022990          R
                 0090022991          R
But the Actual values of  FKTYP are
1000 ,but in the output it is appearing as 1
R300, but in the output it is appearing as R.
and rest of fields(vkorg vtweg) are not displaying.
What could be the cause of Error ?
Thanks in advance
Krupali...

Hello KR
Check your table or template cell width . Make them wider.
This is surely happening because of your table/template's cell size. Make it more broder so that the values and text doesn't break.
Regards
Swetha
Edited by: Swetha on May 28, 2008 7:39 AM

Similar Messages

  • Invoice output not coming properly

    Dear Experts,
    I have maintained condition record for the billing type and assigned it to the printer. Some of the invoices output are coming properly but for 4 to 5 invoices, print out prview is just skipping and when I click for printing, the system throws an error  " output could not be issued" and the error is in green colour.  I am not able to understand the reason behind it.
    Can anybody help me out to solve the issue please.
    Thanks & Regards,
    Reji

    Dear Reji,
    T. Code: VF02/ VF03
    Key-in your Invoice No. and Don't hit "enter".
    On to the same Page, from Menu-bar, Click: Billing Document --> Issue Output to
    A Window: Output Output, will pop-up.
    Here, select the Output-line and Click Icon: Print Preview
    Now, you would able to see Invoice Preview, providing Output Condition record is maintained.
    If still, Invoice Preview doesn't appear, on to the same window: Output Output, Click Tab: Print Options.
    Another Window will pop-up. Here, maintain Output Device (say, LP01) and tick Box: Print Immediately, and OK.
    Again Select Output line and Click: Print Preview.
    Best Regards,
    Amit

  • WBS element output not coming properly .

    Hi ,
    I have a customized report with , project(proj-pspid) ,wbs element( prps-posid) as selection parameters . The output is coming preperly when project is given as output but is not coming properly when wbs element is given as input. I am using PSJ logical database . Not sure why in debugging while giving only wbs element it is going to 'Conversion_exit_abpsn_input' instead of teh conversion exit 'Conversion_exit_abpsp_input' . Any idea on how it can be resolved?

    Hi,
         Please refer the WBS element to PSPNR (PRPS-PSPNR) instead of prps-posid ,
         prps-posid refers to exit 'Conversion_exit_abpsn_input' and not 'Conversion_exit_abpsp_input'.
    Regards,
    Srini.

  • Content Not Coming Properly after converting a Smartform to PDF.

    I am converting a smartform into PDF format using CONVERT_OTF .
    This smart form will be triggered from the portal at the occurance of an event .After Conversion some texts are properly outputted in the PDF but some texts which are in  arabic are not coming properly ( shows some junk data in a language other than Arabic).
    Can any give a Solution ??
    Thanks
    Chaitanya Sharma
    Edited by: chaitanya  sharma on Jan 28, 2009 2:15 PM

    hi
    try using this fm CONVERT_OTF_2_PDF
    hope this helps
    regards
    Aakash Banga

  • DATA not coming properly

    Hi ,
    I have a customized report which uses the logical databse PSJ. It has project, wbs element(prps-posid) in the selection screen. When I give input to the project , the output is coming properly with the field(WBS element), but when I give the output WBS element as input in the field , it is retrieving some more data . I went into debugging and found that while retrieving posid from prps table , it is retrieving the value '############' due to which the output has more than the records that should be . Anyone has come across  this scenario, please reply .
    Thanks in advance.

    I assume that the change is present in the PSA. If so is it just one field that is changing or multiple fields. ?
    Also make sure the PSA is empty before loading.
    Asif

  • Condition value in billing not coming properly.

    Hi All,
    We have an issue wherein the condition value in billing document is not coming properly.
    When qty is multiplied by the price the value should come as 208.04 ( 54.51 * 4 qty ), but the condition value is coming as 16.77.
    We checked but could not find any proper reason for this.
    When checked in details of condition type, we can see the Condition Origin as manually entered, but we are ot ale to trace the changes and also who entered the condition manually.
    Kindly advise on the issue as it

    Hi Mr. Satish,
    I agree with Mr. Rajesh and for your 2nd question.
    We can easily track down who entered the condition type in order
    there are two possiblities
    Either user who created the order, enter that condition type, that will not recorded in the changes so you can see the user id at header level--> on sales data page "Created by"
    If some other user come in VA02 and enter the condition type then you can see it in
    Go to Menu "Enviroment" --> Click at changes --> your document number is there --> Execute and see who entered it
    Regards
    MT

  • Theme not coming properly

    Hi Experts,
    We are having Federated Portal and the custom theme XYZ is developed in Consumer Portal. The ESS/MSS iviews are linked through Remote Role Assignment from Producer portal.
    The theme is not coming properly. From Mashead to Top level navigation the theme XYZ is coming correctly but when I opens the page having iviews then the iView Tray is showing the SAP Standard theme and the content in the iView is sometimes taking correct XYZ theme.
    I have cleared Federated cache, navigation cache and also cookies, but still it is not coming properly.
    When I view source iView then
    <html><head><LINK REL=stylesheet HREF="/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/sap_standard/prtl_std/prtl_std_ie6.css?7.1.6.0.0">
    Please suggest.
    Regards,
    Deep

    Try by re-starting the portal.
    This is rarely necessary when dealing with the SAP Portal theme.
    The advice from Sushil looks more like the solution as it is common to not upload the consumer portal theme in the producer portal. Because in an FPN the producer theme will be used when the consumer theme isn't found:
    [SAP Note 880482|https://service.sap.com/sap/support/notes/880482]
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/9f2d4293825333e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/06f6dc000a5a68e10000000a1553f7/content.htm
    "If you are using custom made themes or have modified any of the out-of-the-box themes on the consumer portal, an administrator must manually import these themes to the producer portal. "
    Next source of problems with themes is when your consumer and producer are on a different version (specifically when the producer is on a higher SPS or EHP) even when the consumer theme was imported into the producer.
    br,
    Tobias

  • Smart form -Right Alignment is not coming properly

    Hi Folks,
    While Printing Smart form for Invoice ,using right aligned Paragraphs  texts are not coming properly.....but  using left aligned paragraphs text  are coming proporly....we want both left aligned and right aligned in same table ...for print preview it showing fine but while taking the print out it comes like this
    for eg:  ---
    Net amount
    1,000.00
          750.00
    2,000.00
            40.00
          100.00
          300.00
    30,000.00
    O/P showing like this ....i have checked all the options in right aligned paragraph but no use
    Kindly help ....
    Edited by: bismilpk on Dec 26, 2010 2:31 PM

    yes .....I solved....got the answer

  • Logo is not coming properly while mailing the script

    this is my code..
    m converting script output to pdf and sending as attachment... my pdf conatains LOGO.. when i received the mail,text is coming properly but LOGO is not getting printed properly..
    pls suggest any solution to this...
    thanking u in advance...
    *& Report  ZZGBTEST_PDF
    REPORT  ZZGBTEST_PDF.
    TABLES: PA0105.
    DATA: LF_FM_NAME TYPE RS38L_FNAM.
    DATA: WA_CTRLOP TYPE SSFCTRLOP,
          WA_OUTOPT TYPE SSFCOMPOP,
          WA_STXH LIKE STXH.
    DATA: T_OTFDATA TYPE SSFCRESCL,
          T_PDF_TAB LIKE TLINE OCCURS 0 WITH HEADER LINE,
          T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
    DATA : T_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
           W_FILESIZE TYPE I,
           W_BIN_FILESIZE TYPE I.
    *OBJECTS TO SEND MAIL.
    DATA :  I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
            I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            I_OBJBIN LIKE SOLIX OCCURS 0 WITH HEADER LINE,
            I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
            I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            W_OBJHEAD TYPE SOLI_TAB,
            W_DOC_CHNG TYPE SODOCCHGI1,
            W_BUFFER TYPe STRING. "TO CONVERT FROM 132 TO 255.
    DATA : V_LINES_TXT TYPE I,
           V_LINES_BIN TYPE I.
    SELECTION-SCREEN BEGIN OF BLOCK SCR WITH FRAME TITLE TEXT-900.
      SELECT-OPTIONS: MAILTO FOR PA0105-USRID_LONG NO INTERVALS.
      PARAMETERS : WDATE LIKE SY-DATUM DEFAULT SY-DATUM,
                   TESTRUN AS CHECKBOX .
    SELECTION-SCREEN END OF BLOCK SCR.
    DATA: DATAB TYPE TABLE OF ITCOO WITH HEADER LINE,
          PDFTAB TYPE TABLE OF TLINE WITH HEADER LINE,
          BINFILESIZE TYPE I.
    DATA: FNAME TYPE STRING,
          FPATH TYPE STRING,
          FULL_PATH TYPE STRING.
    DATA: STRUCT TYPE ITCPO.
    START-OF-SELECTION.
    WA_CTRLOP-GETOTF = 'X'.
    WA_CTRLOP-NO_DIALOG = 'X'.
    WA_OUTOPT-TDNOPREV = 'X'.
    STRUCT-TDDEST   = 'LP01'.
    STRUCT-TDNOPREV = 'X'.
    STRUCT-TDGETOTF = 'X'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       DEVICE                            = 'PRINTER'
       DIALOG                            = SPACE
       FORM                              = 'ZGBTEST'
       LANGUAGE                          = SY-LANGU
       OPTIONS                           = STRUCT
    EXCEPTIONS
       CANCELED                          = 1
       DEVICE                            = 2
       FORM                              = 3
       OPTIONS                           = 4
       UNCLOSED                          = 5
       MAIL_OPTIONS                      = 6
       ARCHIVE_ERROR                     = 7
       INVALID_FAX_NUMBER                = 8
       MORE_PARAMS_NEEDED_IN_BATCH       = 9
       SPOOL_ERROR                       = 10
       CODEPAGE                          = 11
       OTHERS                            = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'MAIN'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    TABLES
       OTFDATA                        = DATAB[]
    EXCEPTIONS
       UNOPENED                       = 1
       BAD_PAGEFORMAT_FOR_PRINT       = 2
       SEND_ERROR                     = 3
       SPOOL_ERROR                    = 4
       CODEPAGE                       = 5
       OTHERS                         = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF..
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       FORMAT                      = 'PDF'
    IMPORTING
       BIN_FILESIZE                = BINFILESIZE
      TABLES
        OTF                         = DATAB[]
        LINES                       = T_PDF_TAB[]
    EXCEPTIONS
       ERR_MAX_LINEWIDTH           = 1
       ERR_FORMAT                  = 2
       ERR_CONV_NOT_POSSIBLE       = 3
       ERR_BAD_OTF                 = 4
       OTHERS                      = 5
    IF SY-SUBRC EQ  0.
    MESSAGE 'SCRIPT SUCCESSFULLY CONVERT IN TO PDF' TYPE 'I'.
    ENDIF.
      LOOP AT T_PDF_TAB.
    REPLACING SPACE BY ~
        TRANSLATE T_PDF_TAB USING ' ~'.
        CONCATENATE W_BUFFER T_PDF_TAB INTO W_BUFFER.
      ENDLOOP.
    REPLACING ~ BY SPACE
      TRANSLATE W_BUFFER USING '~ '.
      DO.
        I_RECORD = W_BUFFER.
    APPENDING 255 CHARACTERS AS A RECORD
        APPEND I_RECORD.
        SHIFT W_BUFFER LEFT BY 255 PLACES.
        IF W_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    REFRESH : I_RECLIST, I_OBJTXT, I_OBJBIN, I_OBJPACK.
    CLEAR W_OBJHEAD.
    OBJECT WITH PDF.
      I_OBJBIN[] = I_RECORD[].
      DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
    MAIL TEXT TO BE FILLED UP HERE
      SELECT SINGLE TDID TDSPRAS TDNAME TDOBJECT FROM STXH INTO
      CORRESPONDING FIELDS OF WA_STXH
        WHERE TDOBJECT ='TEXT' AND TDNAME = 'ZGBTEST'.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
           CLIENT                        = SY-MANDT
            ID                            = WA_STXH-TDID
            LANGUAGE                      = WA_STXH-TDSPRAS
            NAME                          = WA_STXH-TDNAME
            OBJECT                        = WA_STXH-TDOBJECT
          TABLES
            LINES                         = T_LINE.
        LOOP AT T_LINE.
          I_OBJTXT = T_LINE-TDLINE.
          APPEND I_OBJTXT.
        ENDLOOP.
      ENDIF.
      DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
    DOCUMENT INFORMATION.
      W_DOC_CHNG-OBJ_NAME = 'FORM'.
      W_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
      W_DOC_CHNG-SENSITIVTY = 'F'. "FUNCTIONAL OBJECT
      W_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    PACK TO MAIN BODY AS RAW.
    OBJ. TO BE TRANSPORTED NOT IN BINARY FORM
      CLEAR I_OBJPACK-TRANSF_BIN.
    START LINE OF OBJECT HEADER IN TRANSPORT PACKET
      I_OBJPACK-HEAD_START = 1.
    NUMBER OF LINES OF AN OBJECT HEADER IN OBJECT PACKET
      I_OBJPACK-HEAD_NUM = 0.
    START LINE OF OBJECT CONTENTS IN AN OBJECT PACKET
      I_OBJPACK-BODY_START = 1.
    NUMBER OF LINES OF THE OBJECT CONTENTS IN AN OBJECT PACKET
      I_OBJPACK-BODY_NUM = V_LINES_TXT.
    CODE FOR DOCUMENT CLASS
      I_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND I_OBJPACK.
    PACKING AS PDF.
      I_OBJPACK-TRANSF_BIN = 'X'.
      I_OBJPACK-HEAD_START = 1.
      I_OBJPACK-HEAD_NUM = 1.
      I_OBJPACK-BODY_START = 1.
      I_OBJPACK-BODY_NUM = V_LINES_BIN.
      I_OBJPACK-DOC_TYPE = 'PDF'.
      I_OBJPACK-OBJ_NAME = 'FORM'.
      I_OBJPACK-OBJ_DESCR = 'temp.PDF'.
      I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255.
      APPEND I_OBJPACK.
    DOCUMENT INFORMATION.
      CLEAR I_RECLIST.
      CLEAR I_RECLIST[].
    E-MAIL RECEIVERS.
    LOOP AT MAILTO.
      I_RECLIST-RECEIVER = MAILTO-LOW.
      I_RECLIST-EXPRESS  = 'X'.
      I_RECLIST-REC_TYPE = 'U'. "INTERNET ADDRESS
      APPEND I_RECLIST.
    ENDLOOP.
    SENDING MAIL.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = I_OBJPACK
          OBJECT_HEADER              = W_OBJHEAD
          CONTENTS_HEX               = I_OBJBIN
          CONTENTS_TXT               = I_OBJTXT
          RECEIVERS                  = I_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      IF SY-SUBRC = 0.
        WRITE :/ 'MAIL SENT SUCCESSFULLY...'.
      ENDIF.
    *CALL METHOD cl_gui_frontend_services=>FILE_SAVE_DIALOG
      CHANGING
         FILENAME = FNAME
         PATH = FPATH
         FULLPATH = FULL_PATH.
    *CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
       BIN_FILESIZE                    = BINFILESIZE
       FILENAME                        = FULL_PATH
       FILETYPE                        = 'BIN'
    TABLES
       DATA_TAB                        = PDFTAB[]
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    *IF SY-SUBRC <> 0.
    MESSAGE 'Error !!!' TYPE 'E'.
    *ELSE.
    MESSAGE 'PDF FILE SUCCESSFULLY DOWNLOADED ...!!!' TYPE 'I'.
    *ENDIF.

    Hi Sagar,
    In scripts when you will see print preview the logo will be not shown up with clarity.Take the print out of the document and check whether logo is printing up with clarity.
    Thanks
    Phani

  • Barcode in PDF output not coming in Oracle R12.1.3

    Hi,
    We have a rtf template for Invoice report. In this report we have to display barcode in PDF output. In our development instance barcode is coming properly. But in our test instance barcode is not coming(same template is available in Development and Test instance).
    We are using wocrb.ttf and w128l.ttf font files and we have these files available at $OA_JRE_TOP/lib/fonts path.
    Also, we have config file available on $OA_JRE_TOP/lib directory. and this config file has correct path of both the font files.
    Still the barcode is not coming in Test instance.
    Request you all to please help me with this issue.
    Thanks,
    SA

    PDF requires the font be registered correctly, since it is not appearing you have missed something in your configuration.
    The most common error is the font family name does not exactly match the font name in Word. (Open the font on your PC and the name is present there also.)
    You can use the xdodebug.cfg troubleshooting method,  then see what error appears in the xdo.log when the font is accessed.
    See the following note for xdo.log:
    Note 364547.1 : Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    Thank you
    Eugen

  • Delivery date is not coming properly in PO Printout

    Hi,
    I have a problem in PO Printout that Delivery date is not coming properlyu2026In my PO, there are 5 line items. 
    If the Delivery date of all line items are same like 01.04.2009, then Delivery date should be shown 01.04.2009 in PO printout.. IT IS COMING RIGHT.
    But if the Delivery Date of all line items are different like 01.04.2009, 02.04.2009, 03.04.2009, 04.04.2009 and 05.04.2009. Then Delivery Date should be shown with the each line items in PO print out. THIS IS NOT SHOWING IN MY PO PRINT OUT.
    Please tell me what is the problem. Why not coming Delivery date with each line items???
    Regardsu2026

    currently i dont have SAP installed with this system, so i just suggesting you some thing.
    goto tcode: nace.
    select your output type. check the processing routines. check the smartform and processing routines attached to it. and see how the field is getting populated and what fields are being passed there.

  • Satellite Pro U200: VGA output not working properly when AC adapter was connected

    Hi,
    I have a problem with vga output. When I'm working on battery and connect my notebook to external monitor it's ok, but when I connect AC adaptor then start waving also bluetooth and wlan does not work properly. In other case when I remove battery from notebook and connect AC adaptor it works properly.
    thanks in advance

    As long as you use a CRT you should set the refresh rate new, at least 85Hz. Standard is 60Hz as far as I know, and that hurts in your eyes.
    The wireless lan behaviour is quite normal as long as your not right next to the access point. On battery power the wireless lan card reduces its energy consumption thus the connection will be poor if you dont have a perfect signal. You can turn this off in the iNTEL Pro/SET wireless software, where you can configure the adaptor. Try to change the powersafe mode to manual and full power, this should solve your problem.

  • Return order value is not coming properly

    Hi All,
    In Export Pricing Procedure we manually enter value for Freight and Insurance.For both condition types in V/06 we have maintained Fixed Amount in Calculation Type.So in  the  sales order condition screen Pricing is like
    Ordered Qty 10  pc
    Price         USD 100 (Entered manually)
    Freight      USD 10 ( entered manually)
    Insurance USD 20 (entered manually)
    Total order  Value is USD 120.Here price per item is 12 USD
    Now when we create a return order for 5 pc wrt above invoice, Freight and Insurance is not calculated properly.
    The system is calculating like
    Price         USD 50
    Freight      USD 10
    Insurance USD 10
    Total Credit Memo/returm order amount is 70 USD.And return price/item is 14 USD.
    Here the system calculate Freight and Insurance value by dividing the original value(10 USD 0r 20 USD / return qty.(5pc).
    But in the above process the return order value should come 60 USD.So what settings do we need to get the value 60 USD.
    Regards
    Debasish

    Dear Raj,
    Thanks for the reply.I am giving you a brief idea abt the PP and condition types.(For Freight and Insurance ).
    For Freight  condition type
    condition class  A
    calculation type B
    Condition Category F
    No Access sequence is assigned
    For Insurance Condition Type
    Condition class A
    Calculation Type B
    Condition Category C
    No Access sequence is assigned
    In PP for both my condition types manual, mandatory and statistics has not been checked.No From To step is maintained.
    Coming to your query can you pls elaborate how did u calculate  Freight 2 + insurance 4  and the final value should be 56 usd.
    Now in my first invoice the  invoiced qty was 10 . Freight value was 10 and Insurance value was 10(for the total invoiced qty).
    Now when i create return order  for 5 qty the system should calculate proportionately.I mean Insurance value should be 5 usd and freight value should be 5 usd.So price is (for 5 qty) 50 usd + Insurance 5 usd + freight 5 usd= 60 usd
    If i am wrong then pls correct me.
    Regards
    Debasish

  • File read write program output not coming correct

    this code is compiling without issues but the output is not what i am expecting .. the contents of delta.txt are as follows
    *4014254420*
    *2897449776*
    *4207405601*
    and the output thats coming is
    +4014254420+
    +40142544204207405601+
    +4207405601+
    its not reading the 2nd line somehow
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.File;
    import java.io.*;
    import java.io.FileWriter;
    import javax.swing.*;
    import java.util.Scanner;
    public class testloop
              static int i;                                             
               static char c;                                               
               static int j = 1;     
                    static String filename;                                                  
      public static void main(String[] args)  throws IOException 
    try {
         FileReader fmi = new FileReader("delta.txt");
         FileWriter fmo = new FileWriter("Updated.txt");
         BufferedReader br = new BufferedReader(fmi);
                   String temp=null;
                        do{
                        temp = br.readLine();
                        if(temp.startsWith("*"))
                             String tempc = temp.substring(1);                         
                             System.out.print(tempc+"\n");
                            long tp = Long.valueOf(tempc);
                             System.out.print(tp);                    
                   else
                   fmo.write(temp);
                        }while((temp=br.readLine()) != null);
                   fmi.close();
                   fmo.close();
                   }catch (FileNotFoundException e){ System.out.print("not found");     }
                   catch (IOException e){System.out.print("io"+e);
                   e.printStackTrace();
        also if i use the following delta.txt
    **4014254420*
    **2897449776*
    **4207405601*
    mmm+
    i get the output as
    +4014254420+
    +40142544204207405601+
    +4207405601Exception in thread "main" java.lang.NullPointerException+
    at testloop.main(testloop.java:33)*
    its not writing the text to the file updated.txt
    Edited by: adhiraj on Nov 27, 2007 6:58 AM

    You are getting the next line twice.
    do{
                        temp = br.readLine();
                        if(temp.startsWith("*"))
                             String tempc = temp.substring(1);                         
                             System.out.print(tempc+"\n");
                            long tp = Long.valueOf(tempc);
                             System.out.print(tp);                    
                   else
                   fmo.write(temp);
                        }while((temp=br.readLine()) != null);You need to change your code around so that you only call
    temp=br.readLine();once per iteration of the loop.

  • Smartforms Printing not coming properly in dot matrix printer

    Hi Gurus,
    We have implemented invoice printout using smartforms and required to use the dot matrix printer for printing.
    We are now facing the problem on the printout from dot matrix is different from the preview we get in the system. But the printout from Laser Jet is coming out correctly for the same smartforms.
    We are using EPSON DLQ3000 and we configure the output device using EPESCP2 as the Device Type. The problem is font size of the print out is all printed as courier size 12, but there are different font sizes in the smartforms.
    But when we use local printing (using SAPLPD), there is no problem, all different font size is printed.
    If we using to same output device to print some sapscript, everything is working well. Font size will print accordingly to the preview of the sapscript.
    Do you have any idea of the problem that we have. Thanks for your help.
    Regards,
    Lee Shi

    Dear Lee,
    Ideally the printout should come as it is shown in the preview.I remember once it had happened with me too.But in my case there is no problem with the settings at SAP level.When we checked we found the problem is with the printer cartridge.
    We co-ordinated with the system administrator and n/w guys.They in turn change the cartridge and issue was fixed.
    PS:In my case all SAP printout were coming properly except the smartforms.
    Regards,
    Ashutosh
    Edited by: ashutosh singh on Aug 18, 2008 10:20 AM

Maybe you are looking for

  • Problem with porcess chain and request

    Hi experts, I need help!! Description of the problem: There are three ODS that load daily information through process chain to a Infocubo. The information is loaded to BW from View generated for a data base of Oracle. Process chain for the three ODS

  • Automator in Lion not working as before in 10.6/10.5

    Hai! Asking Google it seems I am the only having problems with Automator post upgrade from 10.6.8 to 10.7.1. I have a workflow used as a folder action that should print PDFs downloaded to the downloads folder and with a certain file naming scheme to

  • Problem with note 407975

    Hello, I'm tried to follow the steps of note 407975, to apply  the enhancement MM06E005. In that document specify that some EXITS of the enhancement, are in the INCLUDES listed below. EXIT_SAPMM06E_006 --> LXM06F36 EXIT_SAPMM06E_007 --> LXM06F38 EXIT

  • Lumia 620 invalid IMIE

    I purchased Lumia 620 from Flipkart 2 days back. I wanted to enter into FCB contest and sent message to 55555 with IMEI and name. I received return message saying my IMEI is incorrect. What is the problem with my phone? I checked IMEI tracker in web,

  • Adobe needs to be more helpful

    Just bought Premier CC. I used Premier back in the days when it was on 3.5 inch floppies and decided to move on from FCP. I'm trying to use it on an i7 Sony laptop with cuda. Technically, it seems to be a good system with a horrible interface. Adobe