SSAS 2012 - Bring in Sold to Customer and measure - query returns in 1 second - add in ship to query stalls

I have a star schema that has the Customer Dim hooked to the invoice fact 3 times.  Aliased Sold to, Ship to and End user.  I pull Sold to name into excel and any measure and the query returns almost instantaneously.  I pull the ship to name
in and the query stall and never finishes.  The Customer dim has 80k records, but only 3000 or so with results for invoices. 
thanks

I would delete and re-add the relationships on the Dimension Usage tab, the reprocess everything FULL first dimensions then Cube.  What you are seeing is pretty weird, so I'd want to make sure it's nothing nebulous..
Then I would look at profiler and see what the heck it is doing that is taking so long.  Sorry I don't have an exactly answer, at this point I would need to poke around and get some more information/ideas.
Just to be clear, you are using SSAS multidimensional?
-Ken

Similar Messages

  • How to control the finished goods that have already sold to customer

    Dear Gurus,
    I have a problem.
    In normal situation, SD process is....SO->DN->Post->Billing, after post the material, the goods won't exit in the plant anymore.
    But there is a special business mode.....
    After we sold to customer, and AR accounting document created...
    But NOW the finished goods still in our plant, we wanna manage the quantity in SAP,  is it possible?
    Thanks in advance.

    and AR accounting document created
    No it is not possible.  Once the customer is debited, you cannot show the inventory in the delivering plant which is logically wrong.
    G. Lakshmipathi

  • Sold-to Party and Customer Number

    Hi frnds,
        I need to know the relation ship between sold to party and customer number.I know that for a customer number there may be more than one ship to party.But i want to know whether there exist more than one sold to party for a customer number. And i had a confusion that the customer number is either sold to party or ship to party Please explain me.
    Thanks in Advance

    Hi Anand,
    Generally we have some Paarner Functionslike
    SOLD TO PARTY
    SHIP TO PARTY
    BILL TO PARTY and
    PAYER. These are the partner functions.
    If u look in to Table VBAK u can find the Field name KUNNR with the data element KUNAG ( Sold to Party ).
    Customer Number and Sold to party may be same in some scenarios.
    SOLD TO PARTY will be always ONE for one Customer Number
    Customer Number may to Sold to Party or Ship to Party depending on the scenarios and the  requirment
    Best regards,
    raam

  • Customer and sold.to.party field

    Hi,
    I have a question related to cproject I hope someone can help me.
    We would like to use customer and sold-to-party fields for a project. When we select these field , 'BP' values are retieved. We would like customer values ( data from ERP) are showed in this matchcode, Is this possible? ( link customer field to ERP).
    In the case only BP values can be retrieved from these fields, how can I difference from employee and customer?
    I'll appreciate any help!
    Thanks a lot,
    Sara

    Hi,
    The standard search help would show only the Business Partners for these fields. If you want to use these fields, you will have to create corresponding BPs for your customers.
    A work around for this would be to have  different number range / numbering convention for BP as customers and BPs as employees. For e.g. use C0XXXXXXXX for customers and use E0XXXXXXXXXX for employees.
    You may also check out the search criteria base on BP roles in the same search help as another work around.
    Let me know if this helps.
    Regards,
    Vivek

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • Sold to Party and Ship to party field are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • Sold to Party and Ship to party are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510
    Edited by: Lakshmipathi on Aug 4, 2011 4:30 PM
    Thread Locked - Reason Cross Posted

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • Sold to party and Ship to part y fields in VA01 disabled.

    01.10.2008
    Hi friends,
    In one of the client when i use transaction code VA01 for a particular document type i find the Sold to Party and Ship to party are greyed off. I am not able to enter any data into it.
    In the sand box the same document type works fine. How will i trace which transaction variant is linked which is disabling this fields. Please advise.
    Regards,
    udaynath.

    Hi Krishnan
    It is not the problem with the Document type.
    I think,you have not assigned the "Partner Type" to the "Partner Function".
    Just go to your Partner determination Procedure in IMG, go to  "Partner Function" folder in the dialog box.
    Select your Sold-to-party and assign the "Partner Type" KU (Customer) to it.
    Similarly assignthe Partner Type KU to your Ship-to-party and save it.
    Now, create an order and there will be no problem.

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • SSAS 2012 (SP2) - Connecting to a Named Instance in a Failover Cluster

    I posted this question some months ago and never got a resolution...still having the same problem. (http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4178ba62-87e2-4672-a4ef-acd970ac1011/ssas-2012-sp1-connecting-to-a-named-instance-in-a-failover-cluster?forum=sqlanalysisservices)
    I have a 3 node failover cluster installation (active-passive-passive) configured as follows:
    Node1: DB Engine 1 (named instance DB01)
    Node2: DB Engine 2 (named instance DB02)
    Node3: Analysis Services (named instance DBAS)
    Obviously, the node indicated is merely the default active node for each service, with each service able to fail from node to node as required.
    Strangely, when I attempt to connect to the SSAS node using the cluster netbios "alias" (dunno, what else it would be called, so I apologize if I am mixing terminology or somesuch), I am only able to do so by specifying the the alias _without_ the
    required named instance. If I issue a connection request using an external program or even SSMS using Node3\DBAS or Node3.domain\DBAS, it appears that the SQL Server Browser is offering up a bogus TCP port for the named instance (in my case TCP/58554), when
    in reality, the SSAS service is running on TCP/2383 (confirmed with netstat) -- which if I understand correctly after much, much reading on the subject is the only port that can be used in a failover cluster. In any case, I'm puzzled beyond words. As I think
    through it, I believe I've seen this issue in the past, but never worried about it since it wasn't necessary to specify the named instance when I had SSAS requirements... It's only a showstopper now because I'm finalizing my implementation of SCVMM/SCOM 2012
    R2, and for some strange reason the PRO configuration in VMM gets all butthurt if you don't offer up a named instance...
    Thank you much for reading. I appreciate any help to get this resolved.
    POSSIBLY NOT RELEVANT...?
    I've properly configured the SPNs for the SSAS service (MSOLAPSvc.3) and the SQL Browser (MSOLAPDisco.3), with the former mapped to the SSAS service account and the latter to the cluster "alias" (since it runs as "NT AUTHORITY\LOCALSERVICE"
    as is customary) and have permitted delegation on the service and machine accounts as required. So, I'm not getting any kerberos issues with the service...any more, that is... ;) I'm not sure that's important, but I wanted to be forthcoming with details to
    help solve the issue.

    When connecting to SSAS in a cluster, you do not specify an instance name.  In your case, you would use the name of the SSAS IP address to connect.
    See:
    http://msdn.microsoft.com/en-us/library/dn141153.aspx
    For servers deployed in a failover cluster, connect using the network name of the SSAS cluster. This name is specified during SQL Server setup, as
    SQL Server Network Name. Note that if you installed SSAS as a named instance onto a Windows Server Failover Cluster (WSFC), you never add the instance name on the connection. This practice is unique to SSAS; in contrast, a named
    instance of a clustered relational database engine does include the instance name. For example, if you installed both SSAS and the database engine as named instance (Contoso-Accounting) with a SQL Server Network Name of SQL-CLU, you would connect to SSAS using
    "SQL-CLU" and to the database engine as "SQL-CLU\Contoso-Accounting". See
    How to Cluster SQL Server Analysis Services for more information and examples.

  • Sold to party and Ship to party are the same but has different address

    Hi,
    I have problem here wherein Sales order has the same sold to party and ship to party but they have different address. When the customer master data is changed the sold to party in the sales order is also updated but the ship to party is not updated.
    I've checked the table VBPA and I noticed that the value of ship to party VBPA-ADRDA is 'E' (manually enetered).
    Is this the reason why the address of ship to party in sales order is not updated whenever the customer master is change?
    Another question, how does ship to party entered in sales order manually?
    Thanks in advance.

    Hi,
    Please correct me if I have understood the scenario incorrectly which I try to explain below:
    Sales order is created where SP and SH both have same address initially and while creating the SO, address of the SH was changed manually by Header>partners>SH
    Now master data for that customer is changed for address. As per the standard functionality of SAP, all sales order created for that customer will have new address for SP only.
    If address of SH needs to be changed in SO, it has to be done manually by the same way as explained in the above mails.
    As far as manually entering the SH in SO is concerned, system will automatcally selects the SH if only one record is available for SH. If you have specified more than one SH, system will give you an option to select one by displaying a pop up.
    Please let me know if you find this explanation suitable.
    Ravi

  • Report for Monthly Quantiy sold by Customer (SOLD TO PARTY)

    Hi Gurus
    I had asked this question many times but no answer I got from the forum , I want to create a report which should show quantity , uom sold to customer(sold to party) by each month and plant (werks).
    I want to display monthly sales in the report when plant and delivery date is selected ( month = jan,feb,mar,apr,may......) and each quantity must display under jan,feb,mar,apr respectively.
    Can anyone help me please , I am still struggling with this stuff.
    Thanks in advanced
    Regards
    PE

    Hi Aatish
    I have developed the report for monthlywise quantity sold to party
    but it is giving some trouble in the calculation where there is zero value it is taking the above value and displaying in the report but when I search individually with sold to party it is comming correctly
    can you check my source and comment on it please
    REPORT soldtoparty
    line-size  170
    line-count 65 no standard page heading.
    TABLES : kna1,VBRP,vbrk.
    DATA:BEGIN OF itab OCCURS 0,
    kunag like VBRK-KUNAG,
    name1  like kna1-name1,
    werks LIKE vbrp-werks,
    vbeln LIKE vbrp-vbeln,
    fkdat LIKE VBRK-FKDAT,
    vrkme LIKE vbrp-vrkme,
    fkimg LIKE vbrp-fkimg,
    total like vbrp-fkimg,
    END OF itab.
    DATA: BEGIN OF itab1 OCCURS 0,
    fkdat(2) TYPE c,
    kunag like VBRK-KUNAG,
    name1  like kna1-name1,
    werks LIKE vbrp-werks,
    vbeln LIKE vbrp-vbeln,
    vrkme LIKE vbrp-vrkme,
    fkimg LIKE vbrp-fkimg,
    total like vbrp-fkimg,
    END OF itab1.
    DATA : BEGIN OF itab2 OCCURS 0 ,
    fkdat like VBRK-FKDAT,
    fkimg like vbrp-fkimg,
    kunag like VBRK-KUNAG,
    name1  like kna1-name1,
    vrkme  like vbrp-vrkme,
    jan LIKE vbrp-fkimg,
    feb LIKE vbrp-fkimg,
    mar LIKE vbrp-fkimg,
    apr LIKE vbrp-fkimg,
    may LIKE vbrp-fkimg,
    jun LIKE vbrp-fkimg,
    jul LIKE vbrp-fkimg,
    aug LIKE vbrp-fkimg,
    sep LIKE vbrp-fkimg,
    oct LIKE vbrp-fkimg,
    nov LIKE vbrp-fkimg,
    dec LIKE vbrp-fkimg,
    TOTAL like vbrp-fkimg,
    END OF itab2.
    TOP-OF-PAGE.
      WRITE:/50(40) ' CUSTOMER SOLD BY QUANTITY' CENTERED   ,2 'Page', SY-PAGNO.
      WRITE:/50(40) '----
    ' CENTERED .
      FORMAT INTENSIFIED on.
      WRITE:/2 SY-DATUM COLOR 3, SY-UZEIT .
       "WRITE:/1 S903-SPMON ."p_yearf.
      ULINE.
      "CENTERED.
      skip.
      "FORMAT COLOR COL_HEADING.
      ULINE.
      FORMAT COLOR 3.
      WRITE:/1 SY-VLINE,
        0 'PARTY' ,10 SY-VLINE,
        11 'NAME' ,40 SY-VLINE,
        41 'JAN' centered  , 50 SY-VLINE,
        51 'FEB',60 SY-VLINE,
        61 'MAR',70 SY-VLINE,
        71 'APR',80 SY-VLINE,
        81 'MAY',90 SY-VLINE,
        91 'JUN',100 SY-VLINE,
        101 'JUL',110 SY-VLINE,
        111 'AUG',120 SY-VLINE,
        121 'SEP',130 SY-VLINE,
        131 'OCT',140 SY-VLINE,
        141 'NOV',150 SY-VLINE,
        151 'DEC',160 SY-VLINE,
        161'TOTAL',170 SY-VLINE.
      FORMAT COLOR 3 on.
      ULINE.
    END-OF-PAGE.
    data wa_itab1 like itab1.
    DATA : mm(2) TYPE c,
    value type p decimals 2,
    total type p decimals 2,
    sum1 type p decimals 1,sum2 type p decimals 1,sum3 type p decimals 1,
    sum4 type p decimals 1,sum5 type p decimals 1,sum6 type p decimals 1,
    sum7 type p decimals 1,sum8 type p decimals 1,sum9 type p decimals 1,
    sum10 type p decimals 1,sum11 type p decimals 1,sum12 type p decimals 1,
    sum13 type p decimals 1,
    t_s LIKE vbrp-fkimg.
    "g_total like vbrp-fkimg.
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    PARAMETERS: p_yearf TYPE SPMON,
    p_yeart type SPMON.
    SELECT-options:
                    p_kunag for VBRK-KUNAG , "no-extension no intervals,
                    s_werks for vbrp-werks no-extension no intervals obligatory,
                    s_vrkme for vbrp-vrkme no-extension no intervals obligatory.
    "p_matnr for vbrp-matnr no-extension no intervals,
    "p_augru for vbrp-augru_auft no-extension no intervals,
    "p_vbeln for vbrk-vbeln no-extension no intervals.
    RANGES : p_fkdat FOR sy-datum.
    RANGES: r_date FOR sy-datum.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    PARAMETERS: NRW RADIOBUTTON GROUP g1,
    MWD RADIOBUTTON GROUP g1,
    RWS RADIOBUTTON GROUP g1,
    EDU RADIOBUTTON GROUP g1,
    Standard RADIOBUTTON GROUP g1 default 'X'.
    SELECTION-SCREEN END OF BLOCK blk2.
    SELECTION-SCREEN END OF BLOCK blk.
    start-of-selection.
    break developer.
    case 'X'.
    when mwd.
    CONCATENATE p_yearf(4) p_yearf+4(2) '01' INTO p_fkdat-low.
    concatenate p_yeart(4) p_yeart+4(2) '01' into p_fkdat-high.
    p_fkdat-sign = 'I'.
    p_fkdat-option = 'BT'.
    CALL FUNCTION 'RE_LAST_DAY_OF_MONTH'
    EXPORTING
    i_datum = p_fkdat-high
    IMPORTING
    e_tt = p_fkdat-high+6(2).
    APPEND p_fkdat.
    *start-of-selection.
    SELECT *
    from VBRK
    INNER JOIN vbrp ON vbrk~vbeln = vbrp~vbeln
    INNER JOIN kna1 on vbrk~kunag = kna1~kunnr
    INTO corresponding fields of TABLE itab
    where
    vbrp~werks in s_werks and
    VBRK~KUNAG in p_kunag and
    VBRP~vrkme in s_vrkme and " 'M3' and
    VBRK~fkdat in p_fkdat order by KUNAG.
    *left outer join kna1
    **from S903 INNER JOIN kna1
    *ON VBRKKUNAG = kna1kunnr
    *INTO corresponding fields of TABLE itab
    *where
    *"vbrp~werks in s_werks and
    *VBRK~KUNAG in p_kunag and
    *VBRP~vrkme in s_vrkme and " 'M3' and
    *VBRK~fkdat in p_fkdat order by KUNAG.
    LOOP AT itab.
    mm = itab-fkdat+4(2). " Monthly for Ageing
    clear itab2.
    Read table itab2 with key KUNAG = itab-KUNAG.
    *IF SY-SUBRC EQ 0.                      " Record for Customer exists so modify existing record updating the quantities
         PERFORM itab2_rec USING 'M' mm.
      ELSE.                                  " Record for Cusotmer does not exist so Append a new record for Customer
         PERFORM itab2_rec USING 'A' mm.
      ENDIF.
    itab1-fkdat = itab-fkdat+4(2).
    *itab1-vrkme = itab-vrkme.
    itab1-KUNAG = itab-KUNAG.
    itab1-name1 = itab-name1.
    itab1-fkimg = itab-fkimg.
    APPEND itab1.
    clear itab1.
    ENDLOOP.
    SORT itab1 BY KUNAG fkdat name1.
    "delete adjacent duplicates from itab1.
    LOOP AT itab1.
    move itab1 to wa_itab1.
    AT NEW KUNAG.
    t_s = 0  .
    ENDAT.
    t_s = t_s + itab1-fkimg .
    AT END OF KUNAG.
    mm = itab1-fkdat.
    "break angle.
      IF SY-SUBRC = 0.                     " Record for Customer exists so modify existing record updating the quantities
    CASE mm.
                         " Record for customer does not exit so append a new record for customer
      WHEN '01'.
      itab2-jan = t_s  .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum2 = sum2 + itab2-jan.
      APPEND itab2.
      WHEN '02'.
      itab2-feb = t_s  .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum2 = sum2 + itab2-feb.
      APPEND itab2.
      WHEN '03'.
      itab2-mar = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum3 = sum3 + itab2-mar.
      APPEND itab2.
      WHEN '04'.
      itab2-apr = t_s  .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum4 = sum4 + itab2-apr.
      APPEND itab2.
      WHEN '05'.
      itab2-may = t_s.
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
       sum5 = sum5 + itab2-may.
      APPEND itab2.
      WHEN '06'.
      itab2-jun = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
      sum6 = sum6 + itab2-jun.
      APPEND itab2.
      WHEN '07'.
      itab2-jul = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum7 = sum7 + itab2-jul.
      APPEND itab2.
      WHEN '08'.
      itab2-aug = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
      sum8 = sum8 + itab2-aug.
      APPEND itab2.
      WHEN '09'.
      itab2-sep = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum9 = sum9 + itab2-sep.
      APPEND itab2.
      WHEN '10'.
      itab2-oct = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
        sum10 = sum10 + itab2-oct.
      APPEND itab2.
      WHEN '11'.
      itab2-nov = t_s .
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
      sum11 = sum11 + itab2-nov.
      APPEND itab2.
      WHEN '12'.
      itab2-dec = t_s.
      itab2-KUNAG = wa_itab1-KUNAG.
      itab2-name1 = wa_itab1-name1.
      itab2-total = wa_itab1-total.
      sum12 = sum12 + itab2-dec.
      APPEND itab2.
    itab2-total = itab2-jan + itab2-feb + itab2-mar + itab2-apr + itab2-may + itab2-jun + itab2-jul + itab2-aug + itab2-sep
    + itab2-oct + itab2-nov + itab2-dec .
    total = sum1 + sum2 + sum3 + sum4 + sum5 + sum6 + sum7 + sum8 + sum9 + sum10 + sum11 + sum12.
    IF MM = 'A'.  " Mode for Append
        APPEND itab2.
    ELSE.             " Mode for Modify
        itab2-KUNAG = itab1-KUNAG.
        itab2-name1 = itab2-name1.
        "MODIFY itab2 WHERE kunag = itab1-kunag.
    ENDIF.
    "loop at itab2  .
    on change of itab2-KUNAG." ,itab2-name1,itab2-jan,itab2-feb,itab2-mar,itab2-apr,itab2-may,itab2-jun,itab2-jul,itab2-aug,itab2-sep,itab2-oct.
              WRITE:/1 SY-VLINE,
                itab2-KUNAG   under   'PARTY' LEFT-JUSTIFIED ,0  SY-VLINE COLOR 2,
                itab2-name1   under     'NAME' LEFT-JUSTIFIED ,10 SY-VLINE,
                itab2-jan DECIMALS 1  under    'JAN' LEFT-JUSTIFIED,40 SY-VLINE,
                itab2-feb DECIMALS 1 under    'FEB' LEFT-JUSTIFIED,50 SY-VLINE,
                itab2-mar DECIMALS 1  under    'MAR' LEFT-JUSTIFIED,60 SY-VLINE,
                itab2-apr DECIMALS 1 under    'APR' LEFT-JUSTIFIED,70 SY-VLINE,
                itab2-may DECIMALS 1 under    'MAY' LEFT-JUSTIFIED,80 SY-VLINE,
                itab2-jun DECIMALS 1 under    'JUN' LEFT-JUSTIFIED,90 SY-VLINE,
                itab2-jul DECIMALS 1 under    'JUL' LEFT-JUSTIFIED,100 SY-VLINE,
                itab2-aug DECIMALS 1 under    'AUG' LEFT-JUSTIFIED,110 SY-VLINE,
                itab2-sep DECIMALS 1 under    'SEP' LEFT-JUSTIFIED,120 SY-VLINE,
                itab2-oct DECIMALS 1 under    'OCT' LEFT-JUSTIFIED,130 SY-VLINE,
                itab2-nov DECIMALS 1 under    'NOV' LEFT-JUSTIFIED,140 SY-VLINE,
                itab2-dec DECIMALS 1 under    'DEC' LEFT-JUSTIFIED,150 SY-VLINE,
                itab2-Total DECIMALS 1 under  'TOTAL' LEFT-JUSTIFIED,160 SY-VLINE COLOR 3,
                170 SY-VLINE COLOR 3.
                uline.
      "itab2-total = itab2-jan +value itab2-febitab3-maritab2-apritab2-mayitab2-junitab3-julitab2-augitab2-sepitab2-octitab3-nov+itab2-dec).
    "itab2-total = sum(itab2-jan)  .
    endon.
    "endloop.
    ENDCASE.
    ENDIF.
    "ENDFORM.
    ENDAT.
    ENDLOOP.
    ENDCASE.
    write:  sum1 DECIMALS 1  under    'JAN' LEFT-JUSTIFIED,40 SY-VLINE,
             sum2 DECIMALS 1 under    'FEB' LEFT-JUSTIFIED,50 SY-VLINE,
             sum3 DECIMALS 1  under    'MAR' LEFT-JUSTIFIED,60 SY-VLINE,
             sum4 DECIMALS 1 under    'APR' LEFT-JUSTIFIED,70 SY-VLINE,
             sum5  DECIMALS 1 under    'MAY' LEFT-JUSTIFIED,80 SY-VLINE,
             sum6 DECIMALS 1 under    'JUN' LEFT-JUSTIFIED,90 SY-VLINE,
             sum7 DECIMALS 1 under    'JUL' LEFT-JUSTIFIED,100 SY-VLINE,
             sum8 DECIMALS 1 under    'AUG' LEFT-JUSTIFIED,110 SY-VLINE,
             sum9 DECIMALS 1 under    'SEP' LEFT-JUSTIFIED,120 SY-VLINE,
             sum10 DECIMALS 1 under    'OCT' LEFT-JUSTIFIED,130 SY-VLINE,
             sum11 DECIMALS 1 under    'NOV' LEFT-JUSTIFIED,140 SY-VLINE,
             sum12 DECIMALS 1 under    'DEC' LEFT-JUSTIFIED,150 SY-VLINE,
             sum13 DECIMALS 1 under  'TOTAL' LEFT-JUSTIFIED,160 SY-VLINE COLOR 1.
    uline.
    regards
    Piroz

  • SSAS 2012 Tabular Error: The operation was cancelled because of locking conflicts

    I have a 800 mb SSAS database that I refresh(Process current day partition) every 30 minutes. As soon as the processing starts all my users get error The operation was cancelled because of locking conflicts. I ran the deadlocks trace as described in http://blogs.msdn.com/b/sql_pfe_blog/archive/2009/08/27/deadlock-troubleshooting-in-sql-server-analysis-services-ssas.aspx
    but all I see is the processing start and all the users getting the error ("The operation was cancelled because of locking conflicts") 22 mil sec after the processing starts.
    I also ran "select * from $system.discover_locks" but I only see lock types 2,4 and 8. None of which seem to be exclusive
    This is SSAS 2012 with sp 1
    Database Architect

    Hi Derek,
    According to your description, you get the dead lock error when processing partition. Right?
    In Analysis Services, this error occurs when lock manager detects a dead lock. Lock type 2,4 and 8 can also have two transactions waiting each other and cause deadlock. In this scenario, please check the Dead Lock Graph in SQL Profiler
    and find the related processes. Check what the processes work for to see if you need to do parallel processing or process other objects before partition processing.
    Best Regards, 
    Simon Hou
    TechNet Community Support

  • I cal apple from israel i say i gat i phone5 in the philippines and it stop working the say bring it to us apple and i gat ther the say sand it to hong kong ?

    i cal apple from israel i say i gat i phone5 in the philippines and it stop working the say bring it to us apple and i gat ther the say sand it to hong kong ?

    iPhone warranty is valid only in country of original purchase.
    If the iPhone was originally sold in the Philipines, it must be
    returned to there for repair/replacement. You must take it or
    send it to a friend/relative there to take to Apple repair in the
    Philipines. Apple does not accept international shipments for
    repair nor does Apple ship out of the country after repair.
    If Apple told you that the iPhone had to go to Hong Kong for repair,
    then the iPhone was originally sold in Hong Kong and then resold
    to you in the Philipines. In that case, take it to Hong Kong.

  • SSIS Connection Manager: MSOLAP100 where is the one for SSAS 2012 ?

    I have an SSIS project under SSDT, that should process a SSAS 2012 Cube, when I setup the connection, the SSIS Connection Manager gives me only MSOLAP100 as a possible connection manager type. From my understanding this is the one for SQL 2008 R2. Where
    is the one for SSAS 2012 and how can I enable it ?
    I feel this is a bug in SSDT:
    I used another UI dialog and could create a new connection like this:
    Still it says ConnectionManagerType MSOLAP100, however in the connection string I now have Provider=MSOLAP.5, this seems to be another SSDT bug.

    If this issue can be reproduced in multiple machines, then you can you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is released in the next release of service pack or product.

