on 09-14-2018 10:28 AM
Hi All,
I am trying, from ABAP, to process multiple inbound XML messages asynchronously and with the possibility to run in 'Testrun'. But I run into problems;
Normally when processing a single XML based message I'd use FM
/AIF/FILE_PROCESS_DATA
Which processes synchronously and has the TESTRUN option available.
Now I have a batch of these messages which I want to send to AIF and trigger processing asynchronously, and importantly; retain the possibility to execute in TESTRUN.
When I set up and use a Runtime Configuration Group for this I can pass the data like this
/aif/cl_enabler_xml=>transfer_to_aif( EXPORTING
is_any_structure = ls_raw
iv_queue_ns = 'P2P001' "Runtime Configuration Group Namespace
iv_queue_name = 'I01' ). "Runtime Configuration Group
This will schedule the messages in parallel- asynchronous processing.
However: There is no way to process them with TESTRUN.
I've looked at
/AIF/CL_APPL_ENGINE_XML->PROCESS( )
Which does have the TESTRUN available, but Its not clear if and how I can use this to trigger asynchronous processing.
Any suggestions?
Thanks alot!
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.