on 07-28-2011 10:17 AM
Hi Experts,
While testing for a particular graphical maping, in certain cases the error is like:
(suppressed field); root message: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Function formatByExample: Queues do not have the same number of values]
Please suggest, how to rectify this...
Regards
Pankaj Rajak
Hi Pankaj,
Check this blog which explains you clearly:/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample
Regds,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Experts..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
The prerequisite for FormatByExample function is both the queues should have equal no of not empty values. it will format the first input queue according to the second input queue context. It will consider the context of second queue & values of first queue. If there are any empty values in first queue then they will be ignored. The empty contexts in the second queue will be considered. so please make sure that you are getting equal no.of input values for this function if not try to map it with some default value.
Thanks
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
chk the functionality of FBE:
/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi pankaj,
your two input to FormatByExample should have same number of values in Queue.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.