Maintainence View-Data Selection

Hi,
    I need to update a table in Oracle with the SAP data.
    The SAP data is in a maintainence View.When I try to select the data into an internal table ,I am getting an error message that tells that the corresponding View is not defined in the DB as a table ,projection view or database view.
Can we select data from a Maintainence View??
Thanks.

Hi,
check this
MAINTENANCE VIEWS:
Maintenance View   ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Data that is distributed on more than one table often forms a logical unit, called an application object. You should be able to display, change and create the data of such an application object together. Users usually are not interested in the technical implementation of the application object, such as the distribution of the data on several tables.
You can maintain complex application objects in a simple way using a maintenance view. The data is automatically distributed on the underlying database tables.
All the tables used in a maintenance view must be linked with a foreign key. This means that the join conditions are always derived from the foreign key in the maintenance view. You cannot enter the join conditions directly as in a database view.
A maintenance interface with which the data of the view can be displayed, changed and created must be generated from the definition of a maintenance view in the ABAP Dictionary.
When the maintenance interface is created, function modules that distribute the data maintained with the view on the underlying tables are automatically generated.
The maintenance interface is generated with the Transaction Generate Table View (Transaction SE54) or from the view maintenance screen with Utilities -> Tab.maint.generator.
With thanks & regards,
Sravani yendru.

