Skip to Content
author's profile photo Former Member
Former Member

Copy Function with Single selection of row

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 09, 2008 at 03:15 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.