cancel
Showing results for 
Search instead for 
Did you mean: 

Debug ABAP Multi Mapping in a BPM

Former Member
0 Kudos

Hi Guys,

My scenario is as follows.

1) Send IDOCS from SAP.

2) Loop start

3) Collect in BPM based on some correlation

4) append to a multi line container

5) Loop ends at certain condition

6) Transform using interface mapping which is in this case ABAP mapping.

7) Send the merged message

I am facing a mapping error, but could not figure out what it is, it says

"Parsing error after mapping: unexpected symbol: '<' (line 0, column 53)"

My question is how to debug ABAP Mapping when it is BPM.

Things already done and did not work

1) HTTP break point does not work as BPM is run by WF-BATCH user and it is not a dialog user, so debug window does not appear when the mapping is running

2) I cannnot use SXI_MAPPING_TEST transaction as any of BPM cannot be selected on the first screen, without which it does not allow you to debug.

Please help me how to go into a debugger when my Multi ABAP mapping is executed in the system.

Thanks in advance,

Regards

Sujan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Guys,

Thanks for your ideas, but i found out kind of work around, but it worked and is very helpful.

I kept a infinite loop in ABAP Mapping and then when the mapping is running, I went in SM50 and checked the ABAP mapping process and went to Menu , Program , Debug Prgram, which takes me to the Debugging screen.

Once again thanks for your comments.

Regards

Sujan

Former Member
0 Kudos

Hi Sujan,

Try debugging with this approach if possible.

1. Unregister your queue from TC SMQR

2. Execute your scenario

3. Check the Queue and Debug your LUW by pressing Debug LUW.

4. Set the breakpoint at your mapping program and test.

5. After completion Register your queue again.

Pls see the document more more details.

https://websmp102.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&;

How -To debug XI Applications

Hope it helps,

Regards,

Satish

udo_martens
Active Contributor
0 Kudos

Hi Sujan,

make a test rfc. One input, one output parameter, both XSTRING. Copy ur abap mapping source code. Debug it with file from monitoring.

First u should proove ur XML file (for example with XML Spy, or with IE), may be, it s not well formed (letter '<' at wrong place).

Regards,

Udo