cancel
Showing results for 
Search instead for 
Did you mean: 

wants to avoid mapping for an one-to-one scenario..details in the message

sanjaybadhai
Explorer
0 Kudos

Hello Experts,

Need your help on the below problem.

We are in

Service Pack: 08

Release: NW711_08_REL

Scenario : proxy to file(tab separated)

mapping: one to one

structure:

msgname

-recordset (0..n)

-field1 (0..1)

-field2 (0..1)

-field3 (0..1)

FCC setting

Recordset.fieldSeparator : '0x09'

Recordset.endSeparator : 'nl'

In the target file always all the tabs should appear irrespective of the field contain. There are chances that some field might not get populated in the proxy and hence that tag itself might not appear. Right now to achieve this we are using an one-to-one mapping with "mapwithdefault" for all the fields.

Question: is it possible to achieve this without any mapping? If yes is there something we need to do in the FCC part or somewhere else?

Quick answer appreciated.

Thanks

Sanjay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you can avoid Mapping only if your sender and receiver both structures are same (along with name). even if there is Field name change you have to have mapping.

but if your both (Sender and receiver structures) are same and identical then you can avoid mapping and even Operation mapping in PI 7.1

Thanks,

Bhupesh

sanjaybadhai
Explorer
0 Kudos

that part is already clear and in our case we have same structure for the both the sides.

But how to ensure this without mapping, that all the tabs are reflected in the target file even if the source field is missing for a particular message?

Edited by: Sanjay Badhai on Nov 4, 2011 11:14 AM

Former Member
0 Kudos

You can either use the 1:1 mapping with mapWithDefault as you are already doing, or change your client proxy code to ensure that all fields are always created.

sanjaybadhai
Explorer
0 Kudos

thanks.we have already thought about the proxy part. but keen to know if we can handle it in PI itself?