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

problem with RS_VARIANT_CONTENTS function module

Former Member
0 Likes
970

hi experts ,

my task is to create a BAPI which can provide all VARIANTS which is created by the particular USER . its completed output is coming properly.

But i was given a report name 'RVKRED02'  and my Variant name to the RS_VARIANT_CONTENTS . it is showing that some of the controlling areas and some of the credit representative groups as i provided in my VARIANT .

Here how can we know which credit representative group belongs to which credit controlling area ???

Thank you.

3 REPLIES 3
Read only

Ashg1402
Contributor
0 Likes
717

Hi,

for cross checking go through table T024B.

  I didn't get that line - ' it is showing that some of the controlling areas and some of the credit representative groups as i provided in my VARIANT . ' Can you please elaborate.

Read only

Former Member
0 Likes
717

thank you for replying.

sir for suppose my variant contains credit controlling area(KKBER)- 1000 TO 3000

And also i provided rep.groups (SBGRP) -001 , 100 for 1000 (KKBER) and 003 , 200 for 3000(KKBER) .

when execute RS_VARIANT_CONTENTS for seeing variant contents .

it is showing all are in a column.

  here how can we know the related KKBER and SBGRP .

thank you.

Read only

0 Likes
717

Hi,

When we execute the func. module , there is an output table called VALUTAB, have a look at it. there are two fields 'KKBER' i.e. credit control area and 'SBGRP' i.e. credit control group.  Its a range so we can't say which is for what.

So, best is to take the values and check the table T024B.