cancel
Showing results for 
Search instead for 
Did you mean: 

*NAME error in runallocation

Former Member
0 Kudos

Hello, I am using BPC MS 7.5, when I try to validate a script logic with allocation it gives me an error. Specifically these two things-

*NAME=Profit_reverse

*APP WHAT=revenuerptg; WHERE=revenuerptg; USING=finplanning

Revenuerptg and finplanning are valid application names. Why are these two statements not validating syntaxwise?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please share the entire allocation logic and please share the validation message as well.

Former Member
0 Kudos

Here is the message I get when I try to validate:

Application: Reporting

Logic file: Rptlgc.LGF

Validation status of executable file: Success

Validation status of syntax: Failed

- Invalid syntax found; see statements in red

__________________________________

Here is the allocation portion:

*RUNALLOCATION

*FACTOR=USING

*NAME=PC_PMC2

*APP WHAT=REPORTING; WHERE=REPORTING; USING=PLANNING

*DIM ACCOUNT WHAT=[ALLOCACCT]="Y"; WHERE=<<<; USING=<<<

*DIM DATASRC WHAT=BAS(SYSTEM),OTHERADJ,TRADERECLASS,CORP_CJE,VERTICAL_CJE; WHERE=PLANALLOC_P0C2; USING=ALLOCPCT

*DIM RPTCURRENCY WHAT=USD,LC; WHERE=<<<; USING=NA

*DIM DESTINATION WHAT=BAS(DC_WW1); WHERE=<<<; USING=<<<

*DIM PROFITCENTER WHAT=PC_P0C2; WHERE=[ALLOCTARGET]="Y"; USING=<<<

*DIM INTCO WHAT=BAS(All_Interco_Trade); WHERE=<<<; USING=IA_PC_P0C2

*DIM COMPANY WHAT=BAS(CO_WW1); WHERE=<<<; USING=CO_NOCOMPANY

*DIM CATEGORY WHAT=TMP_ACTUAL; WHERE=<<<; USING=ACTUAL

*ENDALLOCATION

Former Member
0 Kudos

Hi,

Do you have these dimensions in both Planning and reporting applications?

Former Member
0 Kudos

Yes, both these applications have same exact dimensions.

Former Member
0 Kudos

Hi,

Can you just try

*RUNALLOCATION
*FACTOR=USING
*NAME=PC_PMC2
*APP WHAT=REPORTING; WHERE=REPORTING; USING=PLANNING
*ENDALLOCATION

Does it validate successfully?

Former Member
0 Kudos

Name and App lines are still red, giving error just like last time....:(

Former Member
0 Kudos

Hi,

I am having a doubt whether these statements are available any longer or not.

Former Member
0 Kudos

You are right nilanjan, I copied and pasted the code in MS 5.1 and it works just fine. what is your recommendation? is it possible to apply some patch or will we just ahve to change script logic?

Former Member
0 Kudos

Hi,

I am not sure about this and I have not come across any documents also saying that its no longer supported. May be some other expert can confirm this. If confirmed, then definitely the script logic needs to be changed.

Former Member
0 Kudos

Nilanjan,I have found out from other sources that this is because the MS 7.5 Syntax checker is very buggy and I quote " the person who created this should be fired"...lol.

Answers (0)