cancel
Showing results for 
Search instead for 
Did you mean: 

Abap Server Proxy

Former Member
0 Kudos

Hello guys,

I have created an abap server proxy. I am executing an bapi on an R/3 system, but don't get any result back. If i test the bapi in the R/3 system it works fine for the same value.

I have created a sync Message Interface with input: Z_CUSTOMET_GET_SHIPTO and output Z_CUSTOMER_GET_SHIPTO_RESPONSE.

The bapi is being excuted but I don't get an result back, anyone idea's what can be wrong?

Best regards,

Guido

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think yours is Sync scenario.

In order to get the Response messages, please do this

/people/prasadbabu.nemalikanti3/blog/2006/02/13/configuration-of-a-central-integration-server

Regards

Seshagiri

Answers (3)

Answers (3)

Former Member
0 Kudos

Once your bapi call will be compete then only you will get response...

Regards,

Former Member
0 Kudos

Koopman,

I guess you missed BAPI Commit...

Use CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'. once the BAPI execution returns

zero in sy-subrc ...

like this way...:

CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'

EXPORTING

salesdocumentin = salesdocumentin

order_header_in = gs_order_header_in

IMPORTING

salesdocument = v_salesdocumentin

TABLES

return = git_ireturn

........

READ TABLE git_ireturn INTO gs_return WITH KEY type = 'E' .

IF sy-subrc = 0.

CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

output-mt_salesorder_response-status = 'ERROR'.

ELSE.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

output-mt_salesorder_response-status = 'SUCCESS'.

ENDIF.

hope this will help...

Regards,

Former Member
0 Kudos

Hi,

As described by N.V, if the issue is not technical in nature.

Please check the following

1. Interface mapping

For Your BAPI interface and the PROxy, both request and response message mapping should be correct, test it.

Next Another test would be to check if the Server Proxy is at all returing the result.

ABAP provides a technique.

Set a Breakpoint in your Server Proxy method, execute your Client BAPI.

Check in the sever proxy whether any data is retuened or not.

Trace the whole message in the Component monitoring. Communication channel monitoring

You would find a soluton

Hope this helps yu

Reward Points if useful

Regards

Abhishek