ICElim Code

In IC Elim code there are two statement to choose the IC Account:
     *SELECT(%ELIM_ACCS%, "[ID]", "ACCOUNTDIM","[ELIMACC] <>''")  
     *SELECT(%PLUG_ACCS%, "[ELIMACC]", "ACCOUNTDIM","[ELIMACC] <>''")
There are two IC accounts: ICAccRec and ICAccPay, there are  the base accounts in ApShell, and the Elimacc property is ICBal,The ICElim logic work very well when I input some test data and run it.
Now I add two children 1111,1112 for ICAccRec which is a hierarchy node now, I make the Elimacc property for 1111,1112
as ICBal; I  add another two two children 2111,2112 for ICAccPay which is a hierarchy node now, I make the Elimacc property for 2111,2112 as ICBal.
Now I input some test data and run the logic again. This time there is no IC elimination data created. From the detail log, we have:
Dimension Entity:ICSALES,ICCOST,ICACCREC,ICACCPAY.
This indicate that the system did not capture the base account number 1111,1112,2111,2112 .instead it get the node above them
The code in Script logic to select IN account is as following
*SELECT(%ELIM_ACCS%, "[ID]", "ACCOUNTDIM","[ELIMACC] <>''")  
*SELECT(%PLUG_ACCS%, "[ELIMACC]", "ACCOUNTDIM","[ELIMACC] <>''")
Anybody can explain why the select statement is not working correctly, and how to fix it.
Edited by: Jianbai on Oct 25, 2009 1:18 AM
Edited by: Jianbai on Oct 25, 2009 1:29 AM
Edited by: Jianbai on Oct 25, 2009 1:33 AM

Group dimension is mandatory to add.

