Script does not pick up values as intended

Hi
I have written a CALC routine where in i want to do the following:
-If there is any input done for that rate in the month, the routine should do nothing
- If there is no input in that rate account in the month, it should pick up the previous period data.
But this IF condition does not work and I have not been able to understand why so.
Can someone pl tell me what goes wrong in the below script?
If i remove the IF command the script works (but if then overwrites any input made for the period)
SUB Exch_Rate_Cf
'carry forward of composite exchange rates for FA Opening Balances
IF HS.GETrate("A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE]") = "0" THEN
     IF HS.PERIOD.MEMBER = "JULY" THEN
HS.EXP "A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE] = A#Exch_EquCap.Y#Prior.P#Last.I#[ICP None].C3#[NONE].C4#[NONE]"
ELSE
HS.EXP "A#Exch_EquCap.I#[ICP None].C3#[NONE].C4#[NONE] = A#Exch_EquCap.P#Last.I#[ICP None].C3#[NONE].C4#[NONE]"
END IF
else
END IF
END SUB

Hi
I have tried both the approaches.
"JUL' does not work as we have given JULY as the dimension member name
The other approach also does not result in any result being calculated --- i think something is going wrong and the script does not go into the IF condition itself :(

Similar Messages

  • Custom Manage Property does not pick up the value from mapping crawl property

    Hi All,
    I have created a custom list with the column name that's called "category".
    Then I ran full crawl and I saw the "ows_category" crawl property is created.
    Then I create the manage property names as "Category" and map with the "ows_category" and run the full crawl again. (Retrivable, Searchable, Refinable options are checked)
    After full crawl, I searched Category:keyword but it returned 0 result. 
    But when I search keyword, that list item is retuned
    I tried to debug with the spsearch2013 tool and there is no "Category" manage property in the return XML.
    It seems the Manage Property does not pick up value from the crawl property. (Something might be wrong with the index schema)
    Do you have any suggestion?
    Do I need to reset the index?
    Best Regards,
    Andy

    Hi Andy,
    When you search ‘category’ in crawled properties(Central Administration->Search Service Application->Search Schema), you will see ows_Category is mapped to DiscussionCategory, like the screenshot:
    So, I suggest you create a new column using another name, then test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Why wsgen does not pick up the changed interface in wsdl.jsp?

    Hi,
    After I changed the type of return value in a method in a stateless EJB. The wsdl.jsp
    generated by wsgen does not pick up the changed interface (it still has the old interface).
    The installed ejb works well with new type of return value. But the web service (wsdl.jsp)
    and client.jar does not work. At begining I thought it might be cached. So I cleaned
    the cache in the browser and temporal directory inside wls domain. I also deleted
    all old version of ejbs on my local disks. But there is no effect. I am confused.
    Please help. Where does the wsgen looking for when generating wsdl.jsp?
    Thanks a lot.
    Jim

    Hi,
    Please check the following path if your application is deployed or not properly if you are using eclipse:
    Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

  • My jsp page is not displayed - tomcat does not pick up the class file

    Hi everybody,
    I have a Java code which is a controller for a jsp page, called: HomeController.java. Code is as follows:
    @Controller
    public class HomeController {
    protected final transient Log log = LogFactory.getLog(getClass());
    @RequestMapping(value = "/mypage")
        public String home() {
            System.out.println("HomeController: Passing through...");
            return "home";
    }There is nothing especial in the jsp page: home.jsp. If I go to this url:
    http://localhost:8080/adcopyqueue/mypage
    I can view mypage and everything works fine. Also in the tomcat Dos page I can see the comment:
    HomeController: Passing through...As expected.
    Now under the same directory that I have HomeController.java, I've created another file called: LoginController.java. Following is the code:
    @Controller
    public class LoginController {
    protected final transient Log log = LogFactory.getLog(getClass());
    @RequestMapping(value = "/loginpage")
    public String login() {
            System.out.println("LoginController: Passing through...");       
            return "login";
        }And under the same place which I have home.jsp, I've created login.jsp.
    Also under tomcat folders, LoginController.class exists under the same folder that HomeController.class exists and login.jsp exists under the same folder which home.jsp exists.
    But when I go to this url: http://localhost:8080/adcopyqueue/loginpage
    Nothing is displayed! I think tomcat does not pick up LoginController.class b/c on the tomcat Dos window, I do NOT see this comment:
    LoginController: Passing through...Instead I see following which I do not know what do they mean?
    [ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:34) got manifest
    [ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:36) manifest entrie
    s 8The structure and the code for HomeController.java and LoginController.java plus the jsp files match. I have no idea why tomcat sees one of the files and not the other?
    Clean build did not help. Does anybody have any idea? Any help is greatly appraciated.
    Edited by: ronitt on Nov 16, 2011 3:55 PM

    Hi,
    Please check the following path if your application is deployed or not properly if you are using eclipse:
    Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

  • ERMS Attribute "Problem Status" not picking up value in Mail Form

    Hi All,
    As per the current system, we have a mail form where we have added an attribute "Problem Tracking Text" and it inserts the Problem record number in the outgoing email.
    Currently we need to add another attribute, "Problem Status". But when this is added to the Mail form, it does not pick the status in the outgoing email.
    "Problem Status" attribute is maintained under E-Mail Response Management System -> Define Repository
    What other configuration is missing. Please advise.

    Issue is resolved. For those who might face this issue in future-
    Problem Status is automatically stored in Fact Base. There is no need to have them as text in the email.
    One can directly add them in rule policy. It was not working for us because Fact Base it was stored as E0005 and in Rule policy it was stored as Completed. Once we changed the input value for rule policy to E0005, it works perfectly.

  • Weblogic 10.3.2.0 installation does not pick the right JDK

    The installation does not pick up the right jdk version that is jdk 11.6.0_11 . Although the machine is running the same. Instead it picks up jdk 1.6.0_14. have tested the machine many times. I am Installing Oracle SOA Suite 11g.

    Inside "startWebLogic.sh" file add the JAVA_HOME like following (just below the "setDomainEnv.sh" call):
    JAVA_HOME=C:\bea103\jdk1.6.0_17
    See if this helps.
    Thanks

  • HT1477 I am trying to install a new iPod Shuffle and my pc does not pick it up.  My pc is running windows 8.1 os.  I do not see that os in the list of operating systems.

    I am trying to install a new iPod Shuffle and my pc does not pick it up.
    My operating system is Windows 8.1 and windows 8 does not appear
    in the list of operating systems.

    You are referring to OFFICE 2010, not Windows XP or 7.
    And which version of Windows do you have?
    NEVER begin before you have a backup, ideally one you have tested and know works.
    You don't really install Boot Camp, the Assistant is a partition tool utility.
    You may just want Office 2008 for Mac.
    If you need Office for Windows, perhaps run Windows in a VM like Parallels or Fusion.
    Buy some backup drives and start using TimeMachine for one backup, then weekly backup with SuperDuper.
    IF there is now a partition for Windows, all you need is to buy Windows, and I would recommend Windows 7 Home Premium (retail) which is about US$149.
    Has nothing to do with free space. Office 2010 isn't to boot from. In fact, you can copy the disc to a folder (1.25GB) and run SETUP from there.

  • Norton 360 does not pick up tracking cookies after updating to firefox 17.0

    With firefox 17.0 Norton 360 does not pick up tracking cookies that were picked up with firefox 16.0.2. Uninstalled 17.0 and and reinstalled 16.0.2 - tracking cookies are picked up - updated to 17.0 and again no tracking cookies. I did not see anything in release note that would seem to reflect this situation. asked this question at 08:57 PST 11/29/2012 and the reply stated that Norton 360 should still be able to remove tracking cookies. WELL IT DOES NOT - WHAT HAS CHANGED FROM 16.0.2 TO 17.0 THAT WOULD CAUSE THIS. IS THIS A NEW BUG? The first reply did not answer my question however it was marked as "solved". I have rolled back to 16.0.2 and updated to 17.0 twice and the same thing has happened both times.

    Locking as a duplicate thread. <br />
    https://support.mozilla.org/en-US/questions/943027?esab=a&s=&r=1&as=s

  • Visual Studio 2012 SharePoint Project Error : The partial project item type does not have a value for this property

    Hi,
    I am getting this error from visual studio 2012 whenever i try to create the following project types:
    - Workflow Custom activity
    - Web parts
    The error is as mentioned below
    "The partial project item type does not have a value for this property"
    Due to this the when I add above type of items in my project, they show a red cross icon against them.
    Please let me know If have you any solution?

    Hi
    I had same issue. Below is the solution
    Installing
    "Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
    "http://www.microsoft.com/en-in/download/details.aspx?id=39305")
    Hansraj Rathva

  • In a purchase order for 3 GR's Quantity does not equal the value

    Hi,
    I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value.  How has this happened?
    Any guesses why the difference has come.
    Thanks&regards,
    Veena

    Hi Vishal,
    In po history for agt 3 Gr's  Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
    Can you tell me this which T.code.
    Tx,

  • In J1IS system is not picking net value from PO automatically

    Dear Experts,
    I want to send rejected material to vendor back, so I have done return delivery against MIGO material document, in MIGO, in Excise Invoice Tab i have selected no exicse Entry document. At the time of J1IS sytem is not picking net value from PO. This field is editable. Our requirement is, system should pick net value from PO.
    In this case I am not makeing any RETURN PO
    Could any body guide me? Is there any configuration required?
    Thanks & Regards,
    Trupti.

    There is no link between p.o & excise inv. creation using J1IS.
    In J1IS,Enter return material document no,Ref doc. type - MATD,Doc Year,series group,excise group,series group & finally vendor in selection.
    In excise invoice automatically details like material code,qty will appear.
    You need to enter assesable value & excise duties manually.
    Note :
    Be cautious while entereing excise duties bcoz you may be returning partial quantity to vendor,
    so calculate excise duties in a seperate excel sheet before entering it in J1IS.

  • HT1600 am trying to connect my wireless keyboard to my apple tv and it stays in a searching mode and does not pick it up. help

    am trying to connect my wireless keyboard to my apple tv and it stays in a searching mode and does not pick it up. help

    Welcome to the Apple community.
    There probably isn't a lot you can do, since the router settings will be beyond your control. Many such services in hotels and the like, use a system whereby you need to login through a webpage, since the Apple TV cannot display webpages, there is no way around this. You would probably be best asking at reception if this is the case.

  • Report similar to MC$4 that does not show absolute values

    Hi all,
    We need a report similar to Report similar to MC$4 which has the same drilldown capabilities but does not show absolute values, and instead shows the proper (actual) values.
    Or if its possible to change something in the MC$4 report to show the actual values and not the absolute.
    Thanks in advance!
    George

    HI
    Your input criteria should contain all plant numbers and the period to be analyzed.  Execute the report and then select:  Plant Analysis\Export\Transfer to XXL\Deselect all options and tick Plant, Storage Location and Month.  Follow the options to export to Excel.  Report will be based on Plant, Storage location and Month.
    Regards

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

  • Webi does not pick correct Data

    Hi Guys,
    I have a webi. The Universe for the Webi is based on  Bex Query. I see correct Data in Bex Query but when I create a webi report it does not pick correct data.
    I have checked following points already:-
    1] No Resstriction at Query Level
    2] No restriction at Universe Level
    3] No Filters/ Restriction at Webi Level.
    Can anyone suggest whats happening?
    Regards

    Hi Ray,
    It happens sometimes that data gets aggregated over all the dimension objects present in the 'Available Objects' section in webi.
    Try to pull only the characteristics present in the row section of the bex query say 'X' and measure in the column section of bex query say 'Y' into the results pane in the edit query window in webi.Then run the report and check.
    This will give you the idea about aggregation.
    Regards
    Vineeta

