Skip to Content
avatar image
Former Member

BUKRS Vs Exchange Rates (T001 ---> BUKRS-----Currency---->?)

Hi Experts,

Pls. let me, Where I hv to see to know that, a partcular BUKRS_1000 does hv/assigned so & so Exchange Rate Types - KURST?

Am trying to search in T001 -> BUKRS -Currency -->?

but, not get succeeded!

thanq.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 17, 2007 at 10:04 PM

    Hi,

    The following is a sample program i find in this forum

    REPORT ZTEST01 .
    
    TABLES: T001, TKA01, TKA02.
    DATA: KURS LIKE TCURR-UKURS.
    
    PARAMETERS: BUKRS LIKE T001-BUKRS.
    
    SELECT SINGLE * FROM T001 WHERE BUKRS = BUKRS.
    
    SELECT * FROM TKA02
    WHERE BUKRS = BUKRS.
    SELECT SINGLE * FROM TKA01 WHERE KOKRS = TKA02-KOKRS.
    
    CALL FUNCTION 'READ_EXCHANGE_RATE'
    EXPORTING
    DATE = SY-DATUM
    FOREIGN_CURRENCY = TKA01-WAERS
    LOCAL_CURRENCY = T001-WAERS
    TYPE_OF_RATE = 'M'
    IMPORTING
    EXCHANGE_RATE = KURS
    * FOREIGN_FACTOR =
    * LOCAL_FACTOR =
    * VALID_FROM_DATE =
    EXCEPTIONS
    NO_RATE_FOUND = 1
    NO_FACTORS_FOUND = 2
    NO_SPREAD_FOUND = 3
    OTHERS = 4.
    
    
    ENDSELECT.
    WRITE KURS.
    

    aRs

    Add comment
    10|10000 characters needed characters exceeded