cancel
Showing results for 
Search instead for 
Did you mean: 

Question about dimensions

Former Member
0 Kudos
43

Hi experts,

I have a question about one script that I have. I have a script which was created in the dimension 'Y' (and belongs to this dimension) and I need to change one value's member which belongs to dimension 'X'. Is possible?

Thank you in advance,

Valdés.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you please give an example of what you are trying to do.

Former Member
0 Kudos

Hi Nilanjan,

I have a script called '2012DEC.LGF' in the dimension 'CE' in which I need to change one member's value corresponding to the dimension 'C'.

My scope corresponding to the dimension 'CE' and I want to change one member's value which corresponding to the dimension 'C'.

In short, I want to change one member's value which is not in the scope because corresponding to another dimension that I'm not using.

Former Member
0 Kudos

Hi,

I am sorry, but I am unable to understand how is a script logic related to a dimension. Script logics are not written for any dimension, rather they are application specific.

I guess you are trying to change the value for a member based on the value of another member. If that is the case, your script should look like:

*XDIM_MEMBERSET DIMNAME = ABC

*WHEN DIMNAME

*IS *

   *REC(EXPRESSION = <Formula>, DIMNAME = XYZ)

*ENDWHEN

Hope this helps.

Former Member
0 Kudos

Ups sorry, I want to say Application instead of Dimension.

Former Member
0 Kudos

Hi,

Have you considered the example, I provided in my previous post?

Former Member
0 Kudos

Yes, and is not what I'm looking for. I need to change one member which is not in the application and the dimension where is the member does not belong to that application.

To use this member I need to use lookup, but with lookup I cant change its value.

Do you understand me? Sorry for the inconvenience.

Former Member
0 Kudos

Hi,

In this case, you need to have the script in the application in which you want to change the value of the member. The logic should be in the destination (not in the source). You can call this script from the source using RUNLOGIC keyword. Please refer to the below link from help.sap:

http://help.sap.com/saphelp_bpc75/helpdata/en/a0/2f338bbdec4ba6bf9bac0ec266373b/content.htm

Hope this helps.

Former Member
0 Kudos

How i can do to call the logic only when I want? I have to filter the assets using the runlogic. How you would?

Former Member
0 Kudos

I mean, filters with the source values, not with the destination values.

former_member186498
Active Contributor
0 Kudos

Hi Valdes,

I'm not sure what you need maybe is sufficient *DESTINATION_APP

http://help.sap.com/saphelp_bpc75/helpdata/en/79/b299446e02478fa5eca684d1297ef3/content.htm

"I have to filter the assets using the runlogic" you can execute this script as a package or through the default logic using *WHEN *IS or *XDIMFILTER conditions http://help.sap.com/saphelp_bpc75/helpdata/en/cf/a9e0c8746f46f48aa02fa6ec7565a7/content.htm

Kind regards

     Roberto