Urgent Plsseeeeeeeeeeeee Currency Feild

Hi Experts,
I need to display Output in ALV when i press print button a spool need to be generated.
I am having two currency feilds one i am getting from database and the other i am calulating in the program which is multipled with percent feild.  
In my program if i comment the caluclated currency feild feild catlog every thing is fine the spool is generated. But if i un comment the program is going to DUMP.
i am attching the code below . I bold code is the caluclated currency field.
*& Report  ZAFGU070
REPORT  ZAFGU070 NO STANDARD PAGE HEADING
          line-size 132                                            V05
          line-count 65                                            V05
            LINE-SIZE 170                                           "V05
            LINE-COUNT 58                                           "V05
            MESSAGE-ID ZF.
                     CONSTANTS                                           *
CONSTANTS : C_COMP_CODE TYPE BUKRS VALUE '0001',                  " constant fields
            C_SPL_PURP_ACCT TYPE HKONT VALUE '710000',
            C_NET_AMT TYPE P DECIMALS 2 VALUE '1.00'.
CONSTANTS : C_CHECK TYPE C VALUE 'X',                             " constant fields
            C_PROJ_REPOST TYPE BLART VALUE 'IL',
            C_GI_OR_GD TYPE BLART VALUE 'WL',
            C_DEBIT TYPE SHKZG VALUE 'S',
            C_DEBIT_IND TYPE BSCHL VALUE '40',
            C_CREDIT_IND TYPE BSCHL VALUE '50',
            C_LANG TYPE SPRAS VALUE 'E'.
CONSTANTS : C_TCODE1(03) TYPE C VALUE 'VL%',
            C_CON_LAND1 TYPE LAND1 VALUE 'US',
            C_REC_TYPE TYPE RRCTY VALUE '0'.
CONSTANTS : BEGIN OF IS_CONST,                                    " constant fields
               PROG_HEAD(08) TYPE C VALUE 'SAPMF05A',             " header prog
               PROG_CODG(08) TYPE C VALUE 'SAPLKACB',             " coding block
               DYN_0002(04)  TYPE C VALUE '0002',                 " dynpro 0002
               DYN_0100(04)  TYPE C VALUE '0100',                 " dynpro 0100
               DYN_0300(04)  TYPE C VALUE '0300',                 " dynpro 0300
               MKOAR(01)     TYPE C VALUE 'D',                    " account type
               PERIV         TYPE PERIV VALUE 'AM',               " fisc yr variant
               CURRENCY      TYPE WAERS  VALUE 'USD',             " currency
               RATE(09)       TYPE C VALUE '0' ,                  " exchange rate
               DOC_TYPE(02)   TYPE C VALUE 'SA',                  " Doc Type
         Begin of change (D08k900809)
              BUS_AREA(04)   TYPE C VALUE '0106',               " bus area
               PROFIT_CENTRE(10) TYPE C VALUE 'C_110601',         " Profit Center
         End of change (D08k900809)
               TEXT_HEAD(25)  TYPE C VALUE 'Tax Calc. for CC consump.',
            END OF IS_CONST.
                    P A R A M E T E R S
*PARAMETERS:
    P_BUKRS    LIKE BSIS-BUKRS DEFAULT '0001',        " Company Code
    P_HKONT    LIKE BSIS-HKONT DEFAULT '0070685001',  " GL Accounts
    P_NETAMT(4)   TYPE P DECIMALS 2 DEFAULT '0.84'.   " Net amount
*SELECT-OPTIONS:
    S_BUDAT    FOR BSIS-BUDAT.
**selection-screen begin of line.       " 3.0 syntax change  v02
*SELECTION-SCREEN ULINE.
**selection-screen end of line.         " 3.0 syntax change  v02
*PARAMETERS:                            " Parameters for BDC stuff
P_BDCNM     LIKE APQI-GROUPID        " UPG45B
       DEFAULT SY-REPID OBLIGATORY,   " BDC name for combined file
P_DEVICE    LIKE USR01-SPLD,
P_ERRLP     AS CHECKBOX DEFAULT 'X'.
DATA : BUDAT TYPE BUDAT.
PARAMETERS:
             P_BUKRS      TYPE BUKRS DEFAULT C_COMP_CODE,          " Company Code
             P_HKONT      TYPE HKONT DEFAULT C_SPL_PURP_ACCT,      " GL Accounts
             P_NETAMT(4)  TYPE P DECIMALS 2 DEFAULT C_NET_AMT.     " Net amount
SELECT-OPTIONS:
                S_BUDAT FOR BUDAT.
SELECTION-SCREEN BEGIN OF LINE.                                    " 3.0 syntax change  v02
SELECTION-SCREEN ULINE 1(80).
SELECTION-SCREEN END OF LINE.                                      " 3.0 syntax change  v02
PARAMETERS:                                                        " Parameters for BDC stuff
            P_BDCNM     TYPE APQ_GRPN                       " UPG45B
                        DEFAULT SY-REPID OBLIGATORY,               " BDC name for combined file
            P_DEVICE    TYPE RSPOPNAME,
            P_ERRLP     AS CHECKBOX DEFAULT C_CHECK.
                         TYPE-POOLS
TYPE-POOLS : SLIS.
                          D A T A
**DATA: BEGIN OF t_bsis OCCURS 2000,                                V05
*DATA: BEGIN OF T_BSIS OCCURS 0,                                   "V05
       KOSTL  LIKE BSIS-KOSTL,        " Cost Center
       BELNR  LIKE BSIS-BELNR,        "FI document                V05
       GJAHR  LIKE BSIS-GJAHR,        "Fiscal year                V05
       AMOUNT LIKE BSIS-DMBTR,        " amount
       WAERS  LIKE BSIS-WAERS,        " Currency key    UPG45B
     END OF T_BSIS.
TYPES : BEGIN OF TY_BSIS ,
          GJAHR  TYPE GJAHR,           " Fiscal year                V05
          BELNR TYPE BELNR_D,          " FI document                V05
          WAERS  TYPE WAERS,           " Currency key         UPG45B
          AMOUNT TYPE DMBTR,           " amount
          KOSTL  TYPE KOSTL,           " Cost Center
        END OF TY_BSIS.
DATA : BEGIN OF IS1_BSIS,
          GJAHR TYPE GJAHR,
          BELNR TYPE BELNR_D,
          WAERS TYPE KOSTL,
          SHKZG TYPE SHKZG,
          DMBTR TYPE DMBTR,
          KOSTL TYPE KOSTL,
       END OF IS1_BSIS.
DATA : IS2_BSIS TYPE TY_BSIS,
       IT_BSIS TYPE STANDARD TABLE OF TY_BSIS.
