Application Development and Automation 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: 
Read only

RV_CONDITION_COPY

Former Member
0 Likes
1,931

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

11 REPLIES 11
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,599

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

Read only

0 Likes
1,599

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.

Read only

Former Member
0 Likes
1,599

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

Read only

0 Likes
1,599

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,

Read only

0 Likes
1,599

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

Read only

0 Likes
1,599

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.

Read only

0 Likes
1,599

do you have some sample code ?

Thanks much

Read only

0 Likes
1,599

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.

Read only

0 Likes
1,599

Hi,

which structure-field do we pass the rate (KBETR) in this FM ?

Read only

0 Likes
1,599

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,

Read only

Former Member
0 Likes
1,599

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