Hi,
I'm trying to call an RFC from a vb web service. I have created the
proxy object with no worries but the return table always returns an
error even when I get success running the RFC inside SAP. I login to
the GUI under my own username but all the rfcs go through one rfc
user.
Before I go to the authorisations people, does this sounds like a
permissions problem at the SAP end or has anyone else experienced
problems like these? I am calling Bapi_Usr01dohr_Getemployee (gets
the pernr given the username which is pretty useful imho)
The code call is objSAPProxyGetPernr.Bapi_Usr01dohr_Getemployee(Not hing,
Nothing, Id, EmployeeNumber, sapBAPIRET2) where Nothing,Nothing
represents begin and end date (has a default value in the RFC as
SY-DATUM) and Id is the username.
Thanks 3 5513
What's the error?
"Dan" <di**************@hotmail.com> wrote in message
news:48**************************@posting.google.c om... Hi, I'm trying to call an RFC from a vb web service. I have created the proxy object with no worries but the return table always returns an error even when I get success running the RFC inside SAP. I login to the GUI under my own username but all the rfcs go through one rfc user.
Before I go to the authorisations people, does this sounds like a permissions problem at the SAP end or has anyone else experienced problems like these? I am calling Bapi_Usr01dohr_Getemployee (gets the pernr given the username which is pretty useful imho)
The code call is objSAPProxyGetPernr.Bapi_Usr01dohr_Getemployee(Not hing, Nothing, Id, EmployeeNumber, sapBAPIRET2) where Nothing,Nothing represents begin and end date (has a default value in the RFC as SY-DATUM) and Id is the username.
Thanks
Hi Eric,
The error was that it couldn't find the user (sorry can't remember
exact wording) whereas running the RFC inside SAP brought back the
userid
"Eric" <em******@comcast.net> wrote in message news:<Yenbc.164556$Cb.1657066@attbi_s51>... What's the error?
"Dan" <di**************@hotmail.com> wrote in message news:48**************************@posting.google.c om... Hi, I'm trying to call an RFC from a vb web service. I have created the proxy object with no worries but the return table always returns an error even when I get success running the RFC inside SAP. I login to the GUI under my own username but all the rfcs go through one rfc user.
Before I go to the authorisations people, does this sounds like a permissions problem at the SAP end or has anyone else experienced problems like these? I am calling Bapi_Usr01dohr_Getemployee (gets the pernr given the username which is pretty useful imho)
The code call is objSAPProxyGetPernr.Bapi_Usr01dohr_Getemployee(Not hing, Nothing, Id, EmployeeNumber, sapBAPIRET2) where Nothing,Nothing represents begin and end date (has a default value in the RFC as SY-DATUM) and Id is the username.
Thanks
Check for conversion routines in the function module. Many BAPI's don't
call them. You probably need to pad numeric values with 0.
"Dan" <di**************@hotmail.com> wrote in message
news:48*************************@posting.google.co m... Hi Eric, The error was that it couldn't find the user (sorry can't remember exact wording) whereas running the RFC inside SAP brought back the userid
"Eric" <em******@comcast.net> wrote in message
news:<Yenbc.164556$Cb.1657066@attbi_s51>... What's the error?
"Dan" <di**************@hotmail.com> wrote in message news:48**************************@posting.google.c om... Hi, I'm trying to call an RFC from a vb web service. I have created the proxy object with no worries but the return table always returns an error even when I get success running the RFC inside SAP. I login to the GUI under my own username but all the rfcs go through one rfc user.
Before I go to the authorisations people, does this sounds like a permissions problem at the SAP end or has anyone else experienced problems like these? I am calling Bapi_Usr01dohr_Getemployee (gets the pernr given the username which is pretty useful imho)
The code call is
objSAPProxyGetPernr.Bapi_Usr01dohr_Getemployee(Not hing, Nothing, Id, EmployeeNumber, sapBAPIRET2) where Nothing,Nothing represents begin and end date (has a default value in the RFC as SY-DATUM) and Id is the username.
Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: William C. White |
last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using
cURL? Our website is hosted on a shared drive and the webhost company
doesn't installed additional software (such as cURL)...
|
by: Albert Ahtenberg |
last post by:
Hello,
I don't know if it is only me but I was sure that header("Location:url")
redirects the browser instantly to URL, or at least stops the execution of
the code. But appearantely it continues...
|
by: James |
last post by:
Hi,
I have a form with 2 fields.
'A'
'B'
The user completes one of the fields and the form is submitted.
On the results page I want to run a query, but this will change
subject to which...
|
by: Ollivier Robert |
last post by:
Hello,
I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9
system. The link succeeds but everytime I try to run php, I get a SEGV from
inside the libcnltsh.so library.
...
|
by: Richard Galli |
last post by:
I want viewers to compare state laws on a single subject.
Imagine a three-column table with a drop-down box on the top. A viewer
selects a state from the list, and that state's text fills the...
|
by: Albert Ahtenberg |
last post by:
Hello,
I have two questions.
1. When the user presses the back button and returns to a form he filled
the form is reseted. How do I leave there the values he inserted?
2. When the...
|
by: inderjit S Gabrie |
last post by:
Hi all
Here is the scenerio ...is it possibly to do this...
i am getting valid course dates output on to a web which i have designed
....all is okay so far , look at the following web url
...
|
by: Jack |
last post by:
Hi All,
What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g.
select x from y where z=:parameter
Which in asp/jsp would be followed by some statements to bind a value...
|
by: Sandwick |
last post by:
I am trying to change the size of a drawing so they are all 3x3.
the script below is what i was trying to use to cut it in half ... I
get errors.
I can display the normal picture but not the...
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |