on 2007 Mar 12 8:15 AM
Hi all,
is there any way to map mandatory fields of target message structure? i mean other than mannualy going through each and every fields.
Thanks and Regards,
ujwalkumar
Can you give an example?
Normally, you use MAPWITHDEFAULT to make sue that if the source field does not occur, you still create the Mandatory field with the default value..
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
for example i am using target message with huge number of fields say some 50000 fields. but source message has only 100 fields and i map them all to target structure. so there will be thousands of mandatory fields ( i mean required fields) in target message. so my question is is there any way to map these mandatory fields in target message without mannually navigating through each 50000 fields?
i want to map them to empty constant.
Thanks and Regards,
Ujwalkumar
Hi,
It is you not ypu..
see select the left side root node and target side root node and click on map all. all similar fields will be mapped.
later go to target structure and each field by field wheich are red color mandatory, assign the constant..
See if you have more than 100 fields try to use JAVA map or XSLT map, it is not recommeded to use graphical MM..
if other than the graphical MM, then it will be easy to do assign constant to all field which are not in source field..
Regards
Chilla..
Ujwalkumar,
you export the mapping from graphical mapping tool use this option in theeditor.
In ammping Editor CRTLSHIFTRight click -> Tools->Export .
once you export the XML to our localdesktop make sure the extesion .mte.
you can edit the XML write an XSD defination to define blank values for all blank fields.
Regards
sreeram.g.reddy
hi ,
Can you please help how to use java mapping ot XSLT mapping?
because target message which i am using has 1,80,8000 fields.
so i am trying to map manually but its taking more effort and i am not able to expand all fields. if i expand system will hang and i will not be able to scroll down.
so can you please help me in this regard?
Thanks and Regards,
Ujwalkumar
HI,
I hope there is a possible way with JAVA,XSLT and ABAP.
See i may not be able to give exact java code becz, idonot know the structures.
do in the following way.
first you know the source structure,you know the target structure.I mean say for example 100 fields are to be mapped to target 100 fields first completed the code for this later maintain the code to fill the rest of the fields with some constant.
Regards
Chilla..
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.