Hi All matrix problem

hi all,
I want to add and delete row in matrix and i want like in purchase order in matrix when user click automatically that cell allow to addrow and after adding second row we can also add but in sample example of sap they given button like addrow for adding matrix row .if u have some code sample.
please give me some solutions .
Awaiting soon reply
Rajkumar Gupta

If (pVal.ItemUID = "38") And (pVal.ColUID = "ItemCode") Then
                            oMatrix = oForm.Items.Item("38").Specific
                            For i = 0 To oDataTable.Rows.Count - 1
                                If pVal.Row = oMatrix.VisualRowCount Then
                                    oForm.DataSources.DBDataSources.Item(1).Offset = oForm.DataSources.DBDataSources.Item(1).Size - 1
                                    oForm.DataSources.DBDataSources.Item(1).SetValue("U_itemCode", oForm.DataSources.DBDataSources.Item(1).Offset, "")
                                    oForm.DataSources.DBDataSources.Item(1).SetValue("U_ItemDec", oForm.DataSources.DBDataSources.Item(1).Offset, "")
                                    oMatrix.SetLineData(oForm.DataSources.DBDataSources.Item(1).Size)
                                    oMatrix.FlushToDataSource()
                                End If
                                cflValBefore = oForm.DataSources.DBDataSources.Item(1).GetValue("U_itemCode", oForm.DataSources.DBDataSources.Item(1).Offset)
                                oForm.DataSources.DBDataSources.Item(1).SetValue("U_itemCode", oForm.DataSources.DBDataSources.Item(1).Offset, oDataTable.GetValue("ItemCode", 0))
                                oForm.DataSources.DBDataSources.Item(1).SetValue("U_ItemDec", oForm.DataSources.DBDataSources.Item(1).Offset, oDataTable.GetValue(1, 0))
                                If oForm.Mode <> SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
                                    If cflValBefore <> oForm.DataSources.DBDataSources.Item(1).GetValue("U_itemCode", oForm.DataSources.DBDataSources.Item(1).Offset) Then oForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                                    If cflValBefore <> oForm.DataSources.DBDataSources.Item(1).GetValue("U_ItemDec", oForm.DataSources.DBDataSources.Item(1).Offset) Then oForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                                End If
                                oMatrix.SetLineData(pVal.Row)
                                oMatrix.AddRow(1, oMatrix.VisualRowCount)
                                'oMatrix.SelectRow(1, True, False)
                                oMatrix.FlushToDataSource()
                                'If i = oDataTable.Rows.Count - 1 Then
                                '    oMatrix.AddRow(1)
                                'End If
                            Next
                        End If
i m using this above code but same value add in new row which is added.

