‎2012 Jun 18 8:18 AM
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.
‎2012 Jun 18 8:44 AM
Hi Ravindra,
Have you tried RFC /ASU/RS_VARIANT_DISPLAY ?
Hope its useful.
Regards,
Rajesh
‎2012 Jun 18 10:48 AM
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
‎2012 Jun 18 12:01 PM
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
‎2012 Jun 18 9:52 AM
Hi Ravindra,
You can do a RFC_READ_TABLE on tables VARID and VARIT, and check the values returned.
Thanks,
Shambu
‎2012 Jun 18 9:59 AM
Hi Ravindra,
Are you asking about sales order material variants.
Regards,
Madhu.
‎2012 Jun 18 10:41 AM
Sorry Madhu, I am not at all asking about Material Variants. Its all about the SE38 Program variants (Called selection set sometimes)
‎2012 Jun 18 10:57 AM
‎2012 Jun 18 11:33 AM
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
‎2012 Jun 18 12:48 PM
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