cancel
Showing results for 
Search instead for 
Did you mean: 

sending feedback by use of activity device_send_feedback

Former Member
0 Kudos

Hi,

I want to send feedback of my packing operation (hu) from aii to ecc via xi.

I included in my rule z_pack that activity and also configured in img under conditions for backend messages that the rule z_pack with message type derq should be a backend message (03).

But I never get the message in the xi.

Doas anybody know what else I have to do to get the message in the xi and ecc?

Regards,

Alex

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Instead of configuring conditions for backend messages, try configuring for mobile/fixed devices depending upon your testing tool. If using Auto id test tool, define conditions for fixed messages.

Also assign the document number and correct document type at the time of pack.

Also check under activities -->assign action types to device group role, relevant document type is maintained and mark it as default.

If it is still not working, then can u post the exact error that is displaced in application logs ( transaction code slg1).

Regards,

Ashish

  • Mark points if useful

Former Member
0 Kudos

Hi,

thanks for both requests, good hints.

I debugged the class /AIN/CL_DEV_SEND_FEEDBACK and identified my error. In the method read_activity the table/structure doc_obj_tab is never filled.

How can I fill this table?

Best regards,

Alex

PS.: Anybody there who realized the feedback to R/3, ECC with the rule pack yet?

Former Member
0 Kudos

Hi

here some hints for debugging:

1) switch your settings to use classic debugger (in some editor --> utilities --> settings --> debugger)

2) set an external breaqkpoint (e.g. in some activity)

3) activate debugging in SICF in the alias for /sap/scm/ain handler

4) send message in. if debugger comes up --> good, stop reading

5) set an external breakpoint in /AIN/CL_HTTP_SERVICE-->IF_HTTP_EXTENSION~HANDLE_REQUEST (this is before tRFC)

6) send message in. if debugger stops at first BP, press F8. if debugger stops at your desired BP --> good, stop reading

7) send another message in. debugger stops at first BP.

😎 in debugger --> settings: check "in background task: do not process"

9) press F8

10) goto SM58. find your request there and debug LUW.

11) debugger opens up. press F8. now should stop at your desired BP

Hope this helps

Regards

Herbert

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

did you check your application log?

is DEVICE_SEND_FEEDBACK executed?

if it is and still no message create a break point in class

/AIN/CL_DEV_SEND_FEEDBACK

and debug it to see why the proxy call to XI is not executed

it always works that way

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>