Thursday, 1 November 2012

VARIANTS in SAP - Part III


INTRODUCTION: In this post we will learn about the different standard SAP Function Modules which can be used in reports / programs to achieve certain requirements.


Function Module Description
RS_CREATE_VARIANT
To create variants for reports
RS_VARIANT_EXISTS To check whether a variant exists for a report
RS_VARIANT_CATALOG Returns the variant list for a report in an internal table
RS_VARIANT_FETCH To get the variant attributes of an existing variant
RS_VARIANT_COPY To copy an existing variant
RS_CHANGE_CREATED
_VARIANT
To change the contents of an existing variant
RS_VARIANT_CONTENTS To get the variant contents
RS_VARIANT_ATTR_SAVE To save the variant attributes. Helpful for dynamic variants
RS_VARIANT_VALUE_SAVE   To save the variant values.

No comments:

Post a Comment