Display problem in script out put

Hi Experts,
I have a quantity field in my print program.Say i have 60.000 value for that.
But in the script output it is displayinga as 60,000 .
Instaed of  '.' it is taking ',' in the output
So how to resolve this?
Regards

Hi,
I have gone through the answer of K.Karan.
There is no doubt the best method to do.
I am attaching a small code for that::::
DATA: lv_test1  TYPE char10 VALUE '60,000'.
REPLACE ',' WITH '.' INTO lv_test1.
WRITE: lv_test1.
First it will have a value like 60,000
then it will have a value 60.000.
I had a similar requirement in smartform.
There I have used ' SET COUNTRY '<country code>''
This will set the printing standard in the country code specific format.
The format for printing for a specific country is given in the table T005X.
Rewards points if found useful.
Thanks
Abhijit

Similar Messages

  • Problem with Input out put parametes of IViews in callable objects

    Dear Friends,
    I have designed model which contains 2 IViews
    Apply leave IViews
    Approve leave Iviews
    In both the cases i have exposed the in & out parameters using start & end point.
    Finally deployed in portal successfully
    Guided procedures ->Design Time
    I have created folder
    when i create callable objects using this IViews , i dont see the input & out put parameters exposed in context parameters tab for this IView.
    Any step i missed.
    Regards
    shekar Chandra

    HI Nishi
                struck up with minor problem,
    We have a application designed in VC.It contains
    Create request
    Approve Request(approve or reject buttons)
    IF approved then
    a.Book Request IView
    b.Summary Iview
    If Rejected then
    a.rejected IView.
    When i am designing Process with Sequential block,
    all the actions namely
    create request
    appprove request
    reject
    book
    summary
    are processingone one by as action mentioned in sequential block irrespective of approved or rejected.
    I cannot go for alternative block, since the result state buttons are desinged in IView only namely(Approve/reject).
    How to overcome this probelm any suitable solution?
    regards
    shekar chandra

  • Problem with dispalying out put of report RLLI0400

    i have added one field in the report by copieng the report to zprogram...
    i want see the out of the report ,but i am not getting any out put just giving the message saying that tha document is printed...
    i need to change code in this report?
    i need to change any thing in form DRUCKER_EINSCHALTEN,
    if yes please tell me what changes are needed.....

    Hi Kranthi,
    in sub routine DRUCKER_EINSCHALTEN omit the code NO-DIALOG with NEW_PAGE command. i think it is genreating output into a spool request and suppress the dialog. if you omit this NO-DIALOG it will generate output.
    Regards
    Krishnendu

  • Problem with email out put

    Hi SD gurus,
    I have enabeld emailing fucnitnality for an out put.
    Maintained record for the same.
    When I am creating order it is pulling the out put in to the order.BUt when i am saving the order the out put didnt get succes and it is red color.
    I checked  proceeing log and the error is " Maintain an output device in your user master record "
    I even maintined out put device as per above error message in SU01.
    But sill getting same error in the out put.
    Can somebody help resolve this.
    Thanks in advance,
    Vivek

    Hi,
    Goto VV12 T.Code.
    Select your output type.
    Execute.
    Click on Communication.
    Here maintain the output device as LP01/LOCL or as the entry required for you from F4 help.
    Tick print immediately.
    Save.
    Regards,
    Krishna.

  • ABOUT SCRIPT out put pages

    i modified predefined script.In that script i added one quantity field
    using external subroutines and i   have not touched  standard print program .
    my problem is if the quantity value is 2 .it will produce two pages suppose quantity value is 3 it will produce three pages with same data.
    i .e with quantity value i have to control my output print outs
    i already posted this question in sdn sap but i am not get any answer.
    if any one of u know the answer please mail to me
    regards
    kishore

    i modified predefined script.In that script i added one quantity field
    using external subroutines and i   have not touched  standard print program .
    my problem is if the quantity value is 2 .it will produce two pages suppose quantity value is 3 it will produce three pages with same data.
    i .e with quantity value i have to control my output print outs
    i already posted this question in sdn sap but i am not get any answer.
    if any one of u know the answer please mail to me
    regards
    kishore

  • Problem with an Out Put Stream Writer

    I want to open an URL so I use the following code inside a try bolc
    URL recup = new URL("http://www.sun.com");
    getAppletContext().showDocument(recup,"_blank");but once I add the following line of code
    writer = new OutputStreamWriter(conn.getOutputStream Ican't open the URL mentioened above
    that means the following code doesn't work
    writer = new OutputStreamWriter(conn.getOutputStreamURL recup = new URL("http://www.sun.com");
    getAppletContext().showDocument(recup,"_blank");
    conn is a connexion that I establish before
    that is just a piece of my code

    Your post is not correct,
    Ask yourselve the following questions:
    1. does accint.dll support POST data or only GET?
    2. does accint.dll need a cookie (session)?
    3. what do you want to post?
    4. does it need authentication
    what does this give you, it will read the response if there is any:
    import java.io.*;
    import java.applet.*;
    import java.net.*;
    public class test extends Applet implements Runnable {
         public static void main(String[] args) {
              new test();
         public test() {
              new Thread(this).start();
         public void init() {
              System.out.println("this is init");
         public void run() {
              try {
                   SendPostRequest();
              } catch (Exception e) {
                   e.printStackTrace();
         public void SendPostRequest() {
              URL url = null;
              URLConnection conn = null;
              OutputStream writer = null;
              try {
                   // set value for provenance
                   StringBuffer b = new StringBuffer();
                   b.append(URLEncoder.encode("provenance","UTF-8"));
                   b.append("=");
                   b.append(URLEncoder.encode("CTLIDT", "UTF-8"));
                   // set value for environnement
                   b.append("&");
                   b.append(URLEncoder.encode("environnement", "UTF-8"));
                   b.append("=");
                   b.append(URLEncoder.encode("expsv", "UTF-8"));
                   // where is your & here, what value are you setting here????
                   b.append("=");
                   b.append(URLEncoder.encode("0", "UTF-8"));
                   // set value for CODLANG
                   b.append("&");
                   b.append(URLEncoder.encode("CODLANG", "UTF-8"));
                   b.append("=");
                   b.append(URLEncoder.encode("0", "UTF-8"));
                   // set value for password
                   b.append("&");
                   b.append(URLEncoder.encode("password", "UTF-8"));
                   b.append("=");
                   b.append(URLEncoder.encode("AAAAA", "UTF-8"));
                   // set value for nom
                   b.append("&");
                   b.append(URLEncoder.encode("nom", "UTF-8"));
                   b.append("=");
                   b.append(URLEncoder.encode("XYBI5400", "UTF-8"));
                   url = new URL(
                   "http://portail-sav2000.francetelecom.fr/binaccdi/accint.dll");
                   conn = url.openConnection();
                   conn.setDoOutput(true);
                   conn.setDoInput(true);
                   //Send request
                   writer = conn.getOutputStream();
                   writer.write(b.toString().getBytes("UTF-8"));
                   writer.flush();
                   writer.close();
                   // the probleme is here I can't open the " francetelecom" page in
                   // the browser
                   //this is independent from the connection above
                   // I mentione that no problem happens during the compiltaion and
                   // no exception throwed during the execution
                   System.out.println(readResponse(conn));
              } catch (Exception e) {
                   e.printStackTrace();
         public String readResponse(URLConnection urlc) {
              // it is VERRY importaint to read the entire response
              // if you want to connect to the same server again
              // this is because closing the inputstream does not close the socket
              // and response data from a previous request could be mixed up with the
              // current
              InputStream is;
              byte[] buf = new byte[1024];
              String returnValue = "";
              try {
                   is = urlc.getInputStream();
                   int len = 0;
                   ByteArrayOutputStream bos = new ByteArrayOutputStream();
                   while ((len = is.read(buf)) > 0) {
                        bos.write(buf, 0, len);
                   // close the inputstream
                   is.close();
                   returnValue = new String(bos.toByteArray());
              } catch (IOException e) {
                   try {
                        // now failing to read the inputstream does not mean the server
                        // did not send
                        // any data, here is how you can read that data, this is needed
                        // for the same
                        // reason mentioned above.
                        e.printStackTrace();
                        System.out
                                  .println(((HttpURLConnection) urlc).getResponseCode());
                        InputStream es = ((HttpURLConnection) urlc).getErrorStream();
                        int ret = 0;
                        // read the response body
                        while ((ret = es.read(buf)) > 0) {}
                        // close the errorstream
                        es.close();
                   } catch (IOException ex) {
                        // deal with the exception
              return returnValue;
    }

  • Strange Display Problem - please check out/

    Recently discoverd in certain tones and contrasts on my screen from N97, there is a dark gray outline, a overlay shadow in the left side of the screen. the touchscreen has been replaced recently.On black or white background you cant see.
    Attachments:
    DSC_7519.jpg ‏509 KB

    As a teacher of marketing & multimedia presentation design, Garr Reynolds says at his site: "Design is a big, big deal. We all have a responsibility to understand its potential and its power. You do not need to be a designer — but you do need to become more design sensitive or 'design mindful'."
    In particular, according to another experienced designer: "Color should be used in the same way that type size is used: to emphasize importance, not decorate a page."
    Reynolds' page about why design matters is worth reading...
    http://www.garrreynolds.com/Design/whydesign.html
    Also this about graphic design fundamentals...
    http://www.garrreynolds.com/Design/basics.html

  • Regarding payment advise out put

    Hi gurus,
                      I have a problem to see out put of payment advise.
    Iam using script. I have field name . But i am unable to get datato my out put. Could u pls any tell me process to get serial no, party ref, inv.amt vch.no.net amount.
    Thanks in advance..
    Edited by: krishna m on Jan 22, 2008 6:28 AM

    If you don't have focus of this fields in your program use sub-routine and display this fields.
    Ex.
    /: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
    /:USING &<field name>&
    /:CHANGING &<field name1&
    /:ENDPERFORM
    Then create subroutine pool program and you have to write the code.
    FORM ><subroutine name> tables int_cond structure itcsy
    outt_cond structure itcsy.
    data : value(20), value1(20). "do your own declarations
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    Just rough idea given above.
    Regards,
    SaiRam

  • Creation of pf-status functionality in ALV out put

    Hi experts,
    i created pf-status and made one button to save the ccontents displayed in ALV grid out put.
    But i could not find that button in out put.  Is it possible to create custom functionality in ALV output.
    thank you
    regards
    vijay

    Hi Viajay,
    find the below steps to create the PF-STATUS..
    PF-Status
    1. How to set pf-status
    2. How to set pf-status excluding/including single menu items
    3. How to set pf-status excluding/including several menu items
    4. Setting PF status to the (SAP) system default
    5. How to check for pf-status
    6. Use of SY-PFKEY
    1. How to set pf-status
    set pf-status 'ZZBILSTA'.
    2. How to set pf-status excluding/including single menu items
    You can exclude menus by using exclude :
    set pf-status 'ZZBILSTA' excluding 'PST'.
    Note: Can also be used with include instead of exclude
    3. How to set pf-status excluding/including several menu items
    You have to use an internal table to store the status you wan't to ex- or include:
    DATA:     BEGIN OF I_PF_STATUS_TAB OCCURS 10,
              FCODE(4),
         END OF I_PF_STATUS_TAB.
    FORM SET_PF_STATUS_POSTER.
      REFRESH I_PF_STATUS_TAB.
      MOVE 'PST' TO I_PF_STATUS_TAB.
      APPEND I_PF_STATUS_TAB.
      MOVE 'ART' TO I_PF_STATUS_TAB.
      APPEND I_PF_STATUS_TAB.
      SET PF-STATUS 'ZZBILSTA' EXCLUDING I_PF_STATUS_TAB.
    ENDFORM.
    4. Setting PF status to the (SAP) system default
    set pf-status 'BASIC'.
    5. How to check for pf-status
    AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN 'ART'.
          PERFORM STYR_ARTSKONTI.
        WHEN 'PST'.
          PERFORM STYR_POSTER.
        WHEN 'BIL'.
          PERFORM VIS_BILAG.
    ENDCASE.
    6. Use of SY-PFKEY
    You can use the system variable sy-pfkey to retrieve the name of the current pf status
    Regards,
    Prabhudas

  • Out put control  for invoice printing

    Hi Friends,
    Iam Facing one problem realted to Out put control..
    I created one smart form for Invoice. Its working fine. But before giving the invoice print we have to create Exise . So without Exise Number no output should come..
    So if Exise number is initial.. it should not trigger the output type...
    for this one.. How can i restrict?Can i restrct in smart form driver program..
    if possible .. can i write any routine..in routine what i have to include..
    please help me..
    if possible ..please send me the code..
    Thanks in Advance,
    sampath

    check table J_1IEXCHDR with ur Invoice number.
    in ur driver program u have to put a condition like this .
    read table J_1IEXCHDR with invoice .
    if sy-subrc ne 0.
    print .
    endif.
    Regards
    Peram

  • How to debugg a script when the Required out put is like Fax  or email

    Hi this is Durga Prasad i have small doubt in scripts can any one clarify that one plz  normally we will do that one with activating debugger but when a special requirement is like fax or e mail    how we will do that one
    "how to debugg a script when the Required out put is like Fax  or email"
    Thanks in advance
    Durga Prasad.

    Hi
    DEBUG Smartform:
    1) One way to debug smartform is to debug the Function Module of that smartforms.
    If you want to debug particular smartform node that the solution would be,
    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    2) SFTRACE can be used for debugging SMARTFORMS.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    script
    1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
    It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
    2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
    When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
    As per ur question there is nothing new with script debugging,
    it is same as normal report debugging...
    SMARTFORMS DEBUGGING
    For smartforms debugging you can do this.
    1. Execute the smartform (execute button in SMARTFORMS transaction)
    2. Take the generated function module and display it in SE80.
    3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
    Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
    Tcode - SFTRACE
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    SCRIPT
    There are 2 separate kinds of debugging available when you try to debug scripts.
    1. Debugging the print program : This is the normal debugging we do for our report programs.
    2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
    a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    refer to the link below
    http://www.howforge.com/how-to-debugging-sapscript-form
    Look at the BLOG here, it is well explained
    /people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
    Regards
    Anji

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

  • Is it possible to display only dynamically selected fields in the out put?

    Is it possible to display only dynamically selected fields in the out put? i need to display set of columns in the selection criteria, but in the output i have display only input given fields. because i need to convert it into .csv file. So i have to display selected fields from internal table. In oracle they are using"execute immediate". is there any equivalent in SAP?
    thanks in advance.

    Hi Remya,
    Are you talking about dynamic programming in ABAP ?
    If yes, there are concepts like RTTS which facilitates it.
    Yes, the select query also supports dynamic selection of fields. ( Please care about ( ) in dynamic sql ).
    Do more research on Field Symbols and statements like ASSIGN COMPONENT OF.
    Regards,
    Philip.

  • In reports, i want to display currency field out put with diff currencies

    Hi all
    in reports, i want to display currency field out put with different type of currencies like 1st record in rupees 2nd record in dolors 3rd record in       
    Euros. for this i should not use any tables and any currency fields and any functional modules. pls give replay urgently.

    Hi swamy,
    so sorry, but you have to use some of the objects you do not want to:
    Currency values in ABAP are stored in currency fields (type CURR). If they are stored in structures or database, every CURR field must be connected to a CUKY field (currency key).
    Displaying data using WRITE statement four output on a list is obsolete technique, you may use the use WRITE with the option CURRENCY c to format according to currency c in table TCURX.
    SAP recommends to use ALV technique. If you use ALV to display structure data, then create a dictionary structure with currency value and currency key. The rest goes automatically.
    Believe me: It is much easier and more reliable.
    Regards,
    Clemens

  • How to display the out put of the sql query in a text file using forms

    I want to display the out put of the sql query in a text file using forms 6.0.Same could be done using spool command in sqlplus but i want it using forms....Fiaz

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

Maybe you are looking for

  • ITunes (10.6.3) freezes when iPhone 4S (5.1.1) is connected

    Whenever I connect my iPhone 4S (iOS 5.1.1) to iTunes (10.6.3) on my Mac (OS 10.7.3) it always freezes, always for about 30 seconds and then it will work again. But let me note, this only happens on the first time I connect my iPhone for the first ti

  • FCP 5 Upgrade From FCE

    I recently bought an FCP 5 upgrade (M9921Z/A) and the Apple website says that it can upgrade from FCE. I know it's old but couldn't afford to buy FC Studio 2 and couldn't find a full-up version of FCP5. I've tried it with both an FCE 2.0 and FCE 3.5

  • Many invisible mails in Oulook 2007 Outbox

    Hi, A user was getting messages to say his mailbox was full and eventually couldn't send. He rang for help because he couldn't see where to trim the mailbox down. The server database limit for his mailbox was 500MB, but Outlook 2007 was only showing

  • File appears to be corrupted?

    Got the right link to purchase (thx, Dave). Tried uploading 3 unique pdfs.  Everything comes back with the same error. _______ failed to export to Microsoft Word.  The file appears to be corrupted. What does this mean?  The files open as .pdfs perfec

  • Flash iOS App Languages on iTunes

    After publishing my Flash iOS App to iTunes I see huge array of languages, even though my game is only in English. In my descriptor, I only provided an English name and description. Languages: English, Chinese, Czech, Dutch, French, German, Italian,