Translation, valuation and conversion of currencies

Hi Experts,
Please let me know what is the diffrence between valuation, translation and conversion of currencies and how can it be done?
regards
kumar

Dear Kumar,
In IMG under
SAP Netweaver -> General Settings -> Currencies
-> Check Exchange Rate Types
Exchange rates for different purposes for the same date are defined in the system as exchange rate types.
If you need to carry out currency translations between a number of different currencies, you can simplify exchange rate maintenance by entering a base currency for the exchange rate type. Instead of entering translation rates between every single currency, you then only need specify the translation rate between each currency and the base currency. All currency translations then take place in two steps - into the base currency and from the base currency into the target currency.
The base currency is DEM. You want to translate FRF to CHF. To do this, the following entries must be made in the table for maintaining currency translation rates:
o Ratio for FRF -> DEM
o Ratio for CHF -> DEM
Translation from FRF to CHF is then carried out automatically. The translation is done as though this exchange rate (FRF -> CHF) was actually entered in the conversion table.
In this example, the base currency (DEM) is the To-currency and FRF or CHF the From-currency.
For exchange rate relations within the EU, it is a legal requirement that the base currency (EUR) is the From-currency. You set the indicator for this in the BCurr=from field.
SAP Netweaver -> General Settings -> Currencies
-> Enter Exchange RatesExchange rates are required to:
Translate foreign currency amounts when posting or clearing or to check an exchange rate entered manually
Determine the gain and loss from exchange rate differences
Evaluate open items in foreign currency and the foreign currency balance sheet accounts
The exchange rates are defined by period ("valid from").
The  function has been improved. Choose the activity Define Exchange Rate Input Worklist or Assign Exchange Rate to Worklist.
The system uses the type M exchange rates for foreign currency translation when posting and clearing documents in the activity Enter Exchange Rate. An entry must exist in the system for this exchange rate type. The exchange rates apply to all company codes.
The exchange rate relations for currency conversion are only displayed here. Read the chapter Define Translation Ratios for information about exchange rate relations maintenance.
You define:
the rate types under which you want to store your exchange rates in the step
"Check Exchange Rate Type"
the required currency keys in the step "Check Currency Codes"
the conversion factors for
-   the currency pair
-   the exchange rate type
-   the date
in the step "Define the Conversion Factors for Currency Conversion"
Currency Valuation: - To create your financial statements, you have to perform a foreign currency valuation. This valuation covers the following accounts and items:
·        Foreign currency balance sheet accounts, that is, the G/L accounts that you run in foreign currency.
The balances of the G/L accounts that are not managed on an open item basis are valuated in foreign currency.
·        Open items that were posted in foreign currency.
Open items that are open on the key date are valuated in foreign currency.
You have the following options for the foreign currency valuation:
·        You can perform the valuation in local currency, (company code currency), or a parallel currency (for example, group currency).
·        You can also use different valuation methods (for example, lowest value principle).
·        If you want to translate additional currencies from the local currency, foreign currency valuation automatically performs a currency translation.
Regards,
Naveen.

