on 11-02-2007 1:16 PM
hi
i was doing idoc to file scenerio..in which i got the error in Intrface mapping..(while testing the test connection in ID) what may be the problem...
one doubt, during msg mapping, i want to map all the field which is mandatory(required) in the segment . bcz in my scnerio i have 5 fields in my flatfile..so if i not mapping the requried felds wat happen...i am confuse with this...
help me...
--->one doubt, during msg mapping, i want to map all the field which is mandatory(required) in the segment .
You can easily map the mandatory field by making a field in target structure for your target file..
bcz in my scenaio i have 5 fields in my flat file..so if i not mapping the required fields what happen...i am confuse with this...
<b>Offcourse if you will not map mandatory target field run time mapping error will be thrown..</b>
One thing ...your Subject is Idoc to File...then your mandatory fields should be in file point of view not by Idoc point of view..as by SAP mapping is defined as mapping required target fields with source fields .
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
limat,
Actually the basic concept is... u have to map all the mendatory fields of ur <b>target structure</b>(not necessary to map all mendatory fields of source structure) with the source structure or with constants!!
remember mendatory fields are those field which are having <b>min occurence=1.</b>
So in ur case...just check wheather u have mapped all the mendatory fields of target structure or not????
also u can go thr' this step by step for Idoc to File ...if u need!!!
regards
biplab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi limat ,
The following websites guide u a step-by-step to solve u'r problem:
How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
Introduction to IDoc-XI-File scenario and complete walk through for starters.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
IDOCs (Multiple Types) Collection in BPM
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
cheers!
gyanaraj
****Pls reward points if u find this useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If I understand you correct, you should map all the required fields, if you only have 5 fields that you need to map you can map the rest of the required fields(of the idoc) with constants in message mapping?
Regards
Clinton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
since you have IDOC as sender,you don't need to worry about the mandatory fields of IDOC,if u dont get any values for it from R/3,it will be passed as blank.just make sure that IDOC is send properly with all the required fields to XI.
u need to map all the required fields of the receiver file though,since you have only 5 fields in File ,these fields must be mapped to some field(s) of IDOC or some constant
Thanx
Aamir
> one doubt, during msg mapping, i want to map all the
> field which is mandatory(required) in the segment .
> bcz in my scnerio i have 5 fields in my flatfile..so
> if i not mapping the requried felds wat happen...i
> am confuse with this...
If in target you spececified the cardinality (1..1) it means you have to provide the mapping for it..means map the currect source field or constant based on the requirement. but you have to do mapping for all the fileds that are mendetory in the targer side..Else your Mapping will throw an Error.
Thanks
Farooq.
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 | |
8 | |
7 | |
7 | |
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.