What is main differnce between matrix and grid how we can use it ?

hey experts,
we are developed one form,in that we choosen matrix we we
are pressing tab it's showing related form like item master data
then after we choosen ir's not storing data in perticular cell.
(data is not binding) here how we can dind data (Item Code)
plase give advise. could you send me sample code.
regds,
sampath.

ok, because i have a good mood i post the samples how to fill it with datatables
GRID:
oForm.DataSources.DataTables.Add("MyDataTable")
oForm.DataSources.DataTables.Item(0).ExecuteQuery("select CardCode, CardName, DocDate, DocNum, DocTotal, DocStatus from OINV ORDER BY CardCode")
oGrid.DataTable = oForm.DataSources.DataTables.Item("MyDataTable")
oGrid.CollapseLevel = 2
oGrid.AutoResizeColumns
MATRIX:
frm.DataSources.DataTables.Add ("MyDataTable")
frm.DataSources.DataTables.item("MyDataTable").ExecuteQuery ("SELECT U_Code FROM [@B1C_TEST]")
frm.Items.item("mtxList").Specific.Columns.item("ColCode").DataBind.Bind "MyDataTable", "U_Code"
frm.Items.item("mtxList").Specific.Clear
frm.Items.item("mtxList").Specific.LoadFromDataSource
frm.Items.item("mtxList").Specific.AutoResizeColumns
well thats it,
i hope you're happy - if yes reward me
David