Maybe you are looking for

  • How to map CRM BP relationship and R/3 customer partner funnction

    Hello ! Please, I need the following actions: 1) during BP initial download from R/3 to CRM, a specific partner function should be mapped by a CRM relationship (Example: in R/3 master data, customer X is the Payer of customer Y. I'd like this partner

  • HT4623 I tried to update my phone and it is frozen now. It won't do anything.

    I connected my phone to iTunes on my computer and tried to update.  Now my phone won't work and it is stuck on a screen that shows a usb cord and says iTunes.

  • Using the FM  HR_INFOTYPE_OPERATION

    Hi folks,         I am using the FM HR_INFOTYPE_OPERATION, in my report. What values i need to pass for the import parameter RECORD. Without passing this parameter, its going to dump...Could any one suggest me how to pass this paramter..or if any sam

  • CS5 built-in mobile browser detection?

    Hi all, Just got CS5 after having previously used GoLive for a long time. I'm wondering if DW has an built-in functionality for detecting mobile browsers. I don't need to detect exactly -which- mobile browsers are being used, as the page content is v

  • ALV Reuse_alv_grid_display

    Hi , I am running a small report. Now i enter some values on the selection screen. And the results i am able to display in an ALV using the FM Reuse_alv_grid_display. I am trying to have a Push Button & i have added the following code in my program.