Amount field of VK11 isnt fetching from flatfile when im performing it'sBDC

Dear Guru,
Here i have encountered a typical issue.
Im Performing BDC for VK11 (Create Condition Record) with "Key Combination" --->> "Location, Material Code (Base Price for Longs)".
While I am running this BDC ( source code attached below) in All screen mode every datas which are of type "CHAR" like--->>
Condition type(kschl) ,
Plant(werks) ,
Material No(matnr),
Valid From date(datab),
Valid To date(datbi),
Rate Unit(konwa) are coming properly from flatfile except
Rate (condition amount - KBETR)  which is are of data type "CURR".
So guru I want to know what code i should add into my below bdc prog to fetch data properly into  RATE - Condition amount field which is of type " CURR".
Pls Help.
Source Code:
REPORT z_bdc_vk11_famd
       NO STANDARD PAGE HEADING LINE-SIZE 255.
*& DATA-DECLARATION
TYPES: BEGIN OF t_cust,
            kschl LIKE rv13a-kschl,
            werks LIKE komg-werks,
            matnr LIKE komg-matnr,
            kbetr LIKE konp-kbetr,
***            konwa LIKE konp-konwa,
            datab LIKE rv13a-datab,
            datbi LIKE rv13a-datbi,
       END OF t_cust.
TYPES: BEGIN OF t_sucrec,
         cnum TYPE komg-werks,
         cnam TYPE komg-matnr,
END OF t_sucrec.
TYPES: BEGIN OF t_errrec,
       lineno TYPE string,      "Line Number
      message TYPE string,      "Error Message
END OF t_errrec.
DATA:  v_file TYPE string,      "Variable for storing flat file
      it_cust TYPE STANDARD TABLE OF t_cust, "Internal table of Customer
      wa_cust LIKE LINE OF it_cust,  "Workarea of Internal table it_cust
    it_sucrec TYPE STANDARD TABLE OF t_sucrec,
                                      "Internal table of Success records
    wa_sucrec LIKE LINE OF it_sucrec,
                                   "Workarea of Internal table it_sucrec
    it_errrec TYPE STANDARD TABLE OF t_errrec,
                                   "Internal table of Error records
    wa_errrec LIKE LINE OF it_errrec,
                                   "Workarea of Internal table it_errrec
    it_bdctab LIKE bdcdata OCCURS 0 WITH HEADER LINE,
                                    "Internal table structure of BDCDATA
it_messagetab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
                                    "Tracing Error Messages
       v_date LIKE sy-datum,  "Controlling of session date
      v_index LIKE sy-tabix,  "Index Number
     v_totrec TYPE i,         "Total Records
     v_errrec TYPE i,         "Error Records
     v_sucrec TYPE i,         "Success Records
    v_sesschk TYPE c.         "Session maintenance
*& SELECTION-SCREEN
SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001 NO
INTERVALS.
PARAMETERS: p_file    TYPE rlgrap-filename.
"rlgrap-filename is a predefined structure
SELECTION-SCREEN: END OF BLOCK blk1.
SELECTION-SCREEN: BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002 NO
INTERVALS.
PARAMETERS: p_mode    LIKE ctu_params-dismode DEFAULT 'N',
            p_update  LIKE ctu_params-updmode DEFAULT 'A'.
SELECTION-SCREEN END OF BLOCK blk2.
*& INITIALIZATION
INITIALIZATION.
  v_date = sy-datum - 1.
*& AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      program_name  = syst-cprog
      dynpro_number = syst-dynnr
      field_name    = ' '
    IMPORTING
      file_name     = p_file.
*& START-OF-SELECTION
START-OF-SELECTION.
  v_file = p_file.
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename                = v_file
      filetype                = 'ASC'
      has_field_separator     = 'X'
    TABLES
      data_tab                = it_cust
    EXCEPTIONS
      file_open_error         = 1
      file_read_error         = 2
      no_batch                = 3
      gui_refuse_filetransfer = 4
      invalid_type            = 5
      no_authority            = 6
      unknown_error           = 7
      bad_data_format         = 8
      header_not_allowed      = 9
      separator_not_allowed   = 10
      header_too_long         = 11
      unknown_dp_error        = 12
      access_denied           = 13
      dp_out_of_memory        = 14
      disk_full               = 15
      dp_timeout              = 16
      OTHERS                  = 17.
  IF sy-subrc = 0.
****MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
****         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*& END-OF-SELECTION
END-OF-SELECTION.
  LOOP AT it_cust INTO wa_cust.
    v_index = sy-tabix.
    PERFORM bdc_dynpro      USING 'SAPMV13A' '0100'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RV13A-KSCHL'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=ANTA'.
    PERFORM bdc_field       USING 'RV13A-KSCHL'
                                  wa_cust-kschl.
    PERFORM bdc_dynpro      USING 'SAPLV14A' '0100'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RV130-SELKZ(01)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=WEIT'.
    PERFORM bdc_dynpro      USING 'SAPMV13A' '1595'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'RV13A-DATBI(01)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM bdc_field       USING 'KOMG-WERKS'
                                  wa_cust-werks.
    PERFORM bdc_field       USING 'KOMG-MATNR(01)'
                                  wa_cust-matnr.
    PERFORM bdc_field       USING 'KONP-KBETR(01)'
                                  wa_cust-kbetr.
    PERFORM bdc_field       USING 'KONP-KONWA(01)'
                                  'INR'.
    PERFORM bdc_field       USING 'RV13A-DATAB(01)'
                                  wa_cust-datab.
    PERFORM bdc_field       USING 'RV13A-DATBI(01)'
                                  wa_cust-datbi.
    PERFORM bdc_dynpro      USING 'SAPMV13A' '1595'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'KOMG-MATNR(01)'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=SICH'.
    CALL TRANSACTION 'VK11' USING it_bdctab
                             MODE p_mode
                           UPDATE p_update
                    MESSAGES INTO it_messagetab.
    IF sy-subrc = 0.
*& reading success records to corresponding internal table
      READ TABLE it_messagetab WITH KEY msgtyp = 'S'.
      IF sy-subrc = 0.
*        wa_sucrec-cnum = it_messagetab-msgv1.
        wa_sucrec-cnum = wa_cust-werks.
        wa_sucrec-cnam = wa_cust-matnr.
        APPEND wa_sucrec TO it_sucrec.
        CLEAR wa_sucrec.
      ENDIF.
    ELSE.
*& reading error records to corresponding internal table
      READ TABLE it_messagetab WITH KEY msgtyp = 'E'.
      IF sy-subrc = 0.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id  = sy-msgid
            no  = it_messagetab-msgnr
            v1  = it_messagetab-msgv1
            v2  = it_messagetab-msgv2
            v3  = it_messagetab-msgv3
            v4  = it_messagetab-msgv4
          IMPORTING
            msg = wa_errrec-message.
        wa_errrec-lineno = v_index.
        APPEND wa_errrec TO it_errrec.
        CLEAR wa_errrec.
      ENDIF.
    ENDIF.
    CLEAR : it_bdctab, it_messagetab.
    REFRESH: it_bdctab, it_messagetab.
  ENDLOOP.
  DESCRIBE TABLE it_cust LINES v_totrec.
  DESCRIBE TABLE it_errrec LINES v_errrec.
  DESCRIBE TABLE it_sucrec LINES v_sucrec.
  PERFORM disp_data.
  SKIP 2.
  IF v_sucrec > 0.
    PERFORM disp_success_data.
  ENDIF.
  SKIP 2.
  IF v_errrec > 0.
    PERFORM disp_error_data.
  ENDIF.
*& Form bdc_dynpro
*#  text
*#  -->P_0104 text
*#  -->P_0105 text
FORM bdc_dynpro USING program dynpro.
  CLEAR it_bdctab.
  it_bdctab-program  = program.
  it_bdctab-dynpro   = dynpro.
  it_bdctab-dynbegin = 'X'.
  APPEND it_bdctab.
ENDFORM. " bdc_dynpro
*& Form bdc_field
FORM bdc_field USING fnam fval.
  CLEAR it_bdctab.
  it_bdctab-fnam = fnam.
  it_bdctab-fval = fval.
  APPEND it_bdctab.
