cancel
Showing results for 
Search instead for 
Did you mean: 

Multimapping question .

Former Member
0 Kudos

Hi ,

I am having a idoc to file scenario and I am required to have all the header details in one file and all the item level details in another file.I am using multi mapping for the same .In moni I can see the message getting split .However I see only one header details and one item details in the files which are created ..that too only the last item of the source message.

Does that have something to do with file constucaion mode ...I have set create...

Kindly telll me as to how i should get all these details ...in two files one for headers

and one for lineitems ....I have to have fixed filelength file there for each.Something I need to do in file conten conversion.

Regards,

deepak

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Try to use BPM .

Use 2 mappings..same source with two target messages (heder, item details).

route the message accordingly in ID.

thanx

venu.

Former Member
0 Kudos

BPM is not the option ...mangement ruled that out ...so using multimapping ..

Checked ....mappinng ..tested I am getting the target neatly grouped together in headers and lineitems...

Like I mentioned I am getting only the last of the headers and last of the lineitems

Former Member
0 Kudos

Deepak,

Get the payload from SXMB_MONI put it in the test tab and check the

mapping . this way u can assure the mapping u have done is proper or not

Regards

Kavitha

Former Member
0 Kudos

Hi ...I checked the mapping against the payload from moni ...

I don't what inconsistency you are talkin about but I am getting the target structure...like

Messages

........Message1

..............Header1

...............Header2

..................

....................

..........Message2

.............Lineitem1

...............LineItem2

which looks fine as far as I am concerned...

Besides If the problem has something to do with FCC

then Kindly let me know

................Lineitem 3

ranjit_deshmukh
Active Participant
0 Kudos

Hi Deepak,

if you are using bpm use 'block' in order to

create the diff msg files and for block you choose par for each option.

then i think your problem will be solved

for this u need 2 create a container element as multiline

and other a single line which will be a part of block.

Ranjit.

ranjit_deshmukh
Active Participant
0 Kudos

Ohh I can see that you are not using the bpm.

sorry the above thing wont work for u then

Ranjit

Former Member
0 Kudos

Hi ..It is possible through multi mapping .

bhavesh_kantilal
Active Contributor
0 Kudos

Deepak,

There is some issue in your mapping.

Test your mapping with the same data and check if all the records are coming as needed in the target XML?

Regards

Bhavesh

Former Member
0 Kudos

Hi Deepak,

how does your datatype for the flatfile look?

Is it 0 to unbounded? if not you might change it because it sounds that it will only allow one value string of your source idoc.

Cheers

Cornelius

Former Member
0 Kudos

Yes the data type is 0 to unbounded .

ranjit_deshmukh
Active Participant
0 Kudos

Hi Deepak,

please create a test instance in the test tab

so that you can check whether the mapping done is correctly or not.

please tell if you need any help reg. test mode

Ranjit

Former Member
0 Kudos

Hi Deepak,

Its nothing do with the file constructin mode. Its very much with the mapping part. Probably, u hv to check for some context handling in ur mapping. Try testing the mapping in mapping editor and see if the headers details and items details are groped separatly

Check the followng link

<a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible:///people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards,

Akshay

Message was edited by:

Akshay Salunke

Akshay Salunke

Former Member
0 Kudos

Yes the header details and item details are groped seprately .It looks exactly like this weblog link you sent me.

Former Member
0 Kudos

Hi Deepak,

Did u check the mapping...if in the target payload u r getting the desired result, then probably u hv to check ur content coversion parameters..properties like headerline, separator...

Regards,

Akshay

Former Member
0 Kudos

Okay ...But even without FCC ...shouldn't the target xml should have all the

records and not just the last one ...for each file (header/lineitems)