cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in format by example.

Former Member
0 Kudos

Hi,

Whenever I am executing from the test tab of a message mapping of a particular interface, I am getting a error which says

"Queues do not have the same number of values"

Can you please suggest what can be the reason of this error?

Thanks,

Shreya.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

chk this for Format By Exmaple:

/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13

former_member472138
Active Contributor
0 Kudos

the two inbound queues do not have the same number of values, the mapping runtime triggers an exception.

Regards

Pothana

Former Member
0 Kudos

FormatByExample expect both the input should have same queue length. This function is to synchronize two queues of equal length with reference to their context change. The mapping runtime takes the values from the first queue, and the context change from the second queue. If the two inbound queues do not have the same number of values, the mapping runtime triggers an exception.

Check the queue length of both the input.

former_member854360
Active Contributor
0 Kudos

Hi shreya,

your two input to FormatByExample should have same number of valuses.

This function has two inbound queues, which must both have the same number of values. To generate the result queue, the function takes the values from the first queue and combines them with the context changes from the second queue

in message Mapping right click on format by example function and check whether your both input Queue has equal no of values.

refer this for an perfect example.

http://help.sap.com/saphelp_nw04/helpdata/en/67/7ca04267deb111e10000000a155106/content.htm