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

Need RFC Function Module for Variant Comparison

former_member214878
Active Participant
0 Likes
2,033

Hello All,

I was searching for a RFC enabled function module which could fetch the variant Information from other systems, so that I could compare the Changed Variants from two different systems (ECC and 4.6 ) for the same program.

After lot of searching I could not get any RFC enabled FM, however I got one which is normal FM (RS_VARIANT_INFO).

So I was thinking to create one "Z" RFC enabled FM as a Wrapper for Normal FM, and then call "RS_VARIANT_INFO" inside it. But somehow I am not still convinced with it. 

Can anyone please guide me if you know anything about it.

Thanking you in advance.

Regards,

Ravindra Sonar.  

9 REPLIES 9
Read only

Former Member
0 Likes
1,595

Hi Ravindra,

Have you tried RFC /ASU/RS_VARIANT_DISPLAY ?

Hope its useful.

Regards,

Rajesh

Read only

0 Likes
1,595

Hello Rajesh,

Its almost the same I searched a while ago, sorry I forgot to mention in the question is -

I wanted such a RFC enabled FM which may filter records on - Variant Range, Last Changed User, Changed By, Changed On Date etc. e.g (RS_VARIANT_INFO)

I tried the FM which u have suggested "/ASU/RS_VARIANT_DISPLAY" but what I need the most is Variant Range should be there and few filter Criterion should be there as like RS_VARIANT_INFO.

Hope this makes me clearer now.

by the way thanks for sending reply

thanks and Regards,

Ravindra Sonar

Read only

0 Likes
1,595

Sorry Ravindra. I could not find any such RFC which fits in your requirement.

I guess you have to create a Z RFC to call function module RS_VARIANT_INFO.

Regards,

Rajesh

Read only

Former Member
0 Likes
1,595

Hi Ravindra,

You can do a RFC_READ_TABLE on tables VARID and VARIT, and check the values returned.

Thanks,

Shambu

Read only

madhu_vadlamani
Active Contributor
0 Likes
1,595

Hi Ravindra,

Are you asking about sales order material variants.

Regards,

Madhu.

Read only

0 Likes
1,595

Sorry Madhu, I am not at all asking about Material Variants. Its all about the SE38 Program variants (Called selection set sometimes)

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,595

Wrapping RS_VARIANT_INFO in a customer RFC enabled FM you will be able to check some data like user who created/changed, date/time. If you want more information like selection criteria use a FM like RS_VARIANT_VALUES_TECH_DATA.

Regards,

Raymond

Read only

0 Likes
1,595

Thanks Raymond, as usual your answere was "TO THE POINT".... However I am not really looking after any normal function module which could give me better handle over Variant information, rather I am searching for RFC enabled one.

I think its enough searching now there is no RFC enabled FM which is taking Variant information from another system .......... I need to go with RFC wrapper custom FM. 

anyway again, if anyone find something related to it ... please do share

Read only

0 Likes
1,595

I agree, we get some FM to change/create variant thru RFC, but, surprisingly, none to read those, so I looked at function group SVAR_RFC, where there are FM wrapper like RS_CHANGE_CREATED_VARIANT_RFC for RS_CHANGE_CREATED_VARIANT, RS_CREATE_VARIANT_RFC for RS_CREATE_VARIANT...

And all what I found was RS_VARIANT_CONTENTS_RFC wrapper of RS_VARIANT_CONTENTS which can be used to return the list of parameters and selection values, but not userid/time stamp, but which may interest you.

Regards;

Raymond