When is customization dangerous even if the BADI's/exits are all there ????

In this blog post here:
/people/david.halitsky/blog/2007/03/08/the-astrobiology-of-enterprise-soa-how-planet-abap-can-seed-life-on-planet-bpx
I gave a schematic outline of the badi's and exits required to customize SAP QM in a particular way.
Up until recently, it was thought that we only had to use these badi's and exits
to update QALS records in order to link an inspection lot to an inspection plan that is not the one that standard SAP logic picks.
But it turns out that we not only have to update QALS in this way, but also delete SAP-added records from AFFL, AFVC, AFVU, and AFVV and re-add our own corresponding to the operations in the non-standard plan we're selecting for the inspection lot.
OK - so we know exactly how to do these deletes and re-adds, because the way  SAP does the original inserts into AFFL/AFVC/AFVU/AVFF (during a MIGO goods receipt post) is perfectly clear - the sequence of FMs and forms is:
FM's:
qeev_tables_generate
qpap_plan_read
qpap_post_qapo
co_bt_order_post_qm
co_vb_order_post
FORMs performed from co_vb_order_post:
affl post
afvg_post (takes care of afvc, afvv, afvu)
But even though we know what we're doing, and even though we can do everythign we need to do with an SAP-delivered BAdI or exit, maybe what we're doing is still too dangerous because we're relying on SAP keeping a number of different files interrelated in exactly the way they are now:
QALS
MAPL
PLKO
PLFL
PLAS
PLPO
AFVC
AFVV
AFVU
AFFL
What do you think ?
Thanks in advance for whatever time you can afford to spend considering this matter ...
djh

Hi Stephen -
I appreciate the responses from you and Chris very much, because my current customer is right now grappling with the question of whether what we "need" to do is actually too much dangerous over-customization.  So this is not a discussion in the usual "theoretical vacuum".
I want to explain why I think the "direct update" rule here MAY not apply in this particular case. 
But before I do, I want to make very clear that I was the one who brought this situation to management attention when it turned out that NINE core SAP tables were involved, not just ONE.  So whereas I felt more or less comfortable with one update to one table to repoint an inspection lot to a different inspection plan than the one which SAP selects, I didn't feel at all comfortable with direct updates to eight other core tables, particular when these involve what amount to "key field updates" - effectively, "deletes/re-adds".
That being said, the details of this particular case involve the fact that when we go for the eight core SAP tables, we are not doing anything other than doing exactly what SAP does, but with different "ALLOWABLE" choices.  There are SAP delivered transactions which allow a customer to choose the inspection plan that will be associated with a given inspection lot.  These transactions record the customer's choice in two different ways: 1) first - in the relationships among the rows of PLKO, PLAS, PLFL, PLPO; 2) second - in the relationships among the rows of AFFL, AFVC, AFVV, and AFVU.  So what we're doing in the exits/BAdI's is:
1) undoing the choice of inspection plan that SAP has made and recorded in these tables;
2) recording our "custom" choice of inspection plan in these tables.
For this reason, it is difficult to BLINDLY apply the "don't do direct updates" and "don't do something SAP doesn't anticipate you doing" rules.  Because on the one hand, it is true that SAP does not specifcally say in the BAdI documentation or exit parameters: "use this exit to change choice of inspection plan" or "use this BAdI to change choice of inspection plan".  But on the other hand, we are not using the exits/BAdI's to do anything different than SAP already does when MIGO GR posting triggers inspection lot creation and inspection plan assignment.
With respect to the "watch-out for problems during upgrade" rule of thumb, it is also difficult to apply this rule blindly because it turns out that in our case, all the columns in the relevant tables are KEY columns.  And for that reason, it is hard to imagine SAP changing its fundamental "E-R diagram" for QM during the course of any future upgrade.  And if this possibility is, in fact, remote (i.e. if SAP cannot really change the "E-R" key columns of QM tables without rewriting QM from scratch), then the "upgrade problem" issue really doesn't arise.
Anyway, I want to close this post by saying that the functional analysts who proposed the customization in the first-place do NOT think that direct updates of nine core SAP tables is overly dangerous, and this is why management has to make a difficult decision between what the functional consultants are saying and what the in-house development lead is saying.
As a consulting developer, my job (fortunately!) is to collect the relevant facts and present a clear picture to the development lead, so that he or she can in turn present a clear picture to management.
It will be interesting to see the eventual outcome of this situation, and I will of course report this outcome back to this thread.
And again, thanks very much for taking the time to respond.
djh

