Custom Report Items in VS2010 or VS2012 ? Does it work

Does anyone know if Custom Report Items actually work in either VS2010 or VS2012.
I have taken the 2008R2 Polygons sample and compiled it using VS2010 and VS2012 and neither actually work in either version.
There are no assembly linking errors, but the compiled dlls either can't be added to the toolbox in VS2012 or can't load the type in VS2010.
I have tried everything and was interested if Microsoft had been able to get it working them selves.
My next step is to write my own, but was wondering if it actually works before I try.
Jamie

Just fixed this myself.
It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
I also removed the [System.CLSCompliant(false)] attribute.
You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
or what ever is you reporting services path.
You also need to change the Microsoft example for the rereportserver.config file to:
    <ReportItemDesigner>
   <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
    </ReportItemDesigner>
    <ReportItems>
   <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
    </ReportItems>
 Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
And here in the RSReportDesigner.config:
<ReportItems>
      <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
    </ReportItems>
    <ReportItemDesigner>
      <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
    </ReportItemDesigner>
    <ReportItemConverter>
      <Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
    </ReportItemConverter>
Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
And make sure the rssrvpolicy.config looks like this:
     <CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
       <IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
    </CodeGroup>
After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
Jamie

Similar Messages

  • Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012?

    Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012?  Is there a demo out there that actually works in VS2012?  Is there anyone who has actually been able to compile and deploy that
    apparently obsolete Polygons demo?  (Pardon my impatience but I'm running a bit short of time here.)
    After much hacking and googling I was able to get Polygons to compile but I still can't deploy it to the toolbox.  ('The custom report item type PolygonsDesigner is not installed').   I've modified the RSReportDesigner.config
    as instructed but I have no rssrvpolicy.config file on my local machine and
    as yet I have no idea if that is necessary for local development.
    In order to get it to compile I first added the reference  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.ProcessingCore.dll to both projects.
    To the PolygonsDesigner Project I also added the references:
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportDesigner.Controls.dll
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.Designer.11.0.dll
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\Microsoft.ReportingServices.Interfaces.dll
    Are these the correct references?  
    Exactly what software do you need installed on your local machine in addition to VS2012 in order to create a custom control?
    (Designer.11.0 was added per the instructions in reference: https://connect.microsoft.com/VisualStudio/feedback/details/783391/unable-to-integrate-previously-working-ssrs-custom-report-item-to-vs-2012s-toolbox  
    After that I added the alias RSDesigner to it's properties and   extern alias RSDesigner; at the top of the PolygonsDesigner.cs file. )
    As of now, the top of the PolygonsDesigner.cs is as follows.  I don't recall making any other changes to the code.  As far as I can remember this is all I did in order to be able to compile the code in VS2012.
        extern alias RSDesigner;
        using System;
        using System.ComponentModel;
        using System.ComponentModel.Design;
        using System.Collections;
        using System.Collections.Generic;
        using System.Diagnostics;
        using System.Drawing;
        using System.Windows.Forms;
        using Microsoft.ReportDesigner;
        using Microsoft.ReportDesigner.Design;
        using Microsoft.ReportingServices.Interfaces;
        using Microsoft.ReportingServices.RdlObjectModel;
        using System.Xml;
        using System.Xml.Xsl;
        using System.Xml.XPath;
        [LocalizedName("Polygons")]
        [Editor(typeof(CustomEditor), typeof(ComponentEditor))]
        [ToolboxBitmap(typeof(PolygonsDesigner), "Polygons.ico")]      
        [CustomReportItem("Polygons")]
        [ToolboxItem(typeof(RSDesigner::Microsoft.ReportDesigner.Shell.CRIToolboxItem))] 
        [System.CLSCompliant(false)]
        public class PolygonsDesigner : CustomReportItemDesigner
        {   etc...

    Just fixed this myself.
    It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
    What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
    I also removed the [System.CLSCompliant(false)] attribute.
    You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
    or what ever is you reporting services path.
    You also need to change the Microsoft example for the rereportserver.config file to:
        <ReportItemDesigner>
       <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
        </ReportItemDesigner>
        <ReportItems>
       <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
        </ReportItems>
     Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
    And here in the RSReportDesigner.config:
    <ReportItems>
          <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
        </ReportItems>
        <ReportItemDesigner>
          <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
        </ReportItemDesigner>
        <ReportItemConverter>
          <Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
        </ReportItemConverter>
    Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
    And make sure the rssrvpolicy.config looks like this:
         <CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
           <IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
        </CodeGroup>
    After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
    Jamie

  • Custom Report Item CustomData evaluation problem in a subreport loop

    Came across a strange problem with the custom report item CustomData property evaluation when using a sub report loop.
    I have a master report, which contains a sub report component within a List. The List is bound to a dataset from which a numeric value is passed on to a sub report's report parameter, and from there further down as an argument to a sub report dataset. The sub
    report contains our custom image CRI, which is bound to the said dataset. This dataset outputs a base64 encoded image data value, which the CRI then renders.
    Now the problem is that only the first sub report iteration gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration. So essentially the loop just outputs the same first sub report over and over again.
    However, if I make the List component do a page break after each sub report, then all the sub reports start getting rendered correctly. 
    Here's how the CustomData gets initialized in the CRI designer class:
    this.CustomData = new CustomData();
    this.CustomData.DataRowHierarchy = newDataHierarchy();
    this.CustomData.DataRowHierarchy.DataMembers.Add(newDataMember());
    this.CustomData.DataRowHierarchy.DataMembers[0].Group = newGroup();
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.Name = this.Name + "_SingleGrouping";
    this.CustomData.DataRowHierarchy.DataMembers[0].Group.GroupExpressions.Add(new ReportExpression());
    this.CustomData.DataColumnHierarchy = new DataHierarchy();
    this.CustomData.DataColumnHierarchy.DataMembers.Add(new DataMember());
    DataRow row = new DataRow();
    DataValue value = new DataValue();
    value.Name = "Base64";
    value.Value = ""; 
    DataCell cell = new DataCell();
    cell.Add(value);
    row.Add(cell);
    this.CustomData.DataRows.Add(row);
    The CRI also exposes the CustomData's DataSetName and a Base64 property.
    Has anyone else seen something like this happen? Not sure if this could be an issue with our CustomData configuration/usage, the API documentation is pretty much non-existent as usual. Seems more like bug to
    me.
    Leo Wartinen, Predisys Inc.

    Hi WarLe,
    If I understand correctly, you are using a list control to contain the subreport in the master report. The dataset of the list contains the field which is passed as the parameter values of the subreport. When you render the report, only the first subreport
    gets evaluated correctly, rest of them seem to get their CRI CustomData from the first iteration, right?
    If in this scenario, it seems that you haven’t add a group in the list. We can try to add a group grouped on the field which is passed as the parameter values of the subreport to check the issue again. Besides, could you mind post the sample data for the
    dataset of the list and tell us the settings for the list control? Then we can make further analysis.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

  • LabVIEW Report Generation Toolkit in the application does not work

    I have LabVIEW7.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1, which was updated after installed. I made a VI in LabVIEW7.1 enviroment using the Report Generation Toolkit and it works very well. After the VI was build an application.exe and installed even in the same PC, the Report Generation Toolkit didn't work. Excel that should pops-up does not do anything.
    the office i used is office xp. would you like to help me?
    thank you very much.
    Jing

    When you build the application, you have to include as "Dynamic vi" in Source file tab the vi:
    _Word Dynamic VIs.vi. from _wordsub.llb
    _Excel Dynamic vis.vi from -Excelsub.llb
    in the following library
    ...\National Instruments\LabVIEW 7.1\vi.lib\addons\_office\"
    Refer to the following discussion thread
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=50650000000800000053460000&ECategory=LabVIEW.LabVIEW+General

  • Bug: Customizing Convergence banner for a specific domain does not work

    Hi,
    I'm trying to customize the banner for a specific domain, I was following the steps from the documentation but I found that there is a bug relate: Bug #6749263 And I tried to find if the bug was already resolved in convergence 1.0-7.01 and the search in bugs.sun.com gets nothing.
    Does anybody knows if the bug was fixed in convergence 1.0-7.01?
    Thanks in advanced.

    ofonseca wrote:
    I'm trying to customize the banner for a specific domain, I was following the steps from the documentation but I found that there is a bug relate: Bug #6749263 And I tried to find if the bug was already resolved in convergence 1.0-7.01 and the search in bugs.sun.com gets nothing.The bug hasn't been fixed (according to the bug notes).
    Regards,
    Shane.

  • Item Child Count ..how does it work in SharePoint 2013

    Hi,
    I have A folder inside document library and there are no documents inside the folder. However, the Item child count is showing as 19. Why is this happening? I am a site collection admin. It should not be the permissions issue.
    Please help.
    techie

    Hi,
    Please use the below Code to get the Item Count inside the document library folder
    using (SPSite site = new SPSite("Site URl"))
    using (SPWeb web = site.OpenWeb())
    string url = web.ServerRelativeUrl + "/shared documents/Folder";
    SPFolder folder = web.GetFolder(url);
    Console.WriteLine(folder.ItemCount);
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

  • HT3209 I selected a movie on Apple TV for rental, got charged but the movie did not download. Apple Support does not allow me a path to resolve. Report a problem link on ebill does not work. Is this Microsoft business methods creeping into Apple?

    What is the correct fix for this?

    you can let apple know here
    http://www.apple.com/feedback/appletv.html
    and you can look here
    http://www.ebay.com/bhp/vhs-player

  • Reports who work in BIP 10G does not work in BIP 11G

    Hi!
    We are in the middle of going from BIP 10G to BIP 11G (latest patch installed the 9 of february). We have used the Upgrade Assistant to migrate the reports from 10G to 11G, about 80-90% are working directly.
    But, as always are there some problems. There are 2 major problems I am struggling with for the moment. 1 is long running reports who gets "Connection reset by peer" before the report ends and the more problematic which is this:
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [ERROR] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] XSL error:[[
    <Line 80, Column 151>: XML-23002: (Error) internal xpath error
    @Line 80 ==> <_G><xsl:if test="sum($G1[(./QADATE02 = current-group()/QADATE02)]/QATRQT) = '0'" xdofo:ctx="3">
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException[[
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
         at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
         at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
         at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)
         at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:372)
         at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:93)
         at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1059)
         at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:624)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:477)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:447)
         at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:267)
         at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:299)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:328)
         at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
         ... 40 more
    Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004
         at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:194)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
         at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:124)
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:920)
         ... 44 more
    Does anyone have the solution for this type of error, we have about 30-40 reports that is behaving like this in BIP 11G but works fine in BIP 10G.
    Can we do anything general in the BIP 11G or does we need to find the solution for each report and change in the template?
    All ideas are appreciated, thanks,
    Anders B

    Hi!
    Have everyone out there been able to use the upgrade assistant without any problem?
    The UA.bat program says everything is ok but the report actually created in BIP 10G does not work in BIP 11G. We are looking for documentation or "findings" of what the problem can be, in a more general way. We are aware of that we probably have to fix this manually, but we dont know what to fix, and it is not so "fun" to be forced to re create all this templates and reports. The datamodell seems for the most of the time works, so we get a working xml source but the creation of the report thru the template dont work.
    Best regards,
    Anders

  • I am trying to trigger a custom event using a program but does not work ..

    HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
    below is the code...
    {Key = '0010001115'. "Sales Order Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZXXXXXXXF'
        objkey                        = KEY
        event                         = 'ZEVENT'
      CREATOR                       = ' '
      TAKE_WORKITEM_REQUESTER       = ' '
      START_WITH_DELAY              = ' '
      START_RECFB_SYNCHRON          = ' '
      NO_COMMIT_FOR_QUEUE           = ' '
      DEBUG_FLAG                    = ' '
      NO_LOGGING                    = ' '
      IDENT                         =
    IMPORTING
      EVENT_ID                      =
      RECEIVER_COUNT                =
    TABLES
      EVENT_CONTAINER               =
    EXCEPTIONS
      OBJTYPE_NOT_FOUND             = 1
      OTHERS                        = 2}
    Please guide me if i am missing something.

    Hi Sunny,
    I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             =  'ZXXXXXXXF'
        OBJECT_KEY              = key
        EVENT                   = 'ZEVENT'
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    IMPORTING
       RETURN_CODE             = rcode
       EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

  • HT1933 'Report a problem' link in the email with purchase receipt does not work.

    While opening itunes I get an error "unable to connect to itunes",then a screen with the text: "your request produced an error.NewNullResponse".It's in-app purchase, magazine subscription.How do I report a problem if the link does not work?

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • Date Sorting for Webcasts does not work....

    Has anyone noticed that the "Sort Items by"-->"Date (Most recent)" does not work when you are in the "webcasts" secion of ni.com:
    http://zone.ni.com/devzone/fn/p/sn/n15:WebcastsAndVideos
    It looks like when you select to sort by date it is actually sorting by title, because they both result in the webcasts being sorted by title.
    NI, can you fix this?  I typically like to go to the webcasts section and sort by date to see if there's anything new I haven't seen yet.  It worked before the website was revamped.
    Thanks.

    Hi Chris,
    I had a look at it and it seems to be working fine. I tried all the sorting options out and they all work.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Custom Report for slow and fast moving items

    Dear Xperts,
    My client wants to develop a new report for slow and fast moving items, I checked the std report MC46 however as per std SAP design this report does not consider the special stock like project stock (Q)...could you please help me to know how can develop this new report with following input and output fields?
    Input fields:
    Plant
    Material
    Material Group
    MRP Area
    Special Stock Indicator
    Special Stock (Type)
    Output Fields:
    Material
    Material type
    Material group
    MRP Controller
    MRP Area
    ABC indicator
    Material price
    Category field – Slow, Fast, Non-moving
    Current Stock
    Last Issue Date
    Thanks in Advance
    Regards
    Rahul

    Dear Rahul,
    If you required  project stock and consignment stock with valuated stock report in same place you need to generate new info structure as given below link. Or you can go with customized report with abaper.
    Info structure validation
    Regards
    Sanjeet Kumar

  • Customer Open item Report S_ALR_87012174

    Hi
    As per my client requirement in Customer Open item Report S_ALR_87012174 bring the field "PO Number" into the layout."
    Kindly suggest me if any possibility is there?
    Thanks,
    Kumar

    Hi,
    The report S_ALR_87012174 uses the logical databse DDF which does not have this field of PO number (BSTKD) given in the sales order, as it is the customer purcchase order nu,ber for the sales application.
    This it is not availble for the data source, so the report can not be enhanced for that.
    You ned to create a custom report for the same, if needed this desperatly.
    Regards,
    Gaurav

  • Grant number in customer line item report

    Is it possible to bring in the grant number in the customer line item report, fbl5n? I tried expanding the fields in the report, but grant does not seem to be one of them.
    Please help!!!
    Thanks,
    MJ

    Hi, check this Add new field in output of FBL1N

