Correction in logic

Hi Everyone,
For the enhancement V56AFCCH EXIT_SAPMV56A_001 Shipment processing: Check function code
following code is written in INCLUDE ZXV56U18.
The include program ZXV56U18 contains the logic for populating the fields VBPA-PARVW_SP and LIKP-ROUTE to the respective fields of VTTK table i.e. VTTK-TDLNR and VTTK-ROUTE.
In VT01N transaction these 2 fields should get populate..so following logic is written in user exit..
But it is not working so please make the necessary correction.
DATA: BEGIN OF ILIKP OCCURS 0,
      ROUTE LIKE LIKP-ROUTE,
      VBELN LIKE LIKP-VBELN,
      END OF ILIKP.
DATA: BEGIN OF IVBPA OCCURS 0,
      PARVW LIKE VBPA-PARVW,
      VBELN LIKE VBPA-VBELN,
      END OF IVBPA.
DATA: BEGIN OF I_XVTTK_TAB OCCURS 0,
      ROUTE LIKE VTTK-ROUTE,
      TDLNR LIKE VTTK-TDLNR,
      END OF I_XVTTK_TAB.
SELECT VBELN ROUTE INTO TABLE ILIKP FROM LIKP
       WHERE VBELN = I_xvttp_wa-VBELN.
SELECT VBELN PARVW INTO TABLE IVBPA FROM VBPA
       WHERE VBELN = I_xvttp_wa-VBELN AND
             POSNO = 0 AND
           ( PARVW = 'SP' OR PARVW = 'AG' ).
LOOP AT I_XVTTK_TAB.
  READ TABLE I_XVTTK_TAB WITH KEY VBELN = I_xvttp_wa-VBELN.
  IF SY-SUBRC = 0
    MOVE ILIKP-ROUTE TO I_XVTTK_TAB-ROUTE.
    MOVE IVBPA-PARVW TO I_XVTTK_TAB-TDLNR.
    MODIFY I_XVTTK_TAB.
  ENDIF.
ENDLOOP.
  UPDATE VTTK FROM TABLE I_XVTTK_TAB.
Points will be rewarded.
Thanks
Sonal.

Hi,
yes u r right..
This user exit is executed at the click of VT01N transaction.
So the click of this transaction the fields should get populated .