Maybe you are looking for

  • SAP ISR -XI - SAP POS. File size more than 11 KB failing in Inbound

    Hi All, We are implementing SAP ISR- XI - POS Retail implementation using Standard Content Store Connectivity 2.0, GM Store Connectivity 1.0, and other contents. In our Inbound Scenario File-RFC , we are picking files from FTP server for sales and to

  • After Yosemite and iTunes 12 Upgrade

    My iPhone 6 will not appear or sync in iTunes and my Time Capsule backups stopped working.  Any ideas?

  • SDO_GEOM.WITHIN_DISTANCE parameter question

    Hello, We are using a spatial function in our WHERE clause to determine whether Point A is within a certain distance of Point B. The call is: and SDO_GEOM.WITHIN_DISTANCE(s.location, 1000, n.location, 10) = 'TRUE' I can tell that the code is trying t

  • UConnect compatibility

    I have the 430n/rhb Uconnect system in a 2011 RAM 1500. I am able to connect my phone via Bluetooth and can make and receive calls. However, I am unable to download my phonebook (compatibility chart looks like this is supported) and I am unable to se

  • Mac OS Chrome browser - Muse Photoshop buttons not visible

    Photoshop buttons are not visible on Chrome on Mac OS X, but show up fine and work properly on Mac OS X Safari browser.