Similar Messages

  • HT1178 I have set up Time Capsule to use with Time Machine.  When I open Time Machine it 'cannot find' the Time Capsule and I have the Select the Disk each time.  In the Next Backup tab it always says "When disk is connected" even though the disk is alrea

    I have set up Time Capsule to use with Time Machine but when I open Time Machine it 'cannot find' the Time Capsule and I have to 'Select the Disk' each time. In the Next Backup tab it always says "When disk is connected" even though the disk is already connected.

    Your pro doesn't matter.. I presume it is happily working.
    Your imac setup has got messed up because you changed from a local (my book being USB type I presume) to network drive. Did you do a clean install of Lion?
    Did you use the backup from the Pro on the imac? Otherwise I don't see how the Pro shows up in use previous disk. Where is Pondini when you need him??
    You cannot download Time Machine as an App and replace the current version. It is built into the OS.. the only way to do it is a clean install. Unfortunately that might be the only way around the issue.
    There is a number of issues that Pondini has covered in the setup issues of troubleshooting.
    This is the most relevant I think. http://pondini.org/TM/B6.html
    But look at the whole section B setup problems.
    http://pondini.org/TM/Troubleshooting.html
    If it was me, I would store all the info you need.. not using TM but using a straight copy of files.
    Then clean install Lion. I doubt any of these issues would exist if you had not installed Lion over existing setup or used a different backup.
    See if you can get Pondini to respond.. !!

  • If I get a text on my iphone do dose my mum when she don't even have the number

    I get a text from my friend on my iPhone but then my mum gets it as we'll when she doesn't even have the number?   Help if u know how to fix this 

    Use your own Apple ID.
    Settings > Messages > Send & Receive > here

  • HT1351 When I import cds to itunes the albums do not contain all songs. If there are multiple artists or a duet, each song shows up as an album.

    When I import cds to itunes, the albums do not contain all songs. If there is a duet, each duet is listed as a separate album.
    As an example," Genius Loves Company" or "Tuskegee" each are listed as many albums---each album has a separate song.
    I spoke to Apple Help and they were of some help, but did not answer the question.

    Unfortunately you've discovered too late how important it is to maintain an up-to-date backup of your iTunes library (and all other data of value).  You could, before wiping the drive, have considered making use of a commercial data recovery service that could (albeit at considerable cost) have extracted your library from the hard disk, even if virus infected.
    In the absence of that option, you will need to restore the content of your library from its original sources:
    Depending on your location, you may be able to re-download any iTunes Store purchases that are still available on the Store
    Likewise, most digital purchases from Amazon (including auto-rip copies of purchased CDs) should be available from the Amazon Cloud and via the Amazon Music application - the same may be true of other commercial sources for digital downloads
    Content imported from your CDs will have to imported again
    The specific situation that you describe regarding the music imported from your friend's external HDD suggests that either the source is badly organized and/or originates from a source other than iTunes (other media players may use alternative tags for information like artist, title, album, etc. that are not wholly consistent with how iTunes handle these).  Without details of the issues you're seeing it is difficult to suggest a remedy other than going through the media album-by-album, track-by-track, and correcting the inconsistencies.
    In the absence of a backup or access to the original library data there is no option other than painstakingly recreating your library as described above.  As you do so, you'll now realize how important creating and maintaining backups are - in my case I have at all times three separate duplicates of my library, in two different locations, where none is ever more than a week old compared to the content of my master library.

  • One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone esle sends me I can't view the images. Thye are all blank white squa

    One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone else sends me) I can't view the images. They are all blank white squares. This started a few weeks ago. Why can't I view Picasa link images through Mail?

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • I have photos on a cd which I'm trying to open .  If I click on them I can see the picture in the preview, but when I double click it doesn't recognise the picture.  They are all in .jpg format.  Tried copying them but it said some data cannot be read.

    I have photos on a cd which I'm trying to open .  If I click on them I can see the picture in the preview, but when I double click it doesn't recognise the picture.  They are all in .jpg format.  Tried copying them but it said some data cannot be read.  The files exist but I just can't seem to view them

    Select one and hit the Space bar to view it in QuickLook. Use the forward arrow keys to move from file to file.   If the file can't be viewed in the QuickLook mode then the file is damaged and probably can't be copied or moved.
    You could try a photo file recovery application like  MediaRECOVER which can scan the memory card and tell you what files, if any, can be recovered before you have to purchase it.
    OT

  • When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

    When I am on my home screen on the iPhone, swipe left to the search page. Put a letter in the search field. then scroll down. eventually you get to all your texts previously deleted or not. The are all there. How can I clear the entire text from the phone

  • When sending an email, I click addresses, and the list is blank.  However, when I click the address in the tool tray, they're all there.

    When trying to send an email, I click address in the "New Message".  The "Addresses" screen appears, but it's blank.  However, when I click the address book in the tool tray, they're all there.  Does anyone have the solution?

    Barney,
    I have four groups.
    I just typed the name of one of those groups in the To field on the iPhone's email, and received:
    Invalid Address
    "<group name>" does not appear to be a valid email address.  Do you want to send it anyway?
    I clicked continue and it remains in my outbox.
    Help is appreciated.
    Thanks,
    Michael

  • Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place. Tks

    Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place? I know there are different possibilities to set.
    I tried but it not helped for me. What I can do? How and where can set this they stay on their place?
    Thanks.
    laci

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • TS1424 I have bought a book from iBook and even though my gredit card was charged immediately and the book was downloaded the first 12 chapters are not there! It says there is an error ... and the book starts at chapter 13. What do I do? Where do I compla

    I have bought a book from iBook. My credit card was charged and the book was downloaded. There is an error and the first 12 chapters are not there! The book has the prologue and info and then chapter thirteen. How do I get the whole book?

    I have bought a book from iBook. My credit card was charged and the book was downloaded. There is an error and the first 12 chapters are not there! The book has the prologue and info and then chapter thirteen. How do I get the whole book?

  • My iPhone will no longer pick-up the wifi at home(comcast). My mom used to have comcast and I used to connect there as well, but she changed to verison and I connect there, but no longer can get the comcast wi-fi at home.  the wi-fi settings are ok there,

    My iPhone will no longer picks-up the wifi at home(comcast). My mom used to have comcast and I used to connect there as well, but she changed to verison and I connect there, but no longer can get the comcast wi-fi at home.  The wi-fi settings are ok there, but blank at home now.  The phone's network settings are fine because I can join other wifi networks.  I've done a reset with no results.  Is there a manual way for me to restore the comcast wifi from the router?

    First thanks for the reply and second sorry about the confusion.  I was unable to get the full message out, but here's the problem:
    Like I had mentioned, for a long time both me and my Mom had comcast and as soon as I came into both dwellings the phone would automatically jump onto either wifi network.  Then a while ago she verison and used the same Belkin router.  So there was no problem and my phone jumped on her system as usual, but at some point something happened and when I got home I noticed that the phone asked to be put on my system.  I would input the password, but it would say "unable to connect" to the network.  I did the standard things like check the network settings on the phone itself and they were fine.  Then I did a reset (actually twice) with the same result.  It seems like the phone ability to pick-up wi-fi is ok because when I go to my University I can log-in with no problem.  The only thing I noticed is when I look at the settings (on the iPhone) for the router at home the whole thing is blank.  My question is: Is there a manual way to get the phone to pick-up my router?  I need to have it on my network at home because I use DocumentsToGo a lot.  Thanks again for your response again and I hope things are clear now.  Have a great day.
    Michael

  • Some movie rentals i can transfer from ipad but most not! Whats the problem? They are all SD.

    Some movie rentals i can transfer from ipad but most not! Whats the problem? They are all SD. Some are watched others not. It just seems to be a fluke sometimes that they show up in the rented movies when i sync. And bought movies I always have to manually transfer to my computer!

    How did you rent them ? From http://support.apple.com/kb/HT1657 :
    If you download a rented movie on your computer: You can transfer it to a device such as your Apple TV (1st generation), iPhone, iPad, or iPod if it’s a standard-definition film (movies in HD can only be watched on your computer, iPad, iPhone 4 or later, iPod touch (4th generation or later), or Apple TV). Once you move the movie from your computer to a device, the movie will disappear from your computer's iTunes library. You can move the movie between devices as many times as you wish during the rental period, but the movie can only exist on one device at a time.
    If you download a rented movie on your iPhone 4 or later, iPad, iPod touch (4th generation or later), or Apple TV: It is not transferable to any other device or computer.

  • In iTunes under my device, under the apps tab, Why are all the options shaded out?  I cannot make any changes, select any apps or do anything with the apps.  I was able to load a few apps and sync but cannot sync anymore to my phone.

    In iTunes under my device, under the apps tab, Why are all the options shaded out?  I cannot make any changes, select any apps or do anything with the apps.  I was able to load a few apps and sync but cannot sync anymore to my phone.

    Hi,
    ( I search for iChat questions when I have finished in the iChat Forum)
    So the menu bar reads iChat, File,  Edit,  View, Buddies, Video, Window and Help
    There is no Buddy List open.
    There is no other window for iChat open.
    In the iChat Menu you only have access to Status.
    Is an item ticked in the list ?
    Is this a green (Available item) or  Red ( an Away one) ?
    Can you access the Accounts option ?  (Sitll in the iChat Menu)
    Is anything in here ticked ?
    In the Window menu any Logged in account should appear in the list  (Between the Next Chat and File Transfer items)
    It would be useful to know which version of iChat this is.
    If no account is ticked (iChat Menu > Accounts) or not showing in the Window Menu, plus you cannot determine the Status and you cannot access the Preferences then you need to access your Home Folder/Library/Preferences
    As the Library in the Home Holder is Invisible in Lion you will need the Finder's Go Menu > Go to Folder option  (you can use it in earlier OS versions if you want)
    Type in:-
    ~/Library/Preferences
    Find the file called com.apple.ichat.plist
    Drag it to the Trash and Restart iChat.
    This will lose all the settings in iChat that you have changed from Defaults but there is no way around this.
    9:23 PM      Saturday; August 27, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • HT1751 This was extremely helpful, however, all the songs I had unchecked in my library are now checked on on my new MacBook.  My playlists are all there, but I do I really need to uncheck the ~3,000 - 4,000 songs I had previously unchecked?

    All the songs I had unchecked in my library are now checked on on my new MacBook.  My playlists are all there, but I do I really need to uncheck the ~3,000 - 4,000 songs I had previously unchecked?
    My original library exists on my old computer, so I could still transfer it.   Any suggestions are welcome and appreciated - thank you!

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • HT1351 Syncing music files - what it "says" are on the phone vs. what are really there

    When I sync my music files, it says I have 6.0+ GB space available after the sync, but when I go to the playlist, they aren't all there.  For example, it says 107 songs "on this iPhone"for one particular playlist, but only 90 actually exist there to be played.  When I click on some of the songs, then in a sort-of sub-album, other songs do exist, but when I want to just shuffle through the playlist, it only plays the 90, not the other 17.  I don't want to have to open things on the phone when I'm driving - I like to just shuffle-play through.  How in the world do I get all 107 to actually be there to be played?  I clearly have space on my phone.  Help?!?!?
    PS - All of the appropriate boxes are checked for the 107 songs, so they should be synced to my phone from my iTunes account.

    Hello jwonna9,
    Thank you for visiting Apple Support Communities.
    The documents/data section includes data created with apps and that data is stored in those Apps.
    Understanding iOS device capacity
    http://support.apple.com/kb/ht1867
    View usage on iTunes
    iTunes divides used content into categories indicated on the bottom of the screen when you have selected your device.
    Audio: Songs, audio podcasts, audiobooks, voice memos, and ringtones
    Video: Movies, music videos, and TV shows
    Photos: Camera Roll contents, Photo Stream, and Photo Library
    Apps: Installed apps
    Books: iBooks books and PDF files
    Documents & Data: App content, such as contacts, calendars, messages, emails, and their attachments, Safari Offline Reading List, and files that you've created in your apps
    Other: Settings, Siri voices, and other system data
    Hover the pointer over the content for more detailed information, such as usage and item count:
    On your iPhone, go to Settings, General, Usage, Manage Storage to see what apps are using the most storage and maybe clean them up.
    Best,
    Nubz