Similar Messages

  • How to get Custom Time Correction business logic implement for ESS in R/3?

    Hi Experts,
    I am in trouble of implementing the custom requirement of correcting the time in ESS. I have to implement the time corrections as per business logic.
    Can any body tell me where to do this?
    What I need is suppose employee DWS is from 9:30 AM to 6:00 PM and suppose he forgot to punch the In time and then corects the entry for 9:30 AM in ESS then it get inserted into the R/3 data but now requirement is if support the employee has punched but at 10:00 AM and then corrects to 9:30 AM then it does not change the 10:00 AM and we wanna deleted these 10 AM entry.
    Thanks in advance.

    I have solved by created enhancement spot in PT_COR_REQ
    for method IF_EX_PT_COR_REQ~POST_VIA_BLOP
    Regards,
    Gaurav Patwari

  • Correct ABAP Logic in Transformations-Start or Field Routine Error

    Hi
    I have written this code in start routine to split the data record into 2 if  bic/zdte_trm is not initial.
    But i am getting below error please correct me where i was wrong
    LOOP AT SOURCE_PACKAGE ASSIGNING <source_fields>.
          IF NOT <source_fields>-/bic/zdte_trm = ' '.
    * append a new record to source_package with this field initialised
            CLEAR wa_source.
            MOVE <source_fields> TO wa_source.
            CLEAR wa_source-/bic/zdte_trm.
            APPEND wa_source TO SOURCE_PACKAGE.
          ENDIF.
        ENDLOOP.
    At a LOOP over an internal table, the table is not allowed to be changed 
      in the loop tail as a whole.                                            
    SORT, MOVE, REFRESH, CLEAR are, for example, not allowed.

    Hi Saurov,
    Thanks for all the help.....
    The code is working fine but
    I got a strange issue while using this code
    DSO Data (Exisiting Data )
    Emp ID---Start Date--End Date
    1-----01/01/2008----
    Data from source system
    Emp ID---Start Date--End Date
    1-----01/01/2008----01/05/2008
    The code is spliting that record into 2 records
    1-----01/01/2008----
    1-----01/01/2008----01/05/2008
    and in source system in can see total 3 records
    1-------01/01/2008   (Exisisting Record)
    1-------01/01/2008   (New)
    1-----01/01/2008----01/05/2008 (New)
    The key fields in DSO is Emp Id and End Date
    Please,please update me how to resolve this issue

  • Keyboard keys are not working correctly in Logic Pro X 10.0.6

    I was trying to use my MIDI keyboard but for some reason the "A flat" key above "Middle C" no longer works properly in Logic.
    At first I thought it was my keyboard but I tried the same key in Reasons and Pro Tools and it works fine in both of these programs.
    I tired to see if it would work in Logic Pro 9 but it does not work in Logic Pro 9 either. Prior to my Logic Pro X 10.0.6 update it did work fine.
    I don't know what the issue is because it is working fine with the  other programs. A little help would be greatly appreciated.

    In the Finder, choose Go to Folder from the Go menu. 
    Type ~/Library/Preferences in the "Go to the folder" field. 
    Press the Go button. 
    Remove the com.apple.logic10.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro X User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro X, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder.
    Be sure and delete both files.
    (Note: I would first try and delete the control surface preference only, no sense deleting preferences if you don't need to. Also, be sure and use the tilde ~ in the file path above.)

  • Kawai K4 not working correctly in Logic 9

    Hi i am using an old Kawai K4 as my midi controller in logic.  It works fine except for when 2 keys are pressed at the same time the note will continue playing infinitely. Im pretty sure that it may actually not be the program but the keyboard itself becase it does the same thing in garagaeband.  Any help with this would be greatly appreciated thanks

    Found it!
    http://www.amazon.com/review/R3QP3G3LIN9X9C/ref=cm_cr_pr_viewpnt#R3QP3G3LIN9X9C
    223 of 251 people found the following review helpful
    May not work with your equipment, September 14, 2008
    By  
    lyngvi
    Amazon Verified Purchase(What's this?)
    This review is from: USB MIDI Cable Converter PC to Music Keyboard Window Win Vista XP, Mac OS (Electronics)
      I hate leaving reviews claiming something's "broken", but in this case there were some serious problems. So my problems:
    1. The device does not handle run-on MIDI commands properly. I doubt that many modern MIDI devices use run-on commands, as they were a somewhat confusing bit-saving mechanism from the 20th century. The keyboard I used was a Kurzweil SP-88. I suspect this is a design-defect in the product. More on this below.
    2. The device would not enumerate on my main PC. That box is a custom-built machine using a P5B Deluxe motherboard which has never had any problems with any other USB devices. I even tried clocking the box down to normal speeds; Vista gives me a vague error about the device malfunctioning, and Ubuntu gives me a read error during enumeration in dmesg (which, to be fair, wasn't any more useful in this context.)
    3. For all the reviewers who said the cable was labeled backwards: MIDI cables are always connected so that the "OUT" of one device goes to the "IN" of another device. MIDI supports a ring-shaped daisy-chain of devices that way. This cable was not labeled backwards.
    Elaborating on point 1:
    On the wrong equipment, when you do this:
    1. Press-and-hold key1.
    2. Press-and-hold key2.
    3. Release key1.
    4. Release key2.
    You get this:
    1. Press-and-hold key1.
    2. Press-and-hold key2.
    3. Release key1.
    4. Press-and-hold key2 again.
    For those technically inclined, here's the data stream from my SP-88 using the old serial cable I was replacing (I had to resurrect a dead machine to get this; I'm forging note velocities for easier comparison):
    90 40 45 3c 48 80 40 62 3c 61
    Here's what this product read:
    90 40 45 90 3c 48 80 40 62 90 3c 61
    Here's the nearest valid sequence it could have provided:
    90 40 45 90 3c 48 80 40 62 80 3c 61
    Note the 80 instead of 90 in the third-to-last byte - "80" means "note off", "90" means "note on". This was a deal-killer for me; your mileage may vary.
    I replaced the cable with an M-Audio cable from a local shop for 3x the price; that cable also reprocesses run-on commands, but does it appropriately (the third sequence above is what I would get.)
    The seller was courteous and provided a full refund, including shipping, so all I lost to them was time. I'd buy from these guys again, just not this product.

  • Midi Export not working correctly in Logic X

    Anyone experiencing this?
    When I'm trying to export an 8 bar midi file it doesn't work correctly...

    Changed some of the preferences, it works correctly again.

  • Loop auditions correctly but doesn't play correctly in Logic project

    I've found this particular loop, "Euro Move Synth 3" play correctly when I audition it but as soon as i drag it over into a project, the file will not play as auditioned. I've tried deleting the loop and reinstalling and creating new projects. Using totally default settings. Can anyone confirm the same problem and/or help?
    Thanks

    Hello,
    don't forget that Apple Loops adapt to the speed and key of your project. Maybe you have prelistened the loop in it's original speed and key and said "cool!", and now in your project (other tempo, lower or higher key) it sounds "....".
    Another possibility is that you had selected a Midi Loop which is dependend on the software instruments. Maybe you have inserted only the midi data of the loop into an existing software instrument track. In this case, the loops are played back with the wrong sound.
    Instead, insert the loop below the existing tracks into the arrangment window. It automatically creates a new track with the right software instrument settings.
    Fox

  • Why cant i use Kontact correctly  in logic

    ok using the AU version of kontact 2 in Digital performer 5.1 . i can send multiple midi channels into one instance of the Au. I can't seem to do this in logic .... Is it possible? the AU specifications allow this but .....

    Timothy Watters wrote:
    Is there a computer performance benefit to having one
    Multi instrument having 5 or so instruments compared with
    just hooking up 5 instruments as separate entities?
    Certainly there's a hit for each instance of Kontakt. It doesn't have a reputation for being lean in that respect. Also, you have the advantage of consolidating any Kontakt effects using it's own internal auxes if you use them.
    It's a good idea to instanciate Kontakt as a multichannel audio instrument, then create aux tracks and assign their inputs to Kontakts outputs. This makes it easier to automate the volume and panning for each Kontakt instrument rather than doing it from the MIDI track which can be a little problematic.

  • Pitch Correction Help - Logic Pro 9

    Anyone know how to use the pitch correction when the song is in E flat Major?  The tool doesn't give me that option.

    D# major? Set the major first then the d#

  • Logical Profiles in ISE 1.2.1

    I´m having trouble understanding the Logical Profiles. 
    What I understand from the user guide: http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/user_guide/ise_user_guide/ise_prof_pol.html#58510
    for those to lazy to read: 
    You can use the logical profile in an authorization policy condition to help create an overall network access policy for a category of profiles. You can create a simple condition for authorization, which can be included in the authorization rule. The attribute-value pair that you can use in the authorization condition is the logical profile (attribute) and the name of the logical profile (value), which can be found in the EndPoints systems dictionary.
    so I thought that meant that I can group Different Profiles (Apple Iphone, Ipad, Ipod) together into a logical group e.g. "BYOD_Idevice" and use this logical profile in the Authorization. 
    But I can´t choose this freshly created Logical Group in the Authorization Condition. As for the fact, I can´t choose this logical group ANYWHERE. 
    Leaning back and thinking about it - it somehow makes sense. In the Authorization, you don´t pick Profiles, you choose Identity endpoints. So whats the point about the logical profiles? I was hoping to clean/lean up my authorization rules with them. But for what would I use them else? 
    Or is this a bug in ise 1.2.1? Not sure if I should call tac about this, or if I´m just not getting it :D
    Thanks alot for your help!  

    Nice username! :)
    So yes, you are correct, the logical profiles would allow you to group different type of dynamically profiled devices and then reference that profile in your authorization rules. However, you won't see those logical profiles under the "Identity Group Details" section. You will need to leave that field blank. Instead, you need to look in the "second" condition box: expression > Endpoint > LogicalProfile
    Hope this helps!
    Thank you for rating helpful posts!

  • External MIDI device, can't get more than one sound, Logic Express 9 & Korg N364

    Hi, I just beginning to use Logic. I trying to get Logic Express 9 to work with and use my Korg N364 keyboard/workstation as an external MIDI device. I can only get one sound at a time even though I create multiple tracks and assign different programs (or patches) to them.
      Each time I do the following: I add a new external MIDI track, change the Channel to new number, put a check in the Program box ( as well as the Volume & Pan), and choose a instrument or patch from the Program drop down menu. What happens, though, it changes the sound to that instrument alright, but ALL THE PREVIOUS EXTERNAL MIDI TRACKS HAVE THE SAME SOUND NOW. I've followed the tutorials I found on the web and it seems like I'm doing everything correct in Logic. I hooked up the MIDI cables, added a new device and connected virtual cables in the MIDI studio window of my Mac OS, and have added the proper Korg multi instrument in the environment window of Logic and "un-slashed" the 16 channels. I get the sounds from the Korg no problem, it's just that I can only assign one sound and no more to the external MIDI tracks. Is there something in my Korg I need to do? Or am I missing something in Logic?

    It's not Logic, it's how you have the Korg setup.
    I'm not familiar with that model but it is a workstation so I'm pretty sure you can set it to a "Multi" mode.
    Right now you are running it in single patch mode.
    In single patch mode only one sound is available on a single MIDI channel, your Korg probably has a Multi or Combi mode, this is where multiple sounds can be played, each sound has to have it's own MIDI channel.
    You will need to set this up on the Korg first.

  • Logical Component after upgrade

    Hi,
    I have slight confusion.
    We upgraded our SCM system from SCM 7.0 to SCM 7.01 (Ehp1). now our product version is "EHP1 FOR SAP SCM 7.0"
    and Product instance is "SAP SCM ENHANCE PACKAGE"
    in logical component which is used in Charm and monitoring.
    following are the  current details
    logical componenet:  Z_SCM
    Product/Prod. Instance SAP SCM [SCM Server]
    product version: SAP SCM 7.0
    Now i want the correct assignment of logical component which includes product version and product instance.
    How do I get same logical component name with new product instance, so that my charm and monitoring is not affected.
    Its same case for PI.  from SAP netweaver PI(7.11) to SAP Netweaver (7.3)
    BR,
    Shyam

    Hello Shyam,
    Sorry, you are correct, the logical template needs to be copied from a system group and SAP SCM 7.0 and SAP SCM 7.0 EHP
    are in different system groups, and you won't be able to pick up your SCM 7.0 systems in the SCM 7.0 EHP logical.
    What might be possible, and I don't know if it would be practical is to retire  Logical Z_SCM that was based on SCM 7.0, and by retire I mean remove, and then create the same nameed Logical Z_SCM but copied from the template of SCM 7.0 EHP, then you could see your SCM 7.0 EHP systems and pull them into the new logical Z_SCM and add that back to the solution.
    I have not tried this, but if you have a test environment you could try this to see. Logically it should work. Its certainly something you could prove or disprove on a test system.
    Regards,
    Paul

  • Logic Express not working on mountain lion!

    i am having problems with logic express 9.0.0 which is not running on mountain lion 10.8.2.
    i have made an attept to try and get newer updates but before it gets anywhere this pops up
         " An eligible Logic Express Version was not found in
         the Applications Folder. This Update requires Logic
         Express version 9.0 or higher. "
    (i do not have the logic disks at hand)
              The message that pops up when i attempt to open logic
                   " you cant use this version of the
                    application "logic express" with this
                   version of OS X.
              you have "logic express" 9.0.0 "
    please help!!

    Hi
    First, you are going to need v9.1.7 or later with Mountain Lion (http://support.apple.com/kb/HT5421)
    Second
    To get the updaters to work several things MUST be correct:
    The Logic Application must be named "Logic Pro" or "Logic Express" (depending on which type you are working with) with NO Additional spaces or numbers in the name.
    The application must be at the root level of the Applications folder (and NOT anywhere else).
    CCT

  • Logic Express and Mavericks

    I still run Logic Express 8 on Snow Leopard. Wondering if any one is using Logic Express 8 and Maverics. Any issues? I was planning to update my Snow Leopard to Mavericks. I am aware that the Apple Loops that originally came on separate DVDs can not be installed in Mavericks (or Mountain Lion for that mapper) because they require Rosetta for the installation. I figure that since I have them already installed, the update should preserve them and it should continue to work.
    Can anyone confirm?
    Thanks

    The Logic 8 installer does not need Rosetta to run.  However in Lion and thereafter, there is a bug that triggers the PowerPC dialog box, adding to that confusion.
    So, you are correct that Logic Express 8 should be installed before any upgrade from Snow Leopard. 
    Whether there are separate problems due to Mavericks, I have not yet seen any reports.

  • Start Routine Logic Updating Field in Target ODS

    Hi,
    I am creating a  Start Routine to Update Field (date) from one ODS to another based on the Key Structure: Document Number, Line Item Number.
    I am encountering a situation as follows:
    Source
    Doc Num 1 Line Item 10 Date 1/1/1
    Target
    Doc Num 1 Line Item 10 Date 1/1/1
    DocNum 1 Line Item 20
    DocNum 1 Line Item 30
    DocNum 1 Line Item 40
    The Routine I have now correctly updates line item 10 with the date 1/1/1.
    I am trying to modify the code to only update the target ods if all of the line items are in the source.  In this example Line Item 10 would not get updated since Line Items 20,30,40 are not in the Source ODS. 
    Has anyone encountered something like this.
    Thanks for any help.

    Hi,
    If you have all the line items in target for which you want to do updates  you can do this in transformation start routine.
    Try this first hand logic :
    1. Create a internal tables(say SOURCE_INTERNAL_TABLE and TARGET_INTERNAL_TABLE)
        with fields document number and another field integer say COUNTER
    2. Read active table of source for all the document numbers in source package.
    3. Update the SOURCE_INTERNAL_TABLE for all the document number with appropriate counts
        (All the records of same document number should be in same data package)
    4. Update the TARGET_INTERNAL_TABLE by reading the target ODS as done for source.
    5. LOOP  AT SOURCE_PACKAGE
         if COUNTER in SOURCE_INTERNAL_TABLE and TARGET_INTERNAL_TABLE is not same
         then delete the record from source package itself
       END LOOP
    6. Your next code
        (Please take care that you are not referring the deleted records otherwise it will through a dump)
    If you don't have all the line items in target then you need to bring them somewhere in BI (document number and item number only sufficient with both as a key fields) so as to refer them in your start routine.
    Please update me if anything is wrong or if any corrections in logic.
    Thanks and Regards,
    Prashant Vankudre.

Maybe you are looking for

  • How to send a multicast request to 239.255.255.253, seeking an SLP Directory Agent (DA)?

    Hi, How to send a multicast request to 239.255.255.253, seeking an SLP Directory Agent (DA) in C++? Thanks in advance.

  • Fonts change in iWeb 08 when viewed in IE

    I enjoy using iWeb to design my sites, however, IE is not displaying the fonts in the correct manner. I didn't use the automatic links provided in iWeb, but created a text box full of links that I typed in myself. Is there an easy html code that I co

  • Generation of temporary files by TUXEDO

    We have a customer that has written their own implementation of a TMQFORWARD server to drain a TUXEDO queue. This server regularly polls a queue and drains all the messages from it. If there are no messages it has nothing to do. Our customer however

  • Question about "library" folder

    Sorry if this is dumb question, just got the computer yesterday. Anyway, I was snooping around in the library folder and I deleted some things in an attempt to free up some space, however I think that the things I deleted may have been important. I d

  • Generate & using Javascript in custom Tag

    Hi everyone, I'm developing a custom tag to create a treeview from a TreeModel. I've got a script found on the web which uses a few javascripts file. My question is : How do i have to use my javascripts file ? Do i have to just import the javascipt f