CSV file:Incoming field blank, how put 2 commas in file

Hi,
In my IDOC to FILE scenario, I am creating a CSV file from the incoming IDOC. I have a few optional fields in the incoming IDOC so if these fields have no value, then there are no XML tags in the incming XML file in Adapter engine for these fields.
In effect, when I create my CSV, these fields are missing. I want my CSV to have space/blank value between 2 commas for such fields.
Example:
So if idoc segment has 4 fields and field no 2 is optional(and blank in this case), I want my output file like
field1-value , , field3-value, field4-value.
I am sure this should be possible to do in FCC or field mapping, but I do not know the command. Appreciate your help.
Thanks
Shirin

Hi Shirin,
Yes u have to use that node function "EXISTS", ur absolutely right.
Check this blogs for use of exists Function:
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
New functions in the Graphical Mapping Tool XI 3.0 SP13
Message Mapping Simplified - Part I
Regards,
vinod.

Similar Messages

  • How to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 using ftp

    how to edit xml file particular value. and how to send xml file over ip address 192.168.2.10 device using ftp through Ethernet

    Hello
    For using FTP function in LabVIEW, I recommend you to check this document: FTP Basics
    Also, take a look at FTP Browser.vi, which is available at the Example Finder.
    To edit a XML file, try to use VIs in XML palette. Maybe Write to XML.vi helps you.
    Post your current VI if possible.
    Regards
    Mondoni

  • Sender File Adapter - FCC - No incoming field separator - How to do FCC?

    Hi,
    I have a sender File adapter and I need to do the File Content Conversion but there apparently no incoming field separator and the file ocntains just running text - no data records but just information.
    For example the incoming file is something like:
                                    The Hongkong and Shanghai Banking Corporation Limited                      27JAN2009       PAGE 1
                                    Incorporated in Hong Kong with limited liability
    ABC IAL LIMITED                                                               ABU DHABI, UAE
    ABC MIDDLE EAST                                                               Account No.     001-8888888
    ABU DHABI                                                                       Payment Set     AAA
    BBB MAIL BOX NO.99                                                             Contact Person  ABC LIMITED
                                                   7777777777                      Telephone
                                                     AUTOPAY LIST - PROCESSED
                                                     (AUTOPAY-OUT SALARY)
    Payment Date           27JAN2009
    First Party Narrative  .                             66666666
    Second Party Narrative .
    The Message type that I am mapping to contains:
    MT_XXXX
         WA
              Item
              Item2
              Item3
    This is so that the information can be mapped to different field areas and send across to the Receiver Mail Adapter. In the mail i receive, i get the running text. I tried giving the field separator as '0x09' but it is not working.
    I have also tried WA..fieldContentFormatting to nothing but again no luck.
    I have tried with Recordset Sequence with Ascending and variable and have also tried Recordsets per Message with * and blank - but it did not help.
    Please advice.
    Regards,
    Archana

    Hi,
    I assumed that it was tab but when I made the change in FCC, it did not work.
    I would still like to have a output where it looks like below if more than 2 types of information in 1 line as below:
    ABC IAL LIMITED                     ABU DHABI, UAE  
    ABC MIDDLE EAST                  Account No. 001-9999999999999  
    and not something like:
    ABC IAL LIMITED ABU DHABI, UAE   
    ABC MIDDLE EAST Account No. 001-999999999999
    I am not sure what to do here.
    Help please.
    Regards,
    Archana

  • File upload uix controller (how to access/save file name in DB returned by

    sorry i am new in uix xml.
    my question is how to save/access file name in DB returned by FileUploadManager.
    I have used example Using a Controller in ADF UIX. Its uploading the file fine but i am not able to save this filename in DB so that i can access later.
    I only want to upload the files in Web Server not DB so only i need file name to save in DB.
    anybody can help me.

    you can use the movieclip properties, currentLabel (the current or previous, if there is no current, frame label), currentFrameLabel (may be null ) and currentLabels (an array of the movieclip's frame labels).

  • 2 Questions: Missing audio files...and How to delete audio files

    I have two nagging issues associated with my podcast at iTunes.
    First, audio files are missing from the podcast. Everytime I post m4a files to my podcast, they are added to an xml file, and to the podcast. The xml file is complete, but some files are not making the trip to the podcast.
    Second, I have a need to delete some of the audio files which appear in my podcast. How do I do that?
    Thanks!

    As has been suggested you can encourage people to download QuickTime player by doing something like this...
    http://www.mirroroftheuniverse.com/Songs.html
    You can also present your songs like this...
    http://roddymckay.com/Satellite/JukeBox.html
    This is a SnoCap jukebox and you need an account to use it but you'll get the link to ESnips on the above page.
    A 3 minute song has a file size of about 30 Mb in AIFF format. Converting it to MP3 reduces it to about 3.5 Mb and M4A to about 5.5 Mb.
    iTunes will do these conversions for you and M4A is far superior to MP3 as far as sound quality is concerned.

  • Adapter engine field blank in RFC Comm channel (Sender)

    Hi Friends,
    I am not getting any value in drop-down list of adapter engine in RFC adapter sender communication channel.System is allowing me to save the comm channel , system is giving me following error
    No adapter engine specified
    I m getting values of adapter engine when I select some other adpter like XI.
    Thanx
    Anand

    Hi,
    The RfcAdapter is implemented as a J2EE Service and thus this service has to be started and stopped. This will affect the whole RfcAdapter and can be done from the J2EE Engines Visual Administrator. When you are connected to the J2EE Engine choose the tab 'Cluster' and open the appropriate server node in the tree. Then open the 'Services' node. There you can see the entry 'SAP XI Adapter: RFC'. When you open the context menu on this entry you can start and stop the service
    Regards
    Chilla...

  • How do I share files with my pc, how do I share files with my pc

    How do I share my files from my pc to my imac and viceversa? I have been through everything I know to do. My pc is a win 7 home premium and i can share my itunes libraries just fine, but when i try to conect to pc from mac it says There was a proplem connecting to the server Mitch-pc, Also when on my pc it does not see the mac at all and I have file sharing turned on in the imac with smb checked. Any Ideas?
    Thanks
    Mitch

    See the following:
    Mac OS X- Sharing your files with non-Apple computers
    Mac OS X- How to connect to Windows File Sharing (SMB)
    File Sharing With Snow Leopard- Sharing OS X 10.6 Files With Windows 7

  • Can I use I pad to read word and pdf files from my laptop how to transfer these files??, can I use I pad to read word and pdf files from my laptop how to transfer these files??

    I recently had my first ipad , first generation, I bought it to read all my books and documents on the laptop either in word or in pdf format >> now I feel lost, I can't even transfer my files ofrom the laotop to the ipad.I don't know what to do>>help me please

    Google for "import documents to ipad" to find lots of articles on this topic.

  • File Utility - Find operation; How to retrieve all files in a folder?

    I am using Find operation of FileUtility service to count the number of files present under a given folder.
    I can not find the correct Regular Expression to match all files.
    The Adobe documentation mentions that * character is default which matches all files/folder within the Directory. However, If I leave * unchanged, I'm getting an error "Incorrect Regular Expression syntax".
    I have tried different combinations, nothing seems worked.
    Can anyone assist me on this?
    Thanks,
    Nith

    Hi,
    You can use the following syntax to get the list of all files:-
    \w*\.\w*
    Yow can alslo go through the following material for details on Regular Expressions:
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000582.html
    Thanks

  • Exchange/activesync "File As" field is blank

    Hi
    I have moved from windows mobile 6 to iPhone.
    I have configured my iPhone to connect to the company Exchange 2003 to import email/contacts/calendar; push email works and contacts sync.
    My problem is when I add a contact on the iPhone...
    First Name: <blank>
    Last Name: <blank>
    Company: iWidgets
    Add a new phone, company main, 0404 040 404
    then save, done.
    The new contacts arrives as expected on the exchange server but...
    the "File As" field in outlook web access is blank and on windows mobile phones the new contact is filed under Unknown.
    The result is that the new contact is difficult to find in the microsoft world and we end up with a messy contact list.
    The problem is that the iPhone leaves the "File As" field blank.
    I have tried iPhone "add field" but I can't find "File As"
    Is there any way to change the iPhone behavior?

    Thanks for the advice. Unfortunately, I'm still having no luck. I've gone to the about:config page and reset all download and extension listings to DEFAULT. After that not working, I uninstalled Foxfire and reinstalled and still same issue. I know it's something with my Foxfire because IE and Chrome allow me to "save as" images. I just can't figure out why I'm not able to now with Foxfire.

  • How to configure tld file?

    I am building a JSF application and created a new custom component with a new tag. I suspect the runtime isn't finding/loading my TLD file. I've tried putting the TLD file in the WEB-INF directory and with the source/class files; I get the same error. How can I figure out if my tld is loaded? what else can I try to get it to be recognzied properly?
    The error is:
    Attribute id invalid for tag TestTag according to TLDMy TLD file does specify id:
              <attribute>
                   <name>id</name>
                   <required>false</required>
                   <rtexprvalue>false</rtexprvalue>
                   <description>
                        The component identifier for this component. This value
                        must be unique within the closest parent component that
                        is a naming container.
                   </description>
              </attribute>

    If I flat out delete the tld file, and restart my IDE and the web server, I get the exact same symptoms. My custom tag/component works perfectly with a value attribute but no id attribute. As soon as I add the id attribute, I get the error.
    I can also put the tld file back, but delete the XML contents and type in garbage; this way, if something was trying to read that file it would error. I get no error, which tells me that nothing is reading that file. If I remove the id attribute, it works perfectly.
    My import statement:
    <%@ taglib uri="http://sample.com/taglibs/" prefix="xyz"%>My tag reference:
    <td><xyz:rater value="#{sample.value}" /></td>Java: 1.5.0_06
    Server: Apache Tomcat 5.5.12
    JSF: Sun RI 1.1_01
    IDE: Eclipse 3.1.1 + WTP 1.0RC5
    Yes, in my web searches, I saw many places recommending adding a taglib section to web.xml, but it wouldn't validate and seemed to be obsolete.

  • How to write control file below data

    Hi,
    Here is my table
    create table sample1 (name varchar2(5), num number(2));
    sample.txt(Datafile)
    vikram12
    sharma13
    sonu 14
    Here is my control file
    load data
    infile 'C:\sample.txt'
    into table sample1
    fields terminated by "," optionally enclosed by '"'          
    ( name char(5), num char(2) )
    But it rejecting all the records. Just let me know where i went wrong.
    Thanks in advance

    fields terminated by "," optionally enclosed by
    '"'          As per your control file, the fields have to be seperated by commas but in your datafile it is seperated by space. Either change the delimiter in your control file or in your datafile
    Using Comma Seperated file,
    sample.txt(Datafile)
    vikram,12
    sharma,13
    sonu, 14
    load data
    infile 'C:\sample.txt'
    into table sample1
    fields terminated by ","
    optionally enclosed by '"'
    ( name char(5),
    num char(2)
    )Note:
    1. You have to increase the length of name column as your datafile has values greater than 5 characters. First and second records will be rejected with NAME VARCHAR2(5)

  • How to execute jar file in java project

    hi,
    i have made a proj in java in which i have put all my files in a jar file.
    can somebody help me how to execute this jar file??
    thanks

    u can put that jar file in ur class path,,
    regards
    shanu

  • How to automount jAR file in Linux!

    hello,
    I am create JAR file. I want to put this JAR file in CD and if an user in linux platform can ablet to locate this JAR file in /usr/bin/myjar folder and open through java -jar jarFile.jar cmd using shell script. Is it possible to uto mount and auto run that JAR file in Linux.
    How can find whether JRE is already installed in a system or not.

    Hi,
    Is the Linux your client Platcform? If you want to execute something in the client, you need to use Webutil.
    You can use something like,
    You can use Client_Host from webutil to invoke an editor (say gedit for linux).
    HTH.
    Regards,
    Arun

  • How do I share files with my co-worker in the cloud

    My co-worker and I have just set up a cloud for our team, we can see our own files, but not each others, how do we share???

    Hi errinnelson,
    You can follow the article: Creative Cloud Help | Manage and Sync files which explains on how to share the files on Creative Cloud.
    Let us know for any further query.
    Regards,
    Ratandeep Arora

Maybe you are looking for

  • Using input filed in WAD

    hi guys,            I have a requirement like this, I want to get a date from input field in WAD ( that is user should enter the date in input field and by geting the date it should fetch in the query according to that date) the Date input should be

  • Home laser printer printing questions

    Hi, I want to by a laser printer for home. Heed help from those who have experience: I have local network, so I can either use USB with print server or network printer. I found that CUPS drivers are required for network printing (print server) in OS

  • Problems retriving the asset created in a batch input using Abnan

    I created a batch input program that use the transaction ABNAN. I need to create a report with all the assets created and their respective documents in the batch input. However, that information is not given in the messages that are retrieve when the

  • How can I upload my movies (they're ALL my own) - to my iPad?

    I bought the iPad as it seemed like a great way of screening my work (shorts, trailers, animation - that i produce, animate, shoot myself - all 100% copyrighted to myself) for investors and clients (just as I do with the much smaller iPod touch).  Ev

  • FF 33.0 - I cannot remove avg isearch when open new tab.

    I have FF 33.0 installed and have a persistent problem with AVG isearch. I have tried all the help/forums but none have worked. I have removed Google (via Manage Search Engines) and then click on Restore Defaults, close FF and restart, but AVG isearc