We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] SAP RFC Call Returns Error in Return Parameter from Vb Before the RFC Call

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Juan Garcia on Aug 17 at 3:19 PM
Mauro, I use RFC to get the information but you can't give a try.



Set Fun = Funcion.Add("Z_Rfc_Bascula_Direcciones")
Fun.Exports("ZWERKS") = Centro

' Ejecuta la Funcion
If Not Fun.Call Then
MsgBox "La Funcion para la Busqueda de Direcciones No pudo ser" & Chr(10) & _
"Ejecutada por Favor Intente Nuevamente", vbOKOnly + vbCritical, "ERROR"
Exit Function
End If 'If Not oFunc.Call Then

' Resivimos los valores de la funcion
NAME1 = Fun.Imports("ZNAME1")
CITY = Fun.Imports("ZCITY")
POST_CODE1 = Fun.Imports("ZPOST_CODE1")
STREET = Fun.Imports("ZSTREET")
TEL_NUMBER = Fun.Imports("ZTEL_NUMBER")
FAX_NUMBER = Fun.Imports("ZFAX_NUMBER")
REGION = Fun.Imports("ZREGION")

---------------Original Message---------------
From: Wes Arey
Sent: Friday, August 17, 2012 11:42 AM
Subject: SAP RFC Call Returns Error in Return Parameter from Vb Before the RFC Call

Mauro:
Are you sure? recommend again executing the function module in SAP in SE37 (not SM37, sorry for the typo) with the same inputs. What is the result?
Alternately you could use RFC_READ_TABLE. Functional and security checks aside, all this function module does is query table SKB1 for the supplied company code and GL Acct.

Wes

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Juan Garcia  
ABAP Consultant
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language