Maybe you are looking for

  • Vendor master Archiving

    Hi Experts,          I am trying to Archive the vendor master.The process i am following is like: 1.In XK06 - Deletion flag for the vendor. 2.Then went to T-code-F58A.Then in that i maintained the Variant name as vendor_del.After that i click on main

  • How do I remove an unknown apple id from my iPhone which runs ios 7?

    I have an iPhone 4 which has been upgraded to ios 7 and someone logged in with an unknown apple id and now find my iPhone is also turned on. I do not have the password so how do I delete my id? Each time I try it'd ask me for the find my iPhone passw

  • Selection Criteria in Payment Parameters

    Hi, I have configured APP, and now I want to create Selection Criteria in the Free Selection tab of the Payment Parameters. Can anybody tell me how to create Selection Criteria? Thanks, Govindappa.

  • Flash Builder - Exit Code: 6  - 0 fatal error(s), 6 error(s), 4 warning(s)

    Hello, I can't install Flash Builder or Catalyst. They are both part of CS5. I've had a look at the forum and tried a couple of things ·         Run as administrator, re-installed Flash Builder or Catalyst ·         restarted computer in a minimised

  • Deski VBA : SaveToEnterprise raises a Type Mismatch error

    Hi all, Can anyone tell me why, in this little sub, the SaveToEnterprise method crashes with a "error (13) Type mismatch" (as a manual "Save to enterprise" or the SaveToEnterpriseDialog function are working well...) Sub Publish_Document(strSourceFNam