‎2005 Oct 13 4:22 PM
Hello all,
I am trying to use this FM - RV_CONDITION_COPY to create pricing conditions,So far not getting any success. I am sure some one out there has done this before , I would appreciate If anyone of you can show , which parameters are passed to create them.
Thanks in advance
‎2005 Oct 13 4:25 PM
You might try doing a where-used on the function module and check out the programs that use it. It could help you along.
Here is the list I got from my system.
FM06IFPS_MARKTPREIS
LMLSPF5V
LMLSPF5X
LPREF_KMATF01
LPREF_KMATU04
LVKOIF01
LWVK1FAN
LWVKCF0R
MF82TF00
MM06EFSK_CALL_CONDITION_COPY
MM06EFSK_CALL_CONDITION_COPY_N
MM06IFKO_CALL_CONDITION_COPY
RMLEF000
RMPREF30
RMPREF30WG
WV01CF00
Regards,
Rich Heilman
‎2005 Oct 13 4:33 PM
Hi,
Thanks for reply.
Yes I went thru these programs, but it is quite complex to find out this info in std programs.
want to know if someone has used this FM in his/her own programs , so I do not need to re-invent the wheel.:)
Thanks again.
‎2005 Oct 13 4:38 PM
Have a look at the IDOC function module IDOC_INPUT_COND_A that creates condition records and uses your RV_CONDITION_COPY. It is easy to follow. Look in the PERFORM IDOC_IN_DATENBANK...
Srinivas
‎2005 Oct 13 4:47 PM
Hi Srinivas,
I can see in this FM ,
LOOP AT t_konp WHERE knumh = t_konh-knumh.
But my idea is that , it does not get KNUMH unless the condition record is created .
am I missing the point somewhere ???
Thanks,
‎2005 Oct 13 4:56 PM
You are correct. But you should also understand that this is used for both updates and creates. So you will see the KNUMH there. For a create, you can leave it blank and fill only those fields that you have values for.
Srinivas
‎2005 Oct 13 5:05 PM
OK, But when I am testing thru SE37 , will I get any result of being successful or not ?
I know it will not be commited to database , unless I use test program.
Thanks again.
‎2005 Oct 13 5:11 PM
‎2005 Oct 13 5:12 PM
In the function module export parameters, there is a parameter NEW_RECORD. That should tell you if it is created or not. But I don't know if there is simulation version of this.
‎2005 Oct 13 6:08 PM
Hi,
which structure-field do we pass the rate (KBETR) in this FM ?
‎2005 Oct 14 1:32 PM
Hi,
Can anyone post some sample code for calling this FM .
My prob is there are mnumber of Import parameters , which are actually required to create a pricing condition ?
sample code will be appreciated.
Thanks,
‎2006 Jun 26 1:22 PM
Hai all,
I want to create different Base prices ( condition type PB00 ) for a particular VENDOR/MATERIAL/PURCH.ORGANI/INFOTYP/PLANT/VALUTION TYPE.
T.code is MEK1.
My client was suggesting to use this RV_CONDITION_COPY function module.
Can any body tell what are the mandatory parameters to pass this function module.
Regards,
basha