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

Fetch Variant Contents using Function RS_VARIANT_CONTENTS

Former Member
0 Likes
1,473

Hi everyone,

I am using RS_VARIANT_CONTENTS to view Variant Contents.

My variant combination is like this:

KKBER - Credit control Area

SBGRP - Credit Rep. Group

3000

ALT

MAB

JJF

1000

001

002

By seeing the below screen, how can I find this combination.           

Is there any function module or a class displaying details like below.

KKBER - Credit control Area

SBGRP - Credit Rep. Group

3000

ALT

3000

MAB

3000

JJF

1000

001

1000

002

Thank you.

Ravinder.

Hi everyone,

I am using RS_VARIANT_CONTENTS to view Variant Contents.

My variant combination is like this:

KKBER - Credit control Area

SBGRP - Credit Rep. Group

3000

ALT

MAB

JJF

1000

001

002

By seeing the below screen, how can I find this combination.           

Is there any function module or a class displaying details like below.

KKBER - Credit control Area

SBGRP - Credit Rep. Group

3000

ALT

3000

MAB

3000

JJF

1000

001

1000

002

Thank you.

Ravinder.

3 REPLIES 3
Read only

Juwin
Active Contributor
0 Likes
1,087

Do you have 2 different variants, for 2 different combinations?

Thanks,

Juwin

Read only

Former Member
0 Likes
1,087

Hi Thomas,

No. That output is for only one variant.

Single variant with 2 credit control areas. 5 Credit Rep. groups.

Thank you.

Read only

Juwin
Active Contributor
0 Likes
1,087

In a variant, there is no way to maintain such relation. Such a relation only exists in your configuration tables. These are 2 independent select-options on the screen and SAP cannot read them for contents and link them. You will have to build the relationship yourself in your program.

Thanks,

Juwin