cancel
Showing results for 
Search instead for 
Did you mean: 

how to apply a logic script to the whole data region?

Former Member
0 Kudos

Hi everybody,

Could anybody tell me how to execute a logic script which I need to apply to the whole data region? I usually use the default logic which is applied any time that an input data is written. However, i do not know how to apply a script logic to the data which is already uploaded to the server.

Any help will be really appreciated,

Antonio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Antonio,

You can do it by calling the logic by DM package (Batch Processing):

Steps:

Create Data Manager Package using an existing Process Chain/ (or create new process chain) and call the logic.

Document for your reference:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d01ce779-f1b2-2b10-07ba-da3734013...

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In addition to above recommendation, refer to the document given below on script logic.

For your scenario on Script Logic Scoping refer Page 8.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e025fa8d-1c22-2e10-cd9f-c488c7eea...

Thanks

Former Member
0 Kudos

Hi,

The scope of the script logic is determined by the XDIM statements. So, if you have something like

*XDIM_MEMBERSET ACCOUNT = <ALL>

This means that the logic will be applied to all the account members.

Alternately, you can have the XDIM as

*XDIM_MEMBERSET ACCOUNT = %ACCOUNT_SET%

And in the the DM package, you can select all the account dimension members.

Hope this helps.

former_member200327
Active Contributor
0 Kudos

Hi Antinio,

In addition to what Nilanjan said please put *WHEN_REF_DATA = MASTER DATA if you use WHEN/REC/ENDWHEN statements. In that case script will use all members in scope defined by *XDIM statements rather than only members used in Application records.

Gersh