ENDFORM. " bdc_field
*& Form disp_data
FORM disp_data .
  ULINE (45).
  WRITE : / sy-vline,
  4 'FAMD Price Master UPDATE SUMMARY'(004) COLOR 1,
  45 sy-vline.
  ULINE /(45).
  WRITE : / sy-vline,
  'Total Records Processed'(007),
  28 '=',
  30 v_totrec,
  45 sy-vline,
  / sy-vline,
  'Error Records'(005),
  28 '=',
  30 v_errrec,
  45 sy-vline,
  / sy-vline,
  'Successful Records'(006),
  28 '=',
  30 v_sucrec,
  45 sy-vline.
  ULINE /(45).
ENDFORM. " disp_data
*& Form disp_success_data
FORM disp_success_data .
  ULINE (45).
  WRITE : / sy-vline,
  14 'Successful Records'(012) COLOR 1,
  45 sy-vline.
  ULINE /(45).
  WRITE : / sy-vline ,
  'Plant Number'(010) COLOR 2,
  17 sy-vline,
  25 'Material Number'(011) COLOR 2,
  45 sy-vline.
  ULINE /(45).
  LOOP AT it_sucrec INTO wa_sucrec.
    WRITE: / sy-vline ,
    wa_sucrec-cnum,
    17 sy-vline,
    19 wa_sucrec-cnam,
    45 sy-vline.
  ENDLOOP.
  ULINE /(45).
ENDFORM. " disp_success_data
*& Form disp_error_data
FORM disp_error_data .
  ULINE (90).
  WRITE : / sy-vline,
  35 'Error Records'(013) COLOR 1,
  90 sy-vline.
  ULINE /(90).
  WRITE : / sy-vline,
  'Record Number'(008) COLOR 2,
  sy-vline,
  37 'Reason for error'(009) COLOR 2,
  90 sy-vline.
  ULINE /(90).
  LOOP AT it_errrec INTO wa_errrec.
    WRITE : / sy-vline,
    wa_errrec-lineno,
    17 sy-vline,
    wa_errrec-message,
    90 sy-vline.
  ENDLOOP.
  ULINE /(90).
ENDFORM. " disp_error_data
Flat file Sequence:
Condition Type     Plant     Matrial No     Rate      Validity start date     Validity end date

I worked out n i hav found the solution

