How to create empty text file on target system for empty source text file

Hi All,
I have an issue in handling empty file in the Text (FCC) to Text (FCC) file scenario. Interface picks text file and delivers on target system as text file. I have used FCC in both sender and receiver CCs.
Interface is working fine if the source file is not empty. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.  I have setup empty file handling options correctly on both CCs.
But when I tried with an empty file I am getting the error message 'Parsing an empty source. Root element expected!'.
Could you please suggest me what I need to do to create an empty text file on target system from empty source text file?
Thanks in Advance....
Regards
Sreeni

>
Sreenivasulu Reddy jonnavarapu wrote:
> Hi All,
>
> I have an issue in handling empty file in the Text (FCC) to Text (FCC) file scenario. Interface picks text file and delivers on target system as text file. I have used FCC in both sender and receiver CCs.
> Interface is working fine if the source file is not empty. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.  I have setup empty file handling options correctly on both CCs.
>
> But when I tried with an empty file I am getting the error message 'Parsing an empty source. Root element expected!'.
>
> Could you please suggest me what I need to do to create an empty text file on target system from empty source text file?
>
> Thanks in Advance....
>
> Regards
> Sreeni
the problem is that when there is an empty file there is no XML for parsing available. Hence in case you are using a mapping it will fail.
What ideally you should do is to have a module that will check if the file is empty and if so write out an XML as you want with no values in the content/fields.
Or the next choice would be to have a java mapping to handle this requirement. I guess that on an empty file the java mapping will go to an exception which you can handle to write out your logic/processing

