Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Cretae ABAP proxy to push itab data

Former Member
0 Kudos

Hi Experts,

I am having a 100,000's of data containing KNA1 records in an internal table. Instead of downloading it to local PC or onto an applications erver i am asked to create ABAP proxy server and schedule jobs to push smaller chunks of data into Xi .

Now i want to know how do i handle the ABAP proxy generation..etc?

please suggest.

Thanks

Dany

1 ACCEPTED SOLUTION

b_deterd2
Active Contributor
0 Kudos

co_prxy is an instance of a class. The class itself can be found in transaction SPROXY.

hope it helps you,

Bert

6 REPLIES 6

Former Member
0 Kudos

CALL METHOD co_prxy->execute_asynchronous

EXPORTING

output = it.

IF sy-subrc = 0.

COMMIT WORK.

ENDIF.

0 Kudos

Hi,

What is co_prxy there? Is it a class? i could not see it in se24 i am on Ecc 6.0

Thanks

Dan

b_deterd2
Active Contributor
0 Kudos

co_prxy is an instance of a class. The class itself can be found in transaction SPROXY.

hope it helps you,

Bert

Former Member
0 Kudos

Hi Bert /Yelow,

I had seen the tcode SPROXY. I could not see any instances of the class co_prxy What is the underlying class ? How do i call this inmy interface program in se38?

Can some one please elaborate ?

thanks

Dany

b_deterd2
Active Contributor
0 Kudos

your XI consultant has made a message interface. In that you can find a proxy class.

In your ABAP you make a instance of that class .

DATA: co_prxy TYPE REF TO <<the proxy class>>.

  • Create client Proxy Object

CREATE OBJECT co_prxy.

  • Call method to send asynchronous message

CALL METHOD co_prxy->execute_asynchronous

EXPORTING........

if you don't find anything, are you sure your Xi guy has made the message interface yet?

regards,

bert

Former Member
0 Kudos

Hi Bert Deterd

Thats fine..Then where do i specify the path to download the data contained in my internal table? My int table is specified in the export param.

Please sugest.

thanks

Dany