Similar Messages

  • What is the relation between UTXJ and JMOD, how JMOD determine in order

    Hi All,
    What is the relation between UTXJ and JMOD! 
    How JMOD determine in order! ( For TAXINJ).
    Please help me
    Regards
    raj

    Dear Raj
    Both are not related in anyway.  UTXJ is for sales tax and JMOD is for excise condition.  For UTXJ, you need to create a tax code in FTXP and assign it in VK11 / UTXJ, whereas, JMOD is an excise condition type for which, you need to maintain the relevant datas in J1ID.
    Coming to your question, how JMOD is determined in sale order, it is based on delivering plant.  This delivering plant, as already said above, you will have to maintain in J1ID with the indicator "1" under declared tab in Material Chapter ID combination.
    thanks
    G. Lakshmipathi

  • Whats the main difference between wifi and wifi   Cellular for iPad mini?

    Can someone explain to me in simple terms the main difference/benefit of buying a wifi or a wifi + cellular iPad? I thought the cellular meant you would have a sim card in it and you can then connect to the internet when you are not near a wifi, but now looking at the specs again it mentions a sim card for the wifi one, so what are you getting extra for the cellular technology?

    Aloha Karl. You're welcome. I'm still new to all this technology myself. I only had my iPad for a year and a half. Up until a few years ago I had no plans to  to ever have anything to do with computers. Fortunately a few friends showed me what was available on the internet and another friend suggested I should give the iPad a look at. The rest is history. At 63 I'm still like a kid with a new toy, trying to learn, trying to help.  Bob.

  • What is the difference between TO_CHAR and TO_DATE()?

    Hi everybody,
    i am facing a problem in my system.It is quite urgent, can you explain me "What is the difference between TO_CHAR and TO_DATE()?".
    According to user's requirement, they need to generate a code with format "YYMRRR".
    YY = year of current year
    M = month of current month (IF M >=10 'A' ,M >=11 'B' , M >=10 'C')
    RRR = sequence number
    Example: we have table USER(USER_ID , USER_NAME , USER_CODE)
    EX: SYSDATE = "05-29-2012" MM-DD-YYYY
    IF 10
    ROW USER_ID , USER_NAME , USER_CODE
    1- UID01 , AAAAA , 125001
    2- UID02 , AAAAA , 125002
    10- UID010 , AAAAA , 12A010
    This is the original Script code. But This script runs very well at my Local. Right format. But it just happens wrong format on production.
    12A010 (Right) => 11C010 (Wrong).
    SELECT TO_CHAR(SYSDATE, 'YY') || DECODE( TO_CHAR(SYSDATE, 'MM'),'01','1', '02','2', '03','3', '04','4', '05','5', '06','6', '07','7', '08','8','09','9', '10','A', '11','B', '12','C') ||     NVL(SUBSTR(MAX(USER_CODE), 4, 3), '000') USER_CODE FROM TVC_VSL_SCH                                                       
         WHERE TO_CHAR(SYSDATE,'YY') = SUBSTR(USER_CODE,0,2)                         
         AND TO_CHAR(SYSDATE,'MM') = DECODE(SUBSTR(USER_CODE,3,1),'1','01',          
              '2','02', '3','03', '4','04', '5','05',          
              '6','06', '7','07', '8','08', '9','09',          
              'A','10', 'B','11', 'C','12')                    
    I want to know "What is the difference between TO_CHAR and TO_DATE()?".

    try to use following select
    with t as
    (select TO_CHAR(SYSDATE, 'YY') ||
             DECODE(TO_CHAR(SYSDATE, 'MM'),
                    '01', '1',
                    '02', '2',
                    '03', '3',
                    '04', '4',
                    '05', '5',
                    '06', '6',
                    '07', '7',
                    '08', '8',
                    '09', '9',
                    '10', 'A',
                    '11', 'B',
                    '12', 'C') as code
        from dual)
    SELECT t.code || NVL(SUBSTR(MAX(USER_CODE), 4, 3), '000') USER_CODE
      FROM TVC_VSL_SCH
    WHERE SUBSTR(USER_CODE, 1, 3) = t.codeand yes you need check time on your prodaction server
    good luck
    Edited by: Galbarad on May 29, 2012 3:56 AM

  • What's the difference between JRE and HotSpot

    What's the difference between JRE and HotSpot?
    Where can i find HotSpot for Solaris?
    tks!

    The difference between the two is explained at:
    http://www.sun.ca/software/communitysource/hotspot/
    and
    http://www.sun.ca/software/communitysource/hotspot/faq.html
    It's included in the J2SE v1.3.1 release.

  • What are the Relations between Journalizing and IKM?

    What is the best method to use in the following scenario:
    I have about 20 source tables with large amount of data.
    I need to create interfaces that join the source tables into target tables.
    The source tables are inserted every few secondes with about hundreds to thousands rows.
    There can be a gap of few seconds between the insert of different tables that sould be joined.
    The source and target tables are on the same Oracle instance and schema.
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?
    In general What are the relations between 'Journalizing' and 'IKM'?
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?
    I want to understand what is the role of 'Journalizing CDC'?
    Can 'IKM - Incremental Update' work without 'Journalizing'?
    Does 'Journalizing' need to have PK on the tables?
    What should i do if i can't put PK (there can be multiple identical rows)?
    Thanks in advance Yael

    Hi Yael,
    I will try and answer as many of your points as I can in one post :-)
    Journalizing is way of tracking only changed data in your source system, if your source tables had a date_modified you could always use this as a filter when scanning for changes rather than CDC, Log based CDC (Asynchronous in ODI, Logminer/Streams or Goldengate for example) removes the overhead of of placing a trigger on the source table to track changes but be aware that it doesnt fully remove the need to scan the source tables, in answer to you question about Primary keys, Oracle CDC with ODI will create an unconditional log group on the columns that you have defined in ODI as your PK, the PK columns are tracked by the database and presented in a Journal table (J$<source_table_name>) this Journal table is joined back to source table via a journalizing view (JV$<source_table_name>) to get the rest of the row (ie none PK columns) - So be aware that when ODI comes around to get all data in the Journalizing view (ie Inserts, Updates and Deletes) the source database performs a join back to the source table. You can negate this by specifying ALL source table columns in your PK in ODI - This forces all columns into the unconditional log group, the journal table etc. - You will need to tweak the JKM to then change the syntax sent to the database when starting the journal - I have done this in the past, using a flexfield in the datastore to toggle 'Full Column' / 'Primary Key Cols' to go into the JKM set up (there are a few Ebusiness suite tables with no primary key so we had to do this) - The only problem with this approach is that with no PK , you need to make sure you only get the 'last' update and in the right order to apply to your target tables, without so , you might process the update before the insert for example, and be out of sync.
    So JKM's provide a mechanism for 'Change data only' to be provided to ODI, if you want to handle deletes in your source table CDC is usefull (otherwise you dont capture the delete with a normal LKM / IKM set up)
    IKM Incremental update can be used with or without JKM's, its for integrating data into your target table, typically it will do a NOT EXISTS or a Minus when loading the integration table (I$<target_table_name>) to ensure you only get 'Changed' rows on the load into the target.
    user604062 wrote:
    I want to understand the role of: 'Journalizing CDC' and 'IKM - Incremental Update' and
    how can i use it in my scenario?Hopefully I have explained it above, its the type of thing you really need to play around with, and throroughly review the operator logs to see what is actually going on (I think this is a very good guide to setting it up : http://soainfrastructure.blogspot.ie/2009/02/setting-up-oracle-data-integrator-odi.html)
    In general What are the relations between 'Journalizing' and 'IKM'?JKM simply presents (only) changed data to ODI, it removes the need for you to decide 'how' to get the updates and removes the need for costly scans on the source table (full source to target table comparisons, scanning for updates based on last update date etc)
    Should i use both of them? Or maybe it is better to deelte and insert to the target tables?Delete and insert into target is fine , but ask yourself how do you identify which rows to process, inserts and updates are generally OK , to spot a delete you need to compare the table in full, target table minus source table = deleted rows , do you want to copy the whole source table every time to perform this ? Are they in the same database ?
    I want to understand what is the role of 'Journalizing CDC'?Its the ODI mechanism for configuring, starting, stopping the change data capture process in the source systems , there are different KM's for seperate technologies and a few to choose for Oracle (Triggers (Synchronous), Streams / Logminer (Asynchronous), Goldengate etc)
    Can 'IKM - Incremental Update' work without 'Journalizing'?Yes of course, Without CDC your process would look something like :
    Source target ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    With CDC your process looks like :
    Source Journal (J$ table with JV$ view) ----< LKM >---- Collection table (C$) ----<IKM>---- Integration table (I$) -----< IKM >---- Target table
    as you can see its the same process after the source table (there is an option in the interface to enable the J$ source , the IKM step changes with CDC as you can use 'Synchronise Journal Deletes'
    Does 'Journalizing' need to have PK on the tables?Yes - at least a logical PK in the datastore, see my reply at the top for reasons why (Log Groups, joining back the J$ table to the source table etc)
    What should i do if i can't put PK (there can be multiple identical rows)? Either talk to the source system people about adding one, or be prepared to change the JKM (and maybe LKM, IKM's) , you can try putting all columns in the PK in ODI. Ask yourself this , if you have 10 identical rows in your source and target tables, and one row gets updated - how can you identify which row in the target table to update ?
    >
    Thanks in advance YaelA lot to take in, as I advised I would reccomend you get a little test area set up and also read the Oracle database documentation on CDC as it covers a lot of the theory that ODI is simply implementing.
    Hope this helps!
    Alastair

  • What is the difference between view and materialized views

    Hi
    What is the difference between view and materialized view ? can we update the base table using views

    can we update the base table using viewsYes:
    VIEWS
    1. an updatable view is one that lets you perform DML on the underlying table
    (see Oracle Database Concepts 10g - 5 Schema Objects)
    2. non-updatable view requires INSTEAD OF Triggers
    (see Oracle Database Concepts 10g - 22 Triggers)
    SNAPSHOTS
    You can have updateable (and writeable) snapshots - in updateable (writeable) MV replication.
    Oracle uses snapshots (Materialized Views - MV) for two different purposes:
    1. replication
    2. automated Query Rewrite facility (first introduced in Oracle Discoverer, later included in Oracle database 8i).
    Replication types in Oracle are:
    a) Basic replication (MV replication)
    - transaction based
    - row-level
    - asynchronous from master table to MV (Materialized View)
    - DML replication only
    - database 7 / 8.0 / 8i / 9i / 10g
    - Standard and Enterprise Edition
    1. Read-only MV replication
    2. Updateable MV replication:
    2.1 asynchronous from MV to master
    2.2 synchronous from MV to master
    3. Writeable MV replication
    b) Multimaster replication
    - transaction based
    - row-level or procedural
    - asynchronous or synchronous
    - DML and DDL replication
    - database 7 / 8.0 / 8i / 9i / 10g
    - Enterprise Edition only
    1. row-level asynchronous replication
    2. row-level synchronous replication
    3. procedural asynchronous replication
    4. procedural synchronous replication
    c) Streams replication
    - (redo) log based
    - row-level
    - asynchronous
    - DML and DDL replication
    - database 9i / 10g (10g has Down Streams Capture)
    - Enterprise Edition only (Standard Edition 10g can execute Apply process)
    Regards,
    Zlatko Sirotic

  • What is the main difference between ws_upload and gui_upload?

    Hi All,
    What is the main difference between ws_upload and gui_upload?
    In what contexts should we use these two function modules??
    Thanks,
    Creasy

    search the forum before posting.
    You can find lot of posts related.

  • What is main deff  between indian payroll and us payroll in sap abap hr

    HI Experts,
    what is main deff  between indian payroll and us payroll in sap abap hr.
    Regards
    Naresh

    Hi,
    U.S payrolls:
    SAP has given country specific payrolls for more than 40countries Each country specific version is called country version.  Every country has a country specific payroll driver and pay roll schema based on modular international payroll driver and schema.  When sap says country version it includes country specific civil, tax laws, contributory and other tax laws (all these details are populated in the country specific info types).
    Some of them are:
    - Personnel data -address-6, bank details-7, personal data-2, challenges-4 etc..
    - Actions -0000 info type
    - Organizational data
    So when you run a payroll for a specific country, besides general information valid for the international pay roll, one needs to enter specific details in the particular info types for example if you are running U.S  pay roll you need enter SSN no. to uniquely identify an employee in the info type 0002-personal data.
    Besides the common infotypes these are some of the U.S pay roll specific infotypes that one has to configure in U.S pay roll.
    - Garnishment Order - Info type 019
    - Creating a Garnishment Order - Info type 0195
    Inidan PayRolls:-
    Indian pay roll besides common info types, uses specific info types from 0580 to 0590 and 0045 (loans infotype) -- these info types will capture the data related to all the major components of Indian pay roll.
    Hope this is helpful,
    Thanks
    Kalyan

  • What is the differnce between Blue,Purple and Orange Audio Tracks. Can you convert either to Green Midi Track?

    What is the differnce between Blue,Purple and Orange Audio Tracks. Can you convert either to Green Midi Track?

    Are you asking about Garageband? Your signature also mentions Logic, but I have never worked with that.
    Concerning Garageband:
    Real Instrument regions from your recordings are purple.
    Real Instrument regions from Apple Loops are blue.
    Regions from imported audio files are orange.
    Software Instrument regions from recordings, loops, and imported MIDI files are green.
    So far as I know you can convert software instrument loops to real instrument loops, but not real instrument loops to software instrument loops.

  • What is the main difference between eewb and aet tool ?

    Dear all,
    What is the main difference between eewb and aet? Both ways we can create fields and coming to aet is in crm 7.0 and eewb is in 6.0.when we are creating fields through eewb we should have technical knowledge but aet tool is a simple tool as a function people also can easily add the fields. I want to know is there any main difference between both these tools.
    Regards,
    Jemmi.

    EEWB works from SAP GUI whereas AET works from WEB UI. AET is developed on top of the EEWB. Most the Objects are supported barring a few through AET. It's a very usefull tool for SAP CRM.
    Since in CRM SAP GUI will be phased out soon, AET will be prominent. One will see lot more features in upcoming relase in AET tool.
    Regards,
    Harshit

  • What is the main difference between Enhancements and BADI.?

    What is the main difference between Enhancements and BADI.?plzz tell
    Edited by: Alvaro Tejada Galindo on Feb 13, 2008 3:48 PM

    CMOD is the Project Management of SAP Enhancements (i.e., SMOD Enhancements). SMOD contains the actual enhancements and CMOD is the grouping of those SMOD enhancements.
    Difference Between BADI and User Exits
    BADI's can be used any number of times, where as USER-EXITS can be used only one time.
    Ex:- if your assigning a USER-EXIT to a project in (CMOD), then you can not assign the same to other project.
    BADI's are oops based.
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software. 
    As with customer exits two different views are available:
    In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object. 
    In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.

  • What is the main difference between menu_exits and user_exits

    what is the main difference between menu_exits and user_exits

    Hi,
    User Exits:
    A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
    Menu Exits:
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Regards,
    Priyanka.

  • What is the differnce between t-mobile network and EE network?

    what is the differnce between t-mobile network and EE network?

    Difference as far as speeds?
    Difference in Prices?
    What do you want to do in the UK with your iPhone?
    Personally, I have enjoyed using 3 UK and Vodafone while I was in Heathrow.

  • What is the main difference between view and materialize view and advantage of Mview   ??

    What is the main difference between view and materialize view and advantage of Mview   ??

    1.A view uses a query to pull data from its associated tables.
    2.Views do not have data's physically stored in the Database.
    3.Views Get the Data from 2 or more tables and displays as a single block.
    4.But a materialized view is a table on disk is a result set of a query done.
    5.A Materialized view can have data's in the database.
    6.Materialized view are used for Boosting the Performance.
    7.And the important one is Materialized views are updated based on the parameters defined when they are created.
    8.By using triggers we can update the data in a materialized view.
    9.When you call a materialized view it will show the data when it was last updated.
    Hope it helps.

