cancel
Showing results for 
Search instead for 
Did you mean: 

File to ABAP proxy in R/3 - Call proxy interface ( class ) problem?

Former Member
0 Kudos

Hi~

I'm running a scenario that call an ABAP proxy.

In integration server, executing message mapping is successed.

And it calls Adapter. (I can confirm it in SXMB_MONI)

Then Business System (R/3) receives Inbound Message succesfully.

But I think, it doesn't execute ABAP proxy interface that save data into table.

In Business system, there is only Inbound Message when I check SXMB_MONI.

Is there any configuration to call ABAP proxy method??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can see only the message inbound to Business system..

check ur Execute_Asynchronous method and make sure that ur programming logic is fine (If u r calling BAPIs some commit may be missing).

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

Former Member
0 Kudos

Hi~ Sudharshan,

Actually I changed the logic to be simple for checking because I cannot trust my code.

The code like below.

DATA: LV_HEADER TYPE ZXI_VBAK.

LV_HEADER-VBELN = '100001'.

INSERT ZXI_VBAK FROM LV_HEADER.

COMMIT WORK.

It does'nt care INPUT data.

But it cannot store to table.

Thanks.

Former Member
0 Kudos

Hi,

Please can you try using MODIFY instead of INSERT.

Also, please can you debug and see if the sy-subrc for the modify statement is 0

Regards

vijaya

Former Member
0 Kudos

Hi, vijaya,

Ya, It works good whether MODIFY or INSERT.

In debugging mode, All of them save to table.

I checked the table.

But it doesn't work when it was runned by XI.

Thanks.

Former Member
0 Kudos

Hi,

Is ur message processed successfully with chequered flag in moni (Application system) or its showing green status.

May be it is stuck in the Queues of Application system.

Regards,

Sudharshan

Former Member
0 Kudos

Hi~~ Sudharshan,

Thanks,

Actually, Status is 'scheduled'.

As you may know, that button is green flag button.

What can I do for next step??

Former Member
0 Kudos

Hi,

Go to transaction SMQR and register the queues.

Also in SXMB_ADM,choose manage queues---> Register and Activate queues.

Regards,

Sudharshan

Former Member
0 Kudos

Thanks,

It's done by manual activation.

Thanks a lot and happy new year everybody.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

please check this blog for Client Proxy.

1. go to your R/3 Tcode : SPROXY generate the proxy and activate the proxy.

2. create the report program to invoke your client proxy.

3. check the message in r/3 and same in XI.

go throuw the blog.

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

Regards,

Venu.

Former Member
0 Kudos

Hey, Venu.

Thank you for your kind answer.

But I just talked about Server Proxy.

Thanks.

Former Member
0 Kudos

Hi,

Just Put COMMIT WORK after your database updation.

Regards

Vijaya

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

You can use the transaction SXMB_MONI in the sap system to debug and check if the Proxy has been called.

More on these blogs,

/people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Regards

Bhavesh

Former Member
0 Kudos

Hi, Bhavesh~

I debugged refer that blog. Thanks.

That ABAP proxy runs succesfully and stored data to table when I debugged.

But It cannot save data when it was runned by XI.

Thanks~