Similar Messages

  • Is there an update forthcoming to 4.0 to fix all the problems? Since it's installation, my PC operation has slowed to a crawl and I'm experiencing numerous "unresponsive script" and "low virtual memory" messages.

    My PC was running fine before 4.0, and since then it is as described above. Almost thought this was a virus masquerading as a legit update (has happened to me before). Will there be an update to fix all the problems that have been reported, or do I have to bring in the Geek Squad to replace Firefox with Explorer?

    My PC was running fine before 4.0, and since then it is as described above. Almost thought this was a virus masquerading as a legit update (has happened to me before). Will there be an update to fix all the problems that have been reported, or do I have to bring in the Geek Squad to replace Firefox with Explorer?

  • I want to go back to the previous 2014.2 version.  .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    2014 .3 is much too buggy and full of error messages. Creating problems as I am on a timeline with my client and I don't have time to fool around with all the problems.

    You didn't mention what error(s) you've encountered? A workaround for the most commonly hit problem is here Re: error in Muse : Object UID:U6875 has two (or more) owners: U3633 and U3165
    If you have a copy of your .muse file that has not been saved using 2014.3, you can downgrade by uninstalling Muse and then choose Previous Version in the Filters drop down in the Apps panel of the Creative Cloud desktop app. There will be a popup next to Muse where you can select a prior version to install.

  • I purchased photoshop elements and i am having all the problems in the world installing it.... first the link in the emails were errors and secondly i have downloaded and installed multiple times and it says my serial number from the email i received is i

    I purchased photoshop elements and i am having all the problems in the world installing it.... first the link in the emails were errors and secondly i have downloaded and installed multiple times and it says my serial number from the email i received is incorrect.... please help

    Ok, since this forum is for Photoshop Standard and Photoshop Extended, we don't know much about Photoshop Elements. There is a Photoshop Elements forum and I'll link it for you since they best know how to field your questions.
    Photoshop Elements
    Good luck on it! 
    Gene

  • Should I get an iMac with all the problems about?

    So, as my birthday is coming up I decided to get an iMac, however on Wednesday I read on Gizmodo about the yellow screen debacle, so after doing some research on the matter I'm not sure what to get any more.
    I decided (Before I read this on Giz) to get a 21.5" iMac.
    So I have a few questions about it.
    1: Does the 21.5" iMac's screen flicker and blackout like the 27", it's very hard to find info about it as it seems it only affects 27", but is that because it doesn't effect 21.5" or because not many people bought the 21.5" iMac
    2: Just how bad is this 'yellowing', I've looked at various photos of it and can hardly see any problem, does anyone have a really bad screen with the bottom of the screen being strongly yellow tinted?
    3: Should I just skip all these problems and get a Macbook?
    Please help me decide!

    You have done your research on the new iMacs so you already know the answers to your questions. It's difficult to come to a consensus though because some report problems and some report they have no problems. It's your birthday... in my honest opinion, go for it.
    Post back when you have your machine as to your findings on your machine. That's the one that matters.
    Sorry if I am sounding a little tired of this but many people have asked the same question and many have provided the same answers. If you are very conservative you might want to wait and see, but if you don't want to postpone your birthday, go ahead; your iMac may be fine and if not, Apple will make it right. Do buy AppleCare.

  • I am having all these problems after webroot did a clean up of files; I was able to find the files; all are firefox files, how do I reinstall these files?

    I am having all these problems; yahoo is not the same, cannot do anything on facebook; I found the files that were "cleaned" and they were all firefox files, there are many more in que to be "cleaned" by webroot; how do I reinstall these files? How do I stop webroot from continuing this "cleanup" I emailed webroot but got no reaponse.
    Thank you,
    Donna

    You can't. The only way to get songs in the Music app is to sync from a computer or to download from iTunes.

  • XML validation: how to check ALL validation problem for XHTML

    I have a lot of documents in HTML format (not very good) that I would like to convert in XML (XHTML). I know it is not so easy and I would use this strategy in a Java program:
    1. Try to check the well-formness and validation with a XML parser (SAX or Xerces)
    2. If not valid: try to individuate ALL the problems the file has (*and not only the first one that halts the processing process*)
    3. Try to transform the HTML to a validable XHTML with some approach: regular expression or other methods
    So the questions I do to you are the following:
    1. What XML parser do you think is the best for this purposes? SAX or Xerces?
    2. How can I understand what are all the validation problems in the file and not only the first one (If I remember well XML parsers halt the parsing process at the first error...)?
    3. How can I transform the HTML to a valid XHTML? I have only to use RegEx or is there other tools to do this for XHTML and HTML problem?
    Thanks
    r
    Edited by: robertobat on Feb 21, 2009 7:09 PM

    >
    1. Neither of them. (Disregarding the fact that SAX and Xerces aren't in the same category and don't cover all the possibilities.I would say SAX default implementation in JRE and SAX parser in Xerces.
    2. I think you have "valid" and "well-formed" confused. And HTML isn't a dialect of XML so the idea of trying to use an XML parser to handle HTML isn't a good idea.I know very well what is the difference between valid and well-formed but I've used "validation" to represent all the conversion problem. But you are right. I'm convincing myself that using a XML parser as the first step is not a good idea.
    3. Well, this is the real question, isn't it? Those other two were just a waste. Don't screw about with regex, for one thing it doesn't work well for hierarchical structures and for another you won't finish in a finite time. Just use an HTML parser which can produce a DOM, like TagSoup for example. Or run them through HTMLTidy. You could also submit them to one of the internet sites which will validate XHTML for you.I've seen Tidy and its capability to convert an HTML to a XHTML and I think it is better then TagSoup because I have to implement this mechanism in a production environment and I want to use only open source projects that have a very long story and that are strong. But I'll see TagSoup as you say.
    I cannot use an Internet service to convert millions of private documents.

  • Why all these problems?

    im totally on hold after reading all these problems with the MBP SR. I thought long and hard and though my money is already paid in full Im not going for it yet! Might wait till Leopard is in it. Anyone having NO PROBLEMS!?

    I've had my MBP 2.4GHz for 3 weeks now, and I love it.
    I have had NO PROBLEMS whatsoever.
    It does seem to get very hot sometimes, and it worries me a bit, but apparently this is "normal".
    There is no screen "flicker".
    When I wear headphones, there are some barely noticeable electronic noises that are normal for an electronic (non hi-fi) device such as this, and a non-issue for me even as someone from an audio engineering background.
    I have seen the yellowish tint to the screen some have reported, but ONLY WHEN VIEWING FROM AN EXTREME ANGLE!
    This is a normal limitation of the technology and certainly not a defect.
    I come to this forum to find out what potential issues I should watch out for.
    I take all the negative reports with a grain of salt, knowing that they are typically far more rare than posts here would make it seem.
    You need to do your research, and realize that if a dozen folks report a problem, that is a fraction of a fraction of a percent of users.
    The ones to pay attention to are the ones with much larger numbers of reporters, such as this one http://discussions.apple.com/thread.jspa?threadID=986785&tstart=15 - about AirPort related kernel panics, which seems to be a very hardware-specific bug that doesn't happen to relate to me.
    I assure you, there are many more people, like myself, who are thrilled with their MBP purchases, than the ones that are having major problems - they just don't have a reason to post here.
    Also keep in mind that the unlucky few who do purchase a legitimately defective machine are understandably frustrated and angry. And it's human nature to want to believe that you are not just one of the unlucky few - misery loves company.
    So a lot of these folks try to convince themselves and others that the problems are wide-spread. Which, for the most part, they are not.
    Anyway, all that said, if you can comfortably wait until Leopard is released to buy your MBP, you absolutely should.
    My aging PBG4 couldn't run the software I'm being trained to use (FCP), so I couldn't wait any longer.
    It took every ounce of restraint I could muster to wait for the new MBP.
    I waited an extra couple of weeks after it was released, keeping an eye on these forums, just to rule out any major defects - which I did, despite the handful of reports that the sky was falling.
    At the rate technology improves and prices fall these days, it definitely pays to wait as long as you possibly can to make a high-end tech purchase (as difficult as it is to delay gratification).
    So - never fear - these machines are awesome! You can buy with 99.9% certainty that you'll be thrilled with your purchase.
    Sorry for the long post. Wait for Leopard if you can, if not buy without fear and ENJOY!
    -Dennis
    MacBookPro2.4GHz 15.4" matte, PowerBook G4 Ti 550 [FOR SALE], PowerMacG4 466   Mac OS X (10.4.10)   3rd gen iPod 30gig, 2nd gen Nano 8gig
    MBP 2.4GHz 15" Matte, PowerBook G4 Ti 550 [FOR SALE], PowerMac G4 466   Mac OS X (10.4.10)   3rd gen iPod 30gig, 2nd gen Nano 8gig

  • Scared to get a Neo2 Plat with all the problems here!

    I plan on getting a Neo2 Plat, but scared from all these problems that people are asking about...I dont want problems :(

    Quote
    kweckstrom I'm still a little confused you claim to have been building computers since computers were practically invented but you coulden't figure out how to get a new 939 board up and running reliably?? It's really not that hard.. not like the P90 (the pentium that didn't run)
    1 you check for compatability,
    2 you buy your parts,
    3 you put it together..
    4 it runs.
    First of all, you should read an entire post before replying. You must not have read it, because I obviously DID figure it out.
    If you look at the compatibility list for the MSI board, it's abysmal. They test VERY few modules, and they haven't tested anything newer. Newer modules (like the newer Corsair XL's or Micron Ballistix) remain untested, and aren't likely to BE tested "officially". The Corsair 3200LLPT's worked fine in my P4 rig. They worked fine on the Gigabyte 939 NF3 board. One can reasonably expect that they would have worked fine on the MSI, after all it's the same chipset.
    But no, they didn't.  Not even after upgrading my power supply. Yet if I slap all this stuff together on the gigabyte board, all was fine and dandy, even on a PS that only delivered 18A on +12v.
    When I tried out the ballistix, I ran into even worse problems, even after ignoring SPD and upping voltage to it's rated 2.8v. But after upgrading my Power Supply, those problems went away and the system is now rock solid and stable.
    I'm an older guy with a wife and 2 kids, not to mention a full-time career as a network engineer. I don't have tons of nights and weekends to work through nagging compatibility or stability issues. That's why I say I wouldn't put myself through that mess again.
    Quote
    If your buying enthousiast grade parts expect to do a little research first because it's a fact there are more untested parts and there will be some incompatabilities but it's absolutely no different than any intel platform of the same age..
    Maybe you should have had someone with a little more time and skill build a system for you??
    Then you may have been able to aviod these PEBCAK errors lol
    Taking the high road, I see
    You should actually read my post next time. I solved the problem long ago. I'm simply saying that this platform is an annoying one because there are tons of incompatibilities that lead to stability issues. That's fact, and you aren't much of an engineer if you dispute it.
    What you say about intel systems of the same age is completely untrue. You'd have a hard time finding an intel board that's incompatible with DDR2 by any specific vendor. You'd also have a hard time finding any intel boards that have quirks with PCI Express cards. You'll also have a hard time finding any Power Supply compatibilities with LGA775, because a specific type of power supply is required (dual-rail with PCI-E headers). Sorry, you're wrong here.
    On the Athlon64-939, out of the gate you'll have problems with certain hardware.
    Take the Geforce 6800's.... The 6800's don't require 2D and 3D clock speeds to be identical on a P4 system. The bios by default doesn't normalize clock speeds for 2d and 3d, because a 425mhz 2D core value uses power needlessly and doesn't make much sense. But if you're on the Nforce3 platform, you're FORCED to set them identically or your 3d games will stutter and eventually freeze.
    There's people with issues on Nforce3 using Fast Writes. Some people have to disable them. You simply don't need to do this on intel.
    There's people with issues using Audigy cards (the original Audigy 1). They cause BSOD's. This doesn't happen on Intel systems. They work fine there. (Audigy 2 is unaffected).
    If someone's doing research into problems regarding the Athlon64 platform, i'm not going to blow sunshine up everyone's butt. I'm going to tell it like it is. I'm not married to any specific vendor, and i'm not someone who's going to insult someone's system building or research skills because he ran into problems with his latest build.
    These problems are VERY real, and if you read this board it's LOADED with people who are having issues with stability. You shouldn't be quick to blame their research or skill with a screwdriver.

  • I want to get a macbook pro but Im afraid of all these problems

    I need to get a new laptop for 3D(Maya) work and some Design.. I want to get a macbook pro but I am very very worried of all these problems Ive been reading about. Whine? Too Hot? sigh....

    Well here's a simple solution if you don't feel like sending in your MBP 2, 3, and 4, maybe even 5 times to AppleCare for recurring issues: Wait until the next revision of the MBPs which will hopefully bring about the introduction of the Core 2 Duo (Merom) chips. It shouldn't be too far off in the future and if the new chip is as good as everyone's saying it is, the wait will be well worth it. The CPU whine of my MBP is HORRIBLE and to me it makes the machine utterly useless when I'm working in the lab as I need to concentrate; I'm back on my PowerBook.
    I realize that my situation is unique in that I'm working in a sound-sensitive environment. However, I paid the similar price tag on my PowerBook and this machine has been flawless. I bought the AppleCare for it and have yet to send it in for anything. My MBP is maybe 4 months old and has been to Apple's repair depot 4 times. In fact, for the first 2 and a half months of ownership, Apple had my MBP more than I did.
    Apple may have fixed the problems by now with their newer MBPs but that's anyone guess, and it's solely a gamble as to what week build MBP you'd get and what kind of problems it will have.
    My advice: I strongly recommend waiting if you can. Even if you don't work in a sound-sensitive environment, you will get great peace of mind knowing that your computer will perform, look, and sound like a well-built, $2000+ machine (hopefully).

  • From all the problems in the community, I think I will stay with Lion OS, LOL.

    From all the problems in the community with Mountain Lion, I think I'll stay with Lion. The upgrade just doen't seem worth the hassle!

    This is the Emergency Room of Apple-land.  If aliens landed on Earth to invade and first visited an ER in a hospital, they would leave and expect humanity to be extinct with a week.
    Many many many people have not reported success with ML because they are busy using it.

  • Can't connect to itunes with iphone and followed all toubleshooting problems!!

    can't connect to itunes with iphone and followed all toubleshooting problems!!

    Try taking a look at this Apple doc -> iOS: Unknown error containing '0xE' when connecting to a Windows PC
    It should be able to help with that error.

  • TS1459 Win 7 , itunes store will not accept Apple ID, on the diagnostic program says secure link failed spoke to tec.dept they say Win security problem ,, turned all off problem still the same any ideas please

    TRYING TO AUTHORIZE MY COMPUTER>>>>>>>on the diagnostic program says secure link failed spoke to tec.dept they say it's a Win security problem ,, turned all off problem still the same any ideas please Ipad ,
    (((Strange thing is Apple want me to purchase assistance to enable me to buy from thier store)))

    You should send this to Apple.

  • TS5376 why all the problems with itunes?  If i uninstall itunes do i lose all my music and books?

    problems with itunes.  being instructed to totally uninstall in a specific order and if i fail untold evils will occur.  why all the problems?  Also, if i uninstall, do i lose all my music and books????

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • All the problems

    Since updating my phone to 2.0.0 or what ever i have had more problems then ever.
    1.) texting delay with typing and the showing up when trying to write some one.
    2.) no service, about 50% of the time i will have to service when i am postive i should.
    3.) freezing up and having to restart constantly.
    4.) apps work for a bit then randolmy stop, or just shuts phone off.
    5.) sending messages to wrong person, this has only happened once but i sent a text to one person and it some how it sent it to another person in my phone also.
    6.) LOW BATTERY ALLLLL THE TIME. i can charge my phone all night on any iphone charger and it will still die with in an hour or two after using it.
    Now come on this is annoying all these problems after updating what do i doooo..

    First ill start by saying zap your pram then i would say if that didnt work reinstall
    then the second thing you mentioned is your fault to answer that question DONT RENAME YOUR HOME FOLDER so many complian about that
    and if wiping it clean doesnt work then call apple