Similar Messages

  • How to retreive data from a maintainence view?

    Hi all,
    I have used select query to retreive data from a maintainence view. But it gave me a syntactical error that XYZ is not in abap dictionary , it's a database / projection view?
    So can't we get data from a view using select query?
    Please share if u have answers.
    Thanks & regards,
    Chandru

    Hi,
    Maintenance view will be created for database tables only.
    Just display the maintainence from SE11 and click Tables tab in the screen
    Here you can find the list of tables used to created for Maintainence view.
    YOu can use these tables to write SELECT.
    If you give us the maintainence table, we will help you.
    Thanks,
    Ramakrishna

  • Date fields in the Maintainence View.

    Hello friends,
                   I created a maintanence view which of 2 steps. This view contains a DATE field of data element type 'DATS". Now the problem is -"
    1. In the first screen  of the viewI am not able to see only the DATE field(Over view scr).
    2. But I able to see the same field in the 2nd screen(Maintanence Screen).
    Not only to my View I maintained ' Table Maintanence Generator" to some more tables.There also I am not able to see the date field in the first screen, unless it is a key field.
    Thanks in advance.

    Hi
    Step 1: Create & Maintain Table (SE11)
    Screen 101: ABAP Dictionary: Initial Screen
    Screen 102: Maintain Table -> Delivery and Maintenance
    Screen 103: Maintain Table -> Fields
    [] SE11: Enter Table Name -> Create
    Enter Table Description (Mandatory Field)
    Select Delivery Class
    Set maintenance level
    Enter Fields, Assign Data Elements
    Save Entries
    Check Inconsistencies
    Activate Table
    Go To Technical Settings (SCREEN 104)
    Delivery Class: The delivery class controls the transport of table data when
    installing or upgrading, in a client copy and when transporting between customer
    systems. The delivery class is also used in the extended table
    maintenance.
    There are the following delivery classes:
    A: Application table (master and transaction data).
    C: Customer table, data is maintained by the customer only.
    L: Table for storing temporary data.
    G: Customer table. The customer namespace must be defined in table TRESC. (Use
    Report RDDKOR54 here).
    E: System table with its own namespaces for customer entries.
    S: System table, data changes have the same status as program changes.
    W: System table (e.g. table of the development environment) whose
    data is transported with its own transport objects (e.g. R3TR PROG, R3TR TABL,
    etc.).
    Data Browser/Table View Maint.: This indicator specifies
    whether it is possible to display/maintain a table or view using the maintenance
    tools Data Browser (transaction SE16) and table view maintenance (transactions
    SM30 and SM31).
    MANDT field is mandatory for Client dependant tables
    Technical Settings: The technical settings control, for example, table buffering.
    Indexes: To speed up data selection, you can create secondary indexes for the table
    Append Structure: Append structures are used for enhancements that are not included in the standard.
    Screen 104: Maintain Technical Settings
    Select Data Class (Mandatory) [APPL0]
    Select Size Category (Table size - No. of records - Mandatory) [1 to 6]
    Specify Buffering [allowed / not allowed]
    Save
    Check Inconsistencies
    Activate & Go Back to “Maintain Table Screen”
    Data Class: The data class defines the physical area of the database (for ORACLE
    the TABLESPACE) in which your table is logically stored. If you choose a data
    class correctly, your table will automatically be assigned to the correct area
    when it is created on the database.
    The most important data classes
    are (other than the system data):
    APPL0 Master data
    APPL1 Transaction data
    APPL2 Organizational and customizing data
    Size category: The size category determines the probable space requirement for a table in the database.
    Buffering: The buffering status specifies whether or not a table may be buffered.
    Screen 105: Maintain Table
    Screen 106: Maintain Enhancement Category (ECC 6.0 onwards)
    -> Extras -> Enhancement Category
    Select Enhancement Category
    Enhancement Category: Structures and tables that were defined by SAP in the ABAP
    Dictionary can be enhanced subsequently by customers using Customizing includes
    or append structures. The enhancements do not only refer to structures/ tables
    themselves, but also to dependent structures that adopt the enhancement as an
    include or referenced structure. Append structures that only take effect at the
    end of the original structure can also cause shifts - in the case of dependent
    structures - even within these structures.
    Screen 107: Maintain Table -> Table Maintenance Generator
    Screen 108: Generate Table Maintenance Dialog: Generation Environment
    -> Utilities -> Table Maintenance Generator OR [] SE54
    Specify Authorization Group [&NC&]
    Select Maintenance type [One Step/Two Step]
    Mention Screen Numbers [1/2]
    Save & Go Back
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

  • Popup window for data selection in maintenance view

    Hi,
    How to create popup window for data selection in maintenance view. For example when you go to view v_t510 in se16, there you will see a popup window to enter values. after you enter the values in that window, then data related to those values that you entered in the popup window will displayed.
    How can we do that for the custom maintenance view?
    Thanks in advance for your help guys.
    Regards,
    Srinivas.

    In your custom maintainace view, if you select the Data browser / Table view maintainace under the tab "Maint Status" as "Dispaly maintanence allowed with restriction" than system will give you popup to restrict by selection.
    Regards,
    Naimesh Patel

  • How to view data in tables by selecting the synonym from the database objec

    I could not figure out how to view data in tables by selecting the synonym from the database objects navigation tree. I had to first choose the synonym, view the details of the synonym to determine the table name, and then select the table from the database objects tree. Is this the only way available?

    This functionality currently does not exist. I don't see it on the 1.1 statement of direction either, so perhaps someone from Oracle can give some insight as to when this could be expected.
    Eric

  • Can we retrive the data from Maintainence view

    Hi Guys,
    Can we retrive the data from Maintainence view...
    Thanks,
    Gourisankar.

    Hi,
    Data can be retrived only from following type of views:
    Projection view
    Database View

  • Designing View to select Date with Time

    Hi,
    How can we design the view to select the date along with time?
    We know that we can provide drop downs for hours, minutes and seconds.
    Is there any alternative to display UI element to select the date and time. I am in 7.0 SP17
    Thanks

    Hi Tatayya Marni,
    For selecting the Date and Time u can try a workaround. First create a simple type of type date and bind it to an Input Field so that the date can be captured and for the for the time u can use the System Date and using the same SystemDate u can get the Time in Hours, Minutes and Seconds.
    Eg  :- store the SystemDate in a Date variable and to get the hour u can use Date.getHours(), getMinutes
        Date dt = new Date(System.currentTimeMillis());
        dt.getHours(),dt.getMinutes(),dt.getSeconds());
    Hope this works dor u.
    Regards,
    Poojith M V

  • Need a single point of view on date selections for Delta and Full load IP's

    Hi Experts,
    Every year we are facing issues on date selections for data extraction, for example the Delta or Full selections for particular IP is like 2005 to 2008 , in this situation, for the year 2009, this IP is picking 0 records as the selections are upto 2008 only.
    My requirement is, I need to check the selections of all the IP's in the system and want to change on need base if the selections are getting expired instead of going and checking manually to each and every IP as the system is having around 3000 IP's, which is a tedious job.
    Guys, please let us know if there exits a Table/Program or any other way to check it.
    Inputs appreciated.
    Regards
    Nandu

    Hi
    Persistent through module RSSM_SHIP_PSEUDO_DVERSION_WRI
    Primary table RSLDPIOSH
    RSLDPIO Links datasource to infopackages
    RSLDPIOT InfoPackage Text Description
    RSLDPRULE ABAP source code for InfoPackages
    RSLDPSEL Hardcoded selections in InfoPackages
    RSMONICDP Contains the request-id number by data target
    RSPAKPOS List of InfoPackage Groups / InfoPackages
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/20d704d45be7458582cdfcc5487090/frameset.htm
    Hope it helps

  • To use a maintainence view in programe.

    Unlike projection and database views, i am not able to use maintainence views for getting the data using the SELECT query .
    How can we get the associated data using the maintainence view.

    Hi,
    We can call the VIEW_MAINTENANCE_CALL function module inorder to use the maintenace view.
    To this pass the view names and U for Updattion and S for display.
    This maintainenance is used to update the tables and display them.
    pls check this link for it's usage -
    Plant , Storage Locations...
    Regards
    Lekha

  • Delete Table Maintainence View

    I need to delete a table maintainence view. How can I go about doing so, please be specific. Thanks.

    hi,
    If the few values are required to be deleted,and if the data base maintainence is allowed... then you can go to SE11 and can selected those field and delete it....
    Otherwise if the value sets are large in number it has to be done programatically, using ABAP....
    Hope it helps....
    Regards
    Priyanka.P

  • Can't view data from BI Anaytics

    Hi,
    I am new to BI suite. currently our repository has two different connection pool associated with two different schema. Since my ex-coworker built the first one and left. I don't want to mess up with his work. I built another connection pool with different schema. There is no problem with deployment and i am able to view data in physical layer. But when i login to BI analytics and i found i am not able to view data. The error is:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 1031, message: ORA-01031: insufficient privileges at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Sales"."Products"."Brand" s_1 FROM "Sample Sales" FETCH FIRST 65001 ROWS ONLY
    My DBA told me it might be ODBC driver problem since he told me he didn't even see the query from database monitor. When i check ODBC setup in BI server and found there is default odbc setup under System DSN.
    does anybody know what this problem is?
    Thanks

    Good day !
    I will to public my results with simple solving my problem,
    because it may be useful to somebody else.
    ---------------- Create materialized view ---------
    create materialized view easydw.CUSTOMER_PURCHASES_MV
    TABLESPACE "EASYDW_DEFAULT"
    BUILD IMMEDIATE
    USING INDEX
    REFRESH FORCE ON COMMIT
    AS
    select "CUSTOMER"."OCCUPATION" as "OCCUPATION",
    "PURCHASES"."CUSTOMER_ID" as "CUSTOMER_ID"
    from "PURCHASES" "PURCHASES", "CUSTOMER" "CUSTOMER"
    where "CUSTOMER"."CUSTOMER_ID"="PURCHASES"."CUSTOMER_ID";
    Now if one of tables updated, you must execute SQL-command
    "COMMIT". Before this you must deselect "AutoCommit" at
    SQL-window, if you use Application Express.
    Winni.

  • Not able to view data from more than one data package in PSA

    Hi Friends,
    Desparetly trying to view data in PSA. Problem :
    If i mark more than one datapackage this error raises:
    You must only select one data packet when entering data record numbers
    Message no. RSAODS127
    And there is no change to reset data record numbers.
    What is wrong ?
    Thanks in advance for help.
    Joe
    BW3.5, SP21
    Edited by: J.F.B. on Jul 2, 2009 11:40 AM

    Hi again,
    Seems I'm too stupid for this issue.......
    As I understand there are two ways to view PSA :
    1. PSA maintenance in RSA1
    2. In SE11/SE16 viewing the underlaying transparent table
    ad 1.
    When I try to filter erroneous records for more than one datapackage situation is as described above.
    ad 2.
    Trying to view the table works, but where is the chararcteristic/field marking a  record as erroneous
    in table /BIC/Bxxxxxxxx (table containing PSA-Data) ?
    Thanks
    Joe

  • How to view data in SNC after getting transferred from ERP

    Hi all
      I have transferred material ,vendor, customer ,scheduling agreement ,demand from  ERP to SNC system.
    Now I want to view this demand in SNC. What I have done is in SNC is  I opened supplier view.
    In supplier view, I opened SMI monitor. Now when I click on F4 help of product I am not able to view the material
    which I had transferred. Same is the case with location.
    I know that in SNC, in order to view data following assignment is required.
    Material  Location  Business Partner ( Org ) --- > BP ( Person )  User.
    Now I have assigned Material to location .
    Location to BP ( Org ).
    BP ( org )  to BP ( Person ).
    BP ( Person ) to user.
    But still I am not able to view the data in F4 help ( For SMI overview screen ).
    Next I learnt about Selection modes in SNC.I think I need to assign selection mode u201CPDNF_NEWu201D
    To application ID of SMI overview screen in order to view Product and location in F4 help.
    If I am correct than please let me know how should I proceed. Else please let me know
    What all configuration is required to view product and material data in F4 help and eventually the demand which I
    Had transferred from ERP.
    Best Regards
    Rahul

    Hi Vasu/ hi Nikhil,
      I have done what you mentioned but still could not see the data in SNC Web UI.
      Let me explain once again.
      Consider a case when Panasonic ( Supplier ) is managing inventory for Walmart ( Customer ).[ VMI scenario ]
      Now
      Step 1 : Walmart will create Material,Location,SA ,demand in his ERP.
      Step2 : Master data with demand will get transferred to from customers ERP system to SNC system.
      I can see Product and location by SNC -- > Master data -- > Product/Location.
    Till this point everything is fine.
    Next I have done following.
    Assign my user to Business Partner of type org ( Customer ).
    Location is assigned to Business partner.( Customer ) as material will be shiped to customer location.
    Location is assigned to model 000
    Material is assigned to Location and Planning version 000.
    Now logically assignement is as follows.
    User -- > BP --> Location --> Material.
    Now when I go to customer view ,in product and location,I should be able to see my product and Location.
    But I am not able to see.
    Could you help where I am going wrong.
    Regards
    Rahul

  • Is there any provision to view the selected record using SYS_REFCURSOR?

    hi friends ,
    I was using SQL Server . now i am shifting to Oracle . so we are changing the Stored Procedures in SQLServer to Oracle SP's. I have given the structure of procedure given below . If possible , i want to see the output of select statement in the TOAD editor . If any body knows please help me
    CREATE OR REPLACE PROCEDURE PS_AON
    P_STATUS OUT VARCHAR2,
    P_CUR OUT SYS_REFCURSOR
    AS
    BEGIN
    OPEN P_CUR FOR
              select colum1,column2,column3 from Table 1;
    EXCEPTION
                   WHEN OTHERS THEN
                   P_STATUS:=SQLERRM;
    END;
    This is one of the model of stored procedures i am using . And the editor i am using is TOAD 7.3.0 and oracle 9i. Is there any provision to view the selected records by running this procedure in TOAD editor
    thanks & regards

    (assuming you have relatively recent version of TOAD).
    Write a small block to call the procedure (or use Toad's 'execute procedure' option) as in the example below. Note the ':' in front of 'v_cur_out'. When you run the block, TOAD will prompt you for a value / datatype for 'v_cur_out'. Ignore the value, set the datatype to 'Cursor' and click OK. The resultset (if any) will be displayed in the Data Grid window below.
    DECLARE
       v_status VARCHAR2 (32767);
    BEGIN
       ps_aon (v_status, :v_cur_out);
       DBMS_OUTPUT.PUT_LINE ('v_status => ' || v_status);
    END;
    /

  • Error in Information Steward when viewing data on Views (Data Insight)

    Hello
    In SAP Information Steward -> Data Insight ->
    Project -> Views -> for example
    selecting "Customer Master Company Code KNB1" -> view data
    brings this error message:
    Data Services execution failed for CUSTOMER MASTER COMPANY CODE KNB1.
    Error :
    (14.2) 05-14-14 13:37:08 (R) (1536:4256) R3C-150605: |Data flow
    vviewdf_434_f39d42a2_e2ba_4ee3_add3_b4fa4ae25dad|Embedded Dataflow
    EDF_VIEW434|Reader EID_2_EABAPDF_VIEW434_0|Transform
    EID_2_EABAPDF_VIEW434_0__Driver The SAP job was canceled for host < >,
    job name <ZISCUSTOMERMASTERCOMPANYC 05/14/14 13:36:40>, job count
    <13364100>, job log from SAP < 14.05.2014 13:36:42 Job started
    14.05.2014 13:36:42 Step 001 started (program ZW09148001, variant
    &0000000000000, user ID REBERLE) 14.05.2014 13:36:44 Internal session
    terminated with a runtime error RAISE_EXCEPTION (see ST22) 14.05.2014
    13:36:44 Job cancelled >.(14.2) 05-14-14 13:37:08 (E) (1536:4256) R3C-
    150605: |Data flow
    vviewdf_434_f39d42a2_e2ba_4ee3_add3_b4fa4ae25dad|Embedded Dataflow
    EDF_VIEW434|Reader EID_2_EABAPDF_VIEW434_0|Transform
    EID_2_EABAPDF_VIEW434_0__Driver The SAP job was canceled for host
    <*****>, job name <ZISCUSTOMERMASTERCOMPANYC 05/14/14 13:36:40>, job
    count <13364100>, job log from SAP <*****>. This message contains some
    internal system details which have been hidden for security. If you
    need
    to see the full contents of the original message, ask your
    administrator
    to assign additional privileges to your account. (COR-10690)
    OR
    Data Services execution failed for GENERAL MATERIAL DATA MARA. Error :
    (14.2) 05-14-14 17:48:18 (E) (1256:6164) RES-020106: |SESSION JOB_VView_427_cc24f0fc_5063_4c78_8069_9284f1b90848|DATAFLOW EABAPDF_VIEW427_0|STATEMENT <GUID::'c653fd4c-0efa-473f-b280-f4430440939e::40f26e19-6a6d-4def-838c-c27f60f8fd49::3f2886f5-6c62-42af-8a97-cf3be217727a' READ TABLE ICCDS_92."".MARA OUTPUT(IS_VIEW_RDR_222_0)> Table <MARA> for owner <> was not found in the repository for datastore <ICCDS_92>. Import this table from the external source. If the name is case-sensitive in the database (and not all uppercase), enter the name as it appears in the database and use double-quotation marks around the name to preserve the case. (COR-10690)
    Im not sure if the rfc connection to the SAP ERP is functional because this error appears:
    Error Details ERROR: program SAPDS not registered
    Error Details LOCATION: SAP-Gateway on host xxxxxxx /
    sapgw00
    Error Details DETAIL: TP SAPDS not registered
    Error Details COMPONENT: SAP-Gateway
    Viewing data from tables is working but viewing data from views gives errors above.
    Any ideas ?
    Best regards,
    Robert Eberle

    Hi
    well that makes sense, I did't see the transport files you mentioned in the Transport Queue in the
    ERP system.
    But, in KB 1971036 it is explained that the newer transport files should be imported from
    OSS Note 1916294 after deleting the functions /BODS/BODS. (see attachment)
    Do you think I should import first the transport files from the Admin
    directory, then reimport those from note 1916294 or not ?
    Regards,
    Robert

Maybe you are looking for

  • Saving Form created in Adobe Acrobat 9 Standard (V 9.4.5)

    Hi, I was wondering if someone could help me. I have a form that is created in Adobe 9 that is sent out and the form is filled out and then submitted back but the problem is that many of the users who click the "Submit Form" button it does not appear

  • Iphone 3GS ONLY powers on with AC not with computer and unable to restore

    Hi, So I have an Iphone 3GS 16GB. This is my uncle’s iphone. He updated it to 5.0.1 just last week and was using it fine but he just dropped his phone and thats when all these problems started. The only way I can get the iphone to turn on/show the sc

  • Accessing all the fields of a function module in EWM

    Hi All, I have a requirement to prepare a report that pulls some fields of the Function module /SCWM/STOCK_INC_OUT_MON. This Fuction module is in EWM. I need result rows for multiple values(user inputs) of warehouse. Cant we access individual fields

  • Error in reservation..message ag11

    hi,      i ma creating reservation via mb21. i am getting the error. message no. ag11. "date 2558 can not be converted please correct" date is 26.12.2010. which is coverd in our factory calendar !!! regards rahul

  • Junk mail shows 30 messages but none showing up in actual list

    Ok, don't I have to rebuild something to solve this problem? Junk mail is showing I have 53 messages in it but none are in the actual list of messages. How do I fix this?