How to register remote function in EUL
Dear All,
I want to register remote database function in EUL.
I have already created a DB link to that DB.
Aqeel Nawaz
Hi,
You can do that by defining the DB link to use while you register the function.
From the Administrator go to "Tools-> Register PL/SQL Functions..."
Fill in the information of the function (name, display, owner ...)
And in the "Database Link" choose your new DB link.
Tamir
Similar Messages
-
How to register remote client in java to a Corba server in C++
Hi All,
Although i know that it spossible for to have a Corba client in java and Corba server in C++.What am nto sure is whether i can have this client and server on 2 different machines.In a vwgue way i think it shoudl be possible but not sure.
I have Server running in Corba in one machine, how to register java client on another machine to this server .??
Thanks,
RanjithaHi,
You can do that by defining the DB link to use while you register the function.
From the Administrator go to "Tools-> Register PL/SQL Functions..."
Fill in the information of the function (name, display, owner ...)
And in the "Database Link" choose your new DB link.
Tamir -
How to register remote WebLogic 9 with netbeans5
can anybody tell me is it possible to register remote WebLogic 9 with netbeans5
Hi,
This forum is exclusively for discussions related to Sun Java Studio Creator. Please post your question at : http://www.netbeans.org/community/index.html
Thanks,
RK. -
Debuggin a Call to Remote Function Module
Hi
I have a scenario where i have a Remote Function Module in r3 which is being called synchronously by an external java application. The FM has a lot of input and output parameters and many tables. The output returned by the FM is not as expected.
Can anyone tell me how debug a Remote Function Module when a call has been made from an external application.
I am not able to get the test data sent by the external application . So when the external application gives a call to this Remote FM and if it is possibele to debug it would be great.
regards
Nilesh Taunk.Hi Nilesh,
1) Login to SAP with the same ID with which you will calling the RFC function module from the outside system.
2) Goto transaction - se37/se38
3) Goto Utilities => Settings.
4) Select the ABAP Editor Tab.
5) Click on the Debugging tab.
6) Tick the Actv. button and give the user name with which you will be debugging the code. In this case the logged in user id.
7) Press Enter.
8) Now put an external break point inside the Function Module.
9) Load your external application (from where you want to debug the FM) once again.
The execution will stop in the FM.
Hope it helps..
Lokesh
PS: This was a simple question, but I guess the reason no one has answered your question is due to the fact that you havent rewarded points to members helping you. Also remember to close your post once it has been answered. -
hi all,
i want to know how to create remote function modules. how to give the import and export parameters. i want the link of how to create the function modules.
bye
sureshHi Suresh,
Goto transaction
SM37 -> Create your function module as Z_FUNCTION.
Assign a function group ( if function group is not there then create a function group as SE37 -> GOTO -> Function Group -> Create Function Group)
On attribute tab, you will see three radio buttons.
Select 'Remote enabled module'
Select :Import tab.
Enter i_MATNR
Type MATNR
Select : Export tab
Enter : e_mara
TYPE MARA
Select : Source Code
Enter :
SELECT SINGLE * FROM MARA INTO e_mara FOR MATNR = i_MATNR.
Save your module.
Activate it.
Test using F8.
You can call this function in your program as
CALL FUNCTION 'Z_FUNCTION' DESTINATION destination_name.
Hope this will help.
Please award few points if it resolves your issue.
Thanks and Warm Regards.
Pras Durafe -
How to register the recipient when create job by function
I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
Can you tell me how to register the recipient when create the job.
( in sm36, it is easily to do but how to do in coding? )
regards,
slamHi
I think in Back ground using the above fun modules you can't send a mail to the receipient.
see the use of the above fun modules;
IF p_bjob = 'X'.
CONCATENATE sy-cprog sy-datum sy-uzeit
INTO jobname SEPARATED BY '_'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_archive_parameters = arc_params
out_parameters = print_params
valid = valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF valid = chk.
SUBMIT ybrep
WITH < sel Screen>
AND RETURN
USER sy-uname
VIA JOB jobname
NUMBER jobcount
TO SAP-SPOOL
SPOOL PARAMETERS print_params
ARCHIVE PARAMETERS arc_params
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
MESSAGE i029 WITH jobname.
ENDIF.
ELSE.
MESSAGE s000 WITH text-003.
STOP.
ENDIF.
ENDIF.
Reward points if useful
Regards
Anji -
Hi...
2.....how to convert normal function module into remote enabled function module?
thanks and regards,
k.swaminath.Hi,
In the attributes tab select radio button as remote enabled instead of normal..
u can call the remote enabled fm as...
CALL FUNCTION <Function module> destination <destination name>
Regards,
Nagaraj -
I need more information than is covered in the Apple TV Set-Up guide on the Remote Functionality re how to turn off Apple TV
If you are using the included remote control, under settings there is a 'Sleep Now'. What ATV generation do you have?
-
How to debug a remote function module in calling system? Help!
Hi Experts,
I have a ABAP report (in System A) from where I am calling a remote function module which exists in a different system B.
ABAP Program(System A)<----calls--
RFC(System B)
Can I debug the RFC funnction module in system A using ABAP debugger? In other words if i put a breakpoint on the "call function" statement then in debug mode I want to see that the control is going to system B and I should be able to process the FM code line by line. Is this possible?
Is there any special transaction or settings?
Is there any alternative?
Please help
Thanks
Gopalhello,
Try this method.
first check whether RFC connection is working b/w 2 systems.
if connection is working, then do like this.
In System B , put endless loop in FM before some main select statement.
like
DATA : v_a TYPE c VALUE space
DO .
IF v_a = 'X'.
EXIT.
ENDIF.
ENDDO.
the above code will be endleep loop.
In system A, when cursor goes to CALL FUNCTION DESTINATION 'XXXXX'.
u shud be logged in system B. the moment control comes to system B.goto tcode SM50 . check ur username . choose that particular checkbox then in menu bar --> program/session --> Program --> Debugging.
i hope it will help u.
try & let us know.
Thanks,
Manjunath MS -
How to register PL/SQL function with Varchar2 argument in Discoverer
Hi,
I have registered a PL/SQL function in Discoverer Administrator 10.1.2.1. Function has two arguments with data type varchar2. In discoverer I've selected varchar as it doesn't have varchar2.
When i use this function in report using discoverer desktop it gives an error "One of the function argument has an incorrect datatype.
I would appreciate if somebody can help
Regards
BAHi,
First, do not wait to use it in order to check it.
In the discoverer admin you can "Validate" the function on after registering it.
there are couple of things you should know about registering the function:
1. the "Varchar" option you selected is correct (there is no varchar2 in the admin definition).
2. check the database function to verify that you indeed registered all its arguments and they match the names and types of the db function.
3. during the registration, type everything in UPPER CASE.
the other way to register the function (and you will not need to deal with the definition of it) is to search for the function in a list.
in order to do that, on the register function screen press the "Import" button (on the bottom right side of screen).
then search by the owner (db user / schema) that the function / package is registered.
Tamir -
How to create dropdown list for custom remote function module
HI ,
I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete values ) in function module.Is it possible.Hi
Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
In this you can provide a value
Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
refresh fields.
DATA: fields LIKE SVAL OCCURS 0.
fields-tabname = 'MAKT'.
FILEDS-FIELDNAME = 'MAKTX'.
APPEND FIELDS.
CALL FUNCTION 'POPUP_GET_VALUES' " Try copying this in a Test program and execute
EXPORTING
POPUP_TITLE = 'Enter Mail Id here'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE = SRETURN
TABLES
FIELDS = FIELDS.
Cheerz
Ramchander Rao.K
Edited by: Rob Burbank on Nov 23, 2011 9:50 AM -
Regarding Remote function module ARCHIV_CONNECTION_INSERT
Hi All,
Can any give me more detial about remote function module ARCHIV_CONNECTION_INSERT . So i have requirement that our client is archiving document from Commonstore. So want to create custom function module for TOA01 ( ZTOA01 ) and add a maintanance field. if data is archived maitaianance field should be flagged and next time when he is archivig document he dont want to give date. so only unflagged document should be archived.
so can any one help me how to overcome this requirement as this is urgent.
Thanks in advance.
Best Regards,
zuberaGo to SAP Service Marketplace (service.sap.com) and SAP Notes Search. Put in the note number 758278 and hit display.
However to be able to access service marketplace you need a s-user registered for the company you are working for. Please contact your basis team to find out what user is available to you.
Regards,
Michael -
Regarding Remote Function Module RFC_READ_TABLE
HI,
Can any one please let me know that whether Remote function Module RFC_READ_TABLE work in uni code system.
In notes 382318 stated some problem regarding the Long run structure and security problem.
So please let me know how to overcome this problem.
Please reply. it is urgent.
Thanks in advance.
Best Regds,
zuberaGo to SAP Service Marketplace (service.sap.com) and SAP Notes Search. Put in the note number 758278 and hit display.
However to be able to access service marketplace you need a s-user registered for the company you are working for. Please contact your basis team to find out what user is available to you.
Regards,
Michael -
How to create RFC function module and how to call this function module
Hi,
i want to know step for creating RFC function module and then How to use this function module from some other sap system.
Thnaks,
jigarJigar,
To implement a remote function module in ABAP, perform the following steps:
Register the module as remotely callable in the RFC server system.
In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.
Write the code for the function module.
Create the destinations.....................
Displaying, Maintaining and Testing Destinations
To display, create or modify destinations, choose Tools ® Administration ® Administration ® Network ® RFC destinations or enter transaction code SM59.
Remote Destinations are stored in table RFCDES. The RFCDES table describes logical destinations for remote function calls.
It is not possible to maintain the RFCDES table directly.
You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® AcceleratedSAP ® Customizing ® Execute Project ® SAP Reference IMG.
In the Implementation Guide, expand the following hierarchy structure:
Basis
Application Link Enabling (ALE)
Sending and Receiving Systems
Systems in Network
Define Target Systems for RFC Calls
Displaying Destinations
The initial screen for this transaction displays a tree:
Different connection types (i.e. partner systems or programs) are possible. For further information, see Types of Destinations.
To display all information for a given destination, double-click it, or place the cursor on it and press F2 .
To search for a destination, press the Find button and specify your selection. You get a list of all entries matching your selection. Place the cursor on the one you want, and press F2 or simply double-click the destination. All information for the given entry appears.
Creating Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
All available connection types are explained in Types of Destinations.
To create a new RFC destination, press the Create button. A new screen is displayed with empty fields for you to fill in.
If you want to create a new destination
As you create a remote destination, you can specify a particular application server or a group of servers for a balanced distribution of system load.
For details of the destination parameters, see Entering Destination Parameters.
Changing Existing Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
You can display all information for a given destination by double-clicking it or pressing F2 on it.
To change an existing destination, double-click it, or place the cursor on it and press the Change button.
For details of the destination parameters, see Entering Destination Parameters.
Testing Destinations
To test a destination, choose the appropriate function from the Test menu.
Connection (also available via the Test connection pushbutton)
Authorization (checks logon data)
Local network (provides a list of application servers)
You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run:
CALL FUNCTION RemoteFunction
DESTINATION Dest
EXPORTING
f1 =...
f2 =...
IMPORTING
f3 =...
TABLES
t1 =...
EXCEPTIONS......
The field Dest can be either a literal or a variable: its value is a logical destination (for example, "hw1071_53") known to the local SAP System. Logical destinations are defined in the RFCDES table (or the TRFCD table in R/2 Systems) via transaction sm59 or the following menu path: Tools ® Administration, Administration ® Network ® RFC destinations. You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® Customizing ® Enterprise IMG. In the Implementation Guide, you can then choose Cross-application components ® ALE ® Communication ® Define RFC destination.
The remote function call concept, for example, allows you to access a function module in an R/2 System from an ABAP program in an R/3 System. If you want to read a customer record from your R/2 Systems database, create a remotely callable function module in the R/2 environment which retrieves customer records. Call this function from your R/3 System using a remote function call and listing the destination for the target R/2 System:
Pls. reward if useful -
Remote function module is not compilable, normal function is not
Hi,
i have a function module with processing type "normal function", which is compilable and working well. I'm using the type definition ABAP_COMPNAME.
If i change the function module to "remote-enabled", i'm getting a compiler error that ABAP_COMPNAME is unknown.
Can someone explain why this is happening? For what reason ABAP_COMPNAME is no longer available when i'm chnaging the FM to remote enabled?
PS Please dont give any hints how to change my function module, that is NOT the question. I just want to understand the mechanism behind.It is clearly mentioned in SAP Help that we cannot use types from type-pool
in RFC function modules.
Associated Type of an Interface Parameter
ABAP associated type for an interface parameter. The associated type must be a
global Dictionary type or exist in a type pool. In the latter case, the type pool must
be declared in the function group.
Note that you cannot use types from type pools for RFC-enabled function modules.
When assigning a type using the LIKE typ method, you cannot use types from
type pools either.
Additionally you can use the internal ABAP types C, I, N, X, P, D, T, F, and the
TABLE type - to an extent in generic form.
You can find further information about this in the Function Builder manual and in the
ABAP online documentation under the keyword "Types".
Maybe you are looking for
-
Have problem when generate Web Service from bapi function
Dear all, Please kindly help me about generating Web Service from BAPI function, It does not success only this attached function. I have done so many function without any problems. I found 1 case that I use specific variable to be an import/ export t
-
Revision: 19160 Revision: 19160 Author: [email protected] Date: 2010-12-08 11:31:26 -0800 (Wed, 08 Dec 2010) Log Message: fix the regression of failed send out unsubscription message to the message client. Basically when the MessageClient is in
-
Vue scan doesn't recognize HP cm 2320
im running on yosemite. cm2320 prints just fine...per the helpful post i loaded vuescan to try and get scanner to work with the cm2320 in yosemite with my macbook air, but vuescan say cannot find a scanner....any ideas? many thanks
-
Thousands of grey thumbnails with duplicate ._IMG* filenames?
Hi I have iPhoto 9.5.1 for Mavericks and have 10's of thousands of grey thumbnails that I cannot view. When I check the info on these they all show with a ._ prefix. E.g. "._IMG_0041", when I search for IMG_0041 I can see the photo fine. I have gone
-
I'm trying to get data that got returned by a php page to well.. actually show up in the datagrid. This is the data returned by php: quote: <projects> <project> <KKIreff> 54 </KKIreff> <Klantreff> 45 </Klantreff> <Datum> 2008-06-21 </Datum> <Status>