How to load the factory calender in to Bi system

Hi Friendds,
I am working on capacity utilization cube.in this i need determine the working days between the early starting date and finish date accoring to factory calender 'PL'. the factory calender is attribute for workcenter and plant.
first i need to check the factory calender is loaded in to bw system or not. how to check this.
please help to me on this.
Thanks,
Guna.

Hi gunasekhar,
   There is a function module in Bw side  U pass ur variable and ur factory calendar id and u get the desired factory date as output...u can check the same in SCAL.
DATA : w_coend_fd TYPE SCAL-FACDATE.
DATA : w_coend_cd TYPE SCAL-DATE
    CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
            EXPORTING
              CORRECT_OPTION               = '+'
              DATE                         = w_coend_cd
              FACTORY_CALENDAR_ID          = 'GB'
            IMPORTING
              FACTORYDATE                  = w_coend_fd
            EXCEPTIONS
              CALENDAR_BUFFER_NOT_LOADABLE = 1
              CORRECT_OPTION_INVALID       = 2
              DATE_AFTER_RANGE             = 3
              DATE_BEFORE_RANGE            = 4
              DATE_INVALID                 = 5
              FACTORY_CALENDAR_NOT_FOUND   = 6
              OTHERS                       = 7.
Regards
vamsi

Similar Messages

  • How to load the content in Combobox

    Dear All,
       Any one can tell me how to load the combobox dynamically..  i have one combobox in that i defined the value as "Defined New" when i click the DefineNew a new form wil come i wil enter the value in the editext. when i click the combobox the value should display.. i have done  this, its working fine but  the problem is every time when i add the value it wil show the data in the  the form Load.. i want data should come dynamically..
    any one can help me in this regard
    G.shankar

    You can use this "oForm.Refresh()" every time you add a new valid value to the ComboBox.
    I hope this help you.
    Regards.
    Enriquillo Guigni

  • How to Load the data from excel file(Extension is .CSV) into the temp.table

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Hello Sachin,
    You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
    Instead of copy values into forms you can save them in your temporary table.
    Kind regards,
    Alex
    If someone's helpful or correct please mark it accordingly.

  • How to load the data from .csv file to oracle table???

    Hi,
    I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
    Thanks in advance

    981145 wrote:
    Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
    the command is
    sqlldrType it and see if you have it installed.
    Have a look also at the FAQ link posted by Marwin.
    There are plenty of examples also on the web.
    Regards.
    Al

  • How to load the data from excel file into temprory table in Forms 11g?

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Declare
        v_full_filename         varchar2(500);
        v_server_path           varchar2(2000);
        v_separator             VARCHAR2(1);
        v_filename              VARCHAR2(400);
        filename                VARCHAR2 (100);
        v_stop_load             varchar2 (2000);
        v_rec_error_log         varchar2(4000);
        v_error_log             varchar2(4000);
        ctr                     NUMBER (12);
        cols                    NUMBER (2);
        btn                     number;
        RES                     BOOLEAN;   
        application             ole2.obj_type;
        workbooks               ole2.obj_type;
        workbook                ole2.obj_type;
        worksheets              ole2.obj_type;
        worksheet               ole2.obj_type;
        cell                    ole2.obj_type;
        cellType                ole2.OBJ_TYPE;
        args                    ole2.obj_type;
        PROCEDURE olearg
        IS
        args   ole2.obj_type;
        BEGIN
        args := ole2.create_arglist;
        ole2.add_arg (args, ctr);                                
        ole2.add_arg (args, cols);                                   
        cell := ole2.get_obj_property (worksheet, 'Cells', args);
        ole2.destroy_arglist (args);
        END;
    BEGIN
    v_full_filename := client_get_file_name(directory_name => null
                                     ,file_name      => null
                                     ,file_filter    => 'Excel  files (*.xls)|*.xls|'  
                                                                            ||'Excel  files (*.xlsx)|*.xlsx|'                                                                 
                                     ,message        => 'Choose Excel file'
                                     ,dialog_type    => null
                                     ,select_file    => null
    If v_full_filename is not null Then
    v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
    v_filename := v_separator||v_full_filename ;
    :LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);                                
    RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));     
    --Begin load data from EXCEL
    BEGIN
        filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
        application := ole2.create_obj ('Excel.Application');
        ole2.set_property (application, 'Visible', 'false');
        workbooks := ole2.get_obj_property (application, 'Workbooks');
        args := ole2.create_arglist;
        ole2.add_arg (args, filename); -- file path and name
        workbook := ole2.get_obj_property(workbooks,'Open',args);
        ole2.destroy_arglist (args);
        args := ole2.create_arglist;
        ole2.add_arg (args, 'Sheet1');
        worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
        ole2.destroy_arglist (args);
        ctr := 2;                                                     --row number
        cols := 1;                                                -- column number
        go_block('xxx');
        FIRST_RECORD;  
        LOOP       
                --Column 1 VALUE --------------------------------------------------------------------
            olearg;
            v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            :item1 := v_stop_load;
            cols := cols + 1;                                                      
              --Column 2 VALUE --------------------------------------------------------------------
            olearg;
            :item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
            cols := cols + 1;
            --<and so on>
        ole2.invoke (application, 'Quit');
        ole2.RELEASE_OBJ (cell);
        ole2.RELEASE_OBJ (worksheet);
        ole2.RELEASE_OBJ (worksheets);
        ole2.RELEASE_OBJ (workbook);
        ole2.RELEASE_OBJ (workbooks);
        ole2.RELEASE_OBJ (application);
    END;
    --End load data from EXCELPlease mark it as answered if you helped.

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

  • How to load the data from informatica into bw & how to report the data

    Hi friends,
    how to load the data from informatica into bw & how to report the data
    using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
    Thanks,
    madhu.

    Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
    For BW informatic integration refer following docs:
    http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
    http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
    http://devnet.informatica.com/learning/ePresentations.asp
    http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
    http://www.informatica.com/customers/utilities_energy/fpl_group.htm
    http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22

  • How to load the CategoryName, instead of CategoryID in ListView?

    I have a Listview control in a Windows Form.
    The listview contains 3 columns
    - CategoryID
    - Product Description
    - Price
    The question is: how to load the "Category Name", instead of "Category ID"?
    Does listview support Dictonary Blinding?
    Please help

    Hi iHandler,
    As CoolDadTx said, the key part of Dictionary wouldn't be available.
    If the Value part of your Dictionary is List Type, it can be binded to listView, but I suggest you using TreeView instead of ListView. Because The Dictionary type is
    One to One or One to Many relationship. I can be easily binded to
    TreeView for displaying the relation.
    Here I make a sample you could refer to which can load the TreeView with a Dictionary.
    private void LoadTreeView(Dictionary<string, List<string>> treeStatusDic)
    //load Key Node
    foreach (string key in treeStatusDic.Keys)
    this.treeView1.Nodes.Add(key);
    //load child Node
    foreach (TreeNode tn in this.treeView1.Nodes)
    if (treeStatusDic.ContainsKey(tn.Text))
    List<string> ls = treeStatusDic[tn.Text];
    foreach (string t in ls)
    tn.Nodes.Add(t);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to load the data in DSO

    Hello,
             In my BI system ,i have the DSO and InfoCube ,haveing the
    infopackage Delta and Init..can any one tell me how to load the data from R/3 in to DSO ,when we have two infopackage(one is delta nad other is Init).Please define brifly.

    Hello,
    The procedure is as follows.
    1) First run the init infopackage (either with or without data), preferably with data.
    2) Then run the delta infopackage always. (it will get delta records always).
    Now if there are any errors and delta gets faulted, you can delete the init from the init infopackage and run the init infopackage again.
    And then schedule the delta.
    REgds,
    Shashank

  • How to load the external outlines .otl

    i have hyperion essbase 9.3.1.i had received external outlines.how to load the external outlines

    Hi
    I have bee told that simply copying the otl file can cause it to become corrupt and that the best way is to:
    1. Open the file in the Admin Console using File > Open and browsing to the otl file you have been sent
    2. Do a Save As and save over the existing otl file
    3. Stop and restart the application
    I think this is particularly if the otl file is from a different version.
    Hope this helps
    Stuart

  • How to load the subinventories

    Hi,
    How to load the subinventories if i have around 200 programtically?
    Note : i dont want to use data loader for it?
    Regards
    846691

    This is from MySupport:
    Currently there is no API or Interface table to upload the subinventory related information.
    At present there is no other option other than to use the front end application .
    There is an existing enhancement request which may be released in future release.
    hope this helps

  • How to load the google map into an empty movieclip

    how to load the google map into an empty movieclip ?  Thank you

    if you're using as3, check the google maps api for flash.  if you're using as2, check the google maps api for javascript and use the externalinterface class in flash.

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • How to reset the factory defaults for Adobe Photoshop CS4? [was:need assistance]

    How to reset the factory defaults for Adobe Photoshop, CS4.  My 'image size' box is not quite right. Thank you.

    How to delete/reset Photoshop preferences
    Preference file functions, names, locations | Photoshop CS4
    To reset within the Image Size dialog press Alt (Option on Mac) and click Reset.

  • How to load the exist Data Mart Request in to cube.

    Hi Friends,
    I have a scenario... i got DSO and one Cube , iam loading the data from DSO to Cube .
    The number of records are more in the DSO and due to some clculation in the routine i need to load the data year by year(i got 2007 and 2008 year daya). I have loaded the 2007 data to the Infocube and in the DSO i can see the Data Mart Symbal against the Request Id when th load is finished successfully.
    When iam trying to load the 2008 data from DSO to Cube iam getting the "0" records. I realised that the Data Mart symbal is exist in the DSO.
    How to load the 2008 data in this scenario. If i delete the data mart sysbel means iam deleting the Cube request.
    Can any have an idea on this.
    Thaks in advance.

    HI,
    Things are not clear.
    How is loading happening if its delta or full load through DTP or you using 3.5 flow??
    In any cases if you do a full load or full repair based on the year selection it should pick the records from the source...there is nothing to do with the data mart status in the case of full loads.
    Data mart status will come into picture only when you schedule the delta loads.
    Do a full load based on selections on year from the DSO to the cube...no need to delete the data mart or it will bring that request again delta is scheduled...does that request in DSO contains the data for 2008 only ...if yes then you can just delete the data mart status for that and do a delta...if not then do full loads as said.
    Thanks
    Ajeet

