cancel
Showing results for 
Search instead for 
Did you mean: 

Price Condition in RFX/RFX Response

thomas_mueller8
Participant
0 Kudos

Hello,

I'm working on the SRM702 System (Classic Scenario) + NWBC and I want to have to own condition types in the RFX / RFX Response. So I created them in customizing:

SRM Server / Cross-Application Basic Settings / Pricing

-> Process Condition Types

-> Process Calculation Schema

-> Process Condition Groups

Creating the new conditions and assigning them to the Standard pricing Schema '0100' in SRM wasn't a Problem. However they don't Show up during RFX or RFX Response creation.What might be the reason for this?

Trying to assign the conditions to a condition Group didn't work, because I couldn't enter them in the maintenance view because I had only the condition table SAP019 available. This condition table SAP019 allows only the condition types: 01AG, 01RH

What has to be done, to create an own condition table? The only possible place I saw was in the branch 'Transaction Tax Engine / Condition Technique'.

Who has created and set up customer defined conditions in SRM and can help me?

Kind regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

S0009169378
Explorer
0 Kudos

Hi Thomas,

please delete your custom conditions in the process condition groups (01QU, 01HQ and 0100).

Close customizing and open again.

Now first select the condition type from search help with "BBP    PR    SAP016    ".

If there is no such entry check your settings in "Process Condition Types" again.

That worked for us. Sometimes you have to do this multiple times until everything is stored correctly on the database.

regards

Marc

aromalr
Active Participant
0 Kudos

Hi,

One method to use a custom code in BBP_DOC_CHANGE_BADI, method  BBP_QUOT_CHANGE .

Sample Code.

  CALL FUNCTION 'BBP_PD_BID_GETDETAIL'

    EXPORTING

      i_guid   = is_header-guid

    IMPORTING

      e_header = e_header.

  SELECT SINGLE guid_set FROM crmd_link INTO lv_guid_set

           WHERE guid_hi = is_header-guid

             AND objtype_hi = '05'

             AND objtype_set = '07'.

  IF sy-subrc = 0.

    CLEAR wa_partner.

    READ TABLE it_partner INTO wa_partner WITH KEY partner_fct = '00000018'.

    IF sy-subrc = 0.

      SELECT SINGLE addr_nr FROM crmd_partner INTO lv_addr_nr WHERE guid = lv_guid_set

                                                AND partner_no = wa_partner-partner_no.

      IF sy-subrc = 0.

    

* Get the Condition types.

          SELECT kschl krech FROM prcc_cond_ct

                                    INTO TABLE it_cond

                                    WHERE kappl = 'BBP'

                                      kgrpe = 'X' . " Add any specific if you haveanything.

     iv_company_code = e_header-co_code.

LOOP AT it_item INTO wa_item.

CLEAR lv_id.

READ TABLE it_cond INTO wa_cond WITH KEY kschl = 'R002'.

***************************************************************************

wa_conditions-cond_type = wa_cond-kschl.

  wa_conditions-p_guid = wa_item-guid.

  IF wa_cond-krech = 'A'.

    wa_conditions-cond_curr = '%'.

  ELSE.

    wa_conditions-cond_curr = is_header-currency.

  ENDIF.

  wa_conditions-date_from = sy-datum.

  wa_conditions-date_to = '99991231'.

  wa_conditions-time_to = '235959'.

   wa_conditions-cond_tab = 'SAP016'.

  lv_id = lv_id + 1.

  wa_conditions-cond_group_id = lv_id.

  APPEND wa_conditions  TO ct_conditions.

***************************************************************************

* Like this add other.

endif

endif.

endif.

endloop.


Regards

Aromal R

thomas_mueller8
Participant
0 Kudos

Hello Aromal,

thank you for this example. But my point is not having this coded somewhere in a BADI but beeing able to select it when you create and RFX or give and RFX Response.

So my question is, what and where do I have to make the relevant Settings in customizing.

Kind regards,

Thomas