Is I have to create different enhancement implementation for diff. code are

Hi,
   I want to modify standard program in 3 different part  through enhancement framework.
Is I ave to create 3 different enhancement implementation or i can use only one?.
Regards,
Himanshu

Hi,
              Below is given code which i have added in copy of stranded program at diff. code ares and its running fine.
             Now i want to write in stranded code through enhancement framework.
             I dont think we can write it in 1 place.? what you say.
Internal tables
******Added By Himanshu*****
         BDMNG               LIKE  RESB-BDMNG,
******Himanshu*****
***Himanshu modification*****
   DATA: BEGIN OF xtab1 OCCURS 10,        "Tabelle der Reservierungen
         werks LIKE resb-werks,
         lgort LIKE resb-lgort,
         charg LIKE resb-charg,
         matnr LIKE resb-matnr,
         bdmng LIKE resb-bdmng,
         bdmns LIKE resb-bdmng,
         erfme LIKE resb-erfme,                      "ALRK014884 SW
         erfmg LIKE resb-erfmg,                      "ALRK014884 SW
       END OF xtab1.
  DATA: kzwso LIKE mara-kzwsm,
        ytab1 like xtab1 occurs 0 with header line.
RANGES: xbdart FOR resb-bdart,
        MS_WERKS FOR MARC-WERKS.
REFRESH XBDART.
  CLEAR   XBDART.
  XBDART-SIGN   = 'I'.
  XBDART-OPTION = 'EQ'.
  XBDART-LOW    = 'AR' .
  APPEND XBDART.
  XBDART-LOW    = 'MR' .
  APPEND XBDART.
  REFRESH MS_WERKS.
  CLEAR   MS_WERKS.
  XBDART-SIGN   = 'I'.
  XBDART-OPTION = 'EQ'.
  XBDART-LOW    = 1010.
  APPEND XBDART.
end Himanshu********
FORM data_selection.
****Himanshu*****
  data :  begin of it_mat occurs 0,
            matnr like mara-matnr,
            end of it_mat.
  select matnr  into corresponding fields of table it_mat
                      from mara
                    where matnr in matnr.
    CLEAR: XTAB1  . REFRESH XTAB1 .
    loop at it_mat .
  CALL FUNCTION 'MB_ADD_RESERVATION_QUANTITIES'
    EXPORTING
      X_MATNR = it_mat-matnr
      X_XLOEK = SPACE
      X_KZEAR = SPACE
      X_KZWSO = KZWSO          "ALRK014884 SW
    TABLES
      XTAB1   = XTAB1
      XWERKS  = MS_WERKS
      XBDART  = XBDART.
      ytab1 = xtab1.
      append ytab1.
      endloop.
****end himanshu*****
FORM fieldcatalog.
*****Himanshu Modification******
    loop at ytab1.
    read table bestand  with key matnr = ytab1-matnr.
    if sy-subrc = 0.
     bestand-bdmng = ytab1-bdmng.
     MODIFY TABLE bestand .
    endif.
    endloop.
******end Himanshu *******
*****Himanshu Modification******
     CLEAR fieldcat.
  fieldcat-fieldname     = 'BDMNG'.
  fieldcat-tabname       = 'BESTAND'.
  fieldcat-ref_tabname   = 'YTAB1'.
  FIELDCAT-SELTEXT_S = 'Reserved'.
  fieldcat-outputlen     = 8.
  APPEND fieldcat.
*****end Himanshu******