*DATA: BEGIN OF T_JV_ITEM OCCURS 2000,
       POST_KEY(2)     TYPE C,        " post_key
       ACCOUNT(10)     TYPE C,        " account
      amount(16)      TYPE c,        " amount                     V05
       COST_CENTER(10) TYPE C,        " cost_center
       BUS_AREA(4)     TYPE C,        " business area
       AMOUNT LIKE BSIS-DMBTR,        " amount                    "V05
     END OF T_JV_ITEM.
TYPES : BEGIN OF TY_JV_ITEM,
          POST_KEY(2)     TYPE C,        " post_key
          ACCOUNT(10)     TYPE C,        " account
        amount(16)      TYPE c,        " amount                   "V05
          COST_CENTER(10) TYPE C,        " cost_center
          PROFIT_CENTRE(10) TYPE C,      " Profit Centre
          AMOUNT TYPE DMBTR,             " amount                   "V05
        END OF TY_JV_ITEM.
DATA : IS_JV_ITEM TYPE TY_JV_ITEM,
       IT_JV_ITEM TYPE STANDARD TABLE OF TY_JV_ITEM.
*DATA: BEGIN OF T_ERROR OCCURS 500,
       COST_CENTER(10) TYPE C,            " cost center
       ACCOUNT(10)     TYPE C,            " account
       AMOUNT          LIKE BSIS-DMBTR,   " amount
       BUKRS           LIKE BSIS-BUKRS,   " company code            V05
       BELNR           LIKE BSIS-BELNR,   " document number         V05
       GJAHR           LIKE BSIS-GJAHR,   " fiscal year             V05
       KUNNR           LIKE KNA1-KUNNR,   " customer                V05
       COUNTRY(3)      TYPE C,            " country
       REGION(3)       TYPE C,            " region/state
       WAERS           LIKE BSIS-WAERS,   " CURRENCY KEY   UPG45B
      message(50)     type c,            " message                 V05
       MESSAGE(60)     TYPE C,            " message                 V05
     END OF T_ERROR.
TYPES : BEGIN OF TY_ERROR,
          COST_CENTER(10) TYPE C,        " cost center
          ACCOUNT(10)     TYPE C,        " account
          AMOUNT          TYPE DMBTR,    " amount
          BUKRS           TYPE BUKRS,    " company code            V05
          BELNR           TYPE BELNR_D,  " document number         V05
          GJAHR           TYPE GJAHR,    " fiscal year             V05
          KUNNR           TYPE KUNNR,    " customer                V05
          COUNTRY(3)      TYPE C,        " country
          REGION(3)       TYPE C,        " region/state
          WAERS           TYPE WAERS,    " CURRENCY KEY           UPG45B
        message(50)     type c,        " message                V05
          MESSAGE(60)     TYPE C,        " message                V05
        END OF TY_ERROR.
DATA : IS_ERROR TYPE TY_ERROR,
       IT_ERROR TYPE STANDARD TABLE OF TY_ERROR.
*DATA:  BEGIN OF CONST,                 " constant fields
        PROG_HEAD(08)  VALUE 'SAPMF05A',             " header prog
        PROG_CODG(08)  VALUE 'SAPLKACB',             " coding block
        DYN_0002(04)   VALUE '0002',  " dynpro 0002
        DYN_0100(04)   VALUE '0100',  " dynpro 0100
        DYN_0300(04)   VALUE '0300',  " dynpro 0300
        MKOAR(01)      VALUE 'G',     " account type
        PERIV          LIKE T009B-PERIV VALUE 'AM',  " fisc yr variant
        CURRENCY       LIKE BKPF-WAERS  VALUE 'USD', " currency
        RATE(09)       TYPE C VALUE '0' ,            " exchange rate
        DOC_TYPE(02)   TYPE C VALUE 'SA',            " Doc Type
        BUS_AREA(04)   TYPE C VALUE '0106',          " bus area
        TEXT_HEAD(25)  TYPE C VALUE 'Tax Calc. for CC consump.',
                                                     "#EC NOTEXT   V05
      END OF CONST.
*DATA:  BEGIN OF IS_CONST,                                   " constant fields
        PROG_HEAD(08) TYPE C VALUE 'SAPMF05A',             " header prog
        PROG_CODG(08) TYPE C VALUE 'SAPLKACB',             " coding block
        DYN_0002(04)  TYPE C VALUE '0002',                 " dynpro 0002
        DYN_0100(04)  TYPE C VALUE '0100',                 " dynpro 0100
        DYN_0300(04)  TYPE C VALUE '0300',                 " dynpro 0300
        MKOAR(01)     TYPE C VALUE 'D',                  " account type
        PERIV         TYPE PERIV VALUE 'AM',               " fisc yr variant
        CURRENCY      TYPE WAERS  VALUE 'USD',             " currency
        RATE(09)       TYPE C VALUE '0' ,                  " exchange rate
        DOC_TYPE(02)   TYPE C VALUE 'SA',                  " Doc Type
        BUS_AREA(04)   TYPE C VALUE '0106',                " bus area
        TEXT_HEAD(25)  TYPE C VALUE 'Tax Calc. for CC consump.',
                                                     "#EC NOTEXT   V05
      END OF IS_CONST.
for holding data of the table T900X.
DATA : IS_ZAFGTCR001 TYPE ZAFGTCR001.
*DATA:  BEGIN OF BDC OCCURS 1000.       " BDC table
       INCLUDE STRUCTURE BDCDATA.     " structure for BDC file
*DATA:  END OF BDC.                     " end of BDC table
DATA : IS_BDC TYPE BDCDATA,
       IT_BDC LIKE STANDARD TABLE OF IS_BDC.
*DATA:
  W_BUKRS             LIKE BSIS-BUKRS VALUE '0001',
  W_KOSTL             LIKE BSIS-KOSTL,
  W_VALID_DATA        TYPE C,
  W_TAX_AMOUNT        LIKE BSIS-MWSTS," Tax amount
  W_CR_ACCOUNT        LIKE BSIS-HKONT," Credit Account #
  W_REC_COUNT         TYPE I,
  W_POST_DATE(8)      TYPE C,
  W_PRE_ACCOUNT(10)   TYPE C.
  w_rpt_type         TYPE c.
W_PRE_AMOUNT(16)    TYPE C.
DATA:
   W_BUKRS             TYPE BUKRS VALUE C_COMP_CODE,
   W_KOSTL             TYPE KOSTL,
   W_VALID_DATA        TYPE C,
   W_TAX_AMOUNT        TYPE MWSTS,                                  " Tax amount
   W_CR_ACCOUNT        TYPE HKONT,                                  " Credit Account #
   W_REC_COUNT         TYPE I,
   W_POST_DATE(8)      TYPE C,
   W_PRE_ACCOUNT(10)   TYPE C.
  w_rpt_type          type c.
W_PRE_AMOUNT(16)    TYPE C.
Data declarations for finding shipt-customer state tax rate
*DATA:   MSEG_WEMPF LIKE KNA1-KUNNR,                                "V05
       T3(80).                                                    "V05
