Error in code - points for sure

can someone tell me why i am not getting output from the following code
REPORT YTEST.
TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
  DATA: BEGIN OF I_MARC OCCURS 0,
          MATNR LIKE MARC-MATNR,
          EKGRP LIKE MARC-EKGRP,
          PSTAT LIKE MARC-PSTAT,
          DISPO LIKE MARC-DISPO,
          BESKZ LIKE MARC-beskz,
        END OF I_MARC.
  DATA: BEGIN OF I_MARD OCCURS 0,
         MATNR LIKE MARD-MATNR,
         LGORT LIKE MARD-LGORT,
         ERSDA LIKE MARD-ERSDA,
         WERKS LIKE MARD-WERKS,
        END OF I_MARD.
  DATA: BEGIN OF I_MBEW OCCURS 0,
         MATNR LIKE MBEW-MATNR,
         BWKEY LIKE MBEW-BWKEY,
         PEINH LIKE MBEW-PEINH,
         END OF I_MBEW.
  DATA: BEGIN OF I_MARA OCCURS 0,
         MATNR LIKE MARA-MATNR,
         MTART LIKE MARA-MTART,
         MATKL LIKE MARA-MATKL,
         MEINS LIKE MARA-MEINS,
         MBRSH LIKE MARA-MBRSH,
         BSTME LIKE MARA-BSTME,
       END OF I_MARA.
  DATA: BEGIN OF I_MVKE OCCURS 0,
         MATNR LIKE MVKE-MATNR,
         VKORG LIKE MVKE-VKORG,
         VTWEG LIKE MVKE-VTWEG,
         VRKME LIKE MVKE-VRKME,
          KONDM LIKE MVKE-KONDM,
        END OF I_MVKE.
  DATA: BEGIN OF I_MAKT OCCURS 0,
         MATNR LIKE MAKT-MATNR,
         SPRAS LIKE MAKT-SPRAS,
         MAKTX LIKE MAKT-MAKTX,
        END OF I_MAKT.
  DATA: BEGIN OF I_OUT OCCURS 0,
          MATNR LIKE MARC-MATNR,
          MEINS LIKE MARA-MEINS,
          MBRSH LIKE MARA-MBRSH,
          MATKL LIKE MARA-MATKL,
          MTART LIKE MARA-MTART,
          BSTME LIKE MARA-BSTME,
          WERKS LIKE MARD-WERKS,
          EKGRP LIKE MARC-EKGRP,
          PSTAT LIKE MARC-PSTAT,
          DISPO LIKE MARC-DISPO,
          BESKZ LIKE MARC-BESKZ,
          LGORT LIKE MARD-LGORT,
          ERSDA LIKE MARD-ERSDA,
          BWKEY LIKE MBEW-BWKEY,
          PEINH LIKE MBEW-PEINH,
          VKORG LIKE MVKE-VKORG,
          VTWEG LIKE MVKE-VTWEG,
          VRKME LIKE MVKE-VRKME,
          KONDM LIKE MVKE-KONDM,
          SPRAS LIKE MAKT-SPRAS,
          MAKTX LIKE MAKT-MAKTX,
        END OF I_OUT.
select-options: s_matnr for marc-matnr.
  SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
  CORRESPONDING FIELDS OF TABLE I_MARC where matnr = 38.
  SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
  CORRESPONDING FIELDS OF
  TABLE I_MARA FOR ALL ENTRIES IN I_MARC
            WHERE MATNR EQ I_MARC-MATNR.
  SELECT MATNR SPRAS MAKTX FROM MAKT INTO
  CORRESPONDING FIELDS OF TABLE I_MAKT
             FOR ALL ENTRIES IN I_MARC
            WHERE MATNR = I_MARC-MATNR.
  SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
  CORRESPONDING FIELDS OF TABLE
            I_MARD FOR ALL ENTRIES IN I_MAKT
            WHERE MATNR = I_MAKT-MATNR.
  SELECT MATNR BWKEY PEINH FROM MBEW INTO
