XI to proxy: issue regarding the file formatting

Hi,
our scnario is proxy to file.
If the no data is coming from abap side then in file no new line should be created for that particular field.
exmple: our file structure is
Header----
Master1----
Master2----
Detail1----
detai2----
EarningHistory1----
EarningHistory2----
Trailer----
Now if Abap side does not sent any data corresponding earning history. Then our file structure sholud be
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
no new line is created for Earning History.
but now our file structure is
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
This is problem.
How do i resolve this????
output:
Header----
Master1----
Master2----
Detail1----
detai2----
Trailer----
no new line is created for Earning History.
Regards,
Sanghamitra

Hi,
go through this link:
RCVR File Content Conversion - Remove empty Recordsets
Fabio

Similar Messages

  • Regarding the File Format on the application server

    Hi,
    I would like to know the file format (ANSI, UTF-8, UTF-16, UTF-32) of the file placed on the application server in my program. Can anyone help me with the Function Module or Class or any other way which will retrieve this information.
    Thanks
    Sarves S V K

    Hi
    You can try the standard class CL_ABAP_FILE_UTILITIES and the method
      CALL METHOD cl_abap_file_utilities=>check_utf8 
        EXPORTING 
         file_name = filename 
        IMPORTING 
         bom       = file_bom 
         encoding  = file_encoding. 
    Check the possible values returned by encoding and BOM:
    NO_BOM
    BOM_UTF8
    BOM_UTF16_BE
    BOM_UTF16_LE
    ENCODING_UTF8
    ENCODING_7BIT_ASCII
    ENCODING_OTHER

  • Changing the file format of spool output when scheduling a background job.

    Hello Experts,
    I have an issue. It is related to Spool output format. I created a job for one report program for which the output is a list output. I have added one recipient in the 'Spool list recipient' while creating the job SM36. After the job is finished the spool output is sent to the recipient mail id as .htm format as an attachment. But the attachment should be excel sheet or text file. No coding in the program should be used to convert the file format. Only settings in the spool while creating job should be manipulated. Please help me in solving this issue.
    Regards.

    Hi Sunil,
    You can use the logic for converting spool to PDF using program : RSTXPDFT4 . Alternatively you can use FM: CONVERT_ABAPSPOOLJOB_2_PDF . In this FM you need to pass the Spool id .
    u can make use of these FM's SO_DOCUMENT_SEND_API1
    SO_NEW_DOCUMENT_SEND_API1
    Check out the following wiki:
    https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertsspoolrequestintoPDFdocumentand+emails
    hope this will use full to you.
    Thanks!!

  • Excel cannot open the file because the file format or file extension is not valid

    pls help 

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which Office version are you using? Office 2013 or other.
    Did the issue occur with the special file or every file?
    Then, based on your error message, this problem has been confirmed to be caused by malware on the affected machine. There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of ransomware.
    In order to clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx). If infected, Safety Scanner should clean the virus from
    the system, however it will not repair corrupted files. You will still need to restore those from a backup. A detailed analysis of affected files submitted to Microsoft for investigation has revealed the files are encrypted with a private
    and public key. The files cannot be recovered without the private key, which is more than likely held by the attacker. The premise of ransomware is such that if a person pays the ransom the key is provided to "unlock" the files.
    For more detail information, please refer to the following link:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in
    Office programs.

  • Excel cannot open the file 'file.xlsx' because the file format

    Every now and then, when I try opening an Excel file, I get a message saying that "Excel cannot open the file 'file.xlsx' because the file format or the file extension is not valid. Verify that the file has not been corrupted and that the file extension
    matches the format of the file.

    Hi,
    Which Excel version are you using? As far as I know, this issue is caused by malware on the affected machine.There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of ransomware.
    We'd better clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx).
    For more detail information, please refer to the following link:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • IWeb 08 error message "The file format is invalid"

    I have been reading all of the problems regarding publishing iweb pages at the moment, I too cannot publish my site but I get a different error message
    "The file format is invalid"
    Can anyone help as to why I might be getting this message?
    My iDisk seems to have a very old version of my website stored and I don't know where to look to find the current versions files?
    Why hasn't iDisk got the most up to date version of my iWeb site and how do I get it to have?
    Which folder on the iDisk should your iWeb files be stored in?
    Sorry to ask so many questions but I am new to the publishing part after spending weeks building a site only to find it I get an error and my iDisk file structure holds old files.

    When I opened iWeb I could see the most up-to-date version of my site, I could edit it and save it (to where I don't know). When I opened the web and sites folder on my iDisk it contained only the files from a previous version of my website created months ago.
    I tried looking for the Domain file for my iWeb site and looked in my home folder, application support and then iWeb but the iWeb file in App support was empty.
    I believe the iWeb file in App support is where the Domain file should be located, correct?
    I have used Time machine to go back a week and have located the domain file and have restored it. The domain file now sits in the iWeb folder in App support in my Home, where it should be.
    Now when I load iWeb I see the version of my website that was created a week ago which is fine but iDisk still has the old file structure of my site from months ago.
    Can I delete the old file structure completely from the Sites folder on my iDisk? this should remove the old version of my website shouldn't it?
    How do I get the restored version of my website to appear in iDisk?
    Do I simply copy the Domain file into the sites folder on iDisk?
    My iWeb files on Mobile me are also the months old versions, how do I update these so my new site is all that I can see?
    Any answers to my 'File format' problem when trying to upload, is it because I don't have my iWeb files in the correct places?

  • Error when trying to re-mount a VHDx (the version does not support this version of the file format)

    Hi,
    I have a vhdx on a NAS that I use for server backup. I created the VHDx via disk management, mounted it and assigned drive letter X. I now created a script that gets triggered upon startup via task scheduler to remount the VHD. If I try to mount it however,
    it tells me this:
    No matter what I try, I can't mount it. Double clicking just says this:
    Eventviewer spits out error 137: The default transaction resource manager on volume X: encountered a non-retryable error and could not start.  The data contains the error code.
    How do I trouble shoot this? oO Originally I had created the VHD as expanding, where now I recreated it at it's full size of 900GB. Maybe that will make a difference.
    Thanks for the help
    Cheers
    Maike

    Hi Maike,
    Do you mean that you can mount the VHDX via disk management but cannot mount it via a script? If so, please provide the diskpart’s mount commands in the script.
    In the meantime, check if destination partition is NTFS formatted.
    Problem with Attach VHD function: The version does not support this version of the file format
    http://www.paulauskis.lt/2010/03/problem-with-attach-vhd-function.html
    Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Hi Mandy,
    I can not mount it after a reboot. So I create the VHDx via disc management and attach it afterwards without problem. After the server reboots and the attached VHDx dropps, I can't remount it. Gives me the errors I posted above.
    As I had mentioned above, I recreated the VHDx at it's full size this time, rather than expanding. That worked just fine and I can remount after reboot.
    So I consider this dealt with ;)
    Thanks anyway!

  • Does the file format differ when you Publish locally to hard drive vs. to the Connect Pro server?

    I notice that when I publish locally to my hard drive to review a set of slides, I see a folder full of files. If I click on index.htm within the folder, I can launch the slides.
    When I publish to the Adobe Connect Pro server, I merely see a url for the link to the course.
    I'm not sure what this url link represents (as far as the file format is concerned):
    Has the presentation been converted to different file format than what is published on my local drive? If so, what format is it in?
    If  the presentation has not been converted, does the directory structured published to my local drive get replicated on the Adobe Connect Pro server, and the url is merely a link to the "starting file " within that folder (say, index.htm)?

    The published output does not differ between publishing locally and publishing to Connect. The URL on the Connect server does, ultimately, point to the Index.htm or viewer.swf file.

  • Payroll issue regarding the Claims - /561 and /563

    Hi Payroll Experts,
    I have a payroll issue regarding the Claims - /561 and /563 (October PY Run)
    When i m runnning the Current month Payroll(October PY Run), Total Earning - total deductions are not matching with Net Pay. later i came to know that the system creates the WT /561 and deducts from the Net Pay.
    But as per the Employee Payment Details , there is no recovery required from the employee for the past one year. But even then the system creates the WT /561. and deducts the same from NET Pay.
    The followng are the WT details
    IN - Period
    OCT 2011
         /101 Total gross amount     118,897.00
         /110 Net payments/deductions     76,070.00-
         /550 Statutory net pay     95343
         /551 Stat.net recalc.diff.     37,692.00-
         /552 Stat.net subs.adjustment      37,692.00-
         /559 Bank transfer                                                   34,317.00
         /560 Net pay     37,218.00
         /563 Claim from previous month     5,609.00
    FOR Period
    Sept- Oct
         /101 Total gross amount     49,213.00
         /110 Net payments/deductions      31,721.00-
         /550 Statutory net pay     41,529.00
         /551 Stat.net recalc.diff.     14,591.00
         /552 Stat.net subs.adjustment     23,101.00-
         /553 Recalc.diff.to last payr.     37,692.00
         /559 Bank transfer                                                   14,591.00
         /560 Net pay     14,591.00
         /561 Claim     5,609.00
    I request  some body to  throw siome light on the same.

    Hi Experts,
    Thanks for everyone for replying to my query ,
    I have a doubt that If you check the WTs /551 and /552  in the IN PRD, the negative sign is coming for both the WTs
    Is it correct?
    And also, Assume that there may be a master data changes like Bank details and other deduction Wts happened in the month of Aug and now i m going to run the payroll for the month of Nov,
    some of the employees having differences in the Net Pay, Eventhough the employee is having sufficient balances.
    So how do i handle this issue
    IS ther any way to solve this differences?
    Please Let me know how to solve this issue.
    Thanks

  • Can't open Project - The file format is too new for this version of the pro

    Hi everyone
    I have the following Problem with my Final Cut Express: When I try to open a project i get an error message: "The file format is too new for this version of the program". (my FCE is in german, this is the google translation!)
    I have already erased all the rendering files, but no luck.
    Please Help!

    Have you recently reinstalled FCE and forgotten to update it?

  • Mail cannot open in the file format presented

    every so often, I get an error message in Mail on my iPad telling me, that it can’t open the message in the file format sent. ‘Ask sender to re-send in a different format.’ On the other hand, the same message will open perfectly in Mail on my MacBook.
    Why is that?
    Note: this is just a regular message, NOT any kind of attachment.
    Thanks,
    Klaus

    It's possible that the email was sent in some sort of "fancy formatting" rather than plain text. iPad probably reads plain text email messages a lot better than formatted ones (with different fonts, etc. that may not be recognized by iPad).

  • I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file

    I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file me be open in another application."Please help I really need to get this file open.

    Since you've shown us the folder contents it's a good bet it isn't in use (no lock file). And it doesn't look like the file is mis-named as there doesn't seem to be anything else there that would be the .indd file (but just in case, open it in TextEdit and paste the first few lines here so we can see what the file header says), so the most likely case is the file is damaged. Is that on a removable device of some sort?
    You can try the tool at Repair corrupt InDesign Adobe files on Mac OS X  or send me a link to the file by private message and I'll try the recovery tool I have for Windows.

  • HT3775 Hi, my mac which is on 10.7.5 osx. but when ever i insert any mpeg/avi video cd it shows the file format not recognized. i am fed up of this. plz somebody help me. what should i do now.

    hi,
              i am using 10.7.5 lion there are a lot of problems in this OS.
    like most of the programs quit's unexpectedly. some programs does not work on it. like adobe cs5 is not working. everytime time when i do click on adobe cs 5 icon it shows a message "To open “Adobe Photoshop CS5,” you need to install a Java SE 6 runtime, but you are not connected to the Internet.To install a Java SE 6 runtime later, open “Adobe Photoshop CS5” again" while i always remain connected on the net.
    2. when ever i insert an avi or mpeg video disk it shows the file format not recognized. to **** with this macbook pro n its 10.7.5 lion. the same disk works/runs on windows on windows systems.
    plz somebody help me what should i do now.
    [email protected]

    it sounds like a fualty installation of Lion, this may happen from time to time.
    The best thing to do in this situation is to reinstall Lion. You will not loose anything doing this, but you should always keep back ups of your information.
    http://www.apple.com/osx/recovery/
    basically hold Cmd+R on boot..
    first go to disk utility, verify and repair your disks and permissions. Exit out of Disk utility and then go directly to "reinstall Lion"
    choose that and let it reinstall.
    Adobe CS6 does need Java to run.
    To play your movies you might need to get an application called VLC. VLC is a free app and will play most videos and music files you throw into it.
    http://www.videolan.org/vlc/download-macosx.html
    you have a 64bit intel mac, so get the one for that.

