Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Info Record Conditions

Former Member
0 Kudos

Hello,

Is there an FM or BAPI to chenge/crete Info Record condition value or eine-netpr?

Thanks

P.S. Is there generally a BAPI to chenge/create a condition value, say w/i sales pricing?

1 ACCEPTED SOLUTION

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Leon!

I used in earlier days call transaction for ME12 to change purchase price - (only) then we were sure, all subsequent entries were updated.

There is a list of function modules, starting with RV_CONDITION_*. They are used by VK11, but can also be used directly.

You might use IDOCs - also in INFREC01 can set 'EFFPR', but this is probably not powerfull enough (in case of purchase price) or to much overhead (for simple surcharge / discount conditions).

Alternatively you can call FM ME_DIRECT_INPUT_INFORECORD (instead of INFREC01) - have a look at FM IDOC_INPUT_INFREC for correct calling.

Also call transaction to XK15 is possible - a transaction like VK11, just popup with pricing levels is solved in a different way.

In Retail BAPI_RPC_CALCULATE_PRICES can be used for sales prices.

Regards,

Christian

5 REPLIES 5

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Leon!

I used in earlier days call transaction for ME12 to change purchase price - (only) then we were sure, all subsequent entries were updated.

There is a list of function modules, starting with RV_CONDITION_*. They are used by VK11, but can also be used directly.

You might use IDOCs - also in INFREC01 can set 'EFFPR', but this is probably not powerfull enough (in case of purchase price) or to much overhead (for simple surcharge / discount conditions).

Alternatively you can call FM ME_DIRECT_INPUT_INFORECORD (instead of INFREC01) - have a look at FM IDOC_INPUT_INFREC for correct calling.

Also call transaction to XK15 is possible - a transaction like VK11, just popup with pricing levels is solved in a different way.

In Retail BAPI_RPC_CALCULATE_PRICES can be used for sales prices.

Regards,

Christian

former_member214131
Active Contributor
0 Kudos

Hello,

Please have a look at IDoc COND_A/COND_A02. I have used this IDoc type to create/change conditions for an InfoRecord in LSMW.

Hope this helps you.

Regards, Murugesh AS

johan_geraedts
Explorer
0 Kudos

Hi Leon,

Maybe you can use BAPI_PRICES_CONDITIONS or CND_PRICES_CALL_BAPI.

Good luck,

JG

Former Member
0 Kudos

Folks,

I am still having greate difficulty calling these update FM's. can anyone provide a snippet of code to assist

Thanks

T

WenjingLiu
Participant
0 Kudos

Hi,

I found that function modules RV_CONDITION_* can only be used to maintain sales price conditions, because in many place KAPPL (Application Type) = 'V' (Sales) is hard coded. Please correct me if I am wrong about it. Thanks!

Regards,

Arwen