Data declarations for finding shipt-customer state tax rate
DATA:   MSEG_WEMPF TYPE KUNNR,                                      "V05
        T3(80)     TYPE C.                                          "V05
**begin V07
*CONSTANTS: c_TCODE1(03) VALUE 'VL%',
**CONSTANTS: TCODE1(04) VALUE 'VL01',                                "V05
          TCODE2(04) VALUE 'VL02',                                "V05
**end V07
*begin V07
*CONSTANTS: C_TCODE1(03) TYPE C VALUE 'VL%',
*CONSTANTS: TCODE1(04) VALUE 'VL01',                                "V05
          TCODE2(04) VALUE 'VL02',                                "V05
*end V07
**start of pcr 9558
          CON_LAND1 LIKE KNA1-LAND1 VALUE 'US'.
**end of pcr 9558
*start of pcr 9558
          CON_LAND1 TYPE LAND1 VALUE 'US'.
*end of pcr 9558
Internal table for KNA1 records                                   V05
*DATA : BEGIN OF T_KNA1 OCCURS 0,                                   "V05
          KUNNR LIKE KNA1-KUNNR,                                  "V05
          LAND1 LIKE KNA1-LAND1,                                  "V05
          REGIO LIKE KNA1-REGIO,                                  "V05
      END OF T_KNA1.                                              "V05
Internal table for KNA1 records                                   V05
DATA : IS_KNA1 TYPE KNA1,
       IT_KNA1 LIKE STANDARD TABLE OF IS_KNA1.
For holding data for tables T001B,CSKT.
DATA : IS_T001B TYPE T001B,
       IS_CSKT TYPE CSKT.
For holding Error Data
DATA : BEGIN OF IS_FINAL_ERROR ,
          COST_CENTER(10) TYPE C,
          KTEXT TYPE KTEXT,
          AMOUNT          TYPE DMBTR,                               " amount
          EXT_AMOUNT   TYPE DMBTR,
          BUKRS           TYPE BUKRS,                               " company code    V05
          BELNR           TYPE BELNR_D,                             " document number V05
          GJAHR           TYPE GJAHR,                               " fiscal year     V05
          KUNNR           TYPE KUNNR,                               " customer        V05
          COUNTRY(3)      TYPE C,                                   " country
          REGION(3)       TYPE C,                                   " region/state
          WAERS           TYPE WAERS,                               " CURRENCY KEY    UPG45B
          MESSAGE(60)     TYPE C,                                   " message         V05
      END OF IS_FINAL_ERROR,
      IT_FINAL_ERROR LIKE STANDARD TABLE OF IS_FINAL_ERROR.
For ALV Gird
DATA : IT_FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV,
       IS_FIELDCATALOG TYPE SLIS_FIELDCAT_ALV,
       GD_REPID     TYPE SY-REPID,
       TIME TYPE SY-UZEIT.
                       INITIALIZATION
INITIALIZATION.
  PERFORM INIT_POST_DATE.              " Initial posting date for open
  " fiscal period
                 AT SELECTION-SCREEN
AT SELECTION-SCREEN ON P_NETAMT.       " Validate Net amount is > 0
  IF P_NETAMT < 0 OR P_NETAMT > 1.                          " and < 1.
    MESSAGE E999 WITH TEXT-003.
  ENDIF.
                START-OF-SELECTION.
START-OF-SELECTION.
  PERFORM AUTH_CHECK.
  PERFORM RETRIEVE_DATA.
  PERFORM TAX_CALCULATION.
  DESCRIBE TABLE IT_JV_ITEM LINES W_REC_COUNT.
  IF W_REC_COUNT > 0.
    PERFORM PROCESS_BDC.
  ELSE.
   WRITE: / TEXT-014.
  ENDIF.
                 end of selection
END-OF-SELECTION.
  PERFORM ERROR_REPORT.
                       Subroutines
FORM INIT_POST_DATE.             " find allowable (open) fiscal period
Find last day of first open period determined from t001b
fill key fields with : fy variant  =  'AM'
                     : fiscal year =  fiscal year from t001b
                     : fiscal per  =  fiscal per  from t001b
*DATA: W_OPEN_PERIOD    LIKE BKPF-MONAT.
  DATA : L_OPEN_PERIOD    TYPE MONAT,
         L_BUDAT_LOW      TYPE BUDAT,
         L_BUDAT_HIGH     TYPE BUDAT.
         SELECT * FROM T001B WHERE
                  RRCTY EQ '0'            AND
                  BUKRS EQ W_BUKRS        AND
                  MKOAR EQ CONST-MKOAR.
         ENDSELECT.
         IF SY-SUBRC NE 0.
           MESSAGE E999 WITH TEXT-001 W_BUKRS CONST-MKOAR.
         ENDIF.
         W_OPEN_PERIOD = T001B-FRPE1.
  SELECT * FROM T001B
           INTO IS_T001B
           WHERE RRCTY EQ C_REC_TYPE     AND
                 BUKRS EQ W_BUKRS        AND
                 MKOAR EQ IS_CONST-MKOAR.
  ENDSELECT.
  IF SY-SUBRC NE 0.
    MESSAGE E999 WITH TEXT-001 W_BUKRS IS_CONST-MKOAR.
  ENDIF.
  L_OPEN_PERIOD = IS_T001B-FRPE1.
CALL FUNCTION 'PERIOD_DAY_DETERMINE'
      EXPORTING
           I_GJAHR              = T001B-FRYE1
           I_MONAT              = W_OPEN_PERIOD
           I_PERIV              = CONST-PERIV
      IMPORTING
           E_FDAY               = S_BUDAT-LOW       " First day
           E_LDAY               = S_BUDAT-HIGH      " Last day
      EXCEPTIONS
           ERROR_PERIOD         = 01
           ERROR_PERIOD_VERSION = 02
           FIRSTDAY_NOT_DEFINED = 03
           PERIOD_NOT_DEFINED   = 04.
IF SY-SUBRC <> 0.
   MESSAGE E999 WITH TEXT-002 : CONST-PERIV W_OPEN_PERIOD T001B-FRYE1.
ENDIF.
  CALL FUNCTION 'PERIOD_DAY_DETERMINE'
    EXPORTING
      I_GJAHR              = IS_T001B-FRYE1
      I_MONAT              = L_OPEN_PERIOD
      I_PERIV              = IS_CONST-PERIV
    IMPORTING
      E_FDAY               = S_BUDAT-LOW            " First day
      E_LDAY               = S_BUDAT-HIGH           " Last day
    EXCEPTIONS
      ERROR_PERIOD         = 01
      ERROR_PERIOD_VERSION = 02
      FIRSTDAY_NOT_DEFINED = 03
      PERIOD_NOT_DEFINED   = 04.
  IF SY-SUBRC <> 0.
    MESSAGE E999 WITH TEXT-002 : IS_CONST-PERIV L_OPEN_PERIOD IS_T001B-FRYE1.
  ENDIF.
  APPEND S_BUDAT.
