Posts

Showing posts from December, 2013

vb.net SAP.net connector Step by step guide to get fields from a table BAPI Function GET_RFC_TABLE

Directly access data from  the SAP tables from VB.net

For Visual Studio 2010, you will need to download the latest one:
sapnco30dotnet40P_3-20007347.zip
Unzip and install to a convenient location on your machine.

Create An App

Right click on project and select “Add Reference”
When window opens, select “Browse” and navigate to the folder where you installed the SAP Nco Connector.
You will need to select the following dll:
Sapnco.dll
Sapnco_utils.dll
 First, create a class that implements IDestinationConfiguration.  VB.NET code shown below.


Imports SAP.Middleware.Connector

Public Class ECCDestinationConfig
    Implements IDestinationConfiguration

    Public Event ConfigurationChanged(ByVal destinationName As String, ByVal args As RfcConfigurationEventArgs) Implements IDestinationConfiguration.ConfigurationChanged

    Public Function GetParameters(ByVal destinationName As String) As RfcConfigParameters Implements IDestinationConfiguration.GetParameters

        Dim parms As New RfcConfigParamet…

ASP.Net Jquery Ajax noconflict solution for multiple plugins

dont use var $x = jQuery.noConflict(true)
Use   var $x = jQuery.noConflict()  

            $x.ajax({


            <head id="Head1" runat="server">
    <title></title>
    <script src="jquery1.6.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
     jQuery.noConflict();  //this line saves my life by allowing multi plugins work together.
     jQuery(document).ready(function ($) {
     }); 
        // $(document).ready(fileCount);

</script>
    <script language="javascript" type="text/javascript">
        var $x = jQuery.noConflict()

         function fileCount(name) {
             $x.ajax({
                 type: "POST",
                 url: "vinservice.asmx/updatefileCount",
                 data: "{filename:'" + name + "'}",
                 contentType: "application/json; chars…

Google+ Followers