‎2008 Mar 04 11:20 PM
Hi guys,
I need to read a variant table data seems like CU60 transaction. Is there some BAPI or Function module to do it?
<REMOVED BY MODERATOR>
Regards.
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 5:29 PM
‎2008 Mar 04 11:34 PM
I had nightmares about this some days ago:
You can use FM RS_VARIANT_CONTENTS to display ONE variant associated to a report
If you want to see the information of ALL VARIANTS associated to a report I think the only way is checking table VARID to get all the variants associated to the report and then do a loop and call RS_VARIANT_CONTENTS for each variant.
‎2008 Mar 04 11:47 PM
Thanks Ramiro but this FM reading variants from a report and I need to read a "Variant table" this is a table t with characteristics, just like CU60.
Regards.
‎2008 Mar 06 8:19 PM
I need to do the exact same thing. Did you find a BAPI or RFC to read these tables?
Thanks in advance..
‎2008 Mar 06 9:51 PM
You can use something by name Object dependencies to read from your variant tables ( CU60 ) and Read data using Vraiant functions ( CU65 , 66 , 67 ) during object assignment ( CL20N or any Transactio n which calls CL20Ndynamically ) . Call the table using an action / procedure which can be used on the dependency . the dependency is further attached to the characteristics / characteristics value or to class itself . Look into this link for more http://help.sap.com/saphelp_erp2004/helpdata/EN/92/58c5f4417011d189ec0000e81ddfac/frameset.htm
‎2008 Mar 07 4:05 PM
I think that is a little more than I need. I just need to download (through a BAPI) the complete contents of a variant table (like the output you get when using CU60) . Is this possible?
‎2008 Apr 07 10:25 PM
I got the function is
CARD_TABLE_READ_ENTRIES
but now I'm looking for updating the same table.
‎2022 Aug 15 8:25 PM
I love finding a helpful answer to a question that is 14 years old. Thought I'd comment to give this a bump to others looking for the same.