How to call Function through Soap Action
Hi all,
I have a Receiver communication channel in PI that sends data to from the interface to Oracle Webservice.
At that moment a function should be called with two constant parameters and the third one is the xml with all the data.
updateExchangeRates("CJV", "connector", ratesXML)
xml schema:
Anyone knows if it is possible to call that function in PI soap action and how should I do it?
I've tested soap action with
updateExchangeRates("CJV", "connector", list_wrapper)
and got the error:
invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
Thnaks in advance,
Regards
Hi,
Please refer the below blogs for dynammic soap action
How to set soap action in soap adapter during configuration when there are multiple operations in a web service?
Dynamically providing URL and action values to receiver SOAP communication channe
regards,
Harish
Similar Messages
-
How to call dicoverer through menu option in forms
Hi,
Need help.........Can anybody tell me .....how to call dicoverer through menu option in forms.
Thanx
SunilHi,
You can define a Form Function filling the basic information and
HTML call Set as OracleOasis.RunDiscoverer. You can even define Paramters during the form function registration. With this definition you will able to create a link to a Discoverer workbook that will automatically open Discoverer Plus or Viewer to display the workbook using Apps security.
Please refer to the following Metalink Note for more details:
278095.1- How to Create a Link to a Discoverer Workbook in Apps11i
Hope This helps
- Sanjeev -
How to call function in jar file?
First, I can't write english well.(I'm korean.. ) sorry about that.
I have known function in jar file.
but I don't know how to call function in jar file.
how can I this work?
My project and another project are respectively developing D-project with me and other man.
so i need it. or I can't do this work.
I will paste other's source code in my source code.
and then recomplie , build it.. but it is not my wish!
thanks for reading my sentence.If you have a jar file with a class that you wish to use, then you must add the jar file to your class path ($CLASSPATH on unix, linux, etc. and %CLASSPATH% on Windows).
Then you can use the class normally, just as you would if it were not in the jar.
If you meant something else, you'll need to explain what you meant. -
HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM
PLEASE ANYONE TELL ME, ABOUT HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM. IT IS VERY URGENT!!!!!!!!!1
Hi,
Under Global Definitions, we have 'Form Routines' tab. Under this tab, u can have a dynamic subroutine call. With in FORM and ENDFORM, you can call the Function Module.With in the Program Lines editor, u can define the subroutine........PERFORM.
If helpful, reward points.
Rgds,
CK -
HANA Server site JavaScript how to call functions in another .js file? thanks
In HANA Studio, I have created a .js file and a server site javaScript .xsjs file. The .js file and .xsjs file are in the same path .I create function F1() in js file. Then I want to call function F1 in xsjs file. But it always through an error “f1 was used before it was defined”. Any suggestion? Thanks very much
.js file:
.xsjs file:Hi Jim,
Now I have found the method how to use external library. If we want to outsource some of xsjs functions to an external library, XSEngine provides a special format for this, called “.xsjslib”. Then in xsjslib file, we define functions need to be outsourced.
In .xsjs file, we can import a library using the following code:
$.import("<Package_Library_was_deployed>","xsjslib File Name");
The Package_Library_was_deployed please refer to:
Access functions inside library by this path:
$.Package_Library_was_deployed.xsjsFileName.FunctionName(); -
How to Call smart form in Action
Hi All,
Could some one tell me how to call the smart form in action.
Eg. PB40 - Offer Contract Action.
Appreciate your respnse.
Regards
RajHi ,
attached you find some abap code to call a smartform with some comments in it. Hope that helps:
DATA: l_fn_name TYPE rs38l_fnam
, l_devtype TYPE rspoptype
, ls_output_options TYPE ssfcompop
, ls_control_parameters TYPE ssfctrlop
, ls_job_output_info TYPE ssfcrescl
, l_pdf_fsize TYPE i "#EC NEEDED
, lt_otf_tab TYPE tsfotf
, lt_pdf_lines TYPE TABLE OF tline
To do
The mapping from the UI structure to the Smortform structure has to be
implemented here or in a pirvate method.....
Call function module u201CSSF_FUNCTION_MODULE_NAMEu201D to get the name of the smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = zh38tm_cl_zz_2gen_bl_constants=>c_smartforms_hipo
IMPORTING
fm_name = l_fn_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc = 0.
Call function module u201CSSF_GET_DEVICE_TYPEu201D to get the print parameter
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = sy-langu
IMPORTING
e_devtype = l_devtype
EXCEPTIONS
no_language = 1
language_not_installed = 2
no_devtype_found = 3
system_error = 4
OTHERS = 5.
IF sy-subrc = 0.
Fill label structure to smartform
ls_labels = zh38pm_cl_zz_bl_perf_plan=>set_sf_label( ).
Set output parameters u201CLANGUAGEu201D, u201CNO_DIALOGu201D and u201CGETOTFu201D
ls_output_options-tdprinter = l_devtype.
ls_control_parameters-no_dialog = abap_true.
ls_control_parameters-getotf = abap_true.
ls_control_parameters-langu = sy-langu.
Call smartform with the structures u201CIMP_S_PERF_PLANu201D, u201CCHG_S_PRINT_PLAN
CALL FUNCTION l_fn_name
EXPORTING
control_parameters = ls_control_parameters
output_options = ls_output_options
s_doc_processing = gs_doc-s_doc_processing
s_header_display = gs_doc-s_header_display
s_header_texts = gs_doc-s_header_texts
s_header_status = gs_doc-s_header_status
t_header_appraiser = gs_doc-t_header_appraiser
t_header_appraisee = gs_doc-t_header_appraisee
t_header_part_appraiser = gs_doc-t_header_part_appraisers
t_header_other = gs_doc-t_header_others
s_header_dates = gs_doc-s_header_dates
t_header_add_data = gs_doc-t_header_add_data
t_body_columns = gs_doc-t_body_columns
t_body_element_descr = gs_doc-t_body_element_descr
t_body_elements = gs_doc-t_body_elements
t_body_cells = gs_doc-t_body_cells
t_body_cell_notes = gs_doc-t_body_cell_notes
t_body_cell_val_values = gs_doc-t_body_cell_val_values
t_body_cell_val_ranges = gs_doc-t_body_cell_val_ranges
t_body_cell_val_c_like = gs_doc-t_body_cell_val_c_like
t_body_cell_val_descr = gs_doc-t_body_cell_val_descr
IMPORTING
job_output_info = ls_job_output_info
EXCEPTIONS
formattinl_error = 1
internal_error = 2
send_error = 3
user_canceled = 4.
IF sy-subrc = 0.
APPEND LINES OF ls_job_output_info-otfdata TO lt_otf_tab.
exp_t_otf = lt_otf_tab.
Call function module u201CCONVERT_OTFu201D to convert the smartform data
to exporting parameter u201CEXP_PDF_XSTRING
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = l_pdf_fsize
bin_file = exp_pdf_xstring
TABLES
otf = lt_otf_tab
lines = lt_pdf_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc ne 0.
CLEAR exp_pdf_xstring.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
First you have to determine the smartforms function modules name the wxecute it. -
How to call Function Module in Selection Screen
Hi All,
I have developed one HR Report (Qualification Overview Report: To display all active employees and their Qualifications along with their Proficiency).
Already it has 3 selection fields on selection screen and now I want one more field on selection screen like Qualification Id.
But when the end user press F4 it should display the Popup which comes in TCode: PA30 at the time of Creating Qualification.
I have debugged the Standard Code and searched the Function Module: 'RH_OBJID_REQUEST' which shows Popup which I wanted to show at Selection screen for newly added field.
So I have to define new field like 'Qualification Id' and want to attach above Function Module so that it will cater my requirement.
If anybody has worked on this type of requirement then please let me know.
Thanks,
Jay.Hi Raymond,
I have written following code:
s_quali is used in selection screen for Qualification Id.
SELECT-OPTIONS : s_quali FOR hrp1000-objid NO INTERVALS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_quali-low.
CALL FUNCTION 'RH_OBJID_REQUEST'
EXPORTING
plvar = '01'
otype = 'Q'
seark = '*'
seark_begda = '18000101'
seark_endda = '99991231'
set_mode = 'X'
TABLES
sel_objects = git_objects.
LOOP AT git_objects INTO wa_objects. " Logic is to fill up the Selection screen field
s_quali-low = wa_objects-objid.
APPEND s_quali TO s_quali.
CLEAR : s_quali, wa_objects.
ENDLOOP.
Now problem is that, its not populating all values in selection screen which I select from Popup screen (Choose Qualification).
I checked that the first value in the internal Table is over written by second records in the internal table
For e.g.: If I select 001,002,003,004 from Popup screen then I am able to see only 002,003,004 in the Multiple selection view of that field though it is available in the internal table s_quali (because I am filling up the table using Loop-Endloop)
Please advise me how to overcome this issue. (How to fill up selection screen)
Thanks,
Jay. -
How to call functions defined and packed in a .dll file
hi,
my client have provided me with a .dll file which implements all functions tasks.
earlier we created a applications in vb that accessed functions from the .dll file provided by client.
now he wants java implementation of the same application written in vb.
now how to access functions in .dll file provided by the client from java source code.
regards,
s.mohamed asifFor this you should write JNI wrappers for the native functions, that is you create class with the native function prototypes as native methods, implement these methods with native functions in JNI module, each JNI function calls a native function from your DLL.
I know that JNI coding is a greate pain. That is why I am developing Java Platform Invoke which is a paradigm of .NET Platform Invoke. See my demo at
http://www.sharewareplaza.com/Java-Platform-Invoke-API-Demo-version-download_49212.html -
How to call function module/ class method of another system.
Suppose now i am working in System A. And i need to check the system Status of System B, System C, System D....
my design is to provide an interface. and each system realize the interface individually.now my question is how cani call the interface, because they are in different systems.
of course i know about the host name, port and logon information over these systems.
who can give my some suggestions or other solutions.
thanks in advance.
Johnney.Hello,
If u want to call a FM of the other system then that FM should be a RFC enable on one.
<b>CALL FUNCTION func DESTINATION dest.</b>
Effect
Executes the function module from an external source (as a Remote Function Call or RFC); dest can be a literal or a variable.
Depending on the specified destination, the function module is executed in another R/3 or R/2 System. Externally callable function modules must be flagged as such in the Function Builder (of the target system).
Since each destination defines its own program context, further calls to the same or different function modules with the same destination can access the local memory (global data) of these function modules.
To maintain existing destinations, choose Tools -> Administration, Administration -> Network -> RFC destinations
Note
Under certain circumstances, an RFC may trigger a database commit. For this reason, RFCs must not be used between pairs of SQL statements that open and close a database cursor (such as SELECT... ENDSELECT).
Vasanth -
How to call function module from IP
Hi
I need to trigger the process chain from the input ready queries in Bex analyzer. I figured out that I need to call RSPC_API_CHAIN_START.
How do we go about in calling the above function module in IP.
Thanks in advance
IHi Matt
Thanks for your response, it was very productive at the right time as we saw our process chain running indefinetly. With selecting all chars to be changed, it ran just once with no errors.
what is TA ? I know rsplan- transaction code for the planning modeler.
Can you tell me how can we call function module in custom exit planning function.
Where should I embed the code
CALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
I_CHAIN = 'ZPC_CCATOPCA'.
I_T_VARIABLES =
I_SYNCHRONOUS =
I_SIMULATE =
I_NOPLAN =
IMPORTING
E_LOGID =
EXCEPTIONS
FAILED = 1
OTHERS = 2
thanks in advance -
HOW TO CALL FUNCTION MODULE FROM ABAP4 EDITOR
HI !
friends
I want to call function module from abap 4 editor.
is there any shortcut key from edit menu through which if give a function module name then it calls the function automatically?
points will be awarded.
Cheers
troycommand will be like this
<b> call function 'YW2_GET_MNW_PERIOD'
exporting
w_budat = v_datum
importing
w_period = i_date-period
w_period_desc = i_date-p_desc.</b>
Regards
prabhu -
How to call particular method in action class from Portlets StrutsContent
I am developing a web application which uses weblogic portlets and struts. This is what I have for now in the .portlet file.
+<netuix:strutsContent action="getStudentList" module = "people/students"+
refreshAction = "getStudentList" reqestAttrpersistence="none"/>
I want it to change something like this:
+<netuix:strutsContent action="getStudentList.do?method=allGrads" module = "people/students"+
refreshAction = "getStudentLis.do?method=allGrads" reqestAttrpersistence="none"/>
But this is not working. So how can I achieve something like that?
Thanks
Edited by: user13634949 on Jun 23, 2011 1:22 PM
Edited by: user13634949 on Jun 23, 2011 1:22 PMNo, i dont know how to call other than main methods from other classes
And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch)......... -
How to Call DataGrid through xml
Hi,
I need to fill my datagrid when i click the add button. How
to do it and how to call through Xml. Any idea.
Regards
MuthuHi,
You can find a sample in which XML data is being displayed
using DataGrid.
http://livedocs.adobe.com/flex/3/langref/mx/controls/DataGrid.html#includeExamplesSummary
Hope this helps. -
How to call webservices using soap in xi
Hello
I am tring to work on webserivces,bascially i am not having any knowledge on webservices,i have seen the documentation & i know how to configure soap adapter & how to define webservice in integration directory.can any one please help me out how to work with webservices & good documentation on webservices & soap.
Thanks
RajeshHi Rajesh,
Use server(tomcat server) or plain html coding for defining webservices....
check sample webservice coding
Purchase Order Web Application
dispDate(0)
Purchase Order Input Parameters:
Document Type:
Standard PO
Vendor Number:
Purchase Order Date:
Purchasing Material:
Delivery Date:
Quantity:
NetPrice:
Unit of Measurement:
PCs
PriceUnit:
Results:
/code
And gothrough the following weblogs which will be useful...
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/thomas.jung3/blog/2005/06/05/web-services-the-case-of-the-missing-soap-action-header
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Hope u get some idea...
Regards,
Sridhar
Message was edited by: sridhar reddy kondam -
How to call function which return and out
My function specifcation is
FUNCTION GetGoogleScholarActivation (
pi_clnt_id IN google_scholar_status.clnt_id%TYPE,
pi_status_type IN ci_status_type_tab_type,
po_status OUT ci_status_tab_type,
po_date OUT ci_date_tab_type
RETURN NUMBER ;
where type is
TYPE ci_status_type_tab_type IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
TYPE ci_status_tab_type IS TABLE OF VARCHAR2 (10) INDEX BY BINARY_INTEGER;
TYPE ci_date_tab_type IS TABLE OF VARCHAR2 (8) INDEX BY BINARY_INTEGER;
I am trying to call function in SQL PLUS for testing as
declare
var number ( 10);
TYPE p_st1 IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
p_st p_st1 ;
type p_status1 IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
p_status p_status1 ;
TYPE p_date1 IS TABLE OF VARCHAR2 (8) INDEX BY BINARY_INTEGER;
p_date p_date1 ;
Begin
p_st(0) := 'A';
var := PQDKGOSH.GetGoogleScholarActivation(11920 , p_st, p_status ,p_date );
dbms_output.put_line ('Activation_status '|| p_status(0) );
dbms_output.put_line ('Activation_date '|| p_date(0) );
dbms_output.put_line ('Retun Value'|| var );
End;
but getting error PLS-00306: wrong number or types of arguments in call to
'GETGOOGLESCHOLARACTIVATION'
so how to test from SQL PlusHI
I tried to execute below like this
declare
var number ( 10);
p_st ci_status_type_tab_type ;
p_status ci_status_tab_type;
p_date ci_date_tab_type;
Begin
p_st(0) := 'A';
var := PQDKGOSH.GetGoogleScholarActivation(11920 , p_st, p_status ,p_date );
dbms_output.put_line ('Activation_status '|| p_status(0) );
dbms_output.put_line ('Activation_date '|| p_date(0) );
dbms_output.put_line ('Retun Value'|| var );
End;
still iget error
PLS-00201: identifier 'CI_STATUS_TYPE_TAB_TYPE' must be declared
becuse this declareation i did in package specification .
and i am trying to execute the function .
Maybe you are looking for
-
Can we remove timestamp which is added infront of the file name, in archive
Can we remove timestamp which is added infront of the file name of datafile which was imported succesfully , in archive folder, i have a requriment to move file from archive folder to another folder, but programmer is finding diffficulty in moving t
-
Localization of CrossTab row and column label Crystal Report RPT file
Dear all, Does anyone know how to support multiple locale texts (English and French) in CrossTab Row and Column Header labels and grand total labels? Is there a way to parameterize text objects CrossTab in one single Crystal Report RPT file to use so
-
Hi SDN Friends... Today I bring an easy question. But I still reward as always. Supose I have two internal tables of same type. Only one field. They re filled like the example below. Itab1 01 02 03 04 05 06 Itab2 02 04 06 08 10 I want to remain only
-
Hi, I have recently been editing footage from a road trip and as the end result is going to be quite large I have broken the project down into 3 different files (road trip 1, road trip 2 amd road trip 3). I have done this so I can save them on my ext
-
CFMAIL issues (strange symbols)
I'm using a very basic automated mail response for a form. It simply notifies someone that something has been submitted. For the life of me, I cannot figure out why these symbols keep appearing in the top of each email. IT wouldn't be that big of a d