on 04-15-2008 8:51 AM
Hi everybody,
I implemented push scenario as it was told in "How To Integrate XI and BI in SAP NetWeaver 2004s". It says that I need to implement method according this template:
method ZII_DATA_TO_BW~EXECUTE_ASYNCHRONOUS.
DATA: l_text TYPE string,
l_s_data TYPE line of /BIC/WCQSENDXML00001000,
l_t_data TYPE /BIC/WCQSENDXML00001000.
FIELD-SYMBOLS <l_line> LIKE LINE OF input-data-item.
LOOP AT input-data-item ASSIGNING <l_line>.
MOVE-CORRESPONDING <l_line> TO l_s_data.
APPEND l_s_data TO l_t_data.
ENDLOOP.
CALL FUNCTION '/BIC/CQSENDXML00001000'
EXPORTING
data = l_t_data
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO l_text.
RAISE EXCEPTION TYPE ZCX___BIC__CQSENDXML00001000_E
EXPORTING text = l_text.
ENDIF.
endmethod.
(one remark: I don't have ZII_DATA_TO_BWEXECUTE_ASYNCHRONOUS method but only *ZII_DATA_TO_BWDATA_TO_BW* so I used it and it works perfectly)
So, there is one lack of sending back acknowledgement statuses information. I can extract message_id or payload or routing or xi header, but if I can send acknowledgement just there? How?
Hello again,
I've implemented custom acknowledgement using client proxy for service; transport over logical port with 'Exchange infrastructure' type.
If anybody know whether should I use pipeline services for sending back standard acknowledgement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.