Similar Messages

  • Creating Enhancement Implementation for the  Enhancement spot in ECC 6.0

    Hi All,
    I have an urgent requirement of creating an Enhancement implementation for the existing Enhancement Spot in ECC 6.0 ..
    I never worked on enhancement in ECC 6.0.
    There is an existing enhancement spot called "ES_SAPLIQS0" in the package " IWOC". which has got three existing implementations
    1. DI_ROT_SAPLIQS0
    2. ISU_SAPLIQS0
    3. DIMP_GENERAL_SAPLIQS0
    I need to create another implementation for the same enhancement spot.. Please let me know the detailed procedure to create the enhancement implementation for the same spot..
    Thanks-
    Shrikant
    useful answers will be rewarded.

    First of all find out the include program where you want to write the logic.. Click the spiral button to go to enhancement mode.. then click on Edit > Enhancement operations> Show implicit enhancement points.
    This will hightlight all the enhancement points in your include program. Right click on exact enhancement point and select Enhancement Implementations --> Create,, It should give you the same Enhancement spot you are talking about. select that and write the code.. This code will be automatically appear in the same enhancement spot. You can see one more Enhancement implementation in the same Enhancement spot from the transaction code se19.
    Hope my explanation is clear, if you have any doubts, send me a mail at [email protected]
    All the best.
    Shrikant

  • Enhancement implementation for enhancement spot DPR_EVENTS

    Hi. SAP Export.
    I created an enhancement implementation for enhancement spot DPR_EVENTS, and set the filter value equal to ON_TTO_IN_PROCESS, it means the code executed when user set system status to u2018IN PROCESSu2019.
    I added my code to do some logical check in the method IF_EX_DPR_EVENTS~ON_EVENT, if the check failed. I can show an error message on the cProjects, BUT I CAN STILL SAVE THE DATA with ERROR. It looks like the error message is not useful.
    Could some one please kindly help with provide a solution to solve this issue?

    Can you please elaborate, what exactly is the requirement? Do you want that the message should be displayed as warning & processing should continue or something else?

  • Do I really have to create two separate Apps for Ipad1/2 and iPad3?

    Hi there DPS-Team
    I want to create an iPad-Magazine using the DPS. I read all the stuff about the alternate layouts and watched the videos on the channels. Now I ran into what I might call a problem for that I couln't find a solution yet. With my creative cloud membership I can create unlimited app using DPS...but I simply cannot create one app that supports iPad 1&2 + iPad 3 display resolution???
    Here in that article that I ran into where you suggest NOT to create an only iPad3 version: http://blogs.adobe.com/indesigndocs/2012/03/guidelines-for-creating-folios-for-ipad-3.html
    - So if I want one issue of a magazine to be iPad3 compatible then I have to create another app?
    - Or how this works? I have no expierience in how that looks in the App Store. But does Apple show both versions of the same App in the Store?
    - Does the user see both versions of my App in the App Store or only one depending on the version of the iPad he posseses?
    - Do I would have to create a diffrent icon for the SD as well as the HD-app so reader could choose in the App Store?
    Example: All my apps on my iPad2 of course have 1024x768 but when I recently syncronized the iPad3 with iTunes then I automatically get the update-Info over the App Store icon that I can update the new version of the App optimized for the Retina-Display.
    I mean that is a simple feature that nearly all apps are offering. Of course if I would not use the DPS I would have to again hire a developer and pay him for updating my already published app...but at least he could resubmit it supporting both resoutions.
    I hope you are getting my point here.  That is an important feature that should be build in no matter if I am a Single Edition customer or Business or Enterprise one. If you would do a catalog or something else for your client, he sees that all his apps on his iPad are updating according to his new device. But the catalog app that I did for him not. He would ask why can't you build it that way for me?  I would have to explain him: Sorry I cannot create both version in one app, you and your clients have to download two versions of your app if you want to have it look nice. That is not a very good selling argument for me.
    I really have to say that if there is no workaround, I am a bit disapointed because it does not make sense to create two seperate apps of the same app. I really would be happy to receive some helpfull advise on how to get both resolutions supported and when that is going to happen or even better...I misinterpreted the whole thing.
    And please: NO I don't want to upgrade to business or enterprise edition!
    Thank you for your words of advise, opinions and help.
    Regards
    Sushil

    Dear Bob,
    I will try that out.  But do you see any chance in the near future that when you create an article out of InDesign, that you can then add multiple layouts with different resolutions? Then I wouldhave one article that contains iPad SD&HD as well as V&H.
    So that would be a time saver. Create only one folio that already have the different resolutions covered. I only would have to work with one article inside folio-file for all the devices. Just a thought.
    Thank you for your quick response.

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    I have 2 iphones4! Do I have to create one apple id for each device or I can have both in one apple id? I'm asking cause I'm trying to run findmyiphone app for both devices!

    Here's what I do. My wife and  I each have an iPhone. We each have our own Apple ID. I also have another totally separate Apple ID. The ONLY thing that one has been used for was to set up Find my iPhone for our phones and my iPad. There is no reason the MobileMe setting for find my iphone can't be something completely different from your regular Apple ID UNLESS you already use MobileMe, in which case the 2 conflict in ways I don't understand as I don't subscribe to it.

  • Is there a way on how to create different Synch settings for iPhone / iPad

    Okay,
    My first time in this forum. I have an iPad and an iPhone. Everytime I sync my iPad and my iPhone with iTunes the sync settings are the same in both devices. So everytime I sync devices Apps that I have in my iPad show up in iPhone and vice versa. Is there a way to create different sync settings for my iphone and iPad?. Basically I do not want Apps from my iPads to be synched with iPhone and Apps that I have in my iPhone to be synched with my iPad. It is kind of annoying that everytime I synch I have to remove apps from my iPhone.
    Can I also do the same for playlists?

    Each device has its own set of sync preferences. What you may be seeing is the result of the Automatically sync new Apps option listed underneath the list of apps on the Apps tab. Untick this for each device next time you sync and then purchases made on one device won't automatically turn up on the other. You shoud also make sure automatic downloads are disabled in Settings > iTunes & App Stores.
    tt2

  • How to create different log files for different users in log4j

    I want to create different logs for different users, using different appenders for each user so that logs are created in his file only.
    Confusion:How to direct them to different files in my logger class

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Can we create different reservation no for each auto PR created through PS.

    Hi Gurus
    With reference to above captioned subject, can we create different reservation no for each auto PR created through PS
    Thanks in advance
    Regards
    Abhijit Sen

    Hi,
    The reservation number will be same for all the material components in one network.
    so as long as there are "n" components in one networks then all the "'n" components will have the same reference number.
    If you need different reservation numbers then need to maintain those components in multiple networks.
    Hope its useful.
    Reward points if useful.
    Thanks..

  • How do I create different contacts lists for two iphone/users?

    How do I create different contacts lists for two iphone/users?

    Sorry. This doesn't make a lot of sense. Each iPhone user should have their own cloud accounts with which to sync contacts.
    The iPhone is not a multi-user device.

  • I have an email address that was used on one Appleid account and I have now created a separate Appleid for another device. Is it possible to transfer that icloud email address to the new Appleid account?

    I had multiple iPhones and iPads associated with the same apple account and I have now created a separate account for two of them.  The question that I have is whether there is a way to transfer the icloud email address to the new account?

    Welcome to the Apple community 1960gmd.
    Once an iCloud address is used for an Apple ID, you can't use it for any other.
    Why would you want to use another Apple ID if you already have the address you want to use in another.
    If you want your email on all devices but use a different ID for iCloud add it as a secondary account at settings > mail, contacts, calendars and just enable mail.

  • How can I sum up raws? the sum function seems to work for columns only and right now I have to create a separate formula for each raw

    How can I sum up raws? the Sum function seems to work only on columns. Right now I have to create a separate formula for each raw

    Hi dah,
    "Thanks, but can I do one formula for all present and future raws? as raws are being added, I have to do the sum function again and again"
    You do need a separate formula for each group of values to be summed.
    If the values are in columns, you need a copy of the formula for each column.
    If the values are in rows, you need a copy of the formula for for each row.
    If you set up your formulas as SGIII did in his example (shown below), where every non-header row has the same formula, Numbers will automtically add the formula to new rows as you add them.
    "Same formula" in this context means exactly the same as all the formulas above, with one exception: the row reference in each formula is incremented (by Numbers) to match the row containing the formula.
    Here the formula looks like this in the three rows shown.
    B2: =SUM(2)
    B3: =SUM(3)
    B4: =SUM(4)
    That pattern will continue as rows are added to the table.
    Also, because the row token (2) references all of the non-header cells in row 2, the formula will automatically include new columns as they are added to the table.
    Regards,
    Barry

  • Do we hav to create a separate repository for Designer Repository??

    Hi
    I have created a repository using a Repository Assistant. Do we have to create a separate repository for Designer Repository??? If so, how do we create a Designer Repository??
    Message was edited by:
    user536189

    Hi,
    The basic installation of OWB paris makes a repository owner and a repository user for you.
    This owner serves as the design repository owner as well as the runtime repository owner.
    For creating your mappings and deploying and executing them you just need to associate a target schema with the repository owner which you can do from the repository assistant from within the design center.
    I hope you are talking about OWB paris and I have been able to guess your question correctly.
    Regards
    -AP

  • HT2534 I have just created an Apple Id for itunes, it is allowing me to get to the debit card stage but they no longer accept Visa Debit, there is no other option for me as i dont have any other cards and there isnt a 'none' option! HELP!!

    I have just created an Apple Id for itunes, it is allowing me to get to the debit card stage but they no longer accept Visa Debit, there is no other option for me as i dont have any other cards and there isnt a 'none' option! HELP!!

    How did you create the account ? Unless you followed the instructions on the page that you post from exactly then you won't get the 'none' option and you will need to enter payment details - those instructions won't work on existing accounts.
    I tried those instructions a week ago in response to another thread and I got the 'none' option on it e.g. on my computer's iTunes I logged out of my existing account, found a free app in the store, clicked on its 'free' price, clicked on 'create Apple id' on the popup, and after agreeing to the terms and filling in my details I was able to select 'none' as my payment option and download a free app with it.

  • T440s - Enhanced functions for this application are available

    Every time I open one of the Lenovo apps like like Support or Companion, I get the message "Enhanced functions for this application are available".  I click the message, a browser opens up, I download "dependecypackage.exe", I install, setup asks for a restart and I let it, and the process repeats again and again.  I keep getting this "Enhanced functions..." message.  It is driving me crazy.  How do I end this cycle?
    T440s
    i5-4300U
    4GB RAM
    256GB SSD
    Factory Win 8 upgraded to Win 8.1
    Solved!
    Go to Solution.

    Hi larrykl,
    Try manually installing the latest version of Lenovo Settings Dependency. You need both Lenovo Dependency and Lenovo Settings Dependency for all the Windows 8 apps to work.
    Tell us how it goes!
    I don't work for Lenovo. I'm a crazy volunteer!

Maybe you are looking for