Maybe you are looking for

  • HT4623 How do I get my hotspot back on my IPhone 4S?

    I updated my phone to get the IOs 6.1.2 and it didn't work. I tried to restore my phone back to the update, but accidentally chose a restoration back to October prior to my acquiring a new data plan with a hotspot connection. Where do I go to restore

  • Submitting multiple tasks within a job?

    So far I have been submitting scripts/commands to my grid which execute as single tasks. I want to learn how to submit multiple tasks within a single submitted job. Does anyone know a good reference to learn this topic? I tried the man pages but I wo

  • Transaction SM50 Shows 3 dialog process in yellow colure

    Dear all, I run transaction sm50 in that transaction 3 Dialog work process shows in yellow colure, what its mean please check the attached file for screen shot of SM50

  • Error when deploying MI 25 Client SP15 Patch 4

    Hi, I'm new to SAP MI, so any assistance is sincerely appreciated! Anyway, I installed a MI Client on my computer, performed a sync with the MI Server to get me a Device ID.  Then I tried to deploy this Patch 4 MI 25 Client SP15 Patch 4 (MI25SP15P_4

  • CFB2 Plugin Issue

    I just upgraded to CF Builder 2 yesterday. I did a clean install along with grabbing version 3.6.2 64 bit version of eclipse. Everything was fine at first but now any time I launch eclipse and the Builder Plugin starts up I keep seeing a message in t