cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DM Package error

Former Member
0 Likes
195

Hi People,

I am using /CPMB/DEFAULT_FORMULAS DM package to calculate Head count/Employee salary for monthly and some other calculations using BADI and BADI is calling through Script logic and that script logic placed in Advanced logic of DM Package.

So I have total Employee salary and percentage on Dummy time ID" 2016.INP" and it will distribute values to all original base members 2016.01 , 02 etc.

When i try to execute DM package i am getting "Failed to analyze instruction /CPMB/ALLOCATION_LOGIC" error, I am not able trace what might be the problem but if i run script logic in UJKT, it is working properly as expected.

DM Package:

Error:

Script logic.

Thanks,

Vishu

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Likes

Please correct the script (copy/paste is a bad practice!):

Instead of:

/CPMB/ALLOCATION_LOGIC

Use:

/CPMB/DEFAUT_FORMULAS_LOGIC

Vadim

Answers (2)

Answers (2)

Former Member
0 Likes

Thanks Vadim for your suggestion and Thanks Jadhav.

Its working now.

Shrikant_Jadhav
Active Contributor
0 Likes

Hi Vishu,

Replace last line in advance script by

"TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,HC_ASSUMPTIONS_CAL.LGF)

Shri