on 12-19-2007 2:46 PM
How to set RFC for ABAP WEB DYNPRO?
any bases setup for it ?
Very good!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you please be a little bit more detailed ?
Do you want to make an RFC-call from Webdynpro ?
Best regards, Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When i run a web dynpor program,then clicked a search button,view error,below:
Note
The following error text was processed in the system NSP : RFC Exception COMMUNICATION_FAILURE with Message RFC destination BAPI_FLIGHT_GETLIST does not exist. Occurred
The error occurred on the application server struts_NSP_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: EXECUTE_BAPI_FLIGHT_GETLIST of program /1BCWDY/2C0IGBDOH12G4V6MV8WO==CP
Method: IF_COMPONENTCONTROLLER~EXECUTE_BAPI_FLIGHT_GETLIST of program /1BCWDY/2C0IGBDOH12G4V6MV8WO==CP
Method: ONACTIONGET_FLIGHTS of program /1BCWDY/2C0IGBDOH12G4V6MV8WO==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/2C0IGBDOH12G4V6MV8WO==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
No, if the bapi you try to call, is in a different system you need a rfc-destination.
RFC Calls look like that:
CALL FUNCTION '<bapi-name>' DESTINATION <rfc_destination from sm59>
EXPORTING
.....
IMPORTING
.....
you need a rfc-destination for each remote system.
If the bapi is not in a remote system, just leave the destination <rfc_destination from sm59> away.
Best regards, Matthias
Thanks!
1.How to define a rfc Destination for web dynpro with abap
2.For web dynpro with abap,i just use and see the part code,don't see 'call.....',please help!
method ONACTIONGET_FLIGHTS .
*data lo_componentcontroller type ref to ig_componentcontroller .
*lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
*
lo_componentcontroller->execute_bapi_flight_getlist(
).
wd_Comp_Controller->Execute_Bapi_Flight_Getlist( ).
endmethod.
So make a doubleclick on Execute_Bapi_Flight_Getlist() and the you should see the coding of the ControllerMethod. There is the bapicall itself.
I think for RFC you should have a look at [this|http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm]
Best regards, Matthias
Edited by: Matthias Drescher on Dec 19, 2007 4:46 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.