Maybe you are looking for

  • Files Transfer from Windows Server 2008 R2 on Mac

    Hi, How can I transfer files from "Windows Server 2008 R2" on Mac? as now I am using 2 App (Microsoft Remote Desktop & Fast Remote Desktop) which allowed me everything but not transfer files on Mac, so any other recommendation or salutation? Thanks

  • Role of clients in CRM Multiple Backend Scenario

    Does the CRM Multiple Backend Scenario only apply to a single client pointed to multiple CRM or ERP systems. All the relevant tables are client dependent in CRM 2007 and the client independent ones use logical destinations which can easily be pointed

  • New output type for Messages in purchase order

    I am using new output type for messages. I want to make it appear as default output type when clicked on messages. I have maintained it through NACR transaction. Do I need to maintain message determination schema ?

  • DO MAC OS X VERSION 10.7.4  REQUIRE SERVER

    DO I NEED TO BUY MAC OS X LION SERVER FOR MAC OS X VERSION 10.7.4 OR ITS COME WITH IT??

  • My NB505-N500BL with windows 7 got a Trojan Horse Virus..

    Hello all, OK.. I bought this NB505-N500BL, Serial # a couple years ago, it has Windows 7 Operation system.   I loaned it out to a friend who promptly got a Trojan Horse Virus then sent it back to me.  I cannot find the original CD that came with thi