2008 Mar 20 8:02 PM
Hi,
Where do I specify in a web dynpro application/component "from which SAP system to retrieve the data " ? For example I am developing a component in my SAP system and use a BAPI to fetch the data. So when I run the application it fetches the data from my own system. But later when my component/application is reused, and if the user wants to fetch the data from another sap system, where and what is to be specified. Any idea ?? Please correct me if my understand is wrong..
thanks
2008 Mar 20 8:18 PM
The data for WD4A is from the system it runs on. If you need to get data from another system, you may have to write a "wrapper" RFC for the BAPI. The "wrapper" RFC could look like this:
select destination into w_destination from zconfig_table.
call function "BAPI_XXXX"
destination w_destination
exporting
.
.
importing
.
.
.
The interface for the "wrapper" RFC will be the same as the BAPI (unless you want it to be different!).
You can now use this "wrapper" RFC as your model in WD4A.
Hi,
Where do I specify in a web dynpro application/component "from which SAP system to retrieve the data " ? For example I am developing a component in my SAP system and use a BAPI to fetch the data. So when I run the application it fetches the data from my own system. But later when my component/application is reused, and if the user wants to fetch the data from another sap system, where and what is to be specified. Any idea ?? Please correct me if my understand is wrong..
thanks
2008 Mar 20 8:18 PM
The data for WD4A is from the system it runs on. If you need to get data from another system, you may have to write a "wrapper" RFC for the BAPI. The "wrapper" RFC could look like this:
select destination into w_destination from zconfig_table.
call function "BAPI_XXXX"
destination w_destination
exporting
.
.
importing
.
.
.
The interface for the "wrapper" RFC will be the same as the BAPI (unless you want it to be different!).
You can now use this "wrapper" RFC as your model in WD4A.
2008 Mar 20 8:46 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |