Master and Document Tables ...

What relation do Master and Document tables have to parent and child tables?
Should I declare all my created tables master and master details ? 
how can I establish my relationships, foreign keys and primary keys with all these fields created by SAP ?

Hi Neftali,
You can create UDOs by using DI API, you have many threads talking about it in this forum.
If you don't want to use UDOs (which are very useful) then you should not use MasterData,... tables because this tables shouldn't be modified by using SQL queries. These kind of tables are designed for use with UDOs to avoid the whole management of the Forms for the Add/Update/Find/Delete,... actions.
Have you had a look to B1DE? You can download it from main B1 page in SDN for free and it generates for you the code of your addon for managing many of the aspects of the B1 SDK. You can maybe give it a try!
You can block users from viewing/using specific menus in B1 by using the UI API.
Regards
Trinidad.

Similar Messages

  • Problem with Master and Child table

    Hi,
    Working in jdev 11.1.1.2.0. I have one strange issue. i have master and child tables, the model is working fine with the view link. but when drag drop the same into my jsff. when i query the result 1st time 2 tables are refershing properly and data is coming. but the when i trying to select another row in the 1st table my 2nd table(child table) is not refreshing.
    i put partial trigger of the 2nd table as 1st table id.
    can any one help wht is issue here.
    Edited by: user5802014 on Jul 15, 2010 3:44 PM

    Check this post might help you
    http://baigsorcl.blogspot.com/2010/03/creating-master-detail-form-in-adf.html

  • How to show master and detail tables in different pages?

    Hi,
    Can somebody expalin me how to include or bind the master and detail tables to different pages which are included at runtime.
    thnaks,
    Naresh.

    Hello!
    you have ti create a Master/Detail data structure.
    In the first page drag the master table, on the second drag a detail table.
    It should work out of the box. Selecting a record on the master table selects
    the details on the detail table automatically!
    regards,
    Mario Udina

  • Master and Details Tables

    Hello Experts,
    While entering any transactional document, like DO or SO system enter the data in a Master Table for example in ODLN and DLN1. that is ok
    is there any other table in which system keeps the reference. for a document entered.
    Help Required.....

    Thanks for reply,
    actually I was trying to ask that other than ODLN and DLNx tables is there any other table in which system keeps the track for checking the integrity of data / document i.e. like if we have entered document 
    number 10036,
    will system keep the track of this document in any other table other than ODLN and DLNx tables ....
    help required.
    Edited by: Rui Pereira on Apr 30, 2009 2:00 PM

  • PDK pl/sql add_item function and documents table

    When we use the add_item function to add an item and upload its content, does the add_item function uploads document content to the document table in the repository?(like the upload_blob() function)
    If yes, can I remove the uploaded document from the filesystem after having uploaded it in the documents table?
    The PDK API says that there is no supported view for querying the document table. Is there any other way to query the documents in the document table? Or any additional information about how the documents are stored in the document table or how the documents table works?

    Duplicate thread ->
    PL/SQL add procedure with nested table
    Please remove it & marked it as duplicate.
    Regards.
    Satyaki De.

  • Query Question: Sum of master and monthly table data

    Hi All,
    I have two tables that store financial data about programs. The PROGRAM table has the following columns (for purposes of this discussion):
    ID, INITIAL_BUDGET, COST_CENTER
    The PROGRAM_MONTHLY table has the following (abbreviated list of) columns:
    ID, PROGRAM_ID (FK to PROGRAM.ID), CURRENT_FORECAST, RECORD_DATE
    Every month, a copy of the program_monthly records for last month is made to new records in the PROGRAM_MONTHLY table and we use RECORD_DATE for our filters and comparisons. This way we have historical data, plus current month data that can be updated by our financial systems and program managers.
    I am using Application Express and would like to create a dashboard chart that shows the summary of the INITIAL_BUDGET and the CURRENT_FORECAST for a selected month. Obviously, the INITAL_BUDGET doesn't change, but the CURRENT_FORECAST (and similar columns such as the amount committed to purchase orders, which were omitted to simplify the discussion) change monthly.
    My goal is to create a chart that can display the initial budget, current forecast, amount committed on purchase orders, etc. for all cost centers, or just one at a time as the user requires, that is filtered by the month of the PROJECT_MONTHLY record. If I can come up with the statement for a view or query, then I can manage the rest.
    The required syntax for the chart is "SELECT link, label, value FROM...", where "link" can be NULL, since is it an optional link to another URL. The "label" and "value" portion are the important parts.
    For example, I have another chart that shows the project status (which is a Varchar 2 constrained to values such as, Active, On-Hold, Completed, etc.) with the status as the label and the count of the rows as the value. It starts:
    select null link, pjm.PROJECT_STATUS label, COUNT(pjm.ID) value FROM ... However, I have been unable to come up with a query that generates the desired results for these PROGRAM and PROGRAM_MONTHLY tables. I have played with various types of joins and sub-queries, but my SQL just isn't up to the challenge yet. I realize that I might have to re-work the table structure to accomodate this requirement.
    I would greatly appreciate any guidance in approaching this problem.
    Many thanks for your time and help,
    Petie

    Certainly, Warren, thanks so much for your willingness to look at my problem.
    To keep things simple, I will put the fundamentals of the tables with sample data. Please let me know if you would like more and I would be happy to provide it.
    Table: PROGRAM
    ID   PROGRAM_NUMBER   INITIAL_BUDGET   COST_CENTER
    1   10001            100000           500-001
    2   10002            125000           500-001
    3   10003            150000           500-002
    4   10004            175000           500-002
    5   10005             10000           500-003
    6   10006            200000           500-004Table: PROGRAM_MONTHLY
    ID   PROGRAM_ID   CURRENT_FORECAST  RECORD_DATE
    1    1            95000            02-FEB-06
    2    2           125000            02-FEB-06
    3    3           145000            02-FEB-06
    4    4           180000            02-FEB-06
    5    5             9000            02-FEB-06
    6    6           225000            02-FEB-06
    7    1            97500            02-MAR-06
    8    2           120000            02-MAR-06
    9    3           145000            02-MAR-06
    10    4           185000            02-MAR-06
    11    5            10000            02-MAR-06
    12    6           215000            02-MAR-06
    Report Example 1
    When a user would like to see the current summary data for all cost centers, they would see a chart with the following data:
    INIT_BUDGET  CURRENT_FORECAST
    760000       772500
    Report Example 2
    When a user would like to see the summary data for all cost centers for last month, they would see a chart with the following data:
    INIT_BUDGET  CURRENT_FORECAST
    760000       779000
    Report Example 3
    When a user would like to see the current summary data for cost center 500-001, they would see a chart with this following data:
    INIT_BUDGET  CURRENT_FORECAST
    225000       220000I hope this better illustrates the solution I seek.
    Thank you again for your time and assistance
    Petie

  • Master and Details Tables Data

    Hi all
    I have two tables one is Master table and other one is Details table.
    How to write a query to get Master as well as Details table data.
    Detail table contain more than one record for particular Master Record.
    Pls Help me.

    My version is Oracle 9i
    My Tables structures are :
    SQL> desc TFMS_CONTRACT_PRICES
    Name Null? Type
    ITEMNUMBER NOT NULL VARCHAR2(30)
    ITEMDESCR VARCHAR2(2000)
    PRICE NOT NULL NUMBER
    UOM VARCHAR2(30)
    UNITSAWARDED NUMBER
    DELIVERYPERIOD NUMBER
    COMMENTSREASON VARCHAR2(15)
    TOTALPOINTSSCORED NUMBER
    FREEDELIVERY VARCHAR2(250)
    YEAR VARCHAR2(15)
    UPDATEDBY NOT NULL NUMBER
    UPDATEDON NOT NULL TIMESTAMP(6)
    BRANDID NOT NULL NUMBER
    CONTRACTORID NOT NULL NUMBER
    ISPRICEESCALATED NOT NULL CHAR(3)
    SQL> desc TFMS_ACCESSORIES_MASTER
    Name Null? Type
    ACCESSORYID NOT NULL NUMBER
    ACCESSORYNAME NOT NULL VARCHAR2(150)
    DESCR VARCHAR2(250)
    ISDELETED NOT NULL CHAR(1)
    UPDATEDBY NOT NULL NUMBER
    UPDATEDON TIMESTAMP(6)
    CONTRACTORID NOT NULL NUMBER
    Sample Out put:
    ITEMNUMBER ACCESSORYNAME
    RT57-01-13-01 Truck ToolBoxes,Riding Sun Glass
    RT57-01-13-02 Door Guard,Maruthis
    For one item number there may be one accessory name or more than one accessory name.i need to display accessory names with delimeter(,).
    Pls help me.
    Thanks in Advance.

  • Master and detail table in same block

    Master Table - Group Maintenance
    Columns - Group ID, Group Desc
    Detail Table - Group Usage
    Columns - Group ID(foreign key to Group Maint. table), forecast_date, plan_date, actual_date
    I am trying to create a form that will display both tables in one tabular block. I want to be able to insert/update both tables from this form. I can't seem to get it to work right. I have tried adding non table items to the master block and updating manually but changes to only the non table items don't change the record status so the form says 'no changes to save'. Any ideas?

    I'm not quite sure what's your requirement. Are some rows belonging to the master-table and some to the detail-table? If not, what happens if you change the master-table-attributs in one row. What then with the master-table-attributs in other records?
    About the non-database-items:
    There is a property "Lock record" at item-level, if you set that to Yes, the record will be marked as changed also if the item is a non-db-item.
    Another possibility would be to create a db-view with your master-detail-columns so that every item is a database-item. To write back data you could use an INSTEAD-OF-trigger on the view.

  • View using Material master,Vendor master and PO tables

    Hello folks.
    There is a requirement to create view using material master tables ( MARA,MARC,MARD,MAKT & MBEW ) , vendor master tables ( LFA1 & LFB1) and
    Purchase order tables ( EKKO & EKPO tables).
    I have created the attribute views for material and vendor master tables separately.Now I am thinking about the following design pattern.
    1. Join the material master master attribute view to EKPO table using the inner join to create a analytic view1.
    2. Join the material vendor  master attribute view to EKKO table using the inner join to create a analytic view2.
    3. Now create calculate view using join to combine analyticalview1 & analyticalview2.
    Please suggest me the best optimize pattern and am strange to SAP HANA. Please also clarify the following doubts.
    1. What is the role of system supplied default aggregation node?
    2. How can I use Union node in the calculation view in the current requirement  because people/documentation  always suggesting  using of  Union than Join?
    Thanks & Regards,
    Suresh Kuturu

    I have managed to create the Analytic view as per my requirement.. No need to use calculation view  in this case..

  • Help!The synchronization of master and detail tables

    Is there a simple method to synchronize zhe primary key of detail table with master table?

    Needin to modify a primary key column is a sure sign of a data modeling deficiency. Primary keys are generally not modified. If they contain children data, trying to modify them is not allowed by Oracle (I received "ORA-02292: integrity constraint (SCOTT.FK_DEPTNO) violated - child record found" when I tried, in 10.2). Any way to revisit this primary key, to be sure it should really consist of those columns? Otherwise, the only way I see to implement what you want is to have an "after update of ..." trigger.
    Daniel

  • Building index from multiple master and child relationship tables

    Hello,
    My question is:
    Is it possible to create the index for master and child tables?
    If yes, can you please point me out to any links or give me an example.
    Actually i just followed this below link to create the index using multiple tables
    Building index from multiple tables for text search
    I am able to create the index using above link,but problem accured , when i search for one master data column value then it is returning many rows with same master data for each child row.
    for example
    SELECT
    a.conc_program_name,
    a.conc_program_desc,
    b.param_name
    FROM a_master a, b_child b
    WHERE b.report_dtls_id = a.report_id
    AND CONTAINS (a.dummy, 'PAY') > 0
    Which retruns
    PAY Master A
    PAY Master B
    PAY Master C
    Please let me know is there any way i can restrict this to single row with concatination of child data like
    PAY Master A B C
    Another doubt is ,i have the column value like p_consolidation_set_id,when i give this in CONTAINS (a.dummy, 'p_consolidation_set_id') > 0 ,then not able to get the any results.
    please let me what shall i do for this issue.
    Thanks
    Message was edited by:
    user496798

    There are various ways to concatenate the values. One nice generic solution is to use Tom Kyte's stragg function:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2196162600402
    If p_consolidation_set_id is a variable name, not a value, then do not put quotes around it.
    Message was edited by:
    Barbara Boehmer

  • Crm-action and crm table document needed

    Hi ALL,
    I need  documents on CRM- Action and CRM - table , if anybody has please send it to the following id : [email protected],it wll be great helpful.
    Thanks in advance
    Satya

    hello,
    Most of the replication of documents from CRM to ECC is done via the messaging BDOCs which are in CRM Middleware.The analysis of these will give you the mapping of fields.
    Some general rules in identifying tables in CRM.
    CRMM  - tables starting prefix M is for Master data
    CRMD - tables starting prefix D is for the Document data or transaction data
    CRMC - tables starting prefix C are for customizing data
    for example,
    CRMD_ORDERADM_H contains transaction data for transaction types (document types)
    Below are some of the links where data is transferred to R/3.Analysis of this will help.
    http://help.sap.com/saphelp_crm40/helpdata/en/9d/c06a3b60a3fc30e10000000a114084/frameset.htm
    Regards,
    Sourabh

  • Paymnet document not reflecting in REGUH and REGUP table

    Hi Expert,
    I have run f110 and payment is made to respective vendor,but the  payment document is only reflecting in PAYR table and not reflecting in REGUH and REGUP,tables
    can anybody explain me  reason for such kind of situattion
    Thanks in advance
    Regards
    Pankaj

    hi,
    Please check the logic implemented for down payment. Basically, the check printing will have two categories 1. Payment against invoice 2. Down Payments.
    In the first case we normally use F-58 transaction, when you process the transaction cheque will automatically get updated and tables PAYR, REGUH and REGUP will be updated.
    In case of down payment we use F-48 and then assign the chequq manually - during this process tables PAYR will be updated but not REGUH and REGUP. Hence we need to go BSEG table.
    Please check the logic implemented for down payment scenario for "Amount 
    regards,
    santhosh kaparthi

  • Master and Text Flags in Table

    Dear Gurus,
    Is there any Table which hold Master and Text flags check in BI system for the Infoobjects.
    Abhijit

    Pls check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/14c43bb7137503e10000000a11402f/content.htm
    Hope this helps.
    Regards
    CSM Reddy

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

Maybe you are looking for

  • CAn't open pdf's in adobe is opening in explorer

    Hi, For some reason my computer is opening my pdf files in explorer and not in adobe reader even though they are still pdf files. In fact all my saved pdf files no longer have the adobe reader icon attached but have the explorer icon. This has only h

  • T410 Network Adapter Issue

    I have a Lenovo Thinkpad  T410 with WIndows 7 . It has "Intel 82577LM Gigabit " network adapter. The issue is that , sometimes, my laptop doesn't connect to the internet. The problem is very intermittent. There is no issue with my wired network conne

  • Customization Form at top populate Report Results at Bottom of Page??

    Is it possible to develop a customization form and its report on the same page? Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the

  • Third party profiles results in color shifts

    Using LR on a calibrated iMac and printing to an Epson Pro 3800, I'm now getting easily noticeable color ***** in the printed output, when using 3rd party paper profiles (e.g. Hahnemuhle Fine Art Pearl or Pixel Genius Epson Exhibition Fiber profile),

  • Problemas pantalla macair 13

    La pantalla de mi mac tiene una vibración y brillo raro desde la mitad hacia abajo... tiene 1 año y medio de uso es la 13.