Filter members having transaction data in Script logic

Does anyone know a way to limit the scope of script/runallocation on only those members that have data?
I'm trying to run an allocation on all the products which and i cannot run it for more than 500 at a time. The script always gets canceled.
Thanks!

This is interesting what you say about runallocation running only on transaction data because in my script sample shown below, i  can see that it runs for all the products (SKU's) even though they don't have any data in the log.
*XDIM_MEMBERSET PRODUCT AS %SKU% = BAS(ALL_PRODUCT)
*FOR %PROD%=%SKU%
*RUNALLOCATION
   *FACTOR=USING      
   *DIM PRODUCT     WHAT=%PROD%;         WHERE=<<<;       USING=%PRODUCT_SET%;   
   *DIM ACCOUNT    WHAT=PHYS_CASE;     WHERE=<<<;      USING=RATE;
*ENDALLOCATION
*NEXT
In the above allocation logic lets say %SKU% variable has 1000 products and i need to allocate the physical cases based on a rate entered at one product, hence i need to run this allocation on each product, but problem is i can only run it for upto 500 products, the script automatically cancels if i try running for more than that. And when it does run successfully, i can see an allocation being run for each product in the log.

Similar Messages

  • Can V find Master data datasource by having Transaction data datasource?

    Hello All
    I have a datasource in r/3 side by this can v find Master data datasource?
    The Transaction datasource is 2lis_02_scl?
    how to find Master datasource for this?
    Many Thanks
    balaji

    AHP hello
    Thanks for info given
    Can v view same for customized datasources also?
    is it possible?
    so for datasource 2lis_11_vaitm,if v click on "Infosource Overview" v can view all the Infosource name,by this v can find our Master Datasource.?
    so for ex.,I can c infosource 0CUST_GRP1,so this is the datasource for Master data from r/3 side?
    Is it correct?
    Many Thanks
    balaji

  • 7.0NW: script logic to post data to another cube

    Hi,
    On the 7.0NW we have a FINANCE cube (8 dimensions) and a FINANCE_DETAIL (12 dimensions) cube. I was hoping that someone could advise on how to transport data using script logic from FINANCE_DETAIL to FINANCE, knwoing that the SQL logic for the MS-platform is no longer applicable (DESTINATION_APP statement) on the NW-platform.
    Thx&Rgrds
    Bjorn

    BPC7Nw supports ABAP development through script logic. You can use the keyword 'call custom logic' to execute the BADI that you developed. With SP01, you can also pass parameters to this BADI. Here are step by step instructions to do the same.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4252d-98ca-2b10-e689-f85085ae2d12
    Regards
    Pravin

  • How to delete a master record with transaction data?

    Hi,
        Iam able to delete master record(GL/Vendor/Customer)through OBR2 when there is no transaction data in those respective master records. Despite of clearing all open items in a particular vendor Account, Iam unable to delete that master record. Please suggest me how we can delete vendor master data having transactional data.
                               Thanks in Advance
    Regards,
    Satish

    Hi...
    Not sure whether this helps....you can mark the vendorrecord for deletion and later try to delete it.
    Logistics >> Materials management >> Purchasing >>
    (new menu) Master data >> Vendor >> Central >> Flag for deletion
    try using XK06/FK06
    Assign points if useful
    Regards
    Aravind

  • Work Status and Script Logic

    Hello, gurus!
    Explain please situation with a script logic and work status of data.
    I have the script logic file, with code, for example:
    *XDIM_MEMBERSET UNIT = 19
    *XDIM_MEMBERSET AP_TR_SA = COMMON
    *XDIM_MEMBERSET C_DATASRC = MANUAL
    *XDIM_MEMBERSET RPTCURRENCY = USD
    *XDIM_MEMBERSET CATEGORY = PLAN,ACTUAL
    *XDIM_MEMBERSET ENTITY = C1113,C1111
    *XDIM_MEMBERSET TIME = 201007
    [#CF0700]=([AP_TR_ACCOUNT].[CF0612])-([AP_TR_ACCOUNT].[CF0611])
    *COMMIT
    Work status is established for (ENTITY=C1113; CATEGORY=ACTUAL,PLAN;TIME=201007) as Approved (data is locked).
    Will execute this logic for (ENTITY=C1111;CATEGORY=ACTUAL,PLAN;TIME=201007)? Should I divide this script logic for C1111 and C1113?

    I have 2 entities (companies) - C1111 and C1113.
    I have the script logic for calculation keyfigures for this entities (it is automatic chain).
    C1113  has entered the data and has locked it. When the C1113 will enter the data, the script logic will not been executed.
    I have tested it and I have received that:
    the script logic has broke when system has tried to write data into database after "Error Work Status check".
    If I change the line of script logic as
    *XDIM_MEMBERSET ENTITY = C1111,C1113
    calculation for C1111 is executed.
    Best Regards,
    Svetlana.
    Edited by: Svetlana Kazaneva on Sep 6, 2010 1:17 PM

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • Use of prompted hierarchy's base members in Script Logic

    Hello all,
    I have a data manager package which prompts the user for a dimension called P_BUDGET_MODEL. The prompt is SELECT hence the user selects a hierarchy node on this dimension.
    In the relevant Script Logic I have a variable %P_BUDGET_MODEL_SET%, which is automatically created by the system. I would like to run the logic for the basemembers of the hierarchy node.
    Please note - the basemembers are not direct children of the selected hierarchy node (i.e. the selected node is the "grandparent" of the basemembers).
    I tried the following simple logic command:
    *XDIM_MEMBERSET P_BUDGET_MODEL = BAS(%P_BUDGET_MODEL_SET%)
    It yielded a message that "Member BAS() does not exist".
    I have also noticed the following thread:
    [BPC 7.5 NW - HIER NODE in PROMPT using Formule in Package ?;
    If I understood properly it is not relevant to my case because the hierarchy is more that 2 levels deep.
    Any ideas?
    TIA
    Avihay

    Hi,
    As it seems after further investigation the problem is that I use "_" in the dimension names and variable names. This creates a problem to BPC in some cases.
    For example here there is no problem:
    *SELECT(%MODEL%,ID,P_BUDGET_MODEL,ID="%P_BUDGET_MODEL_SET%")
    Here there is a problem hence the use of [ ]
    *XDIM_MEMBERSET P_MONTH = BAS([%P_VERSION_SET%.YEAR].TOTAL)
    Here there is not "_" so the code is fine:
    *XDIM_MEMBERSET P_BUDGET_MODEL = BAS(%MODEL%)
    Strange yet seems that this was the problem...
    Avihay

  • Script Logic VS Data Transformation File

    Hi all,
       I'm new to SAP BPC. I have knowledge of SAP BW.
       I can see conversion file, which we are referring in data transformation file. which we can use for mapping and conversion of external data into internal data.
      How data transformation file different form script logic? Are we going to refer script logis in Data transformation file for each required dimension?
      Can any of you give me clarity on how to place script logic and data transformation file in BPC data management flow.
      I will really applicate all your help!!!
    Thanks
    Ben.

    Nilanjan,
       I have a another quick question...
      suppose my bpc application has 5 dimensions. Out of the 5 dimensions, 4 dimensions data i'm getting directly from SAP BW. assume 1 dim, i need to extract by doing look up at different table which also reside in BW.
       how to populate data for DIM 5.
       I got your point that data transformation file purely for field mapping. suppose DIM5 if i want to populate from script logic, wht do i need map in Transformation file. I hope you got my point.
       My question if how to populate a DIM in BPC using lookup approach.
    Thanks,
    Ben.

  • How to run stored procedure IC Data / to define according script logic file

    We want to execute the stored procedure IC Data before the IC Booking. Could anybody tell me, how we have to define the script logic file in detail?
    We try it with this code (that runs without any error, but 0 rows are calculated, 0 rows are updated)
    *Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','Input','I','%logtable%','%scopetable%')
    *commit
    We also had tried with this code:
    *Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','','','%logtable%','%scopetable%')
    *commit

    step 1.
    Create a store procedure in back end.
    step2.
    Create a ssis package to execute the store procdure.
    step3.
    call this ssis pacakge in the data manager package and run the package.

  • Can i load transactional Data from ge DS without having load M Data before

    Hello,
    I want to load transactional data from a generic data source.
    I just want to know whether it would be successful, after the master data of 0material i load in the PSA couldn't be loaded in the infoObject (000000XXXXXXX -> material number error) by the DTP (see Thread BI - BI general - User arnaud).
    If i can load the transactional data without having loaded the master data in the info Object, is it possible that it loads also the master data simultaneous.
    Thank you very much for helping
    AR.

    Loading transactions before master data can result in data elements not being populated in the InfoProvider in some cases, hence the "Best Practice" recommendation to load master data first.
    For example, if you have update/transformation rules that go read master data to get additional data to enhance the transactional data, or you map master data attributes  during the transaction load, the master data attributes could be missing values if you don't load master data first.

  • How to read saved data in BPC 7 Nw Script Logic

    Hi all,
       I am trying to write the logic for Price*Quantity Calculation. This logic should be executed whenever user saves the data for either Quantity or Price.
    For this i created a Implementation on BADI "UJ_CUSTOM_LOGIC". But i am struck on how to read the data from InfoCube ,Like if user saves "Quantity",logic should read "Price" from the cube and calculate the result, Which is equivalent to GET(------) statement in SQL script Logic. Which method should i call to read the saved data in cube.
    Appreciate if someone can help me on this.
    Thanks&Regards,
    Ashok Kumar.

    Hi,
       You can use the LOOKUP instruction like:
    *LOOKUP RATE
    *DIM ENTITY2="DEFAULT"
    *DIM SOURCECURR:INPUTCURRENCY=ENTITY.CURR
    *DIM DESTCURR1:INPUTCURRENCY="USD"
    *DIM DESTCURR2:INPUTCURRENCY="EURO"
    *DIM RATE=ACCOUNT.RATETYPE
    *ENDLOOKUP
    Best regards,
    Mihaela

  • Copying the data and ignoring the Script logic

    Hi,
    I have some data in Actual category for 2010.APR and I would like to COPY the same
    (through DM) to Budget category with my default script logic file.  When I am trying to
    Do the same it is copying the same data into Budget category, ignoring my script logic
    Actually it should increase the value.
    Can anybody help me in this regard.
    Thanks in adv.
    Raghu B.S.

    The problem it is into script logic.
    When you insert records you are inserting records with category Budget.
    But your default script logic is inserting new recotrds just in case if the input has category Actual.
    So you just to do a correction into your script logic to change the statement
    *WHEN CATEGORY
    *IS "ACTUAL"
    with
    *WHEN CATEGORY
    *IS "BUDGET"
    In this way the default script logic will be executed and after the copy you will have also the records generated by script logic.
    Regards
    Sorin Radulescu
    Edited by: Sorin Radulescu on Aug 5, 2010 2:15 PM

  • Execute script logic using data manager

    Hi all,
    Could anyone explain me how to run a script logic using the data manager?
    The only way I get it working is adding the script logic into the defaul.lgl file and running the default formulas package via data manager.
    How can I run an specific script logic without using the default.lgf file?
    Thanks and regards,
    Ana

    HI Ana,
    You will have to create a SSIS package that will run the logic for you. A good example of this is the ICELIM package that comes standard with AppShell. The easiest is way for me is to copy the package and renaming it to what you want to call it in the following folder: C:\BPC\Data\Webfolders\<AppSet>\<Application>\DataManager\PackageFiles\System Files
    You will then have to organize the package list and add the package and modify the advanced properties of the package and point it to the correct logic file. I always use the lgf file rather than the lgx file, but it is up to you.
    Lemme know if you need more info.
    Regards,
    Andries

  • Script Logic - Calculated Members

    Hello:
    Im trying to build a script member using calculated members:
    *WHEN CUENTA
    *IS U4000
    *ENDWHEN
    *COMMIT
    U4000 is a calculated member in the account dimension member. I tried using another account, that is not a calculated member and it works.
    How can use calculated member in this sintax?
    Thanks in advance.
    Luciana

    I would like to mention few things:
    1. OLAPLOOKUP it doesn't work anymore into 7.5. James can you double check. My tests is showing that OLAPLOOKUP is not even validate into 7.5
    2. Calc_Dummy_Org it is an option to get the values of calculate members
    3. It is strange that kind of condition because into script logic you are doing input for base members.
    So that condition to test when an account is a an account which is not base member for me doesn't seems to be right.
    I can understand if you are looking about the value of that account but not testing if an account it is an account which is not base member.
    So if you want to record something with value of your calculate member just use:
    *BEGIN
    ACCOUNT.#basememberforinput = ACCOUNT.Calculatemember
    *END
    *COMMIT
    Edited by: Sorin Radulescu on Nov 9, 2010 4:04 PM

  • Changing Work Status using data package or script logic

    Is it possible to set Work Status using Script logic, or an SSIS package.
    I know status is kept is an SQL table, is it possible to just update the locking table with a new record, or is there more to changing the work status.
    Thanks for you help

    Thanks for your reply. This would be a nice enhancement.
    Although the work status does help with the audit trail of who and what locks the data, doing it automatically will allow the system to automatically unlock the period when it is opened before auto-loading the current closing balances. It will need to be carefully used in order to maintain proper audit trail of the data. When done automatically, the system userid would be used in the lock table witha  timestamp.
    I am needing to know if there are anyother steps involved in locking data other than writing to the SQL lock table. Is usppose this is especailly relevant when locking a parent and pushing the status to the children.

Maybe you are looking for

  • Explorer crashes iphone movies

    Hi I transferred photos and movies from iphone to PC. when trying to reorganise the files I get the following message and error. 'COM Surrogate has stopped working' Problem signature:   Problem Event Name: APPCRASH   Application Name: DllHost.exe   A

  • Which wi-fi speakers are recomended for MacBook Air

    Which wi-fi speakers are recomended for MacBook Air?

  • Hidden Photos Bug

    I'm having a problem with hidden photos in iPhoto. I have some events where certain photos within the event are hidden, and some events in which every photo is hidden, effectively hiding the whole event. When I enable viewing of hidden photos, the ph

  • Playing content from a USB stick on an Edge 340

    Is it possible to have an Edge 300 or 340 play content from a USB stick?  This works on DMP 4310s but wondering if this is possible with an Edge device?  Have a customer that uses digital signs but can't always have network connectivity so places vid

  • Direct creation of transports in satellite system after CHARM

    Hi All, I have a quick question: Can we create new transport requests into satellite system directly, when CHARM is enabled for them. Or the transports can only be created through CHARM? Appreciate your response.. Regards, Smita