Modifying the structure of the std CSV file in SNC FTR

Hi All,
We are using the File for SNI Monitor in SNC 7.0 Ehp1 to facilitate the suppliers in uploading their Inventory data (Unrestricted Stock on Hand) for their location products.
The issue with the std. CSV file downloaded from the system is that it has all the key figures from the SNI Monitor which we are not interested in. We want the supplier to just see the following key figures for their location products:
1. Unrestricted-Use Stock- New (its an editable field which the supplier updates in Period0)
2. Unrestricted-Use Stock- Original (which contains the current inventory data in the SNC system for the location product)
Now our concerns are:
a. We are not able to apply the filter to the CSV file for the above key figures as a blank line between location products prevents filtering. This makes it very cumbersome for the supplier to update the stock data for 200+ skus using the std. file
b. We tried formatting the std. file but ended up with errors on upload.
Can anyone share their inputs on how to simplify the structure of the Std. CSV file.
Note: We are looking for std. solutions.
Regards,
Bharath

Hi Mayari,
though you were successfull with
METHOD cl_alv_table_create=>create_dynamic_table
I must warn you not to use it. The reason is that the number of tables created is limited, the method uses GENERATE SUBROUTINE statement and this triggers an unwanted database commit.
If you know the DDIC structure, it is (starting with ECC6.0) much easier:
field-symbols:
  <table> type standard table.
data:
  lr_data type ref to data.
Create data lr_data type table of (<DDIC structure>).
assign lr_data->* to <table>.
The split code can be simplified gaining speed loosing complexity not loosing functionality.
field-symbols:<fs_s> type any.
field-symbols:<fs_t> type any.
SPLIT lv_rec AT ';' INTO table it_string.
loop at it_string assigning <fs_s>.
  assign component sy-tabix of wa_string to <fs_t>.
if sy-subrc = 0.
  <fs_t> = <fs_s>.
endif.
at last.
  append <fs_itwa3> to <ft_itab3>.
endat.
endloop.
Though it may work as Keshav.T suggested, there is no need to do that way.     
Regards,
Clemens

