How to load grid values in to bi

Hi Guru's,
I am new to IS-AFS.now i am implimenting the IS-AFS.i am having some doughts those are how to maintain grid values in AFS and how to load these values in to SAP BI...

Hi
Normally we used AFS Grid value filed J_3apgnr-->Mat.grid no , we will assign this object to 0af_grid in BI side .
Check Afs sales order cube and 2lis_11_vascl datasource .
Hope it helps
Praveen Yagnamurthy

Similar Messages

  • How to load decimal values into a file using bcp in SQL Server 2000?

    Hi everyone,
    I'm trying to load data from a database table to a text file using bcp on SQL Server 2000. When I'm loading the decimal values, the values before the decimal are not being loaded into the file. How could I load the values before decimals?
    Here are the DDLs and DMLs of what I'm trying to run:
    CREATE TABLE [dbo].[Product_Sales](
    [Year_of_Sale] [smallint] NOT NULL,
    [Product_Type] [varchar](25) NOT NULL,
    [Product_Group] [varchar](25) NOT NULL,
    [Category_Type] [varchar](25) NOT NULL,
    [Category_Group] [varchar](10) NOT NULL,
    [Product_Count] [bigint] NOT NULL,
    [Product_Amount] [decimal](19, 2) NOT NULL,
    [Category_Count] [bigint] NOT NULL,
    [Category_Amount] [decimal](19, 2) NOT NULL,
    CONSTRAINT [PK_Product_Sales] PRIMARY KEY CLUSTERED
    [Year_of_Sale] ASC,
    [Product_Type] ASC,
    [Product_Group] ASC,
    [Category_Type] ASC,
    [Category_Group] ASC
    ) ON [PRIMARY]
    ) ON [PRIMARY]
    INSERT INTO [Yearly_Sales].[dbo].[Product_Sales]
    VALUES(2010, 'Online', 'Web', 'Cameras', 'Electronics', 547, 0.00, 0, 0.00)
    EXEC [master].[dbo].[xp_cmdshell] 'bcp "SELECT * FROM [Yearly_Sales].[dbo].[Product_Sales]" queryout D:\Yearly_Sales\Product_Sales.dat -c -T -S'
    And the output I see in the file is:
    2010 Online Web Cameras Electronics 547 .00 0 .00
    The values before decimals are being truncated.
    Thanks,
    Bangaaram
    Known is a DROP, Unknown is an OCEAN.

    You can modify the decimal column(s) in the table to varchar type before export. But it does not look good.
    alter table [dbo].[Product_Sales]
    Alter column [Product_Amount] varchar(20)
    alter table [dbo].[Product_Sales]
    Alter column [Category_Amount] varchar(20)
    Does that make any sense?
    Known is a DROP, Unknown is an OCEAN.
    Basically you modify the decimal column to a varchar type before you run the bcp command for export. You can modify your source table or you can modify them on the fly. It is just a workaround.
    Modifying the source wouldn't be a good idea. Never do that if you can't get your desired output.
    Known is a DROP, Unknown is an OCEAN.

  • How to load historic values of a char in production

    Hi,
    I have a requirement where some vendor names are missing for few CO orders.Delta is running succesfully for past 2 years.
    I will enhace the data source to pull the missing values from diff.tables but how to pull those values into the cube.
    Scenario1: Deleting the data in the cube
    Scenario 2: without deleting the data in the cube.
    I am more interested in not deleting the data.
    Please suggest in both the scenarios.
    Thanks
    Sri

    Check out these links...This should solve your problem
    Recursive on infocube:  Possible?
    Infocube Recursive Loads
    Re: Recursive Load in BI
    Reflexive / recursive loads
    Edited by: Ananda Theerthan on Apr 28, 2010 7:31 PM

  • How to Load Historical values from Material Prices

    Hi
    I have to load historical values from Material Prices.
    I'm using extractors 0CO_PC_ACT_02 and 0CO_PC_ACT_05.
    Do you know how I can do this in a easy way?
    Help is appreciated.
    thanks in advance.
    best regards

    Hi Joao,
    This extractor0CO_PC_ACT_05 takes the data from table MBEW. ( data for the current period, previous period and last period of the previous year )
    If material ledger is active, then it takes the information from table ckmlhd for those materials.
    It does not look like fetching from MBEWH.
    Please validate my above comments with sample extraction for a material and plant.
    If that is the case, I would suggest you have to create a custom extractor based on MBEWH to get the historic price data and with 0CO_PC_ACT_05 you can get the prices for the previous period as they get completed .
    0CO_PC_ACT_02 gets you the inventory value and not the price in the same way.
    You might have to think about 0CO_PC_ACT_06 and 0CO_PC_ACT_07, if you have project stock and sales order stock in your business scenario.
    Please let me know, how this goes.
    Thanks,
    Krishnan.

  • How to load the value in target column?

    Hi
    Source: Oracle
    Target: Oracle
    ODI: 11g
    I have an interface which loads the data from source table to target. Some of the columns in the target tables are automatically mapped with source table. Some of the column remain un-mapped. Those who remain un-mapped, I want to load the values in that column by executing an query. So can anybody tell me where I should mention that query whose result would become the value of the specific column.
    -Thanks,
    Shrinivas

    You can put the query (or subquery) into the mapping field.
    You can also call a function in the mapping field which may be easier in your case.

  • How to load this value into the master data display attribute

    Hi ,
    Please share me the knowldege how to load this kind of data into master data display attribtes ..
    Raj + Ravi Ltd (PCG: 13592)
    While loading this data ,i got the error message stating that '+' should not be part of the attributes and () should not be part of the attribute ..but i need all the information as it is available in the example data .
    Do i need to maintain RSKC Settings else some other things required ..
    Please guide me ..
    Regards,
    Raj

    HI,
    Maintain these symbols in RSKC and try to reload the data....

  • How to load no value to BPC appl

    hI Friends,
    i'm loading actuals data from bw to bpc application. some of records in bw cube are not having data for one characterstic (eg: personal area ).
    i want to load exaclty to destination dim without converting/assigning  to any new/old member (i.e simply i want to load space only)
    Thanks,

    Hi Naresh,
    BPC doesnt allow empty values for any of the dimensions in a record. So, you cannot have null value. You need to post the records to some dummy member or based on your requirement.
    Hope this helps.

  • How to load the values in excel sheet directly into the table of smart form

    could u help me out of this

    Hi krishna,
    insert this code in u r smartform print program
    parameter p_file type rlgrap-filename.
    at selection-screen on value-request for p_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = 'P_FILE'
    IMPORTING
    FILE_NAME = p_file
    start-of-selection.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER = 'X'
    i_tab_raw_data = it_type
    i_filename = p_file
    tables
    i_tab_converted_data = itab[]
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>U can also use ALSM_EXCEL_TO_INTERNAL_TABLE or KCD_EXCEL_OLE_TO_INT_CONVERT</b>
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = wf_filename
    i_begin_col = v_start_col
    i_begin_row = v_start_row
    i_end_col = v_end_col
    i_end_row = v_end_row
    TABLES
    intern = int_excel
    EXCEPTIONS
    inconsistent_parameters = 1
    upload_ole = 2
    OTHERS = 3.
    CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                = p_file
          i_begin_col             = p_scol
          i_begin_row             = p_srow
          i_end_col               = p_ecol
          i_end_row               = p_erow
        TABLES
          intern                  = LT_INTERN
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.

  • SQL Loader- Default value is not inserted in table by direct method

    Hi All,
    I am trying to load data from a file to a table by SQL Loader. There is a particular date column which I am not loading from the File but have used a Default constraint to put SYSDATE in it. When I am using direct method load then it is not inserting nothin in this column but in conventional method it is inserting SYSDATE. But I want to do the load by direct method. Can anybody provide me a solution as how to load default value in direct method?
    Thanks & regards.
    Sudipta

    For this special case, you can specify:
    column_name SYSDATE
    in your SQL*Loader control file.

  • How to load date with time zone using sql loader???

    Hi All,
    How to load following value in the table using SQL loader.
    [11/Jan/2006:15:20:14 -0800]
    What should be the datatype of the column in the table. I have tried with "timestamp with local time zone", but unable to load the record using sql loader. What should be the format string in the loader control file to load this type of record.
    Any help in this regard is highly appreciated.
    Sameer

    Try something like this in your control file:
    mycol char "TO_TIMESTAMP_TZ(mycol, 'DD/MON/YYYY:HH24:MI:SS TZH:TZM')"
    [pre]
    Message was edited by:
            Jens Petersen                                                                                                                                                                                                                                                                                                                                                                       

  • How to display Base values (AFS Grid) in the Report

    Hi Friends,
    We ar using AFS, in that we have Grid value like 0003A34
    (8 chars: first 4 chars colour (0003), A represents Cup, 34 represents size of the Material), in that we can able to store the Base values like for International or US,
    and for size 34 equivalent to 70 like wise.
    In our reports we are using ALV grids, and showing the existing grid value like 0003A34, but we need to show Base value list like INTL or US etc, based on the region / area, the report should show the equivalent grid value like 0003A70 etc.
    Please help me how to do this.
    Thanks
    Shankar

    Dear Shankar;
    I think you will be able to achieve what you try to do using grid conversion in AFS. Base Grid values can be converted to other values based on the customer, vendor or material depending on your requirement. This need to be configured in IMG and then the ID must be assigned in the Vendor or the Material Master as per the requirement.
    This is somewhat complex config. Please contact me if you need any more clarifications ([email protected])
    Azwath Mohammad
    http://www.sapafs.net

  • How to load init for non cumulative values?

    Hi folks,
    anyone here, who can tell me how to load initial amounts from DSO to non cumulative values in InfoCubes?
    I found only poor documentation about this.
    Thanks!

    hi Timo
    you load initial of load as you do in the normal case only thing you have to keep in mind that before loading opening balance you have to UNCLICK  NO MARKER UPDATE from the infocube and compress the request ASAP as it will greatly effect your query performance.
    sanjeev

  • How to get column value from DB grid

    Hi!
    I wander how to get col value from GridControl?
    My app consists of one rowsetinfo with two
    columns CODE and DESCRIPTION and a jbutton
    titled SELECT. When user clicks SELECT button
    the app should show the value of the CODE col
    of the selected row in GridControl.
    I wander how to make this action ?
    XxpsTransTimesMasterIter.setAttributeInfo( new AttributeInfo[] {
    CODEXxpsTransTimesMasterIter,
    DESCRIPTIONXxpsTransTimesMasterIter} );
    XxpsTransTimesMasterIter.setName("XxpsTransTimes");
    XxpsTransTimesMasterIter.setQueryInfo(new QueryInfo(
    "XxpsTransTimesMasterIterViewUsage",
    "lov.XxpsTransTimes",
    "CODE, DESCRIPTION",
    "XXPS_TRANS_TIMES",
    null,
    null
    ));

    Hi,
    You could attach an ActionListener on the JButton, and try the following code :
    NavigationManager fm = NavigationManager.getNavigationManager();
    DataItem dataItem = fm.getFocusedControl().getDataItem();
    ImmediateAccess col_code = null;
    String code = null;
    if (dataItem != null && dataItem instanceof RowsetAccess) {
    RowsetAccess rowset = (RowsetAccess)dataItem;
    try {
    col_code = (ImmediateAccess) rowset.getColumnItem("CODE");
    code = col_code.getValueAsString();
    } catch (DuplicateColumnException de) {
    return;
    } catch (ColumnNotFoundException ce) {
    return;
    } catch (SQLException se) {
    return;
    JTextField tf = new JtextField();
    tf.setText(code);
    I haven't tested this code.
    I am curious to know, the Object type of the dataItem.If it doesnot happen to be RowsetAccess ..try.. ScrollableRowsetAccess OR ImmediateAccess.
    Your code would change accordingly, depending on the instance.Refer to the product documentation for this.
    Do let me know, if this works.
    TIA
    Sandeep

  • How to get column value in grid View

    Hello My first Language is German so bear with my English
    FIRST vIEW THE SCREEN SHOT PLEASE
    I am new to asp.net  i am making small application to generate reports in which user give criteria just liek we do in sql server  i have two grid view in accordion section then there is button  so Both GridView has headers that  Name
    , Output and Filter
    Name shows the Column of database fields, output column has check box if user check box it will only display those columns and filter is text box in which we filter our results
    basically i am just trying to do this like sql server in which user check columns to display and also provide filter criteria and then sql query modified according to the grid values.
    i have attached the screen shot of grid view kindly view it please You will have idea what i am tyring to say 
    now i want some help in filter criteria 
    suppose user check ref Code, School,Program, Name in the grid view and press show button
    it generates query
    select RefCode,School,Program,Name from Applicant.
    now i want to apply where clause if user write something in filter text box which i can not do kindly help me out and view the screen shot my desire outcome is if user check column and also write some value in RefCode filter textbox let suppose '0565-01'
    and in School Text user write SBE
    it should generate  sql
    select RefCode,School,Program,Name from Applicant where (RefCode='0565-01')and (School='SBE');
    my code for show button which generate simple select statement without where clause is below.
    protected void Button2_Click(object sender, EventArgs e)
    String output = "";
    String filter = "";
    foreach (GridViewRow row in gvExperience.Rows)
    CheckBox cb = (CheckBox)row.FindControl("CheckBox1");
    if (cb.Checked == true)
    output += row.Cells[0].Text.ToString() + ','; // get the Name of columns and concate in output variable }
    output = output.Remove(output.LastIndexOf(","), 1)
    string sql = "select " + output + " from Applicant"; // display the query
    bindoutput(sql); // pass this query and bind the new gridview which contain generated sql
    Azeem

    Hi Azeem,
    >>I am new to asp.net  
    Please ask on this forum instead:
    http://forums.asp.net/24.aspx/1?Web+Forms+Data+Controls
    ASP.NET issue is not related to WinForm forum.
    Regards,
    Barry Wang
    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 data on my page load ???

    Hi friends,
    I have mySQL database and one database for all Districts in that table Named district_master;
    Now i want to load all the district in one combo box initially.
    i have 3 combo
    1) District 2) Talukas 3) Villages
    Each are co-related
    Now i want to load District Data initially loaded
    default value = SELECT DISTRICT
    and when user select anoher from them OnChange event fires.
    So how to do intially loading of data to that jsp page ???
    I use like some one
    Java code :
    dataase connnection code +
    public Vector  getDist()
              Vector distlist = new Vector();
             query=SELECT districtName from district_master;
             rs = stmt.executeQuery(query);
             while(rs.next())
                String dist = rs.getString(''DistrictName'');
                distlist.add(dist);
          return distlist;
    }==========================
    JSP code
       <%@page import = ''app.myClass'' %>
    <% 
           myClass obj = new myClass();
         if( selectedDistrict.equals(''Surendranagar''))
        {            TalukaVector =  obj.getDist();  }
    %>

    Hi ,
    I think one approach could be that you upload the XML file in BLOB column of a table ,it may be a custom table using the OAMessageFileUploadBean to upload the xml file ,then you have to select the same file from database and need to create a method inside the controller to read the contents of xml.
    the below links can be usefull in terms to guide how to read xml in java
    http://www.developerfusion.com/code/2064/a-simple-way-to-read-an-xml-file-in-java/
    http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
    Thanks
    Pratap

Maybe you are looking for

  • How to set a parameter to sysdate() - 1 in the scheduler?

    Hi, I have a report with two parameters. One is the date and in the parameter's definition I have set it to {$SYSDATE()-1$} which works perfectly. However, when I try to schedule the report, it does not accept the default above. How can I schedule a

  • Deleting templates from Pages.

    I want to delete self created templates from Pages. I go to Application Support/iWorks'09 but all that is there are 'content' and 'frameworks' folders.   I am running on Lion 10.7.2.  Please can someone assist me.  Thanks

  • Error in JMS since SP5

    We experience the problem after upgrading from WLS81 SP4 to SP5.           OS is Red Hat LINUX 3 upgrade 3           DB is Oracle 10.2           Server is not clustered.           Problem in WLS distribution or possibly wrong config settings?        

  • Ipad mini burn mark

    II've had my ipad mini for just under a year it still has warranty for about 3 weeks. just recently i was on the internet and this logo just appeared burnt on the screen. When I went on the home it still stayed on. I don't know If I should go to the

  • Credit Limit related Issue

    The problem i am facing is that any amount received from the customer as security deposit or down payment  is treated in SAP as specialGL transaction and it is not captured by the system for the purpose of Credit Limit Check . Since there is no credi