on 09-23-2013 8:51 AM
Hello World!
Need help.
I need to call Bapi from the interface in sproxy.
The connection between the XI/PI and ERP created, xml comes in format:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:BAPI_EXCHRATE_CREATEMULTIPLE xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<CHG_FIXED>X</CHG_FIXED>
<DEV_ALLOW>000</DEV_ALLOW>
<UPD_ALLOW>X</UPD_ALLOW>
<EXCHRATE_LIST>
<item>
<RATE_TYPE>M</RATE_TYPE>
<FROM_CURR>USD</FROM_CURR>
<TO_CURRNCY>RUB</TO_CURRNCY>
<VALID_FROM>20130920</VALID_FROM>
<EXCH_RATE>31.58920</EXCH_RATE>
<FROM_FACTOR>1</FROM_FACTOR>
<TO_FACTOR>1</TO_FACTOR>
</item>
</EXCHRATE_LIST>
<RETURN />
</ns0:BAPI_EXCHRATE_CREATEMULTIPLE>
May be have a working code?
Thanks,
Rinaz
Hi guys,
Question solved
it is very easy
CALL FUNCTION 'BAPI_EXCHRATE_CREATEMULTIPLE'
EXPORTING
UPD_ALLOW = input-upd_allow
CHG_FIXED = input-chg_fixed
DEV_ALLOW = input-dev_allow
TABLES
EXCHRATE_LIST = lt_exchrate_list
RETURN = lt_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
IMPORTING
RETURN = lt_return2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rinaz,
You should to specify more. Is your scenario Proxy - PI - RFC?, in PI have you imported RFC metadata?, are you asking for how to call an scenario from client abap proxy?, if you only want to know how to create a client proxy check Former Member blog http://scn.sap.com/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.