ENDFORM.                    "INIT_POST_DATE
*&      Form  AUTH_CHECK
FORM AUTH_CHECK.
AUTHORITY-CHECK OBJECT 'ZAZBATCH'
                 ID 'P_GROUP'  FIELD '*'
                 ID 'P_ACTION' FIELD '*'
                 ID 'ACTVT'    FIELD '*'.
IF SY-SUBRC <> 0.
   MESSAGE E999 WITH TEXT-990 SY-REPID.
ENDIF.
ENDFORM.                    "AUTH_CHECK
      FORM RETRIEVE_DATA                                            *
      retrieves data frome BSIS                                     *
FORM RETRIEVE_DATA.
select * from bsis client specified
   where   hkont = p_hkont and
           bukrs = p_bukrs and
           mandt = sy-mandt and
           budat in s_budat and
           ( blart = 'IL' or blart = 'WL' ).               " v01
04/06/98 YTAI change select where clause  V02
select * from bsis                                                V05
SELECT BELNR GJAHR SHKZG DMBTR KOSTL WAERS                       "V05
        INTO (BSIS-BELNR, BSIS-GJAHR, BSIS-SHKZG, BSIS-DMBTR,     "V05
              BSIS-KOSTL, BSIS-WAERS)                             "V05
        FROM BSIS                                                 "V05
    WHERE   HKONT = P_HKONT AND
            BUKRS = P_BUKRS AND
            BUDAT IN S_BUDAT AND
            ( BLART = 'IL' OR BLART = 'WL' ).
end of changes
  SELECT GJAHR BELNR WAERS SHKZG DMBTR KOSTL                        "V05
         INTO CORRESPONDING FIELDS OF IS1_BSIS                      "V05
         FROM BSIS                                                  "V05
         WHERE HKONT =  P_HKONT AND
               BUKRS =  P_BUKRS AND
               BUDAT IN S_BUDAT AND
               (  BLART = C_PROJ_REPOST OR BLART = C_GI_OR_GD ).
    PERFORM POPULATE_DATA.
  ENDSELECT.
ENDFORM.                    "RETRIEVE_DATA
      FORM POPULATE_DATA                                            *
      Populate data                                                 *
FORM POPULATE_DATA.
  W_KOSTL = BSIS-KOSTL.
READ TABLE t_bsis WITH KEY w_kostl BINARY SEARCH.                  V05
READ TABLE T_BSIS WITH KEY KOSTL = W_KOSTL                        "V05
                            BELNR = BSIS-BELNR                     "V05
                            GJAHR = BSIS-GJAHR                     "V05
                            BINARY SEARCH.                         "V05
IF SY-SUBRC <> 0.                    " record not exists
   T_BSIS-KOSTL = W_KOSTL.
   T_BSIS-BELNR = BSIS-BELNR.                                      "V05
   T_BSIS-GJAHR = BSIS-GJAHR.                                      "V05
   IF BSIS-SHKZG = 'S'.
     T_BSIS-AMOUNT = BSIS-DMBTR.
   ELSE.
     T_BSIS-AMOUNT = BSIS-DMBTR * -1.
   ENDIF.
   T_BSIS-WAERS = BSIS-WAERS.         " UPG45B
   INSERT T_BSIS INDEX SY-TABIX.      " Create new record
ELSE.                                " record exists
   IF BSIS-SHKZG = 'S'.               " Debit
     T_BSIS-AMOUNT = T_BSIS-AMOUNT + BSIS-DMBTR.
   ELSE.                              " Credit
     T_BSIS-AMOUNT = T_BSIS-AMOUNT - BSIS-DMBTR.
   ENDIF.
   MODIFY T_BSIS INDEX SY-TABIX.      " update amount
ENDIF.
  W_KOSTL = IS1_BSIS-KOSTL.
READ TABLE t_bsis WITH KEY w_kostl BINARY SEARCH.                  V05
  READ TABLE IT_BSIS INTO IS2_BSIS WITH KEY KOSTL = W_KOSTL         "V05
                             BELNR = IS1_BSIS-BELNR                 "V05
                             GJAHR = IS1_BSIS-GJAHR                 "V05
                             BINARY SEARCH.                         "V05
  IF SY-SUBRC <> 0.                                      " record not exists
    IS2_BSIS-KOSTL = W_KOSTL.
    IS2_BSIS-BELNR = IS1_BSIS-BELNR.                                "V05
    IS2_BSIS-GJAHR = IS1_BSIS-GJAHR.                                "V05
    IF IS1_BSIS-SHKZG = C_DEBIT.
      IS2_BSIS-AMOUNT = IS1_BSIS-DMBTR.
    ELSE.
      IS2_BSIS-AMOUNT = IS1_BSIS-DMBTR * -1.
    ENDIF.
    IS2_BSIS-WAERS = IS1_BSIS-WAERS.                     " UPG45B
    INSERT IS2_BSIS INTO IT_BSIS INDEX SY-TABIX.         " Create new record
  ELSE.                                                  " record exists
    IF IS1_BSIS-SHKZG = C_DEBIT.                         " Debit
      IS2_BSIS-AMOUNT = IS2_BSIS-AMOUNT + IS1_BSIS-DMBTR.
    ELSE.                                                " Credit
      IS2_BSIS-AMOUNT = IS2_BSIS-AMOUNT - IS1_BSIS-DMBTR.
    ENDIF.
    MODIFY IT_BSIS FROM IS2_BSIS INDEX SY-TABIX.         " update amount
  ENDIF.
ENDFORM.                    "POPULATE_DATA
      FORM TAX_CALCULATION                                          *
*- OLD -1. validate cost center against table CSKS                    *
V05   1. find originating material document and shipt-to in FI doc. *
      2. retrieve tax rate which is based on table T900x which is   *
         derived by country and region                              *
      3. calculate tax amount
FORM TAX_CALCULATION.
*CLEAR T_BSIS.
LOOP AT T_BSIS.
   PERFORM VALIDATE_LINE_ITEM.
   IF W_VALID_DATA = 'X'.             " Valid data
subtotal of each cost center, times net amount % and times tax rate
     W_TAX_AMOUNT = T_BSIS-AMOUNT * P_NETAMT
                      * ( T900X-TAX_RATE / 100 ).
     IF W_TAX_AMOUNT > 0.
       PERFORM SAVE_JV_ITEM USING '40' '50'.          " JV Line item
     ELSE.
       W_TAX_AMOUNT = W_TAX_AMOUNT * -1.
       PERFORM SAVE_JV_ITEM USING '50' '40'.          " JV Line item
     ENDIF.
   ENDIF.
ENDLOOP.
  CLEAR IS2_BSIS.
  LOOP AT IT_BSIS INTO IS2_BSIS.
    PERFORM VALIDATE_LINE_ITEM.
    IF W_VALID_DATA = C_CHECK.                                 " Valid data
subtotal of each cost center, times net amount % and times tax rate
      W_TAX_AMOUNT = IS2_BSIS-AMOUNT * P_NETAMT
( IS_ZAFGTCR001-TAX_RATE / 100 ).
      IF W_TAX_AMOUNT > 0.
        PERFORM SAVE_JV_ITEM USING C_DEBIT_IND C_CREDIT_IND.   " JV Line item
      ELSE.
        W_TAX_AMOUNT = W_TAX_AMOUNT * -1.
        PERFORM SAVE_JV_ITEM USING C_CREDIT_IND C_CREDIT_IND.  " JV Line item
      ENDIF.
    ENDIF.
  ENDLOOP.
ENDFORM.                    "TAX_CALCULATION
      FORM VALIDATE_LINE_ITEM                                       *
      validate cost center and retrieve tax rate from table t900x   *
FORM VALIDATE_LINE_ITEM.
DATA: BKPF_AWKEY LIKE BKPF-AWKEY.                                "V05
CLEAR W_CR_ACCOUNT.
V05 - start of deletion
SELECT * FROM CSKS                   " Validate cost center
   WHERE KOKRS = P_BUKRS AND
         KOSTL = T_BSIS-KOSTL AND
         ( DATBI >= SY-DATUM AND DATAB <= SY-DATUM ) AND
         BKZKP = ' '    AND
         BKZKS = ' '    AND
         BKZER = ' '.
   EXIT.
ENDSELECT.
V05 - end of deletion
V05 - start of insertion
CLEAR MSEG_WEMPF.
CLEAR T_KNA1.
Read BKPF ( FI document header ) to find reference material document.
Check original transaction was delivery create or change (VL01/VL02)
SELECT SINGLE AWKEY INTO BKPF_AWKEY FROM BKPF
                        WHERE BUKRS = P_BUKRS
                          AND BELNR = T_BSIS-BELNR
                          AND GJAHR = T_BSIS-GJAHR
**Begin V07
                          AND  ( TCODE = TCODE1 OR TCODE = TCODE2 ).
                     AND  TCODE like c_tcode1.
**END V07
IF SY-SUBRC NE 0.
    PERFORM ERROR_LOG USING TEXT-015. " not originated from SD
    EXIT.
ENDIF.
Read material document - only first item because the goods recipient
will be the same even if there are multiple items - because the
originating document was a delivery doc.
SELECT WEMPF INTO MSEG_WEMPF FROM MSEG UP TO 1 ROWS
                             WHERE MBLNR = BKPF_AWKEY(10)
                               AND MJAHR = BKPF_AWKEY+10(4)
                               AND WEMPF NE SPACE.
ENDSELECT.
IF SY-SUBRC NE 0.
    PERFORM ERROR_LOG USING TEXT-016. "no goods recipient
    EXIT.
ENDIF.
Find ship-to customer and country, state - use internal table to
prevent redundant reads from database
READ TABLE T_KNA1 WITH KEY KUNNR = MSEG_WEMPF BINARY SEARCH.
if not stored yet collect and save in table
IF SY-SUBRC NE 0.
   SELECT SINGLE KUNNR LAND1 REGIO INTO T_KNA1
                             FROM KNA1
                             WHERE KUNNR = MSEG_WEMPF
                             AND LAND1 NE SPACE
                             AND REGIO NE SPACE.
   IF SY-SUBRC NE 0.
      PERFORM ERROR_LOG USING TEXT-017. " No ship-to address
      EXIT.
   ELSE.
      INSERT T_KNA1 INDEX SY-TABIX.
   ENDIF.
ENDIF.
V05 - end of insertion
V05 - start of deletion
if sy-subrc = 0.
  if csks-land1 = space or csks-regio = space.     " check cost center
    perform error_log using text-004." address
  else.
    select single * from t900x       " retrieve tax rate
       where land1 = csks-land1 and
          regio = csks-regio.
V05 - end of deletion
V05 - start of insertion
Retrieve tax rate
SELECT SINGLE * FROM T900X
                 WHERE LAND1 = T_KNA1-LAND1
                   AND REGIO = T_KNA1-REGIO.
V05 - end of inserting
     IF SY-SUBRC = 0.
       W_VALID_DATA = 'X'.
       W_CR_ACCOUNT = T900X-HKONT.
     ELSE.
       PERFORM ERROR_LOG USING TEXT-006.
     ENDIF.
  endif.                                                         V05
else.                                                            V05
  perform error_log using text-005.                              V05
endif.                                                           V05
  DATA: BKPF_AWKEY TYPE AWKEY.                                     "V05
  CLEAR W_CR_ACCOUNT.
V05 - start of deletion
SELECT * FROM CSKS                   " Validate cost center
   WHERE KOKRS = P_BUKRS AND
         KOSTL = T_BSIS-KOSTL AND
         ( DATBI >= SY-DATUM AND DATAB <= SY-DATUM ) AND
         BKZKP = ' '    AND
         BKZKS = ' '    AND
         BKZER = ' '.
   EXIT.
ENDSELECT.
V05 - end of deletion
V05 - start of insertion
  CLEAR MSEG_WEMPF.
  CLEAR IS_KNA1.
Read BKPF ( FI document header ) to find reference material document.
Check original transaction was delivery create or change (VL01/VL02)
  SELECT SINGLE AWKEY INTO BKPF_AWKEY FROM BKPF
                         WHERE BUKRS = P_BUKRS
                           AND BELNR = IS2_BSIS-BELNR
                           AND GJAHR = IS2_BSIS-GJAHR
*Begin V07
                          AND  ( TCODE = TCODE1 OR TCODE = TCODE2 ).
                      AND  TCODE LIKE C_TCODE1.
*END V07
  IF SY-SUBRC NE 0.
    PERFORM ERROR_LOG USING TEXT-015. " not originated from SD
    EXIT.
  ENDIF.
Read material document - only first item because the goods recipient
will be the same even if there are multiple items - because the
originating document was a delivery doc.

Hi Cruz,
I am sending you the code that i modifed and the dump . I am getting the output but when i press print button the spool is not generated but it is going to dump. When i obsered the point where it is going to dump it is the program written by SAP.
    is_FIELDCATALOG-FIELDNAME   = 'W_EXT_AMOUNT'.
    is_FIELDCATALOG-SELTEXT_M   = 'Extended Amount'.
    is_FIELDCATALOG-COL_POS     = 4.
   is_FIELDCATALOG-DO_SUM      = 'X'.
   IS_FIELDCATALOG-OUTPUTLEN   = 16.
    IS_FIELDCATALOG-DO_SUM = 'X'.
    is_FIELDCATALOG-REF_FIELDNAME     = 'WAERS'.
    is_FIELDCATALOG-REF_TABNAME     = 'T001'.
    is_FIELDCATALOG-ddictxt         = 'M'.
   IS_FIELDCATALOG-CFIELDNAME  = 'DMBTR'.
    is_fieldcatalog-ctabname = 'BSIS'.
    APPEND is_FIELDCATALOG TO it_FIELDCATALOG.
    CLEAR  is_FIELDCATALOG.
