Advice on using BDE 2.1 with SAP 8.81

Hi
I am writing a program for SAP 8.81 using BDE 2.1 which performs operations on the sales order matrix. I have added an addon component of the sales order form and matrix and then added a listener to trap when various columns have left focus etc
All works well but the customer wants this logic on all marketing documents
Do I need to repeat the above for all other form types, ie sales quote, sales delivery etc or is there a quicker neater way, ie -
If the form is a sales quote or sales order or etc ....   then perform logic
If you have any suggestions that would be most welcome
Thanks
Regards Andy

Hi Arun
Here is the code
Thanks for your help
Regards Andy
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:2.0.50727.5446
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
Option Strict Off
Option Explicit On
Imports B1WizardBase
Imports SAPbobsCOM
Imports SAPbouiCOM
Namespace eurofilms
    Public Class EventsHandler
        Inherits B1Event
        Public Sub New()
            MyBase.New
        End Sub
        <B1Listener(BoEventTypes.et_CHOOSE_FROM_LIST, False, New String() {"720", "721", "139", "140"})> _
                Public Overridable Sub OnAfterChooseFromList(ByVal pVal As ItemEvent)
            Dim ActionSuccess As Boolean = pVal.ActionSuccess
            Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)
            'ADD YOUR ACTION CODE HERE ...
            Select Case form.TypeEx.Trim
                Case "139", "140"  ' 139 > Invoice,  140> Delivery
                    If (pVal.ItemUID = "4" Or pVal.ItemUID = "54") Then
                        'your code
                        Debug.Print("gotcha")
                    End If
                Case "721"
                Case "720"
            End Select
        End Sub
    End Class
End Namespace

