cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Function with Single selection of row

Former Member
0 Kudos

I want to copy necessary Planning items in my Input ready query from period 1 to remaining periods based on variable entries. To achieve this I have created a copy planning function to copy amount entered in period 1 (variable) to range of posting period variable entries (e.g. 2 -12 or 6-12).

I have created structure for GL accounts and I want to copy from period 1 to 2 - 12 for one row at a time.

I have created WAD template, I selected in behavior section of Analysis item, single with command option and assigned Planning sequence (consisting of copy function) as command.

On execution of WAD, I select single row in my input ready query and instead of one row getting copied over to the range of posting period, all rows consisting of Planning Items with amount are getting copied over, which I am not expecting with single selection option.

How can I have only one row getting copied over?

Am I am missing something?

Your suggestions are highly appreciated.

Regards,

Sachin

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Sachin,

you can use EXEC_PLANNING_FUNCTION: this allows you to bind all characteristics to characteristics used e.g. in filters or queries or (that is what you need) to marked rows in the analysis item. In the WAD in you have to bind all characteristics used in the row of the query to the marked rows in the analysis item, for the other characteristics use a binding to the query filter.

A somewhat different technique can be found in the documentation, cf.

http://help.sap.com/saphelp_nw70/helpdata/en/45/e301089d574a88e10000000a155369/frameset.htm

To check the mapping at run time add &debug=X to the URL, then you can see mapped characteristics and values at run time.

Regards,

Gregor

Former Member
0 Kudos

Hello Gregor,

Thanks for your response. I tried what you have suggested and also followed the documentation, not sure why it is not working as expected

In my variable I have characterictis such as:

Version

Fiscal Year

Fiscal Year Variant

Profit Center

In my rows:

Planning Item

Columns:

Period

Amount

In behavior I have selected Row Selection Single. I am using Button group and assigned following:

Command: Execute a Planning Function -> In Data Binding -> Selection Binding -> Characteristic -> Planning Item -> Binding Type -> Item Characteristic -> Web Item Selection -> Item Binding -> Query (Analysis Item) -> Characteristic -> Planning item.

For Variable I have defined nothing.

Do you think my settings are correct?

Regards,

Sachin