Similar Messages

  • How to create a new user id in OID for Oracle Collab suite File System

    Dear Friends,
    I want to know how to create a new user id in the oracle internet directory where i can use that user for the new subscription of the oracle collabration suite file system..
    Please do the needfull and thanks in advance...
    With warm regards
    R.Prasad

    Hi!
    The way you suggest should not be used.
    A CS user will be created as a normal OID user and will receive the CS attributes in a different subtree later during the provisioning.
    For creating CS users use oesuser and uniuser. Files provisioning will work in a different manner anyway.
    cu
    Andreas

  • How to create a new user in Netweaver system for ABAP training?

    Hello,
    I had been learning ABAP using a trial version but recently purchased and installed a developer subscription of Netweaver 2004 SR3. Can someone please tell me the best way to create a new user for ABAP development and assign the needed transaction authorizations appropriate for a developer? I was able to create one in SU01 and assign a profile of S_ABAP_ALL but still could not get into SE80 with that logon. And the user had a license expiration of only one month, is there a way to obtain a permenant license for it from SAP?
    Thanks
    -Chris Piret

    Hi Chris,
    You can create a role in t-code pfcg with all required transaction and assign it to your user id or else You can assign profile sap_all to you for all authorization.
    Regarding license you can get it from sap.How to get it is explained in the document in the below link.
    https://websmp108.sap-ag.de/~sapidb/011000358700006339962006E
    For ABAP development you need developer key and that also you will get from sap marketplace
    Regards
    Ashok

  • How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple PO's

    How to create a single SCN [Inbound Deliery]  ' VL31n '   for multiple Purchase-Orders with the help of BAPI or BDC Recording in 4.6 b version.
    Manually its possible.. but how is it possible in the background i.e through BDC Recording or BAPI's.  
    [ As we donot have an option of creating one same  SCN [Inbound Deliery]  for multiple Purchase-Orders in 'VL31n' ].
    Please provide the needful Information.

    These mpeg2 clips do not have audio.
    I simply want to create a script that can read in the files, append to each other and then export to an .mov format.
    I want the process to be called from a command line that will open QT, run the script, read in the files, append and export.
    Thanks.
    G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows
    G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows

  • How to create a backend administrator content management system?

    How to create a backend administrator content management system using SQLyog515 and JSP only.
    Can give suggestions?
    Thanks,
    JSPnewbie*
    Message was edited by:
    Liting_JSPnewbie

    Have a look at Perch
    Perch - The really little content management system (CMS) - Perch
    It requires a php/mysql database to run but the tables and set up are all automated through the Perch set up files - you just need a server that runs php/mysql. It works on the same principals as the one Ben suggested but its a lot cheaper for a one off site - however if you intend to build more CMS driven sites the one Ben suggested might be more financially viable in the long run.
    The nice thing about Perch CMS is it fits in with your workflow unlike Wordpress/Joomla where you have to jump through hoops to change anything.
    Plus I think you can take Perch for a spin before buying (or at least you could when I was exploring CMSs) - you can't with Power CMS. I never investigated Power CMS beacuse I would not buy something before trying it. It looks good but it might be a bit dated as it doesnt seem to be in continuous develoment. Perch is in a constant state of development and the guys are working to make it better on a daily basis.

  • How to create list of a View's column names and source

    Using SQL 2005, 2008, and 2012
    How to create list of a View's column names and source. For the following example would like to @Print something like the following.  Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
    at to use this follows the code snippet pattern below.
    DBACCT.[Account Number]
    dbo.ConvertDate(DBACDT). [Boarding Date]
    DBXES.DBXES
    CREATE VIEW [dbo].[v_ods_DBAL]
    AS
    SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
    FROM dbo.ods_DBAL

    The column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
    SELECT c.COLUMN_NAME,c.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS c
    WHERE EXISTS (SELECT 1
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_NAME = c.TABLE_NAME
    AND TABLE_TYPE='VIEW')
    http://technet.microsoft.com/en-us/library/ms188348.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?

    1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
    When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed  in the stat plan  ?
    2. Does rowsource statistics gives some kind of  understanding of Extended stats ?

    You can get Row Source Statistics only *after* the SQL has been executed.  An Explain Plan midway cannot give you row source statistics.
    To get row source statistics either set STATISTICS_LEVEL='ALL'  in the session that executes theSQL OR use the Hint "gather_plan_statistics"  in the SQL being executed.
    Then use dbms_xplan.display_cursor
    Hemant K Chitale

  • OBN: How can we add the tcode of target system into Source System.?

    Dear Experts,
    I want to add a t-code ME53n of ERP) into a role as OBN target in my SAP TM.
    I tried to add this t-code but could not find this t-code in SAP TM system.
    How can we add the tcode of target system into Source System.?
    I tries to import the role of target system but that does not work.
    Please help!
    Regards,
    Saurabh

    Hi Saurabh,
    Logically there is no need to add a tcode of the target system in the source system.
    If you have right roles in the system then system should allow you to add tcode in the OBN target simply by going to PFCG roles and using add transaction feature.
    To make sure it works properly you have to check the Method & Parameter assignment to the newly added tcode.
    Thanks & Regards,
    Tarun Kumar

  • How to create DB partitioning in active data tables for ods?

    hi all,
    Can anyone let me know how to create DB partitioning in active data tables for ods. if any docs pls share with me at my email id : [email protected]
    regds
    haritha

    Haritha,
    The following steps will briefly explain you to improve the performance in terms of DB partitioning as well as loading. Please find the same,
    transaction RSCUSTA2,
    oss note 120253 565725 670208
    and remove 'bex reporting' setting in ods if that ods not used for reporting.
    hope this helps.
    565725
    Symptom
    This note contains recommendations for improving the load performance of ODS objects in Business Information Warehouse Release 3.0B and 3.1 Content.
    Other terms
    Business Information Warehouse, ODS object, BW, RSCUSTA2, RSADMINA
    Solution
    To obtain a good load performance for ODS objects, we recommend that you note the following:
    1. Activating data in the ODS object
    In the Implementation Guide in the BW Customizing, you can implement different settings under Business Information Warehouse -> General BW settings -> Settings for the ODS object that will improve performance when you activate data in the ODS object.
    1. Creating SIDs
    The creation of SIDs is time-consuming and may be avoided in the following cases:
    a) You should not set the indicator for BEx Reporting if you are only using the ODS object as a data store.Otherwise, SIDs are created for all new characteristic values by setting this indicator.
    b) If you are using line items (for example, document number, time stamp and so on) as characteristics in the ODS object, you should mark these as 'Attribute only' in the characteristics maintenance.
    SIDs are created at the same time if parallel activation is activated (see above).They are then created using the same number of parallel processes as those set for the activation. However:if you specify a server group or a special server in the Customizing, these specifications only apply to activation and not the creation of SIDs.The creation of SIDs runs on the application server on which the batch job is also running.
    1. DB partitioning on the table for active data (technical name:
    The process of deleting data from the ODS object may be accelerated by partitioning on the database level.Select the characteristic after which you want deletion to occur as a partitioning criterion.For more details on partitioning database tables, see the database documentation (DBMS CD).Partitioning is supported with the following databases:Oracle, DB2/390, Informix.
    1. Indexing
    Selection criteria should be used for queries on ODS objects.The existing primary index is used if the key fields are specified.As a result, the characteristic that is accessed more frequently should be left justified.If the key fields are only partially specified in the selection criteria (recognizable in the SQL trace), the query runtime may be optimized by creating additional indexes.You can create these secondary indexes in the ODS object maintenance.
    1. Loading unique data records
    If you only load unique data records (that is, data records with a one-time key combination) into the ODS object, the load performance will improve if you set the 'Unique data record' indicator in the ODS object maintenance.
    Hope this helps..
    ****Assign Points****
    Thanks,
    Gattu

  • How to create the variable variant in process chains for ip

    how to create the variable variant in process cahins for ip

    Hi venky,
    check these links
    http://help.sap.com/saphelp_nw70/helpdata/EN/c0/980398e58611d194cc00a0c94260a5/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/c0/98038ce58611d194cc00a0c94260a5/content.htm
    bhaskar

  • How to create ''from to '' parameter in XL reporter for templates

    Hi,
    How to create ''from to '' parameter in XL reporter for templates
    Can anyone help me in this regard
    thanks,
    Suresh Kannan

    Suresh,
    1. Goto Report Designer
    2. there u can find "Advanced Report Builder" on left side of the window
    3. At the below u can find three buttons like "Parameters", "Properties","Apply"
    4. Click on "Parameters"
    5. then Parameters window will populate
    6. Click the new Button
    7. Name: give as u like
    Category: Literal
    Type: Date
    Attribute: Leave blank
    Default Vale: Leave Blank
    Prompt: From Date
    This is the process to create the parameters.

  • How to create "valuation group code" in ECC system

    Hi,
    How to create" valuation group code" in ecc system and what is the path to create valuation grp code
    Thanks&regards
    kishore kumar

    Use the following IMG path.
    MM -> Valuation and Account Assignment -> Account Determination -> Account Determination without wizard -> Group together valuation areas (T Code OMWD).  The Val.Grpg Code in this customizing is a freely definable 4-character code.  You can then use this as valuation modifier in MM-FI account determination (OBYC).
    Assign pts. if this answers your question!

  • The DataSource ZGLOBAL_SPND still has no target system for the delta update

    Dear Experts,
    I have created a Generic Datasource, while checking records in rsa3 iam getting below error.
    Error: The DataSource ZGLOBAL_SPND still has no target system for the delta update.
    Source system is already created.
    For some of the datasources iam getting this msg.
    regards
    KV

    Hi,
    Fisrst did u enabled the Delta for Generic.If yes, the in RSA3 select Update Mode as "D" then provide the BI Trget system and execute.
    If you correct Target system and update mode D then it should fetch Delta records only...If not please write to SAP about this issue.
    Regards
    Ram.

  • CHARM error - No Target system for Normal transport generated from another client

    Hi Gurus,
    This is regarding normal change. We have two clients in development. (Workbench and Customizing)
    We were trying to do Automatic import from development client to Quality. When importing the job, I’m getting an error related to Project Status switch. "you cannot import any request for the project at the moment" It works fine for another development client and we can see the target system in Project status switch.
    But, checking the Project Status switch, looks like there’s no Target System defined for Normal transport generated from another client of development.
    I attached some screenshots related to this.
    Can you please help how to add a target system for another client of development ?
    Regards,
    Salman

    yes, client 110 is present in the task list of the project. yes route is defined because it is working for urgent change

  • Error in RSA3 - no target system for the delta update

    Hi friends,
    I have created one datasource but in RSA3 when i press F4 at target system it gives me msg like "The DataSource V_BW_DPP still has no target system for the delta update" what could be the reason? kindly help me.
    Regards
    Suyash

    Hi Suyash,
    First check whether the BW system is connected to R/3 or not by Right click on Source system in RSA1 and selecting the option Check.
    Also What is the update mode you have chosen in RSA3?. Is it full ( F ) or Delta (D) . If you have chosen delta then you  check in RSA7 whether the data source V_BW_DPP is appearing or not . If it is not appearing in RSA7 do init upload in BW system for the data source and then check in RSA3.
    Regards,
    Prakash

Maybe you are looking for