Need Help in editing an existing Contract

Hi,
I am trying to edit an existing contract in R/3. I am using the FM 'BAPICUSTOMERCONTRACT_CHANGE' but not able to achieve the desired result.
Actually, there is a contract existing with number say 1234, having 4 Items with Item numbers say 100,101,102,103. Now i am trying to update the item details of 100.
Initial values present for item 100 :- Material - H51-YY001, Quantity = 2
Now i am trying to update the Material to H49-XX014 and quantity to 5
d_VBELN = '50000172'.
contract_header_inx-updateflag = 'U'.
CLEAR contract_items_in.
contract_items_in-itm_number = '100'.
contract_items_in-material = 'H51-YY019'.
contract_items_in-target_qty = '2'.
APPEND contract_items_in.
contract_items_inx-updateflag = 'U'.
contract_items_inx-itm_number = '100'.
contract_items_inx-material = 'X'.
contract_items_inx-target_qty = 'X'.
APPEND contract_items_inx.
CALL FUNCTION 'BAPI_CUSTOMERCONTRACT_CHANGE'
EXPORTING
SALESDOCUMENT = D_VBELN
contract_header_in = contract_header_in
contract_header_inx = contract_header_inx
TABLES
return = return
contract_item_in = contract_items_in
contract_item_inx = contract_items_inx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Can some one tell me how to achieve this.
All helpful answers will b rewarded.
Regards,
Udaya

Hi,
Are you getting any error message? if yes then paste the message you are getting.
Check the contents of RETURN internal table of BAPI_CUSTOMERCONTRACT_CHANGE by putting the break-point weather it showing error message or sueecess message.
And are you giving the following for Bapi commit.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = 'X'
      IMPORTING
        return = return2.                        
Reward points if helpful answer.
Ashvender

