Skip to Content
avatar image
Former Member

SRM 7.0 pricing conditions mapping to the backend system

Experts,

I am new to SRM & working in SRM 7.0. I have a serious problem in distributing the pricing conditions.

I need to distribute/map the pricing conditions in SRM 7.0 to the backend ECC system. I need step by step procedure for the same. Plz help me.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jul 27, 2009 at 06:40 AM

    In continuation with the above Query.....

    I need to map the pricing conditions as mentioned below.....

    ECC Pricing conditions SRM Pricing conditions

    PB00 0100

    PBXX 01CT

    RB00 01RA

    RA01 01RP

    thanks in advance.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2009 at 11:11 AM

    Hi,

    with the help of SDN, i have done the mapping part of pricing conditions as below.

    field-symbols:

    <ls_be_item> type BBPS_CTR_ITEM,

    <ls_be_cond> type BBPBAPICONDCT,

    <ls_be_cond_bapi> type BBPBAPICONDIT.

    loop at ct_be_items assigning <ls_be_item>.

    if <ls_be_cond>-COND_TYPE = '0100'.

    <ls_be_cond>-COND_TYPE = 'PB00'.

    elseif <ls_be_cond>-COND_TYPE = '01CT'.

    <ls_be_cond>-COND_TYPE = 'PBXX'.

    elseif <ls_be_cond>-COND_TYPE = '01RA'.

    <ls_be_cond>-COND_TYPE = 'RB00'.

    elseif <ls_be_cond>-COND_TYPE = '01RP'.

    <ls_be_cond>-COND_TYPE = '01RP'.

    ENDIF.

    if <ls_be_cond_bapi>-COND_TYPE = '0100'.

    <ls_be_cond_bapi>-COND_TYPE = 'PB00'.

    elseif <ls_be_cond_bapi>-COND_TYPE = '01CT'.

    <ls_be_cond_bapi>-COND_TYPE = 'PBXX'.

    elseif <ls_be_cond_bapi>-COND_TYPE = '01RA'.

    <ls_be_cond_bapi>-COND_TYPE = 'RB00'.

    elseif <ls_be_cond_bapi>-COND_TYPE = '01RP'.

    <ls_be_cond_bapi>-COND_TYPE = '01RP'.

    ENDIF.

    endloop.

    But the problem is, when i put the external break point in the above code, its not getting triggered. Can any plz tell me how to debug the code.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2010 at 02:17 PM

    deleted as it became old.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 29, 2010 at 02:29 PM

    Hi manish

    if you are in EHP4 . you can map in the ECC SPRO node itself no BADI required for mapping conditions

    Muthu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Muthu,

      We are trying to distribute central contract from SRM 7.0 to ECC 6.0 to create a contract in ECC with PB00 condition type.

      Following config steps are mantained in ECC.

      1) Defined SRM condition type 01CT in ECC

      2) Mapped SRM condition type and ECC condition type in Assignments of conditions

      RM0000 01CT PB00

      When distributed contract in SRM a contract in ECC is created but with no item conditions. Though the Inbound IDOC COND_A is processed successfully with 53 status . Pricing procedure RM0000 is picked . After reading other responses, I added 01CT to pricing procedure RM0000 at Step 1 Counter 3 right after PB00 and PBXX. This helped to popup both PB00 and 01CT conditions at item level but system is not able to map/translate 01CT to PB00. Contract in ECC is created with 01CT condition insetad of PB00. Did anyone face this issue. Do we have to go for BADI approach instead of

      SPRO.

      Please advise!

      Thank You,

      Saritha