Regarding BADI BBP_CATALOG_TRANSFER

Hi All,
we are implementing SRM5.0 ,i created a BSP application for transfering shoping cart items , this BSP application is called from the BBP , when i click a link ECAR overthere.
But the items in Shopping cart of my application are not getting transfered to the calling application.
When i implemented the BADI BBP_CATALOG_TRANSFER i get the following runtime error , on clicking the ADD TO CART button in BSP application:
Method: IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA of program ZCL_IM_CATALOG_TRANSFER=======CP
Method: IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA of program ZCL_IM_CATALOG_TRANSFER=======CP
Method: IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA of program CL_EX_BBP_CATALOG_TRANSFER====CP
Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
Form: CATALOG_CONTENT_GET of program SAPLBBP_SC_APP
Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
Form: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
Module: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
if i deactivate the implementation of this BADI i get the following error:
No logical system for FI is maintained.Inform system Admin.
Enter the company code.
No logical system for FI is maintained.Inform system Admin
Error in account assignment for item1.
what might be the problem?
Is this a problem with the BSP application or customization?
One more thing is that How is this BADI called? We have not called it in the BSP application?
Thanks.
Anubhav.
Edited by: Anubhav Jain on Jun 4, 2008 6:35 AM

Starting with basics,
what is the need of custom BSP?
are the standard ITS & BSP applications are not enough for yr requirement?
because you have said it's catalog stored on the internal server only
and you are not punching out from external(supplier) server.
what is the data that you are adding or changing with BBP_CATALOG_TRANSFER ?
The call of this BAdI occurs in function module 'BBP_WS_IMPORT_SC_DATA'. This module is called by the relevant application to import catalog items previously sent by the browser of the user to the application Web server from there. After the catalog has transferred the data to SAP Enterprise Buyer the system carries out the following actions.
Conversion of ISO code of unit of measure and currency to SAP format
Conversion of price field to SAP format
In the case of transfer of a material or service number:
The system reads the product master with this number. If the number exists, the system transfers from the product master record the description and the purchase order unit of measure.
In the case of a partner number:
The system reads the business partner master with this number. If the number does not exist, the number in the shopping cart item is reset.
What is the Error analysis for the run time error in ST22?
You may also show the code under "Information on where terminated" to yr functional guy
and he may locate the table which needs to be filled up
BR
Dinesh

