on 06-04-2014 8:49 PM
hi,
let me explain the case:
file will come as leading zero's or leading spaces and level as key field under Header to identify header, detail sections.
i'm done with configuration in FCC for leading space by putting (key value) Level as " 1" and PI is converting and xml shows as "Level=0"
however when i did same FCC for leading zero's as "00001" and PI is converting xml as "LEvel=00000".
note : target having one header so i did some logic in PI.
however FCC parameters as
Header,1,HEader,1 . ( for 2 cases )
i've 2 issues here. am not able to generate Header section if its leading zero's and xml conversion for level is similar to the field whcih is passing by ERP, but with leading spaces its creating header and level as "0" truncating all spaces.
Is my configuration is wrong or what might be the issue with leading zero's as PI is converting XML similar to source value.
my issue was when leading spaces are coming its generating header and if file comes with leading zero's its failing to create header. i tried with the same file with leading spaces by replacing spaces to zero's manually and processed then header is generating thats why.
is there any option to use hexa decimal code for zero,space if pelase provide?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aman,
You can use "NameA.fieldContentFormatting = nothing" that may help you
for more information plz check
Converting File Content in a Sender Adapter (SAP Library - Partner Connectivity Kit)
Regards
GB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi aman,
If key field matches then it will create the header.
if it is truncating, you can take care of it in mapping using udf/std function.
still i am not clear about your requirement..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.