Similar Messages

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • Use of ADOBE form with SAP workflow for R/3 4.6C

    Hi All,
    We are thinking of usage of ADOBE form feature as one of options to design workflow for creation and maintenance of “Info record” like “Material Master” creation. BTW the existing systems are EP 7.0 with the back end SAP ERP system 4.6 C
    We would like to just check the feasibility of usage of ADOBE interactive form for above scenario. Would it be possible to go ahead with the above concept or what would be pre-requisites or risks involved?
    1.     How would system identify the role to direct the Adobe form for approval in case the form is raised by multi department?
    2.     How can the data validations in ADOBE form happen with reference to SAP std. tables?
    An early reply would be appreciated.
    Rgds,

    Hi,
    If you use EP 70 you can used guided procedure for your requirement .
    Regards

  • Using CR and Xcelsius with SAP BW - what is the minimal installation?

    Hi,
    If this question is allready asked and answered several times i appologize.. but I'm having a hard time finding the correct information.
    Our situation is that we run an SAP ERP and SAP BW solution with a federated SAP Enterprise Portal on top. The users require more graphical solutions for both static reporting and dynamic dashboards. So we want to use Crystal Reports and Xcelsius to provide frontend interface, but we want to do as little as possible backend, i.e avoid installing a full BO server with roles etc.
    I appriciate that we need SAP NW EhP 1 SPS 5 to load data directly into Xcelsius and the BO integration kit transports have to be loaded into the BW system for full CR connectivity.
    The problem that I'm having a hard time finding anwsers to is if this setup is capable of storing and and distributing the CR reports and dashboards to endusers? Can CR reports be stored on the BW server? Or can the CR reports and the dashboards be stored in the KW part of the portal?
    Another partly related question, what desktop tool does the enduser need to run CR reports that updates with data from the BW server?
    Alot of customers will have an SAP environment without any BO server/tools. Naturally we want to change as little as possible. A guide to what is needed for each BO BI tool to be implemented on SAP BW would be appriciated.

    Hi
    for the CR reports you need a BO Enterprise (or BO Edge) installation. The access to the BOBJ server is done transparently for your SAP BW users (they are able to start their reports in SAP GUI) but the reports are not stored on the SAP system rather in the BO repository.
    Regards,
    Stratos

  • Using MSS Reporting Workset with SAP Queries

    Hi,
    we have created a number of SAP Queries and added them to the reporting tree shown in the MSS Reporting Workset.
    We have created these queries to "Execute only with variant" and created the variant STANDARD for them to be run with.
    If we then subsequently run the reports from the portal the variant is ignored.  Does anyone know if this is the way it's supposed to work?  and if there's a way to get the reporting workset to look at variants?
    Many Thanks,
    Paul

    Which I agree with. I think it provides limited formatting feature. But in cases where you need ad-hoc report which needs minimal formatting. This is a good way.
    Coming to Cross-tabs I noticed the difference here that. In OLAP Grid I got the hierarchy in a cross tab with expand and collapse feature.I am not able to do that in cross-tab. This is a kind of limitation for me as my requirements need that kind of a layout wherein you have a hierarchy in a cross-tab like layout. Is there a way that I can achieve that in cross-tab report using MDX.
    Regards
    Varun

  • Is using Sybase Rep Server with SAP HANA a possibility?

    We have a customer has system that they are already using Sybase Replication Server.  They are asking to add HANA and BusinessObjects BI Platform as a sidecar, to there system and remove the Java applications they are using for reporting.  They are wondering if they can use Sybase Rep server to move the data into Hana instead of SLT.

    If you have a SAP Business Suite system then SLT is the recommended approach since carries  out a application level replication of sorts. However, for non SAP Business Suite systems you do have the option to use Sybase Replication Server for HANA. Ask your customer to speak to their SAP Account Manager and she/he will be able to advice them on the option.
    Have a look at the link below for pointers:Replicating data to HANA using SAP Sybase Replication Server.

  • Using WAS 6.40 with SAP 4.7 and WAS 6.20

    Hi,
    We want to upgrade from R/3 4.6C to 4.7 (R/3 Enterprise).
    As we are planning to develop new apps mostly on the web side, we want to use web dynpro.
    As far as I have understood the articles about web dynpro and the versions of WAS and R/3, we need the WAS 6.40 to use web dynpro technology. The R/3 4.7 only shipps with WAS 6.20, so we can't use the web dynpro 'out of the box'.
    Now my question:
    Is there a chance to use the WAS 6.40 (only the Java stack I suppose) for the web dynpro stuff and communicate to the WAS 6.20 running the R/3 system or communicate directly with the 4.7 R/3 system?
    Can I use the benefits of the web dynpro technology or is only the half of the technology available/running with this architecture?
    Has anyone experience with this or is my whole idea too adventurously?
    Has anyone better ideas how to use web dynpro with a R/3 4.7 backend?
    Any comments, hints or ideas are welcome...
    TIA
    Ralph

    Hi,
    thanx a lot. This is what I want to hear.
    Our web projects are all based on the 'old' JCO API and so we are familiar with this kind of programming.
    Does anybody know if you have to have NW 04 installed to use Visual Composer or is WAS 6.40 sufficient ?
    And: Does WAS 6.40 supports the Connector Framework or do I have to use the JCO API directly?
    Regards Ralph
    Message was edited by: Ralph Nagel

  • Use of JCo destinations with SAP Logon Ticket

    I would have got a precision about the use of a connection pool in a JCo destination using the SAP Logon Ticket connectivity: do i have got the same functionality around the pool connection if i use the SAP logon ticket instead of a user/password inside a JCo destination defined in the web dynpro content administrator ?
    Thank in advance,
    Regards,
    Eric.

    Hello Eric,
    There is only one difference in ticket and user/password authentification method:
    By using a ticket
    <i>For SSO specify the user to be $MYSAPSSO2$ and pass the base64 encoded ticket as as the passwd parameter.
    </i>
    and for user/password you are passing user and password.
    So, there us no difference from connection pool management or behavior perspective.
    Best regards, Maksim Rashchynski.
    P.S.
    Link to JCo javadoc, it can be useful:
    http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/sapjco/com/sap/mw/jco/JCO.html

  • Server Exception when using JDBC to Connect with SAP

    Hello,
    I am trying to connect to a view in an external database using JDBC. When I run the TestJDBC Tool, I get the following server exception:
    com.microsoft.sqlserver.jdbc.SQLServerException: ?? ?? '<view_name>'?(?) ???????.
        at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
        at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(Unknown Source)
        at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getColumns(JDBCModel.java:202)
        at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control3.doPost(Control3.java:25)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
        at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
        at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
        at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
        at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
        at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
        at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
        at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    The question marks really make it difficult to determine exactly what the issue is.
    Is there a way to perform a trace or to determine what is going on? Our third party provider has already confirmed that the authorization they provided is correct and is working.
    Thanks!

    Yes you can run a profiler trace on the SQL Server and include the "User Error Message" event under "Errors and Warnings".  This will show you the error message that SQL Server is sending to the client.
    When you get it, post it here because this is might be a bug in our JDBC driver that it does not turn that error into a sensible com.microsoft.sqlserver.jdbc.SQLServerException.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Unable to use 'Visio Professional 2003' with 'SAP MDM Data Manager 7.1'

    Hello,
    I'm currently working with MDM 7.1, and I installed 'Visio Professional 2003 SP2' to build my workflows.
    The problem is that:
    (1)- As the third pane ('Step Properties') did not appear in Visio when I drag & dropped icons => I executed 'Data Manager' help procedure (p. 301 / 302); cf.: help.sap.com : configuration of file paths in Visio, via 'Tools'>'Options''Advanced', etc.
    (2)- After these steps, when I launched Visio again in Data Manager, my menu bar had disappeared in Visio, and I couldn't save my workflow, even with the 'Save' icon.
    Does somebody know, or understand, what's happening, please?
    Thx a lot for any help,
    remi

    Hi,
    As you have already installed MS-VISIO 2003.
    Did you install Install  Workflow Engine i.e. WorkflowInstall_Ver setup ?
    If not please install it and then restart your machine.
    Also, Note: Microsoft office Visio 2003 should be Standard edition.
    Kindly update if you are still facing any issue..
    Thanks and Regards,
    Mandeep Saini

  • Using BOE Enterprise Scheduler with Sap BODI?

    Hi,
      I am under the impression that you can use the BOE Enterprise Scheduler to schedule BODS jobs. Can you also use the BOE Enterprise Scheduler to schedule BODI jobs? Is there someplace I can get some documentation on how to integrate the BOE Scheduler with BODI and/or BODS? I haven't been able to find any yet...
    Thanks in advance!
    Mike

    you can open the technical manuals from Designer
    or from the following location
    %LINK_DIR%\Doc\Books\en\DITechnicalManuals.pdf
    navigate to following section from the PDF doc (left pane will display the doc Map)
    Data Integrator Management Console: Administrator Guide
    -Batch jobs
         -Scheduling jobs
              -Scheduling jobs in BusinessObjects Enterprise

  • Using fragment library with SAP MIME repository?

    Hi,
    I am new here so I hope I'm posting this in the right place.
    We use Adobe LiveCycle Designer as part of the SAP Interactive Forms product. We want to use the fragment library but I am unclear how that will work unless we can connect to the SAP MIME Repository.
    Does anyone here have any experience with making this work?
    Also ... is there any online resource (other than SAP's SDN) with specific help documentation for using LiveCycle Designer ES with SAP?
    We are on SAP Netweaver 7.01 and LiveCycle Designer 8.1.
    Thanks!
    MAH

    Hi Chintan,
    Thank you for the prompt. I was going to get to it ...
    Actually I did not find a way to use the fragment library with referenced objects. By 'referenced" we would mean to be able to change the object in the library and all referencing items would be updated. We did NOT find how to do that.
    What we did find, that is still useful to us, and probably anyone working in a development team, is that we could create the library in a shared location and store common fragments there. To use the fragments, go to the library, drag the fragment from the library to your form layout, then 'convert to embedded object' (I think this is on the right click menu, Fragments> convert to embedded object).
    This way you still get the benefit of consistency amongst forms using the same element, and only having to develop each element once.
    I hope you find this helpful!
    Margaret

  • MS Word integration with SAP CRM: can a PDF be created from the MS Word doc

    21/11
    Gurus,
    I know have a better understanding of the topic but still have 2 open questions.
    I now know that StreamServe cannot read .DOC files but can read and work with .PDF files.
    Since we are in a SAP forum and not a StreamServe forum,
    1/ I am wondering if SAP CRM 2007 can convert the MS Word generated and populated documents into .PDF. Possibly immediatly.
    2/ Can the MS Word generated and populated documents be saved by SAP CRM 2007 as .XML files?
    Thanks again.
    Dear All,
    On my project, there is a requirement to generate ad-hoc and amendable letters in CRM (2007).
    We might have +150 letters so I am thinking about using MS Word integration with SAP CRM to deliver this.
    With SAP CRM 2007, I understand that it is indeed possible to generate WebServices that will then be consumed by Word templates through the mail merge functionality. So agents will not have to enter BP name, address and so on. All this can be done by configuration which is great.
    My point of concern is how to integrate this design to StreamServe for printing purpose (we do not want to go into local printing)
    Can StreamServe collects the Word generated document?
    Should this Word document be converted as PDF before or can StreamServe do it?
    Should StreamServe exploits the XML contents within the Word generated document?
    Thanks for your help and insights about this.
    Brice.
    Edited by: Brice Vialle on Nov 21, 2008 9:26 PM
    Edited by: Brice Vialle on Nov 21, 2008 9:34 PM

    Hi Chris,
        Your advice helps me a lot, thank you.
        I upload an XML-Format template Word Doc to server as a MIME Object.
        When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
       For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
       then translate it to string, I got the XML-format content, it's great!
       However, after the first time, when I input any new contents in MS Word in Web Dynpro,
       no matter I execute "Ctrl + S" or click the "savedocument" button,
       when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
       I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
       SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
       My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
       core source code is as:
       clear itab.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER = lv_datas
        IMPORTING
          OUTPUT_LENGTH = lv_length
        TABLES
          binary_tab = itab.
      CALL FUNCTION 'SCMS_BINARY_TO_STRING'
        EXPORTING
          input_length = lv_length
          mimetype = 'text/plain; charset=utf-8'
        IMPORTING
          text_buffer = lv_datas_string
          output_length = lv_data_len
        TABLES
          binary_tab = itab.
        Can you give me some advice?
    Best Regards,
    Derek

  • Dcs interface with sap pm

    Dear experts,
    can anyone explain me the basic steps and information  regarding dcs interface with sap .
    i want to do this sap implementation for the thermal power station.     i want to generate notifications and work orders when the parameteres of particular equipment crosses its range.
    how the important parameters from the dcs is linked with sap server.  how i can get the data from dcs and pass it to the sap system.
    can anyone give the helping hand.

    Hi,
    You can use XI as a connector instead of ALE to connect mySAP ERP to SAP Business One. The DI API is the connector for SAP Business One.
    The DI API or Data Interface API is part of Business One and the Business One SDK. B1i exists to easily connect mySAP and SAP Business One without typical coding that would be required simply by using XI to connect with SAP Business One and mySAP. B1i contains all of the connections, pre-defined content, message handling and error correction for common business scenarios to connect these to systems. Without B1i, you have to hand code everything. If you are not connecting with SAP Business One, then you may not have a need or requirement to use B1i. There are more detailed whitepapers here from the SAP Business One main page on SDN. You should have a look at those.
    You should have SAP Portal authorisation to access the following info. Go to sevicemarketplace -> smb -> SBO -> Install'n'Updates->Updates->Updates for SAP Business One->SAP Business One Releases prior to 2004->SBO-MYSAP INTEGRAT.TOOLKIT 1.5.
    You can find there an presentation how to Integrate SBO with mySAP via XI (https://websmp203.sap-ag.de/~sapidb/011000358700002285912003E.ppt)
    Thanks
    Swarup

  • Using Data Integrator with SAP BI 7.0

    Hi,
    We're currently using Data Integrator Version 11.7.2.0(using SAP ABAP adapter, BW adapter). Our primary data source is SAP R3 version 4.7 and SAP BW 3.5.
    We're planning to upgrade to ECC 6.0(from SAP R3 4.7) and BI 7.0(from BW3.5).
    I'm trying to determine if it will be necessary to upgrade Data Integrator also.
    Can anyone tell me if Data Integrator Version 11.7.2.0 is compatible with  SAP BI 7.0?
    any document and advice will help us.
    Thanks in advance,
    Kyung Woo, Nam

    Compatible? Likely.
    Supported? No.
    We have optimized the BW handling is DI 12.2 a lot, so do yourself a favor and upgrade to this version.

Maybe you are looking for