Incorrect currency format in Spreadsheet output of ALV

Hi all,
Suddenly, in all my ALV reports, when we click the menu List->Export->Spreadsheet, all the currency fields are displayed in incorrect format (like 1234:0000000000000000) with colon instead of dot(.) and with around 16 decimal places.
Except currrency fields, all other types are displayed correctly.
But the output format comes correctly in ALV output and also if i use Export->local file.
This is the case even for all standard as well as custom reports.
I am using ECC 6.0 and MS Office 2007
Can anybody please guide me on this
Regards,
Anbarasan K
Edited by: Anbarasan K on Jul 7, 2008 5:49 AM

Hi,
I am facing the same problem.
can you provide me the solution which you have found?
Looking forward for your immediate reply.
Thanks in advance,
Deepa Kulkarni

Similar Messages

  • Currency format in Spreadsheet tables uses period's instead of comma's

    Xcelsius 2008 SP3.  I have inserted a spreadsheet table into my model, the columns are formatted in a currency format with $ and the thousand's separator that is displaying in the table is a period instead of a comma.  Has anybody else seen this problem?

    Hi,
    yes, I`ve had the same behavior. As a workaround, you have to change the format of the cells.
    Go into the properties of the cells:
    -> Right mouse click
    -> format cells
    -> category
    -> number
    -> change something, e.g. the number of decimal places to show
    Then you will have to map the component again to the same cells under "Display Data".
    And now, the currency information will be shown correctly.
    Regards
    Victor

  • Incorrect currency format in ESS

    Hi,
    I am finding an issue in ESS / MSS for currencies with decimal places other than 2.
    We have the number of decimal places for currency key AUD maintained as 5 in table TCURX.
    But in portal the amount always appears as 2 decimal places, and hence the value is incorrect.
    For example the amount 1.00000 in ECC becomes 1,000.00 in Portal and vice versa.
    Kindly suggest how to overcome this problem/
    Regards,
    Ahana

    Hi Ahana,
    Looks like in TCURX there is no entry for AUD, if there is no entry then SAP will treat it as Decimal 2 by default. Portal also it would get a default which would be 2 decimal places.
    As you changed in its value in TCURX, you might have to do similar change even on portal BUT in portal you have to make the change in jar file (  com.sap.dictionary.runtime.mod_api.jar ) and when ever system is upgraded etc your changes will get reverted and you might have to reapply ur changes. Yes its bit head ace.
    If possible better to leave it as is in TCURX i.e. let it get default 2 decimal places.
    Regards
    Yugandhar Reddy

  • Af:convertNumber : currency format is incorrect

    hi
    Using JDeveloper 11.1.1.2.0 I created this example application to illustrate some behaviour of the af:convertNumber component:
    http://www.consideringred.com/files/oracle/2010/CurrencyCodeApp-v0.01.zip
    The browseEmpSal.jspx has af:convertNumber component for currency like this:
    <af:convertNumber groupingUsed="false"
              pattern="#{bindings.Sal.format}"
              type="currency" currencyCode="#{backing_browseEmpSal.currencyCodeToUse}"/>Please consider this scenario:
    - (sc1-a) in JDeveloper stop the IntegratedWeblogicServer (if it is running)
    - (sc1-b) run the browseEmpSal.jspx
    - (sc1-c) on the page, notice the value "user.language = nl, user.region = BE"
    - (sc1-d) click the Next button, which navigates to the next row without a problem, see also CurrencyCodeApp-nl-BE.png
    - (sc1-e) in JDeveloper stop the IntegratedWeblogicServer
    - (sc1-f) in the Default Run Configuration of the ViewController project change the Java options from "-Duser.language=nl -Duser.region=BE" to "-Duser.language=en -Duser.region=US" to simulate running this application in a different environment (on a different server)
    - (sc1-g) run the browseEmpSal.jspx again
    - (sc1-h) on the page, notice the value "user.language = en, user.region = US"
    - (sc1-i) click the Next button, which results in an Error dialog that says "The currency format is incorrect" and suggesting to use a dollar sign, see also CurrencyCodeApp-en-US.png
    question
    - (q1) How can the example application in CurrencyCodeApp-v0.01.zip be modified to behave consistently, regardless the server system properties user.language and user.region ?
    many thanks
    Jan Vervecken

    hi
    About question (q1), it looks like configuring the locale property on the af:convertNumber component already makes a difference:
    <af:convertNumber groupingUsed="false"
              pattern="#{bindings.Sal.format}"
              type="currency" currencyCode="#{backing_browseEmpSal.currencyCodeToUse}"
              locale="#{backing_browseEmpSal.localeToUse}"/>See the modified application at http://www.consideringred.com/files/oracle/2010/CurrencyCodeApp-v0.02.zip
    question
    - (q2) Is it required to configure both the currencyCode and locale properties on an af:convertNumber component to have consistent behaviour, regardless the server system properties user.language and user.region ?
    regards
    Jan Vervecken

  • How to get the output in ALV format

    Hi All,
    this is my program, in this i want to get the output in ALV, i hv created two containers and m able to get the ALV layout successfully but i am not able to fetch the correct data.
    the output it is showing is some RFC value.
    here we have used -  abaplist, soli.
    Please provide me the solution.
    SELECT * FROM varid INTO CORRESPONDING FIELDS OF TABLE t_varid WHERE report in s_report.
    LOOP AT t_varid .
      SUBMIT (t_varid-report) USING SELECTION-SET t_varid-variant
                    EXPORTING LIST TO MEMORY
                    AND RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = listtab
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
    **************Old System Entry********
      CALL FUNCTION 'Z_GET_DETAILS'
        DESTINATION 'BWDCLNT900'
        EXPORTING
          report  = t_varid-report
          variant = t_varid-variant
        TABLES
          listtab = list_tab.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'LIST_TO_TXT'
          TABLES
            listtxt            = listtxt1
            listobject         = list_tab
          EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2.
      ENDIF.
      if p_flag eq 'X'.
        clear p_flag.
        write : / 'Program Name',
                  41 'Variant Name',
                  66 'Output Match'.
        endif.
      IF listtxt EQ listtxt1.
        WRITE : /   t_varid-report,
                 41 t_varid-variant,
                 66 icon_green_light AS ICON HOTSPOT.
      ELSE.
        WRITE : /   t_varid-report,
                 41 t_varid-variant,
                 66 icon_red_light AS ICON HOTSPOT.
      ENDIF.
      CLEAR : listtab,list_tab,listtxt,listtxt1.
      REFRESH : listtab[],list_tab[],listtxt[],listtxt1[].
    ENDLOOP.
    AT line-selection.
        v_report  = sy-lisel(40).
        v_variant = sy-lisel+40(14).
    call SCREEN 400.
    module STATUS_0400 output.
    SUBMIT (v_report) USING SELECTION-SET v_variant
                    EXPORTING LIST TO MEMORY
                    AND RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = listtab
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
       CALL FUNCTION 'LIST_TO_TXT'
          TABLES
            listtxt            = listtxt1
            listobject         = list_tab
          EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2.
    **************Old System Entry********
      CALL FUNCTION 'Z_GET_DETAILS'
        DESTINATION 'BWDCLNT900'
        EXPORTING
          report  = v_report
          variant = v_variant
        TABLES
          listtab = list_tab.
    CREATE OBJECT CCONT1
      EXPORTING
       CONTAINER_NAME = 'C1'.
    CREATE OBJECT CCONT2
      EXPORTING
       CONTAINER_NAME = 'C2'.
    CREATE OBJECT GRID1
      EXPORTING
       I_PARENT = CCONT1.
    CREATE OBJECT GRID2
      EXPORTING
       I_PARENT = CCONT2.
    CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
      I_STRUCTURE_NAME = 'abaplist'
      CHANGING
       IT_OUTTAB = list_tab.
    CALL METHOD GRID2->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
      I_STRUCTURE_NAME = 'abaplist'
      CHANGING
       IT_OUTTAB = listtab.
      SET PF-STATUS 'ZUTDEMO2'.
    endmodule.             
    module USER_COMMAND_0400 input.
    IF SY-UCOMM = 'EXIT'.
    LEAVE PROGRAM.
    ENDIF.
    endmodule.                 " USER_COMMAND_0400  INPUT

    solved

  • Can we download output of alv tree ?

    hi all,
       i have a requirement to download the output of alv tree when it is collapsed (detailed). Can we download that ? i am using cl_gui_alv_tree class.
        plz let me know asap.
    regards
    raghav

    Standard Control does not give that Option . SO another  option is to go to Print preview of the Entire Hierarchy view , then click System -> list -> Save -> local file and save it as spreadsheet . This wa entire data gets downloaded in excel in tree format .
    Thanks ,
    -Kaustubha Tavildar

  • In Scripts how to print the values in currence format

    Dear abap guru's,
    I am working on Purchase Order Script, copy from the standard script, after that wrote a one perform , in that added one new field to script, but value is printed like this formate : 1000.00, but i want to print 1,000.00 like this currence format. let me know the any solution
    thanks to all
    raj.

    Hi ,
    When you are populating the value in perform instead of assigning the value (using = ) pass it using WRITE TO.
    Like :  WRITE lw_total TO output-value.
    Declare lw_total as currency field.
    Regards,
    Rajitha.

  • Incorrect currency in R/3 after change

    Hi all.
    SRM 4.0, server 5.0, extended classic scenario.
    I have a situation where a currency and price change in SRM should be transfered to R/3 - the price itself is transfered fine, but the currency is not changed in the R/3.
    Example.
    PO is created with 1 item in SRM:
    10 USD
    In R/3 it is also 10 USD.
    Now in SRM I change it to 5 EUR instead.
    In R/3 it is now 5 USD.
    I have tried searching for notes, but they only seem to relate to incomplete prices and not currencies - here the price update is fine, but the currency remains the same.
    Any suggestions?
    Thanks.
    DM

    Hi
    Which SRM version / Scenario are you using ?
    Are you using any BADI Implementations ? Check using SE19 Transaction (name starting with Y or Z).. Take help of ABAP resourcein this case.
    <u>Also, Please try the following SAP OSS Notes, which will definitely help -></u>
    Note 1000725 - Incorrect Currency Conversion for PO created from SC- ECS
    Note 970992 - Purchase order currency overwritten by partner dflt currency.
    Note 530618 - Incorrect conversion to vendor currency in purchase order
    Note 970839 - Incorrect price in R/3 if currency & price is changed in SRM
    <b>Related links -></b>
    Re: PO Dates in US/EURO format mismatch
    PO in R/3 to take SC currency?
    Currency configuration in classical scenario
    Currency  USD differs from Purchase order currency EUR. Enter in PO currenc
    Local PO is created in vendor currency in ECS scenario
    problem when using EUR in FM CONVERT_TO_LOCAL_CURRENCY
    Local PO is created in vendor currency in ECS scenario
    Do let me know.
    Regards
    - Atul

  • Output of ALV report as attachment in email

    Dear all ,
    I would like to send output of ALV report as attachment in email.
    i already written code for this using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    I can able to send list output as HTM format. But I want to send ALV report output
    As a attachment. How can I do this….please explain…
    Thanks in advance…
    Regards
    Manohar

    Hello,
    U can sent like this.
    Check this report
    REPORT ZV_SEND_MAIL .
    TABLES: EKKO.
    PARAMETERS: P_EMAIL   TYPE SOMLRECI1-RECEIVER
                                      DEFAULT '[email protected]'.
    TYPES: BEGIN OF T_EKPO,
      EBELN TYPE EKPO-EBELN,
      EBELP TYPE EKPO-EBELP,
      AEDAT TYPE EKPO-AEDAT,
      MATNR TYPE EKPO-MATNR,
    END OF T_EKPO.
    DATA: IT_EKPO TYPE STANDARD TABLE OF T_EKPO INITIAL SIZE 0,
          WA_EKPO TYPE T_EKPO.
    TYPES: BEGIN OF T_CHAREKPO,
      EBELN(10) TYPE C,
      EBELP(5)  TYPE C,
      AEDAT(8)  TYPE C,
      MATNR(18) TYPE C,
    END OF T_CHAREKPO.
    DATA: WA_CHAREKPO TYPE T_CHAREKPO.
    DATA:   IT_MESSAGE TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   IT_ATTACH TYPE STANDARD TABLE OF SOLISTI1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
            T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
            T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            W_CNT TYPE I,
            W_SENT_ALL(1) TYPE C,
            W_DOC_DATA LIKE SODOCCHGI1,
            GD_ERROR    TYPE SY-SUBRC,
            GD_RECIEVER TYPE SY-SUBRC.
    *START_OF_SELECTION
    START-OF-SELECTION.
    *   Retrieve sample data from table ekpo
      PERFORM DATA_RETRIEVAL.
    *   Populate table with detaisl to be entered into .xls file
      PERFORM BUILD_XLS_DATA_TABLE.
    *END-OF-SELECTION
    END-OF-SELECTION.
    * Populate message body text
      PERFORM POPULATE_EMAIL_MESSAGE_BODY.
    * Send file by email as .xls speadsheet
      PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
                                   TABLES IT_MESSAGE
                                          IT_ATTACH
                                    USING P_EMAIL
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 CHANGING GD_ERROR
                                          GD_RECIEVER.
    *   Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
    *&      Form  DATA_RETRIEVAL
    *       Retrieve data form EKPO table and populate itab it_ekko
    FORM DATA_RETRIEVAL.
      SELECT EBELN EBELP AEDAT MATNR
       UP TO 10 ROWS
        FROM EKPO
        INTO TABLE IT_EKPO.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
    *       Build data table for .xls document
    FORM BUILD_XLS_DATA_TABLE.
      CONSTANTS: CON_CRET TYPE X VALUE '0D',  "OK for non Unicode
                 CON_TAB TYPE X VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
    *    con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO IT_ATTACH SEPARATED BY CON_TAB.
      CONCATENATE CON_CRET IT_ATTACH  INTO IT_ATTACH.
      APPEND  IT_ATTACH.
      LOOP AT IT_EKPO INTO WA_CHAREKPO.
        CONCATENATE WA_CHAREKPO-EBELN WA_CHAREKPO-EBELP
                    WA_CHAREKPO-AEDAT WA_CHAREKPO-MATNR
               INTO IT_ATTACH SEPARATED BY CON_TAB.
        CONCATENATE CON_CRET IT_ATTACH  INTO IT_ATTACH.
        APPEND  IT_ATTACH.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
    *       Send email
    FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES PIT_MESSAGE
                                              PIT_ATTACH
                                        USING P_EMAIL
                                              P_MTITLE
                                              P_FORMAT
                                              P_FILENAME
                                              P_ATTDESCRIPTION
                                              P_SENDER_ADDRESS
                                              P_SENDER_ADDRES_TYPE
                                     CHANGING P_ERROR
                                              P_RECIEVER.
      DATA: LD_ERROR    TYPE SY-SUBRC,
            LD_RECIEVER TYPE SY-SUBRC,
            LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
            LD_EMAIL LIKE  SOMLRECI1-RECEIVER,
            LD_FORMAT TYPE  SO_OBJ_TP ,
            LD_ATTDESCRIPTION TYPE  SO_OBJ_NAM ,
            LD_ATTFILENAME TYPE  SO_OBJ_DES ,
            LD_SENDER_ADDRESS LIKE  SOEXTRECI1-RECEIVER,
            LD_SENDER_ADDRESS_TYPE LIKE  SOEXTRECI1-ADR_TYP,
            LD_RECEIVER LIKE  SY-SUBRC.
      LD_EMAIL   = P_EMAIL.
      LD_MTITLE = P_MTITLE.
      LD_FORMAT              = P_FORMAT.
      LD_ATTDESCRIPTION      = P_ATTDESCRIPTION.
      LD_ATTFILENAME         = P_FILENAME.
      LD_SENDER_ADDRESS      = P_SENDER_ADDRESS.
      LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
    * Fill the document data.
      W_DOC_DATA-DOC_SIZE = 1.
    * Populate the subject/generic message attributes
      W_DOC_DATA-OBJ_LANGU = SY-LANGU.
      W_DOC_DATA-OBJ_NAME  = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
      W_DOC_DATA-SENSITIVTY = 'F'.
    * Fill the document data and get size of attachment
      CLEAR W_DOC_DATA.
      READ TABLE IT_ATTACH INDEX W_CNT.
      W_DOC_DATA-DOC_SIZE =
         ( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
      W_DOC_DATA-OBJ_LANGU  = SY-LANGU.
      W_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR  = LD_MTITLE.
      W_DOC_DATA-SENSITIVTY = 'F'.
      CLEAR T_ATTACHMENT.
      REFRESH T_ATTACHMENT.
      T_ATTACHMENT[] = PIT_ATTACH[].
    * Describe the body of the message
      CLEAR T_PACKING_LIST.
      REFRESH T_PACKING_LIST.
      T_PACKING_LIST-TRANSF_BIN = SPACE.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM = 0.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE = 'RAW'.
      APPEND T_PACKING_LIST.
    * Create attachment notification
      T_PACKING_LIST-TRANSF_BIN = 'X'.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM   = 1.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE   =  LD_FORMAT.
      T_PACKING_LIST-OBJ_DESCR  =  LD_ATTDESCRIPTION.
      T_PACKING_LIST-OBJ_NAME   =  LD_ATTFILENAME.
      T_PACKING_LIST-DOC_SIZE   =  T_PACKING_LIST-BODY_NUM * 255.
      APPEND T_PACKING_LIST.
    * Add the recipients email address
      CLEAR T_RECEIVERS.
      REFRESH T_RECEIVERS.
      T_RECEIVERS-RECEIVER = LD_EMAIL.
      T_RECEIVERS-REC_TYPE = 'U'.
      T_RECEIVERS-COM_TYPE = 'INT'.
      T_RECEIVERS-NOTIF_DEL = 'X'.
      T_RECEIVERS-NOTIF_NDEL = 'X'.
      APPEND T_RECEIVERS.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = W_DOC_DATA
                PUT_IN_OUTBOX              = 'X'
                SENDER_ADDRESS             = LD_SENDER_ADDRESS
                SENDER_ADDRESS_TYPE        = LD_SENDER_ADDRESS_TYPE
                COMMIT_WORK                = 'X'
           IMPORTING
                SENT_TO_ALL                = W_SENT_ALL
           TABLES
                PACKING_LIST               = T_PACKING_LIST
                CONTENTS_BIN               = T_ATTACHMENT
                CONTENTS_TXT               = IT_MESSAGE
                RECEIVERS                  = T_RECEIVERS
           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.
    * Populate zerror return code
      LD_ERROR = SY-SUBRC.
    * Populate zreceiver return code
      LOOP AT T_RECEIVERS.
        LD_RECEIVER = T_RECEIVERS-RETRN_CODE.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
    *       Instructs mail send program for SAPCONNECT to send email.
    FORM INITIATE_MAIL_EXECUTE_PROGRAM.
      WAIT UP TO 2 SECONDS.
      SUBMIT RSCONN01 WITH MODE = 'INT'
                    WITH OUTPUT = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
    *        Populate message body text
    FORM POPULATE_EMAIL_MESSAGE_BODY.
      REFRESH IT_MESSAGE.
      IT_MESSAGE = 'Please find attached a list test ekpo records'.
      APPEND IT_MESSAGE.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY
    If useful reward.
    Vasanth

  • Want to export output of alv grid to excel automatically

    hi friends.............
      i want to export output of alv grid without displaying on screen to excel file .......................
    how i m able to do it ..............................
    in the same way as after alv grid display click on LOCAL FILE-> SPREADSHEET-> ........................
    plz rply me soon if anyone of u know abt that.................
    thanks allot.............

    actually in output through 'REUSE_ALV_GRID_DISPLAY' some title is also there through TOP_OF_PAGE how can download it also and data table in excel sheet ...................
    actually when an alv output is displayed then some title data  is also displayed in alv grid then we can download it by clicking on icon 'local file--> spreadsheet........and soon ' ..........
    my req. is download it automatically without doing this process and without displaying it on screen......... it means i want to interrupt to alv grid output to only download without displaying it in output screen............
    if u clear my question then reply me.............

  • Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    If I understand correctly, you want to do the following:
    1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
    2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
    3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
    If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
    t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
    Hope it helps,
    John Lum
    Attachments:
    test_engine.zip ‏24 KB

  • How to get the record selected in ztable based record in the output of alv

    Hi All,
    I have developed a report, it is displaying the output in ALV format.The list contained some 20 fields along with MATERIAL and BATCH. I have provided menu bar as extras -> ztable(it also contained MATERIAL and BATCH). But I have some issue when I select any record in the output then go to
    path extras -> ztable, it has to select the record in ztable based MATERIAL and BATCH which i have selected in the output, then can you please provide solution for the above problem.
    Thanks in advance

    Hi Dolly,
    you can do this by,
    data: index_rows type lvc_t_row,
          index like line of index_rows.
    * Get Selected rows from alv grid
      clear index_rows.  refresh index_rows.
    "When you choose extras->ztable
      call method alv_grid->get_selected_rows
               importing
                     et_index_rows = index_rows.
    * Now delete those rows from the ALV grid
      loop at index_rows into index.
        read table itab index index-index. "Lets say itab is the table you are displaying
        if sy-subrc = 0.
         perform bdc_sm30. "do simple bdc for sm30 with tab name and selected values
        endif.
      endloop.
    Regards,
    Manoj Kumar P
    Edited by: Manoj Kumar on Feb 23, 2009 2:49 PM

  • BInput Data mismatch with currency format

    i am working with fs10 transaction
    I want to sum up the balance amount with respect to all
    companycode and post SUM to the bseg table using Batch input.
    i defined sum variable as below and coded.
    data : sum like glt0-hsl01.  (currency format)
    After all SUM operation.
    I have done like this to diplay SUM in report first(to check SUM output)
    SUM = SUM * 100.
    write : sum decimals 0.
    >>>>Now in report output i get value '17,222-'
    if u see in  fs10 screen we are getting same value.
    but when i try to post in Batch input.
    i have done like this below.(before posting i have checked
    for negative value )
    if sum < 0.
    sum = sum *100.
    compute sum = abs( sum )
    now...
    perform open_group................
    perform bdc_field using 'bseg-wrbtr'  (currency format)
                                    sum.
    when i execute this BI i get error in Amount(Sum)value
    display screen. (saying something differs in length )
    how to match the field.
    ambichan.

    Hello,
    Go to the Domain of the Field BSEG-WRBTR, which is WERT7. There you see the Output length as 16. So you decalre a local variable in BDC which is of CHAR16 in length to hold the value of WRBTR.
    Hope this helps you.
    Regds, Murugesh AS

  • Print PO Price in Currency Format.

    Hi Everybody,
       I want Print PO Price in currency format in alv report how do i get all countries currency values.
       anybody tell me.
    thanks,
    s.muthu

    Hi Muthu
    We can do it using the fields in populating the field catalog. Explore the existing fields of the same.
    Another way to handle is declare the amt field as char and write the amt to this field using option CURRENCY. The the problem with this method arrives when you want to do totals and stuff.
    Below code can help you understand in writing a field to another with currency option.
    data: l_curr(20) type c,
          l_amd type kbetr value '3333.23'.
    write l_amd to l_curr currency 'USD'.
    write:/ l_curr.
    write l_amd to l_curr currency 'JPY'.
    write:/ l_curr.
    To know the currency of a country you can use table T005.
    Kind Regards
    Eswar

  • Currency formate.

    Hi
    Good day experts,
    I've problem with Currency formate. In my client 101 i've 1,234,567.89   in Owndata.
    But Functional side they've 1,234,567.89 in 103 client.
    My problem is when the functional guys is entered data in currency field. if they double click in the currency field, they r getting extraa zeros and if they entered end of the position which is right then the digits are not allowing .
    I've taken the data element which is 14 lenght of char. in this i've written the conversions for curr.
    This is my conversions:
    CONVERSION_EXIT_YMXAM_OUTPUT
    DATA LV_16(16).
      IF INPUT EQ SPACE.
        LV_16 = '0.00'.
        SHIFT LV_16 RIGHT DELETING TRAILING SPACE.
        OUTPUT = LV_16.
      ELSE.
        OUTPUT = INPUT.
      ENDIF.
    CONVERSION_EXIT_YMXAM_INPUT:
    DATA LV_AMNT     TYPE YBET00.
      PERFORM TEXT_TO_NUM
                  CHANGING
                      INPUT.
    SHIFT input LEFT DELETING LEADING space.
      CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER    = 1
                              CONVT_OVERFLOW     = 2
                              BCD_FIELD_OVERFLOW = 3.
        LV_AMNT = INPUT.
      ENDCATCH.
      IF     SY-SUBRC = 1.
        MESSAGE 'Invalid Format' TYPE 'E'.
      ELSEIF SY-SUBRC = 2 OR SY-SUBRC = 3.
        MESSAGE 'Number contains too many digits' TYPE 'E'.
      ENDIF.
    WRITE lv_amnt TO output(17).
      OUTPUT(14) = LV_AMNT .
       MESSAGE output TYPE 'E'.
    SHIFT output(18) RIGHT DELETING TRAILING space.
    ENDFUNCTION.
    *&      Form  text_to_num
    FORM TEXT_TO_NUM CHANGING VALUE(IV_FLD) TYPE C.
      DATA LV_DCPFM TYPE XUDCPFM.
      SELECT SINGLE DCPFM INTO LV_DCPFM FROM USR01 WHERE BNAME = SY-UNAME.
      CASE LV_DCPFM.
        WHEN ' '.
          TRANSLATE IV_FLD USING '. '.
        WHEN 'X'.
          TRANSLATE IV_FLD USING ', '.
        WHEN 'Y'.
          TRANSLATE IV_FLD USING '. '.
      ENDCASE.
      CONDENSE IV_FLD NO-GAPS.
    Plz give me solution.
    regards,
    kk

    Hi,
    Thank for ur reply. Caa2 t.code, i've created the finance subscree. in the subcreen, i'vecurrency field which is Char(14).it extras the data from  CI_FKKVKP stracture.
    Wht i've to do for this problem.
    regards
    kk

Maybe you are looking for

  • How to validate the file path when downloading.

    Hi How to validate the file path when downloading to Presentation or application Server.

  • Help in datasets in Dreamweaver MX

    Hi, I have a MS access database of product's table namely with fields imagefile, product_id, name, cost and 4 different products added. I created a table 2 rows 2 cols in products.aspx, i have the database connected, datasets up and i wish to display

  • Execute BIP Reports from Concurrent Manager

    We currently have EBS and are using XML Publisher that is embedded in EBS. However, we would like to deploy a dedicated BIP Server for our reporting needs and call our reports from EBS via concurrent jobs. Is there a documented method to accomplish t

  • Time code changes when reconnecting  media

    I have been working on a project for over year. Recently my computer was stolen when shooting abroad and now I had to buy a new one (leopard op sys) and reinstall my software to continue working. As I recapture the lost media a warning window pops ou

  • Quick time 7.7.3 crash?

    When I go onto Sportstec's website and go onto their knowledge base to look at a tutorial on a upgrade for software i already have  I get a 7.7.3 quick time crash comes up just below my browser. Its never happened before. Please Help?