Maybe you are looking for

  • How to create an XML file from scratch ?

    Hi all, I'm afraid that I will seem dummy, but I think I really misunderstand something or I'm trying to do something that is not possible... I would like to create a XML file containing the following:<?xml version="1.0" encoding="UTF-8"?> <?xml-styl

  • Windows 8.1 + HP LJ 1200 + NAS

    Hi. I have: 1. NAS D-LINK DNS-320L. 2. HP LaserJet 1200. 3. PC with Windows 8.1. 4. NB with Windows 8.1. I can't connect 1200 directly to PC and/or to NB via USB. So it was successfully connected to NAS. Now I want to install 1200 over my home networ

  • Cambio de idioma predeterminado en la instalacion del acrobat 9.0 professional

    LA INSTALACION ES DESATENDIDA Y HEMOS UTILIZADO EL ADOBE CUSTOMIZATION WIZARD 9.0 NECESITAMOS CAMBIAR EL IDIOMA DEL INSTALADOR DE ACROBAT 9.0 PRO. EL INSTALADOR DE ACROBAT ES EN ITALIANO ESPAÑOL HOLANDES Y PORTUGUES POR DEFECTO LA INSTALACION NOS LA

  • InDesign CS6 Export to PDF has missing objects

    When exporting to PDF, I have a 6-page document that has missing objects from the master. Here's the document with the content removed: lab.cyke.net/pdf/MissingObjects.pdf The first and last pages were constructed correctly. All pages in between are

  • Itunes does not recognize ipod

    hi, when i connect my ipod to my computer, the comp recognizes it and charges and shows up as a drive, but itunes doesnt. usaully it turns on by itself wen the ipod is connected, but it doesnt, and when i try to turn it on, it shows up as a process b