on 07-11-2007 2:04 PM
Hi All,
I have my input structure like
<RECORDSET>
<EMPLOYEE>
<FIRSTNAME>
<LASTNAME>
<PHONENUMBER>
</EMPLOYEE>
</RECORDSET>
I have given my sender Conversion parameters like
Employee.fieldSeparator=*
Employee.endSeparator='nl'
Employee.fieldNames=FIRSTNAME,LASTNAME,PHONENUMBER
It is working fine.But if the value is empty for any of the field it is showing up with empty tag in MONI but for the Last field i.e.,PHONENUMBER if the value is empty the tag is not being shown in MONI. Please help me in this issue.It is very urgent.
Hi Dinakar
Try this i am not sure will this work or not
Employee.missingLastfields=ignore.
More Info on Content Conversion Parameter
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm">Converting File Content in a Sender Adapter</a>
Regards
Santhosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dinakar,
I haven't tried but u can check these parameters and give it a try
<b>NameA.missingLastfields</b>
If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:
○ ignore
Outbound structure only contains the fields in the inbound structure
○ add
Outbound structure contains all fields from the configuration; the fields missing in the inbound structure are empty.
○ error
Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
● <b> NameA.additionalLastFields</b>
If the inbound structure has more fields than specified in the configuration then the XML outbound structure is created as follows:
○ ignore
Outbound structure only contains the fields in the inbound structure
○ error
Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
The default value is ignore. If you have defined the NameA.fieldFixedLengths parameter, the default value is error.
<b>NameA.lastFieldsOptional</b> (obsolete)
You use this parameter to specify whether the last fields can be omitted (YES) or not (NO) in a comma-separated structure.
If you do not make an entry, the default value is NO.
Check for details:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dinkar
If u give
Employee.missingLastfields=ignore
then the phonenumber field will not be in the oubound XML if it is empty in the inbound structure.
Employee.missingLastfields=add
then the phonenumber field will be empty in the outbound XML if it is empty in the inbound structure.
Employee.missingLastfields=error
A error will be reported stating that the content conversion is terminated.
Regards
Santhosh
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.