Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

SAP BPC 10 NW - Script Logic

$
0
0

Hi,

 

As I am very new to script Logic I have 1 basic requirement as below.

I need to add 2 Accounts keeping in mind that their Entity & IC are different.

 

Below is the data.

 

GLCo codeICValue
1040000110001050100
1040000210501000-96

 

I wrote code as below

 

*XDIM_MEMBERSET C_ENTITY = 1000,1050

*XDIM_MEMBERSET C_INTERCO = 001000,001050

*XDIM_MEMBERSET AUDITTRAIL = Input

*XDIM_MEMBERSET TIME = 2014.12

*XDIM_MEMBERSET RPTCURRENCY = INR

 

 

*WHEN ACCOUNT

*IS 10400001,10400002

*REC(EXPRESSION=%VALUE%,ACCOUNT=ICDIFF,C_ENTITY=1000,C_INTERCO=001050)

*ENDWHEN

 

*COMMIT

 

The above code gives the result as 4 in ICDIFF which is perfect.

 

 

But I need write some condition that if 10400001 value > 10400002 value * -1 then only perform the above calculation

 

How can I achieve this?

 

Regards,

Ravi


Viewing all articles
Browse latest Browse all 5414

Trending Articles