cancel
Showing results for 
Search instead for 
Did you mean: 

Ho To take selection from copy package to script logic

0 Kudos

Hi Experts,

I stuck with one requirement.


1)User wants to give FROM and TO selection from Data manager Prompt screen and have to do some calculation over it.

2) He wants to select Parent member and by default all base member under will be selected in prompt screen. As user don't wants to select one by one which is time consuming.

Example :

He will select Parent member of Profit center and all base level member will get selected in From Tab and will be copying to one specific Profit center.

I tried in Copy package and First point I get but failed in Second point where we cannot copy many to 1 ID. Its throw error From and where count must be same.

So is there any way we can use %SELECTION% and %TO SELECTION% in script logic?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Vadim,

Thanks !!

It will be great help if you can give an example ..how I can take %SELECTION% values and %TO SELECTION% in Script.

former_member186338
Active Contributor
0 Kudos

Use script logic to copy!

Pass target as a separate variable $TARGET$

For the rest - provide full details

P.S. Look on help for COPYMOVE prompt:

https://help.sap.com/viewer/ec68e48b18a44a49abb12b8ee8ae306f/10.0.33/en-US/f9c3e9086faf1014878bae8cb...

Pass %TOSELECTION% using MEMBERSELECTION TASK

0 Kudos

Hi Experts,

Sorry I can meet with point 2 and need to figure out point 1 ...wrongly typed in Question