cancel
Showing results for 
Search instead for 
Did you mean: 

Variant contents of /SAPAPO/RTSCOPY for subscreens

Former Member
0 Kudos

Hello Users,

I am facing an issue with FM 'RS_CHANGE_CREATED_VARIANT'.

I am building a custom program to update variants for program /SAPAPO/RTSCOPY.

While doing so I am successfull in updating the required values, but this FM clears of the values from the Source and Target Key Figures in the Key Figure Assignment tab.

I believe this is because the Source and Target KF's are in a subscreen, hence the FM is unable to handle the records.

I used FM RS_VARIANT_CONTENTS to get the contents of the Variant but it doesnt show any fields or values from the subscreen for KFs.

Can anyone suggest ways of updating the source and Target KF's back into the variant or suggest an FM which willl not clear those values?

Thanks,

Shweta

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Saurabh,

I get the values in format X098KF45667>KF123456 in P_KFMAP.

But i wanted to update these values in the subscreen where the SOurce and Target KF are displayed.

Now i am faving another issue with the FM 'RS_CHANGE_CREATED_VARIANT' , since the RSPARAMS restricts the low field to 45 chars, I m unable to get the complete value of Forcast Unit from the selection conditions.

The last few characters get truncated.

Does anyone have a solution for this?

Former Member
0 Kudos

Hi Shweta,

In P_KFMAP parameter you will get the value of Keyfigure in internal format.please check and let me know if you find it or not..

Regards,
Saurabh