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

Property of another dimension on Script logic SAP BPC 10.1

Hi experts,

I need to make a script logic that copies data from one model to another.

In the destination model I have the dimension "SEGMENT". In the source model I don´t have this dimension, the dimension that I have is Cost Center who has the property of Profit Center. There´s a dimension Profit Center (which I don´t use in my source model) that has the Segment property.

How can I make a Script Logic that copy the segment property of the profit center dimension to the dimension Segment of the destination Model?

For example, the cost center C8415 has the property of profit center: B14. In the Profit Center dimension, the dimension member B14 has the segment property: S300. I want in the source model that the dimension Segment reveals the S300.

SCRIPT1.png (22.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2016 at 06:26 AM

    Hello Maria,

    For copying data from one model to another you can use DESTINATION_APP script.

    Please refer the below link.

    http://sapassets.edgesuite.net/sapcom/docs/2015/08/6cdcaf53-557c-0010-82c7-eda71af511fa.pdf

    Thanks!!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2016 at 08:30 AM

    "There´s a dimension Profit Center (which I don´t use in my source model) that has the Segment property." - you can't use it to get a segment!

    In the costcenter dimension create a new property segment and fill it with the required segment. Then use this property as it's explained in the destination_app help: *DESTINATION_APP - SAP Business Planning and Consolidation, version for SAP NetWeaver - SAP Library

    "*ADD_DIM P_DATASRC=INPUT, MARKET = PRODUCT:MARKET"

    Add a comment
    10|10000 characters needed characters exceeded

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.