cancel
Showing results for 
Search instead for 
Did you mean: 

External pricing enging

Former Member
0 Kudos

Hi,

We have a requirement to determine the condition type from an external system.

We need use pricing engine for one Z-condition.

How I can use my own FM for calculating price and transfer values to condition type?

Denis.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

there is some badi which will be called in the pricing determine, you can implement them, and in the badi method, you can call your external system and get the result for return.

and badi name like CRMDXXpricingXX

Answers (1)

Answers (1)

MichaelNe
Employee
Employee
0 Kudos

Hi,

you can use the external datasource for that particular condition. IMG: Customer Relationship Management -> Basic Functions -> Pricing -> Define Settings for Pricing -> Create Condition Types. Within the definition of the condition type, you can use the field DataRecSrc values X, Y or Z for customer reserve as filter value for the external data source BADI. In addition, you do not define an access sequence for this condition type.

Depending on your SAP_AP support package you should either implement the BADI of enhancement spot PRC_DATA_SOURCES_ENHS (offers slightly better performance) or the classic BADI PRC_DATA_SOURCES. The interface for this BADI IF_PRC_DATA_SOURCES_BADI provides two methods: one to request a list of attributes that are required to get the data from your external data source with the other method.

There are a couple of standard implementations for this BADI for your reference.

Best Regards,

Michael

Former Member
0 Kudos

Hi Michael,

I have a similar situation, we are determining the condition discount % via custom table in both CRM and ECC system.

The condition type is maintianed in ECC.

In order to use the External Data Sources Badi the DataRecSrc should be set to X, however as the source of the condition record is ECC this field is non-modifiable in CRM system. Also there is no corresponding field in ECC.

Now my issue is how to set DataRecSrc to X in CRM?

Regards,

Sai

Former Member
0 Kudos

Solved by another way.

Thank yours fro ideas.