*** Question How to load a file into BI-Integrated Planning and use WAD 7.0

Hi, I created an manual DTP upload to my planning infocube and it works fine.  The transformation rules convert 0CALMONTH into the relevant Calendar and Fiscal characteristics.   So all of my Time Characteristics are fine, both Calendar and Fiscal.
However, When using the "How to load a file into BI-Integrated Planning and use WAD 7.0" solution, only the Calendar Characteristics are populated and not the Fiscal.   The upload application somehow knows to populate the 0CALMONTH2, 0CALQUART1, 0CALQUARTER, and 0CALYEAR.  
How can I get the upload to populate my Fiscal Period Characteristics?
Would it be best to modify the "Upload Application, or can I write a planning function to update the fiscal characteristics, or some other way?
Thanks!

My planning data is being uploaded via the SDN Planning File Upload Solution. What I did was end up modifiying the upload class ZCL_RSPLF_FILE_UPLOAD Method EXECUTE.
I added the following code if anyone is interested.
*{ INSERT BWDK902323 1
THIS SECTION OF CODE POPULATES THE FISCAL PERIOD CHARACTERISTICS
USING THE FISCAL YEAR VARIANT 'NK' AND THE CALENDAR MONTH/YEAR
FIELD-SYMBOLS <0FISCVARNT> TYPE /BI0/OIFISCVARNT. " Fiscal Year Variant
FIELD-SYMBOLS <0FISCYEAR> TYPE /BI0/OIFISCYEAR. " Fiscal Year
FIELD-SYMBOLS <0FISCPER> TYPE /BI0/OIFISCPER. " Fiscal Year/Period
FIELD-SYMBOLS <0FISCPER3> TYPE /BI0/OIFISCPER3. " Posting Period
FIELD-SYMBOLS <0CALMONTH> TYPE /BI0/OICALMONTH. " Calendar Month/Year
ASSIGN COMPONENT '0CALMONTH' OF STRUCTURE <L_S_DATA> TO <0CALMONTH>.
ASSIGN COMPONENT '0FISCPER' OF STRUCTURE <L_S_DATA> TO <0FISCPER>.
ASSIGN COMPONENT '0FISCVARNT' OF STRUCTURE <L_S_DATA> TO <0FISCVARNT>.
ASSIGN COMPONENT '0FISCPER3' OF STRUCTURE <L_S_DATA> TO <0FISCPER3>.
ASSIGN COMPONENT '0FISCYEAR' OF STRUCTURE <L_S_DATA> TO <0FISCYEAR>.
<0FISCVARNT> = 'NK'.
CALL FUNCTION 'FISCPER_FROM_CALMONTH_CALC'
EXPORTING
IV_CALMONTH = <0CALMONTH>
IV_PERIV = <0FISCVARNT>
IMPORTING
EV_FISCPER3 = <0FISCPER3>
EV_FISCPER = <0FISCPER>
EV_FISCYEAR = <0FISCYEAR>.
*} INSERT

