PO logic issue

HEllo
There is a requirement when PO is saved the system should check the drawing status of the material in Material master and block PO creation accordingly
Question:
The drawing status is not captured in MARA table and seems to linked with DMS.
Can anyone help me out with the link between DMS table (DRAW/DRAD etc) and material master.
Moderator message: priority normalized
Regards
Avinash
Edited by: Jürgen L. on Jan 16, 2012 2:05 PM

Hi,
try this
read following link and found out the table and table abap consultant help for same
[http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-ALVtodisplayimageusingDocumentManagement+System]
Regards
kailas Ugale

Similar Messages

  • Internal table logic issue

    Hi All,
    I have one logical issue related to internal table manipulation.
    I have one internal table :
    I_DAT - This is related to Loading/Unloading of Goods.
    for example with 3 fields
    VSTEL, KUNNA, KMMANG.
    Now suppose my data looks like this after sorting:
    VSTEL   KUNNA    KMMANG
    100       -        -
    200       -        -
    300       -        -
    400       -        -
    -         500      X
    -         600      X
    -         700      X
    -         800      X
    Here 100,200,300,400 are Loading points.
    ANd 500,600,700,800 are unloading points.
    Now what i want is For loading & Unloading points i need to pick up Address and print one after other.
    But how they need to print is:
    FOR INITIAL LOADING OF
    ADDRESS- For 100
    FIRST STOP: FOR LOADING OF
    ADDRESS- For 200
    SECOND STOP: FOR LOADING OF
    ADDRESS- For 300
    Etc .....
    Then
    FOR UNLOADING OF:
    ADDRESS- For 400
    FIRST STOP: FOR UNLOADING OF
    etc.
    FINAL STOP: FOR FINAL UNLOADING OF
    We might get as many records :
    Can any body give me the logic:
    Printing Address is not a problem:
    But Above every address we need to print FIRST STOP, SECOND etc like that.
    For this i need logic.
    Can anybody give the solution!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Try this.I think you want output like this......
    DATA: BEGIN OF LINE,
            CARRID   TYPE SBOOK-CARRID,
            CONNID   TYPE SBOOK-CONNID,
            FLDATE   TYPE SBOOK-FLDATE,
            CUSTTYPE TYPE SBOOK-CUSTTYPE,
            CLASS    TYPE SBOOK-CLASS,
            BOOKID   TYPE SBOOK-BOOKID,
          END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE WITH UNIQUE KEY TABLE LINE.
    SELECT CARRID CONNID FLDATE CUSTTYPE CLASS BOOKID
           FROM SBOOK INTO CORRESPONDING FIELDS OF TABLE ITAB.
    LOOP AT ITAB INTO LINE.
      AT FIRST.
        WRITE / 'List of Bookings'.
        ULINE.
      ENDAT.
        AT NEW CARRID.
          WRITE: / 'Carrid:', LINE-CARRID.
        ENDAT.
          AT NEW CONNID.
            WRITE: / 'Connid:', LINE-CONNID.
          ENDAT.
            AT NEW FLDATE.
              WRITE: / 'Fldate:', LINE-FLDATE.
            ENDAT.
              AT NEW CUSTTYPE.
                WRITE: / 'Custtype:', LINE-CUSTTYPE.
              ENDAT.
                   WRITE: / LINE-BOOKID, LINE-CLASS.
                AT END OF CLASS.
                  ULINE.
                ENDAT.
    ENDLOOP.
    This is also helpful......
    LOOP AT <itab>.
      AT FIRST. ... ENDAT.
        AT NEW <f1>. ...... ENDAT.
          AT NEW <f2 >. ...... ENDAT.
              <single line processing>
          AT END OF <f2>. ... ENDAT.
        AT END OF <f1>. ... ENDAT.
      AT LAST. .... ENDAT.
    ENDLOOP.
    Regards
    Abhishek

  • Logic issues for manipulation of internal table data

    Hi,
    I am having a issue with logic of one program.
    In the <b>XVBAP</b> internal table of <b>SO</b> User Exit.
    We will have fields like
    <b>UPDKZ, POSNR, UEPOS, ZZECD[Z-Field] etc.</b>
    Above fields are related to logic.
    1. Now my first point is:
    <b>We need to capture Records where UPDKZ='D' and ZZECD[Z-Field] is populated.</b>
    For this we will write code as below:
    <b>LOOP AT XVBAP WHERE UPDKZ     EQ C_D   AND
                        ZZECD     NE SPACE.
    Here we will store all fields in I_XVBAP I.Table
    ENDLOOP.</b>
    Supoose we have retrieved records as below:
    <b>VBELN, UPDKZ, POSNR, UEPOS, ZZECD
    100    D   000040   000030 Text1
    100    D   000050   000020 Text2
    100    D   000060   000000 Text3</b>
    2. My second point here is:
    <b>For Every Item[POSNR] we need to get the Higher level item from UEPOS field, If the Higher level Item also has UPDKZ = ‘D’, then move the base unit and all it’s components into an internal table. continue this process till UEPOS for POSNR is 000000 but High item should have UPDKZ = 'D', not only this all items in this chain should have UPDKZ = 'D'.</b>
    Ex:
    <b>Suppose for item 000050 UEPOS is 000020 then goto XVBAP with POSNR = UEPOS[000020] and UPDKZ = 'D' if yes and then pick up UEPOS for 000020 item and continue this process till UEPOS becomes 000000 and UPDKZ = 'D'.
    Here from Low level to High level all the chain items should have UPDKZ = 'D'. Then only write all items into Final Internal table.</b>
    <b>Need to do this process for all above rec's [40,50,60 - POSNR].</b>
    Can anybody provide me the logic for the above scenario.
    Thanks in advance.
    Thanks and Regards,
    Deep

    Hi Anurag,
    Your assumption is wrong.
    See first when we get into our logic we will get <b>XVBAP</b> data as below:
    <b>VBELN, POSNR, UEPOS, UPDKZ, ZZECD
    100,  10,  00,  D,  Text1
    100,  20,  00,   ,  Text2
    100,  30,  20,  D,  Text3
    100,  40,  30,  D,  Text4
    100,  50,  00,   ,  Text5
    100,  60,  00,   D, Text6
    100,  70,  60,   D, Text7</b>
    After we run first point we will get data as:
    Here logic is pick up data where <b>UPDKZ = D</b> and <b>ZZECD NE SPACE</b>.
    <b>VBELN, POSNR, UEPOS, UPDKZ, ZZECD
    100, 10, 00, D, Text1
    100, 30, 20, D, Text3
    100, 40, 30, D, Text4
    100, 60, 00, D, Text6
    100, 70, 60, D, Text7</b>
    Then we will goto second point:
    Here we need to look into <b>3</b> things totally in 2nd point:
    1. In loop Select the record which has <b>UEPOS EQ space</b>, <b>UPDKZ = D</b> and <b>POSNR</b> should not be <b>UEPOS</b> for any other record from above data from 1st point.
    <b>100, 10, 00, D, Text1</b>
    will be selected into final internal table as per this point.
    2. If for a POSNR value UEPOS NE SPACE, UPDKZ = D then goto UEPOS's POSNR in high level check there if UPDKZ = D and then wether UEPOS is ZERO (or) contains any value.
    If any value is there repeat the process till UEPOS become ZERO. Then for that final higher level item check UPDKZ value if it has value as 'D', If has then write all those records from low item to high item into final internal table.
    <b>100, 60, 00, D, Text6
    100, 70, 60, D, Text7</b>
    In above for Item 70[POSNR] we have UEPOS as 60 and UPDKZ as D. then we will goto UEPOS's POSNR, Now POSNR is 60 then check it's UEPOS it is ZERO so check UPDKZ because it is D write both items 60, 70 into final internal table.
    2. If for a POSNR value UEPOS NE SPACE, UPDKZ = D then goto UEPOS's POSNR in high level check there if UPDKZ = D and then wether UEPOS is ZERO (or) contains any value.
    If any value is there repeat the process till UEPOS become ZERO. Then for that final higher level item check UPDKZ value if it has value as 'D', If it does not have  UPDKZ as 'D' then don't write any item from low to high into final internal table.
    If we take the scenario of below rows:
    <b>100,  20,  00,   ,  Text2
    100,  30,  20,  D,  Text3
    100,  40,  30,  D,  Text4</b>
    POSNR-40 has UEPOS-30 & UPDKZ = D then UEPOS's POSNR-30 has UEPOS-20 and UPDKZ-D then UEPOS POSNR-20 has UEPOS as 00 then stop here and see UPDKZ which is ZERO so don't consider items 20,30,40 into final i.table.
    In the above chain in any record UPDKZ is not 'D' then skip the process anddon't write the records into final internal table.
    Final output will come as:
    <b>100, 10, 00, D, Text1</b>
    <b>100, 60, 00, D, Text6
    100, 70, 60, D, Text7</b>
    Thanks for all your efforts.
    Thanks,
    Deep

  • Logic issue with MS Band Sleep Tracking

    If I do a both ends of the candle night, so hit the sack at 2am on the 10th of the month, then try to make amends that night by turning in at 10pm then the Band tracker records this as no sleep at all on the 9th, but 2 sleeps on the 10th. Well that just
    nonsense. The logic isn't hard and I can guarantee the dev team understand. So this is BUG and it would be rather nice to see it fixed before Azure ML gets confused about my sleep patterns and predicts my early demise.

    I have had the exact same problems, only I have not cycled so I can't relate to that complaint.  I have had an issue with my units of Distance now displaying incorrectly.  Prior to last week, my units were in Miles, and now they are in Kilometers.  I don't see anywhere to change that in the Settings.
    Also, I contacted Joe in Support yesterday, and he had me reset my SmartBand and my phone (equivalent of rebooting) to see if that fixed anything.  It did not.  Then he instructed me to uninstall the Sony Apps on my phone, and re-install them.  I did that, and it worked temporarily.  All my historical data was now displaying correctly, until this morning when I woke up, and my sleep is back to being > 100 hours for last night, but my historical data still seems to be fine.  The problem seems to be during the initial capture of the data.  When I am on my timeline and I move the time forward, at midnight, the increments increase exponentially, rather than normal speed.  Prior to midnight, all is fine.
    I have a Nike+ Fuel Band and got the Sony SWR10 primarily for Sleep Monitoring.  Now I am unable to do anything with the data because it is not accurate.  Also, I'm an avid runner and would appreciate the ability to change from KM back to Miles...this is a basic necessity.
    Thanks,
    Chad
    Atlanta, GA

  • Logic issue with MIDI

    Having an issue in Logic.
    Ive been using a MOTU 828 audio interface and a MOTU midi express 128.
    Recently, I opened logic getting ready for a session and this popped up:
    Instrument "Profire 2626" sends to a MIDI port named "Profire 2626" of MIDI interface "Profire 2626" which no longer exists.
    Please check if all MIDI interfaces are connected and switched on; otherwise adjust the instruments MIDI out port setting.
    I am no longer using a profire, so I dont know why logic is saying this.
    I just produced music a few weeks ago and havn't touched one cable in my set up.
    Please help thank you!
    SIMOOL

    Did you open a project that referenced that MIDI port on one of the MIDI tracks? If so, find the tracks that references the Profire, change them to your current setup and resave. Also check the Environment for any references to Profire.
    Check Audio-MIDI Setup and make sure the Profire is not still listed on the MIDI setup page, if so delete it.
    Control Surfaces, make sure it's not listed as a Device in the Setup area. Go to Preferences/Control Surfaces and click the Setup button.

  • SAP BPC 5.1 Script Logic Issue

    Hi Guys,
    I have a problem with Inventory Days script logic at the moment. Basically what the logic should do is:
    1. Copy the required data across to a calculation category (SQL)
    2. Calculate the last 12 months Cost of Sales for every entity in the selection for 3 years (MDX)
    3. Use the Cost of Sales number and multiply it with the inventory days number (SQL)
    The calc works fine for some of my smaller brands (200 - 500 entities),  but when i run the logic for my big brand (2000 entities) the last step doesn't calculate correctly. I have done the following to try and fix the problem.
    1. Every step has it's own COMMIT
    2. I clear the data before writing anything
    3. I use XDIM_MAXMEMBERS Entity = 500
    Any ideas why the logic is acting like this? I don't know if I am allowed to post my code here, but if it will help i will
    Regards,
    Andries van den Berg

    Hi,
    I only sent you the step that is giving me a problem at the moment. I broke the logic up into different packages to check where the problem lies and narrowed it down to this one.
    It seems like the code didn't copy across correctly, it is supposed to be when EXTRAP.BRAND "<>" "". I'll just paste the code again, just so that we are all on the same page.
    Regarding the FAC2, the client was running the code a lot of times and the WB table was getting huge. So, i started posting the records to the FAC2 table and processing it in the SSIS package. And i did confirm that they are posting there.
    I just tried to run the script for half of the entities and it didn't work. I then tried to run is for 25 entities and it worked. Could the *XDIM_MaxMembers Entity =  50 be giving me the problem? This is all i get over and over in the formula log:
    RPTCURRENCY,ACCOUNT,CATEGORY,DATASRC,ENTITY,INTCO,TIME,SIGNEDDATA
    LC,80500,BUDGET,INPUT,P71559,NON_INTERCO,2010.AUG, 0
    The other thing that bugs me is that i have similar script that never gives me issues for the same client.
    Regards,
    AvdB
    //Step 4 -- Calculate the Inventory per month for all the entities selected
    *SELECT(%BUDGET_YEAR1%,"[BUDGET_YEAR1]","CATEGORY","[ID]='BUDGET'")
    *SELECT(%BUDGET_TIME_SET1%,"[ID]","TIME","[YEAR]=%BUDGET_YEAR1% AND [CALC] = 'N'")
    *SELECT(%BUDGET_YEAR2%,"[BUDGET_YEAR2]","CATEGORY","[ID]='BUDGET'")
    *SELECT(%BUDGET_TIME_SET2%,"[ID]","TIME","[YEAR]=%BUDGET_YEAR2% AND [CALC] = 'N'")
    *SELECT(%BUDGET_YEAR3%,"[BUDGET_YEAR3]","CATEGORY","[ID]='BUDGET'")
    *SELECT(%BUDGET_TIME_SET3%,"[ID]","TIME","[YEAR]=%BUDGET_YEAR3% AND [CALC] = 'N'")
    *XDIM_Memberset Time = %BUDGET_TIME_SET1%,%BUDGET_TIME_SET2%,%BUDGET_TIME_SET3%
    *XDIM_Memberset Category = TOPDOWN, BUDGET
    *XDIM_Memberset Entity = %Entity_Set%
    *XDIM_MaxMembers Entity =  50
    *XDIM_ADDMemberset ENTITY = CLKS,MUS,BS // Add global entities
    *XDIM_Memberset ACCOUNT = Last12FSCoS,Last12DispCoS, InventoryFSDays, InventoryDispDays  //Add the caculated CoS account from the previous step and the Global Driver for days
    *WHEN ENTITY.EXTRAP_BRAND
    *IS <> ""
    *WHEN CATEGORY
    *IS TOPDOWN
                       *REC(EXPRESSION=(GET(ACCOUNT="Last12FSCoS",CATEGORY="TOPDOWN")*GET(ACCOUNT="InventoryFSDays",ENTITY=ENTITY.EXTRAP_BRAND,CATEGORY="BUDGET")/365)*-1,NOADD,ACCOUNT="80500",CATEGORY="BUDGET")
                       *REC(EXPRESSION=(GET(ACCOUNT="Last12DispCoS",CATEGORY="TOPDOWN")*GET(ACCOUNT="InventoryDispDays",ENTITY=ENTITY.EXTRAP_BRAND,CATEGORY="BUDGET")/365)*-1,NOADD,ACCOUNT="80510",CATEGORY="BUDGET")
    *ENDWHEN
    *ENDWHEN
    *WRITE_TO_FAC2
    *COMMIT

  • Opebal script logic issue

    Hi All
    The below logic is used to calculate opening and closing balances.
    The logic works fine for 1st month.
    ex: for acct TI if i capture 2 in my first month and run the logic its posts closing bal for 1st mnth as 2 which is right
    and from feb to dec it posts opening bal as 2 which is right.(we run for whole year)
    But for acct To if i capture 5 in 2nd month and run the logic its posting wrong opening bal for accout chc.
    for feb my opening bal should be 2. it showing as 7.
    please tell me where i am doing wrong.
    i cann't use calc_dummy_org.
    *SELECT(%Year%,"[YEAR]","Z_Version","[ID]='BUD'")
    *SELECT(%Months%,"[ID]","Z_Time","[YEAR]=%Year% AND [LEVEL] = 'MONTH'")
    *XDIM_MEMBERSET Z_TIME=%Months%
    *XDIM_MEMBERSET Z_VERSION = BUD
    *XDIM_MEMBERSET EB_DATASOURCE = MANUAL
    *XDIM_MEMBERSET EB_ACCT = CHC,TI,TO,AP,RT
    *XDIM_MEMBERSET Z_CC = DEF_CC
    *XDIM_MEMBERSET Z_PCC = PCC_DEF_CC
           *WHEN EB_ACCT
               *IS CHC,TI,TO,AP,RT         
                  *FOR %MonthCopy% = %Months%
                      *REC(FACTOR=1,EB_ACCT="CHC",Z_TIME=TMVL(1,%MonthCopy%))
                   *NEXT
            *ENDWHEN

    Nilanjan,
    Thanks for your prompt reply as always.  Somehow I was able to get this thing working, please don't ask me how.  It was just a piece of bigger logic code. 
    I have awarded you full points..
    Thx,
    Rockdy

  • Logic issue with Internal Table

    Hi All,
    I have an internal table with following structure.
    Name of Internal table: ITAB
    Fields:   userid      login date     number
    Values:  abc         01012008    
                 abc         02012008
                 abc         02012008
                 abc         03012008
    Now i should store the value for the field itab-number, based on the ita-logindate.
    If the field logindate is having same date for 2 times (for the user 'abc'),
    the field itab-number should have the value as '2' .
    Basically i want to display a report to show how many times a user has logged into SAP system for a given date.......
    How to incorporate this logic?
    Regards
    Pavan

    Hi,
    Use the below logic.
    data: begin of itab1 occurs 0,
           uid  like sy-uname,
           date like sy-datum,
          end of itab1.
    data: begin of itab2 occurs 0,
           uid  like sy-uname,
           date like sy-datum,
           count type i,
          end of itab2.
    data v_count type i.
    start-of-selection.
    itab1-uid = 'abc'.
    itab1-date = '20080101'.
    append itab1.
    itab1-uid = 'abc'.
    itab1-date = '20080102'.
    append itab1.
    itab1-uid = 'abc'.
    itab1-date = '20080102'.
    append itab1.
    itab1-uid = 'abc'.
    itab1-date = '20080103'.
    append itab1.
    itab1-uid = 'abc'.
    itab1-date = '20080104'.
    append itab1.
    sort itab1 by uid date.
    loop at itab1.
    v_count = v_count + 1.
    at end of date.
    itab2-uid = itab1-uid.
    itab2-date = itab1-date.
    itab2-count = v_count.
    append itab2.
    clear  v_count.
    endat.
    endloop.

  • Boolean Logic Issue

    I have 2 sensors in a system.
    Items pass these sensors.
    First is an inductive sensor and only activated by a passing metal object, which is what we want.
    Second is an IR Through Beam - if the Inductive sensor activates it means a metal object has passed so the second IR Through beam is redundant in that case
    If the IR Through Beam is broken and the Inductive HASN'T been activated, it means the passing object isn't metal (in this case it's plastic).
    So if Inductive is (A) and IR is (B)
    Metal:
    (A) will activate on its own very briefly
    (B) activates also
    (A) deactivates
    (B) still activated on its own for a very brief period
    (B) deactivates
    Plastic:
    (B) activates on it's own
    (B) deactivates
    I've knocked up a VI and Metal is easy enough - if (A) is activated, using an implies and not gate, I can make sure only once it enqueues 'metal'
    But for the Plastic on, it works most of the time, but sometimes puts 'reject' onto the queue when a metal passes - i'm assuming that because of the subVI iterating quickly and the period when (B) remains on alone, this somehow picks it up as plastic.
    Can anyone see where i'm going wrong?
    Cheers
    without getting this first bit right I can't sort the second inspection part as it relies on a successful decision from the first section to fully assertain what to do at the reject area following - nightmare!
    Attachments:
    InspectionArea.vi ‏52 KB

    Hi there tbob
    the VI is a subVI in a while loop, along with other subVIs, so the frequency of the code running has been ok - it's in a loop with a 100ms delay - all these 6 subVIs seem to run as expected and are doing ok in that respect (as far as I know )
    I'll try to answer your questions now........
    ' Could you explain what is your desired end result?'
    Basically, there are 4 sensors along a conveyor belt, split into 2 groups of two. The first two are an inductive and infra-red through beam, the second two are an infra-red reflective sensor and a large capacitive sensor (I have attached a photo of the two sections in question to get a feel for it - conveyor goes left to right - if, as you can see, a metal based object passes the left section, it activates the inductive sensor (the blue one), then the infra-red beam (the bit under the blue frame) is broken shortly after (so now both sensors are active), then the trailing edge of the metal peg leaves the field of the inductive sensor and the inductive sensor deactivates - and now the infra-red through beam is still broken momentarily before the metal object fully passes. If it was a plastic ring passing (a plastic ring can just be seen in the assembly hopper on the far left of the picture), the inductive sensor would not be activated, with only the IR through beam being broken. One problem I was getting is that sometimes a passing metal is getting put down as both metal and plastic - presumably due to the last part where only the IR through beam is broken.
    'Do you want to put reject in the first queue if the object is non-metal and put metal base in the second queue if the object is metal?'
    Yes and no...............either 'reject' or 'plastic base' (the wording is inconsequential I suppose) onto the first queue for non-metal and 'metal-base' onto the first queue instead for metal (I am using the second queue for the second stage of the inspection as can be seen just after on the picture.
    'Also, does the conveyor belt run such that one object passes both sensors before the next object gets to the first sensor, or can you have a case where you have objects at both sensors at the same time.'
    The way it works with the spacing of objects as they are fed into the machine (there is a chain conveyor with uniform spacing, as can be seen in the background), only one object should be in the field of these sensors at a time BUT there is always the risk that something could be placed on manually and cause that situation to be true - that's all part of a final critical evaluation I suppose - not being able to properly identify anything in the system, only 'assuming'.
    I think the question about the loops shouldn't be an issue - the profiling suggests not
    sorry, i've waffled a bit there - think that answers everything!
    thanks
    Attachments:
    Inspection.jpg ‏57 KB

  • Logic issue with audio and instrm tracks!

    Hi!
    Iam old Cubase user And i didnt see THAT on Cubase
    When i cut a part of audo region or close the end by draging bottom corner of region,it play anyway on empty space
    Any ideas?

    or.. did you mean that after you've cut audio, and you hit play, you still hear something playing even when visually, the timeline bar shows that there should be silence at that point? if so, this could be something to do with plug in delay compensation.. the visual representation of your arrange window is slightly out of sync with what you are hearing. I think I've seen this happen before in logic under certain conditions, but I'm not sure exactly when. it could be something to do with PDC as I mentioned, so look into that.

  • ALLOCATION LOGIC Issue

    Hi,
         I have a scenario where I need to do allocation from one account to multiple accounts.  I have data for DEC.2009 for Account :017, Costcenter1  in ACTUAL(10,000) and I want to allocate the data to DEC.2010 to all accounts(015,016,017) to all cost centers under the parent CostCenter Group1 based on the actual history data posted to account(015,016,017)  and cost centers (1,2 & 3) for Dec 2009.
    Account :
    Account Dimension :
       AIRTRAVEL (Parent)
               015
               016
               017   (Eg: 10,000$)
    Entity Dimension(Cost Center Group 1)
    Cost Center Group 1
          1
          2     
          3
    ACTUAL : 2009. DEC
      Accounts                   015       016            017      AIRTRAVEL(Parent)
    CostCenter1       1,000       6,000       10,000       (17,000)
    CostCenter2       2,000       6,000                        (8,000)
    CostCenter3       5,000       8,000       9,000       (22,000)
    CCenterGroup 1 8,000       20,000       19,000       (47,000)
    *XDIM_MEMBERSET TIME = 2009.DEC,2010.DEC
    *XDIM_MEMBERSET D_ACCT = AIRTRAVEL
    *XDIM_MEMBERSET D_VERSION  = PLAN,ACTUAL
    *XDIM_MEMBERSET D_COSTCENTER  = CC_GRP1
    *RUNALLOCATION
    //    *FACTOR = USING/TOTAL
        *DIM D_ACCT  WHAT= 017;   WHERE=BAS(AIRTRAVEL);  USING=BAS(AIRTRAVEL)
        *DIM D_COSTCENTER  WHAT=150027;   WHERE=BAS(CC_GRP1);  USING=BAS(CC_GRP1);
        *DIM TIME          WHAT=2009.DEC; WHERE=2010.DEC;  USING=2009.DEC; TOTAL=<<<
        *DIM D_VERSION     WHAT=ACTUAL;   WHERE=PLAN;  USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    *COMMIT

    Thanks Gersh for  your detailed response.
    I have updated my logic to
    *RUNALLOCATION
        *FACTOR = USING/100
        *DIM D_ACCT  WHAT= 017;   WHERE=BAS(AIRTRAVEL);  USING=<<<; TOTAL=<<<
        *DIM D_COSTCENTER  WHAT=150027;   WHERE=BAS(CC_GRP1);  USING=<<<; TOTAL=<<<
        *DIM TIME          WHAT=2009.DEC; WHERE=2010.DEC;  USING=2009.DEC; TOTAL=<<<
        *DIM D_VERSION     WHAT=ACTUAL;   WHERE=PLAN;  USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    *COMMIT
    If I use the *FACTOR , I am getting a shortdump and thats the reason I had to comment the factor. So not sure if there is a problem with our system and I need to open a support message or need to update the script logic. If I comment the factor, then the logic is updating all the Costcenters and all the accounts with 10,000.
       Account
    CC1 10,000       10,000       10,000       (30,000)
    CC2 10,000       10,000       10,000       (30,000)
    CC3 10,000       10,000       10,000       (30,000)
            30,000       30,000       30,000       (90,000)
        What I am expecting is  All the accounts (1,2 & 3) for each cost center should be added and each account's percentage would be account/all acount total for each cost center.
    From my actual data
    ACTUAL : 2009. DEC
    Accounts      015       016      017      AIRTRAVEL(Parent)
    CostCenter1       1,000       6,000       10,000       (17,000)
    CostCenter2       2,000       6,000                        (8,000)
    CostCenter3       5,000       8,000       9,000       (22,000)
    CCenterGroup 1 8,000       20,000       19,000       (47,000)
    Account 015 for costcenter should have a percentage    1000/8000 , so that would be 0.125 and the allocation amount is 10,000, so the output plan value should be 0.125 * 10,000 = 1250
    Thanks,

  • Default logic issue

    Hello friends,
    Here is the scenario:
    I am using logic by in default - Datasrc and time dimensions. There is one specific data src COD that calls logic CODCall.lgf. Now CODcall.lgf has 2 include statements:
    *INCLUDE AFCST.LGF
    *INCLUDE FCBDGT.LGF
    AFCST runs fine when data is being loaded through data manager package, but FCBDGT wont work. Any suggestions on why?

    Hi,
    The purpose of the INCLUDE ABC.LGF statement is to copy the code from the script in ABC to the calling script. So, if ABC is working fine, your calling script should also be fine.
    You need to check the code in ABC to see if there is any problem in that logic.
    Hope this helps.

  • NW BPC7.5 Allocation logic issue

    Dear all,
    I have an allocation logic for OPEX on diffrent entities
    *FOR %CURRACCT%=BAS(P0000011)
    *RUNALLOCATION
    *FACTOR=USING/100
    *DIM P_ACCT WHAT=%CURRACCT%; WHERE=%CURRACCT%; USING=OPEXSHARE
    *DIM P_DataSrc WHAT=MANUAL; WHERE=MANUAL; USING=GLOBALASSUMPTIONS
    *DIM P_ENTITY WHAT=C001; WHERE=C002; USING =C002
    *DIM P_CostCtr WHAT=100010; WHERE=200010; USING=100010
    *ENDALLOCATION
    *NEXT
    the logic validated is succesflly.
    The problem is when ever i enter data in any of the account in BAS(P0000011) , the data is allocating all the members of BAS(P0000011).
    My requirement is for which account i enter data allocate to the specific account under BAS(P0000011) based on company allocation rate.
    Please help on it.

    Sorry, I mis-read your script. I tough that you have a FOR/NEXT loop an base-members of P0000011. I don't see what your FOR/NEXT loop is doing in that form. Definitely it will take from total of all accounts under P0000011 and post it to ALL of them; and this IS were MS and NW versions are different.
    If you want to allocate data from 1 Account under P0000011 to same account, you should define a variable that is a list of BAS(P0000011)  account and use that variable in FOR/NEXT loop. This way ALLOCATION will take amount only form that Account and post it to same account without touching other accounts.
    Gersh

  • SP 12 upgrade and script logic issue

    Hi All,
    We upgraded to BPC 10 SP 09 to SP 12. The system was stable for some days but after 15 days it seems like script logic has got corrupted.
    Please find the images below, Any ideas what is the problem

    Hello,
    Please clarify what you mean by copy, did you copy the script (text) from one open client session to another or did you use back up and restore to copy the environment or any other method.
    I recommend checking if this is a client or server side problem.  You can verify this either by opening the logic on a different client machine or by checking the logic directly on the server using UJFS.
    If this has occurred on the server level I recommend just rewriting the content, through BPC web client, validate and save again and check if that fixes the problem or if the problem occurs again. 
    Best Regards,
    Leila Lappin

  • EW Hollywood Strings and Logic issues

    I've just bought EW Hollywood Strings and when I try enable it in Audio unit manager is keep coming up with Validation crashed. What am I doing wrong?

    Uninstall everything (EWQL and Hollywood) and reinstall just the PLAY Audio Unit. Then load Logic and authorize with your iLok or over the net, then close Logic and install Hollywood strings.
    I did this with Platinum Pro, what caused it for me was installing PLAY with Logic open at the time.

  • Mach 5 with Logic Issues...

    I'm curious to know if anyone is experience sound drops with Mach 5 in Logic?
    If so, what are you doing to combat it if you can?
    It appears as if MOTU and Apple are not making mach 5 compatiblewith Logic for biz purposes. That blows

    go in to the au manaager and make sure there's a check next to mach5

Maybe you are looking for

  • How to delete backed up files from Time Capsule in Lion.

    Since I upgraded to Lion I have been unable to delete old backed up items in Time Machine. I use Time Capsule and previously with Snow Leopard I could right click on a file and choose to delete all copies of the file. The option to do that is no long

  • Item text not appearing in Fbl3n

    Hi, Some documents are posted in GL. While running fbl3n for that GL, in the text column item text is not showing. But in FB03 the line text is showing correctly. If anyone can let me know the reason for the same. Regards, Kedar

  • Anyway to view file path?

    Is there anyway to show the file path for referenced images? I know I could use "show in finder", but that's rather tedious and not possible at all when my external drive is not connected. I have a lot of images with the same name in my archives, and

  • Profiles in New Airport Express Base Station

    How do I set profiles in the new Airport Express (802.11n) base station. I checked every tab in Airport Utility but couldn't find it.

  • How do i return a osprey wifi device

    hi,  I spoke to ee custumer service yesterday and they said it was fine to return it but i thought they said that i would get an email with the return address seing as i get the device from a call and not from a shop. Is there a return address i send