Logic Script Error - 42
Hello Friends,
I am facing the logic script error when validating the script. "the script is apparently invalid, as you cannot have member "". The logic is run for grouped cost center.
Logic Script:
//***********************START OF HEADER*****************
//SUB QUERY:
//PURPOSE: Copy high Level forecast data from Actuals, Budget, commitments to base level cost centres defined for forecat
//CALLED FROM: Data Manager Package
//WHO: Matt Penston (itelligence)
//VERSION: 1
//DATE: 26-11-2012
//CHANGE LOG:
//***********************END OF HEADER********************
//********************** Need to first of all clear down the BW data in the base member costcentres ***************
// Set XDIM_MEMBERSET
*XDIM_MEMBERSET CATEGORY = Actual,Budget,COMMITMENTS
*XDIM_MEMBERSET AUDITTRAIL = BW
*XDIM_MEMBERSET ACCOUNT = <ALL>
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET ACCDETAIL = F_None
//Select Current Month Time Member to copy from
//*SELECT(%TIME_CURRMTH_FYA%,"[ID]","TIME","[FCST_PROFILES] = 'A'")
//*XDIM_MEMBERSET TIME = %TIME_CURRMTH_FYA%
*XDIM_MEMBERSET TIME = BAS(201314.TOTAL)//CHANGE ONCE PER YEAR
//Select CostCentres for high level Forecast entry
//*SELECT(%HL_FCST_ENT%,"[ID]",COSTCENTRE,"[HL_FCST_ENT] = 'Y'")
// Use For Loop to run through the Cost Centres
//*FOR %HL_FCST_FOR% = %COSTCENTRE_SET%
*XDIM_MEMBERSET COSTCENTRE = BAS(%COSTCENTRE_SET%)
//*SELECT(%HL_FCST_BASE%, "[ID]", COSTCENTRE, "[HL_FCST_PRNT] = %COSTCENTRE_SET%")
*SELECT(%HL_FCST_BASE%, "[HL_FCST_BM]", COSTCENTRE, "[ID]= %COSTCENTRE_SET%")
// Set the Ref Data to Transaction, is the default but defined anyway.
*WHEN_REF_DATA=TRANSACTION_DATA
*WHEN CATEGORY
*IS *
*REC(FACTOR=-1, AUDITTRAIL = BW_HL, COSTCENTRE = %HL_FCST_BASE%)
*REC(FACTOR=1, AUDITTRAIL = BW, COSTCENTRE = %HL_FCST_BASE%)
*ENDWHEN
//*NEXT
*COMMIT
The Error Came once validate above script:
Can anyone please guide the same.
Regards,
Dev.
Hello Vadim,
As you guided above mail yes, I have put the Data Region: "COSTCENTRE=YPROG" and the below script is copied in Script File Location:
*XDIM_MEMBERSET CATEGORY = Actual,Budget,COMMITMENTS
*XDIM_MEMBERSET AUDITTRAIL = BW
*XDIM_MEMBERSET ACCOUNT = <ALL>
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET ACCDETAIL = F_None
//Select Current Month Time Member to copy from
*XDIM_MEMBERSET TIME = BAS(201314.TOTAL)//CHANGE ONCE PER YEAR
*XDIM_MEMBERSET COSTCENTRE = BAS(%COSTCENTRE_SET%)
*SELECT(%HL_FCST_BASE%, "[HL_FCST_BM]", COSTCENTRE, "[ID]= %COSTCENTRE_SET%")
// Set the Ref Data to Transaction, is the default but defined anyway.
*WHEN_REF_DATA=TRANSACTION_DATA
*WHEN CATEGORY
*IS *
*REC(FACTOR=-1, AUDITTRAIL = BW_HL, COSTCENTRE = %HL_FCST_BASE%)
*REC(FACTOR=1, AUDITTRAIL = BW, COSTCENTRE = %HL_FCST_BASE%)
*ENDWHEN
//*NEXT
*COMMIT
and the Log is given : UJK_VALIDATION_EXCEPTION:Member "" not exist
Please let me know were is the problem.
My findings:
After checking the Category Dimension come to know that the member dimension is maintained with 201213.TOTAL and in script logic we are using the 201314.TOTAL.
Can you please let me know what is the issue in the script logic.
Regards,
Rajesh. K
Similar Messages
-
Error while saving logic script
Hello Everybody,
From this morning we are having this message:
Unhandled Error (HTTP Status:500): unmarshal.invalid.xml
While trying to saving logic scripts.
Anyone know the solution?
Have tried the sap notes in the other threads but they don't seem to work.
Got BPC 10 and installed recently the SP5
thanks for helpWe have gone through the below SAP notes already but no luck!
http://service.sap.com/sap/support/notes/1693703
http://service.sap.com/sap/support/notes/1649819
-Srujana -
Passing variables from DM to logic script problem (REPLACEPARAM)
Dear All,
I would like to send variables from data manager to a logic script. The script copies values from an account to an other. If I hardcode two accounts in the script, it works fine, but I want to pass these two accounts dynamically from data manager to the script.
My advanced script in DM looks as follows:
PROMPT(SELECTINPUT,%ENTITY_M%,,"Select entity:","ENTITY_DIM")
PROMPT(SELECTINPUT,%SOURCE%,,"Select source account:","ACCOUNT_DIM")
PROMPT(SELECTINPUT,%TARGET%,,"Select target account:","ACCOUNT_DIM")
INFO(%EQU%,=)
INFO(%TAB%,;)
TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
TASK(PROCESS_CHAIN_RUNL,SELECTION,%ENTITY_M%)
TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF)
TASK(PROCESS_CHAIN_RUNL,MEMBERSELECTION,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
In the logic script, I'm using $SOURCE$ and $TARGET$ as variables, but it seems that only the first of them gets the value from DM, the other one not, and I always get an error message:
Member "$TARGET$" not exist
The second variable doesn't seem to get the value. If I use only one variable, either SOURCE or TARGET, it works fine...
...and I also tried to replace the MEMBERSELECTION statement with a REPLACEPARAM statement:
TASK(PROCESS_CHAIN_RUNL,REPLACEPARAM,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
This way I got an other error message, saying: "Member .../PrivatePublications/user not exist"
Do you have any idea? How to pass two user selected parameters to a logic script?
Thanks for your help,
A.Hi CsernusAttila
You cannot use ACCOUNT_DIM with promp SELECT and variable $SOURCE$ because it only works with variable ACCOUNT_SET in your script logic.
instead of you can use TEXT
PROMPT(TEXT,%,ENTITY_M%%,"Select Entity",)
PROMPT(TEXT,%,SOURCE%%,"Select Source",)
PROMPT(TEXT,%,TARGET%%,"Select Target",)
INFO(%EQU%,=)
INFO(%TAB%,;)
TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
TASK(PROCESS_CHAIN_RUNL,SELECTION,%SELECTION%)
TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF)
TASK(PROCESS_CHAIN_RUNL,REPLACEPARAM,SOURCE%EQU%%SOURCE%%TAB% TARGET%EQU%%TARGET%)
or you can modify your script like this
*XDIM_MEMBERSET ACCOUNT=%ACCOUNT_SET%
*XDIM_MEMBERSET ENTITY=%ENTITY_SET%
And your Prompt like this
PROMPT(SELECTINPUT,,,,"%ACCOUNT_DIM%,%ENTITY_DIM%,")
TASK(PROCESS_CHAIN_RUNL,TAB,%TAB%)
TASK(PROCESS_CHAIN_RUNL,EQU,%EQU%)
TASK(PROCESS_CHAIN_RUNL,SUSER,%USER%)
TASK(PROCESS_CHAIN_RUNL,SAPPSET,%APPSET%)
TASK(PROCESS_CHAIN_RUNL,SAPP,%APP%)
TASK(PROCESS_CHAIN_RUNL,SELECTION,%SELECTION%)
TASK(PROCESS_CHAIN_RUNL,LOGICFILENAME,ACCOUNT_COPY_LOGIC.LGF
I hope it helps
Regards!! -
FDM Conditional Map Script Error
Hi all,
we trying importing data from EBS to HFM though ERPI by using FDM.
We used conditional based scripts to importing data from ebs to FDM.
this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
can anyone help me on this:
this is error :
** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
ERROR:
Code............................................. 1014
Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
Script:
If varValues(14)="113401" Then Result="21_ADNIP"
Else Result="[ICP NONE]"
End if
Rule=I1
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 13888
IDENTIFICATION:
User............................................. admin
Computer Name.................................... ADNIPHYPUAT01
App Name......................................... FDMHFM
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPUAT
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... HFMGLLOAD
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... May - 2011
Period ID........................................ 5/31/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
Thanks.
SriniHi, please try the mapping script again having the "Result=" statement on a separate line, like:
If varValues(14)="113401" Then
Result="21_ADNIP"
Else
Result="[ICP NONE]"
End if
Kind regards,
Jeroen -
Hi all,
I am facing error with the script logic
Script Logic
*XDIM_MEMBERSET P_ACCT=EXTSALES,ICSALES
*WHEN P_ACCT
*IS ICSALES,EXTSALES
*REC(P_ACCT="TOTVAL")
*REC(FACTOR=.08,P_ACCT="SALAFTERTAX")
*ENDWHEN
*COMMIT
Error Message
LOG BEGIN TIME:2010-04-16 15:59:39
FILE:\ROOT\WEBFOLDERS\Student_DD \ADMINAPP\Sales\TEST.LGF
USER:MICAIT\DEVANG
APPSET:Student_DD
APPLICATION:Sales
*REC(P_ACCT="TOTVAL")
ERROR LOG:
CLASS: CL_UJK_WHEN_ENDWHEN
METHOD: ADD_LINE
TCODE: SE38
MULTI MEMBERS HAVE BEEN SPECIFIED ON DIMENSION:"P_ACCT" IN *IS SO DUPLICATE MEMBERS MAY BE GENERATED.
LOG END TIME:2010-04-16 15:59:39
UJK_VALIDATION_EXCEPTION:LINE:4 multi-member specified for dimension "4" in *IS
Thanks,
DikshaHi,
If you are in SP02, Go through this SAP Note [Note 1312132 - BPC7NW SCRIPT LOGIC: REC Behavior Fix|https://service.sap.com/sap/support/notes/1312132] that helps you in fixing this issue.
Reply me for further clarifications.
Regards,
RajK -
IE Script error when double clicking on a view in Abap Webdynpro component
Hello experts,
I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
<b>Internet Explorer Script Error</b>
An error has occured in the script on this page.
Line: 1
Char: 1
Error: 'wdp_show_menu' is undefined
Code: 0
URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
Do you want to continue running scripts on this page?
Thanks in advance.
BhupendraHi Bhupendra,
If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
Thanks
Anzy -
On my MacBook Pro running OS 10.5.8 and Firefox 3.6.13, I am trying to save documents as pdfs under the print window, I get a scripting error and Firefox usually freezes/becomes nonresponsive. This happens every time I tried to perform this task.
This is a fresh install of Windows 7. It is installed on virtual environment on my mac mini using the parallels virtualization application.
I purchased the windows version of dream weaver CS 6 through an online website which I tried to install to my new windows instance. This is the academic version of the Dreamweaver application with a perpetual license that I am trying to install.
I verified my eligibility through adobe which gave me a link to download the CreateiveCloud Set-up program. I downloaded the install program in my windows environment and program and the gave the above error message. Below is a copy of my computers specs. -
I am getting a "script error" when I close out the internet, specifically Firefox. My backup internet explorer does not do this. This is slowing down the process of opening/closing Firefox. When I open Mozilla, I get "restore session" even though I have closed everything down. I have "removed program" and re-downloaded Mozilla 3 times and still this problem persists. What is causing it and how do I fix it?
-> Update All your Firefox Plugins
* https://www.mozilla.org/en-US/plugincheck/
* '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
* Restart Firefox
Check and tell if its working. -
Running reports in SCCM: ActiveX Script Error
When I try to run some reports, I authenticate then it throws a Script Error. Error: ActiveX component can't create object: 'Microsoft.XMLDOM'.
This only happens on some reports and it only happens remotely. If I try to run the same reports on the local server, there aren't any issues.Have enabled remote errors?
http://be.enhansoft.com/post/2013/01/16/Enabling-Remote-Errors-in-SQL.aspx
What exactly is the error that your are getting!
http://www.enhansoft.com/ -
Error is as follows: Line: 63 Char: 4344 Error: Unable to get value of the property 'offsetHeight': object is null or undefined Code: 0 URL: http://yui.yahooapis.com/combo?2.8.0/build/yuiloader-dom- event/yuiloader-dom-event.js&2.8.0/build/dragdrop/dragdrop- min.js&2.8.0/build/stylesheet/stylesheet- Do you want to continue running scripts on this page? Y/N buttons."
I see. Well, I just tried to make IE my default browser, but it did not solve the problem. I receive the same script error when I view the image. (I may not have explained this thoroughly enough at first - I do get to view the image after answering the error message, but the print button embedded in the window doesn't work. Before, I never had a problem with viewing or printing.)
I imagine that at this point I will either need to communicate this to the IE people, or possibly revert to an older version of IE. -
Unresponsive script error message keeps popping up, Firefox will not open.
Try to delete the mimeTypes.rdf file in the Firefox Profile Folder.
* http://kb.mozillazine.org/mimeTypes.rdf
* http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
You can use this button to go to the Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder -
As stated previously...I have removed and re-installed Firefox, but am still getting "script error" when shutting it down and going to "restore session" when opening. Please advise what to do about this problem. Thank you.
Firefox 21 and Firefox 22 running on Windows 7 have been reported to take a long time to "wake up" from sleep. I realize hibernation is different than sleep, but... this is the closest match for your description.
Some users have reported that this problem is resolved in Firefox 23 (currently in beta). Others have had inconsistent luck with minimizing Firefox before letting Windows sleep and other measures.
Please check out this (very long) thread for more information: [https://support.mozilla.org/questions/961898 browser freezes after resuming from sleep]
Or jump to the part about Firefox 23: https://support.mozilla.org/questions/961898?page=3#answer-457321
The fact that this just started recently suggests perhaps it is related to another program or update, but I don't think anyone has confirmed the exact interaction that causes the problem. -
Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.
This issue can be caused by an extension that isn't working properly.
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
Script Error when I try to Preview a report
Dear Experts, I have this issue when I try do a open a report by clicking Preview in CMC, I get a parameter screen where I have to plug the values. When I try to click on the calendar icon to pick up the dates I get this error message:
Internet Explorer Script Error
Line: 251
Char: 1
Error: Object expected
URL: .... prompting1.html
I imported the same report in the test server and I can select the calendar dates on the parameter screen just fine.
I'm on BOXI R2, Windows Server 2003.
I followed the instruction of un-checking the and checking the "Disable Script Debugging" in Internet Options Advanced tab. That did not help. I also made sure that the preferences in CMC has "ActiveX" under Crystal Report Viewer.
Kindly help me fix this issue.
Edited by: SAPman on Nov 9, 2009 12:36 PM>
Sebastian Wiefett wrote:
> Hi,
>
> this looks for me as an error from the IE.
>
> Try to delete your Cache please. Is the URL of your BO Server in your Trusted Sites list ?
>
> Regards
> -Seb.
I too feel it is something with IE itself. I can open the calendar on the parameter screen after I migrated the report in the test environment with IE7.0. My dev system has IE6.0 and I was unable open the calendar. So I thought maybe it is the version. But when I open the dev CMC on my workstation (with IE7.0), I still was unable to open the calendar in the parameter screen. So that rules out IE version.
URL is also listed under Trusted sites. Moreover, if I type the dates manually, then report works fine too. But if I click on the calendar icon to select the dates, then I get this error.
Any help is appreciated. -
Contribute 6.5 is very slow to publish new content to our site www.mrii.ie, even bringing up a page for editing is slow. So far I have:
Tested the the FTP settings using passive and active connections.
Using an external FTP program, downloading from the site is very quick 2. I checked all the file permissions on the server and they are correct. In fact Contribute will publish the changes eventually, just very slowly prior to the actual upload which seems pretty quick.
I also used a plain page with a small amount of text and again the pre-processing seems slow.
I removed the temporary sites and configuration folders and still no change.
I created a new connection.
As an aside, how do I disable script errors in the Contribute browser window?OK, found it. This fixed my performance issue.
https://discussions.apple.com/thread/2536941
This fixed my Genius issue:
Turned Genius off
Closed iTunes
Launch Safari
Preferences/Security/Cookies
delete the apple.com entries
Maybe you are looking for
-
What is the length of time that an email will be held in the email trash after being deleted? Also how do I change this default? I follow the instructions in the manual until it says to click on something called "advanced." There is nothing like that
-
Hi! I'm extending the org.apache.log4j.jdbc.JDBCAppender to log my web application directly in a database. OK, this is my code: package dbweb.logging; import java.sql.*; import javax.sql.*; import java.util.*; import javax.naming.*; public class JDBC
-
Hi, I have installed Ep 6.0 SP12 along with KM. I want to customize it, but when I open the theme editor in the portal, it shows portal runtime exception and the stack trace in the logviewer shows "JAVA.lang.outofmemoryerror". I upgraded my heapsiz
-
Updated 3gs to ios6 cannot activate the phone "server unavailable"
Hi I have update my iphone 3gs to iOS 6 and when i went through activatin process i get error message " activation server temperoarly unavailable " the phone was working fine before the update to IOS6 . can any one plz..plz..plz... help wil b very g
-
Wht we do in modulepool programming
hi abapers, can u plz guide me 1. wht we do in modulepool programming 2.can u plz send one senario to undersatnd the perpose. thanks in addvance