Usage of SQL Triggers in SAP B1

Hi All,
I wanted to know if it is Permissible according to SAP to create a SQL Trigger in SAP Company and then affect the UDT's, based on certain criteria.
Regards
Rohan S. Kamble.

Hey Gordon,
Do you know of an SAP note that specifies that SAP will not support a customer that put triggers on system tables?
We are experiencing difficulties upgrading a client and I am gathering information for a case.
Thanks,
Denis

Similar Messages

  • How to write a SQL query in SAP B1 2007 B with input parameters?

    How to write a SQL query in SAP B1 2007 B with input parameters, on execution of which will ask for some input value from the user and the values will be selected from a list such as item list?

    The syntax like
    SELECT * FROM OITM T0 WHERE T0.ItemCode = '[%0\]'
    Thanks,
    Gordon

  • Usage of Credit Cards in Sap

    Hi,
    Can someone please explain the process of the usage of credit cards in Sap and how is it used with t codes. Also please explain what documents i need to create for the credit card process.Good anwers would be rewarded with points.
    Regards
    Atul Keshav

    The process in SAP as per credit card usage starts from the interface you have to built with the card service provider/Bank, as they are the one's who are providing that facility so to built that abapers will be required as per SD point of view you have to configure the settings in SPRO --> Sales & Distribution --> Billing -->Payment Cards , then define & assign accordingly.
    In the SO, you can see entering the payment card option.
    Rewards if it helps
    Regards,
    N

  • Fetch data from another mirosoft sql server to sap

    Dear all,
                   I want to fetch data from another mirosoft sql server
                    to SAP(my sap server IN unix, oracle 10g).
    Thanks
    Shashi
    Moderator Message: Try to do you own research before posting your question. Get back to the forums in case you are stuck with any issue
    Edited by: Suhas Saha on Jul 26, 2011 3:21 PM

    hi,
    u should see following documentation:
    Oracle9i Heterogeneous Connectivity Administrator's Guide
    Release 1 (9.0.1)
    Part Number A88789_01
    in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
    regards
    umar

  • Message type is not triggered in SAP when PO copied from eSHOP

    Hi,
    We are creating PO in eShop and sending to SAP.
    POs are correctly getting copied from eShop to SAP.No issues.
    We have set condition record for Message type to trigger in SAP for those POs as EDI Medium.
    No message is getting triggering in SAP.
    Whether it is standard one ? or any further enhancement required ? If so please suggest the BAPI.
    Thanks

    Hi Dhina
    What is the application eSHOP?.
    for example
    In SAP SRM - Technical scenario - Extended Classic.
    Purchase orders were created in SRM -EBP and replica of Purchase Orders were replicated to ECC system. In the above scenario messages are created in SRM not ECC.
    The PO messages are out puted to vendor from SRM itself.
    So please clarify what is meant by eShop. so others can help you further  ..
    Muthu

  • SQL Agent and SAP Agent

    hello gurus,
         I am in need of technical details of SQL agent and SAP agent of Symantec database backup server for SQL server/ windows.
        Can anybody please help me in this??
    Thanks and Regards,
    Rahul

    Hi Kevin,
         I have some queries and i believe, you can answer it.
    I have the following system
    OS/ Applications details
    1) Windows 2003 enterprise edition 32 bit
    2) MS SQL Server 2005
    3) SAP ECC 6.0
    Sever details
    1)     IBM x3650 dual Xeon server 5120@ 1.86 GHz,
    2)     RAID level I
    3)     RAM 8 GB
    I want to go for Symantec database backup software. What information I have is, to take SAP system’s database backup through Symantec you need to have.
    1) SQL Agent of Symantec
    2) SAP Agent of Symantec
                    Given these information can you please help me out in putting the backup system in place.?
    Thanks and Regards,
    Rahul

  • What MS SQL version for SAP ECC 6.0?

    Hi,
    we are preparing ourselves to move away from SAP R/3 & MS SQL 2000 to SAP ECC 6.0 and a new SQL platform.
    From what I found, it runs on SAP_BASIS 7.0 - so both SQL 2005 and SQL 2008 are supported.
    I was wondering, however, what SQL version do I need - would SAP ECC 6.0 run on Standard or does it require Enterprise Edition of SQL server?
    Many thanks
    Gavin
    Edited by: Gavin Clark on Sep 9, 2008 5:07 PM

    Hi Gavin,
    you should always use the SQL EE for SAP installations (because of additional features that only come with EE).
    Concerning SQL 9 or SQL 10, I would definitely go for SQL 10. It has some nice features like Backup Compression, Page/Row Compression and so on. Have a look [here|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a236a2-8104-2b10-5ebe-8fef61cc82fd]. Just make sure that your installation meets the SR3 requirements.
    We already have SQL 10 in production and did not encounter any problems.
    Regards,
    Sven

  • Accessing SQL Server form SAP

    HI,
    I want to get data on SQL Server from SAP.
    What is the procedure to do the above.
    Thanks.

    hi
    in the SAP HELP Content,followthe instructions for Tutorial 2: Accessing SQL Server
    <u><i><b>also take  alook at this presentation</b></i></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e81685c-0701-0010-0eb3-918c6d56783a
    Below: is the Tutorial 2 instructions.
    In this tutorial you will create a portal component that retrieves and displays information from an MS SQL Server database. Your portal component will display information from the Northwind Categories table in a SAP NetWeaver .NET Table control. You will create a dataset to fill with the data and bind the Table control to this dataset to display data.
    Note: using a dataset is one of the data access options, which is not always recommended. You will use a dataset in this tutorial for the simplicity.
    To complete this tutorial, you need:
    Access to a MS SQL Server with valid permissions for the Northwind sample database
    Access to a running portal
    A portal user account with administrator's permissions
    The tutorial is split into a number of smaller pieces:
    Section 1. Creating the SAP Portal Application project
    Section 2. Creating and configuring the dataset
    Section 3. Adding the SAP NetWeaver Table control and binding it to the data
    Section 4. Adding code to fill the dataset and display the data
    Section 5. Viewing the component in the portal
    Section 1.
    =========================================================
    Creating the SAP Portal Application Project
    On the File menu, point to New, and then click Project.
    1. In the New Project dialog box, do the following:
    (a)In the Project Types pane, choose Visual C# Projects or Visual Basic Projects.
    (b)In the Templates pane, choose SAP Portal Application.
    (c)Specify a different name and location, or accept defaults.
    (d)Click OK.
    A new SAP Portal Application project is created at the specified location. A new portal component named PortalComponent1.ascx is added to your project automatically.
    Section 2.
    =========================================================
    Creating and Configuring the Dataset
    Prior to creating a dataset, you need to create and configure the data connection and data adapter.
    To create the data connection and data adapter
    1. From the Data tab of the Toolbox, drag an SqlDataAdapter object onto your portal component form. Data Adapter Configuration Wizard will help you create both the connection and the adapter.
    2. In the wizard, do the following:
    2(a)In the Choose Your Data Connection pane, create or select an existing connection to the SQL Server Northwind database.
    Important: when you configure the database connection, select the option Use a specific user name and password for server logon information. If your password is not blank, select the Allow to save password checkbox, and then select to Include the password in the connection string, when prompted. Although this is not a recommended practice, we use it in this tutorial for simplicity.
    2(b) In the Choose a Query Type pane, select the Use SQL statements option.
    2(c) In the Generate the SQL Statements pane, create the following SQL statement:
    SELECT CategoryID, CategoryName, Description FROM Categories
    If you need to build a different SQL statement, click Query Builder to open the Query Builder dialog box.
    2(d) Click Finish.
    The wizard adds two objects to your portal component: the SqlConnection1 object containing the database connection information and the SqlDataAdapter1 object containing the data definition.
    To generate the dataset
    1. From the Data menu, choose Generate DataSet. The Generate Dataset dialog box opens.
    Tip: If you do not see the Data menu, click the form; the form must have focus for the menu to appear.
    2. Select the New option and name the dataset dsCategories.
    3. Select the Categories table in the Choose which table(s) to add to the dataset listbox.
    4. Select the Add this dataset to the designer checkbox and click OK.
    Visual Studio generates the new dsCategories dataset class and the dsCategories.xsd schema that is added to Solution Explorer. An instance of the new dataset class (dsCategories1) is then added to the form.
    Section 3.
    =========================================================
    Adding the SAP NetWeaver .NET Table and Binding It to The Data
    1. From the SAP NetWeaver tab of the Toolbox, drag a Table control onto the portal component.
    2. Right-click it to open the Properties box.
    3. Set the DataSource property to dsCategories1.
    4. Set the DataMember property to Categories.
    Section 4.
    =========================================================
    Adding Code to Fill the Dataset and Display the Data
    Although the table is bound to the dataset, the data is not displayed automatically. You must explicitly fill the dataset and bind the table to its data source.
    To fill the dataset and display data in the Table control
    1. Double-click the form to switch to Code Editor.
    2. In the Page_Load event handler, call the data adapter's Fill method, passing it the dataset you want to fill:
    [C#]
    sqlDataAdapter1.Fill(dsCategories1);
    [Visual Basic]
    sqlDataAdapter1.Fill(dsCategories1)
    3. Call the DataBind method of the Table control to bind it to the dataset:
    [C#]
    Table1.DataBind();
    [Visual Basic]
    Table1.DataBind()
    4. Save your project.
    Section 5.
    =========================================================
    Viewing the Component in the Portal
    Deploy the PAR to the current portal.
    In Solution Explorer, right-click the portal component and choose View in Portal.
    The table with the list of categories is displayed in the browser.
    regards
    navjot
    reward accordingly
    Message was edited by:
            navjot sharma

  • Can xMII sense an event being triggered in SAP?

    Hi xMII Gurus,
    I have a requirement where, when some event is triggered in SAP, I have to fetch some data from SAP to xMII and do some procesing and post the data back to SAP. Is there any way by which xMII can sense the event being triggered in SAP?
    Thanks in advance,
    Prasanna

    Hi Prasanna,
    It can be done with a trick
    1. Create the  transaction in xMII
    2. Generate the webservice.
    3. Consume it in ERP
        a. from SE80 you have to consume
        b. From Lpconfig you have to create a port.
    4. Now after the event occured in ERP,Call the interface of the class you have created in SE80
    And it is done
    Thanks and regards,
    Pradip

  • MS SQL connection thru SAP

    Dear all,
    I know that this question has been asked before, but as i am facing some primitive issues so i am again posting my query.
    My requirement is to connect to an external MS SQL db from SAP and read data from that server. That MS SQL is located in a different m/c altogether. I was trying to connect by making settings in DBCON -
    CON NAME           MSS_TEST
    DBMS                   MSS
    USER NAME         administrator
    PASSWORD         (some pwd)
    CON ENV              MSSQL_SERVER=EISF016
                                 MSSQL_DBNAME=MASTER
    and then using the query
    DATA: CONNECTION LIKE DBCON-CON_NAME VALUE 'MSS_TEST'.
    EXEC SQL.
      CONNECT TO :CONNECTION
    ENDEXEC.
    but after this I am getting sy-subrc eq 4, which means that the connection got failed.
    Is there any way to check the connection that whether the value entered in DBCON (MSS_TEST) is getting connected ??
    Well my guess is that as the SAP and MS SQL servers are in diff m/c so we have to make one RFC connection and then do the connection, but this is just my guess. And if any RFC is at all required then how to make that.
    Kindly help me in resolving the issue.
    Points will definately be rewarded.
    Thanks,
    Saurabh.

    Log into the server hosting your SAP instance.
    Then, try connecting to the server EISF016  via SQL management studio using user administrator + password.
    Is this successful?

  • How to connect MS-sql server with SAP BW

    hi all,
    i want the connection procedure to how to connect MS-sql server with SAP BW.so that i can extract the data from ms sql server and can create cubes using that data.please help me in this issue.

    Hi Vamshi,
    Go through this DOC it explains u how to connect to other data bases like SQL...
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff]
    this is a thread related to connect the SQL server..
    [DB Connect MS SQL Server;
    Regards,
    NR
    Assign points if helpful...

  • Default Database name of sybase SQL Anywhere in SAP BO

    Hello team
    What is the default database name of sybase SQL Anywhere in SAP BO.Thanks in advance.
    Regards
    Ankit Jain

    Hi Ankit,
    The Sybase SQL Anywhere is default CMS and Audit database in BI 4.1. It is called as Sybase SQL Anywhere. Please refer page number 23 from below document for more information.
    https://websmp105.sap-ag.de/~sapidb/011000358700000372212014E/sbo41sp4_sp_update_en.pdf
    Regards,
    Hrishikesh

  • Issue with SQL converter: Query Migration Tool for Microsoft SQL Server to SAP HANA

    Hello,
    I found the following blog : http://scn.sap.com/community/business-one/blog/2013/04/10/how-to-convert-sql-from-ms-sql-server-to-sap-hana
    I am trying out this migration tool for converting my MS SQL queries to HANA.
    I am running into issue while converting certain queries.
    The issue is specific to "set" commands which set local variables inside "create procedure" commands.
    e.g.
    a standalone set command:
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    is converted well:
    SELECT (SELECT TOP 1 "name" FROM "mytable" ORDER BY "name") INTO var FROM DUMMY;
    But when the same is part of create procedure:
    CREATE PROCEDURE [dbx].[XXXXX_YYYY_ZZZZ]
    AS
    SET @var = (SELECT TOP 1 name FROM mytable ORDER BY name)
    it fails in converting the same:
    --Statements in the input file contain errors; conversion was canceled
    I would like to understand who can help me here.
    Thanks...

    Hi Mayur,
    that tool cannot convert stored procedures. it is still being developed. For these you have to do it manually.

  • Can you tell me how I can put the data of sql server into SAP to auto gener

    Dear all,
             Can you tell me how I can put the data of sql server into SAP to auto generate PR?
    Best regards,
    Merry zhang

    Many thanks ,it is ok now.

  • Put some data form the databse of SQL Server into SAP and auto general PR?

    Dear all,
            Can you tell me how I can put some data from the databse of SQL Server into SAP and auto general PR?
    Best regards,
    Merryzhang
    Edited by: merry zhang on Feb 4, 2009 9:10 AM

    Hi Zhang,
    If i have understood your question properly, I guess you wanted to create Purchase Requistion automatically right?
    Then you have lots of option simpilest one would be create a couple of Z table with all the fields that you require for header and Item.
    create a Program and use BAPI function module to create the PR by reading the values from those Z tables. after creation delete the contents from the table. Schedule this program in Background periodically like everyday or weekly once however you would like it to be. So once the table has contents in it and when the program runs it will create the PR's (Purchase Requisition).
    You can also use a workflow with the Z table. Once the Z table is filled you can trigger a workflow based on the Table change. I'm not sure like how to do it but I nkow that this process can also be used.
    Hope this might have thrown some light upon.
    Thanks,
    Prashanth

Maybe you are looking for

  • Can I set up a new account with only a gift card?

    My sister just got her first ipod and a gift card to the itunes store. It appears she needs to set up an itunes account in order to use the gift card. In the process it is looking for a credit card or paypal info - neither of which she has. Is it pos

  • Different Exchange Rate between Daily Transactions and Tax Transactions

    Hi All, I would like to ask abount define Exchange Rate for tax calculation. I set our standard exchange rates (For Daily Transactions) by using exchange rate type 'M'. But I want to calculate the tax element using exchange rate type 'T'. It is becau

  • Getting the REmoteExceptionjava.rmi.MarshalException

    Hi I am unable to get the results while accessing the web service, it is giving the error REmoteExceptionjava.rmi.MarshalException: (1)Missing end tag for Body or Envelope the error is occuring at try { resultObj = op.invoke(name); } catch (JAXRPCExc

  • SAP MMC not showing SID after sap gui install and reboot of the server

    Hi,  after SAPGUI 7.10 install on our server and rebooting of the same,  SAP MMC says  u201CMMC could not create the snap-inu201D. We are desperately trying to find a solution.  We did the following:  Uninstalled the gui. 1) Uninstalled the SAPMMC sn

  • Asus Zenbook UX302

    This is meant as a general thread for arch users with a Asus Zenbook UX302LG laptop. Sound (ALSA) Put the following in /etc/modprobe.d/alsa.conf for example. options snd_hda_intel enable=0,1 options snd slots=snd_hda_intel options snd_hda_intel index