Is it possible to create all views in MM01 through ALE(MATMAS) ?

Hi,
I want to create all views(One or two may not require) in Inbound MATMAS through ALE. Is it possible ?
Currently its creating only Basic data1 & 2,General Plant Data/Storage1 &2 ,plant stock.
I didn't set any filter for any segments.
Please don't post ALE or EDI document. I already have enough documents.
Thanks,
Narayan

I solved by myself. Set PSTAT to whatever view you want.
Thanks,
Narayan

Similar Messages

  • Is it possible to create all views in Material master through ALE(MATMAS) ?

    Hi,
    I want to create all views(One or two may not require) in Inbound MATMAS through ALE. Is it possible ?
    Currently its creating only Basic data1 & 2,General Plant Data/Storage1 &2 ,plant stock.
    I didn't set any filter for any segments.
    Please don't post ALE or EDI document. I already have enough documents.
    Thanks,
    Narayan

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

  • Is it possible to create relational view on Analytic Workspace in Oracle 9i Release1

    Hi All,
    We are in the initial stages of Oracle 9i OLAP prototype. Since the current version of BIBeans 2.5 does not work with Release 2 of Oracle 9i OLAP, we are planning to use Oracle 9i OLAP Release 1. So can you please answer the following questions.
    1. Is it possible to create relational view on Analytic Workspace(like in Release 2) and populate the OLAP catalog, if so can you give me guidance to get the appropriate user guide. The OLAP DML guide in Release 1 talks about creating OLAP catalog metadata for Analytic Workspace using a metadata locator object.
    2, Is it advisable to use Oralce 9i OLAP Release 1? Does the Analytic Workspace and the corresponding BIBeans work in Release 1?
    Thank you,
    Senthil

    Analytic Workspaces (Express/multidimensional data objects and procedures written in
    the OLAP DML) are new to Oracle9i OLAP Release 2, you cannot find them in Release 1.
    BI Beans will soon (within a week) introduce a version on OTN that will work with Oracle9i OLAP Release 2.

  • Is it possible to create a view where table in the From clause changes name

    is it possible to create a view from a from a table like this
    create view my_view as select id, col1, col2, result from <<my_latest_cacahe_table>>;
    the table in the from clause changes the name .
    I have another table which indicates the the latest name of my cache tables. Always there are two records there. The latest one and previous one.
    select * from cache_table_def
    table_name cache_table_name refresh_date
    my_table cache_table245 1/23/2012
    my_table cache_table235 1/22/2012
    create table cache_table_def (table_name varchar2(25), cache_table_name varchar2(25), refresh_date date);
    insert into cache_table_def values( 'my_table','cache_table245','23-jan-2012');
    insert into cache_table_def values ( 'my_table','cache_table546','22-jan-2012');
    create table cache_table245 (id number, col1 varchar2(50), col2 varchar2(20), result number);
    insert into cache_table245 values(1, 'test123', 'test345',12.12);
    insert into cache_table245 values (2, 'test223', 'test245',112.12);
    create table cache_table235 (id number, col1 varchar2(50), col2 varchar2(20), result number);
    insert into cache_table235 values (1, 'test123', 'test345',92.12);
    insert into cache_table235 values (2, 'test223', 'test245',222.12);
    what I need to do is find the latest cache_table name for my_table and use that in my view defintion
    When user select from the the view it always reurns the data from the latest cache_table
    is it possible to do something like this in oracle 11g?
    I have no control on the cache tables names. that is why I need to use the latest name from the table.
    Any ideas really appreciated.

    I've worked up an example that does what you ask. It uses the SCOTT schema EMP table. Make two copies of the EMP table, EMP1 and EMP2. I deleted dept 20 from emp1 and deleted dept 30 from emp2 so I could see that the result set really came from a different table.
    -- create a context to hold an environment variable - this will be the table name we want the view to query from
    create or replace context VIEW_CTX using SET_VIEW_FLAG;
    -- create the procedure specified for the context
    - we will pass in the name of the table to query from
    create or replace procedure SET_VIEW_FLAG ( p_table_name in varchar2 default 'EMP')
      as
      begin
          dbms_session.set_context( 'VIEW_CTX', 'TABLE_NAME', upper(p_table_name));
      end;
    -- these are the three queries - one for each table - none of them will return data until you set the context variable.
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    -- this is how you set the context variable depending on the table you want the view to query
    exec set_view_flag( p_table_name => 'EMP' );
    exec set_view_flag( p_table_name => 'EMP1' );
    exec set_view_flag( p_table_name => 'EMP2');
    -- this will show you the current value of the context variable
    SELECT sys_context( 'VIEW_CTX', 'TABLE_NAME' ) FROM DUAL
    -- this is the view definition - it does a UNION ALL of the three queries but only one will actually return data
    CREATE VIEW THREE_TABLE_EMP_VIEW AS
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    -- first time - no data since context variable hasn't been set yet
    SELECT * FROM THREE_TABLE_EMP_VIEW
    -- get data from the EMP table
    exec set_view_flag( p_table_name => 'EMP' );
    SELECT * FROM THREE_TABLE_EMP_VIEW
    -- get data from the EMP2 table
    exec set_view_flag( p_table_name => 'EMP2');
    SELECT * FROM THREE_TABLE_EMP_VIEW
    For your use case you just have to call the context procedure whenever you want to switch tables. You can union all as many queries as you want and can even put WHERE clause conditions based on other filtering criteria if you want. I have used this approach with report views so that one view can be used to roll up report data different ways or for different regions, report periods (weekly, quarterly, etc). I usually use this in a stored procedure that returns a REF CURSOR to the client. The client requests a weekly report and provides a date, the procedure calculates the START/END date based on the one date provided and sets context variables that the view uses in the WHERE clause for filtering.
    For reporting it works great!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is it possible to create materialized view log file for force refresh

    Is it possible to create materialized view log file for force refresh with join condition.
    Say for example:
    CREATE MATERIALIZED VIEW VU1
    REFRESH FORCE
    ON DEMAND
    AS
    SELECT e.employee_id, d.department_id from emp e and departments d
    where e.department_id = d.department_id;
    how can we create log file using 2 tables?
    Also am copying M.View result to new table. Is it possible to have the same values into the new table once the m.view get refreshed?

    You cannot create a record as a materialized view within the Application Designer.
    But there is workaround.
    Create the record as a table within the Application Designer. Don't build it.
    Inside your database, create the materialized with same name and columns as the record created previously.
    After that, you'll be able to work on that record as for all other within the Peoplesoft tools.
    But keep in mind do never build that object, that'll drop your materialized view and create a table instead.
    Same problem exists for partitioned tables, for function based-indexes and some other objects database vendor dependant. Same workaround is used.
    Nicolas.

  • Help for creating classification view in mm01

    hi guys can anybody help on creating classification views in mm01 using bdc recording i need a step by step procedure . since when i tryed in mm01 there are filds like class name i dont know where all these data's to find one more thing is i was asked to create classification view using bdc recording ...please help me with some programs if u have

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • Problem While Creating Classification View in mm01

    Hi Friends,
    I have useing 'BAPI_OBJCL_CREATE' for creating Classfication View
    I am passing   mat no,  class , class type ..
    How can i find  characteristic values  for  particular Class..
    Means How can i find values which r passed through
    ALLOCVALUESNUM , ALLOCVALUESCHAR, ALLOCVALUESCURR  tables
    I have code like this
    {  CALL FUNCTION 'BAPI_OBJCL_CREATE'
              EXPORTING
              OBJECTKEYNEW            = P_MATNR
              OBJECTTABLENEW          = 'MARA'
              CLASSNUMNEW             =  IT_MATMAS-CLASS
              CLASSTYPENEW            =  IT_MATMAS-KLART
            STATUS                  = '1'
            KEYDATE                 = SY-DATUM
            TABLES
            ALLOCVALUESNUM          =
            ALLOCVALUESCHAR         =
            ALLOCVALUESCURR         =
              RETURN                  = IT_RETURN2.

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • Creating Classification view for material through Standard Function

    hi,
    I have created the material code through BAPI_MATERIAL_SAVEDATA. For quality inspection i have used BAPI_MATINSPCTRL_SAVEREPLICA. i have to create classification view for that material code. Can anyone suggest me which standard function helps me to create the classification view.
    Thanks in advance.
    Senjey

    hi,
    i have tried that function module. I have mentioned the code below.
    i_object = '000000151860630000'.
    i_alloc_num-CHARACT = 'THICKNESS'.
    i_alloc_num-VALUE_FROM = '5.70'.
    append i_alloc_num.
    i_alloc_char-charact = 'SHAPES'.
    i_alloc_char-VALUE_CHAR = 'PLATE'.
    append i_alloc_char.
    clear  i_alloc_char.
    i_alloc_char-charact = 'CATEGORY'.
    i_alloc_char-VALUE_CHAR = 'CS'.
    append i_alloc_char.
    clear  i_alloc_char.
    CALL FUNCTION 'BAPI_OBJCL_CREATE'
      EXPORTING
        OBJECTKEYNEW            = i_object
        OBJECTTABLENEW          = 'MARA'
        CLASSNUMNEW             = 'RAWMATERIAL'
        CLASSTYPENEW            = '001'
      STATUS                  = '1'
      STANDARDCLASS           =
      CHANGENUMBER            =
      KEYDATE                 = SY-DATUM
      NO_DEFAULT_VALUES       = ' '
    IMPORTING
      CLASSIF_STATUS          =
      TABLES
        ALLOCVALUESNUM          = i_alloc_num
        ALLOCVALUESCHAR         = i_alloc_char
        RETURN                  = i_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    But i am getting the error 'Assignment exists and is valid '.
    Please help.
    Regards,
    Sengathir.J

  • Is it possible to create 3D views in Reader XI?

    Reader XI has the 3D camera icon, but it is greyed out. I have looked through all the preference settings but can't find anything to enable it. I have also selected "Enable for commenting and Analysis in Adobe Reader" in Acrobat 9 Pro.
    Thanks in advance for your help.

    Adobe Reader can create a new 3D view only as part of the process of defining a new 3D comment (it's how they're stored). Access to those 'comment views' is through the Comments panel or the model tree sidebar. There's no "manage views" dialog as there is in Acrobat. If a 3D annotation already has some views defined by Acrobat, then the dropdown menu in Reader will be enabled. If not, it won't be.
    The 'camera' icon on the 3D toolbar is nothing to do with views, it's used to directly-access the camera's position controllers so someone can place the camera and target in a precise orientation. It's an obscure tool but has some uses - for example an architect may want to predefine three views of a building at 120-degree separation.

  • Is it possible to create a spatial view with paramete?

    Is it possible to create a view with parameter like following:
    SELECT GEOM FROM INTERSTATES WHERE MDSYS.SDO_FILTER(GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    so that I can specify ???? at run time.
    If not, is there a way to create a view that perform variable window query?

    You may want to look at application contexts, that way you may have code something like this:
    create or replace context gis_ctx using gis_params ;
    create or replace package gis_params
    as
    procedure set_bounds( minx in number, miny in number, maxx in number,maxy in number );
    end;
    create or replace package body gis_params
    as
    procedure set_bounds( minx in number, miny in number, maxx in number,maxy in number )
    is
    begin
    dbms_session.set_context( 'gis_ctx', 'minx', minx);
    dbms_session.set_context( 'gis_ctx', 'miny', miny);
    dbms_session.set_context( 'gis_ctx', 'maxx', maxx);
    dbms_session.set_context( 'gis_ctx', 'maxy', maxy);
    end ;
    end ;
    To use this method you´ll have to execute
    gis_params.set_bounds(-3,40,-2.9,40.1) ;
    before doing the select.
    SELECT GEOM
    FROM INTERSTATES
    WHERE MDSYS.SDO_FILTER(GEOM,
    MDSYS.SDO_GEOMETRY(2003,
    8307,
    NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),
    MDSYS.SDO_ORDINATE_ARRAY(sys_context ('gis_ctx', 'minx'),
    sys_context ('gis_ctx', 'miny'),
    sys_context ('gis_ctx', 'maxx'),
    sys_context ('gis_ctx', 'maxy'))),
    'querytype=WINDOW') = 'TRUE' ;
    I f you are in a web environment, read about GLOBAL CONTEXT ACCESSED GLOBALLY .
    Regards, Nico.

  • Create a view - All Service Requests that contain a Completed Review Activity

    In the Service Manager 2012 console, is it possible to create a view that displays Service Requests, with the view criteria being something like as follows:
    Service Request status is In Progress
    Service Request contains a Review Activity where the Review Activity status is In Progress
    My intent is to provide a way for Service Desk Operators to be able to identify requests that are ready for implementation.
    From what I'm seeing in the console, this sort of view is not possible as it appears that any view criteria must be derived from the view's target class.

    Nothing like a bit of thread necromancy in the morning.
    It turns out the solution to this question was quite straight forward (once you know where to look...)
    The trick is creating a view based on one of the Service Request combination classes rather than the basic class itself, and then rephrasing my requirement after realising that what I was really after was a view containing Requests that have an In Progress
    Manual Activity.
    So...open the console, go to Work Items, right click on
    Service Request Fulfillment and select Create View
    On the General tab, give your view a name and select a Management in which it will be stored.
    On the Criteria tab, click Browse to select a specific object class.  Change the
    Frequently used basic classes filter to Combination classes then enter 'Service Request' in the filter field.
    Pick the Service Request and Activity class.
    Now when configuring the criteria, you'll notice a little arrow next to the
    Service Request class. Click on this arrow to expand the node, and select the
    Contains Activity class.
    Under the Available properties box, enter 'Status' in the search field. In my environment, I got two Status fields. Each corresponds to a specific Activity class. Select both of them and click
    Add.
    One of the Criteria will look like 'Contains Activity[Activity]Status'. Keep this one and delete the other from the Criteria box. Change the value to 'Completed'
    While we're at it, select the Service Request class and add a criteria for the Service Request Status = 'In Progress'.
    Click on the Display tab and select whatever fields you want to display in this view.  Click
    OK to save this view.
    Now go to the Administration workspace and select the
    Management Packs node. Export your management pack that contains your view and open the management pack in a text file viewer. Notepad++ works for me...
    First search for the string that you used to name your view. It will be found towards the bottom of the MP in a DisplayString element in the LanguagePacks XML element. This element will have an ElementID.
    Select the ElementID and search the entire file for this string. You want the instance that resides within a Presentation | Views | View element. From this point, scroll down until you get to a Criteria element. Within the Criteria element you will find
    the two Expressions that were entered via the GUI. One of the Expressions corresponds to the Service Request.Status=In Progress criteria, the other corresponds to the Activity.Status=In Progress criteria. We will be changing the Activity criteria so that it
    explicitly refers to a Manual Activity.
    Identify the Expression that has the Property containing the string 'System.WorkItemContainsActivity'. We will be changing the TypeConstraint attribute of this criteria.
    In this line, Replace the string 'System.WorkItem.Activity' with 'System.WorkItem.Activity.ManualActivity'
    Save this file and import the management pack into SCSM

  • Creating a view with order by condition

    Hi all.
    I'm on db 11g.
    I have a doubt: is it possible to create a view using both group by and order by conditions?
    It is like this:
    create or replace view some_view
    as select col1,col2,col3, sum(col4),sum(col5)
    from table_name
    where.....
    group by col1, col2, col3
    order by col1, col2;The problem is that if I put order by conditions it gives me error; if I write those statements without order by condition everything is ok.
    Someone can help me?
    Thanks for collaboration,
    Fabrizio

    >
    Restrictions on the Defining Query of a View The view query is subject to the following restrictions:
    * The subquery cannot select the CURRVAL or NEXTVAL pseudocolumns.
    * If the subquery selects the ROWID, ROWNUM, or LEVEL pseudocolumns, then those columns must have aliases in the view subquery.
    * If the subquery uses an asterisk (*) to select all columns of a table, and you later add new columns to the table, then the view will not contain those columns until you re-create the view by issuing a CREATE OR REPLACE VIEW statement.
    * For object views, the number of elements in the subquery select list must be the same as the number of top-level attributes for the object type. The datatype of each of the selecting elements must be the same as the corresponding top-level attribute.
    * You cannot specify the SAMPLE clause.
    * You cannot specify the ORDER BY clause in the subquery if you also specify the subquery_restriction_clause.
    >
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8004.htm#SQLRF01504

  • Creating ALV view system-level assignment

    Hi!
    When I press "Save as.." in the settings window of an ALV, I can only save the view with assignment "User".
    But I want to create system view available to all users. Like views with "/view_name" in usual ALV.
    Is it possible to create such view and make it default to all users?

    Just run the application in Administrative Mode (Assuming you have the correct authorizations to do so).  From SE80 you can do this if you double click on the Web Dynpro Application to bring up the Application Edit.  Then choose Web Dynpro Application->Test->Execute in Administrative Mode From the top level menu bar. You can also use the URL parameter sap-config-mode=X.
    When you save the variant you will be saving a global one and will have the option to place your variant in a transport.

  • How to create a view on SQLServer 2008 as an OPENQuery select to a MYSQL linked server

    I am trying to create a view on SQLServer through Management Studio based on data on a MYSql server.
    I have created the Linked server and I am able to query all data.
    Using the syntax select * from OPENQUERY (linkedServer, 'select * from MYSQL-table') - This works fine
    What I am trying to do now is issue the following statement
    create view ViewnameToBeCreatedOnSQLServer
       as select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    When I run this from SSMS I get the following error
    OLE DB provider "MSDASQL" for linked server "TESTTSC2" returned message "[MySQL][ODBC 5.1 Driver][mysqld-5.0.95-log]Table 'FP.M3' doesn't exist".
    Msg 7350, Level 16, State 2, Procedure FPMaster3, Line 2
    Cannot get the column information from OLE DB provider "MSDASQL" for linked server "TESTTSC2".
    The account I am using has create view privs and alter schema privs on the SQlServer side. I am assuming there are not isues on the MYSQL server side since I am able to successfully run the select statement using OPENQUERY.  There must be one small
    piece I am missing. has anyone experienced the same problem and were you able to find a solution?

    All the configurations seem to be in place correctly since I can SELECT any data with no issues. The statement   
    select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    works fine and I can change the table I am selecting from which all return data. Therefore, the objects all exists in MYSQL.
    The DSN is set up, the linked Server is good, the provider is set up, the DB account has all privs.
    It only fails when I try to create the view on SQLServer as a select from a remote table accessed via the linked MYSQL server. I connect to SQLServer with DB account PS which has full privs including CREATE VIEW and ALTER SCHEMA. The MYSQL pass-through account
    has read access to all objects in the MYSQL schema. I am trying to figure out if I might be missing some little part of this puzzle when trying to create a new object (CRESTE VIEW) vs. just reading the data (SELECT).
    The kicker in all this is that I did create a view on SQLServer in this manner about a year ago and I am able to see the view definition and that view still works! So, this is quite interesting that I am not able to create a new object.
    If there any specific information I could provide which might help, I am happy to do that. Just did not want to provide the details on all of the puzzle pieces if it can be avoided but if it comes to that then that's OK also.
    Thanks very much! I appreciate your help.

  • Can I to create a View using WITH Statment ?

    Hi
    Is possible to create a View for to create a View ?
    tks

    try here...
    http://www.psoug.org/reference/views.html
    TKS

Maybe you are looking for

  • How to handle unknown root node type when parsing?

    Hello all, hoping someone knows how to accomplish this... I'm trying to use XMLBeans to parse RIXML 2.0 documents. This schema allows for multiple root node types, so I don't know when I'm trying to parse a file if the root node is a Research node or

  • List of configuration files copied to non-global zone

    I understand that when a non-global zone is installed, the zone installation process uses "pristine" copies of quite a few configurable files (/etc/profile, /etc/syslog.conf, etc..) instead of the files which are configured in the global zone. Does a

  • Blackberry 8830 World Edition -- won't play internet video

    I cannot get my Blackberry 8830 World Edition to play internet video, such as YouTube videos, etc. When I click to play them on my phone, I get this message:  "a problem occurred when trying to render page" Can anyone help?

  • Iphone hard drive to computer (click n drag) videos/photos

    I transferred videos/photos from iphone 5 hard drive into external hard drive using the folders that pop up when I plug my iphone into my PC (there was 2 folders in iphone) and it worked fine. I wanted to transfer some of those videos back into my ip

  • Launch Outlook mail client from KM resource command menu

    Hi, I'd like to launch the Outlook mail client by clicking on the command (eg. send mail) in the action menu related to a KM resource (in the KM explorer). I've been able to launch the Outlook mail client as an option in the Collaboration Launch Path