05-19-2005 11:34 PM
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?
05-20-2005 6:47 AM
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
05-20-2005 6:47 AM
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
05-20-2005 9:02 AM
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
05-20-2005 1:00 PM
Hi Leon,
Maybe you can use BAPI_PRICES_CONDITIONS or CND_PRICES_CALL_BAPI.
Good luck,
JG
10-05-2007 10:21 AM
Folks,
I am still having greate difficulty calling these update FM's. can anyone provide a snippet of code to assist
Thanks
T
10-19-2012 8:10 AM
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