TABLE I_MBEW
       FOR ALL ENTRIES IN I_MARD
           WHERE MATNR = I_MARD-MATNR.
  SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
TABLE I_MVKE
            FOR ALL ENTRIES IN I_MBEW
           WHERE MATNR = I_MBEW-MATNR.
  LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
  ENDLOOP.
write:/ i_out-MATNR,
i_out-EKGRP,
i_out-PSTAT,
i_out-DISPO,
i_out-BESKZ,
i_out-LGORT,
i_out-ERSDA ,
i_out-WERKS,
i_out-BWKEY,
i_out-PEINH,
i_out-MTART,
i_out-MATKL,
i_out-MEINS,
i_out-MBRSH,
i_out-BSTME,
i_out-VKORG,
i_out-VTWEG,
i_out-VRKME,
i_out-KONDM,
i_out-SPRAS,
i_out-MAKTX.
regards,
sriram

Hi Sriram
Please check the below code and make sure you have some data for material number 38 in your MARC table.
REPORT YTEST.
TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
DATA: BEGIN OF I_MARC OCCURS 0,
MATNR LIKE MARC-MATNR,
EKGRP LIKE MARC-EKGRP,
PSTAT LIKE MARC-PSTAT,
DISPO LIKE MARC-DISPO,
BESKZ LIKE MARC-beskz,
END OF I_MARC.
DATA: BEGIN OF I_MARD OCCURS 0,
MATNR LIKE MARD-MATNR,
LGORT LIKE MARD-LGORT,
ERSDA LIKE MARD-ERSDA,
WERKS LIKE MARD-WERKS,
END OF I_MARD.
DATA: BEGIN OF I_MBEW OCCURS 0,
MATNR LIKE MBEW-MATNR,
BWKEY LIKE MBEW-BWKEY,
PEINH LIKE MBEW-PEINH,
END OF I_MBEW.
DATA: BEGIN OF I_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
MATKL LIKE MARA-MATKL,
MEINS LIKE MARA-MEINS,
MBRSH LIKE MARA-MBRSH,
BSTME LIKE MARA-BSTME,
END OF I_MARA.
DATA: BEGIN OF I_MVKE OCCURS 0,
MATNR LIKE MVKE-MATNR,
VKORG LIKE MVKE-VKORG,
VTWEG LIKE MVKE-VTWEG,
VRKME LIKE MVKE-VRKME,
KONDM LIKE MVKE-KONDM,
END OF I_MVKE.
DATA: BEGIN OF I_MAKT OCCURS 0,
MATNR LIKE MAKT-MATNR,
SPRAS LIKE MAKT-SPRAS,
MAKTX LIKE MAKT-MAKTX,
END OF I_MAKT.
DATA: BEGIN OF I_OUT OCCURS 0,
MATNR LIKE MARC-MATNR,
MEINS LIKE MARA-MEINS,
MBRSH LIKE MARA-MBRSH,
MATKL LIKE MARA-MATKL,
MTART LIKE MARA-MTART,
BSTME LIKE MARA-BSTME,
WERKS LIKE MARD-WERKS,
EKGRP LIKE MARC-EKGRP,
PSTAT LIKE MARC-PSTAT,
DISPO LIKE MARC-DISPO,
BESKZ LIKE MARC-BESKZ,
LGORT LIKE MARD-LGORT,
ERSDA LIKE MARD-ERSDA,
BWKEY LIKE MBEW-BWKEY,
PEINH LIKE MBEW-PEINH,
VKORG LIKE MVKE-VKORG,
VTWEG LIKE MVKE-VTWEG,
VRKME LIKE MVKE-VRKME,
KONDM LIKE MVKE-KONDM,
SPRAS LIKE MAKT-SPRAS,
MAKTX LIKE MAKT-MAKTX,
END OF I_OUT.
select-options: s_matnr for marc-matnr.
SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
CORRESPONDING FIELDS OF TABLE I_MARC where matnr = '000000000000000038'.
SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
CORRESPONDING FIELDS OF
TABLE I_MARA FOR ALL ENTRIES IN I_MARC
WHERE MATNR EQ I_MARC-MATNR.
SELECT MATNR SPRAS MAKTX FROM MAKT INTO
CORRESPONDING FIELDS OF TABLE I_MAKT
FOR ALL ENTRIES IN I_MARC
WHERE MATNR = I_MARC-MATNR.
SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
CORRESPONDING FIELDS OF TABLE
I_MARD FOR ALL ENTRIES IN I_MAKT
WHERE MATNR = I_MAKT-MATNR.
SELECT MATNR BWKEY PEINH FROM MBEW INTO
TABLE I_MBEW
FOR ALL ENTRIES IN I_MARD
WHERE MATNR = I_MARD-MATNR.
SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
TABLE I_MVKE
FOR ALL ENTRIES IN I_MBEW
WHERE MATNR = I_MBEW-MATNR.
LOOP AT I_MARC.
MOVE I_MARC-MATNR TO I_OUT-MATNR.
MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
MOVE I_MARC-DISPO TO I_OUT-DISPO.
MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
MOVE I_MARA-MTART TO I_OUT-MTART.
MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
MOVE I_MARA-MEINS TO I_OUT-MEINS.
MOVE I_MARA-MATKL TO I_OUT-MATKL.
MOVE I_MARA-BSTME TO I_OUT-BSTME.
READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
MOVE I_MARD-LGORT TO I_OUT-LGORT.
MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
MOVE I_MARD-WERKS TO I_OUT-WERKS.
READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
MOVE I_MBEW-PEINH TO I_OUT-PEINH.
READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
MOVE I_MVKE-VKORG TO I_OUT-VKORG.
MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
MOVE I_MVKE-VRKME TO I_OUT-VRKME.
MOVE I_MVKE-KONDM TO I_OUT-KONDM.
APPEND I_OUT.
CLEAR I_OUT.
ENDLOOP.
Loop at i_out.
write:/ i_out-MATNR,
i_out-EKGRP,
i_out-PSTAT,
i_out-DISPO,
i_out-BESKZ,
i_out-LGORT,
i_out-ERSDA ,
i_out-WERKS,
i_out-BWKEY,
i_out-PEINH,
i_out-MTART,
i_out-MATKL,
i_out-MEINS,
i_out-MBRSH,
i_out-BSTME,
i_out-VKORG,
i_out-VTWEG,
i_out-VRKME,
i_out-KONDM,
i_out-SPRAS,
i_out-MAKTX.
endloop.
Reward points if useful!!
~Ranganath