Maybe you are looking for

  • I can no longer open pdf files in safari 6.02.

    SAFARI CAN'T OPEN PDF'S ? I can no longer open pdf files in safari 6.02.  It worked fine up until  2 weeks ago.  The pdf's open in Foxfire and Chrome browsers. I can also download the pdf and open in acrobat directly.  Safari only shows the file as A

  • Post .mac site to another domain name still on mac server?

    I have both a domain name that is .mac and a .biz url. I do not have another server to upload to (I just own the domain name), and would like to use my .mac website designed using iweb '06 v.1.1.2 and load it on the mac server but have the .biz url b

  • DVD-R or + R for DL?

    Hi - what is the best format to use for iDVD that is most compartible with most DVD players? keep in mind that I have to use a dual layer since my video is 2 hours 30 minutes. DVD-R DL? DVD+R DL? thanks

  • Why the "Import Data from Another Browser" option cannot be chosen

    I click on History on the menu, then, Show All History option, a new window appears called Library. I click on the button: 'Import and Backups', a drop down menu appears with the option 'Import Data from Another Browser'; however, this option in my b

  • Table Name "SAWITH0"

    when iam running the AD Hoc Report by taking one Attribute from Dimension Folder & the Other Attribute from Measure . I am Getting the Measure results as "0" which have Number when i run with out taking any Dimension Attributes. In the Back end I see