BAPI activeX con SAP CRM

¿Alguien tiene un ejemplo de como hacer una actividad en SAP CRM con las BAPI activex?.
Más concretamente necesitaría saber cuales son los parámetros que se le pasa al método createmultiple cuando se llama desde otro lenguaje a través de activex.
Un ejemplo seria algo así:
bo_sap = iole_bapi.GetSAPObject("ActivityCRM")
oheader = iole_bapi.DimAs(bo_sap,"CreateMultiple","HEADER")
oheader.Rows.Add()
oheader.Value(1,"CATEGORY", "101")
oheader.Value(1,"PROCESS_TYPE", "Z009")
oheader.Value(1,"DESCRIPTION", "JJ")
bo_sap.CreateMultiple(oheader)
En este último método es donde no me funciona porque no conozco los parámetros que lleva.
Gracias por adelantado

RM_MKTPL_BAPI                 CRM Marketing Planning BAPIs,BOR Methods
API_TRADE_ELMT_EXIST_CHECK    Marketing Planning - Check Existence of Trade Element
API_TRADE_EXISTENCE_CHECK     Marketing Planning - Check Existence of Trade
BAPI_CAMPAIGN_ELMT_EXIST_CHECK
BAPI_CAMPAIGN_EXISTENCE_CHECK
BAPI_CAMPGN_OBJECT_EXIST_CHECK
BAPI_DEAL_EXISTENCE_CHECK
BAPI_MKTPL_PROD_ASSIGN_CREATE
BAPI_MKTPL_PROD_ASSIGN_DELETE
BAPI_MKTPL_PROD_ASSIGN_READ
BAPI_MKT_PLAN_ELMT_EXIST_CHECK
BAPI_MKT_PLAN_EXISTENCE_CHECK
BAPI_UPD_TSPEND_REBATE_STAT
BAPI_TRADE_EXISTENCE_CHECK
BAPI_TRADE_ELMT_EXIST_CHECK
BAPI_MKT_PLAN_EXISTENCE_CHECK
Pl.Reward points...