Similar Messages

  • BADI BBP_CATALOG_TRANSFER

    Hello!
    We are working with SRM 5.0 and we are using punch out.
    We need to buy on stock (cost assignment category ST) out of those external catalogs. But the vendor cannot put our SAP material numbers into his system.
    How can I do the mapping between the vendor material reference and our material numbers? Can I use the specific BADI BBP_CATALOG_TRANSFER for this?
    Thanks a lot,
    Regards,
    Caroline

    Hi caroline,
    <b>Example 1 for tax mapping :</b>
    In method ENRICH_ITEM_DATA do the following:
    LOOP AT catalog_content INTO wa_catalog_content.
        LOOP AT et_sc_item_data INTO wa_sc_item_data
          WHERE catalogitem = wa_catalog_content-ext_product_id.
          wa_sc_item_data-<field_for_tax> = wa_catalog_content-cust_field2.
          MODIFY et_sc_item_data FROM wa_sc_item_data.
        ENDLOOP.
      ENDLOOP.
    <u>Example 2 :</u>
    method IF_EX_BBP_CATALOG_TRANSFER~ENRICH_ITEM_DATA.
    break-point.
    This implementation is writing all the fields that are filled
    in the OCI-Interface to the application log BCT1. Furhtermore
    it is also storing the error messages from ENRICH_ITEM_DATA to
    the same log. The log can be view with transaction SLG1.
    ***** DATA DECLARATION *************************************
    Work area for catalog_content
      DATA: ITAB_WA        TYPE bbp_ws_oci_item_s.
    Data of the aplication log
      DATA: L_S_LOG        TYPE BAL_S_LOG. "Header of application log
      DATA: L_S_TEXT(200)  TYPE C. "Message lines
      DATA: L_S_HANDLE     TYPE BALLOGHNDL. "Log Handle.
      DATA: L_T_HANDLE_TAB TYPE BAL_T_LOGH. "Handle tab for BAL_DB_SAVE
    Data for OCI-Fields
      DATA: OCI_FIELDS     TYPE DDFIELDS. "all OCI-fields
      DATA: OCI_FIELDS_WA  TYPE DFIES. "work area for OCI-fields
      DATA: HELP_FIELD(30) TYPE C. "dynamic field for loop at OCI-fields
      DATA: DISP_FIELD(30) TYPE C.
      DATA: H2(40)         TYPE C. "conversion to type C
      FIELD-SYMBOLS: <F1>  TYPE ANY.
    Data for OCI-Error-Tab
      DATA: CATALOG_CONTENT_ERRORS_WA TYPE BBP_OCI_ERRORS.
    ***** END OF DATA DECLARATION ********************************
    Read all the fields of the OCI-Interface.
      CALL FUNCTION 'GET_FIELDTAB'
           EXPORTING
                tabname  = 'BBP_WS_OCI_ITEM_S'
           TABLES
                fieldtab = oci_fields.
    create a log
      L_S_LOG-EXTNUMBER = 'CATALOG_DOWNLOAD'.
       L_S_LOG-ALUSER    = SY-UNAME.
       L_S_LOG-ALPROG    = SY-REPID.
       L_S_LOG-OBJECT    = 'BCT1'.
       CALL FUNCTION 'BAL_LOG_CREATE'
            EXPORTING
                 I_S_LOG      = L_S_LOG
            IMPORTING
                 E_LOG_HANDLE = L_S_HANDLE
            EXCEPTIONS
                 OTHERS       = 1.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    fill the data for the Application Log
       CLEAR ITAB_WA.
       LOOP AT CATALOG_CONTENT INTO ITAB_WA.
    loop at all oci-fields and add nonempty fields to the appl. log
         LOOP AT OCI_FIELDS INTO OCI_FIELDS_WA.
          CONCATENATE 'ITAB_WA-' OCI_FIELDS_WA-FIELDNAME INTO HELP_FIELD.
          ASSIGN (HELP_FIELD) TO <F1>.
          IF <F1> IS INITIAL.
    only write the fields that are not initial
          ELSE.
           H2 = <F1>.    "conversion to type C
           CONCATENATE 'NEW_ITEM-' OCI_FIELDS_WA-FIELDNAME INTO DISP_FIELD.
           CONCATENATE DISP_FIELD '=' H2 INTO L_S_TEXT SEPARATED BY SPACE.
    add this line to the application log
          CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT'
               EXPORTING
                    I_LOG_HANDLE     = L_S_HANDLE
                    I_MSGTY          = 'I'
                    I_TEXT           = L_S_TEXT
               EXCEPTIONS
                    LOG_NOT_FOUND    = 1
                    MSG_INCONSISTENT = 2
                    LOG_IS_FULL      = 3
                    OTHERS           = 4.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
         ENDIF.
        ENDLOOP.
    check if there are errors for this item in CATALOG_CONTENT_ERRORS
        LOOP AT CATALOG_CONTENT_ERRORS INTO CATALOG_CONTENT_ERRORS_WA
                WHERE LINE = ITAB_WA-LINE.
           CONCATENATE
              CATALOG_CONTENT_ERRORS_WA-LINE
              CATALOG_CONTENT_ERRORS_WA-TYPE
              CATALOG_CONTENT_ERRORS_WA-CODE
              CATALOG_CONTENT_ERRORS_WA-MESSAGE
              CATALOG_CONTENT_ERRORS_WA-MESSAGE_V1
              CATALOG_CONTENT_ERRORS_WA-MESSAGE_V2
              CATALOG_CONTENT_ERRORS_WA-MESSAGE_V3
              CATALOG_CONTENT_ERRORS_WA-MESSAGE_V4
          INTO L_S_TEXT SEPARATED BY SPACE.
    add this line to the application log
          CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT'
               EXPORTING
                    I_LOG_HANDLE     = L_S_HANDLE
                    I_MSGTY          = CATALOG_CONTENT_ERRORS_WA-TYPE
                    I_TEXT           = L_S_TEXT
               EXCEPTIONS
                    LOG_NOT_FOUND    = 1
                    MSG_INCONSISTENT = 2
                    LOG_IS_FULL      = 3
                    OTHERS           = 4.
          IF SY-SUBRC <> 0.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    Save this log to the data base (Log-Object = BCT1)
      CLEAR L_T_HANDLE_TAB.
      APPEND L_S_HANDLE TO L_T_HANDLE_TAB.
      CALL FUNCTION 'BAL_DB_SAVE'
           EXPORTING
                I_T_LOG_HANDLE   = L_T_HANDLE_TAB
           EXCEPTIONS
                LOG_NOT_FOUND    = 1
                SAVE_NOT_ALLOWED = 2
                NUMBERING_ERROR  = 3
                OTHERS           = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Kind regards,
    Yann

  • Triggering BADI BBP_CATALOG_TRANSFER

    Hello People.
    I have implemented BBP_CATALOG_TRANSFER badi ( I want to use customer fields) , but its implementation is not called, the badi is active but is not called.
    We have SRM version 5.0 and Enterprise Buyer 3.0. ( ITS integrated)
    How I can triggering this badi?
    Regards.

    Hi,
    BBP_CATALOG_TRANSFER can be used  to change/map values returning from an OCI linked external catalog via the hook url. It lets you map out some of the data.
    See the foll related threads:
    Triggering BADI  BBP_CATALOG_TRANSFER
    How to debug the BADI 'BBP_CATALOG_TRANSFER'?
    Also sample code for the BADI for your reference:
    Like this, you can do much more things. Basically, you can map the data coming from external into SRM SC.
    loop at enriched_item_data into wa_enriched_item_data.
    category_id = wa_enriched_item_data-category_id+0(6).
    select category_guid
    into comm_category-category_guid
    up to 1 rows
    from comm_category
    where category_id = category_id.
    endselect.
    if sy-subrc eq 0.
    wa_enriched_item_data-category = comm_category-category_guid.
    wa_enriched_item_data-category_id = category_id.
    modify enriched_item_data from wa_enriched_item_data.
    else.
    select category_guid
    into comm_category-category_guid
    up to 1 rows
    from comm_category
    where category_id = c_category_id99.
    endselect.
    if sy-subrc eq 0.
    wa_enriched_item_data-category = comm_category-category_guid.
    wa_enriched_item_data-category_id = c_category_id99.
    modify enriched_item_data from wa_enriched_item_data.
    endif.
    endif.
    endloop.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Badi BBP_CATALOG_TRANSFER, external or internal catalog

    Hi Mate,
    This is with refernence to BADI paramters for BADI 'BBP_CATALOG_TRANSFER'.
    how to understand the whether it is internal catalog or external catalog with the parameters of BADI 'BBP_CATALOG_TRANSFER'
    Regards,
    Amit R.

    Hi. What do you mean by "internal" or "external"?
    Do you mean whether it is your own Requisite / CCM / MDM catalog or a suppliers punch out?
    Or do you mean if it is an internal call structure or a normal call structure?
    Regards,
    Dave.

  • Help needed regarding BADI in SAP-CRM 2007.

    hi all,
    i need some help regarding BADI for new creation and enhancement.
    plz help, you will be rewarded accordingly.
    regards.
    raman.

    Hi Raman,
    visit this link
    http://help.sap.com/saphelp_nw70/helpdata/en/32/a83942424dac04e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/c3/69bf4abf1045e0966badb60d6160dd/content.htm
    Regards
    Anup.

  • BAdI BBP_CATALOG_TRANSFER - Material Group Mapping issue

    Hi all,
    Currently, we have to map Vendor Product Category to SAP Material Group using a customized table, as the shopping cart items are transferred via OCI (Open Catalog Interface) from External Catalog. I realize mapping can be done using BAdI BBP_CATALOG_TRANSFER in SRM system.
    Before any mapping logic is placed in the above BAdI, I notice Application Log (Tcode SLG1) returns me an error message after shopping cart items transferred via OCI:
    000001 Unable to find appropriate Category Id 98218237
    Hence, I have placed Product Category mapping logic in the above BAdI using CATALOG_CONTENT-MATGROUP (where Vendor Category ID 98218237 will be mapped to SAP Material Group 001803). However, once I attain Material Group 001803 from mapping z-table, I am not sure which internal table I need to update , should it be CATALOG_CONTENT, ENRICHED_ITEM_DATA, or ET_SC_ITEM_DATA?
    I notice that ET_SC_ITEM_DATA having empty entry, while CATALOG_CONTENT and ENRICHED_ITEM_DATA contains the shopping cart items from External Catalog. I have tried to update ENRICHED_ITEM_DATA but I still get the error message from Appl. Log (SLG1).
    000001 Unable to find appropriate Category Id 98218237
    What is the different between ENRICHED_ITEM_DATA and ET_SC_ITEM_DATA, while EV_SC_STRUCTURES_USED = 'X', when I debug the BAdI? And which table I need to update after I attain the right SAP Material Group from Mapping z-table, while ET_SC_ITEM_DATA is empty?
    Kindly advise.
    Many thanks,
    Patrick
    P/S: I'm on SRM 5.0

    HI,
    I am not sure how could you solve your concern, I have been to similar situations..and here is my opinion.
    The errors what you are getting for:
    Error: Jurisdiction code could not be determined
    Reason: You are using a Location or Ship-to-address in such a way that there are two Jurisdiction Codes in your backend system (are you using Third Party Tax engine such as Taxware?). In such case, Shopping Cart gets confused to select from two codes and throws out error message...or simply your backend system has not maintained any Tax Jurisdiction Code at all!!!
    Error: Not possible to calculate tax
    Reason: Because Shopping Cart could not get any correct Jurisdiction Code, it can not calculate tax!
    How to solve above two errors? Solve the 1st one, second one is automatically solved!
    You can implement BADI BBP_DET_TAXCODE_BADI to find atleast one and only one Jurisdiction Code for a line item of the Shopping Cart (or PO). (Tip: You can call an RFC to backend to call standard FM to get the Tax Jurisdiction Codes, if there are more than one, select the first one and return, or if there are none..use any default (which is okay to your customer) and give it to the structure.
    Let me share my understanding on the three structures you found in the BBP_CATALOG_TRANSFER BAdI.
    CATALOG_CONTENT: Contains the OCI fields flowing from the catalog. They are the original items coming from Catalog.
    ENRICHED_ITEM_DATA: Contains the Catalog_Content structure as sub-structure. This is used to modify the content as a broker.
    ET_SC_ITEM_DATA: Contains the SC items that is created because of Catalog Transfer. If there is any application error such as mismatch of Unit of measurement, ISO Codes, Product Category etc. this structure will not be filled in completely..Only perfect items (without any mapping error) will get into this structure.
    If you are finding that ET_SC_ITEM_DATA is empty, then check BBP_OCI object in SLG1 transaction, that will show you errors while catalog transfer and the same can be found during debugging of the BAdI.
    I think this can give some idea on how to use them..
    Thanks for reading...
    Ashok Kawa

  • Regarding BADI implementation in Debugging

    Hi,
       i have a doubt regarding BADI.There are multiple badi implementations for VA02 transaction. now i am processing the VA02 transaction. Can i know which implementation is processing for the transaction.

    Hi Praveen,
    Use this code to find out the BADI of a Transaction code:
    *& Report ZGET_BADI
    REPORT ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Reward if useful
    Regards
    Ravi

  • Badi BBP_CATALOG_TRANSFER in EBP portal

    we have implemented  badi BBP_CATALOG_TRANSFER
    I have kept the debugger in the code written under this implementation .
    1. when I try to execute it giving CATALOG ID as input I am not getting any data in
    parameter u201CCATALOG_CONTENTu201D
    2. when i do the shopping through  EBP portal , and click on
    "Transfer Items from Catalog" control  does not go to implemented badi.
    Can any one please guide any pointer on it.

    If you set an internal break point in Badi ENRICH_ITEM_DATA then the BADI code &#8206;does not stop, but if you set an external break point in the code with the same user that is &#8206;used to run the shopping cart then the it will stop at that external breakpoint in the BADI.&#8206;
    &#8206; &#8206;
    I have done this on a number of occasions.&#8206;
    The trick that I stated above :- &#8206;
    &#8206;1) Login as i.e. EBPREQ2 set the External Break point &#8206;
    in the code this will be active for the next 2 hours for User EBPREQ2.&#8206;
    &#8206;2) Then bring up the Browser then login as EBPREQ2 &#8206;
    into SRM and go shopping then when you submit order &#8206;
    R3 will do a stop inside that BADI.&#8206;

  • Can somebody provide a real time dummy object regarding BADI

    hi guru.
    it's urgent.can somebody provide a real time dummy object regarding BADI.
    please forward me.
    deffinitely good points waiting for u.
    thanks&regards.
    subhasis.

    Please check .
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm

  • Provide me Technical Speck or Functional Speck regarding BADIs

    Hi,
    can any one provide me the Technical Speck or Functional Speck regarding BADIs  its very urgent for me. you can send to my mail id: [email protected]
    waiting for your cooperation.
    Ramarao
    Message was edited by:
            rama rao

    Hi Rama !
    You can visit the following link:
    http://mysapbi.blogspot.com/2006/12/abap-certification.html
    You will find documentation and tutorials for whatever material you wish.
    Apart from that would be sending you step by step docs for both ALE and BADI.
    Reward if its helpful.
    Abir

  • BADI - BBP_CATALOG_TRANSFER - Debuging in web browser

    Scenario:
    The end user will launch a catalogue via the EBP system. The user will search for materials and services within the catalogue search engine. The materials and services will be displayed with the numbers from the R/3 system. The end user will select the services and materials from the catalogue and the data will be transferred via OCI interface into the shopping cart of the EBP system. The master data for materials and services within the catalogue won’t contain any leading zeros like in the R/3 system.
    Requirement:
    I want to stuff leading zeros to the material/service number when data gets transfered, so I am trying to use BBP_CATALOG_TRANSFER BADI. I have stated coding ENRICH_ITEM_DATA method but unable to test the data. I like to know how to debug the code... since I am viewing it in web browser breakpoint is not working... how to put some message or write statement and view it in browser... and which parameter I need to use to get material no.
    Advance thanks.
    Regards,
    Balaji Viswanath.

    If you set an internal break point in Badi ENRICH_ITEM_DATA then the BADI code &#8206;does not stop, but if you set an external break point in the code with the same user that is &#8206;used to run the shopping cart then the it will stop at that external breakpoint in the BADI.&#8206;
    &#8206; &#8206;
    I have done this on a number of occasions.&#8206;
    The trick that I stated above :- &#8206;
    &#8206;1) Login as i.e. EBPREQ2 set the External Break point &#8206;
    in the code this will be active for the next 2 hours for User EBPREQ2.&#8206;
    &#8206;2) Then bring up the Browser then login as EBPREQ2 &#8206;
    into SRM and go shopping then when you submit order &#8206;
    R3 will do a stop inside that BADI.&#8206;

  • Help needed regarding BADI.

    hi all,
    can anyone plz tell me how to define BADI and how create an interface.
    plz tell from everything regarding that, i have work with basic ABAP only.
    anykind of links and any kind of matter will be helpful and you will be rewarded with points for your help difinatly.
    regards.
    raman.

    Hi Raman,
    Please search the forum and you have lots and lots of links in it. For you to start with, try these links,
    The specified item was not found.
    BADI
    Best Regards.

  • Regarding BADI's in ABAP

    Hi,
    Can anybody tell me What is meant BY <b>BADI's</b>!
    Also what are the main diffrences between <b>User-Exits and BADI's</b>!
    Can anybody explain me wether any diffrent types of <b>BADI's</b> are available!
    Can anybody provide me documentation with the examples
    for <b>BADI's</b>.
    If anybody is having good material on the same please post it.
    (or)
    Please send the material to
    My Personnal Mail id : <b>[email protected]</b>
    Thanks in advanace.
    Thanks & Regards,
    Rayeez.

    I.What is Badi?
    1.New SAP enhancement technique
    2.To accommodate user requirements not available / too specific to be included in the SAP standard Program
    3.Based on ABAP Objects – It has Interfaces & Methods
    4.Guaranteed 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
    II.BAdi & Customer-Exit
    1.Though different enhancement technique, BAdi has following distinct features
    -Uses Object oriented approach
    -Two parts - Definition and its Implementation - definition can either be SAP provided or user may also create it
    -no longer assumes a two-system infrastructure (SAP and customers)
    -allows multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like)
    3.BAdi – where to find
    1.Look for BAdi in IMG and in component hierarchy (using transaction SE18)
    2.Create own implementation of the add-in (complete coding for Methods) and activate
    3.Enhancement's active components are called at runtime.
    BAdi Definition (SE18)1.To include Business Add-Ins in the program
    - Define an interface for the enhancement in the SAP menu under Tools-> ABAP Workbench -> Utilities -> Business Add-Ins -> Definition (transaction SE18)
    -Call the interface at the appropriate point in application program
    -Customers can then select the add-in and implement it according to their needs
    BAdi Implementation (SE19)
    1.ABAP Workbench ->Utilities -> Business Add-Ins -> Implementation (transaction SE19)
    2.Find the suitable Business Add-Ins present in system (Use IMG or Component hierarchy)
    3.Use Add-Ins Documentation to understand functionality & to decide
    4.Implement the Add-Ins
    -a class is created with the same interface
    -Finalize coding for the method
    5.Implementations are discrete transport objects and lie within the namespace of the person or organization implementing them
    check the SAP help link on BADI's
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    /people/sergey.korolev/blog/2005/03/14/the-time-for-me-to-have-a-badi-of-my-own
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ef6c0507-0701-0010-7395-e526c68bbc4e
    Thanks & Regards,

  • Regarding badi bom_exit

    coding inside badi bom_exit  
    hi friends
    thanks in advance.
    in se19 i need to implement that badi for that help me in coding.
    this is the badi for making field alterations in screen 100 for CS02 transaction in ecc 5.0
    now the thing is , i need to make the field aennr(change number inside the effectivity block as mandatory field) so please help me out in coding this , as i am new to badi.
    with regards
    S.Janagar

    Janagar
    Create the Implementation for BADI BOM_EXIT. Add following code to the Interface START_SCREEN_CHECK in the Implementation:
      IF i_rc29n-aennr IS INITIAL.
        MESSAGE e208(00) WITH 'Change number is Mandatory'.
      ENDIF.
    Thanks
    Amol Lohade

  • Regarding BADI FAA_EE_CUSTOMER

    Hi Gurus,
    I have a requirement of BADI FAA_EE_CUSTOMER ( new depreciatioin calculation ), the thing is i am new to BADIs,
    i have created the BADI Z_FAA_EE_CUSTOMER and inserted a break-point in the set_base_value interface. but i am unable to find the tcode for which this badi will trigger... and can any give me some help to work out on this ...this is available in ecc6.0. i have opened the tcodes OABZ and AOBK but how to go into my code ...if they are the correct tcodes?
    Waiting for ur reply....
    Regards
    Srinath

    goto se24
    type cl_exithandler and "display"
    double click on "get_instance"
    set a break-point on  CALL METHOD cl_exithandler=>get_class_name_by_interface
    run the transaction ,in the debugger you will see the badis name in "exit_name" variable.
    These badi's are the ones you can use in your transaction....
    have you activated your implemetation????

