Hi Experts,
We would like to run logic using ABC only when a certain condition is met. For example, perform an account
adjustment when Account X >0.
We added the following script to the script logic to execute the ABC. However, this logic is limited to MS. Is there an equivalent NetWeaver logic that does the same?
2) Instead of this logic can
you guys suggest another way to condition the ABC?
Note we used the RUN_PROGRAM CALC_ACCOUNT statement works for us without using conditions.
We are aware of the following conditional syntax but does it work with RUN_PROGRAM CALC ACCOUNT?
REC(EXPRESSION=([ACCOUNT].[116000_R],[AUDITID].[AD3100]) >0 ?
-([ACCOUNT].[216000],[AUDITID].[AD3100]):([ACCOUNT].[116000],[AUDITID].[AD3100]),ACCOUNT="216110",AUDITID="AD3055")
Script added:
*WHEN CUENTA
*IS
59IM90000
*WHEN
GET(CUENTA="59IM90000()
*IS
> 0
Initial script to execute the ABC:
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = ACTUAL
CURRENCY = LC,USD
TID_RA = %TIME_SET%
OTHER = [ENTITY = %ENTITY_SET%]
OTHER=[ENTITY=%ENTITY_SET%;INTERCO=%INTERCO_SET%;BANK=%BANK_SET%;TC=%TC_SET%;COST_CENTER=%COST_CENTER_SET%;ACTIVITY=%ACTIVITY_SET%;SUBGLOBALRGN=%SUBGLOBALRGN_SET%;ACTIVE_INGREDIEN=%ACTIVE_INGREDIEN_SET%;COUNTRY=%COUNTRY_SET%]
CALC=7_115_GREAT
*ENDRUN_PROGRAM
Thanks in advance.
Eyal Feiler