Similar Messages

  • ICELIM script in NW

    In BPC NW, we have the followieng ICELIM code.
    //For running US widely used intercompany elimination
    *RUN_PROGRAM US_ELIM
        CATEGORY = %C_CATEGORY_SET%
        GROUP = %GROUPS_SET%
        TID_RA = %TIME_SET%
        OTHER = [ENTITY=%ENTITY_SET%]//For More than one other scope parameters: OTHER = [ENTITY=%ENTITY_SET%;INTCO=%INTCO_SET%...]
    *ENDRUN_PROGRAM
    While in BPC M. we have the following script:
    *SUB INITIALIZE_ELIM()
         // create the required sets
         *SELECT(%REPORTING_CURRENCIES%, "[ID]", "CURRENCYDIM", "[REPORTING] = 'Y'")
         *SELECT(%NON_ELIM_ENTITIES%, "[ID]", "ENTITYDIM","[ELIM] <> 'Y' AND [CALC]='N'") 
         *SELECT(%ELIM_ENTITIES%, "[ID]", "ENTITYDIM","[ELIM] = 'Y'") 
         *SELECT(%ELIM_ACCS%, "[ID]", "ACCOUNTDIM","[ELIMACC] <>''") 
         *SELECT(%PLUG_ACCS%, "[ELIMACC]", "ACCOUNTDIM","[ELIMACC] <>''")
         *XDIM_MEMBERSET ENTITYDIM<>%ELIM_ENTITIES%
         *XDIM_MEMBERSET CURRENCYDIM=%REPORTING_CURRENCIES%
         *XDIM_MEMBERSET ACCOUNTDIM=%ELIM_ACCS%
         // set the appropriate region to clear
         //(all elim entities and all elim and plug accounts)
         *CLEAR_DESTINATION
         *DESTINATION ENTITYDIM=%ELIM_ENTITIES%
         *DESTINATION ACCOUNTDIM=%ELIM_ACCS%,%PLUG_ACCS%
    *ENDSUB
    *SUB ELIMINATE_ORG(%ThisOrg%)
         // define the elimination rule
         //============================
         *WHEN ENTITYDIM.ELIM
         *IS<>"Y"
    //          *WHEN CPE(INTCODIM.ENTITY,ENTITYDIM,%ThisOrg%,ELIM)   //          
                         *IS <>""                                           
              *REC(ENTITYDIM=%CPE%,FACTOR=-1)                              
              *REC(ENTITYDIM=%CPE%,ACCOUNTDIM=ACCOUNTDIM.ELIMACC)
              *ENDWHEN
         *ENDWHEN
         *GO
    *ENDSUB
    I would assume that  the above logic for IC elimination is same for both BPC M ans NW,  which function modeul we can we find the ABAP code function to realize the same logic

    Hi,
    I think the LC Output does not use Acrobat to render XDP's and the LC Output does not have a SOAP object and this is why I think you are getting the error.
    I can't think how to work around this, other that to try and make the code only run once it is opened in the Acrobat host and not on the server while it is being rendered.
    Regards
    Malcolm

  • Generate prov.xml for Creative Cloud. Return Code 27

    We're trying to follow this guide (Creative Cloud Help | Using Adobe Provisioning Toolkit Enterprise Edition) to serialize a package (or something). We're stuck on generating prov.xml. My best attempt at an entry is:
    C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\APTEE>adobe_prtk.exe --tool=VolumeSerialize --generate --serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx --regsuppress=ss --eulasuppress --locales=en_US --provfilepath=C:\Program Fil
    es (x86)\Common Files\Adobe\OOBE\PDApp\CCP
    It says half of this is optional, but I'm skeptical.
    Anyway, I'm getting return code 27. This indicates that it is unable to edit the prov.xml file specified. I didn't specify a prov.xml file, I'm trying to make one. The syntax I'm using differs from what I found on the page I linked, as that was giving me syntax errors. I lifted this off someone else's code. I've tried just about every variation I can think of. Any help would be appreciated.
    This is on Windows

    One of these links may help
    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • Code returns "null" and "0"s in main module - why?

    I am coding a program that is in two modules. The main module serves it's standard function. The inventory class/module has three functions - 1) request stock input on 4 data points (1 String and 3 integers, one of which is a double) - 2) calculate the value of the inventory, and - 3) return string which reads out the 4 data points and the calculation showing the total value of the inventory. I've created the 3 functions in the inventory class/module, but obviously don't have them referring to each other correctly because when we come to the end of the program the output is null for the String and "0"s for the int/doubles. The code is below - any ideas about how to overcome the empty output? The code compiles fine and acts like it is going to work, but when it comes to the final command line it outputs
    "null, which is item number 0, has 0 currently in stock at a price of 0.00 each. The total value of inventory in stock is 0.00"
    Main module:
    public class Main {
        @SuppressWarnings("static-access")
        public static void main(String[] args) {
            Inventory inventory = new Inventory(); //call Inventory class
            inventory.inventoryInput();
            Inventory results = new Inventory();
            results.inventoryResults(); //call for inventoryResults in Inventory class
    }Inventory module:
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory
      //declare and initialize variables
       int itemNumber = 0;
       String productName;
       int stockAmount = 0;
       double productCost = 0;
       double totalValue = 0;
       String inventoryResults;
       //initialize scanner
       Scanner input = new Scanner(System.in);
       public void inventoryInput ()
       out.println("Please enter item number: "); //prompt for item number
          itemNumber = input.nextInt();
       out.println( "Enter product name/description: "); //prompt for product name
          productName = input.next();
       out.println("Quantity in stock: ");
          stockAmount = input.nextInt(); // prompt for stock quantity
       out.println("What is the product cost for each unit? ");
          productCost = input.nextDouble(); // prompt for product cost
        } // end inventoryInput
        public double totalValue( double stockAmount, double productCost )
          totalValue = stockAmount * productCost;
          return totalValue; // return stock value
        } // end totalValue
        public void inventoryResults()
        out.printf("%s, which is item number %d, has %d currently in stock at a " +
         "price of %.2f each. The total value of inventory in stock is " +
         "%.2f\n.", productName, itemNumber, stockAmount, productCost, totalValue);
        } // end inventoryResult
    }// end method

    justStartingOut wrote:
    Actually my final solution was quite simple - I moved the calculation and final formated print text statements into the body of Inventory's class code. It now works. "Works" scares me a bit.
    Someone cooking dinner might rummage about in the fridge and the cupboards to see what's there. Do imaginative things with what they come up with. And, with a bit of luck come up with something tasty or, at any rate edible.
    A physician deciding on a medical treatment would do well to try a more cautious approach. A specific aim would be a good thing. And a calculated appreciation of the documented effects of each medicine. And how they interact.
    It's up to you to determine which approach your coding should resemble. But it seems to me that your original Main class had a perfectly good reason to exist. It was a driver class whose purpose seemed to be to create and use an Inventory. (And using an Inventory is a very different thing from being an Inventory, so it made perfect sense to have two different classes.) To me it works or not, depending on whether it fufills that purpose. And what you have done is not so much solve the problem of it not working, as avoid that problem.
    (If by "moved" you mean that the outputting now occurs as part of - or is called from - inventoryInput() then that is not a good thing. The input method should input: just input.)
    I think that is because once the original input was loaded into the program (when I entered product number, name, price and value), the entries were dropped when the code switched to the next step. I think your intuition is entirely correct. In particular look at what your original main() method does (my comments replacing yours):
    Inventory inventory = new Inventory(); // (A) Create an inventory...
    inventory.inventoryInput(); // ... and put stuff into it
        // (B) Create some new entirely different (and empty) inventory...
    Inventory results = new Inventory();
    results.inventoryResults(); // ... and print its contentsInstead of creating a second inventory, try printing the results of the first one.
    Edited by: pbrockway2 on Apr 22, 2008 12:37 PM
    Whoops ... just read reply 2.
    It might sense, though to call totalValue() at the end your input method (because at that point the total value has changed). Or do away with that method - which you worked on getting right in your other thread ;)

  • Sample source code for fields mapping in expert routine

    Hi All
    Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
    same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
    regards
    eliaz

    Basic would be ;
    RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
    you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
    BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
    BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
    Hope this helps
    Derya

  • TS2446 My phone want let me download apps I put the password in then it's say billing options which tell me I have invalid security code

    My phone want let me download any apps when I put the password in it take me to billing option which tell me I have the wrong security code and that's the security code that was on the card on the account

    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646

  • Cannot delete file from external hard drive (error code 36) in Finder, but Terminal is ok

    I have a relatively new Macbook Pro Retina 15" and have a Western Digital 1 TB Passport.  I've been using the passport for about a year now without any problems on older Macbooks in my house.  I used to be able to read and write to this drive no problem.  I am using the Paragon NTFS for Mac software in order to read and write to the NTFS drive.  When I navigate through the drive in Finder, if I try to create a new folder, I do not have a problem.  If I try to delete that folder I just created, I get this error:
    The Finder can’t complete the operation because some data in “untitled folder” can’t be read or written.
    (Error code -36)
    The folder has nothing in it whatsoever.  I just created it.  But if I go to Terminal and I run
    rm -rf "untitled folder"
    This works fine.  Why is Terminal acting different than Finder?  This does not happen on my other Macbooks.  Thanks in advance.

    Thanx for such qucik reply!!! The pages were great, it had an answer for my problem, but unfortunately it also involved me dealing with it only on the MacIntosh HD itself, not on mounted external drive I suppose... So it didn't work they say that there is an icon in the left corner indicating locked folder - I don't see any icon on it. It says you can untick the box to unlock the folder - there is no tick to be unticked. Finally, they say that if I don't have permition or rights I cannot delete it. But how do i change permittion which already says that i can read and write in it? So everything appears to be normal only I cannot delete it. there is not even any warnig telling me I don't have enough rights, it just requires the password and after me typing it in it makes the sound of scraping paper but does nothing more. I aslo had some problems with emptying Trash after being seemingly succesful with one file and had got so far to have them appear in the Trash (no clue how this one actully got there though..) I followd the advice and emptied the Trash with Terminal. The Folder is still there but it shows 0 Kb... So far so good BUT: It is still on the external drive, so I obviously only managed to copy it into the Trash!!! Phew, innit a bit too tight to poor owners, this macbook?? I want my rights back!

  • Report generation failed----​error code:-1720​5; Access Denied.

    Hi, All
        i have a trouble about report generation.it seems the error happened at the "write UUT report"--this step is teststand report generation'DLL.
        detail:
        An error occurred calling 'Save' in 'Report' of 'NI TestStand 2010 SP1 API'
    Access Denied.. Error writing to file 'D:\program\seq\xxx.xml'.
    The file might be open in another application. If file access is intermittently denied, you should try disabling the Microsoft FindFast utility. 
        error code:-17205; Access Denied.
        locationtep 'Write UUT Report' of sequence 'Single Pass' in 'SequentialModel.Seq'
        How to fix it?
        Thanks a lot.
    BR

    Hm, it looks like the file might be open in another application. If you see that file accesss is intermittently denied, you should try disabling the Microsoft FindFast utility.
    CTA, CLA, MTFBWY

  • Error in Printing Crystal Report Directly to Printer using SDK Code

    Hello ,
    I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
    as (Document Number).But While running the Code the Report is not getting printed and also the system is
    not able to fetch the correct data in the report using the supplied parameter .
    I am using Visual Studio 2005 Crystal Report dll s in my code :-
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.CrystalReports
    Imports System
    Imports System.Data.SqlClient
    Imports System.IO
    For Clarification i am pasting my code below :-
                Dim oRpt As ReportDocument
                oRpt = New ReportDocument
                oRpt.Load(Path)
                With crConnectionInfo
                    .ServerName = Server
                    .DatabaseName = Database
                    .UserID = User
                    .Password = Password
                End With
                CrTables = oRpt.Database.Tables
                For Each CrTable In CrTables
                    crtableLogoninfo = CrTable.LogOnInfo
                    crtableLogoninfo.ConnectionInfo = crConnectionInfo
                    CrTable.ApplyLogOnInfo(crtableLogoninfo)
                Next
                oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
                If Printer <> "" Then
                    oRpt.PrintOptions.PrinterName = Printer
                End If
                oRpt.PrintToPrinter(Copies, False, 0, 1)
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
    Please suggest me what i have to do in my code to print the report with correct data in report.
    Thanks & Regards,
    Amit

    k

  • Closing stock T code reqd

    hi all,
    i want to take the report for the closing stock of plant/sloc on a particular date,but am not able to find out the t code,have tried with MB5B,still am not getting the report.
    ur help required in this
    thanks and regards
    Vijay

    Hi,
    As somebody pointed out the right T code is MC.9, which would give you the stock value for all the materials in a plant.However , fr Quantities you may have to add the field required in the choose Key figures icon and refine your report further.
    Thanks in Advance,
    Nagrajan

  • There was a recent upadate on my PC, however it does not work. A error code comes up which says, min version is not compatible with max version. And I caanot open my browser. Please help.

    I do a system restore which allows me to open my browser. Without this I cannot open my browser - the error code comes up every time.

    Do a clean (re)install
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    From https://support.mozilla.com/en-US/questions/764376

  • Training and Event management T-code: PV4I.

    Hello All-
    We are trying to implement TEM and we completed the back end SAP config, and we are implementing the ITS version of the booking by creating an Iview using PV4I. The screen that we see when we execute this T-code is prompting for username and password. Can someone let me know which username and password this is looking at? There are other parameters on this screen including Attendee type, ALE session etc.
    You can even try this in ECC GUI using /nPV4I in any other T-code (deceive ITS).
    Or anybody has any document on how to configure the ITS services? If so please email me at [email protected]
    Thanks-
    Chakri.
    Message was edited by:
            chakri somisetti

    Zsolt-
    I tried these options earlier, and also created an internet userID in SU05. But I don't understand of how the logic works here.
    Can you please explain me like what should be created first.
    Lets say my Pernr in SAP is: 23456 and UserID in Infotype 105 in RKCR012
    Shall I have to create the SU05 internet user for SAP number or RKCR012. I tried both options but still its prompting me for login and password again when I am trying to access PV4i in SAP GUI or portal. Even If I enter my sap # or the ID its not working, its prompting me saying that user name and password does not match.
    Can you please explain me how the username and password in the PV4i ITS service and the SU05 internet userID are connected???
    Thanks-
    Chakri.

  • Print the report by code

    Hi to all,
                 I'm using Asp.Net 2.0-C#, Crystal Report 11 SP1.
    I bind some records to the report, i want to print the report when a checkbox is clicked instead of CR Print button, how to do this, experts please post any code?

    Hello,
    I posted hyperlinks to the [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects-sdklibrary], and the [Crystal Reports .NET SDK Guide|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] for CR XI R2.
    From the main Developer Library page scroll down the page to the [XI|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm] (v11.0) and the [XI R2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm] (v11.5) versions of the Crystal Reports .NET SDK Guide.
    Click on one of the above links to choose the version of the Dev Library you'd like to explore.  After it loads you'll see Content and Search buttons in the left hand pane.  Click on Search and search for PrintToPrinter.  In the results list you'll see the PrintToPrinter method.  Click on this and you'll see the information you're looking for.
    Please start using the above links to search for your answers - the information is there.
    Sincerely,
    Dan Kelleher

  • How to enter invoice with two different tax codes in one line?

    Dear friends,
    I have this PO for which I enter the invoice.
    I recieve later a subsequent debit for this PO from the transporter. This subsequent invoice has got extra debits, one with 21% VAT and one with 19% VAT, which means two items with two different tax codes.
    I want to enter this subsequent debit for each item of the PO, and I want to enter both debits in every item of the PO.
    How can I enter in one row in MIRO a debit with two different tax codes.
    Thank you.

    I want in the same line item to enter two tax codes.
    Do you Know if there is any way to do this?
    It is a subsequent debit and it has two items with two different tax codes. I want to enter the subsequent debit for a PO with many items and enter the value of the whole subsequent invoice. So there is the need to enter one line item with two tax codes.
    How can this be done?
    Thank you?

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

Maybe you are looking for