Similar Messages

  • Error in code generation for deleting table BUT000_TD

    Hi,
    Did anyone encounter this error while working on EEWB ?
    I created the project extension via EEWB and completed the wizard setting with the package (dev. class) value as $temp as I wanted to test it locally.
    One of the errors, that I got is:
    Error in code generation for deleting table BUT000_TD
        Message no. DA464
    Diagnosis
        This error message indicates that internal inconsistencies exist.
    Procedure
        Please consult SAP.

    Hi,
    As I mentioned in my previous post kindly check the consistency of the structure BUT000_TD.
    Regards,
    Sudheer.

  • SALV Methods ---  ALV GRID functionalities reqd.....points for sure

    Hi all
    I am using <b>factory methods for my alv grid display.</b>
    I have a list of functionalities, for which i am not able to find a correct method..
    1) Header of alv(with all the values of the selection-screen) along with labels
    2)How to give text to a subtotal(ed) column, i.e. if i subtotal a qty field against a sorted field, i want to display ==> Nett Wt. = 123.00 (for first header entry) and so on for each header entry.
    3)how to remove the zeroes from a quantity field?
    4) Displaying the cells as blanks where data is 0( for quantity fields if i have a cell with zero value, it should be blank.)
    5) double click on a cell to open a transaction with the cell's value.
    6) how to have multiple subtotal columns, without disturbing the sort order  of grid display
    Any help on this would be appreciated.
    Points will be rewarded for sure...
    Thanks & Regards
    Ravish Garg

    Hello Ravish
    Regarding the handling of the <u>double-click</u> event have a look at sample report <b>ZUS_SDN_CL_SALV_TABLE_INTERACT</b>.
    *& Report  ZUS_SDN_CL_SALV_TABLE_INTERACT
    REPORT  zus_sdn_cl_salv_table_interact.
    TYPE-POOLS: abap.
    DATA:
      gt_knb1        TYPE STANDARD TABLE OF knb1.
    DATA:
      go_table       TYPE REF TO cl_salv_table,
      go_events      TYPE REF TO cl_salv_events_table.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_double_click FOR EVENT
              if_salv_events_actions_table~double_click
              OF cl_salv_events_table
              IMPORTING
                row
                column.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_double_click.
    *   define local data
        DATA:
          lo_table   TYPE REF TO cl_salv_table,
          lt_orders  TYPE STANDARD TABLE OF bapiorders,
          ls_knb1    TYPE knb1.
        READ TABLE gt_knb1 INTO ls_knb1 INDEX row.
        IF ( syst-subrc = 0 ).
          CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
            EXPORTING
              customer_number             = ls_knb1-kunnr
              sales_organization          = '1000'
    *         MATERIAL                    =
    *         DOCUMENT_DATE               =
    *         DOCUMENT_DATE_TO            =
    *         PURCHASE_ORDER              =
    *         TRANSACTION_GROUP           = 0
    *         PURCHASE_ORDER_NUMBER       =
    *       IMPORTING
    *         RETURN                      =
            TABLES
              sales_orders                = lt_orders.
    *     Create ALV grid instance
          TRY.
              CALL METHOD cl_salv_table=>factory
    *        EXPORTING
    *          LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    *          R_CONTAINER    =
    *          CONTAINER_NAME =
                IMPORTING
                  r_salv_table   = lo_table
                CHANGING
                  t_table        = lt_orders.
            CATCH cx_salv_msg .
          ENDTRY.
          lo_table->display( ).
    **      SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
    **      SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
    **      CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDMETHOD.                    "handle_double_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT        * FROM  knb1 INTO TABLE gt_knb1
             WHERE  bukrs  = '1000'.
    * Create ALV grid instance
      TRY.
          CALL METHOD cl_salv_table=>factory
    *    EXPORTING
    *      LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    *      R_CONTAINER    =
    *      CONTAINER_NAME =
            IMPORTING
              r_salv_table   = go_table
            CHANGING
              t_table        = gt_knb1.
        CATCH cx_salv_msg .
      ENDTRY.
    * Create event instance
      go_events = go_table->get_event( ).
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_double_click FOR go_events.
      go_table->display( ).
    END-OF-SELECTION.
    Regards
      Uwe

  • Fatal error installation code 1603 for all-in-one printer C4280

    Until a month ago, I'd been successfully running my C4280 with my Dell 1535 (Windows 7 32-bit) for about a year. (It's not a new printer but it works perfectly well; it was a hand-me-down after my own HP printer died after many, many years of good service.)  I uninstalled the software because the Solution Center stopped working, cleaned up my registry, deleted temp files, ran Uninstall L_3, installed Windows updates, installed Malwarebytes, checked the condition of my .NET Framework, etc.,  etc. I have literally spent about a month trying to get the printer software to install to no avail. I have been in every forum on the internet, tried every solution posted here or on the Micsrosoft website. I have read about the incompatibiltiy between HP and Win 7 and cannot find a solution. I don't know what else to do.
    The only thing I have not done--and will not do--is to reinstall Windows, the last solution suggested by all the HP reps when all other solutions fail. What does it say about a tech-based company who's solution is to throw the baby out with the bathwater?
    Pretty pathetic that one would have to chuck out a perfectly good printer because the software will not install. If anyone has any viable suggestions--other than rolling back the system to an earlier version or re-installing Windows--I'd LOVE, LOVE, LOVE to hear it. If I'm forced to buy a new printer because I could not install the driver, I vow never to buy another HP product as long as I walk the earth. 
    Here's the log info:
    The following lines were retrieved from the installation error logs.
    +00000000000001970176/s/Now Launching=X:\hpzprl01.exe -inf -m 
    preload_drivers-IXXX -f "X:\hpoins13.dat" -Validate No at" -Validate
    No
    Failed to add catalog file for
    'X:\hposcu11.inf_x86_neutral_8470ae2dd4974995\hposcu11.inf'.
    SetupINFsListedInDatFile failed with Fatal error during installation.
    Exit code=1603
    error situation code 25389268
    Thanks in advance.

    BunnyVonBunny wrote:
    Here's the log code:
    Error code 31100272
    +00000000000732983296/s/Now Launching=X:\hpzprl01.exe -inf -m 
    preload_drivers-IXXX -f "X:\hpoins13.dat" -Validate No at" -Validate
    No
    Exit code=1603
    Hi BunnyVonBunny,
    I appreciate your efforts thus far and I understand how frustrating this has been. Please complete the steps in the following document; Fatal Error 'Error 1603. A fatal error occurred during installation' (MSI Error 1603) Displays Durin....
    Some of these steps maybe the same as what I have already suggested but doing them in the order the document suggests could be what it takes to resolve the issue.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Service SRM PO fail to replicate to SAP with error"Tax code Mand. for ERS"

    HI
    We are facing issue for posting Serviice PO with vendor enabled with ERS functionality.
    Service purchase orders with ERS flag and with complete tax detail fail to replicate to MM PO. Error found on XML on ECC interface : "Enter Tax code in case of Evaluated receipt settlement".
    We have compelete tax details on the XML which is not recognized. When we manually feed the details in dubug it allows to post the document.
    PO is created with account assigned service item.
    Have any one come across simialr situation.
    Regards
    Prashanth K Saralaya

    Hi Prashanth,
      Do you have tax code maintained in SRM PO. SRM PO is pushed to ERP using RFC Calls and not XML(in standard scenarios). I am wondering why XML is being checked in debug mode by you for a SRM PO to make it to ERP.
    May I have the background of your requirement..
    Regards
    Virender Singh

  • TCODE required - Urgent!!!!   (points for Sure)

    Hi ALL,
                 i created a shipment using BDC. i got a message that shipment created successfully and the shipment number (20168280).
    but when i went to VTTK (shipment header), the record doesn't exits.
    Can any one tell me what could be the problm? This happens only in Rare cases. I am not able to reproduce this senario again.
    When i created another shipment, it created a shipment number (20168281).
    Now in VTTK i have (20168279, (20168281).   20168280 is missing,
    Is there any TCODE where i can find the reason for rejection of this document(20168280).
    Thanks in advance,
    Niyaz

    you can check for runtime errors that couldve caused this in st22.

  • Time out error in production server  for alv grid report

    hi. i have developed alv grid report using nested select statments. when i testing in development  server it is giving the output but in production server if i give 4 months then it is showing time out error.please help me out..its urgent.
    Thanks in advance.

    Hi Manu,
    Don't use Nested selected statements.
    Use the Following  Performance Tuning Options that i have given below so that your problem can be solved.
    1)  Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    2) Avoid for all entries in JOINS
    3) Try to avoid joins and use FOR ALL ENTRIES.
    4)   Try to restrict the joins to 1 level only ie only for tables
    5)   Avoid using Select *.
    6)   Avoid having multiple Selects from the same table in the same object.
    7)  Try to minimize the number of variables to save memory.  
    8)   The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    9)   Avoid creation of  index as far as possible
    10) Avoid operators like  <>, > , < & like % in where clause conditions
    11) Avoid select/select single statements in loops.
    12) Try to use 'binary search' in READ internal table. Ensure table is sorted before using   BINARY SEARCH.
    13) Avoid using aggregate functions  (SUM, MAX etc) in selects ( GROUP BY , HAVING,)  
    14) Avoid using  ORDER  BY in selects
    15) Avoid Nested Selects
    16) Avoid Nested Loops of Internal Tables
    17) Try  to  use FIELD SYMBOLS.
    18) Try to avoid into Corresponding Fields of
    19) Avoid using Select  Distinct, Use DELETE ADJACENT
    <b>
    Reward Points for sure if you find it useful. </b>
    Regards
    Babu

  • Error  "No conversion found for EA to KG"

    Hi,
    I am facing an error like "No conversion found for EA to KG" at the time of GR.
    Inputs: In Mat Master Base UOM is Gram,Order Unit is KG and Conversion(1Kg=1000G) is maintained in Additional Data.
    Purchase Order created with KG as both Order Unit and Order Price Unit.
    Even though there is no question of EA in this document,Why the error has cropped up at the time of GR?
    Pls explore the possible reason behind this error.
    Reward points are sure.
    Regds

    Hi Pavan,
    Thanks for reply,
    Pls note my observation made to check UOM at differenet places just fyi
    1)Materail Master:
    Base Unit- G,
    Sales Unit- KG,
    Order Unit-KG,
    Unit Of Issue- KG and
    Wt Unit- KG
    2)PIR:
    Order Unit - KG
    3)PO:
    Order Unit-KG ,
    Stock Unit- G and in conditions also rate is maintained per KG.
    Still am not able to trace out why the system is throwing an error "No conversion found for EA to KG". How does it is related to EA.
    Pls give some inputs...
    Regds

  • Tax code C0 for country IN has been deleted or incorrectly changed

    Dear All
    While making incoming payment in F-06 am getting an error (Tax code C0 for country IN has been deleted or incorrectly changed) Plz give me the solution.
    regds
    raj

    Just check on OBCL.
    Thanks
    Kalyan

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • Idoc Error: Could not find code page for receiving system

    hi,
    I am facing the following error while processing Idocs.
    ERROR: Could not find code page for receiving system
    Diagnosis
    For the logical destination BWFIN, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Can somebody suggest a solution for this. I have verified that the RFC destinations have been created both on the sender and receiver, ports (WE21) have been defined, and partner profiles (WE20) also created. How would I troubleshoot this problem?

    Hi,
    I did analyse on this issue.It is all because of the Langauge settings in the SM59.This can be done by the BASIS person.The Language field would be empty, but when ever we send the IDoc from the unicode to a non unicode system we have to mention the Langauage used.
    If this helps you really award me the points.
    ~Katty

  • Conversion error in company code currency for general costs activity

    PS Experts,
    Please guide me in the following , The below message appeared when i created a customer project in CJ20N in our new DEV server
    This is the scenario
    Create customer project with 3 WBSE, each one has 3 NTW and 3 activities, i maintained the cost with currency same as project curr and company code currency in the first two act.
    in the third activity (General act)  in cost tab i put a currency is different than project currency& company code currency and tried to save the project, the message appears.
    note: Company code curr same as projet curr & controlling area curr
    Is there any setting is missing in customizing
    Conversion error in company code currency for general costs activity 0010
    Message no. CK443
    Diagnosis
    For cost activity 0010, a conversion error occurred in the currency of the company code to which the material is assigned.
    Procedure
    Check the global settings in Customizing to be sure the exchange rate for conversion into the company code currency is correct
    Thanks

    Hi Yassin,
    I believe you have maintained exchange rates for rate type M as per your config in OPSB.
    Now do one thing, maintain the conversion rate for P for those currencies in OB08 and then save your project.
    This will solve your problem.
    Regards,
    Kabir

  • Error "could not find code page for receiving system"

    Hello Everyone,
    We are trying to load data and receive the message:
    Could not find code page for receiving system
    We have searched notes and this forum and can't find anything.  We also checked WE20 and could not find anything wrong.
    Can someone please elaborate specifically what this error is and where to fix it?
    Thanks so much.
    Colleen

    I just upgraded to NW 2004 SR1, and when loading data from a non-unicoded R/3 system to our BW unicoded system I experienced the exact problem.  Here is the resolution that is stated in note #613389 (it's not very clear in the note).
    - Language “EN” must be specified in sm59
    - Under Special Options -> RFC Bit Options
    Make sure that “Use Found Communication Code Page” has a check mark.
    Once this was done, the data loads started completing successfully.

  • Is there a range of error codes reserved for user defined error codes?

    I would like to create my own error codes for a CVI dll but I want to make sure I don't use error codes already defined for something else. Is there a range reserved for such use?
    Samee thing for warnings (errorcode > 0)
    Thanks

    I have never found a positive mention of a "safe" range of error codes available for user-defined error conditions, but I can suggest you some source of informations.
    First of all, every library has its specific list of error codes, usually listed in the relative include file. All these error codes are listed in the online help too (search for "error codes" in the index tab of the help).
    Second, GetGeneralErrorString () is a function that can be used to trap errors of the following libraries with a unique error function:
    User Interface Library
    Easy I/O instrument driver
    Toolbox instrument driver
    ActiveX Library
    DIAdem Connectivity Library
    .NET Library
    DataSocket instrument driver
    Network Variable Library
    Real-Time Utility Library
    TDM Streaming Library
    UDP Support Library
    This means that the error codes from this libraries do not overlap, so you could derive from its code some ranges not used by these libraries.
    Nevertheless, there is not a single function for error trapping: every library has its proper list of error codes and a function to decode them in human readable form, andthere is no guarantee that these ranges does not overlap. It's up to you to trap errors from every function in the proper way.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Error 'No tax code found for difference' in Posting Vendor Invoice IDOC

    Hi All,
    I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this  error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
    IDOC has PO  as reference document.
    I looked into several threads in SDN forum but could not find proper solution
    Can any ine help me with this issue?
    Thanks in advance
    Hari

    Hi
    You might be  missing the tax code for uploding through IDOC
    so you can use the t.code we02 and give the doc and find the error
    go to the WE19 to edit the tax  code
    and USE the t.code  BD87  to select the doc and process it
    thanks
    Madhu

