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

Similar Messages

  • Exit/badi for Material group validation on service POs

    Hi Gurus,
    The requirement is to put validation on 'MATERIAL GROUP' at item level as well as service sub line item level.I have used EXIT_SAPMM06E_017 for line level validation.
    For service sub line level 'MATERIAL GROUP' i tried using EXIT_SAPLMLSP_030 but validation is not working properly as
    EXIT_SAPLMLSP_030 is triggered before EXIT_SAPMM06E_017.
    Kindly suggest any alternatives.
    Thanks in advance
    Deepika

    Hi,
    I had finally used BADI ME_PROCESS_PO_CUST method CHECK and PROCESS_ITEM for enjoy transactions i.e ME21N ME22N ME23N and written code in EXIT EXIT_SAPLMLSP_030 for service item validations.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
        DATA: wa_zmm_mat_grp TYPE zmm_mat_grp.
        EXPORT header_data-aedat FROM header_data-aedat TO MEMORY ID 'ZDAT24933'.
        EXPORT header_data-bsart FROM header_data-bsart TO MEMORY ID 'ZBRT24933'.
        IF header_data-aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( header_data-bsart = 'SRV' OR header_data-bsart = 'SRVF' OR header_data-bsart = 'SRVI') AND ( header_data-bsart NE ' ')  AND
             ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl AND
                                                                         bsart = header_data-bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF header_data-bsart IS NOT INITIAL.
            IF ( header_data-bsart NE 'SRV') AND ( header_data-bsart NE 'SRVF') AND ( header_data-bsart NE 'SRVI') AND
               ( re_data-loekz EQ 'S' OR re_data-loekz EQ ' ' ).
              SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = re_data-matkl.
              IF sy-subrc EQ 0.
                MESSAGE e006(ze1).
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    For service subline item following code:
    DATA: wa_zmm_mat_grp TYPE zmm_mat_grp,
          v_bsart TYPE ekko-bsart,
          v_packno TYPE esll-packno,
          v_ebeln TYPE ekpo-ebeln,
          v_aedat TYPE ekko-aedat.
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N' OR sy-tcode = 'ME23N' OR sy-tcode = 'MASS' OR sy-tcode = 'ME29N'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT header_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT header_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IMPORT re_data-bsart TO v_bsart FROM MEMORY ID 'ZBRT24933'.
        IMPORT re_data-aedat TO v_aedat FROM MEMORY ID 'ZDAT24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ELSEIF sy-tcode = 'ME21' OR sy-tcode = 'ME22' OR sy-tcode = 'ME23'.
      IF srv_esll-matkl IS NOT INITIAL.
        IMPORT i_ekko-bsart TO v_bsart FROM MEMORY ID 'ZPOT24933'.
        IMPORT i_ekko-aedat TO v_aedat FROM MEMORY ID 'ZDTA24933'.
        IF v_bsart IS INITIAL OR v_aedat IS INITIAL.
          SELECT SINGLE packno FROM esll INTO v_packno WHERE sub_packno = srv_esll-packno.
          IF sy-subrc EQ 0.
            SELECT SINGLE ebeln FROM ekpo INTO v_ebeln WHERE packno = v_packno.
            IF sy-subrc EQ 0.
              SELECT SINGLE bsart aedat FROM ekko INTO (v_bsart, v_aedat) WHERE ebeln = v_ebeln.
            ENDIF.
          ENDIF.
        ENDIF.
        IF v_aedat GE '20090810'.         " Material group mandatory appplicable date.
          IF ( v_bsart EQ 'SRV' ) OR ( v_bsart EQ 'SRVI' ) OR ( v_bsart EQ 'SRVF' ) AND ( v_bsart NE ' ' )
          AND srv_esll-del = ' '.
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl AND
                                                                         bsart = v_bsart.
            IF sy-subrc NE 0.
              MESSAGE e005(ze1).
            ENDIF.
          ENDIF.
          IF ( v_bsart NE 'SRV' ) AND ( v_bsart NE 'SRVI' ) AND ( v_bsart NE 'SRVF' ) AND ( v_bsart NE ' ' )
          AND ( srv_esll-del = ' ').
            SELECT SINGLE  *  FROM zmm_mat_grp INTO wa_zmm_mat_grp WHERE matkl = srv_esll-matkl .
            IF sy-subrc EQ 0.
              MESSAGE e006(ze1).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    hope this will help u.

  • Looking UserExit or BADI for Material Group Description

    Hi,
    I am looking for BADI or User Exit for Material Group Description.
    My Scenariio is Whenever the user Enter in to MM01or MM02 in Basic Data 1 view Materail Group Field ,the user press F4 It is displaying material group number and corresponding Description.Those Description are in English because that materail group are created in English Longon Language,but the other language User Enter in to MM01 or MM02 Transaction in the basic data 1 view Press the F4 key for Materail Group it showing only material group number no description is displaying,but my requirement it should translate and show it to the corresponding longon language description when Press F4.Regarding this i maintaining other language description for the existing material group in a ZTable.
    The table for Material Grop Description in all the language  is T023T table.
    Get back to me your valuable suggestion for the above requirement.
    Thanks & Regards,
    sanjeevkumar

    Hi Sanjeev,
    If you wanna search for BADIs, you can follow this method:
    go to SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:
    call method cl_exithandler=>get_class_name_by_interface
    exporting
    instance = instance
    importing
    class_name = class_name
    changing
    exit_name = <b>exit_name </b>
    exceptions
    no_reference = 1
    no_interface_reference = 2
    no_exit_interface = 3
    data_incons_in_exit_managem = 4
    class_not_implement_interface = 5
    others = 6.
    the value of exit_name will give you the name of the BADI that is been call from the transaction. Then you have to execute the transaction MM01 or MM02 and it will stop on each Badi's call.
    Regards,
    Eric
    Reward any helpful answer

  • Map UNSPSC code to Material Group for punch-out catalogues

    Hi All,
    can anyone share an experience with the best way of mapping UNSPSC codes to Material Groups for punch-out catalogues.
    I've been looking at the Schema config under the Content Management section in  the IMG (Supplier Relationship Management > SRM Server > Master Data > Content Management > Mapping for Schemas) but can't really find any docuemtnation to describe exactly how this can be used.
    I guess the alternative option is to create a custom table and use the BBP_CATALOG_TRANSFER BADI but if this can be done as standard using config rather than ABAP developemnt that would be a preferable solution.
    Thanks
    Chris

    Hi,
    Best way is to activate the BBP_CATALOG_TRANSFER BADI. this encompasses or can be customized accordingly to
    1. To map UNSPSC with Product Categories/Material groups (however custom z table needs to be created which does the mapping)
    2. Some supplier catalogs will send  too much information, most of which is not necessary for SRM, here whatever is needed can be filtered out
    This BADI overall enriches the data transferred from the supplier.
    hope this helps!
    Thanks,
    Prashanth

  • UNSPSC Code Mapping with Local Material Group

    Hi Experts,
    We are on SRM 7.0 SP05
    We are trying to map UNSPSC Code with R/3 Material Group, which has been replicated to SRM. We have maintained the mapping table for UNSPSC with SRM Material Group.
    We are using the BADI BBP_CATALOG_TRANSFER to change the UNSPSC with a corresponding material group and are modifying the internal table enriched_item_datacategory_id field. Though we are able to successfully change it in the BADI but the changes are not reflected in the shopping cart. Does anybody know why this happens? Is there an OSS note to resolve this problem?
    Appreciate your great help
    BR,
    Siva

    Muthu,
    We have not done anything with MDM but as for CCM, I can tell what we have done...
    In IMG: Supplier Relationship Management --> SRM Server --> Master Data --> Content Management, you can define your schemas and mappings.
    When shopping through a catalog, make sure the SCHEMA and the UNSPC are passed in the OCI stream.  If your scemas and mappings are straight-forward, then no addtional coding is required.  However, if this is not the case, addtional coding in BBP_CATALOG_TRANSFER may be needed.
    I have seen in the forums that many have recommended custom tables and mapping code in BBP_DOC_CHANGE_BADI.  However, I like to stick to standard as much as I can.
    This may be simplistic, but I think it will help you get a idea on the CCM side.  Sorry I could not help you with MDM. 
    Regards, Dean.

  • Material replication from R/3 to SRM - Issue with Material group

    Hello All,
                      I am working on BADI PRODUCT_CUSTOMER2 and method MAP_R3_TO_CRM_MATERIALMaterial replication part from R/3 to SRM.
    I am using a Ztable to map r/3 material group to SRM material group(Product category).
    For example Material M1 with material group 100 is transferred to SRM. Material group(Product category) 100 exist in SRM, but I am changing the material group to 200 in the product_customer2 badi.  its working fine.
    In another scenario, Material with material M1 with material group 300. Material group(product category) 300 does not exist in SRM,
    I am changing the material group to 200 in the bdoc, in the product_customer2 badi. It is not working. The LUW is failing in SMQ2 transaction with the error "Error in Mapping (Details: transaction SMW01)". The BDOC is failing with error "Category for material group 300 does not exist"
    I tried to deactivate the badi PRODUCT_CUSTOMER2, even then the FM MAP_BAPIMTCS_AND_PROCESS is validating the material group from R/3.
    I tried to change the material group 300 to the existing material group 200 at initial stage in debugging in function module MAP_BAPIMTCS_AND_PROCESS but still the bdoc is failing with error "No storage form defined for product type 01 / logical system".
    I am doing my testing using the following steps.
    1. change the material descriptioni in MM02 in R/3.
    2. An item is displayed in the queue in SMQ2 in SRM.
    3. I have debugged the LUW and analyzed my badi by setting breakpoint at method MAP_R3_TO_CRM_MATERIAL, its changing the material group in the bdoc properly.
       that didnt work.
       also i tried to change the material group in the function module MAP_BAPIMTCS_AND_PROCESS before the badi is called.
    4. I am checking the BDOc status using tcode SMW01 and checking the material using tcode COMMPR01.
    can someone tell me how I can change the R/3 material group to SRM material group at the time of mapping in SRM?
    Thanks
    Sathish PM

    Hi find below for the product cat
    Steps to create the product category in SRM:
    1) Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
    2) Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
    3) Do a test and check if the product category is available for procurement in SC.
    Regards,
    Satish

  • Issue Search Help Exit for Material Group

    Dear Expertsl,
    I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
    1)  I developed custom table to hold the Invalid material groups
    2) Developed search help as same as in the bellow link
    link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
    3) Before the statement
        SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
          WHERE matkl IN t_matkl
    i selected the Invalid materials from the custom table into an internal table
    4)    i am restricting the entries with the following code.
    LOOP AT a_tab.
    only move values that meet the requirements
    after you convert to upper case.
         MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
         TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
            MOVE      a_tab-wgbez        TO a_tab-wgbez_test.
            TRANSLATE a_tab-WGBEZ_test   TO UPPER CASE.
            MOVE      a_tab-wgbez60      TO a_tab-wgbez60_test.
            TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
          IF a_tab-wgbez60_test IN i_wgbez60 AND
             a_tab-wgbez_test   IN i_wgbez   AND   
             a_tab-matkl        IN i_matkl.
            ADD 1 TO findex.
            MOVE a_tab-matkl   TO temp_tab-matkl.
            MOVE a_tab-WGBEZ   TO temp_tab-WGBEZ.   
            MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
            IF findex > callcontrol-maxrecords.
              MOVE 'X' TO callcontrol-maxexceed.
              EXIT.
            ENDIF.
            READ TABLE i_invalid INTO w_invalid
            WITH KEY matkl = a_tab-matkl.
            IF sy-subrc NE 0.
              APPEND temp_tab.
            ENDIF.
            CLEAR temp_tab.
          ENDIF.
        ENDLOOP.
    This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
    But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
    Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials  groups from now onwards.
    I would appropriate if any one can helping this regard.
    Thanks in advance.,
    Regards,
    Venkat

    Hi Venkat,
    You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
    For example, your screen field is MARA-ZXXXX, screen 0100 and search help :  ZSEARCH_HELP
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'MARA'
          fieldname                  = 'ZXXXX'
          searchhelp               = 'ZSEARCH_HELP '
          dynpnr                      = '0100'
          dynprofield                =  'MARA-ZXXXX'
    TABLES
       return_tab                = lt_returntab.
    This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
    Regards
    Deepa.

  • Material group Issue for Maintain specific EBP Purchasing org

    Hi Grus
    Can any one help me on this issue, is it possible to maintain some specific material group to one EBP purchasing org.
    your answerer will be rewarded.
    Thanks & Regards
    Sada

    Teja Provided some usfull document.
    Thanks Teja
    Sada

  • Material group issue

    Dear All,
    The requirement is for a particular material type the system should purpose the material group that belong to that material type only not all the material groups that are defined in the system.
    Example;
    Material group—V-belt, bearings, etc are meant for spare parts material type (ERSA)
    Material group- pizza, burger, etc are meant for Finished goods (FERT).
    When the user is creating a material for material type FERT, the system should purpose only material group pizza, burgers, etc not V-belt, bearing.
    And when the user is creating material for material type ERSA, the system should purpose V-Belt, bearing, etc material group not pizza, burger, etc material group.
    How this can be controlled?
    regards
    Ajay

    Hi Ajay,
    Material gropes are not belongs to particular material type. Therefore, this can't be controlled through customization.
    You can change material group from one to another at any point of time. This is relevant for logistics / purchase information system.
    Hope this information will be useful.
    Bye,
    Muralidhara

  • Issue in Material Group

    Dear All,
    Can any body suggest In my system at the time of creat PR material description showing instead of material group please let me update where the setting.
    Thanks and Regards
    Rakesh

    unanswered

  • Material - UoM Pair issue in SRM Portal - shopping cart

    Hello Experts,
    When we try to add Pair type material in shopping cart in SRM Sandbox Portal (Material no:
    11100000000111) , it is throwing error as " Incomplete items in catalog. Only complete items were transferred" in checkout screen and item is not showing in shopping cart.
    I created some test implementation on this BADI BADI bbp_catalog_Transfer, so that it will give more log on SLG1 for this issue.
    >
    > Error in SRM - SLG1 tcode log for Pair Material while adding to shopping Cart:  PR cannot be converted to PAA ; Check units with product 0000000000000000000000000011100000000111 PR PAA 000000000
    >
    > SRM config(IMG ) for unit of measure:
    >
    > For PR ISO code - Unit of measure there are 2 entries in SRM config. Already this concept is used in SRM QA.
    >
    > One entry is PR - This also has ALE/EDI - ISO Code - PR
    > another entry is PAA - This also has ALE/EDI - ISO Code - PR
    >
    > In MDM Data manager for this material 11100000000111, if i look at the catalog item table,  There are 2 fields.
    >
    > A) Unit of Measure - Value: Pair - Look up table is UoM ISO code table
    >
    > B) Order Unit - Value : Pair - Look up table is UoM ISO code table
    >
    > In MDM Data Manager in UoM ISO Code table, If i look it, there are 3 fields.
    >
    > UoM description, UoM ISO Code, UoM Commercial Unit format.
    >
    > Value: Pair - PR - PAA
    >
    > It looks like this PR - Unit of measure value (MDM) is not able to adjust or find the right unit of measure in SRM for this material while adding into shopping cart because right now there are 2 entries in SRM for this unit of measure (PR) ISO code.
    In SRM for this material - Unit of Measure (Base unit of Measure) in Product work Bench (COMMPR01 tcode) : PAA
    In purchasing view : order unit PAA (Pair)
    This is SRM-MDM Catalog integration.
    SRM 5.5 / MDM 7.1 and SRM-MDM catalog 3.0
    Thanks in advance.
    I already posted this SRM shopping cart and i just posted to get more inputs reg. this

    you have put too many details ..
    this error is simple in the fact that there are a few mandatory fields that needs to be transferred from MDM to SRM SC
    The following fields are required fields in all cases:
    u2022 Either NEW_ITEM-DESCRIPTION[n] or NEW_ITEM-MATNR[n] must be filled. Only one of the two should be filled.
    u2022 NEW_ITEM-QUANTITY[n]
    The following fields are required fields depending on conditions:
    u2022 NEW_ITEM-UNIT[n] if NEW_ITEM-MATNR[n] has not been filled
    u2022 NEW_ITEM-CURRENCY[n] if NEW_ITEM-PRICE[n] has been filled
    u2022 NEW_ITEM-EXT_SCHEMA_TYPE[n] if NEW_ITEM-EXT_CATEGORY_ID[n] or NEW_ITEM-EXT_CATEGORY[n] are used
    u2022 NEW_ITEM-EXT_QUOTE_ID[n] if NEW_ITEM-EXT_QUOTE_ITEM[n] has been used
    u2022 NEW_ITEM-CONTRACT[n] if NEW_ITEM-CONTRACT_ITEM[n] has been used
    All other fields are optional.
    check in the catalog OCI mappings if these mandatory fields are mapped.
    if they look fine : then make sure that the values in those mandatory fields are also maintained in the SRM side
    for eg : if Prod cat of R01 is maintained and sent from MDM : then the same R01 must be present in SRM
                 if UoM ISO of EA  is maintained and sent from MDM : then the same EA (not EACH) must be present in SRM
    this will solve ur issue.
    thanks
    -Adrivit

  • Relase strategy characteristic with several material groups

    Dear Experts,
    Actually I'm implementing the MM Module, 6.00 version and I have the following issue:
    I created the release strategy Purchase Order, with these characteristics:
    - Material group
    - Net total purchase order
    - Plant
    The error consists in the Material Group characteristic don't run with several Material Groups. It seems that it could be possible only with one Material Group.
    If you know how I could work the characteristics with several material groups, pleas tell me.
    Thanks in Advance,
    Adriana Corredor
    MM SAP Consultant

    Hello, Adriana,
    it isn't clear what you mean by "characteristic don't run with several Material Groups":
    - is it that you cannot enter multiple values in classification? Then check whether you chosed "Multiple Values" in "Value assignment" subscreen of characteristics maintenance, transaction CT04;
    - is it that your release strategy isn't assigned to PREQ with several items with different MATKL values? It is neccessary to realize that if you use the coverall release of PREQ (which I guess you are using), the values of items has to be "summarized" (for purpose of release strategy assignment) into structure CEBAN "Communication Release Strategy Determination: Requisition"; the release strategy classification are then evaluated against this structure; if there is any field which differs for items, it is passed to structure CEBAN as empty; so either you have to have release strategy with MATKL empty, or you can modify the CEBAN content by enhancement M06B0001 "Changes to communication structure for release of requisitions", or you can prevent creation of PREQ with certain not-allowed combination of MATKL via user-exit or badi;
    Kind Regards
    TomT

  • 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

  • Material Group to GL Assignment

    Dear Experts,
    Where can I find the Material Group assigment to GL account assignment?
    We using this mapping while creating purchase requisition, When user chose the material group, GL account appear automatically depending on this map. But we want to change the mapping.
    Thanks all in advance.
    Rg
    VK

    Hi
    As far as my knowledge goes -
    Valuation class is linked to Materials and is linked to GL accounts for various types of transactions in Materials like Upload, Receipt, Issue to production and so on.
    Material type is the highest level of definition for Basic decisions on Material accounting.
    In case you want to know the Material accounting - automatic account assignments for material transactions in FI, please see OBYC.
    It is a very vast configuration, please print the help of this OBYC from MM customising and then see the settings.
    Hope this is will of use to u.

  • Very Urgent Extn.Material Group and Material Group.

    Hi Guru's,
          I was created Generic D.S Using table (AFRU) for Orders Confirmation.I was Created Info Source AND ODS.
         I nedd to maitain ODS Extn.Material Group and Material Group.but These fields are not Avilable in Data Source (AFRU Table not having).
        Data source having Field AUFNR (order number) I was mapped To BW Object 0prodorder. I was maitained master data for 0prodorder.
      0prodorder master data (0prodorder_attr) having 0material (PLNBEZ Field mapeed to 0material) as a navigational Attribute.
    i am asking to all is it possible to bring Extn.Material Group and Material Group update rule level using master data attribute option?
    Please help to me Above issue.it's very urgent.
    Thanks & Regards,
    Guna.

    Hi Manju & Gopi,
        This Order Confirmations cube having data from 2 data sources.
        There is a performence issue to clubbing so many tables.
         Any way i was maitained 0material is attribute(Nav Attr) of 0proorder.i was loaded 0prodoreder master data.
       0material having master data .Extn mat group & Material group are Nav Attributes of 0material.
      Now is it possible to maitaining the data in cube Extn mat group & Material group ?
    Please Give me Suggestion with out adding another table using view.
    Thanks & Regards,
    Guna.

Maybe you are looking for

  • How to add URL links to list of titles from db

    I'm trying create page that has the titles of articles from a blog, and which also links back to the page where the entire article is listed. So far I have the first part done. I created a DIV and then inserted from the DATA tab of DreamWeaver - a dy

  • Authorization as per planner group

    Dear experts,                 i want to give authorization to change F loc and equipment as per planner groups..... What till now i have done I had assigned planner groups (Departments) to equipments and f.locs.....now my requirement is that only per

  • All Adobe CC Apps Crashes

    Last week I installed a cracked version of Premiere Pro CC, and it worked perfect, I loved the software so I decide to buy it, I uninstalled the cracked version and installed creative cloud with Premiere, After effects and Speedgrade. Then I restarte

  • Cannot find -lX11 and -lXext

    I'm having trouble compiling my code. See my script: 1 - export PATH=/Crossbridge/sdk/usr/bin:$PATH 2 - I surf the folder until it has with my code. I run ./configure, ok no errors! 3 run the make command and got the error: /Crossbridge/sdk/usr/bin/l

  • Need help with financial reporting

    Hi I do have trend analysis report. In that I selected the line trend for different years and the months on x-axis. Here we are doing trend anaysis for employees in different years for all months. The issue is we dont have data from current month onw