on 02-29-2008 10:43 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Once your bapi call will be compete then only you will get response...
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.