Maybe you are looking for

  • CR in vs 2005 (whatever version that it) - rotate a textobject 180 degrees.

    I am sure that this horse has been flogged before ... somewhere ... but I have given up endlessly searching for it. I need to rotate a report (onto a label, in fact) 180 degrees ... sometimes. The labels have a pre-printed footer and, depending on th

  • Unsaveddatawarning in JSFF

    Hi Experts, JDEV 11.1.1.2 I go through this link [http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-100139.html] which illustrates how implement Unsaveddatawarning message..But it need to set , "<AF:document uncommittedDataWarn

  • Running Unicode-Specifc Reports for ECC 5.0 (Unicode).

    Hi! All, I have freshly installed ECC 5.0 (Unicode Kernel 6.40). In ECC manual I cannot found anything about Running Unicode-Specific Reports. But in the case of Solman/XI Unicode version running Unicode-Specific Reports is must. (RUTTTYPACT and UMG_

  • Any ideas about issue with launching Lightroom 4.3?

    When finished downloading and installing Lightroom 4.3 from the Cloud, Application Manager said, Installation Complete, but Launch App was greyed out.  When I launch Lightroom  from my applications folder, Lightroom 4 launches with dialogue box that

  • ACR-Presets- how to delete all presets

    I have accumulated too many presets. I want to delete all and start over. How to delete all?