Syntax error - Adding items in Report section in IR

Hi
Im trying to add 2 values together from 2 queries in an IR report.
The first is the Max of a Computed Column from an OLAP query and the other is the Max of a data column from a seperate query.
These are being added in a field in the report section of the IR report.
This is the syntax used in the expression line:
Tables("OLAPResults").Columns("Computed").Max(currBreak)+Tables("Results").Columns("Demand").Max(currBreak)
It is producing an error: <script>(1):missing; before statement
Anyone any ideas where Im going wrong?
Thanks in advance

I have seen this before.
I have attributed the problem to Hyperion not being able to make a link to the Source Results Set via code within the Report Section(s).
A work around solution is to bring both of the fields into the report and then format them so they are not visible - Font Color = Transparent. Then your report has a link to both of the source results sections.
I know it is not elegant but it works.
Wayne Van Sluys
TopDown Consulting

Similar Messages

  • After converting a page to xhtml 1.0 Transitional compliant, Dreamweaver indicates a syntax error warning in the head section

    I had authored a few pages in HTML4.0 using templates, and all was well.  I decided to convert them to xhtml 1.0 transitional. So I modified the tags to lower case and closed everything and it all validates.
    The problem is that in Dreamweaver, it is indicatinga syntac error and I can't figure out why.  The result of this is that the Template path substitution breaks, rendering the generated pages totaly munged.
    Here is the head section:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <!-- TemplateBeginEditable name="head" -->
    <title>TITLE</title>
    <meta name="Description" content="Description of page." />
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
    <meta name="robots" content="all follow" />
    <link rel="SHORTCUT ICON" href="favicon.ico" />
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/runflash.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/rollover.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/weddings.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/preload-normal.js" language="JavaScript" type="text/JavaScript" />
    <link href="../common/weddings.css" rel="stylesheet" type="text/css"  />
    And here is the screen showing the error:
    Is this something simple that I have forgotton? Or is this a bug?
    ...Mike

    This seems to have been fixed by changing the format of the JS line from
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript" />
    to
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript"></script>
    Still not sure if this is proper markup that DW is screwing up, or if it's improper markup and DW has identified it, although on the wrong line
    ...Mike

  • Syntax error in generated report

    Hi,
    I execute a transactions say VB21 and enter the sales org data and when i click the copy button, the processing takes place and finally i get a dialog that shows the generated log messages and which shows details like this..
    status   mesage   Note
    information 801   report rv13a944 generated
    information 802   screen sapmv13a 2944 generated
    errors      888   report rv13a921 has a syntax error
    and so on.
    Whats this transaction about ? and how do i debug the syntax error in the generated report ? Is this report generated out of ABAp query ? How do i trace this ? Any help ?
    thks

    Maybe OSS [Note 702045 - Conditions: Syntax error in program RV13Axxx|https://service.sap.com/sap/support/notes/702045]
    Regards

  • Syntax Error, don't know how to solve

    I've got an syntax error in the following report. The compiler says: "SPACE" could not be interprated.
    It focus this code section:
    rp-provide-from-last p0001 space keyda keyda.
    rp-provide-from-last p0002 space keyda keyda.
    Here you can see the complete report:
    *& Report  Z_SAP_HR_LDAP                                               *
    REPORT  Z_SAP_HR_LDAP USING DATABASE PNP.
    DATA: PLVAR            LIKE OBJEC-PLVAR,
          OBJID            LIKE HROBJECT-OBJID,
          KEYDA            LIKE PLOG-BEGDA,
          P_OBJECTS        LIKE HROBJECT OCCURS 0,
          P_OBJECTS_WA     LIKE HROBJECT,
          S_OBJECTS        LIKE HROBJECT OCCURS 0,
          S_OBJECTS_WA     LIKE HROBJECT,
          I1001_ITAB       LIKE P1001 OCCURS 0 WITH HEADER LINE,
          I1001_ITAB2      LIKE P1001 OCCURS 0 WITH HEADER LINE,
    *      LDAPDESTINATION LIKE LDA_TYPES-LDAPDESTINATION,
    *      LDAPSERVER LIKE LDA_TYPES-LDAPSERVER,
          ldapinitialrun like lda_types-flag,
          LOGSYS LIKE TBDLS-LOGSYS,
          ERRORS LIKE BAPIRET2 OCCURS 0,
          ERRORS_WA LIKE BAPIRET2.
    * structure for short ldap-attributes
    * fieldnames must be equal to basis strucutre LDA-ATTR_S (for RFC_CALL)
    TYPES:  BEGIN OF TS_LDAP_ATTR_S,
             PERNR LIKE LDA_TYPES-PERNR,
             ATTR_TAB LIKE LDA_TYPES-ATTR_TABNAME,
             ATTR_FIELD LIKE LDA_TYPES-ATTR_FIELDNAME,
             VALUE LIKE LDA_TYPES-VALUE_S,
            END OF TS_LDAP_ATTR_S.
    data: attributes type ts_ldap_attr_s occurs 0,
          attributes_wa type ts_ldap_attr_s.
    infotypes: 0001, 0002.
    tables: pernr, rfcdes.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_TEST default 'X' AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK B1.
    Parameters: LDAPSRV Default 'SAPHRLDAP' LIKE LDA_TYPES-LDAPSERVER,
                LDAPDEST Default 'LDAPDEST' LIKE rfcdes-rfcdest.
    at selection-screen.
    clear: p_objects[], s_objects[], attributes[].
    CALL FUNCTION 'RH_GET_PLVAR'
    IMPORTING
      PLVAR = PLVAR
    EXCEPTIONS
      no_plvar = 1
      OTHERS = 2.
    if sy-subrc <> 0.
    MESSAGE E015(HRLDAP).
    endif.
    KEYDA = sy-datum.
    get pernr.
    rp-provide-from-last p0001 space keyda keyda.
    rp-provide-from-last p0002 space keyda keyda.
    ATTRIBUTES_WA-PERNR = p0001-pernr.
    * lastname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'LASTNAME'.
    attributes_wa-value = p0002-nachn.
    append attributes_wa to attributes.
    * firstname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'FIRSTNAME'.
    attributes_wa-value = p0002-vorna.
    append attributes_wa to attributes.
    * sAMAccountName
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'SAMACCOUNTNAME'.
    * Using the employee number a unique name is created
    * for the sAMAccountName
    concatenate ‘E’ p0001-pernr into attributes_wa-value.
    append attributes_wa to attributes.
    * other attributes have to added here.
    * for each additional attribute an appropriate field
    * has to defined in the structure EMPLOYEE
    * for example you can choose the following:
    * attributes_wa-attr_tab = 'EMPLOYEE'.
    * attributes_wa-attr_field = 'TELEPHONE'.
    * if you want to transfer the telephone number
    * of an employee from SAP HR to Active Directory
    * In the web Application Server an appropriate mapping
    * has to be defined using transaction LDAP for each new
    * attribute (here called TELEPHONE).
    end-of-selection.
    * get own logical system
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
      OWN_LOGICAL_SYSTEM = LOGSYS
    EXCEPTIONS
      OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
      OTHERS = 2.
    IF SY-SUBRC NE 0.
    * TODO: Komprimierung sy-mandt: 3 -> 2 Stellen !!!
      CONCATENATE SY-SYSID SY-MANDT INTO LOGSYS.
    ENDIF.
    loop at attributes into attributes_wa.
    write: / ATTRIBUTES_WA-PERNR , attributes_wa-attr_tab.
    write: attributes_wa-attr_field ,attributes_wa-value.
    endloop.
    IF P_TEST = 'X'.
    EXIT.
    ENDIF.
    * send attributes to ldap client
    * send attributes
    CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
    DESTINATION LDAPDEST
    EXPORTING
         LOGSYS = LOGSYS
         SERVERID = LDAPSRV
         ATTRIBUTES_S = attributes[]
         INITIAL_RUN = LDAPINITIALRUN
    *      ATTRIBUTES_L = TOTAL_ATTRS_L[]
    *      ATTRIBUTES_X = TOTAL_ATTRS_X[].
    IMPORTING
    RETURN = ERRORS[].
    IF NOT ERRORS[] IS INITIAL.
      READ TABLE ERRORS INDEX 1 INTO ERRORS_WA.
      MESSAGE ID ERRORS_WA-ID TYPE ERRORS_WA-TYPE
       NUMBER ERRORS_WA-NUMBER
       WITH ERRORS_WA-MESSAGE_V1 ERRORS_WA-MESSAGE_V2
            ERRORS_WA-MESSAGE_V3 ERRORS_WA-MESSAGE_V4.
    ENDIF.

    If i test this report, he can access the HR employee data an read my selection but if i run it really the following error occurs:
    Laufzeitfehler         CALL_FUNCTION_OPEN_ERROR   
           aufgetreten am  10.05.2005 um   22:22:26                                                                               
    "program LDAP_SAP_ADS_DC_1 not registered" / &CT. 
    He stands at the following line:
         >   CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
    I think it's a problem with that function.
    I found this function in my R/3 System.

  • Syntax error in OBIEE generated Physical query - Advance filter concept

    I encountered a syntax error when running a report with the help of advanced filter concept.
    I am getting syntax error at the physical query generated by the OBIEE for main report.
    I used a sub report with the help of advanced filter concept in main report.
    I am posting the physical query for the convenience.
    select D1.c2 as c1,
    D1.c1 as c2
    from
    (select sum(T600347.sales_usd) as c1,
    T601002.currency as c2
    from
    (Select distinct currency from pfact) T601002,
    pfact T600347
    where ( T600347.currency = T601002.currency and T600347.pdate between ( select distinct min(D1.c1) as c1* from
    (select D1.c1 as c1
    from
    (select D1.c1 as c1
    from
    *(select max(T600425.pdate) as c1*
    from
    *(select distinct pdate from pdates where pdate is not null) T600425*
    where  ( T600425.pdate < 11/22/2010 )
    *) D1*
    ) D1
    ) D1 ) and '11/25/2010')
    group by T601002.currency
    ) D1
    I executed the query against my database(sybase) in query tool. It showed error.
    I took out the column alias generated by the OBIEE ("as c1" as underlined). Then the query is working fine.
    How to disable OBIEE from generating the alias.
    Is there any way to do it.
    If obiee is generating the physical query, i am suprised to see a syntax error.
    The bold part is the query from Intermediate report
    I underlined the problematic part.
    Please help me. This is an urgent reuirement,
    Thanks in advance for the help.

    HI,
    When I execute the query on query tool ( my database is sybase)
    I am geting error at "as c1" part, as underlined in the query.
    when I remove that and execute the query, It is generating the output.
    here is the better view of query and error:
    http://img255.imageshack.us/img255/4719/25187227.jpg

  • Syntax error in programme

    Please check this programme this gives syntax error...
    *& Report  YTEST12                                                     *
    REPORT  YTEST12                                 .
    tables:mara.
    data: begin of itab occurs 10,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          mtart like mara-mtart,
          meins like mara-meins,
          end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
             EXPORTING container_name = 'ALV_CONTAINER'.
           CREATE OBJECT go_grid
             EXPORTING
               i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  load_data
          text
    -->  p1        text
    <--  p2        text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    CALL METHOD go_grid->set_table_for_first_display
    IMPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout.
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM.                    " load_data
    *&      Form  prepare_field_catalog
          text
         <--P_GT_FIELDCAT[]  text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM.                    " prepare_field_catalog
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
           WHEN 'EXIT'.
             LEAVE TO SCREEN 0.
         ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM.                    " LAYOUT

    recode like this..Reward if useful..please find the code i have changed(in bold)
    REPORT YTEST12 .
    tables:mara.
    data: begin of itab occurs 10,
    matnr like mara-matnr,
    mbrsh like mara-mbrsh,
    mtart like mara-mtart,
    meins like mara-meins,
    end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid TYPE REF TO cl_gui_alv_grid,
    go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
    EXPORTING container_name = 'ALV_CONTAINER'.
    CREATE OBJECT go_grid
    EXPORTING
    i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Form load_data
    text
    --> p1 text
    <-- p2 text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    <b>
    CALL METHOD go_grid->set_table_for_first_display
    EXPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    </b>IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " load_data
    *& Form prepare_field_catalog
    text
    <--P_GT_FIELDCAT[] text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM. " prepare_field_catalog
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
    WHEN 'EXIT'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form LAYOUT
    text
    --> p1 text
    <-- p2 text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM. " LAYOUT
    Message was edited by:
            Arjun Puthuruthy
    Message was edited by:
            Arjun Puthuruthy

  • Error when installing OpsMgr reporting (Attempted to add warning icon to item OMREPORTING but since this was as NONVITALFAILURE case, we added an Error icon instead.)

    Hi
    I have the following scenario:
    Two Management Server, the first
    Management Server has the following functions:
    - Management Server
    - Operations Console
    - Web Console
    My second Management Server has the following
    functions:
    - Management Server
    - Operations Console
    A SQL Server with the
    OperationsManager and OperationsManagerDW
    bases.
    My second Management Server, I installed the
    service report server SQL,
    created the foundation in my remote SQL
    Server (ReportServerOpsMgr and
    ReportServerOpsMgrTempDB). By adding the
    feature of Reporting Server
    it starts the installation process, but
    at a certain point it gives me the following error message
    in the Reporting Server log: Attempted
    to add warning icon to
    OMREPORTING item but since
    this was the NONVITALFAILURE
    case, we added an Error
    icon instead.
    Has anyone been through
    this problem and can help me?
    Thanks a lot!
    Wilsterman Fernandes

    Seems this is either a permissions issue or the it is a restriction configured for running external stored procedures
    I suggest you remove the Reporting portion from the server, then remove the Reporting Service completely. After doing this, reboot the SQL and Management server=>install Reporting again.
    Juke Chou
    TechNet Community Support

  • Error when opening open item list report

    Hi Experts,
    I was trying to open inventory open item list but I'm getting error. The user is a "super user".
    Thanks,
    Janice

    Hi,
    It is an application error. Check SAP note:
    2008925 - You cannot run the Open Item List report for Purchase
    Requests
    Thanks & Regards,
    Nagarajan

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Syntax Error while adding TrustedHosts

    I have a machine that has Windows Server 2012 R2 installed on it. I just installed RSAT on my ThinkPad Tablet which runs Windows 8.1. I'm trying to add my server in the client's trusted host list with -
    winrm set winrm/config/client @{TrustedHosts=”MyServer”}
    But getting the error message that says -
    Syntax error: input must be of the form {key ="value"[;key="value"]}
    I ran into the same issue while I was trying this same thing on my desktop machine, but somehow I fixed it and I cannot remember exactly how. Only difference is my desktop machine runs 64bit Windows 8.1 and my tablet runs 32bit Windows 8.1.
    Can anyone help?

    Hi Atiyar,
    I didn't mean to add single quotes, the quotes should be the problem because of switching the input language.
    Please try to copy the script winrm set winrm/config/client @{TrustedHosts = "server"} in cmd or use the cmdlet
    set-item wsman:localhost\client\trustedhosts -value "server" in
    Windows Powershell and check if the issue persists.
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • Error : while adding Items to Cart and while going to Checkout

    Hi All
    When I add Items to cart and when I click on checkout button below Error is coming
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
            at atg.commerce.pricing.ItemDiscountCalculator.priceQualifyingItems(ItemDiscountCalculator.java:561)
            at atg.commerce.pricing.ItemDiscountCalculator.priceItems(ItemDiscountCalculator.java:312)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyCalculator(ItemPricingEngineImpl.java:844)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyPromotions(ItemPricingEngineImpl.java:673)
            at atg.commerce.pricing.ItemPricingEngineImpl.priceItems(ItemPricingEngineImpl.java:557)
            at atg.commerce.pricing.PricingTools.priceItemsForOrderTotal(PricingTools.java:2448)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1795)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1737)
            at atg.commerce.pricing.PricingTools.performPricingOperation(PricingTools.java:3064)
            at atg.commerce.pricing.processor.PriceOrderTotal.runProcess(PriceOrderTotal.java:138)
            at atg.service.pipeline.PipelineLink.runProcess(PipelineLink.java:233)
            at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:343)
            at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:185)
            at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:453)
            at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:101)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcess(PurchaseProcessHelper.java:452)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runRepricingProcess(PurchaseProcessHelper.java:358)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcessRepriceOrder(PurchaseProcessHelper.java:317)
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:890)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    22:29:13,662 ERROR [CartFormHandler]
    CAUGHT AT:
    CONTAINER:atg.commerce.CommerceException: An unknown error occurred while adding an item to the Order with id [o400001].; S
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:942)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to ord
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            ... 72 more
    SOURCE EXCEPTION:
    atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to order [o400001
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Anybody could provide the solution or rootCause to this issue(I know this error is throwing by pricing pipe line but why its throwing I am not getting) Please any body tell me ASAP, I am gated with this issue.
    ThanksInAdvance

    I don't know much about promotions, But it looks like that there is some problem while applying some promotions for the added item.
    Check for this id:200131
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
    Try adding some other item.
    FYI - if it's promotion issue and promotion for all order, issue will come for other item too
    Thanks,
    Nitin.

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • Syntax Error with JSON.Parse method to parse SharePoint List Items

    Hi All,
    I want to get SharePoint List data and bind that retrived data to the JQuery Grid Control.
    For this I used SPServices to get the SharePoint List data in SOAP Envelope. Now I need to parse the soap envelope and store the retrieved items in array to pass it to the Grid Control.
    While using the JSON.Parse(resporseText) method, Iam consistenly getting an Syntax Error!
    Could anyone help me with this ?
    Please find the SOAP Envelope I received from SP List as below:
    "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
    <rs:data ItemCount="2">
    <z:row ows_OBNumber='112211.000000000' ows_Project_x0020_Name='Project 1' ows_MetaInfo='11;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 1' ows_ID='11' ows_UniqueId='11;#{FBBCBCF9-666D-42F9-92D7-67188C51BC9B}' ows_owshiddenversion='1' ows_FSObjType='11;#0' ows_Created='2015-01-12 10:25:06' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:25:06' ows_FileRef='11;#sites/Lists/Projects/11_.000' />
    <z:row ows_OBNumber='1122343.00000000' ows_Project_x0020_Name='Project 2 ' ows_MetaInfo='12;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 2' ows_ID='12' ows_UniqueId='12;#{0D772B76-68E4-4769-B6FF-6A269F9C7ABD}' ows_owshiddenversion='1' ows_FSObjType='12;#0' ows_Created='2015-01-12 10:33:48' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:33:48' ows_FileRef='12;#sites/Lists/Projects/12_.000' />
    </rs:data>
    </listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>"
    Any help on this will be greatly appreciated.
    Thanks In Advance.!

    Hi,
    According to your description, there is an issue when parsing result from the data retrieved using SPServices.
    By default, SPServices returns data as XML format, however, the JSON.parse() method “Throws a SyntaxError exception if the string to parse is not valid JSON”:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
    To extract the data needed from the response, you can either take the demo below for as a reference:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Or use the jQuery.parseXML() function:
    http://api.jquery.com/jquery.parsexml/
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Query View name not saved in "Analysis Grid Properties" under Data Provider

    Hi BW World;) We are on BI 7.0 I have created a BI workbook which contains a query view. However when we go into design mode and then "analysis grid properties" for this query view then "change data provider" it does not show the query view name but

  • Printed Documentation Research

    I would like to put some proposals to Adobe to let them know well or otherwise the current workflow for producing a printed document works for you. Also what do you particularly like or dislike, things you want to do but cannot. I would welcome your

  • Magic mouse disconnecting for a few seconds, pretty often

    Wireless, changed the batteries so its not that.. getting annoying Help please?

  • Unable to from solaris 10 dvd

    I have downloaded full image for solaris 10 for x86.I burnt iso image into dvd using nero.When I tried to boot from dvd for solaris installation I could not boot from dvd.I want to install solaris 10.please give suggestions.What went wrong. Thanks in

  • Desktop Background Images Dithering

    All of my desktop background images have been dithering, despite the fact that my display is set to 32-bit color. This can be demonstrated by opening up the image used for the desktop in an image-editing application and viewing them both side-by-side