cancel
Showing results for 
Search instead for 
Did you mean: 

Sample code for ABAP Client proxy

Former Member
0 Kudos

Hi,

I am new to proxies.

i have written a report and calling a FM in report.

i want to convert this report program to proxy can you translate this to proxy code.

&----


*& Report ZBANK_RECONC_ELSAL *

*& *

&----


*& *

*& *

&----


REPORT zbank_reconc_elsal.

TABLES zbankrecon.

DATA: itab LIKE zpayr OCCURS 0 WITH HEADER LINE.

DATA: jtab LIKE zpayr OCCURS 0 WITH HEADER LINE.

DATA: it_bank LIKE zbankrecon OCCURS 0 WITH HEADER LINE.

PARAMETERS: cmp_code LIKE zpayr-zbukr.

PARAMETERS: hse_bank LIKE zpayr-hbkid.

PARAMETERS: acc_id LIKE zpayr-hktid.

START-OF-SELECTION.

CALL FUNCTION 'Z_BANK_RECONCILIATION'

DESTINATION 'RD7TOXD1'

EXPORTING

comp_code = cmp_code

house_bank = hse_bank

account_id = acc_id

TABLES

chqdetails = itab.

COMMIT WORK.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Jeff,

Also try the post the same issue in the ABAP forums for more responses.

---Satish

Former Member
0 Kudos

Hi-

Check out this blogs:

Client Proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Coding ABAP Proxies

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

Former Member
0 Kudos

hey

i m not a ABAP expert but if i look at SAP help

http://help.sap.com/saphelp_nw2004s/helpdata/en/22/042592488911d189490000e829fbbd/frameset.htm

then for async RFC we need to specify "Starting New task" and for sync we have to specify "Destination" as well as importing too

u may have a look at the above thread and see if ur RFC is correct

thanx

ahmad