Similar Messages

  • Currency translation, valuation  and coversion

    Hi Experts,
    Please let me know what is the diffrence between valuation, translation and conversion of currencies and how can it be done?
    regards
    kumar

    Dear Kumar,
    In IMG under
    SAP Netweaver -> General Settings -> Currencies
    -> Check Exchange Rate Types
    Exchange rates for different purposes for the same date are defined in the system as exchange rate types.
    If you need to carry out currency translations between a number of different currencies, you can simplify exchange rate maintenance by entering a base currency for the exchange rate type. Instead of entering translation rates between every single currency, you then only need specify the translation rate between each currency and the base currency. All currency translations then take place in two steps - into the base currency and from the base currency into the target currency.
    The base currency is DEM. You want to translate FRF to CHF. To do this, the following entries must be made in the table for maintaining currency translation rates:
    o Ratio for FRF -> DEM
    o Ratio for CHF -> DEM
    Translation from FRF to CHF is then carried out automatically. The translation is done as though this exchange rate (FRF -> CHF) was actually entered in the conversion table.
    In this example, the base currency (DEM) is the To-currency and FRF or CHF the From-currency.
    For exchange rate relations within the EU, it is a legal requirement that the base currency (EUR) is the From-currency. You set the indicator for this in the BCurr=from field.
    SAP Netweaver -> General Settings -> Currencies
    -> Enter Exchange RatesExchange rates are required to:
    Translate foreign currency amounts when posting or clearing or to check an exchange rate entered manually
    Determine the gain and loss from exchange rate differences
    Evaluate open items in foreign currency and the foreign currency balance sheet accounts
    The exchange rates are defined by period ("valid from").
    The  function has been improved. Choose the activity Define Exchange Rate Input Worklist or Assign Exchange Rate to Worklist.
    The system uses the type M exchange rates for foreign currency translation when posting and clearing documents in the activity Enter Exchange Rate. An entry must exist in the system for this exchange rate type. The exchange rates apply to all company codes.
    The exchange rate relations for currency conversion are only displayed here. Read the chapter Define Translation Ratios for information about exchange rate relations maintenance.
    You define:
    the rate types under which you want to store your exchange rates in the step
    "Check Exchange Rate Type"
    the required currency keys in the step "Check Currency Codes"
    the conversion factors for
    -   the currency pair
    -   the exchange rate type
    -   the date
    in the step "Define the Conversion Factors for Currency Conversion"
    Currency Valuation: - To create your financial statements, you have to perform a foreign currency valuation. This valuation covers the following accounts and items:
    ·        Foreign currency balance sheet accounts, that is, the G/L accounts that you run in foreign currency.
    The balances of the G/L accounts that are not managed on an open item basis are valuated in foreign currency.
    ·        Open items that were posted in foreign currency.
    Open items that are open on the key date are valuated in foreign currency.
    You have the following options for the foreign currency valuation:
    ·        You can perform the valuation in local currency, (company code currency), or a parallel currency (for example, group currency).
    ·        You can also use different valuation methods (for example, lowest value principle).
    ·        If you want to translate additional currencies from the local currency, foreign currency valuation automatically performs a currency translation.
    Regards,
    Naveen.

  • Reporting level Currency translation and group level Currency translation

    Hi All,
    Could any body explain me reporting level Currency translation and group level Currency translation.Please expalin me step by step scenario.
    Thanks in advance.
    Setty.

    Hi Jian,
    In my recent implementation completed, business only had one currency to deal with i.e. USD. Data was coming from ECC and we loaded all the data in LC instead of USD using transformation *NEWCOL(LC). Next, you can maintain a rate of 1 in the rate model and run the currency conversion.
    This will generate the same data values against USD. So, your statement " if we load LC and than convert it into USD, the data vulu will de double." is incorrect. In the system, you will have same set of values against LC as well as USD.
    I suggest that you configure Currency Conversion for future reqmts if any.
    Regarding BCF, balances from previous year (Balance Sheet Accounts) will need to be carried forward as opening balances to next year else your BS won't give true picture.
    Regards,
    Ashish

  • View Postings and Messages for Valuation and Translation

    Hi Everyone,
    Inevitably after valuation (FAGL_FC_VAL) or translation (FAGL_FC_TRANS) is run at month-end and the user exits out of the transaction, questions arise as to how certain items were revalued or translated.  What I'm trying to locate is if there is a way to retrieve the details from the "Posting", "Messages" and main screen view of the transaction AFTER the user has exited the transaction.  Are those logs stored somewhere or is there a way to recreate the data somehow?
    These are the items that I would like to be able to retrieve at anypoint:
    The program generates three lists:
    List of valuated line items or G/L account balances
    List of postings or posting proposals
    List of messages (own spool file)
    Thanks,
    Pete
    Edited by: Peter Zaborowski on Apr 26, 2010 3:04 PM

    Hello,
    Unfortunately, there's no option in standard functionality to realize the requirement.
    One workaround is to identify all valuation/reversal documents. For valuation document, BKPF-BKTXT is filled with "FC Valuation" and reversal with "Reverse posting", so it's not difficult to identify documents.
    Also processed documents and valuation difference is stored in table FAGL_BSBW_HISTRY (for items) FAGL_BSBW_HST_BL (for balance). Maybe these tables contain necessary info.

  • MB5L Report Discrepacy for Material and Stock Account Currency

    I have found in the MB Report Discrepancy for Material and Stock Account Currency. Why is this happening? Why is there a variance between total price in materials and stock account? Anyone please help me. I'm abaper but now been pushed to do logistic. I need help for this issue.

    Hi,
    Here's some information from help. Variances can occur for the following reasons:
    You have entered postings to the stock account manually.
    The stock account includes not only stock postings, but also other postings. In this case, you should check the account determination in the Customizing for Valuation and Account Assignment. Make sure that the stock accounts are used solely for the transaction key BSX (stock postings).
    Check Account Determination - OMWB
    The account assignment for the stock accounts (transaction key BSX) was changed during productive operation; the respective stocks, however, were not deducted from the old account (movement type 562) and posted to the new one (movement type 561).
    Cheers !

  • Maintain Field Mapping and Conversion Rules//LSMW

    Hello Friends,
    I want to add new fields in the step.no.5(Maintain Field Mapping and Conversion Rules).
    Indetail i'm going to upload the GL balances, for DR and CR line item fields are same so system is not accepting the same field value, so i have added 1 for the CR line item fields like in the below example.
    BSEG-WRBTR(Dr line item)
    BSEG-WRBTR1(Cr line item)
    but BSEG-WRBTR1(Cr line item) field not displaying in the step.no.5 to mapping to source field.
    please let me know the solution for this.
    thanks
    swapna.

    Hi,
    I would like to ask few questions.
    1. Are you using batch input recording or using any program for uploading. (through LSMW)
    2. Whether all your debit or credit line items are same every transactions. I believe they should be same, because you are uploading the balances.
    You should not have two similar fields for example, if it is WMBTR, then again WMBTR should not be there, it should WMBTR1 and WMBTR2. Make sure you have done the field mapping properly. When you have done the field mapping all the fileds must have been mapped. If any one of the fields are not mapped, then it will not be uploaded.
    Please see the following LSMW sample guide:
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Maintain Object Attributes Do the recording - Make sure that you do not have two fields with the similar name. If you have two fields with the same name double click on the field name and add1 or 2 to differentiate between field names. Just Copy those fields and descriptions in excel sheet, delete the blank lines, then in excel data => text to columns, your field names and descriptions will be now in two columns. Copy them, then put your cursor on the next sheet, then edit => Paste Special => Transpose, all the columns will become your rows. Now your file structure is ready. Maintain Source Structures Give some unique structure name and description Maintain Source Fields Here you add the fields that are being used in EXCEL first sheet, just copy them and make all the fields as C (Constant) and then give length of 60 for all fields. Maintain Structure Relations Though structure relations are already created just go to this step, click on edit, then click on create structure relation, just accept the message stating that the structure relation has already been created. Maintain Field Mapping and Conversion Rules Do the field mapping for all the fields, all the fields willl be stretched and you will see five rows against each row. In case if there is any row that has NOT stretched means, there is something wrong in the mapping. Maintain Fixed Values, Translations, User-Defined Routines There is nothing to be done at this step. You can simply ignore this. Specify Files Make you must have saved your excel file as .txt (before saving make sure you have copied data from sheet2 to sheet 3 and then sheet 3 is saved at tab delimited file. Text (Tab delimited) Select your file, make SURE that you have select "TABULATOR" radio button and say OK. Assign Files Go to this step and click on Create assignment button and accept the message and say ok. Read Data Remove two check boxes and just click on execute button. See the log. Make sure you have number of entries (lines) in your excel file are matching with this. Display Read Data Display data give 1 to 999 lines and double click on one of the line and see whether fields are mapped correctly are not. Convert Data Execute and see the log match the number of entries. Display Converted Data Display converted data, give 1 to 999 and double click on one of the line and see whether fields are mapped correctly or not. Create Batch Input Session Check on Keep Batch Input sessions check box, then execute. If you select that check box, even after execution it will be there and you can analyze what happened. Run Batch Input Session (Takes you to SM35) Go to SM35 select the batch and click on process button (execute), make sure you have checked right hand side first three check boxes and FOREGROUND (because you want to save what it is creating) Say OK Keep on press ENTER on your key board in order to move the session further. If you follow these steps along with the guide, surely you should be successful. There may be small difference between the file and what I have explained but ultimately the purpose is same. Hope this is useful and let me know in case if you have any issues.
    Regards, Ravi

  • BDC with lots of validations and conversions

    hi to all experts,
                           i need a sample  bdc program with lots of validations and conversion.
    thanks

    Hi,
    REPORT  ZMMFTS01A_MAINTAIN_SOURCE_LIST NO STANDARD PAGE HEADING
            LINE-SIZE 250.
    TABLES eord.
    ***Types Declaration
    **Type of Upload File
    TYPES : BEGIN OF ty_final,
             matnr(018),       "Material No
             werks(004),       "Plant
             vdatu(010),       "valid From
             bdatu(010),       "valid To
             lifnr(010),       "Vendor
             ekorg(004),       "Purchase Org
             reswk(004),       "Plant from which material is procured
             ebeln(010),       "Agreement
             ebelp(005),       "Item
             feskz(003),       "Fix
             notkz(003),       "Blk
             autet(003),       "MRP
            END OF ty_final.
    **Type for Error Records
    TYPES : BEGIN OF ty_errmsg,
             matnr(018),
             werks(004),
             vdatu(010),
             bdatu(010),
             lifnr(010),
             ekorg(004),
             reswk(004),
             ebeln(010),
             ebelp(005),
             feskz(003),
             notkz(003),
             autet(003),
             messg(200),
            END OF ty_errmsg.
    **Type to get the existing no of records before comparison
    TYPES : BEGIN OF ty_eord,
             matnr LIKE eord-matnr,
             werks LIKE eord-werks,
             erdat LIKE eord-erdat,
             vdatu LIKE eord-vdatu,
             bdatu LIKE eord-bdatu,
             lifnr LIKE eord-lifnr,
             flifn LIKE eord-flifn,
             ebeln LIKE eord-ebeln,
             ebelp LIKE eord-ebelp,
             febel LIKE eord-febel,
             reswk LIKE eord-reswk,
             notkz LIKE eord-notkz,
             ekorg LIKE eord-ekorg,
             autet LIKE eord-autet,
            END OF ty_eord.
    **Type to get the no of records in the Database after comparison
    TYPES : BEGIN OF ty_eord1,
             vdatu LIKE eord-vdatu,
             bdatu LIKE eord-bdatu,
            END OF ty_eord1.
    ***Data Declarations
    DATA : v_repid    LIKE sy-repid,
           v_datfm    LIKE usr01-datfm,
           v_message(200),
           v_err_rec  TYPE i,
           v_errors   TYPE i,
           v_updated  TYPE i,
           v_matnr    TYPE matnr,
           v_lines    TYPE i,
           v_eord_row TYPE i,
           s_count(2) TYPE n,
           v_fnam(20) TYPE c,
           v_tabix(2) TYPE n,
           v_vdatu(10),
           v_bdatu LIKE eord-bdatu,
           v_datum(10),
           f_option type ctu_params.
    ****Begin of Changes by Pavan  Ticket 648507            "D13K948908
    DATA : s_vdatu  TYPE sy-datum,
           s_bdatu  TYPE sy-datum.
    ****End of Changes By Pavan    Ticket 648507            "D13K948908
    ***Internal Tables Declaration
    DATA : it_eord       TYPE STANDARD TABLE OF ty_eord    WITH HEADER LINE,    "Internal Table for Appending all the Rows of DB Table EORD
           it_bdcdata    TYPE STANDARD TABLE OF bdcdata    WITH HEADER LINE,   
           it_final      TYPE STANDARD TABLE OF ty_final   WITH HEADER LINE,   
           it_err_rec    TYPE STANDARD TABLE OF ty_final   WITH HEADER LINE,  
           it_messtab    TYPE STANDARD TABLE OF bdcmsgcoll WITH HEADER LINE, 
           it_errmsg     TYPE STANDARD TABLE OF ty_errmsg  WITH HEADER LINE,   
           it_eord1      TYPE STANDARD TABLE OF ty_eord1   WITH HEADER LINE,   
           it_ctu_params TYPE STANDARD TABLE OF ctu_params WITH HEADER LINE.
    DATA : wa_final LIKE LINE OF it_final.
    ***Constants
    CONSTANTS : c_1  TYPE i VALUE '1',
                c_12 TYPE i VALUE '12',
                c_x         VALUE 'X'.
    ***Selection Screen
    SELECTION-SCREEN : BEGIN OF BLOCK header WITH FRAME TITLE text-002.
    SELECTION-SCREEN SKIP.
    PARAMETERS  P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK header.
                     I N I L I T I A L I Z A T I O N                          *
    INITIALIZATION.
      it_ctu_params-updmode = 'S'.
      it_ctu_params-defsize = 'X'.
      it_ctu_params-dismode = 'N'.
      APPEND it_ctu_params.
                   A T   S E L E C T I O N   S C R E E N                      *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
      PERFORM file_get.
                    S T A R T   O F   S E L E C T I O N                       *
    START-OF-SELECTION.
      PERFORM upload_xcel.
      IF NOT it_final[] IS INITIAL.
        SORT it_final BY matnr werks lifnr ekorg reswk ebeln ebelp.
        DESCRIBE TABLE it_final LINES v_lines.
      ENDIF.
    **To Know the Date Format for the user name in user master record
      SELECT SINGLE datfm FROM usr01
                          INTO v_datfm
                          WHERE bname = sy-uname.
    **Updating the Database based on the Combinations of Vendor/PPL/Porg and Agreement/Item
      LOOP AT it_final.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
        CLEAR : s_vdatu, s_bdatu.
        CONCATENATE it_final-vdatu6(4) it_final-vdatu0(2) it_final-vdatu+3(2) INTO s_vdatu.
        CONCATENATE it_final-bdatu6(4) it_final-bdatu0(2) it_final-bdatu+3(2) INTO s_bdatu.
        PERFORM plant_conversion USING it_final-werks.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
        REFRESH it_eord[].
        v_matnr = it_final-matnr.
    **Adding preceeding Zeroes to the Material No
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = v_matnr
          IMPORTING
            OUTPUT = v_matnr.
    **Adding preceeding Zeroes to the Vendor
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = it_final-lifnr
          IMPORTING
            OUTPUT = it_final-lifnr.
    **Adding preceeding Zeroes to the Item
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = it_final-ebelp
          IMPORTING
            OUTPUT = it_final-ebelp.
        TRANSLATE it_final-feskz TO UPPER CASE.
        TRANSLATE it_final-notkz TO UPPER CASE.
    Select the Existing Records from EORD for the Combination of Material and Plant of New Record
        SELECT matnr
               werks
               erdat
               vdatu
               bdatu
               lifnr
               flifn
               ebeln
               ebelp
               febel
               reswk
               notkz
               ekorg
               autet FROM eord INTO corresponding fields of TABLE it_eord
                      WHERE matnr EQ v_matnr
                        AND werks EQ it_final-werks.
        SORT it_eord BY matnr werks vdatu bdatu erdat lifnr ekorg reswk ebeln ebelp.
        IF sy-subrc EQ 0.
          LOOP AT it_eord.
    If the Combination of Old Records Vendor/PPL/Porg is same and Agreement/Item
    is also same then delete the Old Record and Upload the New Record
            IF it_eord-MATNR = V_MATNR        AND
               it_eord-WERKS = IT_FINAL-WERKS AND
               it_eord-LIFNR = IT_FINAL-LIFNR AND
               it_eord-EKORG = IT_FINAL-EKORG AND
               it_eord-RESWK = IT_FINAL-RESWK AND
               it_eord-EBELN = IT_FINAL-EBELN AND
               it_eord-EBELP = IT_FINAL-EBELP.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
              IF s_vdatu GT it_eord-bdatu OR s_bdatu LT it_eord-vdatu.
              ELSE.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
                v_tabix = sy-tabix.
                PERFORM bdc_dynpro USING  'SAPLMEOR' '0200'.
                PERFORM bdc_field USING : 'EORD-MATNR' it_final-matnr,
                                          'EORD-WERKS' it_final-WERKS,
                                          'BDC_OKCODE' '/00'.
                PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
                CONCATENATE 'RM06W-SELKZ(' v_tabix ')'  INTO v_fnam.
                PERFORM bdc_field USING : v_fnam 'X'.
                PERFORM bdc_field  USING 'BDC_OKCODE' '=LOES'.
                PERFORM bdc_dynpro USING 'SAPLSPO1'   '0200'.
                PERFORM bdc_field  USING 'BDC_OKCODE' '=YES'.
                PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
                PERFORM bdc_field  USING 'BDC_OKCODE' '=BU'.
              ENDIF.
            ELSE.
    If the Combination of Old Records Vendor/PPL/Porg is same and Agreement/Item
    is different, if the FIX of the Existing one is X and also the FIX of the New one
    is X then deselect the FIX of the Old one, if the MRP of the Old one is 1 and also
    the MRP of the New one is 1 then delete the MRP of the Old one, if the FIX and MRP
    of the Old one is X,1 and if it is same for the new one also, then delete the FIX
    and MRP of the Old one and insert the new one also
              IF it_eord-lifnr = it_final-lifnr AND
                 it_eord-ekorg = it_final-ekorg AND
                 it_eord-reswk = it_final-reswk AND
                 it_eord-ebeln NE '' AND it_final-ebeln NE ''.
                IF it_eord-ebeln NE it_final-ebeln OR it_eord-ebelp NE it_final-ebelp.
                  IF it_eord-febel EQ 'X' OR it_eord-autet EQ '1'.
                    v_tabix = sy-tabix.
                    IF it_final-feskz = 'X' AND it_final-autet = '1'.
                   it_eord-febel = ''.
                   it_eord-autet = ''.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
                      IF s_vdatu GT it_eord-bdatu OR s_bdatu LT it_eord-vdatu.
                      ELSE.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0200'.
                        PERFORM bdc_field USING : 'EORD-MATNR' it_final-matnr,
                                         'EORD-WERKS' it_final-WERKS,
                                         'BDC_OKCODE' '/00'.
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
                        CONCATENATE 'RM06W-FESKZ(' v_tabix ')'  INTO v_fnam.
                        PERFORM bdc_field1 USING : v_fnam SPACE.
                        CONCATENATE 'EORD-AUTET(' v_tabix ')'  INTO v_fnam.
                        PERFORM bdc_field1 USING : v_fnam SPACE.
                        PERFORM bdc_field  USING 'BDC_OKCODE' '=BU'.
                      ENDIF.
                    ELSEIF
                     it_final-feskz = 'X'.
                   it_eord-febel = ''.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
                      IF s_vdatu GT it_eord-bdatu OR  s_bdatu LT it_eord-vdatu.
                      ELSE.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0200'.
                        PERFORM bdc_field USING : 'EORD-MATNR' it_final-matnr,
                                         'EORD-WERKS' it_final-WERKS,
                                         'BDC_OKCODE' '/00'.
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
                        CONCATENATE 'RM06W-FESKZ(' v_tabix ')'  INTO v_fnam.
                        PERFORM bdc_field1 USING : v_fnam SPACE.
                        PERFORM bdc_field  USING 'BDC_OKCODE' '=BU'.
                      ENDIF.
                    ELSEIF
                     it_final-autet = '1'.
                   it_eord-autet  = ''.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
                      IF s_vdatu GT it_eord-bdatu OR  s_bdatu LT it_eord-vdatu.
                      ELSE.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0200'.
                        PERFORM bdc_field USING : 'EORD-MATNR' it_final-matnr,
                                         'EORD-WERKS' it_final-WERKS,
                                         'BDC_OKCODE' '/00'.
                        PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
                        CONCATENATE 'EORD-AUTET(' v_tabix ')'  INTO v_fnam.
                        PERFORM bdc_field1 USING : v_fnam SPACE.
                        PERFORM bdc_field  USING 'BDC_OKCODE' '=BU'.
                      ENDIF.
                    ENDIF.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
            CLEAR it_eord.
            IF NOT it_bdcdata[] IS INITIAL.
              CALL TRANSACTION 'ME01' USING it_bdcdata
                                      OPTIONS FROM it_ctu_params.
              REFRESH it_bdcdata[].
              EXIT.
            ENDIF.
          ENDLOOP.
        ENDIF.
          ENDIF.
        CLEAR : v_matnr, it_final.
      ENDLOOP.
      REFRESH : it_eord[].
      FREE it_eord.
    **Updating the Records of Upload File into ME01
      LOOP AT it_final INTO wa_final.
        it_final = wa_final.
        CLEAR v_matnr.
        TRANSLATE it_final-feskz TO UPPER CASE.
        TRANSLATE it_final-notkz TO UPPER CASE.
    *****Begin of Changes By Pavan   Ticket 648507            "D13K948908
        PERFORM plant_conversion USING wa_final-werks.
    *****End of Changes By Pavan     Ticket 648507            "D13K948908
    **To convert the Valid From and Valid To into User's Format
        CASE v_datfm.
          WHEN 1.
            CONCATENATE it_final-vdatu3(2) '.' it_final-vdatu0(2) '.' it_final-vdatu+6(4) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu3(2) '.' it_final-bdatu0(2) '.' it_final-bdatu+6(4) INTO it_final-bdatu.
          WHEN 2.
            CONCATENATE it_final-vdatu0(2) '/' it_final-vdatu3(2) '/' it_final-vdatu+6(4) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu0(2) '/' it_final-bdatu3(2) '/' it_final-bdatu+6(4) INTO it_final-bdatu.
          WHEN 3.
            CONCATENATE it_final-vdatu0(2) '-' it_final-vdatu3(2) '-' it_final-vdatu+6(4) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu0(2) '-' it_final-bdatu3(2) '-' it_final-bdatu+6(4) INTO it_final-bdatu.
          WHEN 4.
            CONCATENATE it_final-vdatu6(4) '.' it_final-vdatu0(2) '.' it_final-vdatu+3(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '.' it_final-bdatu0(2) '.' it_final-bdatu+3(2) INTO it_final-bdatu.
          WHEN 5.
            CONCATENATE it_final-vdatu6(4) '/' it_final-vdatu0(2) '/' it_final-vdatu+3(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '/' it_final-bdatu0(2) '/' it_final-bdatu+3(2) INTO it_final-bdatu.
          WHEN 6.
            CONCATENATE it_final-vdatu6(4) '-' it_final-vdatu0(2) '-' it_final-vdatu+3(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '-' it_final-bdatu0(2) '-' it_final-bdatu+3(2) INTO it_final-bdatu.
    ***End of Changes by Pavan                       "D13K945062
          WHEN 'A'.
            CONCATENATE it_final-vdatu6(4) '/' it_final-vdatu3(2) '/' it_final-vdatu+0(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '.' it_final-bdatu3(2) '.' it_final-bdatu+0(2) INTO it_final-bdatu.
          WHEN 'B'.
            CONCATENATE it_final-vdatu6(4) '/' it_final-vdatu3(2) '/' it_final-vdatu+0(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '.' it_final-bdatu3(2) '.' it_final-bdatu+0(2) INTO it_final-bdatu.
          WHEN 'C'.
            CONCATENATE it_final-vdatu6(4) '/' it_final-vdatu3(2) '/' it_final-vdatu+0(2) INTO it_final-vdatu.
            CONCATENATE it_final-bdatu6(4) '.' it_final-bdatu3(2) '.' it_final-bdatu+0(2) INTO it_final-bdatu.
        ENDCASE.
          AT NEW werks.
        CLEAR s_count.
        REFRESH : it_bdcdata[], it_eord1[].
        PERFORM bdc_dynpro USING  'SAPLMEOR' '0200'.
        PERFORM bdc_field USING : 'EORD-MATNR' it_final-matnr,
                                  'EORD-WERKS' it_final-WERKS,
                                  'BDC_OKCODE' '/00'.
        PERFORM bdc_dynpro USING  'SAPLMEOR' '0205'.
    **Adding preceeding Zeroes to the Material No
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = it_final-matnr
          IMPORTING
            OUTPUT = v_matnr.
    **To know the Number of records in EORD after Updating with new records
        SELECT vdatu
               bdatu FROM EORD
                     INTO TABLE it_eord1
                     WHERE matnr = v_matnr
                       AND werks = it_final-werks.
        DESCRIBE TABLE it_eord1 LINES v_eord_row.
        s_count = v_eord_row + 1.
          ENDAT.
        CONCATENATE 'EORD-VDATU(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-VDATU.
        CONCATENATE 'EORD-BDATU(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-BDATU.
        CONCATENATE 'EORD-EKORG(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam  it_final-EKORG.
        CONCATENATE 'EORD-LIFNR(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-LIFNR.
        CONCATENATE 'EORD-RESWK(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-RESWK.
        CONCATENATE 'EORD-EBELN(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-EBELN.
        CONCATENATE 'EORD-EBELP(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-EBELP.
        CONCATENATE 'RM06W-FESKZ(' s_count ')' INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-FESKZ.
        CONCATENATE 'EORD-NOTKZ(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-NOTKZ.
        CONCATENATE 'EORD-AUTET(' s_count ')'  INTO v_fnam.
        PERFORM bdc_field USING : v_fnam it_final-AUTET.
         AT END OF werks.
        PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
        REFRESH it_messtab[].
        CALL TRANSACTION 'ME01' USING it_bdcdata
                                OPTIONS FROM it_ctu_params
                                    MODE 'A'
                                  UPDATE 'L'
                             MESSAGES INTO it_messtab.
        IF SY-SUBRC NE 0.
          it_err_rec-matnr = it_final-matnr.
          it_err_rec-werks = it_final-werks.
          it_err_rec-vdatu = it_final-vdatu.
          it_err_rec-bdatu = it_final-bdatu.
          it_err_rec-lifnr = it_final-lifnr.
          it_err_rec-ekorg = it_final-ekorg.
          it_err_rec-reswk = it_final-reswk.
          it_err_rec-ebeln = it_final-ebeln.
          it_err_rec-ebelp = it_final-ebelp.
          it_err_rec-feskz = it_final-feskz.
          it_err_rec-notkz = it_final-notkz.
          it_err_rec-autet = it_final-autet.
          APPEND it_err_rec.
          CLEAR it_err_rec.
          PERFORM format_message.
        ENDIF.
         ENDAT.
      ENDLOOP.
    **To Upload the Error Records into another Excel File
      IF NOT it_err_rec[] IS INITIAL.
        PERFORM errors_file.
        DESCRIBE TABLE it_err_rec LINES v_err_rec.
        v_errors = v_err_rec - 1.
      ELSE.
        v_errors = 0.
      ENDIF.
      v_updated = v_lines - v_errors.
      WRITE : /2 'RUN DATE    :' color COL_NORMAL, 20 sy-datum,
              /2 'RUN TIME    :' color COL_NORMAL, 20 sy-uzeit.
      SKIP 2.
      WRITE : /2 'FILE PATH   :' color COL_NORMAL, 20 p_fname.
      SKIP 2.
      WRITE : /2 'RESULTS' color COL_NORMAL.
      SKIP.
      WRITE : /2 'Number of Rows in the Upload File  :' color COL_NORMAL, v_lines,
              /2 'Number of Rows Updated             :' color COL_NORMAL, v_updated,
              /2 'Number of Error Records            :' color COL_NORMAL, v_errors.
      IF it_errmsg[] IS NOT INITIAL.
        SKIP 2.
        WRITE : /2 'Details of the Error Records' color COL_NORMAL.
        SKIP.
        ULINE.
        FORMAT COLOR COL_NORMAL.
        WRITE : /2 'Material',
                22 'Plant',
                28 'Valid From',
                40 'Valid To',
                52 'Vendor',
                64 'Porg',
                70 'PPL',
                76 'Agreement',
                88 'Item',
                94 'Fix',
                98 'Blk',
                102 'MRP',
                106 'Err. Description'.
        FORMAT COLOR OFF.
        ULINE.
        LOOP AT it_errmsg.
          AT NEW autet.
            WRITE : /2 it_errmsg-matnr,
                    22 it_errmsg-werks,
                    28 it_errmsg-vdatu,
                    40 it_errmsg-bdatu,
                    52 it_errmsg-lifnr,
                    64 it_errmsg-ekorg,
                    70 it_errmsg-reswk,
                    76 it_errmsg-ebeln,
                    88 it_errmsg-ebelp,
                    94 it_errmsg-feskz,
                    98 it_errmsg-notkz,
                    102 it_errmsg-autet.
          ENDAT.
          WRITE    106 it_errmsg-messg.
        ENDLOOP.
      ENDIF.
                     E N D   O F   S E L E C T I O N                     *
    END-OF-SELECTION.
    *&      Form  file_get
          Selects the File Name and Path
    FORM file_get .
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          PROGRAM_NAME  = v_repid
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = p_fname
        CHANGING
          FILE_NAME     = p_fname
        EXCEPTIONS
          MASK_TOO_LONG = 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.
    ENDFORM.                    " file_get
    *&      Form  upload_xcel
          Uploading data to an Internal Table
    FORM upload_xcel .
      DATA: BEGIN OF it_intern OCCURS 0.
              INCLUDE STRUCTURE ALSMEX_TABLINE. " Rows for Table with Excel Data
      DATA: END OF it_intern.
      DATA v_no_rows  TYPE i VALUE 9999.
      FIELD-SYMBOLS : <fs1>.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FNAME
          I_BEGIN_COL             = c_1
          I_BEGIN_ROW             = c_1
          I_END_COL               = c_12
          I_END_ROW               = v_no_rows
        TABLES
          INTERN                  = it_intern
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      IF SY-SUBRC NE 0.
        MESSAGE text-016 TYPE 'I'.
      ENDIF.
      LOOP AT it_intern.
        ASSIGN COMPONENT it_intern-col OF STRUCTURE
        it_final TO <fs1>.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        <fs1> = it_intern-value.
        AT END OF row.
          APPEND it_final.
          CLEAR  it_final.
        ENDAT.
      Endloop.
      FREE it_intern.
    ***To Delete the Headings from the Internal Table.
      DELETE it_final WHERE matnr CA 'MATmat'.
    ENDFORM.                    " upload_xcel
    *&      Form  bdc_dynpro
          Populate Screen Name
    FORM bdc_dynpro  USING    PROGRAM
                              DYNPRO.
      CLEAR it_bdcdata.
      it_bdcdata-PROGRAM  = PROGRAM.
      it_bdcdata-DYNPRO   = DYNPRO.
      it_bdcdata-DYNBEGIN = 'X'.
      APPEND it_bdcdata.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
         Populate Screen Field
    FORM bdc_field  USING    FNAM
                             FVAL.
      IF FVAL <> SPACE.
        CLEAR it_bdcdata.
        it_bdcdata-FNAM = FNAM.
        it_bdcdata-FVAL = FVAL.
        APPEND it_bdcdata.
      ENDIF.
    ENDFORM.                    " bdc_field
    *&      Form  bdc_field
         Populate Screen Field
    FORM bdc_field1   USING   FNAM
                             FVAL.
      CLEAR it_bdcdata.
      it_bdcdata-FNAM = FNAM.
      it_bdcdata-FVAL = FVAL.
      APPEND it_bdcdata.
    ENDFORM.                    " bdc_field
    *&      Form  errors_file
          Downloads the Error Records
    FORM errors_file .
      DATA : l_fname  TYPE string,
             l_var1   TYPE string,
             l_var2   TYPE string.
      l_fname = p_fname.
      SPLIT l_fname at '.' into l_var1 l_var2.
      CONCATENATE l_var1 '_error.' l_var2 INTO l_fname.
    **To Write the Headings in the Excel File
      it_err_rec-matnr = text-003.
      it_err_rec-werks = text-004.
      it_err_rec-vdatu = text-005.
      it_err_rec-bdatu = text-006.
      it_err_rec-lifnr = text-007.
      it_err_rec-ekorg = text-008.
      it_err_rec-reswk = text-009.
      it_err_rec-ebeln = text-010.
      it_err_rec-ebelp = text-011.
      it_err_rec-feskz = text-012.
      it_err_rec-notkz = text-013.
      it_err_rec-autet = text-014.
      INSERT it_err_rec INDEX 1.
      CLEAR it_err_rec.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = l_fname
          FILETYPE                = 'DAT'
         APPEND                  = ' '
         CONFIRM_OVERWRITE       = ' '
        TABLES
          DATA_TAB                = it_err_rec
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.
      IF SY-SUBRC EQ 0.
        MESSAGE text-015 TYPE 'S'.
      ENDIF.
    ENDFORM.                    " errors_file
    *&      Form  format_message
          To Write the Error Records
    FORM format_message .
      IF NOT it_messtab[] IS INITIAl.
        LOOP AT it_messtab.
          IF it_messtab-msgtyp = 'E'.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                ID        = it_messtab-msgid
                LANG      = sy-langu
                NO        = it_messtab-msgnr
                V1        = it_messtab-msgv1
                V2        = it_messtab-msgv2
                V3        = it_messtab-msgv3
                V4        = it_messtab-msgv4
              IMPORTING
                MSG       = v_message
              EXCEPTIONS
                NOT_FOUND = 1
                OTHERS    = 2.
            IF SY-SUBRC EQ 0.
              it_errmsg-matnr = it_final-matnr.
              it_errmsg-werks = it_final-werks.
              it_errmsg-vdatu = it_final-vdatu.
              it_errmsg-bdatu = it_final-bdatu.
              it_errmsg-ekorg = it_final-ekorg.
              it_errmsg-lifnr = it_final-lifnr.
              it_errmsg-reswk = it_final-reswk.
              it_errmsg-ebeln = it_final-ebeln.
              it_errmsg-ebelp = it_final-ebelp.
              it_errmsg-feskz = it_final-feskz.
              it_errmsg-notkz = it_final-notkz.
              it_errmsg-autet = it_final-autet.
              it_errmsg-messg = v_message.
              APPEND it_errmsg.
              CLEAR : it_errmsg, v_message.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " format_message
    *&      Form  plant_conversion
         Adding preceeding Zeroes
         -->P_IT_FINAL_WERKS  text
    FORM plant_conversion  USING    P_VAR.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = P_VAR
          IMPORTING
            OUTPUT = P_VAR.
    ENDFORM.                    " plant_conversion
    Hope it helps!!!
    Regards,
    Pavan

  • Currency Translation from local to group currency in AP /AR

    Hi Gurus,
             I have reporting requiremtents where in i need to show KF;s in local and group currency. I am using standard extractor AP_4 and AR_4. These extractors does not bring KF's in Group currency but only in local and document currency.
    Can anyone tell me what is the best way to go about carrying out the currency translation from local to glocal currency for AP and AR.
    Thanks in advance and yeah points guranteed for helpful answers...
    Cheers..
    Sam

    I take it you mean the extra currency in the company code config (ie group reporting)
    Just unhide the fields DMBE2 and HWAE2 from the extract structure and allocate a new infoobject to them - then add to eith your transformation or transfer rules/update rules and add to the cube

  • Translation from LC to entity currency

    Hi Experts,
    BPC NW 7.0 - translation from LC to entity currency stopped working.                                                               
    business rule, dimension parameters, script logic are all setup and was                                                            
    working at one time. manual kick of fxtrans logic runs successfully                                                                
    without error or translation from LC to USD 
    An imminent go-live or upgrade is jeopardized :Yes                                                                               
    The core business processes are seriously affected Yes                                                                             
    Number of users affected 25                                                                               
    Is a workaround available? No                                                                               
    Description of business processes with business impact                                                                             
    translation from LC to entity currency stopped working  
    note:Please give me solution as soon possible
    Regards,
    Arjun.

    check whether exchange rate has been maintained .

  • "GR", "GR non-valuated", and "IR"?

    Dear Gurus,
    What determines whether we can change the "GR", "GR non-valuated", and "IR" indicators in the purchase order?
    Thanks...

    hi,
    Settings:
    1. PO field settings
    2. Account assignment settings
    Regards
    Priyanka.P

  • Material maintained in split valuation and batch management

    Dear Seniors,
      I have maintained a material with both split valuation and batch management. If i check in MMBE, only batch management is getting preference. Valuation type is not coming. Why is it so ? why maintaining both is not possible in SAP ??? kindly explain me please.
    Regards,
    JanaMM

    If you  Mantain both Split valuation as well as batch mgmt for  a material, then  all stock  reports will show  "Batch "  and  Not valuation type  since  batch  is relevant to inventory  mgmt  and split valuation is relevant for account determination and valuation. ,  the only  report which  wil show you both  is BMBC(batch info cockpit).
    You  can however run MB5B  w.r.t  valuation type in the input screen.
    In such cases , The  Valuation Type  forms a part of the batch master which  you can see in MSC3N .

  • Valuation and Account Determination...

    Hello,
              Can anyone help me to get some of the functional implementing questions on "Valuation and Account Determinationa" ....
    Thanks
    Priyanka

    Hi,
    In SAP every movement of goods is followed by one movement type and movement type trigged transaction event keys. G/L account assignment and G/L account assigned to transaction event key (OBYC). GR & IR will updated by movement of goods only. In Account Determination, respective G/L accounts assigned to your chart of account,relevant to business transactions keys(Example:BSX,PRD,FRE,GBB),Account modifier(Example:BSA,VBR) and Valaution Calsss.If all are assigned then you would not face any problems during your posting of GR,IR etc..........
    Configuration of Automatic Account Determination with T.Code are as follow:
    1.OMSK: valuation Class with Account category reference,
    2.OMWM: Active Valuation Grouping Code,
    3.OMWN: Active Movement type with G/L account,
    4.OMWD: Active Valuation Area,
    5.OMWB: Active Chart of account,Valuation Grouping Code,Account Grouping Code,Valuation Class and G/L acocounts
    In OMWB or OBYC
    Click TE key and enter Chart of account and then save the Roles 1st for
    1.Debit/Credit
    2.General modification
    3.Valuation Modif
    4.Vakuation class
    And then enter respective critetia for that TE key and save.
    If assignment(Chart of account,Valuation Grouping Code,Account Grouping Code,Valuation Class and G/L acocounts are correct and u would not face any problems in G/GI/IV.
    For more check the links:
    http://www.sap-img.com/materials/general-test-of-sap-mm-knowledge.htm
    http://www.saptechies.com/category/financial-accounting/page/0
    http://e-mory.blogspot.com/2007/06/sap-mm-and-fi-doc-number-verification.html
    http://www.sap-img.com/materials/sap-mm-configuration-tips.htm
    http://moryhanry.com/sapmmfidocverify.html
    http://www.sapcustomization.com/document/fi_mm_integration.pdf
    Regards,
    Biju K

  • How translate alts and titles for a images in dynamic content?

    Hi,
    I have a classic report with a column that shows diff. images based on decode expression for that column in report sql. Is there a way to translate alt and title for those images displayed dynamically?
    Thanks.

    Hello Edward,
    >> Is there a way to translate alt and title for those images displayed dynamically?
    Yes. You can use the APEX Dynamic Translation option:
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/global.htm#BABFHCJA
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Units of measure and conversion factor

    while executing a session, I get the message 'Please check units of measure and conversion factor', what does it indicate? there are fields like order unit, conversion (purchasing) in creating info records transaction ME11.

    in bdc when ever u r working with quantity and price fields it is better to move this fields in to string and do the concatenation kind of stuff..............
    reward points if helpful................

  • OBYC Valuation and account assignment

    Hi,
    when I create a purchase order for a material, system doesn't propose automatically the g.l. account (Purchasing account, EIN) that has been set in OBYC.
    I had a look in material master and the material has a valuation class assigned.
    I checked in trx OBYC and there are Valuation modification, Valuation class, Debit and Credit assigned but g.l. account won't appear and the only way is to set manually the g.l. account
    Best Regards

    Hi sappione,
    EIN is only when you are using Purchasing Account Management (I used this in France):
    Information from SAP
    Purchase account(EIN), purchase offsetting account (EKG), freight
    purchase account (FRE)
    These transactions are used only if Purchase Account Management is
    active in the company code.
    Note
    Due to special legal requirements, this function was developed
    specially for certain countries (Belgium, Spain, Portugal, France,
    Italy, and Finland).
    Before you use this function, check whether you need to use it in
    your country.
    Did you have customised this part?
    SPRO > Materials Management > Valuation and Account Assignment > Account Determination > Account Determination Without Wizard > Purchase Account Management
    But, I presume that you want to post the GR and the system is asking you for EIN.
    It is because of the PO does not have assigned a G/L account into the item (check Account Assignment tab).
    If you want that the G/L account can be determined in automatic, then, go to SPRO > Materials Management > Purchasing > Account Assignment > Maintain Account Assignment Categories.
    There, make double click on "K - Cost center".
    Afterwards, define a value in "Acct modification" i.e. VBR.
    Then, create a PO and the G/L account will be determined in automatic.
    Another possible solution is that you can define a valuation class by Material group (for the cases where you are asking for a Po without material codes). It can be done by SPRO > Materials Management > Purchasing > Material Master > Entry Aids for Items Without a Material Master.
    There, you can define a valuation class for a Material group and once you create the PO, the G/L account will be determined according to this valuation class.
    I hope this information can be useful.
    Kind regards,
    Sandra

Maybe you are looking for

  • Plant restriction at sales order level by user

    Dear SD experts, Is it possible to restrict plant at sales order creation by user, if so, how this is to be configured. my requirement is user shall not able to create sales order(sales document) for plants restricted. pl help thanx in advance regard

  • Win 7 Pro 64 bit

    I have downloaded Adobe Flash Player using both Safari for Windows and Mozilla Firefox. In both cases, when starting the install I get the message that Flash Player is not a valid Win 32 bit program. The installation will not proceed. I have tried ru

  • Formating body in email activity to HTML

       Hi, I am trying to create a table with dynamic values using email acitivity in BPEL. Iam using 11.1.1.6.0 with PS5. Could anyone share the step by step sample process to achive HTML formatting in email, which can be used for the above use case? Th

  • Bug in association editor

    If you create a many to many association and then try to edit it by double-clicking on it, it is not possible to get into the Association Properties - you just a a message "select the Entity Attributes that define the Association, the click Add".

  • Reinstalling OSX without a CD drive

    Hey my CD drive is broken and I need to archive and install (or just reinstall since it's Snow Leopard) any suggestions on how to go about doing that? I could buy a new CD drive too - would a third party one like by LG work just fine? Thanks so much.