FM or BADI in ECC to check SPL status of partner in GTS

Hello All,
Looking for a  FM/ RFC call from ECC which can check the SPL screening status of partner ( blocked or not) from GTS.
We need to check in ECC if a partner is SPL blocked in GTS or not and accordingly update a flag on partner.
Will appreciate if you can provide some guidance around it.
Regards
Amit

Hi Amit,
Check this FM,the name says it all :
/SAPSLL/SPL_BLOCKED_BP_GET_RFC
You need to provide the original source logical system, ECC partner number (customer/vendor) and type of partner
01
Partner: Vendor
02
Partner: Customer
Its RFC enabled and does pointer table translation as well, perhaps its good to double check if entries on Negative list are returned as blocked or ignored.
Results will come back in the export parameters  ET_BLOCKED_PARTNER and  ET_RESULT.
Hope this helps,
Cheers,
Branio
Branislav Petricek

Similar Messages

  • BADI in ECC 6.0

    Hi Experts,
    I had implemented a BADI in ECC 6.0. It is having some warnings. <b>But i am not able to activate the implementaion.</b>
    This badi is basically to copy the PO reference for Repair, Rework & Refurb to vendors to all documents.
    For this i found the BADi <b>LE_SHP_GOODSMOVEMENT</b>
    In that i have the method <b>CHANGE_INPUT_HEADER_AND_ITEMS</b>
    when i write the below logic here
    method IF_EX_LE_SHP_GOODSMOVEMENT~CHANGE_INPUT_HEADER_AND_ITEMS.
    **->Data declaration
      CONSTANTS:  C_LB TYPE LIKP-LFART VALUE 'LB',
                  C_X  TYPE C VALUE 'X',
                  C_O  TYPE MSEG-SOBKZ VALUE 'O',
                  C_E TYPE SHP_BADI_ERROR_LOG-MSGTY VALUE 'E',
                  C_ZM TYPE SHP_BADI_ERROR_LOG-MSGID VALUE 'ZM',
                  C_999 TYPE SHP_BADI_ERROR_LOG-MSGNO VALUE '999',
                  C_541 TYPE MSEG-BWART VALUE '541',
                  C_542 TYPE MSEG-BWART VALUE '542'.
      DATA: WA_CTLOG TYPE SHP_BADI_ERROR_LOG,
            WA_XIMSEG TYPE IMSEGVB,
            WA_XLIPS  TYPE LIPSVB.
      DATA: L_EBELN  TYPE EKPO-EBELN,
            L_EBELP  TYPE EKPO-EBELP,
            L_LIFEX  TYPE LIKP-LIFEX,
            L_LIFNR  TYPE LIKP-LIFNR,
            L_CHECK   TYPE C,
            L_BDMNG  TYPE RESB-BDMNG,
            L_MENGE1 TYPE MSEG-MENGE.
      TYPES: BEGIN OF TY_RESB,
               BDMNG TYPE BDMNG,
             END   OF TY_RESB,
             BEGIN OF  TY_MSEG,
               BWART TYPE BWART,
               MENGE TYPE MENGE_D,
             END   OF TY_MSEG.
      DATA: IT_RESB TYPE STANDARD TABLE OF TY_RESB INITIAL SIZE 0,
            IT_MSEG TYPE STANDARD TABLE OF TY_MSEG INITIAL SIZE 0.
      DATA: WA_RESB TYPE TY_RESB,
            WA_MSEG TYPE TY_MSEG.
    *-->Check for delivery type LB.
      CHECK IS_LIKP-LFART EQ C_LB.
    *-->Check for Purchase doc Number.
      IF IS_LIKP-LIFEX IS INITIAL.
        WA_CTLOG-MSGV1 = 'PO Number is Blank in Delivery'(001).
        L_CHECK = C_X.
      ENDIF.
      IF L_CHECK NE C_X.
        MOVE IS_LIKP-LIFEX TO L_LIFEX.
        CONDENSE L_LIFEX.
        L_EBELN = L_LIFEX+0(10).
        L_EBELP = L_LIFEX+11(5).
    *-->Get the PO Vendor
        SELECT SINGLE LIFNR INTO L_LIFNR FROM EKKO
                                 WHERE EBELN EQ L_EBELN.
        IF SY-SUBRC EQ 0.
    *-->Compare PO Vendor with the Delivery in Vendor
          IF IS_LIKP-LIFNR NE L_LIFNR.
            WA_CTLOG-MSGV1 =
            'PO Vendor does not match with Delivery Vendor'(002).
            L_CHECK = C_X.
          ELSE.
            READ TABLE IT_XLIPS INTO WA_XLIPS INDEX 1.
            IF SY-SUBRC EQ 0.
              SELECT BWART MENGE
                     INTO TABLE IT_MSEG FROM MSEG
                                     WHERE BWART IN (C_541,C_542) AND
                                           MATNR EQ WA_XLIPS-MATNR AND
                                           WERKS EQ WA_XLIPS-WERKS AND
                                           SOBKZ EQ C_O AND
                                           LIFNR EQ L_LIFNR AND
                                           EBELN EQ L_EBELN.
    **Subrc Check not required.
              SELECT BDMNG INTO TABLE IT_RESB FROM RESB WHERE
                            KZEAR EQ SPACE AND
                            MATNR EQ WA_XLIPS-MATNR AND
                            EBELN EQ L_EBELN
                            AND LIFNR EQ L_LIFNR.
              IF SY-SUBRC EQ 0.
                CLEAR L_BDMNG.
                LOOP AT IT_MSEG INTO WA_MSEG.
                  IF WA_MSEG-BWART EQ C_541.
                    L_MENGE1 = L_MENGE1 + WA_MSEG-MENGE.
                  ELSE.
                    L_MENGE1 = L_MENGE1 - WA_MSEG-MENGE.
                  ENDIF.
                ENDLOOP.
                LOOP AT IT_RESB INTO WA_RESB.
                  L_BDMNG = L_BDMNG + WA_RESB-BDMNG.
                ENDLOOP.
                L_BDMNG = L_BDMNG - L_MENGE1.
                IF NOT WA_XLIPS-LFIMG LE L_BDMNG.
                  MESSAGE I999(ZX) WITH
                  'Delivery Quantity Greater than Components'(004)
                                        'Required for Purchase order'(005).
                ENDIF.
              ELSE.
                MESSAGE I999(ZX) WITH
                'Delivery Quantity Greater than Components'(004)
                                      'Required for Purchase order'(005).
              ENDIF.
              IF L_CHECK NE C_X.
    *-->Populate PO Number in MSEG table
                LOOP AT CT_XIMSEG INTO WA_XIMSEG.
                  WA_XIMSEG-EBELN = L_EBELN.
                  WA_XIMSEG-EBELP = L_EBELP.
                  MODIFY CT_XIMSEG FROM WA_XIMSEG.
                ENDLOOP.
              ENDIF.
            ENDIF.
          ENDIF.
        ELSE.
    *-->Issue an error message if the PO entered in Delivery is Wrong
          WA_CTLOG-MSGV1 = 'Enter a Valid PO Number in the Delivery'(003).
          L_CHECK = C_X.
        ENDIF.
      ENDIF.
    *-->Populate the error table
      IF L_CHECK EQ C_X.
        WA_CTLOG-VBELN = IS_LIKP-VBELN.
        WA_CTLOG-POSNR = WA_XLIPS-POSNR.
        WA_CTLOG-MSGTY = C_E.
        WA_CTLOG-MSGID = C_ZM.
        WA_CTLOG-MSGNO = C_999.
        APPEND WA_CTLOG TO CT_LOG.
        CLEAR WA_CTLOG.
      ENDIF.
    endmethod.
    it is giving an<b> warning</b>
    <b>The feild LIFNR used in the where condition may contain Null values</b>
    <b>and i am not able to activate the implementation.</b>

    Hello Raghavendra
    For some reasons (that I do not fully understand) the field LIFNR of the tables can contain NULL values. However, with the following modifications of your coding it is possible to get rid of the warnings and activate the BAdI implementation.
    [code]  TYPES: BEGIN OF ty_resb,
      bdmng TYPE bdmng,
      lifnr TYPE lifnr,  " $field added
      END OF ty_resb,
      BEGIN OF ty_mseg,
      bwart TYPE bwart,
      menge TYPE menge_d,
      lifnr TYPE lifnr,  " $field added
      END OF ty_mseg.[/code]
    [code]...
    *-->Get the PO Vendor
        SELECT SINGLE lifnr INTO l_lifnr FROM ekko
        WHERE ebeln EQ l_ebeln.
        IF sy-subrc EQ 0.
       IF ( syst-subrc = 0 ) AND ( l_lifnr IS NOT INITIAL ).
    *-->Compare PO Vendor with the Delivery in Vendor
          IF is_likp-lifnr NE l_lifnr.
            wa_ctlog-msgv1 =
            'PO Vendor does not match with Delivery Vendor'(002).
            l_check = c_x.
          ELSE.
            READ TABLE it_xlips INTO wa_xlips INDEX 1.
            IF sy-subrc EQ 0.
              SELECT bwart menge lifnr  " $ field LIFNR added
              INTO TABLE it_mseg FROM mseg
              WHERE bwart IN (c_541,c_542) AND
              matnr EQ wa_xlips-matnr AND
              werks EQ wa_xlips-werks AND
              sobkz EQ c_o AND
              lifnr EQ l_lifnr AND  " Here it works but Why???
              ebeln EQ l_ebeln.
    **Subrc Check not required.
              SELECT bdmng lifnr  " $ field LIFNR added
              INTO TABLE it_resb FROM resb
              WHERE
              kzear EQ space AND
              matnr EQ wa_xlips-matnr AND
             lifnr EQ l_lifnr    AND  " Here it does not work but Why???
              ebeln EQ l_ebeln.
              DELETE it_resb WHERE ( lifnr NE l_lifnr ).
              DESCRIBE TABLE it_resb.  " fills sy-tfill.
             IF sy-subrc EQ 0.
              IF ( syst-tfill > 0 ).
                CLEAR l_bdmng.
    ...[/code]
    Regards
      Uwe

  • Finding BADI in ECC 6.0

    Dear All,
    I need to find BADI's in any particular Transactions in ECC 6.0. I am familiar with Classic BADIs regarding
    how to find them and implement them. However in ECC 6.0, badi calls are made through GET BADI and CALL BADI. Now, in order to find them, do we need to use any class or should we look for the strings GET BADI or CALL BADI in the program itself.
    Any help would be appreciated.
    p.s: Please advise on finding BADIs in ECC 6.0 only, i m familiar with finding classic badis through CL_exithandler.

    dear pradeep,
    Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    Go to the Transaction, for which we want to find the BADI,
    Get the Program Name of Corresponding Transaction.
    (Click on System->Status. Double Click on Program Name)
    Once inside the program search for 'CL_EXITHANDLER=>GET_INSTANCE'.
    Make sure the radio button   "In main program" is checked.
    A list of all the programs with call to the BADI's will be listed.
    The export parameter 'EXIT_NAME' for the method GET_INSTANCE of class CL_EXITHANDLER will give you the BADI name for the Transaction.
    Cheers
    fareed

  • Creating BADI in ECC 6.0 version

    hi guys,
             Can any one help me,
    1. when iam creating a BADI in ECC 6.0 version after giving the badi name and description, i dont find the INTERFACE tab.
       CAN ANY ONE GIVE ME THE STEPS TO CREATE BADI IN
    ECC 6.0 VERSIO.
    Thanks
    ahmed

    Hi,
    Check this thread...
    New to Badi
    Cheers
    VJ

  • Need Ways to implement Badis in ECC 6.0 (Enhancement Points)

    Hi experts,
    I am new to BADIs. I've a requirement to find a BADI for changing Customer number while posting customer invoice in SAP (the data is coming from XI system in IDOC format). I want to know any BADIs or userexits are there for my requirement. At the same time I want to know how to implement a BADI in ECC 6.0 .Any docs releated to this topic will be of great help.
    points will be awarded for sure..........

    hi Poorna Chandras... ,
    These steps should enable you to find any BADI related to any transaction in a matter of minutes.
    Procedure 1:
    1) Go to the transaction SE37 to find your function module.
    2) Locate the function SXV_GET_CLIF_BY_NAME.
    3) Put a breakpoint there.
    4) Now open a new session.
    5) Go to your transaction. 6) At that time, it will stop this function.
    7) Double click on the function field EXIT_NAME.
    8) That will give you name of the BADI that is provided in your transaction.
    Business Add-Ins
    Procedure 2:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    4) Now Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction
    SAP Business Add-Ins (BAdIs) are one of the most important technologies used to adapt SAP software to specific requirements. BAdIs were introduced with Release 4.6 and replace function module exits. This technology is not limited to SAP applications. BAdI calls can be integrated in customer applications. These can then be enhanced by other customer applications. In the various SAP applications, BAdI calls are implemented at places where enhancements are appropriate.Business add-ins are enhancements to the standard version of the system. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on). You can create definitions and implementations of Business Add-Ins at any level of the system landscape.SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to differentiate between Add-In implementations using the filter Country or other criteria.
    The enhancement technique is set up in such a way that it is possible to define interfaces for ABAP soure code, screens, GUI interfaces, and tables. These allow customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    BADI is just an object-oriented version of user-exit. Instead of entering program code into some function module (as in customer-exit), you define some class which has to implement predefined methods and those methods are fired at predefined points just like an old user-exit. Some BADI can have multiple independent implementations which is much better for software deployment as several developers can implement the same BADI independently. BADI/UserExists are used to enhance R/3 For customer Needs.
    Actually there is no transaction to find when and where the BADI
    is called.
    1. You can see the BADI description to find why it is called.
    2. Once you implemented and activated the BADI, put some break points
    in the BADI and see "where else used" option to check in what all
    programs this BADI is called. In the ITS debug, when you are doing
    the operation what exactly the BADI description tells, it will take
    to the break points and you have to do manually debug the whole thing.
    I know its bit difficult to do manual debug the whole thing, it
    takes lot of time, but you have to be very patience when you are
    dealing with BADI's.
    Transaction SE18 is the BADI equivalent of transaction SMOD
    Transaction SE19 is the BADI equivalent of transaction CMOD .
    To find the BADI to be implemented and then implement this via SE19.
    Check this blogs 2 find a BADI:
    How to find if we have a BADI in Transaction VB02
    Re: BADI for screen enhancement in MM01  transaction
    Re: BADI and User exits
    How To Define a New BAdI Within the Enhancement Framework (Some Basics About the BAdI,BAdI Commands in ABAP,
    When to Use a BAdI?)
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    How to implement a BAdI And How to Use a Filter
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    Introducing Business Add-Ins
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f3202186-0601-0010-6591-b832b1a0d0de
    How to implement BAdi in Enhancement Framework
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702
    Business Add-Ins
    http://help.sap.com/saphelp_47x200/helpdata/en/ee/a1d548892b11d295d60000e82de14a/frameset.htm
    BAdI: Customer-Defined Functions in the Formula Builder
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    Difference Between BADI and User Exits
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    To Use BADI - Business Add In you need to Understand ABAP OO Interface Concept
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    You can check the links for Step by Step Badi Implemntation
    (very helpful self learning docs).
    BADI Step by Step Implementation.
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-serieshttps:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40921dd7-d5cf-2910-1894-bb62316afbd1
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    Difference Between BADI and User Exits
    http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    New to Badi`s
    New to BADI
    New to BADI long question
    Badi
    /message/4866901#4866901 [original link is broken]
    Hope this helps
    Rewards if useful.........
    Cheers
    Kripa Rangachari.

  • Remote Function Call (RFC) within a BAdI in ECC to CRM

    I've a remote enabled FM in a CRM system which I want to call within a BAdI implementation of a ECC system. As a result, the CRM system is the RFC server and the ECC system is the RFC client.
    The FM in CRM simply gets the relevant rows of a Z table which, of course, only exists in CRM and passes these rows to the calling program as per parameter supplied by the calling program.
    Now the BAdI in ECC is for changing 'Contracts' data in SAP (transactional data) before posting the contracts in the ECC database. The business uses a transaction where a large number of contracts are processed and documents posted in the system - and when this happens the system runs through (calls) the BAdI one contract at a time.
    If I call the RFC enabled FM anywhere within this BAdI, it gets the data for one contract only so it reduces a great deal of performance in regards to memory consumption, network load etc. So I want to avoid this and call the RFC FM once instead, if possible.
    Is it possible to call this RFC FM once only (to load the CRM Z table data for all contracts) and store it in a global table/area within the instantiated BAdI class (visibility public) so that when the BAdI is called the second time onwards it can read the global table/area by READ TABLE WITH KEY statement and avoid the RFC call for each BAdI call?
    I was also thinking about may be using ABAP Shared Memory if this is a possibility in order to avoid the repeated RFC call? But this table on the RFC server changes frequently....so it might not be a good idea? or....??
    I would greatly appreciate your inputs and thoughts regarding this; it would be great to hear if someone had had a similar experience.
    Cheers,
    Sougata.

    As the Z table is only updated via a particular program in CRM - we developed and called a RFC enabled FM in that report when its updating the Z table to update the Z table in ECC to keep it in sync.
    Short term benefit but might be long term pain if the Z table in CRM is updated by another program/process/application in the future! Not to mention any table field changes in CRM has to be also made in ECC everytime which is again a pain.
    This is a workaround and definitely not a full-proof solution - but I guess these days one has to shut up and deliver whatever the customer wants!

  • How  can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version

    Hi All,
                Can any one help, how  to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task.
    Given BADI name was----VENDOR_ADD_DATA_BI .
    Thanks

    Anil,
    look at this thread ..may be this helps you.
    Re: 824 IDOC and BADI/User Exit
    sateesh.

  • HOW TO CREATE  BADI IN ECC 6.0 with Enhanance Spot?

    HI,
          Anyone let me know how to create BADI in ECC 6.0 , which have mandtory to create enhanance spot before to create badi?  I dont understand the concept of Enhanance Spot and what is the purpose to create that . Will u plz let me know step wise procedure to create badi ...
    Thanks,
    saurin.

    Hi,
    Implementing Business Add-Ins (BADI)
    The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
    Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
    inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
    as a function module with the same import and export parameters and follow the simple instructions below.
    Steps:
    1. Execute Business Add-In(BADI) transaction SE18
    2. Enter BADI name i.e. HRPBSGB_HESA_NISR and press the display
    button
    3. Select menu option Implementation->Create
    4. Give implementation a name such as Z_HRPBSGB_HESA_NISR
    5. You can now make any changes you require to the BADI within this
    implementation, for example choose the Interface tab
    6. Double click on the method you want to change, you can now enter
    any code you require.
    7. Please note to find out what import and export parameters a
    method has got return the original BADI definition
    (i.e. HRPBSGB_HESA_NISR) and double click on the method name
    for example within HRPBSGB_HESA_NISR contract is a method
    8. When changes have been made activate the implementation.
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    SEE THE LINKS REGARDING SPOT
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
    /people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    Regards
    Kiran Sure

  • Exit/BADi for ml81n to check GRN date should be PO Date.

    Exit/BADi for ml81n to check GRN date should be > PO Date.Kindly suggest .

    Hi,
    You can achieve it using the below enhancement.
    Enhancement: SRVEDIT
    Function module: EXIT_SAPLMLSR_001
    Regards,

  • Difference in Material availability date for ECC ATP check & for APO ATP check in the same order

    Hi Gurus,
    I have a question: on what basis material availability date is calculated in forward scheduling?
    Eg:
    For a customer GR hours are maintained in unloading point calendar in customer master and Customers are not CIF'ed across to APO.
    GR hours are maintained for weekdays from 8:00 to 12:00 & 1:00 to 6:00.
    In a sales order with two line items with Requested date today & plenty of stock on hand for two products( ECC & APO) where line 10 (product 1) triggers ECC ATP check & line 20 (product 2) triggers APO ATP check at same location (loc1).
    RDD is today, material availability date for ECC ATP check (line 10) is today (working as expected) but where as the material availability date for APO ATP check (line 20)is pushed to next day by which for the same customer there are different delivery dates. And two delivery notes will be created & truck will be on road at different times for the same customer which is unacceptable.
    What am I missing here to get the material availability date as today for forward scheduling? Please guide me on this.
    Thanks,
    Nihar

    Hi Nihar
    Though the logic you mentioned makes sense. I am confused here with the data you have provided:
    UTC day
    UTC time
    CET day
    CET time
    UTC+6 day
    UTC+6 time
    RDD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    MAD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    Lod/GI
    02/05
    17:24
    02/05
    7:24
    02/05
    23:24
    Del
    12/05
    17:24
    12/05
    7:24
    12/05
    23:24
    Del
    13/05
    1:00
    13/05
    3:00
    13/05
    8:00
    Load/GI
    05/05
    1:00
    05/05
    3:00
    05/05
    8:00
    MAD
    02/05
    1:00
    02/05
    3:00
    02/05
    8:00
    In the first row, the difference in RDD in UTC and UTC+6 is 6 hours. However, in the last three rows I can see the difference between UTC time and UTC+6 time is 7 hours. Would you know the reason to this? Also, in the first four rows, CET time = 7:24 which should had been 19:24. Please correct me if I am missing something here.
    Thanks,
    Parth Soneji

  • User exit/BADI for tracing change of User Status in IW22

    Hello,
    I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
    eg. changing user status to APTC(Approved to be executed)
    I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
    I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
    Can anyone help?

    Hi..
    Transaction Code - IW22                     Change PM Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
      Business Add-in
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    No.of Exits:          6
    No.of BADis:          7
    Arunima

  • All timer jobs don't start (paused in check job status)

    Hello,
    Some bad things have happend to our SharePoint Server 2010. All timer jobs suddenly stopped running. The last time they ran successfully was 09/26/11. Since that time all jobs have been scheduled to run according to their schedule but don't actually run.
    In the Check Job Status view there is a list of jobs scheduled to run 09/26/11 which are currently paused for some reasons, other jobs don't run at all. 
    Is it possible to unpause these jobs and let other jobs to run? Any ideas would be very much apprecaited. Thank you in advance.

    Hi,
    Thanks for your post.
    Pausable Timer Jobs
    You can now create pausable timer jobs. This is done by inheriting from the
    SPPausableJobDefinition and overriding Execute(SPJobState) instead of
    Execute(Guid). You can then use the current job state (SPJobState) to store values which are retrieved when the job is resumed.
    Running jobs on all content databases
    Another new timer job derivative type is the SPContentDatabaseJobDefinition.This is a timer job specifically made to perform actions on content databases. The timer job is distributed on the WFE servers and each content database is only
    processed by one job. Override the Execute(SPContentDatabase, SPJobState) to add your own processing. The job supports pausing.
    Running jobs on all Site Collections
    A really interesting new timer job type is the SPAllSitesJobDefinition. This one is derived from the SPContentDatabaseJobDefinition and has a method called
    ProcessSite(SPSite, SPJobState) which you override to process the SPSite object. This could be very useful to build site inventories/directories.
    Running job on a specific server
    The SPServerJobDefinition is a pausable timer job that is designed to be targeted to a specific server (SPServer).
    Running jobs for specific services
    The SPServiceJobDefinition is another pausable timer job that runs a job on all servers where a specific
    SPService has been provisioned. A very similar job is the
    SPFirstAvailableServiceJobDefinition which runs the job on the first available server which has a specific SPService installed. If you would like to run a job an all servers you can easily use SPServiceJobDefinition. Then use the timer job service
    (which is installed on all servers, except dedicated database servers) and pass
    SPFarm.Local.TimerService as the SPService parameter in the constructor.
    All of the new specific timer jobs are essentially smart derivatives of the SPJobDefinition but using these new abstract classes will certainly save you some time when you need to target your timer jobs.
    I hope that helps.

  • HT201303 Dear Customer Service: It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for  the card and it is still all good. My friends an

    Dear Customer Service:
    It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for
    the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Techcombank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Edited by Host>

    Just as a warning, your credit card number has been sent in the clear to probably thousands of people, including anyone who subscribes to e-mail alerts to this forum.  That's very, very bad.  The credit card should be considered compromised at this point, and you should cancel it immediately, if you haven't done so already.

  • Checking login status.....

    My Iphone connects to BT Fon and BTopenzone hotspots readily enough but I cant browse. Doesn't matter where I am always the same.
    I've installed the BTFon app, added my user/pw but it just sits there with 'checking login status...'
    The BTFon site says I am opted in but my Home Hub says BTFon not active.
    I called BT on 0800 022 3322 and after a short call in which the guy said I was doing everything correctly he transferred me to.....0800 022 3322
    the next guy then told me that bad weather had caused a problem with the iphone app!
    what a joke

    bikeman wrote:
    Never get to the bt landing page - connect, get ip address, cant browse, no landing page.
    I've spent hours trying to use btfon (from pc, iphone and android) - never works. Told by a BT fon engineer that the homehubs send out a ssid and let you connect/get an ip address even when they are under high use and cant provide service. So you waste time connecting to homehubs that have no available bandwidth.
    Also told to use a 'premium hotspot' but of course how do you identify one when they have the same ssids as all the home hubs?
    Every call to BT comes up with another excuse; we've got service issues, our iphone app needs fixing etc
    I've had infinity for 15 months and only evr managed to logon to a btfon once. Having access to wifi hotspots is supposed to be a feature of bt broadband but in my experience it doesn't work and BT cant fix it.
    Roll on bt wholesale offering fibre broadband to 3rd parties, I'll not be sticking with BT.
    Hi.
    How strong is the signal you're getting ? I've used BTFon without problem recently, using a small android tablet. However when the signal was rock bottom, I couldn't do anything despite being connected.
    When you do connect, have you tried going to www.btopenzone.com ?
    There is a possibility that the fon connections you've managed to connect to are in constant "full" use, so you wouldn't get any real bandwidth as the host will take it all (by design).
    However it does actually indicate from your info that you've not actually "logged in". Although a connection may be granted, you still need to provide your primary email address/password in order to access BTFon - and that is either by the App or the landing page.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Error while checking the status of Oracle Cluster ware

    Hi
    I was trying to install the database using dbca after setting up the grid and database software on LINUX x86-64 RHEL 5.7 machine. The database software version is 11.2.0.3. It throwing the error regarding the connectivity of clusterware. So I checked the status of clusterware.
    -bash-3.2$ ./crsctl stat res -t
    CRS-4535: Cannot communicate with Cluster Ready Services
    CRS-4000: Command Status failed, or completed with errors.
    -bash-3.2$
    But when I ran below one:
    -bash-3.2$ ./crsctl stat res -t -init
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.asm
    1 ONLINE ONLINE sfv9699 Started
    ora.cluster_interconnect.haip
    1 ONLINE ONLINE sfv9699
    ora.crf
    1 ONLINE ONLINE sfv9699
    ora.crsd
    1 ONLINE OFFLINE
    ora.cssd
    1 ONLINE ONLINE sfv9699
    ora.cssdmonitor
    1 ONLINE ONLINE sfv9699
    ora.ctssd
    1 ONLINE ONLINE sfv9699 OBSERVER
    ora.diskmon
    1 OFFLINE OFFLINE
    ora.drivers.acfs
    1 ONLINE ONLINE sfv9699
    ora.evmd
    1 ONLINE INTERMEDIATE sfv9699
    ora.gipcd
    1 ONLINE ONLINE sfv9699
    ora.gpnpd
    1 ONLINE ONLINE sfv9699
    ora.mdnsd
    1 ONLINE ONLINE sfv9699
    So i saw that the crsd having some issue. I checked the alert log and crsd log. Below are the output.
    Alert <server_name>.log
    2012-10-20 15:37:51.408
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:52.968
    [crsd(5188)]CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:52.984
    [crsd(5188)]CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    ]. Details at (:CRSD00111:) in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:53.471
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:53.472
    [ohasd(3694)]CRS-2771:Maximum restart attempts reached for resource 'ora.crsd'; will not restart.
    CRSD.log
    2012-10-20 15:37:52.456: [ CRSMAIN][3563381328] Checking the OCR device
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Sync-up with OCR
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Connecting to the CSS Daemon
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Getting local node number
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [   CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [  OCRASM][3563381328]proprasmo: Error in open/create file in dg [DATA]
    [  OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [  OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.969: [    GIPC][3563381328] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5326]
    2012-10-20 15:37:52.975: [ default][3563381328]clsvactversion:4: Retrieving Active Version from local storage.
    2012-10-20 15:37:52.978: [ CSSCLNT][3563381328]clssgsgrppubdata: group (ocr_SFV9699-cluster) not found
    2012-10-20 15:37:52.978: [  OCRRAW][3563381328]proprio_repairconf: Failed to retrieve the group public data. CSS ret code [20]
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprioo: Failed to auto repair the OCR configuration.
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprinit: Could not open raw device
    2012-10-20 15:37:52.981: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.983: [  OCRAPI][3563381328]a_init:16!: Backend init unsuccessful : [26]
    2012-10-20 15:37:52.984: [  CRSOCR][3563381328] OCR context init failure. Error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [ CRSMAIN][3563381328] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [    CRSD][3563381328][PANIC] CRSD exiting: Could not init OCR, code: 26
    2012-10-20 15:37:52.984: [    CRSD][3563381328] Done.
    =======================
    I see in the above log that saying ASM instance is down and failed to open +DATA .
    But the asm instance up and running
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME STATUS
    +ASM1            STARTED
    And we havent created any disk named DATA before the installation. We have created only below two disks
    SQL> select name,header_status from v$asm_disk;
    NAME HEADER_STATUS
    ASM_DATA MEMBER
    FLASH_RECOVERY MEMBER
    But I am seeing a diskgroup in the v$asm_diskgroup which we havent created.
    SQL> select name,state from v$asm_diskgroup;
    NAME STATE
    DATA MOUNTED
    Ya this is a second time installtion. In the first installtion we created the asmdisk as DATA. But later everything (RAW device ) was formatted and this new disks has been created and installtion again started
    [root@SFV9699 bin]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    Seems like its trying to read the old disk DATA.
    we have done asmscanning too with oracleasm scan disks. but no use.
    Where I can remove the old entry of DATA disk.
    It would be a great if a quick response get.
    Thanks
    SHIYAS M

    The permission looks fine. If it was permission issue then y it is trying to read the DATA disk which I havent created this time at all ( But created in the first installation).
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: *Error in open/create file in dg [DATA]*[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: *Failed to open [+DATA].* Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
    The only disks created are
    [root@SFV9699 dev]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    And these disks are showing part of that group also.. Not quite sure how this happened..
    what abt dropping this group.. will anything work.

Maybe you are looking for

  • PLEASE HELP! Apple Color crashes on timeline import!

    I'm at a complete loss right now; no idea what I should do. Running OS X 10.6.3, Final Cut Pro 7, and Color 1.5 On one specific FCP project, I attempt to send a sequence to Color in order to be graded. Color opens and begins importing the project. On

  • CRM_ORDER_SAVE works properly only in debug mode

    I have a scenario where I'm creating two order documents (using CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE), then linking them with function module CRM_CREATE_BREL_TO_CONTRACT.  After calling CRM_ORDER_SAVE and before CRM_CREATE_BREL_TO_CONTRACT, I "commi

  • IPad 1 problems

    My iPad has been crashing, not the device itself, but the apps. It is an iPad 1st gen 32gb. And since I need it for school it gets irritating when Pages or Notes crashes constantly. I tried jail breaking it because I thought maybe that might help but

  • Can you dual boot lion with an older verion of Mac OS?

    Can you dual boot Lion Os with and Older version of Mac Os (Snow Leopard?) So one can rum Power PC apps until they are upgraded?

  • Table header repaint problem

    I've got my own TableUI and TableHeaderUI. Everything is fine, but when I resize the table only rows are repainted, the header stayes the same until I click mouse at it. Can anyone find out what's wrong? Thanx.