Similar Messages

  • I am a bigener photographer need help on editing photos for competitions will cloud help me ?

    I am a bigener photographer , need help editing photos for competitions ,will cloud help me?

    If you buy the Photography subscription you will be able to ask in the Photoshop and/or Lightroom forum for links to editing tutorials Creative Cloud pricing and membership plans | Adobe Creative Cloud
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • HELP!  Need help linking Nano to existing Nike+ account

    Hope someone can help as I'm going out of my mind. I searched but couldn't find another topic like this.
    I had to restore my nano (2nd gen) to its original factory settings in itunes, which erased all songs and data. My Nano is working great now, but it's no longer linked to my Nike Plus account. When I now connect the restored Nano, under the Nike + tab in itunes I cannot check the box to automatically send my workout data to Nike+. The only option is to register. I'm already registered but there isn't an option to link to an existing account?
    After the restore on my nano, how do I link it in itunes to my existing Nike+ account that has all my run data stored? Like I said, the only option on Itunes is to register and that's not what I want to do since I already am registered!
    I guess this would be the same problem if I bought a new Nano so I'm sure this question has been raised before.
    Please help! I need this fixed before my run tomorrow! Thanks folks!
    Scott

    GFF,
    Yes, I checked the link you provided below and couldn't find any topic with a similar problem. I already did my run for the day so won't know until tomorrow if the receiver and sensor gather info but everything appears like it will work just fine. When I plug the receiver in the Nike+ option pops up in the menu and it looks ready to go. It even recognizes the sensor so I think that's okay.
    I did email Nike Plus but they haven't answered yet.
    When I connect the Nano to itunes, I cannot check or uncheck the box to automatically send the info. The only option is to "create a Nike account." I clicked this and tried to just add my existing account and it wouldn't let me saying it already exists.
    There has to be a simple way to do this. Can't imagine you lose everything if you get a new Nano or have to restore one.
    Maybe more options will pop up after my run tomorrow morning when I plug in the Nano to itunes with a run to send to Nike+
    I'll let you know. Until then, any other suggestions would really be appreciated!

  • Need help with editing flash

    Hello everyone, I'm really new to flash and I have some problems with editing my flash file. Currently, I have a small flash application  in a folder, containing various kinds of files such as AS, SWF, FLA, HTML. What I want to do is to change the text inside one of the buttons in the application. After doing some reasearching, I realized that I should probably make some changes to the FLA file(Quiz.fla for example) since Quiz.fla is the only FLA file in the folder. Therefore, I opened it using Adobe Flash CS5.5, what what I found out is that the Quiz.fla file  is really different from other FLA files. It only shows a plain background when I open it, without showing the actual interface of the flash application. It does contain all the buttons and contants under the Library section on the right side of Adobe Flash . When I try to change the text inside the button then save-publish, the newly published SWF file  would just be a static picture of the button I've changed and everything else is gone. Any help is greatly appreciated!

    ya, that's why I'm confused. I've actually tried editing some sample flash FLA files and all I need to do is to edit them in the Library and it would work out. But this one seems to have some weird problems. I could actually send the application folder to you if you have some time to take a look at it. Thank you very much again for the help!

  • Need help with editing drum sound

    Hi, I'm trying to edit drum sound(got it from Standard Kit) that I input with my MIDI but I have no idea how to make the drum sound higher.( Is it possible anyway? Please help!
    Message was edited by: fm198tx

    Hi @Joidivini ,
    Thank you for visiting the HP Support Forums. I needed to edit your post and remove the Serial Number. From our Rules of Participation:
    Protect privacy - yours and others'. Don't share anything about yourself that you would not want to see on a road-side billboard. Don't post contact or other personal information-your own or anyone else's-or any content that you receive in one-to-one communications without the author's consent. For example, don’t post your computer’s serial # or contact information publicly, and do not allow someone you don’t know to remotely take control of your computer.
    If you need people to contact you directly, either ask them to send you a private message or subscribe to the thread so you will be notified when there are replies. You may also click on your name anywhere in the forum and you will be taken to your profile page, where you can find a list of threads you have participated in.
    Sharing personal email addresses, telephone numbers, and last names is not allowed for your safety. If you have any questions feel free to send me a private message in reply.
    Thank you
    George
    I work for HP

  • Beginner needs help with editing Drum

    I'm absolutely new to Logic Pro X
    How do I use a drum pattern, but then edit the snares, bass drum to fit my song?
    I would have thought this would be what very one wants but only seem to find stuff that utilises existing patterns.
    Is there a clear example I can go to?
    Id appreciate help.
    Thanks in anticipation!

    Well tonym2410, I'm afraid it's one way or another! If you're not content with with the stock beats, you'll have to produce them by yourself and in order to accomplish this you will have to do a bit of learning, no way around that!
    http://www.youtube.com/watch?v=-IGUb-lJCDk&sns=em
    http://www.youtube.com/watch?v=eYOLlzOZ2I0&sns=em
    http://www.youtube.com/watch?v=R5uC_dKdejQ&sns=em

  • I need help ASAP, edits are showing in PS, but not in other programs

    I hope someone can give me an answer. In only one folder, I have edited JPEGs that show edits in Bridge, Camera Raw and Photoshop, but not in Windows Explorer. I discovered this when trying to burn them on a disk. Is this something related to a setting in Bridge and is tehre a way to fix it so it accepts all the changes. Thank you!
    P.S. I am using CS4

    Uh huh...that's to be expected unless you actually opened and processed the images through Camera Raw and Photoshop. All you've done to this point is edit the metadata settings, not the actual pixels. To see the final edits in other apps, you'll need to process the files and resave them as completely edited files. Bridge will properly diaply the metadata edits...but nothing else can.

  • Need help with editing AVCHD files in Final Cut Express 4

    The AVCHD files were recorded on a Canon HG10 before I bought a Mac Pro OS X 15.1.
    I transfered them to a file on my desktop, like the instructions tell me to do, but when I get to the part of "mount the media files in the log and transfer", I get stuck.
    The file is named AVCHD and when I try to upload it into the Log and Transfer window through the little plus sign on the left hand top corner, I get the following message:
    "AVCHD" contains unsupported media or has an invalid directory structure. Please choose a folder whose directory structure matches supported media."
    It does not allow me to import the files individually. I tried dragging the files to where it says "Drag media here" and nothing happens. If I try to drag the file to the area in the top left corner of log and transfer, I get the same message as above.
    What do I need to do?

    I have a different camcorder, but my experience might be of help to you.
    I have a Sony HDR-UX1 AVCHD camcorder that records to 8cm DVDs.
    I tried using Apple Final Cut Express 4's FILE > LOG AND TRANSFER command to capture directly from the 8cm DVD, which resided in an external Sony DVD drive... and I was not successful.
    Then, I remembered my experience on Windows XP where I used Corel's Ulead VideoStudio 11 Plus.
    With Ulead VideoStudio 11 Plus, I found I had to drag the contents of removable media discs and disks to my Windows desktop, which then allowed me to use the software video capture tools successfully.
    So I tried the same thing with Apple Final Cut Express 4.
    I dragged the BDMV FOLDER on my 8cm AVCHD disc to my Mac's desktop.
    I then used the FILE > LOG AND TRANSFER command and simply browsed to the folder on the desktop and -- Voila! -- the contents of the folder appeared as video thumbnails in the LOG AND TRANSFER WINDOW and everything worked.
    Hope this helps,
    Private Idaho

  • Need help with edit issue...

    I've got a edit that i was working on in FCp 5.1.2 and reinstalled my OS and then FCP 6...now the edit looks correct by the thumbnails, but the wrong clips show up....re connect media doesn't fix it. it seems that the original master clip outside of FCP correspnds to all my subclips(example..if subclip reads 00:02:30:27, the master clip in QT corresponds to same spot)...but when I open same clip in FCP 6...the audio is out of sync and the wrong section of the clip shows up(example if suclips reads 00:02:30:27, it shows up at wrong section in viewer and timeline).

    I'v tried what X recommended, but no change in problem....when I try to open clip in a new sequence I have the same problem where the clips audio is off and the video ends about 10 minutes early, but you can still hear the audio( out of sync)...this same clips plays perfectly in QT. I have FCP 5.1.2 on a different machine and the clips opens ok, but the sequence is still out of wack.

  • Need help with edit problem

    while making an edit on a photo, I did something wrong. Now the system seems to be frozen. In organizer it just won't respond, then I get a box saying elements isn't respnonding. I can open up editor and get to the picture I was working on, but in the layers box where the photo is also displayed there is a little lock next to it. Can anybody please tell me how to fix this problem?

    Hi,
    If there is only one layer and its been named as background, then double click on it and you will see a pop up to rename it, or keep it as Layer 0.
    If the layer is already renamed to layer 0 and still its locked then click on the lock icon in the bottom of the layer pane. to unlock the layer.
    Thanks and regards
    Harshit yadav

  • Need help understanding editing, deleting, & versions

    This is an extension of the discussion on destructive editing.
    When I first started using Aperture 3, I did a lot of experimenting with editing.  I had no confidence in my skills, so clicked on "create new version from master" and did my editing on that version.  If I liked the edited version better than the original, I deleted the original/master.
    I thought everything was OK until I started to create a slideshow in iMovie 11.  When I clicked on the camera icon and scrolled to a project, the edited version was not there - if I had discarded the original/master.  If I had kept the master (which I always do now), the edited version also showed up.
    I could access the edited version by opening Aperture and iMovie 11 together and dragging the version directly from Aperture into the iMovie project window.
    My question is what, exactly, happens when the master is deleted and replaced with an edited version of the master?  Further, why doesn't iMovie 11 'find' the edited version if the master has been deleted?  ...  or is this a question I should post on the iMovie forum?

    sauble wrote:
    I clicked on the original/master in the project window, then under File in Aperture I selected 'delete version'.  I thought that I was simply getting rid of a photo I didn't want and replacing it with a new master.
    Actually, that's exactly what that command is supposed to do. The 'Delete Master and all Versions' is the dangerous one. Since you can still see the versions you prefer in your library, the are (probably) still alive and kicking. The problem I think you're having is that you didn't select in the preferences of Aperture to share previews wiht other applications. Or the edits are stacked with the original version. iMovie can only see the first picture in a stack.

  • Need help to edit the app_fax_detect.2.1.2.3.tcl script to change the 9 seconds timer?

    9 seconds is too much, I want to  change it to 5 seconds by replacing the "9" in the script by "5" but it  is still 9 seconds as it is..
    I am not a developer at all so thats why I am having some difficulties. Apprecaite any help please
    I ran some applications debugs on the GW but still did not help that much..
    Any help will be much appreciated. thanks.

    9 seconds is too much, I want to  change it to 5 seconds by replacing the "9" in the script by "5" but it  is still 9 seconds as it is..
    I am not a developer at all so thats why I am having some difficulties. Apprecaite any help please
    I ran some applications debugs on the GW but still did not help that much..
    Any help will be much appreciated. thanks.

  • Need help with editing audio...

    I am in the processof editing a file that contains audio however I do not have the source audio files. Is there a way to extract the sound file (mp3) to an editor (wavepad)... so that I can edit it and replace it?

    Make a new Flash movie, drag the sound file that you want into the Library of this new movie. Add the sound file to the timeline and extend the timeline to show the whole sound. Save the movie. Export a Quicktime video of that movie. Use no compression. You can now export the sound from this .mov file using Quicktime pro or any video editor application.

  • Need help can't open existing itunes

    Today I had to completely restore my pc to it's original settings. I have an itunes account but now I cannot get any of the music or audio books that I had in there. Is there a way to get my stuff back or am I out of luck?

    Marc & Others,
    I'm having the exact same issue, but know when it began. I changed the default language by going to the 'International' section in System Preferences and selecting the language -- French in our case (my wife is French, easier for her to navigate some apps). The moment I did, all icons from my desktop were wiped and I can no longer get into System Preferences.
    Same other issues occurred as you noted below - bouncing icon but nothing happens, can't change date/time, can't open finder. All language setting are in French though ...
    I tried going to user/library/preferences/ and removing the files you noted below, but can't access them -- they're greyed out.
    I'm at my wits end ... this problem seems to be common as I've seen several listings for it, but your the first who seems to have solved it. Can you, or anyone here, help?
    Thanks in advance!

  • "Need Help" link no longer exists for developer error troubleshooting

    I am completing the "Contact Management" tutorial--which is quite well documented, I must say--and have discovered that the old Interakt Collection had links pop up to diagnose possible solutions to error messages. These have been surreptitiously deleted--thanks a lot, Adobe--with no update in the documentation... What a fantastic idea, though, and a wonderful way to pinpoint problems for learning developers (such as myself)... Ah well, too bad...

    Incidentally, what has become of this resource? Even in archived form, it could prove to be an invaluable aid...

Maybe you are looking for