Maybe you are looking for

  • Using variables in a fix statement

    I am using a nested fix statement on a dense member and would like to use variables to represent certain intersections. Since the variables need to be within a calc member bloc, where do I place them? Do they go inside the fix statement witht the par

  • Adobe Acrobat Reader 8 Printing Issue,

    Hello, There is an issue I have been facing now a days. Our company application has been upgraded from oracle 6I to 10g. The output thereby comes as .pdf which is then printed on a pre-printed stationary. The situation is there are two printers with

  • Mail won't accept any commands post IOS 5

    Just dopwnloaded IOS5. Now, I can open Mail, it downloads my emails well enough but then it won't accept any interaction. Really bizarre... Anyone had similar issues?

  • Defunct RFC destination prevents server from starting

    Hi, We have EP7.0 SP8 installed in Windows/Oracle. There was an RFC destination defined pointing to a BI system and now the system is removed/renamed from the name space. When the j2ee engine is started it looks for the system and results RFC_COMMUNI

  • Problem with "ElementsAutoAnalyzer.exe Detected" during installation

    Trying to install Adobe Premiere Elements 12 from a disc onto a PC and it gives me a window saying, "The setup has detected that ElementsAutoAnalyzer.exe is currently in use. Please close all running exe(s)" And yet, there is nothing else running whe