Logical Data base MSM vs Material master table MARA/MARC

Hi Experts,
What is the different between the logical data base (LDB) and the normal SAP table, for example MSM vs MARA/MARC/MBEW table.  ? I mean we usually refer data to the normal SAP table in download or ABAP, what is the use of logical data base (exp MSM Material master) can download data or refer to MSM in ABAP??  Please help.
Best regards,
Eric

A logical database provides a particular view of database tables in the R/3 System. It is always worth using logical databases if the structure of the data that you want to read corresponds to a view available through a logical database.

Similar Messages

  • Logical data base for license revenue report.

    Hi All,
    My requirement is to create "license revenue report through SAP Query with following fields:
    VBAK:
    Sales Document,Sales Doc type,net value of sales order in document,sales org,distribution channel,division,sales office,business area,customer purchase order number,customer purchase order date,sold to party.
    VBAP:
    Sales document item,target quantity in sales units,target quantity in UOM,usage indicator,billing block for item,business area,plant(own or external),
    origin of bill of material,net price,SD document currency,material pricing pgroup,account assignment group for this material,activity type,personnel number.
    VEDA:
    contracts start date,contract end date,date on which contract is assigned.,installation date,agreement acceptance date
    VBREVK:
    clearing account for accrued revenues,clearing accountkey(offsetting account),total accrued value,currency key,amount in document currency,posting year and posting period.
    VBREVE:
    revenue amount,currency key,accrual period,company code,country of destination,profit center,posting year and posting period,amount in document currency,gl account,account for deferred revenue,account for non billed receivable
    Is there any  standard logical data base which gives all the required fields mentioned above? since i am not SD consultant i am not sure whether i have to take only above tables exactly or not
    there are certain logical databases like SD_ORDER,SD_SALES_DOCUMENT which has tables VBAK,VBAP,VEDA but i am unable to join remaining tables  VBREVE and VBREVK with those logical data bases
    Please provide some valuable suggestions on this.
    Thanks&Regards

    Hi All,
    My requirement is to create "license revenue report through SAP Query with following fields:
    VBAK:
    Sales Document,Sales Doc type,net value of sales order in document,sales org,distribution channel,division,sales office,business area,customer purchase order number,customer purchase order date,sold to party.
    VBAP:
    Sales document item,target quantity in sales units,target quantity in UOM,usage indicator,billing block for item,business area,plant(own or external),
    origin of bill of material,net price,SD document currency,material pricing pgroup,account assignment group for this material,activity type,personnel number.
    VEDA:
    contracts start date,contract end date,date on which contract is assigned.,installation date,agreement acceptance date
    VBREVK:
    clearing account for accrued revenues,clearing accountkey(offsetting account),total accrued value,currency key,amount in document currency,posting year and posting period.
    VBREVE:
    revenue amount,currency key,accrual period,company code,country of destination,profit center,posting year and posting period,amount in document currency,gl account,account for deferred revenue,account for non billed receivable
    Is there any  standard logical data base which gives all the required fields mentioned above? since i am not SD consultant i am not sure whether i have to take only above tables exactly or not
    there are certain logical databases like SD_ORDER,SD_SALES_DOCUMENT which has tables VBAK,VBAP,VEDA but i am unable to join remaining tables  VBREVE and VBREVK with those logical data bases
    Please provide some valuable suggestions on this.
    Thanks&Regards

  • SAP QUERY -logical data base ADA

    I have created a SAP Query with logical data base ADA,I have selected four tables in it.Do i need to link these tables if yes..where and how?The report is for fields in asset master data.
    .But i get below error when i try to genaret the output :
    Fields from parallel tables within a line
    Line: 01
    Field: Asset description
    (ANLT-TXT50, table ANLT)
    Field: License plate no. of vehichle
    (ANLZ-KFZKZ, table ANLZ)
    i get such similar five messages but they are warning..when i execute with warning however i get the fields with description but not with Value.Ex:i get asset description and not Asset number as required.

    You don't have to link them, they ar linked that is the power of a logical data base
    To get the text in your report you need the key fields
    Like
    (Lanque Key)
    company code
    asset number
    Asset sub number
    Go to info sets and look to the standard ones like /SAPQUERY/AM01

  • Logical Data Base to be used in the QUICKVIEWER

    hello Abappers,
    My client cannot select text fields using SQVI so he wants me to come up with a way for him to do so. I was thinking of creating a logical data base which can be selected in SQVI. I could build the FM READ_TEXT into the QV but what I need clarification on is outputting the text fields because the logical data base is really a set of table joins and since I am using the QV I do not have the flexibility that I would have if I was using a logical data base in a program.
    Please advise if anybody has any ideas on this approach and how I would structure the output.
    regards

    Hi Santhosh,
    Since you say you are a beginner, lets start this way, hopefully U know from what datasources in ECC or R/3 you are supposed to load data from. Once you are sure about it, then follow this steps.
    1) Go to RSA5 transaction in ECC or R/3 System ( source system ).
    2) Select the specific datasource from which data is to be extracted to BI and press Activate Datasources button on the top right.
    3) Then on check whether this datasource is available in RSA6 screen.
    4) Come to BI system, there go to the Source Systems screen, there select the specific Source System (ECC or R/3).
    Go to U'r specific Infoarea i.e., SCM in that select the datasource for which U are supposed to extract data, right click and select Replicate Metadata.
    5) Once replication is done now right click again on datasource and create and run the infopackage  , if its BI 7.0 data will be extracted till PSA.
    6) After this create Transformation by right clicking on the Datasource again. Since I guess U will be using standard datasource U will get automatic transformations between the source fields and the infoobjects. Activate Transformations.
    7) After this Create a DTP process by again right clicking on the Datasource. Here U specify the Data Target to which data is to be loaded.
    8) Activate the DTP, once that's done successfully, Execute the DTP by clicking the Execute Button in the DTP.
    9) Monitor U'r data loading thru Monitor screen.
    Hope this helps.
    Regards,
    Syed

  • Error while fetching data from Logical data base

    Hi All,
    I need to fetch the data from Logical data base DDF.First when i am trying demo code
    REPORT demo_program_read_tables_2.
    NODES: spfli, sflight.
    GET spfli FIELDS carrid connid cityfrom cityto.
      WRITE: / spfli-carrid,
               spfli-connid,
               spfli-cityfrom,
               spfli-cityto.
    GET sflight FIELDS fldate.
      WRITE: / sflight-fldate.
    I am getting error like ""spfli is not a node of the logical data base __S""
    Should i declare anything esle?
    Madhu

    REPORT demo_logical_database.
    DATA wa_spfli TYPE spfli.
    SELECT-OPTIONS s_carr FOR wa_spfli-carrid.
    DATA: callback TYPE TABLE OF ldbcb,
          callback_wa LIKE LINE OF callback.
    DATA: seltab TYPE TABLE OF rsparams,
          seltab_wa LIKE LINE OF seltab.
    callback_wa-ldbnode     = 'SPFLI'.
    callback_wa-get         = 'X'.
    callback_wa-get_late    = 'X'.
    callback_wa-cb_prog     = sy-repid.
    callback_wa-cb_form     = 'CALLBACK_SPFLI'.
    APPEND callback_wa TO callback.
    CLEAR callback_wa.
    callback_wa-ldbnode     = 'SFLIGHT'.
    callback_wa-get         = 'X'.
    callback_wa-cb_prog     = sy-repid.
    callback_wa-cb_form     = 'CALLBACK_SFLIGHT'.
    APPEND callback_wa TO callback.
    seltab_wa-kind = 'S'.
    seltab_wa-selname = 'CARRID'.
    LOOP AT s_carr.
      MOVE-CORRESPONDING s_carr TO seltab_wa.
      APPEND seltab_wa TO seltab.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
         EXPORTING
              ldbname                     = 'F1S'
              variant                     = ' '
         TABLES
              callback                    = callback
              selections                  = seltab
         EXCEPTIONS
              ldb_not_reentrant           = 1
              ldb_incorrect               = 2
              ldb_already_running         = 3
              ldb_error                   = 4
              ldb_selections_error        = 5
              ldb_selections_not_accepted = 6
              variant_not_existent        = 7
              variant_obsolete            = 8
              variant_error               = 9
              free_selections_error       = 10
              callback_no_event           = 11
              callback_node_duplicate     = 12
              OTHERS                      = 13.
    IF sy-subrc <> 0.
      WRITE: 'Exception with SY-SUBRC', sy-subrc.
    ENDIF.
    FORM callback_spfli USING name  TYPE ldbn-ldbnode
                              wa    TYPE spfli
                              evt   TYPE c
                              check TYPE c.
      CASE evt.
        WHEN 'G'.
          WRITE: / wa-carrid, wa-connid, wa-cityfrom, wa-cityto.
          ULINE.
        WHEN 'L'.
          ULINE.
      ENDCASE.
    ENDFORM.
    FORM callback_sflight USING name  TYPE ldbn-ldbnode
                                wa    TYPE sflight
                                evt   TYPE c
                                check TYPE c.
      WRITE: / wa-fldate, wa-seatsocc, wa-seatsmax.
    ENDFORM.

  • Units from the additonal data tab of the material master

    HI Gurus,
    can anybody please tell me how we can pull the units from the units of measure tab of the additonal data data tab of the material master?
    Thanks
    Anusha

    Hello,
    Are you asking about the Table where you can see the entry for UOM in Material Master?
    If this is your question then answer is It is MARA1 & MARM where you can see the UOM.
    regards,
    Prashant Rathore.

  • Help with pnpce logic data base

    Hallow I doing a program that use logic data base pnpce(my first time) and in the program I use get peras to bring the employee num and in the loop the name of employee
    Something I doing wrong because its not working what?
    I just wont to bring to my table person_tab employee num and name.
    thankes
    Tables :pernr
    Nodes:persa
    Infotypes:0000 like t_oooo,
    00002 like t_0002.
    START-OF-SELECTION.
    GET peras.
    LOOP AT t_0000.
    MOVE t_0000-pernr TO person_tab-objid.
    APPEND person_tab.
    Endloop.
    Loop at t0002.
    MOVE t_0002-nachn TO person_tab-lastname.
    MOVE t_0002-vorna TO person_tab-firstname.
    APPEND person_tab.
    ENDLOOP.
    END-OF-SELECTION.

    Hi there. I'm not sure what version you are on, but in ERP 2005 this is an obsolete statement.  Here's an alternate way to get the information you're looking for:
    TABLES: PERNR.
    INFOTYPES: 0002.
    DATA: BEGIN OF person_tab OCCURS 0,
           objid LIKE PERNR-PERNR,
           lastname LIKE P0002-NACHN,
           firstname LIKE P0002-VORNA,
    END OF person_tab.
    START-OF-SELECTION.
    GET pernr.
    person_tab-objid = pernr-pernr.
    RP-PROVIDE-FROM-LAST P0002 space sy-datum sy-datum.
    person_tab-lastname = p0002-nachn.
    person_tab-firstname = p0002-vorna.
    APPEND person_tab.
    CLEAR person_tab.
    END-OF-SELECTION.
    Even if you don't end up using this code, you would need to change yours so that you aren't appending to your person_tab table until you have moved all of the data for the fields of your record. By appending twice like you currently are doing, you are creating two separate records (one with just the pernr and another with the first and last name).  I hope this helps.
    - April King

  • Modeling: how to place Material Grp in Material Master TABLE instead of DIM

    Hi,
    I just completed a review of the "...Modeling with BI" document and I will appreciate some clarification on the following:
    Some key points leading to question:
    --"..In order to cover all requirements, master tables in a BI Data model are NOT linked directly to cube .."
    e.g. While Material Number is in the Material Dimension; Material Type and Material Group are outside the Star Schema (page 14) i.e. in the Material Master, Material Text, Material Hierarchy TABLES.
    --".. translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes" (page 16)
    --So, the discussion goes on to point to the different LOCATIONS that a dependent attribute (which are not in 1:N relationships) of a characteristic such as Material Group may be located:
    in the
    i) Material Dimension table or
    ii) Material Master table or
    iii) Material Hierarchy table or
    iv) combination of i/ii/iii
    My question:
    When building a cube, I know how to add Material Group to the same dimension as in case of i.
    How do I add Material Group in the cube, in such as way that it is ii?
    If I created a separated InfoObject, Material Group, it will not meet ii, since it will not be part of the Cube in question.
    Can you help me with how to make the LOCATION for Material Group as ii and iii in this example?
    i.e. to make Material Group as part of the model but not added to the Material Dimention table but to "Material Master table"
    i.e. I am trying to get this line well:
    --".. translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes"
    Thanks

    Hi Amanda.........
    I am not getting ur question properly...........but I will try to explain u .......
    translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes.......
    Do u know.........what is Extended star schema.............it is a purely that concept..........
    Look.......Infocube will never store Master data...........Master data will be stored in Infoobject...............
    Now look...........if u make a Infoobject Master data enable.........then it will be connected to  Four Master data table.......
    Attribute Table
    Text Table
    SID table
    Hierarchy table.........
    Different Master tables are........
    /BIC/M -- View of Master data Tables
    /BIC/P -- Master data Table, Time Independent attributes
    /BIC/Q -- Master data Table, Time Dependent attributes
    /BIC/X -- SID Table, Time Independent
    /BIC/Y -- SID Tabel, Time Dependent
    /BIC/T -- Text Table
    /BIC/H -- Heirarchy Table
    /BIC/K -- Heirarchy SID Table
    When u r creating the Infoobject........in the Masterdata/text tab...........if u check the box With Master data.........the characteristic may have attributes........... In this case the system generates a P table for this characteristic.............. This table contains the key of the characteristic and any attributes that might exist.........
    Again if u check the With Text...........then it will hav text table..............
    For Hierarchy in the Hierarchy tab page..u hav to select with hierarchy.................
    Now while activating the Master data SID gets generated..........this is stored in SID table.........SID table contains the Key field of the Attribute table and SID............suppose material...........then SID table will contain Material number and SID value........
    Now the DIM table of an infocube contains..........SID and DIM.............so DIM tables r connected to the Master data table with this SID.......Again in turn SID tables are conneected to the Master data table.........
    So cube will access this Master data table with the help of SID..........ie.......ID tables are used in the BI data model to link the master tables of the BI data model to cubes
    Check this.........
    http://sapbwneelam.blogspot.com/2007/10/extended-star-schema.html
    Regards,
    Debjani......

  • Material master tables

    Hi,
    how can I understand what views are opened for materials using material master tables ?
    Regards

    Go to the MARA table - Execute with the material you want to see.
    Check the maintenance status field (PSTAT) and that will show the views created for that material.
    Work scheduling     A
    Accounting             B
    Classification          C
    MRP                        D
    Purchasing                E
    Production resources/tools F
    Costing                     G
    Basic data                K
    Storage                     L
    Forecasting                P
    Quality management   Q
    Warehouse management S
    Sales                            V
    Plant stocks                     X
    Storage location stocks Z

  • To upload values into material master table

    Hi,
    Can anyone tell me how to upload the changed values in a screen to material master table?

    Hi,
    Actually my requirement is,there is an update screen.There are many fields in the update screen.When the user changes the value of a partiacular field and click on the checkbox beside it of which he wants to get uploaded into material master table,and click on the execute button,the values should get uploaded into material master table.
    Can we upload all the field values at a time into material master table?How can we do that?

  • T code for logical data base

    Hi
    could pls let me know the Tcode to look for the logical data base in sap r/3
    Thanks
    P

    Hello,
    SE36
    Regards
    Saket Sharma

  • Logical data base and work process

    I have some questions on the above topics.
    if some have an answer, let me know .
    1. How many logical data bases can we use in our
    report program
    2.  How to design our own selection screen when
    using
    logical database
    3. How mnay update workprocesses can u have.
    Thanks in advance.
    Regards,
    Roberts.K

    Welcome to the forum!
    In response to question 1:
    You can designate only 1 LDB on the Attribute screen of the program.  You can however, also invoke a LDB program using Function Module LDB_PROCESS.  There is some good documentation associated with it.
    In response to question 2:
    If you specify a LDB on your program attributes, the LDB will present a selection screen.  Any parameters/select options that you specify in your program are added to the selection screen that the LDB presents.  If you use the Function Module mentioned above, then you alone will control the selection screen and have to pass selection information to the function module.
    In response to question 3:
    I am not quite sure what you mean by this one, but if some of the other SDNers have answered your question, then no need to clarify for me.

  • Logical Data Base - ADA

    Hi, people,
    I`m using Logical Data Base ADA in my program to generate some files, but when the program is executed in DEV System the files are generated normaly, but in the PRD system don´t work.
    Someone knows if exist same parameter or why  this problem occurs ?
    Tks for all.
    Flavio

    As ADA is a standard logical database, if you don't change this object, there should be no difference, except Authorizations that may differ between development and production systems , check via [SU53|http://www.sdn.sap.com/irj/scn/advancedsearch?query=su53+#sdn_content_category_value_wiki].
    (In AM "Asset Accounting" class, check authorization objects : A_A_VIEW, A_S_ANLKL, A_S_GSBER, A_S_WERK.)
    Regards,
    Raymond

  • Hiding dynamic selections which is default if Logical Data Bases is  used

    Hi All,
       Am making use of PNP logical data base in my report .On the selection screen there is a default icon with text dynamic selections is visible besides the execute icon.Can please anyone tell me how to hide this,i have gone through the DBPNPSEL include but was not able to find the solution for the same.
       Pointers will be appriciated.
    Regards,
    Zareena.

    Create your own report catogory
    Goto --> Attributes --> Report Catogory
    with all the fields that you require
    That will solve your problem

  • Label Data view in the material master

    Hi all,
    I read this SAP help portal that said "The Label Data view in the material master allows you to display or  edit label data that is specific to the material. "..
    may I know where I can find this view in the material master?
    Thanks
    Karen

    Dear Karen,
    This "Label Data" is one View in Material Master.
    While creating the Material using T.Code MM01, when you are on the Selection screen of Various views, it is Last Option.
    i.e. Lable Data
    If this view is not there while creating the Material. then it is MM Configuration.
    That view is assinged to Material Type.
    See in Material Master, Industry Sector and Material Types controls these Views. So with the help of MM Consultnat you
    have  to get that View Configured to your Material Type.
    If you find my answer satisfactory, please grant me the points.
    Regards,
    Amol Joshi

Maybe you are looking for