Similar Messages

  • How to club the amount field for the particular customer from file

    Hi ,
    In my BDC i am getting the Amount field which is need to be put in the Header data . For 1 Customer there are more than 5 line in amount field in the Excel file.
    For the Particular Customer , I need to club all the amount ffield and put it into the Heade data for the customer.
    How to do this .
    Thanks

    got answer

  • Fetch from cursor when no records returned

    Hi,
    I've got the following question / problem?
    When I do a fetch from a cursor in my for loop and the cursor returns no record my variable 'r_item' keeps the value of the previous fetched record. Shouldn't it contain null if no record is found and I do a fetch after I closed and opend the cursor? Is there a way the clear the variable before each fetch?
    Below you find an example code
    CURSOR c_item (itm_id NUMBER) IS
    SELECT DISTINCT col1 from table1
    WHERE id = itm_id;
    r_item  c_item%ROWTYPE;
    FOR r_get_items IN c_get_items LOOP
      IF r_get_items.ENABLE = 'N' THEN       
          open c_item(r_get_items.ITMID);
          fetch c_item into r_item;
          close c_item;
          IF  r_item.ACCES = 'E' then
               action1
          ELSE                 
               action2
          END IF;
      END IF;
    END LOOP;  Thanx

    DECLARE
        CURSOR c_dept IS
          SELECT d.deptno
          ,      d.dname
          ,      d.loc
          ,      CURSOR (SELECT empno
                         ,      ename
                         ,      job
                         ,      hiredate
                         FROM   emp e
                         WHERE  e.deptno = d.deptno)
          FROM   dept d;
        TYPE refcursor IS REF CURSOR;
        emps refcursor;
        deptno dept.deptno%TYPE;
        dname dept.dname%TYPE;
        empno emp.empno%TYPE;
        ename emp.ename%TYPE;
        job emp.job%TYPE;
        hiredate emp.hiredate%TYPE;
        loc dept.loc%TYPE;
    BEGIN
       OPEN c_dept;
       LOOP
         FETCH c_dept INTO deptno, dname, loc, emps;
         EXIT WHEN c_dept%NOTFOUND;
         DBMS_OUTPUT.put_line ('Department : ' || dname);
         LOOP
           FETCH emps INTO empno, ename, job, hiredate;
           EXIT WHEN emps%NOTFOUND;
           DBMS_OUTPUT.put_line ('-- Employee : ' || ename);
         END LOOP;
      END LOOP;
      CLOSE c_dept;
    END;
    /like this...

  • Length of amount field in New GL at the document entry

    Hi,
    1) At present I am working on ECC 6, EhP 4 with New GL Activated & Old GL "Not deactivated" (i.e deactivate update of Classic General Ledger GLT0 not done).
    2) The total table (FAGLFLEXT) & Line item table (FAGLFLEXA) field in new GL has amount field length as 23 digit.
    3) When I am trying to enter any FI Document in SAP, using transaction code F-02 or FB60 etc, the length of amount field is coming as 13 digit. I am not able to enter higher value
    Question:-
    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    Thanking you in advance
    Santosh Agarwal

    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    No, it is not.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    No, there isn't.  The field length that is appearing during document entry is really dictated by the data type of fields such as DMBTR, WRBTR in table BSEG; which is CURR (13,2).  Although the GL view (FAGLFLEX* tables) have longer length, the limitation in entry view (BSEG, etc.) stays as 13,2.

  • How to remove hash in the value of the field fetched from application serve

    Hi,
       I am populating values of the file which is in the application server to the internal table. But for the last field hash is also populating from the file along with the value.
    Please suggest me how to remove hash in the value of the last field.
    Thanks,
    Neelima.

    Hi Vinay,
    Please check the program. I have used the replace statement but it is not working.
    IF NOT v_sap_bom_rec IS INITIAL.
    Spliting the records at '~' delimiter
        SPLIT v_sap_bom_rec AT c_del INTO  wa_bom_file-model_name
                                           wa_bom_file-product_code
                                           wa_bom_file-description
                                           wa_bom_file-product_type
                                           wa_bom_file-mfg_part_num
                                           wa_bom_file-mfg_part_desc.
        REPLACE cl_abap_char_utilities=>horizontal_tab IN wa_bom_file-mfg_part_desc WITH space .
        wa_bom_file-status = c_status.
        APPEND wa_bom_file  TO i_bom_file.
    But it is not working.
    Please help me..
    Thanks
    Neelima

  • How can I autofill the "Amount" field in my eCommerce form using the "Total" from the shopping cart?

    I've found the tags to display the shopping cart summary elsewhere on the site, so I know there's a way to display the total, but I can't figure out a way to fill in the required "Amount" field in the eCommerce form used to process payments. I'd like that "Amount" field to be filled in automatically using the total in the shopping cart. Can anyone help? Thanks!

    You can use the shopping cart summary tag with custom layout.
    Here's the sample:
    <input type="text" value="{module_shoppingcartsummary template="/ModuleTemplates/Shop/cartsummary.tpl"}">
    Inside the shopping cart summary custom layout is a tag for total amount:
    {tag_currency}{tag_totalAmount} or {tag_totalAmountWithCurrency}

  • Issue while uploading data from flatfile to Transaction(VK13).

    Hi All,
    I am facing an issue while uploading the data from flatfile to the transaction(vk13). My flat file is as shown below.
    SalesOrganization    DistributionChannel    Customer    Material    Releasestatus    Amount    Currency    Quantity    UOM    ValidFrom    ValidTo
    2000    01    0010029614    AT309739    A    20.00    USD    1    PC    09/11/2014    12/31/9999
    If I upload these data using the RV_CONDITION_COPY  FM it is succesfully uploading to the relevant tables(konh,konp) but in the tcode VK13  I am getting all values fine, except UOM. Instead of PC it is showning as ***. I did not understand why it is happening please give an idea to solve my issue.
    Regards,
    Chakradhar.

    Hi Raymond,
    Thanks for your reply.Yes,If I use CONVERSION_EXIT_CUNIT_INPUT in my program the issue is, Assume If the user is giving PC as value for UOM field in flat file and upload the flat file.It is successfully uploading the value PC to the UOM field in transaction VK13 but the in the database table(konp) it is showing the value as ST.
    Regards,
    Chakradhar.

  • Amount and quantity to be proposed from PO in case of IR of PO before GR

    i have a case when i want to make invoice (MIRO) based on PO before doing GR, the amount and quantity are blank when i reference the PO number in MIRO- GR based IV is unchecked in PO.
    Please help me why the amount and quantity field are blank and is it possible through some setting that in case of IR of PO without GR the amount and quantity should be proposed from PO
    Regards,
    Garima

    I don't think in standard process it is possible...one way is to do the GR before custom miro but logically & technically it willbe a wrong process
    Regards,
    Indranil

  • How to maintain the amount field format after GUI_DOWNLOAD

    Hi everyone.
    I have this problem on my object.
    The format of field ERFMG in table AUFM is 3.921,569.
    After I SELECT it INTO an internal table it becomes like this 3921.569
    I would display this internal table in ALV and its ok. Its format is 3.921,569 The format is also not changed when I download it into an excel file using LIST -> EXPORT -> LOCAL FILE -> SPREADSHEET.
    However my program should automatically download to local if the user tick a checkbox in the selection-screen. It will use function module GUI_DOWNLOAD. When this is used, the format of ERFMG changes to 3921.569 again, since it is using my declared internal table.
    How will I use GUI_DOWNLOAD without changing the format of amount fields like ERFMG? What are my other options to do this?
    The Decimal Notation in my User Profile is already set to 1.234.567,89
    Thank you in advance.

    Hi Cris,
    To get the output in the user format for the decimals, try the following code.
    data: wg_dec(7) type p decimals 2.
    data: wg_dcp type usr01-dcpfm.
    data: wg_dec_str(10) type c.
    wg_dec = '111135.67'.
    select single dcpfm from usr01
            into wg_dcp
           where bname = sy-uname.
    move wg_dec to wg_dec_str.
    if wg_dcp ne 'X'.
      replace all occurrences of '.' in wg_dec_str with ',' .
    endif .
    write:/ wg_dec, wg_dec_str.
    I dont feel there is any other option where you can change the decimals format as per the user profile.
    While giving the output of decimal values in a list, the system automatically displays it in the profile set by the user.
    This code will help you to set the decimal value as '.' or ',' as per the user profile.
    Note: It wont add the unit separator for hundreds and thousands. Again you have to do that manually.
    Hope this proves of some help to you.
    Regards,
    Pulkit

  • How to parse XML string fetched from the database

    i want to parse the XML string which is fetched from the oracle database.
    i have inserted the string in xml format in the database. The type of the field in which it is inserted is varchart2.
    I am successfully getting it using jdbc, storing it in a String.
    Now it is appended with xml version 1.0 and string is ready for parsing.
    Now i am making following programming.
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document doc = Builder.parse(xmlString);
    Element root = doc.getDocumentElement();
    NodeList node = root.getElementsByTagName("product");
    But i am getting IOException at the statement
    Document doc = Builder.parse(xmlString);
    there fore i request u to kindly help me in solving this error.
    -regards
    pujan

    DocumentBuilder does not have a method parse with xml string as aparameter. The string should be a xml document uri.
    Convert xml string to StringReader.
    parse(new InputSource(new StringReader(xmlString)));

  • How to roll up Amount field upto Input Criteria Posting period

    Hi All,
              I have a requirement to create a FI Budget report where the User will give the Posting Period as the input criteria, and based on the entered Posting period, 2 amount fields, "Original Budget" & "Current Month" need to get derived by looking at another amount field called “actual”, by rolling up the Amounts up to the entered Posting period.
    For example, the user gives input as Posting period = 06, which is December because Fiscal year starts from July here. And my Cube has an amount field "Actual" which displays amount for each posting period. Therefore when posting period = 06, then the "Actual" amount value for months July (PP = 01) through December (PP = 06) should be rolled up i.e added and displayed in the "Original Budget field". The “Current month” should only display the amount for the input criteria month.
    How can I do that, any suggestions please?
    Thanks!!

    Hi Sam,
             Is there any way i could do it without the SAP Exit? If yes, how? If no, can u specify in the document you sent, which code i could use as reference for my requirement?
    Thanks

  • Amount field is not populating properly

    Expert's,
    Here is an issue where one of the amount field not populating properly.For some opportunities the amount field will be just displyed as'0' but for some opprtunities the amount field is displaying as'$0'.The data we are pulling is from CRM.
    Thanks in advance.
    vasu.

    Hi,
    looks like extenstion of your last thread
    did you already have a look in data in cube?just to make sure,try to display cube's data using List cube transaction .Take this amount field,corresponding Currency Key,and you rmost impotant characteristics...and check whether all records are having entry in 'currency' column?

  • Payment check amount field

    Hi;
    I've already made a Z for payment check and works fine, but we have notice something when preview the checks in the spool, some checks in the amount (in numbers) field "*****999,999.99" sometimes it´s moves like this:
    1) example                                    "......******999,999.99"
    2) example                              ".............******99,999.99"
    3) example                                   "....******999.99"
    and so....
    in DEV we made a lot of test printing in paper the payment check an worked fine, but the problem is in QAS.
    How can i get that the amount doesn´t move in the sapscript...?
    Thanks on advance,
    David Fúnez
    Tegucigalpa, Honduras
    Edited by: David Funez on Feb 23, 2012 9:27 PM
    Edited by: David Funez on Feb 23, 2012 9:27 PM

    Hi David,
        create a SIGN aligned tab for that amount field. The tab is nothing but the position in the form from where the printing of that particular field should start.
    This should solve your problem.
    Please revert if you still face any problems.
    Regards,
    Praveenkumar T.

  • Data fetching from BSEG table

    Hi,
    I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
    I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
    I want reduce this time duration.
    Please guide me.

    Have you tried this selection in se16? I'm quite sure that It will take
    a long time.
    The problem has been explained in this group before and I think you
    should search for bseg in the answers given.
    As a hint: It has to do with the selection universe. You are restricting
    only bukrs from the primary key (all the other restrictions in your
    where clause are filters that are applied on SAP's side (not on the
    database side)). The problem is that bseg isn't stored as separated
    fields in the RDBMS, but as a table with the primary key and a stream of
    bits in a raw field.
    You should review and change the logic you're using before reading bseg.
    It's the only way you'll improve the performance of this select. (for
    example, you could use one or more secondary index tables - bi or ba
    to retrieve belnr and access bseg with a better where clause).

  • Amount field in smartform

    Hi Experts,
    I am developing smart form for invoice.In output it is displaying amount field like this
    123.44,65 instead of 123,44.65.(I.e full stop is coming in place of comma and vice versa).
    please help me.
    Thanks,
    Santosh

    Hi
    In order to convert the amount field  we need to check first user settings . Even though the User setting value is 'X' .
    The amount will not display correclt .
    For this proper soultion is change the format according to country settings .
    for that we need to give the syntax set country countryid.
    this syntax will look into T005X if the country id is avaliable  it will fetch the decimal notation provided.
    if not provided you need to provide the syntax
    SET COUTNRY SPACE . Here space will check the user settings and change the correct settings.
    Please  provide the SET COUNTRY SPACE before where you are trying to display . ie using flow logic -> program lines
    or in driver program  where you are trying to calculate .
    I have done the same thing when i had this problem for Purchase order smartform.
    Thanks
    Hariharan.