Similar Messages

  • How can we a validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    How can we a  validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    Please see:
    http://www.bidn.com/blogs/DevinKnight/ssis/76/does-file-exist-check-in-ssis
    http://social.msdn.microsoft.com/Forums/en-US/01ce7e4b-5a33-454b-8056-d48341da5eb2/vb-script-to-write-variables-to-text-file

  • The structure in the query

    HI,BW experts, I have a question about the structure of the query :is there only one key figure in the query?in my query ,i have a key figure structure already, could I create another key figure structure,and how to ?
    Thanks for your help.

    Hi Cindy
    If your query already has a structure then why you want to create a new one? add new key figures to the exisiting structure.
    If you have to create new structure for key figures then
    GO to Query change in Query designer & in Columns section do right mouse click and select structure. This will add new structure and then you can add new key figures to that if you need.
    Hope this helps
    Regards
    Pradip

  • How to replace the structure in the BI Query

    Hi Guys
    We have a query and we have a structure in the ROWS section. We want to replace this structure with another one which is aviable in the query.
    For some reason i am able to remove the structure from the ROWS section but i am unable to drag a new structure in the ROWS section. Any idea what i am doing wrong. We are on BI 7.0 version.

    Hi Pravender,
    Thanks for the quick response. I have tried that option and it does not work.
    I am able to remove the existing structure from the ROWS section of the query and able to save the query. When i go back and try to drag and drop the new structure it does not allow me to drag and drop the new structure availble in the query.
    apologies for my ignorance. I am new to BI so i might be doing something wrong. Does the structure needs to have any specific properties to be able to drag and drop? I have more than 10 structures availble in the query but i am unable to drag and drop anyone in the ROWS section.

  • Show all the structure in the Query

    Hi people,
    I would like to know if there is some way to show all the structure I created by hierarchy to my query, enven if some nodes there isn´t any data.
    I have configurated to show only the lines there is amount. It means it won´t show the lines that have zeros.
    But the structure (all of the nodes) I would like to show, include that one there aren´t any datas.
    Thanks in advance,
    Rosana.

    Jaya,
    You are 10. It worked!.
    I only will leave opened this request yet because I would like a new suggestion.
    For exemple, I have the hierarchy but on the side "colum"  I already have a structure where is restricted by data because it is a report  "Year to Date".
    On this case, is it possible to do something to show all the structure of the hierarchy?
    Ps.: If it is necessary close this request and open a new one, you can tell me ok?
    Thanks a lot,
    Rosana.

  • Level of the structure of the account accounting chart of accounts.

    HOW DO I KNOW SOMEONE pull a report that shows the level ACCOUNTING ACCOUNT IN THE STRUCTURE OF THE PLAN OF ACCOUNTS?
    EXAMPLE:
      BP02 balance sheet structure
       1 - ASSETS
         1.1 - ASSETS
          1.1.1-ASSETS AVAILABLE
                       111000 - BANK
    For this example the level of bank account would be the fourth. I need to know the level of all accounts of the formant chart of accounts.
    any help is welcome
    thank you

    Go to OB58
    Double click on your Financial Statement Version
    Click on financial Statement Versions (Shift+F8)
    Then(Shfit+F4)
    If this not your expectation, tell us more details
    Srinivas

  • Writing ouput to the next column in a .csv file

    I am Writing to .CSV file with PL/SQL code:
    CREATE OR REPLACE PROCEDURE Write_File(p_name IN VARCHAR)
    AS
    BEGIN
    DECLARE
    CURSOR emp_sel IS SELECT ename,hiredate FROM EMP;
    file_name VARCHAR2(20);
    output_file utl_file.file_type;
    BEGIN
    file_name:= (p_name||'.csv');
    output_file:=utl_file.fopen('d:\test_dir',p_name||'.csv','W');
    FOR i IN emp_sel LOOP
    utl_file.put_line(output_file,'NAME:'||i.ename);
    utl_file.put_line(output_file,'hire Date:'||i.hiredate);
    END LOOP;
    utl_file.fclose(output_file);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(SQLCODE||SQLERRM);
    END;
    END;
    Just wanted to know how Move to the next Column in the .csv file.
    at present the ename and hiredate r written in the 1st Column C1 column.
    I want to write the hiredate data in C2 column.
    how to?

    user545846,
    I answered you in the other thread:
    Re: Calling utl_file package from a java program
    Good Luck,
    Avi.

  • CLR to get the SQL Server Data into .CSV File

    Hi,
    I transformed 10 columns 1000 rows from the source table to 1 column 1000 rows in the destination table by making the comma separated columns ( Just like ..
    Insert into DestinationTable
    SELECT col1+','+col2 ....
    FROM SourceTable
    Then I want to take this column into CSV file.
    I dont have the rights to command shell.
    I heard that we may use CLR procedure for this. Can someone throw light?

    using System;
    using System.IOM
    using System.Data;
    using System.Data.SqlClient;
    using System.Data.SqlTypes;
    using Microsoft.SqlServer.Server;
    public class ExportFileClass {
    [Microsoft.SqlServer.Server.SqlProcedure]
    public static void export_file()
    using (SqlConnection connection = new SqlConnection(
    "context connection=true"))
    connection.Open();
    // Operation to open file goes here.
    SqlCommand command = new SqlCommand("SELECT col FROM YourTable");
    // Consume result set and write rows.
    Build this from the command line:
    sn -k keypair.snk
    csc /target:library /keyfile:keypair.snk exportfile.cs
    Then run in SQL Server (assuming that the files are in C:\temp on the SQL
    Server machine:
    [sql]
    USE master
    go
    -- To be able to create an external-access assembly, we need to load
    -- the key, the assembly is signed with. The key needs a password, but we
    -- don't need to know the password.
    DECLARE @sql nvarchar(MAX),
            @password char(40)
    SELECT @password = convert(char(36), newid()) + 'Ab4?'
    SELECT @sql = 'CREATE ASYMMETRIC KEY slog_loopback FROM FILE = ' +
                  '''C:\temp\keypair.snk'' ' +
                  'ENCRYPTION BY PASSWORD = ''' + @password + ''''
    PRINT @sql
    EXEC(@sql)
    -- And then a login to carry the permission.
    CREATE LOGIN exportfile$asymkey FROM ASYMMETRIC KEY ExportFile
    GRANT EXTERNAL ACCESS ASSEMBLY TO exportfile$asymkey
    go
    -- Now we can go back to our regular database and create the assembly.
    USE youddatabase
    go
    CREATE ASSEMBLY ExportFile FROM 'C:\temp\exportfile.dll'
    WITH PERMISSION_SET = EXTERNAL_ACCESS
    go
    CREATE PROCEDURE ExportFile AS
    EXTERNAL NAME ExportFile.ExportFileClass.export_file
    [sql]
    It is likely that you will have to do ask your DBA to do things in the
    master database.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Unable to save the webi report results in CSV file in XIR2 environment

    Hi Team,    
    We have one WebI report in BOXIR2 version and it fetching nearly 76+ records in the report. The report is running fine without any issues and when i am trying to export the results into CSV file we are getting the error msg (Maximum Binary file size exceeded WIS30271). The file size is more than 80MB and hence it throwing this error. I have checked the Maximun Binary File size that is set in CMC and it is set to 80MB.
    When i ran the same query in the database and exporting the results in to csv file the file size is under 80MB. I would like to know the reason why there is a difference in the file size when running the query manually in database and exporting in to csv file and to export the results set in to csv through business objects.

    Below are the possible causes to get this error message:
    1] When a large Web Intelligence report is exported to CSV format, we get error: Max Binary file size limit exceeded. The document is too large to be processed by the server. Error WIS 30271
    Cause
    This error message appears because BusinessObjects Enterprise allows documents to be saved with the limit specified for Web Intelligence Report server settings in the Central Management Console(CMC).
    To resolve the error follow the below steps:
    - Login to Central Management Console (CMC) using BusinessObjects Enterprise "Administrator".
    - Navigate to "Home >> Servers".
    - Click on "Web Intelligence Report Server" to open its properties.
    - Increase the "Maximum Binary File Size"(Default value=50 MBytes; Maximum value = 65535 MBytes).
    - Click on "Apply" and then on "Update".
    - Allow the Web Intelligence server to restart.
    2] In Web Intelligence, when attempting to save a report to Excel or Portable Document Format  (PDF), the following error message appears:
    "Max binary file size limit exceeded. The document is too large to be processed by the server. Contact your database administrator. (Error: WIS 30271)".
    Cause:
    This error message appears because Business Objects Enterprise allows documents to be saved up to the limit set for Web Intelligence Report Server in the Central Management Console (CMC).  The default file size limit is 50 megabytes for binary file types like PDF and Excel.
    To resolve this error message, you will need to increase the Max Binary file size value.
    1.      Open the CMC.
    2.      Browse to Servers
    3.      Click on your Web Intelligence Report Server.
    4.      On the Properties page, increase the Maximum Binary File Size.
    5.      Apply the setting and allow the Web Intelligence Report Server to restart.
    Increasing these values too high could impact Web Intelligence performance when users attempt to save excessively large files.
    Hope this helps.

  • How to make the headings bold of a csv file

    Hi,
    I am able to create .csv file, is there a way to make the content bold programmtically for the headings?
    thanks
    Shubha

    No. A CSV file does not have formatting.

  • Modifying the structure of the output by adhoc query designer

    Hi,
    Is there any way of modifying the output structure[row, column width, background color,font ] of the result given by the ad-hoc query in WAD.
    I want to change the font,size, color of the text output given by executing the query using the ad-hoc query designer.
    Please let me know if i can modify some class or method to do so or any other possibility?
    Thanks
    Sachin

    Hi Sachin,
    If you are designing a Table or a Chart on WAD , then you have the option of changing by right click on Table or Chart and click Properties/Edit properties.. here you can change the output color, font, background, width, number of output rows.. etc
    hope this helps,
    Thanks,
    Sudhakar

  • The structure of the profit center report in new GL

    Hello,
    I must finish a query for the customer this week. This query must base on a sap standard report for the new GL.
    Because our ECC 6.0 system hasn't the Enhancement Package 3 (contains the necessary new features) yet, so I can't see this standard report which should be displayed under the path:
    SAP Menu --> Accounting --> Financial Accounting --> General Ledger --> Information System --> General Ledger Reports (New) --> Profit Center Reports --> S_E38_98000088 - Profit Center Group: Plan/Actual/Variance
    Can somebody tell me the structure of this report, if you can see this report in your system?
    - Which key figure has been used in the report?
    - What are in the rows and columns?
    - Which characteristics are available to navigation?
    - Which variables and General data selections are there?
    Hope somebody can help me. Thanks a lot!
    Best regards,
    Yuanyuan

    Hi,
    Then my suggesion is you copy the form & report structure  of most suitable report (which you have downloaded through FGIQ) .Modify the form according to your reporting requirement. Create new report by coping standard report & assign this newly created form to this report.This will serve your purpose.
    Please do not make any changes to standard report.Copy it & then do the changes.
    Transaction code for the same is FGI0 or  FGI1 or FGI2 or 3 or 4 or 5 or FGI6.
    Second suggestion is in SPRO in GL information system (infact in each information system ) you will find drilldown report node in that import report transaction e.g. FSIQ .Import all reports you might get your required report.
    Regards,
    Abhijit

  • How to use the structure in the EXIT_SAPMM06E_013 function module

    Hello Experts,
    Please guide me how to use the structure defined in function modules under  table tab in the driver program for smart form to fetch the data. Please post some sample code if available.
    Best Regards,
    Sandesh.Sreyamsh

    Can you please elaborate little bit more what is the actual requirement?

  • Does SharePoint search depend on the structure of the site

    Hello All
    I am a be gainer in sharepoint server 2010
    My question is, in front of me there are two structure for storing the document
    one --  
     The are hierarchical structure like 
    My site -- Team site -- India --        
    IT --      document library 1 --  list of documents 
    Sales --  document library 2 --  list of documents
    Consulting -- document library 3 --  list of documents
    and flat structure like 
    My site --  Document center --  
        document library 1 --  list of documents
      document library 2 --  list of documents
    document library 3 --  list of documents
    Now my question is , would it be easier to find a doc, if all of the documents are in one document center? or it does not matter, whether  they are on the page(hierarchical) structure?please give a details overview if possible
    Nilanjan

    It depends on the query you are using to find the document.  In your first example you can find all the documents related to Sales by searching on 'Sales' and finding that document library.  In the second example it would depend on how the documents
    are tagged with metadata.  If all the Sales documents have Sales as a value in one of the columns associated with the document you could still find Sales.  The structure itself doesn't affect the search result.  But the hierarchical structure
    may add context that can be used in searching that may not be present other ways.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • So is this going to be the structure of the new fo...

    I have been as objective about this as I can but have to say I don't like the lack of clarity of the new forums, and would prefer clear areas of discussion such as:
    Connectivity
    Security and Privacy
    Gaming
    HomeHub
    BT Vision
    Phones
    Billing issues
    Computer Issues - Hardware
    Computer Issues - Software
    Suggestions
    Email
    Web Authoring
    An area such as BT in Home can cover a whole range of topics and gets very cluttered, and some of those topics can equally belong to, say, BT Out and About. And often one does not know where to post things - just look at the number of posts that have been moved from Forum Help and Suggestions, where people have posted because they don't know where else to go.
    What do others think?
    Value Added Guest (Inspiring Not Aspiring)
    Rate a post if you like it! - just click the star under the user's name on the left. (N.B. ratings facility no longer available in Forum Help and Suggestions; nor is it available in the Lounge)

    Allan_Quatermain wrote:
    Aye to that.  Just to add that a point was made back in January by Alun H about a General Discussion forum which seemed to generate interest.
    All the best forums have a Lounge where folk can discuss OT matters. It helps to build that essential spirit of camaraderie. The bt usenet groups have one and it's mostly inhabited by a handful of people making harmless smalltalk, one or two popping into the "serious" groups now and again to seek or provide learned advice.
    Allan_Quatermain wrote:
    Cant see the logic in reducing the number of post-headings myself, unless it is to reduce the traffic on the forum, which it seems to have done. 
    Yup, it's just not humming is it. And there's already a new thread in this group that supports my case for a Connectivity group - thanks Sid
    Value Added Guest (Inspiring Not Aspiring)
    Rate a post if you like it! - just click the star under the user's name on the left. (N.B. ratings facility no longer available in Forum Help and Suggestions; nor is it available in the Lounge)

Maybe you are looking for

  • Getting PO account assignment on both sides of the GR/IR accounting doc.

    When the GR/IR accounting document is created in our system for a PO item that is account assigned to an order, network or cost centre, the following occurs. On the Goods Receipt, the GR/IR account does not capture the cost assignment on the GR/IR po

  • Some of my work area become rasterized after saved?

    Sometimes when I work on a complex design project, I've notice that after I save and re-open my file, some of my work area was rasterize and uneditable. How can I fix this problem? Some of my work is too complex to re do it again. Thank you

  • DataGrid with styleFunction example posted

    I've just uploaded a new example to my site, which is an extended DataGrid with a styleFunction added similar to the one that AdvancedDataGrid has. This also includes a StyleableRenderer class, which is a simple itemRenderer that extends UIComponent,

  • How to make a switch if i plug my ipod to other computer ?

    Hi everyone, I have an ipod which already contains a lot of songs. I would like to plug my ipod to my new computer which itunes is installed without any song. My problem is, i know when i plug my ipod to the computer, the itunes will warn me my ipod

  • Low sound level when I using BT earphones

    When I use BT earphones to listen mp3 songs on my Nokia N95, the volume always starts from very low level. At the beginning, I thought there was no sound. Once I turned it up, everything is ok. Can anyone tell me how to increase the default sound lev