DUMP analysis.
What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKKBL" had to be terminated because
    come across a statement that unfortunately cannot be executed.
  You attempted to access an unassigned field symbol
  (data segment 95).
  This error may occur if
  - You address a typed field symbol before it has been set with
    ASSIGN
  - You address a field symbol that pointed to the line of an
    internal table that was deleted
  - You address a field symbol that was previously reset using
    UNASSIGN or that pointed to a local field that no
    longer exists
  - You address a global function interface, although the
    respective function module is not active - that is, is
    not in the list of active calls. The list of active calls
    can be taken from this short dump.
SourceCde
2785   case gs_out-field_colcount.
2786     when 001.
2787       if gs_out_flags-slave ne 'X'.
2788         assign <fm01> to <field>.
2789         gs_fc = gs_mfc01.
2790       else.
2791         assign <fs01> to <field>.
2792         gs_fc = gs_sfc01.
2793       endif.
2794     when 002.
2795       if gs_out_flags-slave ne 'X'.
2796         assign <fm02> to <field>.
2797         gs_fc = gs_mfc02.
2798       else.
2799         assign <fs02> to <field>.
2800         gs_fc = gs_sfc02.
2801       endif.
2802     when 003.
2803       if gs_out_flags-slave ne 'X'.
2804         assign <fm03> to <field>.
2805         gs_fc = gs_mfc03.
2806       else.
2807         assign <fs03> to <field>.
2808         gs_fc = gs_sfc03.
2809       endif.
2810     when 004.
2811       if gs_out_flags-slave ne 'X'.
<b>>>>>         assign <fm04> to <field>.</b>2813         gs_fc = gs_mfc04.
2814       else.
2815         assign <fs04> to <field>.
2816         gs_fc = gs_sfc04.
2817       endif.

