on 08-09-2011 12:12 PM
When source field does not occur i have mapped with default value blank to the target edifact fields.
But i am getting error in BIC module when the source value does not occur.
Will the edifact fields accept the blank value?
Thanks,
Vinayak
Hi,
Will the edifact fields accept the blank value? Yes, they do accept the blank values. Can you do testing of message mapping and check is target EDI field is populating or not. I guess target edi field is not populating when source field does not occur. give result of MM test here to check further.
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When i saw the BIC code in mapping editor , i found the below code.
Which means when we send null (i.e "") it wont copy field from source to target.
And also when we send only spaces(i.e " ") it will trim those spaces and again it wont take null.
if existsourceField("LIST.S_UNB.S_UNH.G_SSG3.S_NAD.G_SSG5.S_CTA.S_COM.C_C076.D_3148:value") && trim(LIST.S_UNB.S_UNH.G_SSG3.S_NAD.G_SSG5.S_CTA.S_COM.C_C076.D_3148:value) != "" copy LIST.S_UNB.S_UNH.G_SSG3.S_NAD.G_SSG5.S_CTA.S_COM.C_C076.D_3148:value to UNB.UNH.SG3.NAD.SG5.CTA.COM:C076.3148;
endif
So for mandatory fields we need to send some value?
Is my analysis correct??
Thanks,
Vinayaka
The Edifact fields accept blank values, depending on fields settings.
Probably, the field that you set to blank, is marked like mandatory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.