on 05-23-2005 2:28 PM
i need to call to a method in sap (in BAPI or RFC).
please give me a code example and dll's required list.
thanx , zion.
hi friends, i need to call the "OrderMaintain" method in the "MaintenanceOrderBAPI" BAPI. This i need to do it in order to create an Order via VB. Could anyone of you help me in this regard. Kindly send me the WORKING sample code and the list of dll's or ocx's to be included.
Regards Kranthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dim BAPI As New SAPProxy
Dim conStr As String = "ASHOST=server_name
SYSNR=system_number CLIENT=client_id USER=loginID
PASSWD=password
BAPI = New SAPProxy(Constr)
Dim SAPtbl As New Name_of_the_table_in_BAPI
Try
BAPI.BAPI_NAME(Parameter1, Parameter2, .) --> This is how you would call the BAPI
Catch ex As Exception
MsgBox(ex.Message)
End Try
Note: SAPProxy is the name of the SAPWSDL file where you drag and drop your BAPIs/FM using server explorer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.