Maybe you are looking for

  • Problem with elementHost in a mdi winforms and high dpi

    hi, my problem is simple. when i use elementhost in my mdi winforms applcation, it works very well with 96dpi and 120dpi but if i use 144dpi or more, the display is corrupted. it seems that elementhost force a rescale for each other controls/forms wi

  • MTP USB Device not recognized under Windows 7 Ultimate

    Hey everybody, I'm sure there are plenty of similar threads about this issue, however I haven't seen any with Windows 7 as OS. My problem is in the recognition of the driver, since the MTP device is not working properly. I've tried alot of possible s

  • Error in Message Mapping "Target message IDOC: ORDRSP.ORDERS02 does not exi

    Hi, I have joined newly to the team. When I tried to open one message mapping it throwinf follwing error... "Target message IDOC: ORDRSP.ORDERS02 does not exist in software component version ID: 44423362454456485465.. Check whether the software compo

  • Error while Using TYPE ....

    Hi All ... I have create a TYPE as Follows :- CREATE OR REPLACE TYPE test_type AS OBJECT (     id number(12),      name varchar2(50) Then , In Package Specification used ..... type test_tab_type is table of test_type; Now , In Package Body I am using

  • PHOTO STREAM KEEPS SHOWING LOADING

    Hi Everyone.. I have removed most of the pics from camera roll on iPhone and iPad, and made separate photo streams of my pictures, more like albums. For e.g. each trip photos is a photo stream. This way I reduced the space usage on iPhone and iPad. H