Similar Messages

  • URGENT: multiple currency one country grouping

    I have a requirement whereby i have multiple currencies for one country grouping (international payroll). How do i handle thIs requirement? Since payroll driver RPCALCx0 only calls one currency. Treat as urgent. Cheers.

    Hi
    To what I know, Payroll driver is always works for one currency respective to the company or CG currency.
    You can have multiple currency payroll which will be transparent to users with different currencies in infotype 14/15 or 0008. This is allowed in the system and you can change the infotype currency code when maintaining the infotype.
    in the payroll schema you have to convert the foreign currency to company code currency using currency conversion table in FI by using a custom function or you maintain the conversion rate in constants table.(for each period). in the 2nd case use yr PCR to convert the currency.
    once payroll is completed you convert the payment currency in bank transfer internal table with yr foreign currency and use the same conversion factor.
    when you run the reports using the payroll cluster you have to use the currency feild to choos the reporting currency including payslip. system will use the same conversion table in FI for displaying the foreign currency amount.
    Hope this helps.
    Regards
    Varadhan

  • Commas For Currency feild

    Hello
    I have SAP-Script i which i am taking cuurency feild into 1 variable and diplaying it in SAP-Script it is displaying the amount nicely but without any commas i want to place commas in international maths format . i have tried it by making variable like currency and quantity feilds but also it is not showing.
    Do help  me
    Points for sure

    You can use like this:
    P1  &L_DMBTR(T)&
    This will remove the commas from the amount.
    Regards,
    Naimesh Patel

  • Urgent -Group Currency

    what is the field and table in abap dic for Group currency ....
    also where will i get both local curreny and group currency

    GROUP CURRENCY (currency type 30) - currency defined in client master; normally this is also the consolidation reporting currency for the group; If using Group Currency in FI it is advised to use Group currency in CO as well.
    see table :  t000  (Clients)

  • Hello All, an urgent issue:- Currency Format

    Hello All,
    I created one program which download & printed the report after selecting the correspondence Radio button.
    While I am downloading the file on local system it will download as .txt file format & while I select the radio button “printed report” it will do it for correspondence invoice number.
    My issue is.
    In output I have few currency values in diff field. Now User want those value should come in this format (1.000.000,00) every time.
    So is there any function module which can convert the currency value format which user want? Or do I have to do some coding, if yes then what it should be.
    Because here user want whatever system format should be but value come in that format only in both condition either downloading the file or printed one.

    Sonu,
    Try with below example.
    Currency Conversion:
    Use the function module
    CONVERT_TO_LOCAL_CURRENCY
    Writing currency amount to string without thousands seperator
    This is usefull e.g. i connection with batch input/call transaction.
    GI_OUTPUT-WRBTR: Field type Currency with amount
    L_AMOUNT_STRING: Field type c with amount
    PERFORM AMOUNT_TO_STRING USING GI_OUTPUT-WRBTR
    CHANGING L_AMOUNT_STRING.
    FORM AMOUNT_TO_STRING USING P_AMOUNT
    CHANGING P_AMOUNT_STRING.
    DATA L_SEP(1) TYPE C.
    PERFORM GET_THOUSAND_SEPERATOR USING L_SEP.
    WRITE P_AMOUNT TO P_AMOUNT_STRING.
    REPLACE L_SEP WITH ' ' INTO P_AMOUNT_STRING.
    CONDENSE P_AMOUNT_STRING NO-GAPS.
    WRITE P_AMOUNT_STRING TO P_AMOUNT_STRING RIGHT-JUSTIFIED.
    ENDFORM.
    FORM GET_THOUSAND_SEPERATOR USING P_SEP.
    DATA: L_AMOUNT LIKE BSEG-DMBTR,
    L_AMOUNT_STRING(15) TYPE C.
    Find 1000 seperator. If decimal seperator = . then
    1000 seperator = , else 1000 seperator = .
    L_AMOUNT = '1.00'.
    WRITE L_AMOUNT TO L_AMOUNT_STRING.
    IF L_AMOUNT_STRING CS ','.
    P_SEP = '.'.
    ELSE.
    P_SEP = ','.
    ENDIF.
    ENDFORM.
    Convert amount to/from string
    CALL FUNCTION 'HRCM_AMOUNT_TO_STRING_CONVERT'
    EXPORTING
    betrg = 3000
    WAERS = 'DKK'
    NEW_DECIMAL_SEPARATOR =
    NEW_THOUSANDS_SEPARATOR =
    IMPORTING
    STRING = slam
    CALL FUNCTION 'HRCM_STRING_TO_AMOUNT_CONVERT'
    EXPORTING
    string = slam2
    DECIMAL_SEPARATOR = '.'
    THOUSANDS_SEPARATOR =
    WAERS = 'HUF'
    IMPORTING
    BETRG = b2
    EXCEPTIONS
    CONVERT_ERROR = 1
    OTHERS = 2
    Language depending formatting
    To format a currency amount with decimals according to the currency use
    WRITE and the CURRENCY option.
    Currency keys an d numbers of decimals are defined in table TCURX Decimal
    Places in Currencies.
    E.G.
    Formatting an amount in Kuwatian Dinars:
    Dmbtr = 123456.
    Write dmbtr currency 'KUD'
    123.456
    Write dmbtr currency 'USD'
    1234.56
    Note that the formatting does not depend on the number of decimals in the
    number in the program.
    Dmbtr = '12.3456'.
    Write dmbtr currency 'USD'
    1234.56
    To format the decimal and thousand sepearators according to the settings for
    a specific country,
    use the statement SET COUNTRY <country key>
    Settings for countries are defined in table T005 Countries.
    The country key used in the statement is field LAND1
    E.g.
    set country 'US'
    Don't forget to reward if useful....

  • BDC  display Error while converting the Currency ..

    Hi,
    Using BDC i have to cal Transaction Vk15.
    In this we have a field KONP-kbetr, which is a currency feild, with 2 decimals.
    I have to converted the Currency to 'EUR' and has moved it in a variable "gv_char13".
    ______________+declaration part+_____________________
    Data :  gv_eurconv_vk(14)      TYPE rkb1k-exchr,
               gv_eurconv_vk       TYPE konp-kbetr,
                 gv_char13(14) TYPE c.
    _____________+Currency Conversion+________________
      CALL FUNCTION 'RKC_SINGLE_EXCHANGE_RATE_GET'
        EXPORTING
          datum               = gv_sydatum
          kurst               = 'P'
          ncurr               = 'EUR'
          vcurr               = 'CZK'
    IMPORTING
       exchr               = gv_exchr_vk
       EXCEPTIONS
         no_rate_found       = 1
         OTHERS              = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      WRITE gv_exchr_vk  NO-GROUPING CURRENCY 'EUR'.
      MOVE gv_exchr_vk TO gv_eurconv_vk.
      CLEAR gv_char13.
      WRITE gv_eurconv_vk TO gv_char13.
    _________+Passing Value IN BDC VK15+__________
        wa_bdcdata_vk-fnam     = 'KONP-KBETR(01)'.
        wa_bdcdata_vk-fval     =  gv_char13.                     
        SHIFT  wa_bdcdata_vk-fval LEFT DELETING LEADING space.
        APPEND wa_bdcdata_vk TO gt_bdcdata_vk.
        CLEAR wa_bdcdata_vk.
    ----------+Calling the Transaction VK15+____
      CALL TRANSACTION 'VK15' USING gt_bdcdata_vk  MODE 'E' MESSAGES INTO gt_bdcmsg_vk.
    **--Display the error message if the call transaction fails--**
        IF sy-subrc EQ 0.
          IF NOT gt_bdcmsg_vk IS INITIAL.
            READ TABLE gt_bdcmsg_vk INTO wa_bdcmsg_vk INDEX sy-index.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id     = wa_bdcmsg_vk-msgid
                lang   = 'EN'
                no     = wa_bdcmsg_vk-msgnr
                v1     = wa_bdcmsg_vk-msgv1
                v2     = wa_bdcmsg_vk-msgv2
                v3     = wa_bdcmsg_vk-msgv3
                v4     = wa_bdcmsg_vk-msgv4
              IMPORTING
                msg    = gv_text_vk
              EXCEPTIONS
                OTHERS = 0.
            IF sy-subrc EQ 0.
              APPEND  gv_text_vk TO gt_mess_vk.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    **--Display the error message on the screen--**
      IF NOT gt_mess_vk[] IS INITIAL.
        LOOP AT gt_mess_vk INTO wa_mess_vk.
          WRITE:/ wa_mess_vk.
          CLEAR wa_mess_vk.
        ENDLOOP.
      ENDIF.
    In the dispaly tabkle for error message "gt_bdcmsg_vk" we get the sucess message and in table "gt_mess_vk" we get the message as the "Condition records Saved."
    The problem is when this report is executed it displayes the converted currency Value and in next line it dispalyes the ""Condition records Saved".
    But idealy the converted currency value should not be dispalyed.
    Actual Sample display:(shuld be this ):
    xyz.. message
    Condition Record Saved.
    Sample display (Error Dispaly ):
    xyz.. message
      3,14E-02 -
    (This shuold not be dispalyed)
    Condition Record Saved.

    Use modified code...
    *______________declaration part_____________________
    Data :  gv_eurconv_vk(14)      TYPE rkb1k-exchr,
              gv_eurconv_vk       TYPE konp-kbetr,
                 gv_eurconv_vk TYPE p DECIMALS 2,
                 gv_char13(14) TYPE c.
    *_____________Currency Conversion________________
      CALL FUNCTION 'RKC_SINGLE_EXCHANGE_RATE_GET'
        EXPORTING
          datum               = gv_sydatum
          kurst               = 'P'
          ncurr               = 'EUR'
          vcurr               = 'CZK'
    IMPORTING
       exchr               = gv_exchr_vk
       EXCEPTIONS
         no_rate_found       = 1
         OTHERS              = 2
      IF sy-subrc  <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    WRITE gv_exchr_vk  NO-GROUPING CURRENCY 'EUR'.
    MOVE gv_exchr_vk TO gv_eurconv_vk.
      gv_eurconv_vk = gv_exchr_vk.    
      CLEAR gv_char13.
      WRITE gv_eurconv_vk TO gv_char13.
    *_________Passing Value IN BDC VK15__________
        wa_bdcdata_vk-fnam     = 'KONP-KBETR(01)'.
        wa_bdcdata_vk-fval     =  gv_char13.                     
        SHIFT  wa_bdcdata_vk-fval LEFT DELETING LEADING space.
        APPEND wa_bdcdata_vk TO gt_bdcdata_vk.
        CLEAR wa_bdcdata_vk.
    Calling the Transaction VK15____
      CALL TRANSACTION 'VK15' USING gt_bdcdata_vk  MODE 'E' MESSAGES INTO gt_bdcmsg_vk.
    *Display the error message if the call transaction fails*
        IF sy-subrc EQ 0.
          IF NOT gt_bdcmsg_vk IS INITIAL.
            READ TABLE gt_bdcmsg_vk INTO wa_bdcmsg_vk INDEX sy-index.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id     = wa_bdcmsg_vk-msgid
                lang   = 'EN'
                no     = wa_bdcmsg_vk-msgnr
                v1     = wa_bdcmsg_vk-msgv1
                v2     = wa_bdcmsg_vk-msgv2
                v3     = wa_bdcmsg_vk-msgv3
                v4     = wa_bdcmsg_vk-msgv4
              IMPORTING
                msg    = gv_text_vk
              EXCEPTIONS
                OTHERS = 0.
            IF sy-subrc EQ 0.
              APPEND  gv_text_vk TO gt_mess_vk.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    *Display the error message on the screen*
      IF NOT gt_mess_vk[] IS INITIAL.
        LOOP AT gt_mess_vk INTO wa_mess_vk.
          WRITE:/ wa_mess_vk.
          CLEAR wa_mess_vk.
        ENDLOOP.
      ENDIF.

  • DIFFERENT Currencies for PO Line Item

    Hi Frndz,
    On a Purchase Order with more than one line item, the different items can have prices with DIFFERENT currencies?
    In my case first line item currency is getting copied to all line item and after that, currency feild is grayed out. But client want me to configure different currencies for different line item if possible.
    Thanks,
    Hetal

    Hi
    Currency filed is depending on Vendor master.
    In Vendor master u'll define the currency.
    IN ME21N, if u enter the vendor it will automatically default.
    Check it out.
    Regards,
    Raman

  • Can we change the Currency in the PO after GR and  invoice posting

    Hi
    Can we change the currency in the PO , Once after posting of the GR and Invoice.
    If posssible please suggest me the steps.
    Best Regards,
    Sairam

    Hi  Sai,
                   I suggest  not  to change the PO Currency once the GR and Invoice  is Posted , As the  Reports which fetch the PO value will go wrong if we do that.
    PS.  In ME22n System disables  the Currency feild once GR and Invoice Is posted.
    Thanks
    Sudhakar

  • Currency and Quantity conflicts!

    Hi,
    In my query all the quanity and currency fields are wrong
    ( Example "2500 ERROR" for currency feilds ) or 0 values for quantity feilds!
    i checked TRs and URs ! these fields are mapped correctly!
    how can i trace this error?
    Raj

    Hi,
    I am still not getting correct field values in the report!
    For quantity fields strangely at some places it is appearing as MIX but better than what i earlier got. ( some record values are coming at least).
    Mapped MEINS field of R/3 to 0BASE_UOM.
    But for currency fields it is still the same problem. it is coming as error after the number! ( mapped HWAER to 0CURRENCY)
    Any suggestions?
    Raj

  • Currency formate on 27.02.2008

    Hi,
    Good day experts,
    In my client i've format which is 1,234,567.89 in own data. But functional guys they've format which is 1.234.567,89 in own data.
    When the functional guys are going to tesiting the currency feild in CAA2 t.code. the validation is not going right. like:
    they are getting the extra zeros when they double click on the field. and they unable to enter the digits in last position of the field.
    Can write any conversion of this or else anything.
    Plz give me solution for this senario.
    regards,
    kk

    Hello Ebttikar,
    Please try clean boot then test how the issue goes. Following are the detailed steps about clean boot:
    Log on to the computer by using an account that has administrator rights.
    Click Start, type msconfig.exe in the Start Search box, and then press ENTER to start the System Configuration Utility.
    On the General tab, click Selective Startup, and then click to clear the Load startup items check box. (The Use Original Boot.ini check box is unavailable.)
    On the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.
    Click OK, Choose Don’t show this message again and then click Restart.
    Please check if RDP session issue is still the same.
    Please let me know the result.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Can we change the changes in Mavericks

    I've been color coding my folders for years, now with the change in Tags all I get is a tiny dot behind the folder name - not at all helpful. This is one of the changes software engineers make for change sake, not that any change was needed. Is there any way to change this back, so the whole folder name is highlighted with the tagged color in the listing rather than just having a pale dot behind the name?

    Hi  Sai,
                   I suggest  not  to change the PO Currency once the GR and Invoice  is Posted , As the  Reports which fetch the PO value will go wrong if we do that.
    PS.  In ME22n System disables  the Currency feild once GR and Invoice Is posted.
    Thanks
    Sudhakar

  • Code that call and change for the PO after GR

    Hi All,
    I'm doing an automatic outbound delivery creation after doing goods reciept. The ouput type should be triggered when the PO is being change. Does anyone know where on the programs called by the transaction MIGO is the PO being change so that I can tract if the output type is triggered when I do GR?

    Hi  Sai,
                   I suggest  not  to change the PO Currency once the GR and Invoice  is Posted , As the  Reports which fetch the PO value will go wrong if we do that.
    PS.  In ME22n System disables  the Currency feild once GR and Invoice Is posted.
    Thanks
    Sudhakar

  • How to uncheck the hide field in extract structure.

    Hello All,
    I have enhanced (Appended)  a field ZZVATREC to a generic data source created for billing data(A View). This field is as hide field in the extract structure.I am able to unhide the field in change mode  but when saving an error is comming like still errors in OLTP source system.
    This field is I want to  populate by coding and done proper coding also.
    I have tried with Roosfield table. but I did am unable to see my appended field in roosfield table for the datasource.
    In Rsa3 this field is populated.
    Could anyone help me to solve this issue.
    Regards

    Hi Nivas,
    The probable reason could be that the feild being appended is either a quantiy or currency feild and hence the definition of the append is not complete.
    This requires to mention the currency or unit refernce and then would you be able to unhide.
    There are amny posts for this topic in this forum.
    Try searchin it, if you have any difficulty making hte change.
    Naveen.A

  • WBS Element report in both currency- Urgent

    hi
    I want to pull WBS elements report in Both USD and CAN $ together but i do not know whr to do it.
    plz tell me whr in Project System i can do this
    plz help it is very urgent
    Thanks
    Manish

    Hi Manish,
    Use transaction code <b>CJI3</b>. When prompted, input controlling area, and on prompt for DB Profile, input <b>000000000001</b>. Input the WBS element in its field and execute. Once the report is displayed, Use the "<b>Change Layout</b>" icon to select the fields "<b>Value COCurr</b>", "<b>Value ObjCurr</b>", "<b>Value TranCurr</b>" etc. pull these across from the right hand side to the left hand side using the directional arrow. Press "Enter". The figures would now show in the report for the various currencies.
    I hope this helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Import PO Currency-urgent

    Dear experts,
    We are facing an issue. My client has import scenario. import vendor is say V1 having domestic currency. But there is domestic import duty and freight component in pricing. They want to enter domestic pricing component in in domestic currency when then want to enter material price in foreign currency.
    In standard SAP PO it is not possible. We have to calculate domestic pricing component in USD (Foreign currency) and then enter in pricing in USD.
    But user showed us an SAP screen shot of different implementation where user can input both domestic and foreign currency in same PO.
    How it is possible??? What seetings are required? Please consider it as urgent. i will give full points for satisfactory reply.
    Regards,
    santosh

    Hi Santosh,
    Go to item detail of condition and select the condition and press the item details icon which downside of condition.you can change currency of condtion here.
    reward if helpful,
    Regards,
    Chetan.

Maybe you are looking for