on 05-29-2010 3:10 PM
hi all,
In enhanced receiver determination Interface mapping(which has java mapping) I have also included logic to make some change in content of input file and dynamic configuration for output file name. My input and output are flat files. So I m using dummy structure. In interface determination i m not referring any Interface mapping.
Receiver determination is working properly But neither dynamic file name nor the changes in content of file are reflecting in out put file.
Is it mandatory to use separate mapping in interface determination to change the content of file and dynamic file name?
Thanks
Jai
Edited by: Jaideep Baid on May 29, 2010 6:27 PM
Is it mandatory to use separate mapping in interface determination to change the content of file and dynamic file name?
The mapping used to in receiver Determination is to decide the Receiver.....the mapping used in Interface Determination is to create the target structure....both are to be developed and used separately (one in Receiver Determination and other in Interface Determination respectively)....this wiki gives you an example:
http://wiki.sdn.sap.com/wiki/display/SI/StepbyStepguidetoExplainEnhancedReceiver+Determination
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Abhi for you response.
I wanted to avoid the use of two mappings.
I just wanted to confirm weather the mapping used in enhanced receiver determination, can perform the transformation of the input data also. As my source and target data structure is dummy. Or i will have to use mapping in interface determination also.
Thanks
Jai
.
> I just wanted to confirm weather the mapping used in enhanced receiver determination, can perform the transformation of the input data also.
No, this is not possible. You can change the message payload only with message mapping.
> As my source and target data structure is dummy.
You have to create data type, message type and message interface for this. Even when your payload is not XML, the interface mapping requires this. Of course your data type contains just a dummy field.
Hi Jaideep,
You can try using FCC to make the Flat file to xml instead of creating data types.
<MT_>
<Payload>
<Data> Flat file contents.. </Data>
</payload>
Regards
Ramg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.