Maybe you are looking for

  • [Solved] i3 workspace output woes

    Semi-recently switched to i3, loving everything about it so far other than one fairly large issue that is stopping me using it like a true WM. Basically, I'm trying to set 4 workspaces on each monitor (of which I have 2), and it just straight up does

  • Pages into pdf, different font

    When I export my pages document into a pdf, I get a completely different font. This font is not even close to the style of my brand. For my company I use teh imported font Lato, which has been working out since years....This flipping into a completel

  • 5s won't turn on after 7.0.5 update

    Saw the update today Downloaded the update and plugged phone to a main power source Started to install the update, then nothing. No power, can't restart the phone and need I'm a few hour for work. Any help is welcomed.

  • Error /dev/rmt/0mn: cannot create when taking backup

    Hello Gurus I am getting the following error when I am trying to take SAP system backup on tape :- BR0278E Command output of 'LANG=C cd /oracle/SOL/sapbackup && echo .tape.hdr0 /usr/sap/SOL/SYS/exe/run/brtools -f detach LANG=C cpio -ovB > /dev/rmt/0m

  • Schedule lines problem

    i am  creating a Sales Order from the OR and the orders are going to Multiple Schedule lines in different dates for the same material. period delivery date ordered quan confirmed quantity D 10/03/2008 10 0 D 23/05/2008 0 10 material is available on t