Similar Messages

  • Uregnt - How to Load Flat File into BW-BPS using Web Browser

    Hello,
    We have followed the 'How to Load Flat File into BW-BPS using Web Browser' guide to build BSP web front-end to upload flat file.  Everything works great but we have a requirement to populate the Planning Area Variables based on BSP drop down list with values.  Does anyone know how to do this?  We have the BSP coded with drop down list all we need to do now is populate variables.  We can populate the variables through the planning level (hardcoded) but we need to populate them through the web interface.
    Thanks,
    Gary

    Hello Gary,
    We have acheived the desired result by not too a clean method but it works for us.
    What we have done is, we have the link to load file in a page where the variables can be input. The user would then have the option to choose the link to load a file for the layout in that page.
    By entering the variable values in the page, we are able to read the variables for the file input directly in the load program.
    Maybe this approach might help.
    Sunil

  • How to load flat file into BW BPS

    hi,
    how to load flat file into BW BPS ?

    Have a read through this;
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20load%20a%20flat%20file%20into%20bw-bps%20using%20a%20web%20browser.pdf

  • How to load PDF files into oracle database and display them in APEX

    Hi All,
    We have a requirement for loading the Loading PDF files (lots of PDf files) to the oracle database and then display the PDF files in the Oracel APEX report.
    So that User can view the PDF files. Our current APEX verison is 3.2..
    Please let me know how to implement it and where to find the sample application!
    Thanks in advanced!
    Jane

    Thanks Tony for your quick response!
    We need to load a lot of PDfs (history + current).
    I have a questions about the SQL loader. I am trying to insert a pdf file into a table by following the oracle loading sample:
    http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/aload.htm
    Example Data File: loader2.dat
    This file contains the data to be loaded into each row of the table, articles_formatted.
    Each line contains a comma separated list of the fields to be loaded in articles_formatted. The last field of every line names the file to be loaded in to the text column:
    Ben Kanobi, plaintext,Kawasaki news article,../sample_docs/kawasaki.txt,
    But i don't know to where should I put my pdf file on the server.
    for example:
    ,../sample_docs/kawasaki.txt,
    Where is the file 'kawasaki.txt'??
    I try my local path, it didn't work. like c:\temp.
    then I loaded teh PDf file into our server(/findev20/olmtest/orafin/11.5.7/olmtestcomn/temp) , and In my data file. I put the path
    1, pdf_emp1,../findev20/olmtest/orafin/11.5.7/olmtestcomn/temp
    but I got the error: the system can not find the file specified.
    Where should I put the PDf files on the server and how to specify the path in the data file?
    Thanks!
    Jane

  • How to load rm file into ordAudio column?

    Hello everybody,
    I made many attempts trying to insert aa.mp3(3.63Mb) and bb.rm(3.58Mb) file into ORDSYS.ordAudio column respectively with the same way.
    the result is: aa.mp3 was inserted successfully, but the bb.rm was not. It showed the error message: "java.sql.SQLException:ORA-01401:inserted value too large for column"
    Why? How can I insert *.rm into the ordAudio column?
    main code are grateful.

    >
    >
    1.tonight, I made another trying to insert aa.mp3(3.63Mb) and bb.rm(3.58Mb) file into ORDSYS.ordAudio column respectively with the same way.
    the result is: aa.mp3 was inserted successfully, but the bb.rm was not. It showed the error message: "java.sql.SQLException:ORA-01401:inserted value too large for column"
    And the main code is as following:
    private final static String EMPTY_AUDIO = "ordsys.ordaudio.init()"; //declare the EMPTY_AUDIO
    stmt = (OraclePreparedStatement)conn.prepareStatement( //
    "insert into TAB_NOAUDIT_AUDIO(NOAU_AU_SERIALNUMBER,"+
    "NOAU_AU_TYPE,NOAU_AU_KEYWORD,NOAU_AU_FILENAME,"+
    "NOAU_AU_MEDIA)"+
    " values (?,?,?,?," + EMPTY_AUDIO +")" );
    stmt.setString( 1, id );
    stmt.setString( 2, filetype );
    stmt.setString( 3, new String(keyword.getBytes("ISO8859-1")) );
    stmt.setString( 4, new String(filename.getBytes("ISO8859-1")) );
    // System.out.println("after 4th set..()!!");
    stmt.executeUpdate();
    stmt.close();
    //load the audio media file into table
    stmt=(OraclePreparedStatement)conn.prepareStatement(
         "select NOAU_AU_MEDIA from TAB_NOAUDIT_AUDIO where NOAU_AU_SERIALNUMBER = ? for update" );
    stmt.setString( 1, id );
    rset = (OracleResultSet)stmt.executeQuery();
    while(rset.next()) {
    media = (OrdAudio)rset.getCustomDatum( 1, OrdAudio.getFactory());
    File file = new File(filepath);
    FileInputStream fStream = new FileInputStream(file);
    media.loadDataFromInputStream(fStream);
    // System.out.println("after aumedia.loadDataFromInputStream()!!");
    fStream.close();
    I don't know why the error occured?
    Whether the rm file format is not recognized by ORDSYS.ordAudio or not?
    How can i do next?
    The error you get has nothing to do with the size of the media data. The error you are getting has to do with another field somewhere I think. The error you say has nothing to do with media data, but regular SQL.
    It all depends on where the error is... Do you get the error on the media.loadDataFromInputStream(fStream);? I suspect, you are getting the error on the insert. and that id or filetype are too big for the column.
    Could you tell me where the problem occurs? On the first insert? on the update?? I really can't debug with the amount of information here.
    In general, for debugging problems, you need to break it down smaller to find the errror.
    Pleas break down your insert to find the problem.
    2.Would you mind telling me more detail step or code for copying ordAudio data from table
    to another table with the same ORDSYS.ordAudio column property?
    One media column to another would simply be
    select sound into soundvar from oldtable where .....
    insert into newtable(newsound) values (soundvar) where ...;
    If from a lob....
    select lob into lobvar from....
    soundvar.source.localdata := lob;
    soundvar.setlocal();
    soundvar.setProperties();
    Larry
    Larry

  • How to load .csv file into an abap table

    Hi,
    Pls provide me with a sample code on how to load a .csv file (with column header and rows of data) into a table in sap.
    Thank you!
    Moderator Message: A google search would yield faster results, so search!
    Edited by: Suhas Saha on Jan 16, 2012 5:30 PM

    Hi,
    Using GUI_upload convert file to internal table data.
    Using the below statement separate header and data from CSV.
    Read t_itab into wa_titab index 1.
    delete t_itab from wa_itab.
    Create an internal table with the structure same as 'CSV' file and use the below statement to separate.
    loop at t_itab into wa_itab.
          split wa_itab-rec at ',' into var1 var2 var3.
          wa_output-v1 = var1.
          wa_output-v2 = var2.
          wa_output-v3 = var3.
        append wa_output to t_output.
    endloop.
    Edited by: syamsundr on Jan 16, 2012 11:54 AM

  • How to load CSV files into HANA

    1.- Create an CSV file with your data
    2.- Copy the file to dropbox/yourname inside the HANA box
    3.- Create a table in HANA with the structure of your file
    4.- create the control file BBB with the following information:
    import data
    into table XXX."YYY"
    from 'ZZZ.csv'
    record delimited by '\n'  
    fields delimited by ','
    optionally enclosed by '"'
    error log 'Text_Tables.err'
    Where XXX is your schema, YYY is your HANA Table and ZZZ is your file
    5.- Open an Script File and write the following:
    LOAD FROM '/filer/dropbox/yourname/BBB.ctl';
    where BBB is the name of your control file
    Greetings,
    Blag.

    With the recent upgrade to the HANA SP3...the method to upload files to HANA has been slightly changed...so here's the updated tutorial:
    1.- Create an CSV file with your data
    2.- Copy the file to the HANA Dev Center
    3.- Open a FTP connection to ftp.sapdevcenter.com
    (You can find the user name and password by doing a select to SYSTEM.FTP_SERVER)
    and....*Don't paste the Username or password here or any other place!*
    4.- Create a folder with your name on the FTP site and copy the file there
    4.- Create a table in HANA with the structure of your file
    5.- create the control file BBB with the following information:
    import data
    into table XXX."YYY"
    from 'ZZZ.csv'
    record delimited by '\n'
    fields delimited by ','
    optionally enclosed by '"'
    error log 'Text_Tables.err'
    Where XXX is your schema, YYY is your HANA Table and ZZZ is your file
    5.- Open an Script File and write the following:
    IMPORT FROM '/dropbox/yourname/BBB.ctl';
    where BBB is the name of your control file
    I just test it and it works...if it doesn't work for you, please let me know
    Greetings,
    Blag.

  • Import Objects - How To Load a File into BI-IP

    Hi All,
    for upload file to BI-IP,  I have to import only  2 .BIR files or any other objects.
    and where I have to create and activate the missing HTTP service.

    Hi Ram,
    I am asking about file upload function.
    thanks

  • Problem in Load File into BI-Integrated Planning

    <b>Hi Marc,
    When I am running the URL for file upload in BI Integrated Planning, I am getting the below message ( we have created the variable on navigational attribute):</b>
    Note
    The following error text was processed in the system BWD : /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.
    The error occurred on the application server ma1ua231_BWD_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE_INFO~ADD_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    <b>In System we are getting Short dump as:</b>
    An exception occurred which is explained in detail below.                     
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and therefore caused a runtime error.                                             
    The reason for the exception is:                                              
    /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.                 
    I went through your blog. Just curious to know when can we expect Version 2 of the how-to solution will support a direct upload from Excel without the need to launch a browser.
    Thanks
    Kamlesh Mishra

    Hi Marc,
    Thanks for your support and great help for the problems we are facing in IP. Now we are able to get the browser screen for selecting the file, but we are facing new issue, When we are uploading file, the system is giving dump saying "THE ASSERT CONDITION was violated" in the below source code:
    LOOP AT n_t_charsel INTO l_s_charsel WHERE sign = 'I' AND opt = 'EQ'. 
      ASSIGN COMPONENT l_s_charsel-iobjnm OF STRUCTURE <l_s_data> TO <f>. 
      ASSERT sy-subrc = 0.                                                                               
    IF <f> IS INITIAL.                                                  
        <f> = l_s_charsel-low.                                            
      ENDIF.                                                              
    ENDLOOP.                                                              
    (We are unable to open the Blog, it is showing us "No Authorization" message)
    Thanks,
    Kams

  • How to load a XML into Checkpoint in UFT API using custom code

    I am automating a webservice using UFT-12. In which I am trying to load a xml into the checkpoint at run time. but I am not able to find out a way of doing it.Can any1 help me on this?

    @piyu_sh_arm 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • How to load Excel files into DB on Unix?

    Hi folks,
    Question>
    ======================================
    Our source db is on HPUX, and we have Excel files transported onto the HPUX via FTP everyday, how can I load the Excel data into the source db with Heterogeneous Services on Unix?
    I know that we can do these if the source db is on Windows as that way we can create the System DSN in Windows ODBC Administrator before we configurate HS listener/tnsname.
    But in this case, it's on Unix! Is ODBC available on Unix? What shall i do?
    Do you have any idea?
    Thanks & Have a nice day everyone!
    eilison
    [email protected]

    check this out
    http://www.unixodbc.org/

  • How to load XML files into oracle

    I am new to XML.I have a few XML files.I want to load them into oracle.I have oracle client on my win2000 machine version 8.1.6.3.
    I cannot find Loadjava.jar file in ORACLE_HOME\bin directory.
    Where is the XSU-dsl and the XDK utility?Do i need to down load it?

    This forum is dedicated to the XML Features of 9iR2, and to a lesser extent 9i. Questions related to XML and earlier versions of the database should be posted in Technologies -> General -> XML...
    I will move this thread to the appropriate forum if required.

  • How to load XML files into ORACLE8i database?

    SAP data is being extracted into XML format (via IDOC) files which are being transferred to an ORACLE8i box. There will be a large amount of data transferred on a daily basis which will include updates and inserts. From all the information that I have read on this subject there are 2 options available :
    1. XML-SQL Utility - which converts XML into INSERT, UPDATE or DELETE SQL. There does not appear to be that much functionality available by this method for decodes, transformations on the input data.
    2. SQL*Loader - There was a statement in 1 piece of documentation stating that SQL*Loader could be used for loading XML format data files. I cannot however find any further information on how this is achieved or how it works.
    If anyone has any experience in loading XML format data files using either of the above methods (preferably SQL*Loader as it has more functionality) then could you please provide me with examples or guidance on this matter? Any help would be greatly appreciated as I am not familiar with XML format data files. I am from an Oracle 7.3 background but do not have much experience with Oracle 8 onwards.
    Disclaimer.
    Any views expressed in the above paragraphs are my own and not that of Hewlett Packard Ltd.

    We are loading XML into our database using CLOB datatypes. We don't use the XSU for inserts as it is too slow. We parse the incoming XML document into a PL/SQL record type and then build a generic insert. This might not work well if you have many tags to parse into columns. We also store the entire XML CLOB into a column without parsing the individual tags into separate columns. We then use Intermedia Text for fast, index-based searching within the XML column.
    Check out The Oracle XML Portal website for code examples on how to do this:
    www.webspedite.com/oracle

  • How to Load XML files into Oracle 8 database.

    My company is currently using Oracle Aplications V. 10.7 character mode and intend to migrate to V.11.0.3 in the next months.
    We want to import data (XML format) in the OE module using Open Interfaces.
    How to proceed ?

    This forum is dedicated to the XML Features of 9iR2, and to a lesser extent 9i. Questions related to XML and earlier versions of the database should be posted in Technologies -> General -> XML...
    I will move this thread to the appropriate forum if required.

  • 3.1.2 Import Objects - How To Load a File into BI-IP

    I am looking for the transport files.
    Does anyone know if the Maintenance Optimizer has to be used in order to download the files, that contain the custom objects that Marc developed, into the customer's transport directory?
    Message was edited by:
            John Morris

    Hi Marc,
    I have been working with our Basis team, and we are still unable to locate the files.  I am replying on their behalf.
    We’ve read through OSS note 13719, and understand the process of extracting the data and cofiles to the /usr/sap/trans directory.  We are having difficulty finding the ZIP file which contains these files.  We’ve looked on SDN, and also on sapserv4.  Is there a specific location that this file can be downloaded from?
    Thanks for your help,
    John

Maybe you are looking for

  • CS3 'freezed' installation problem on Windows Vista Home Premium.

    Hi! I searched everywhere for answer that installation of my PS CS3 is freezed in moment on the screen. I installed Acrobat Reader, Dreamweaver cs3 only. Both in English language. I tried to uninstall, then install, using cs3clean, but it`s nothing c

  • E63 not browsing

    My E63 phone is no longer connecting to the internet, either via the web or via the WLAN. If i tried connecting via the web it will say connection not available, if I try via WLAN it will say WLAn connection already active, close and try again.

  • API to run a crystal report remotely

    Hi.  I am trying to figure out how to programatically run crystal reports and save the resulting pdfs.  Here is my setup: I have a machine running linux, and another machine running Windows Server with Business Objects on it.  (neither machine is one

  • Grouping for Dunning Notices Not updated FKKMAKO-MGRUP

    Hi All,   Dunning grouping field is not updated after dunning ran. Field FKKMAKO-MGRUP   I am enhancing couple new steps to collection strategy for current dunning which is running good.   All existing steps running fine and field(Dunning grouping fi

  • Blueprint for trading company

    hi guru's i got blue print for pharmaceutical company, can i use same blueprint for trading company? in company how blue print is done? can we edit same blueprint? or we need to write this blueprint newly? max compensation!!!!!!!!! Edited by: dev on