Similar Messages

  • Problem triying to finding BAPIs in SAP CRM 2007

    Hi Gurus,
    Does anybody knows how could I finf a BAPI at the new version of SAP CRM?
    I need to consume this data in a web,(via web service), but at the moment I can´t find it.
    It's seems that the BAPI Explorer at the new version doesn't work as the older...
    Thanks in advance for any help!
    Bests Regards

    If you want to find a BAPI, Go to Tcode SE37, enter the BAPI name and display.

  • SAP BAPI ActiveX Interface

    Hello,
    This is a cross post from LAVA forum...
    I'm trying to integrate our test stations to SAP ERP. SAP stores data in busines objects in busines object repository. The objects are exposed over BAPI interface. There is a lot of different busines objects in the repository. SAP developers can also build new objects if they want. The objective is to read inspection characeristics from quality management module of SAP. I haven't done much ActiveX stuff, neither know much about SAP, so I started with a simple example that I found searching for BAPI examples. The example works fine in Excel. The example just reads some data from a sales order object.
    Sub BAPI1()Dim
    oBook As Workbook
    Dim oSheet As Worksheet
    Dim oBAPICtrl As Object
    Dim oBAPILogon As Object
    Dim oSalesOrder As Object
    Dim oItem As Object
    Dim iIndex As Integer
    Set oBook = Application.ActiveWorkbook
    Set oSheet = oBook.Worksheets(1)
    ' Initialize SAP ActiveX Control.
    Set oBAPICtrl = CreateObject("sap.bapi.1")
    ' Initialize SAP ActiveX Logon.
    Set oBAPILogon = CreateObject("sap.logoncontrol.1")
    ' Initialize the connection object.
    Set oBAPICtrl.Connection = oBAPILogon.newconnection
    ' Logon with prompt.
    oBAPICtrl.Connection.System = "Q02"
    oBAPICtrl.Connection.Client = 101
    oBAPICtrl.Connection.Logon
    ' Retrieve a sales order.
    Set oSalesOrder = oBAPICtrl.GetSAPObject("SalesOrder","0010732181")
    ' Display Sales Order header data.
    oSheet.Cells(2, 1).Value = oSalesOrder.salesdocument
    oSheet.Cells(2, 2).Value = oSalesOrder.netvalue
    oSheet.Cells(2, 3).Value = oSalesOrder.orderingparty.customerno
    oSheet.Cells(2, 4).Value = oSalesOrder.documentdate
    oSheet.Cells(2, 5).Value = oSalesOrder.items.Count
    ' Logoff SAP and close the control.
    oBAPICtrl.Connection.logoff
    Set oBAPILogon = Nothing
    Set oBAPICtrl = Nothing
    End Sub
     I tried to implement that in LabVIEW. The logon and logout part works, I can also obtain SalesOrder object with GetSAPObject method. There is no error and probing the Object output from GetSAPObject methods gives an integer value - probably a reference to the SalesOrder object.
    Now I can't figure out how do I read the object properties. It's very simple in VBA. I also don't know how do I call object methods. This is apicture from SAP BAPI documentatios showing available properties and methods.
    I would appreciate any hints...
    bye, Mirko

    No, there isn't any reference type that matches BAPI Object. In fact, there can't be a fixed type reference, since BAPI object are actually function modules that SAP programmers write themselves using language called ABAP. I concluded that we can't call the object methods or read/write properties in LabVIEW, if we don't know the right type at development time. So, I gave up on BAPI API.
    There are also other methods of SAP integration. O step down on abstraction scale is Remote Function Call (RFC) API. The API is much more involved, but it allows us to call functions that are behind BAPI objects. In a few test that I did it worked fine. The interface is exposed over three ActiveX controls - SAP Remote Function Call Control, SAP Table Factory Control and SAP Logon Control.
    There is also .NET assembly and web services which I didn't tried.
    Regards, Mirko

  • Write table to SAP (BAPI, ActiveX...)

    Hello everybody,
    I have to do a SW that interfaces with SAP. I already have functions to login/out, read/write a single parameter, and read a table (all this trough BAPI ActiveX), but I’m not able to write in a SAP table.
    Does somebody already have done this job?
    Many thanks for any advice!
    Pierre-Alain
    (LV2010SP1 or 2014SP1, W7, SAP Business Client 3.5)

    Many thanks, nyc, mike, for your responses and interest!
    I find SAP doc not so easy to transpose into LabVIEW code...
    Error happends like this:
    Login SAP: OK (work also in other programs)
    Add name of the specific BAPI function to be used: OK (work also in other programs)
    Input of several single parameters (strings): OK (work also in other programs)
    Input of 2 Tables (2x same VI): see code here enclosed. No error at this point. (never tested in other programs)
    Call of BAPI function (code tested OK in other programs) but returns an error "SYSTEM_FAILURE"
    Reading some return parameters (code tested OK in other programs, but do not works here because of System_Failure)
    Close ref and Logoff  (code tested OK in other programs)
    I enclose also in this mail an image showing the main VI (named "Créer contenu HU.vi") making all this procedure. You will see that the error comes after the function call.
    I'm not a SAP pro (and far away!), but the SAP specialist has tested the BAPI function (with php?) and the function works. So the first suspect code is the one attached here.
    Please ask me if you need more details.
    Many thanks in advance, best regards,
    Pierre-Alain
    Attachments:
    SAP Write Table.png ‏52 KB
    Créer contenu HU.vi.png ‏170 KB

  • Can I record customer interaction captured through Hardphone conn. to SAP CRM?

    Hello friends,
    I'm currently working on one of the proposals for SAP Contact Center implementation with SAP CRM also supporting Hardphones. Client has this requirement to capture interactions from Hardphone in the form of recordings in CRM system.
    I'm aware of BCM softphone having option to record customer interactions both at Client and Server side but the client would like to record hardphone interactions and store in CRM system. How could this be acheived?
    Would be of great help if you could share the config documents for the same.
    Thanks
    Chiroy

    Hi Chiroy,
    BCM cannot record client interactions without the assistance of a third party application such as Vierent or Nice.  Client interactions meaning the performance of the Agent on his or her personal desktop, such as key strokes and open files etc.
    What BCM can do is record all voice packets between the client and the agent.
    It will do this with users on a Hardphone, in MTD mode, using Convergence or the CDT.
    There is no restrictions to recording unless you make them so.
    There is no need for supporting documents as this information is covered in several existing SAP guides.
    Also, these recordings once created, can notify CRM of the storage location in BCM and attach the path of the recorded file to the Interaction Record.  This is all done as part of the CAD from BCM. This is option is available via the OII link in BCM but requires CRM customization to work properly.
    It should be noted that this recording feature is only active if you have server side recording, not client side.
    I hope that helps.
    Thanks,
    Marcus

  • SAP-CRM - Auto Confirmation of Contract Account from IVRS to SAP-CRM IC Web

    Hello Experts,
    In Our Projects we are Using SAP-CRM Web Client for Call Center Processes. AVAYA is a Third Part agency which have developed the IVR system for handling the Consumer Calls. We have Developed BAPIs which will fetched data from SAP based on Contract Account entered by Consumer on IVRS. AVAYA have developed the CTI Pop-Up also which have several Consumer Details along with CA. Now Client wants that CA , entered by Consumer on IVRS, will be autoconfirm to CRM - Web Client. If anyone have any document for doing all these setting please share with us & Provide us guidelines...
    Regards,
    Abhishek Chopra

    Hello Abhishek.
    You can refer to [Note 707104 - Account identification from attached data|https://service.sap.com/sap/support/notes/707104]. It describes how to set autoconfirmation based on CAD.

  • Question regarding Authorizations in SAP CRM 7.0

    Hello,
    The problem is this:
    We have a client who will use two ways of accessing SAP CRM 7.0 data -
    1. CRM Web UI
    2. Mobile devices via standard SAP CRM BAPIs
    Now the situation is that the client wishes to control display authorizations based on the Business Role. Certain Business Roles can allow its User to see Accounts where the User is also Employee Responsible and certain other Business Roles can allow its User to see all those Accounts that are associated with that Role. In summary Business Roles control what an User can see.
    This has already been implemented for the CRM Web UI using the Access Control Engine (ACE).
    Now the questions are:
    1. How do we implement this for BAPI Access?
    2. Should we recreate what has been achieved by ACE, via PFCG Authorization Profiles?
    3. Can we not reuse what has been done by ACE?
    4. What are the runtime APIs that allow somebody to use the authorization checks of ACE?
    5. Does the standard Function Module CRM_ORDER_CHECK_AUTHORITY_ACE help in this regard?
    Any help here will be greatly appreciated. Please let me know if you need any clarifications.
    Thanks in advance.
    Best regards,
    Sudhi

    Hello,
    Normally, some notes are recommended in addition to the current support package implementation because they were developed to solve any known issues. These known issues occurred as side effect of any note which belongs to the implemented support package.
    If you take a look at older release notes, you will see the same.
    This is a part of implementation stack.
    1345085  SAP SRM 7.0 SP Stack 04 (09/2009):Release & Information Note 
    1365574  SAP SRM 7.0 SP Stack 05 (12/2009):Release & Information Note   
    1436687  SAP SRM 7.0 SP Stack 06 (03/2010):Release & Information Note 
    Kind regards,
    Ricardo

  • Sap crm 7.0 Browser settings  for explorer 6.0 and Mozila Fire fox 6.0

    In web Ui, when ever i try to create a new opportunity, Quotation, Sales agreement or order, I am getting an error in brower. in a popup :
    An error has occured in the script on this page
    Error: Oject doesnt support this property or method or Invalid Argument in Explorer 6.0.
    I tried installing Mozila to check whether this is a browser issue, But there also
    error is This website, does not supply ownership information connection is not encrypted.
    I have tried changing the settings in Explore 6.0 to enable the following
    1. Click the Security tab
    2. In the resulting window, click the Custom Level button to open the Active X settings.
    3. Under ActiveX controls and plug-ins the settings should be:
    4. Automatic prompting for ActiveX controls: Enable
    5. Binary and script behaviors: Enable
    6. Download signed ActiveX controls: Prompt
    7. Download unsigned ActiveX controls: Prompt
    8.Initialize and script ActiveX controls not marked safe: Prompt
    9.Run ActiveX controls and plug-ins: Enable
    10.Script ActiveX controls marked safe for scripting: Enable
    11.Under Downloads the settings should be:
    12.Automatic prompting for file downloads: Enable
    13.File Download: Enable
    14.Click Ok to close the window.
    Still same issue persist, Please help to resolve this issue

    Hi,
    I have tried this adding the SAP crm to the popup blocker, still the error is there.  any other input to make this IE 6 work.
    Still the same error : Internet exploer script error
    Line :163, Char 1, Error : object doesnt support this property or method., code : 0
    Line :77, Char :89,Error : invalid argument.
    I tried installing Fire fox to test : but in fire fox also i am encountering this error:
    This website does not supply identity information. Your connection to this website is not encrypted.
    Technical details : Connection not encrypted. the website does not support encryption for the page you are veiwing.
    Information sent over internet without encryption can be seen by other people while it is in transit.
    I have tried this with internet explorer6.0, but no progress:
    If the issue persists, follow these steps:
    1. Close all instances of Internet Explorer.
    2. Click Start, click Control Panel, and then double-click Internet Options.
    3. Click the Advanced tab.
    4. Under Browsing, click to clear the Enable third-party browser extensions (requires restart) check box.
    5. Restart Internet Explorer.
    If the issue persists, follow these steps:
    1. Open Internet Explorer.
    2. Click Tools, and click Internet Options.
    3. Click the Advanced tab.
    4. Under Browsing, click to select the Disable Script Debugging check box.
    5. Click OK to close all windows, and then restart the computer.
    Please help to resolve this issue
    Edited by: Karthik J on Oct 6, 2011 10:50 AM

  • Accessing SAP CRM 7.0 objects

    Hi All,
    After doing lot of research on SAP CRM 7.0 documentation, I got to know that there are different ways to access data from the system:
    1) Using BAPIs
    2) Using RFCs
    3) Using SAP XI
    4) Using Web Services (Enterprise services?)
    I am interested in going with the Web Services option.
    I have read in the documentation that Enterprise Service Repository is part of SAP NetWeaver Platform.
    We are planning to register for SAP RAC service to get access to SAP CRM 7.0.
    If we have access to just SAP CRM 7.0, will I be able to access the web services.
    Can someone please help me understand this.
    Thanks
    Naga
    P.S I am very very new to SAP CRM. Please bear with my questions.

    Hi Isaac,
    Thanks for your reply.
    I read the documentation[1] which says that there are 235 enterprise services built for 35 business objects.
    That said, the wsdl will be already published for all those default web services I believe.
    Can't I just consume the default web services and read the data from SAP CRM 7.0?
    As SAP CRM is dependent on SAP NetWeaver, can I assume that I will have access to all the Out of the Box web services if I have SAP CRM 7.0 installation.
    Thanks
    Naga
    [1] /people/community.user/blog/2008/10/17/enterprise-services-delivery--crm-70
    Edited by: Naga_P on Jun 30, 2011 9:26 PM

  • MS Commerce Server integration with SAP CRM (incl. Middleware question)

    Hi,
    We're investigating on how to possibly connect a MS eCom solution (MS Commerce Server) to a SAP CRM backend.
    With the correct middleware and some Bapi's this would probably be do-able solution I guess, but does anyone have info on standard setups for this?
    - Standard Bapi's to use?
    - Middleware to be used (will XI do it all or do we need a 3th party middleware solution)?
    - Are any of the standard MS eCom screens aligned with what's in the SAP Badi's?
    - What about pricing information - is the info returning from the IPC valid for MS eCom display?
    Anyway - if anybody has any ideas or experience around this - feel free to reply.
    Thanx!

    HI Arno,
    I asked our CRM guys but because we are doing workforce management and that required server based integration..
    Do you have any idea for that ?

  • MS Commerce Server integration with SAP CRM

    Hi,
    We're investigating on how to possibly connect a MS eCom solution (MS Commerce Server) to a SAP CRM backend.
    With the correct middleware and some Bapi's this would probably be do-able solution I guess, but does anyone have info on standard setups for this?
    - Standard Bapi's to use?
    - Middleware to be used (will XI do it all or do we need a 3th party middleware solution)?
    - Are any of the standard MS eCom screens aligned with what's in the SAP Badi's?
    - What about pricing information - is the info returning from the IPC valid for MS eCom display?
    Anyway - if anybody has any ideas or experience around this - feel free to reply.
    Thanx!

    Thanks Baskar for your reply
    Can you please endorse if the following activities are needed to perform for its implementation
    1. Using MS EPM SDK, create mapping data (XML)
    2. Windows Synchronization Service to detect changes in MS EPM
    3. SAP PI / XI for web-services
    4. BAPIs to update SAP PS project
    The same goes to sync SAP PS with MS EPM  in reverse order.
    Plus, is there standard implementation document available as provided to integrate MS EPM with cProjects?
    There are many forum posts for which all replies are related to knowledge sharing, possibility and idea sharing. I don't find any post related to its actual implementation.
    Regards
    Nayab

  • Options for loading data from legacy mainframe to SAP CRM and ECC

    Hello All,
    I am new to SAP.
    As part of data conversion planning from legacy mainframe to SAP CRM and ECC systems, I need to know the different tools available for loading the data and comparative analysis of the tools by showing the features. Please also describe the process to evaluate the tools (prototyping, technical discussions etc) and make the recommendations.
    I would also appreciate any information on testing tools like (eCATT) and any third party tools (like Informatica)
    I know I am asking for lot of things here. But, I really appreciate any information reagrding this.
    Thanks,
    Balu

    Hi
    Data Migration(Conversions) mainly involves the following Major Steps
    Discovery->Extract->Cleanse->Transform->Load
    Discovery-> Involves identifying various source systems available where the actual data is residing.
    Extract->Extract the data from the source systems(legacy systems)
    Cleanse->Cleanse the data by enriching it,De-duplications etc
    Transform->Transform the data into SAP Loadable format
    Load->Upload the data into SAP Using the Load Programs(Eg,BDC,LSMW,Data Transfer Workbench,BAPIs etc)
    Also i would request you to visit http://www.businessobjects.com/solutions/im/data_migration.asp
    Cheers,
    Hakim

  • SAP CRM Extracts BP, IBASE and Contracts to flat files

    Hi,
    We want to download SAP CRM (5.0) data to flat files (every month). The datasets are rather large (1mln per object) and we have identified different approaches to do this:
    - Using an ABAP report with BAPI's
    - Using an ABAP report with direct selections
    Now performance might become an issue so direct selections seems the way to go.
    Are there any other means of downloading the data from SAP CRM to flat files, maybe use an BW adapter?
    Any ideas are welcome!
    Kind regards,
    Arjan Boer

    hi,
    My knowledge...
    In CRM...  Using BAPI ..
    BWA1 (BW Adapter: Maintain DataSource)
    BWA5 ACTIVATE DS...
    BWA7 name of the datsource and pressing the candle icon for 'activate delta'.
    Give me u id  ...
    Hope this help ..assign points...
    raj

  • Best Approach for integrating SAP CRM with Outage Management System

    Hi All,
    We are moving towards deploying Outage Management System (Oracle Utilities NMS) to help localize the fault, achieve Outage Management and a transparent network with a near-real time stats. We already have SAP ECC 6.0, ISU, SAP PI 7.0 and SAP CRM 7.0. One of the challenges we are facing is to decide how should we go about the integration of SAP CRM with Oracle's Outage Management System.
    Here is a sample business scenario,
    CSR receives a call from a consumer and inquires about planned outages for a particular area.
    This information is contained in the Outage Management System (OMS). OMS is SOA based and is hosted on Oracle Service Bus.
    I want to know that is there any ES Bundles available for CRM-OMS integration? Should we go about Service Based Integration? What are the alternatives to Service based integration? Can it be done using BAPIs?
    We receive around 1000 consumer complains and against every complain a ticket is generated in CRM. Now If CRM is integrated with OMS using SAP PI, the volume of the data being exchanged via PI is very much high and exceeds our licensed volume for SAP PI. So I do need to know the best practices for either approach that you may recommend.
    Regards,
    Adil Khalil

    does anyone have an idea about this one, I've asked this question in a few places and no one really seems clear about it.
    Also, I've read here and there that SAP Business One is not a real SAP product. It was bought by SAP and is sold by them but has little do to with SAP's technology (R/3, SAP ERP, Netweaver, SAP CRM, ...), and that therefore they don't support it that much ? Is any of this right ?
    I'm just trying to get my vision of the SAP universe clear.
    Angela

  • How to create idoc in sap-crm?

    hi all,
    I want to send data from SAP CRM Server to it's own port so that SAP Adapter read data from SAP CRM port .so pls anyone give the process for this with screen shots so that i can do my work successfully.
    Thank
    pankaj goyal

    Dear Suma,
    Why do you need BAPI for creating Business Partner. You can do that by using standard transaction "BP"..you can create the business partner of type "Person", "Group" or organization.
    You need to do some of the following configurations (as applicable) for the Business Partner:
    <b>Number Range:</b>
       Define Number ranges
       Assign Standard Number Range to Groupings
    <b>Middleware Setting for Transferring BP from CRM to R/3</b>     
           Setup the Function Modules in the table CRMC_BUT_CALL_FU through transaction SM30 transaction in CRM
           Setup the Function Modules in the table COM_BUPA_CALL_FU through the transaction SM30 transaction in R/3
    <b>Set up of Custom Roles and Relationships</b>     
            Define the BP view
         Create BP Roles
         Creation of Role Categories
         Creation of Relationships
         Configure Field Attributes for Each BP <b>Relationship Category
    Creation of Partner Functions     
    Creation of Access Sequence</b>     
    <b>Maintain Title     
    Define Salutation     
    Define Partner Determination Procedure     </b>
         Assign Partner Determination procedure to Transaction Type
         Assign procedure to item categories
    <b>Define cutomer price group (Customer Credit Tier)     
    Define Customer Group     </b>
    <b>Business Agreement     </b>
         FI CA Activation in CRM
         Define No. Range for Business Agreement
         Define Business Agreement Class
    Thanks,
    Atin
    <b><b>Reward points if it helps.</b></b>

Maybe you are looking for