Skip to Content

OCI fields are not getting saved in EBAN table

Hi all,

I am using OCI catalog without SRM in ECC-MM. I have created web service ID and I can see catalog button in ME51N. When I select the item in Catalog and come back to ME51N screen, some fields are getting mapped automatically. Now, I want to map MFRPN and MFRNR. I have also maintained below SPRO config to map the fields,

RIHFCOM_XL-MFRPN NEW_ITEM-MANUFACTMAT

RIHFCOM_XL-MFRNR NEW_ITEM-MANUFACTCODE

These fields are not there on ME51N screen and when I save the PR, no values are coming in MFRPN and MFRNR.

Please let me know if I am missing out on something.

I have also tries using badi ME_CATALOG_INTERFACE_CUST.

Thanks,

Prajakta

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 09, 2018 at 07:13 PM

    Use the BAdI "ME_CATALOG_INTERFACE_CUST" to map your fields through Method "MAP_CATALOG_VALUES".

    A Sample within the Method "MAP_CATALOG_VALUES" could be :

    DATA:
      ls_field_map  TYPE mecat_fieldmap,
      ls_oci_item   TYPE mmpur_oci_cat_return_type.
    
    CLEAR ls_oci_item.
    ls_oci_item = ct_oci_item.
    
    CHECK ls_oci_item IS NOT INITIAL.
    
    CLEAR ls_field_map.
    ls_field_map-catalog_field = 'NEW_ITEM-MANUFACTMAT'.
    ls_field_map-item_field    = 'RIHFCOM_XL-MFRPN'.
    APPEND ls_field_map TO ct_field_map.
    
    CLEAR ls_field_map.
    ls_field_map-catalog_field = 'NEW_ITEM-MANUFACTCODE'.
    ls_field_map-item_field    = 'RIHFCOM_XL-MFRNR'.
    APPEND ls_field_map TO ct_field_map.
    
    ct_oci_item = ls_oci_item.
    


    As a reference, see SAP-KBA 2448042, that mentions only few fields are Mapped automatically, all others should be handled through Development with the BAdI.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.