Regarding PO without GI/GR update

Hi experts,
There is a requirement to have a PO with defined qty and price to a particular vendor and when we do the GR the GI/IR should not update. There should not be any financial transaction.
I tried the Free of charge open with the Material price i am not able to maintain.
cna you share your knowledge. Is it possible to do?
regards
DP.

Hi,
Check this code..
PARAMETERS: p_ebeln LIKE ekko-ebeln.
DATA: t_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE.
DATA: t_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE.
DATA: t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: t_cond LIKE bapimepocond OCCURS 0 WITH HEADER LINE.
DATA: t_condx LIKE bapimepocondx OCCURS 0 WITH HEADER LINE.
t_poitem-po_item = '00010'.
t_poitem-net_price = '17.00'.
APPEND t_poitem.
t_poitemx-po_item = '00010'.
t_poitemx-net_price = 'X'.
t_poitemx-po_itemx = 'X'.
APPEND t_poitemx.
t_cond-itm_number = '00010'.
t_cond-cond_type = 'P000'.
t_cond-cond_value = '17.00'.
t_cond-currency = 'USD'.
t_cond-change_id = 'U'.
APPEND t_cond.
t_condx-itm_number = '00010'.
t_condx-itm_numberx = 'X'.
t_condx-cond_type = 'X'.
t_condx-cond_value = 'X'.
t_condx-currency = 'X'.
t_cond-change_id = 'X'.
APPEND t_condx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
TABLES
return = t_return
poitem = t_poitem
poitemx = t_poitemx
pocond = t_cond
pocondx = t_condx.
COMMIT WORK.
The above code works fine for me...
Thanks
Naren

Similar Messages

  • PO without Info record Updation

    Dear All,
    I hope you all are fine and this is my first message to this forum.
    We have a client specific requirement and in that client wants PO without Info Record updation. Info record will be there but for Material and Vendor only not for Price.
    The situation is when we create a PO, the Price will not be pick up from Info Record conditions and from last PO Price.Means we have to manually enter the price and the info record will not be updated for price and cleint's other requirement is  in the info record Order price history is not to be updated when any PO is created.
    Please let me know the steps if anyone works on this issue.
    Havea good day
    Regards
    Lovkesh

    Hi Lovkesh,
    First of all dont create a info record manually.
    Just go a PO with inforecord indicator turned on.
    this will make a info record to be created automatically by the system when u post the PO.
    this inforecord will be with or w/o plant depending on the setting u specify in customizing under define condition control at plant level in SPRO.
    then under customizing for buyer values select not to copy from the last purchasing document.
    info record gets updated in 2 ways normally 1> from previous PO document 2> from conditions entered manually or if the info record update was turned on in any of the purchasing documents.
    after blocking these 2 ways info record will not get updated.
    also make sure in ur case for the material and vendor combination there exists any quotation or agreement orcontractbecause inforecord gets updated automatically if it is turned on(info update indicator) in these purchasing documents also----if  any of these exists then select no update of inforecord in all of them.
    reply me to get updated
    raja.

  • Call on update module without addition "in update task"

    Hi, folks!
    Could anyone please explain the behaviour of an update module that is called without addition "in update task" with regards to transactionality and locking? Where is the processing carried out - in the dialog step, I guess? Does a COMMIT WORK AND WAIT make any sense in this context? Will any locks be removed in this way?
    Thank you very much in advance!
    Cheers,
    Thomas

    Hi Thomas,
    Please find the below mentioned piece of code :
      call function 'Z_ZE0EDISTAT_UPDATE' in update task
           EXPORTING
                w_ZE0EDISTAT          =  struct_ZE0EDISTAT
           EXCEPTIONS
                NO_UPDATE            = 01.
    *&   Update Database with changes.
      COMMIT WORK AND WAIT.
    In this case whatever changes which will be done to the table 'ZE0EDISTAT' inside the FM 'Z_ZE0EDISTAT_UPDATE'  will ONLY be reflected in the database table  ZE0EDISTAT' when COMMIT WORK and WAIT statement is encountered. Else updates won't be visible. Hope it will clear some doubt of yours.
    Cheers
    VJ

  • Getting ROWID without using "FOR UPDATE" in statement

    Hi,
    Is there any way to get the ROWID of the current record without using "FOR UPDATE" in the statement?
    Here's the story...
    I'm actually working on a server that receives multiple connections from client applications. The server interacts with OCI for selecting, updating, fetching and so on. The server is able to manage many opened recordset from clients.
    Here's a possible scenario:
    - A client asks the server to open a recordset ie: "SELECT * FROM foo".
    - Then, the server receives a command to position the cursor on the last record ie: "OCIFetch2->LAST".
    - Finally, the client decides to update the current (last) record.
    Since the server can receive other requests such as opening a new recordset from another client, I can't use "SELECT * FROM foo FOR UPDATE" because it blocks further call to OCIStmtExecute (even in NONBLOCKING mode).
    At the same time, I can't COMMIT the transaction after the "SELECT" statement otherwise the selection gets invalidated. The selection needs to remain valid until the client decides to "close the recordset".
    Is there any workaround?
    Any help would be appreciated!
    Thanks,
    Jonathan Primeau
    Software Engineer
    Integration New Media, inc.

    Hi again,
    I found that OCIRowidToChar could save my life. In fact, by retrieving the ROWID equivalent string I could use it to build a statement like:
    update foo set c1 = 1 where rowid = 'AAAHZuAABAAAMViAAL';
    which will solve my problem since these strings don't change and represents a unique record.
    The problem is when I try to compile this method it says:
    test.cpp: In function `sword OpenRecordset(OCIServer*&, OCISvcCtx*&, OCIStmt*&,
    COLDEF*)':
    test.cpp:382: `OCIRowidToChar' undeclared (first use this function)
    test.cpp:382: (Each undeclared identifier is reported only once for each
    function it appears in.)
    make: *** [test] Error 1
    It seems that this function is not declared under Solaris/Oracle 9i. I searched on the web and there is not much information about that. However, it is documented in the Oracle book.
    Is there any way to use this function under Solaris? If not, how can I get the string that represents a ROWID?
    I use the following syntax:
    sword OCIRowidToChar ( OCIRowid *rowidDesc,
    OraText *outbfp,
    ub2 *outbflp
    OCIError *errhp );
    Best regards,
    Jonathan
    Software Engineer
    Integration New Media, inc.

  • Can't update Photoshop CS5, Camera Raw, etc. after photoshop reinstall. Every time I try to update recive information - during download this update error apear. Finish and try again later. What to do, without Camera Raw update can't open image from my cam

    As I mentioned, there is an error while trying to update photoshop, camera raw, etc. I receives message when you try to download the update, an error occurred. Exit and try again later.
    What to do? Without Camera Raw update I can't open Raw files from my cameras. Guy from chat on adobe website just give me link for support website, it's ridiculous.

    abdzi schrieb:
    Hi,
    Finally I made an update. I used download files from Adobe update pages (the same websites that were offline for few days), I couldn't do it automatically from PS CS5 application. Last problem is Adobe Extension update, can't do it automatically and manually becouse there are no update files for Adobe Extension CS5 for Windows (only for Mac). Most important is that my Camera Raw can open files from my cameras now. Thank You for your help.
    Hey abdzi could you give a short explanation were you found which download files?? I have the same problem and realy need the Camera Raw update. Please!! Thank you

  • Regarding acknowledgement without using BPM

    Hi,
    regarding acknowledgement without using BPM,
    i've read all realated document sap lib, but i am not clear on it.
    what step do i have to follow?
    1. IDOC to Java server proxy?
    2. RFC to Java Server Proxy?
    3. ABAP proxy to SOAP?
    thanks & regards
    dennis.

    > what step do i have to follow?
    > 1. IDOC to Java server proxy?
    For the IDOC you need not do anything, as IDOCs request ack's per default. For Java Proxies look here:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3531 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    > 2. RFC to Java Server Proxy?
    This is not possible.
    > 3. ABAP proxy to SOAP?
    Look in the online help for requesting ack's in ABAP proxy (it is similat leik in Java Proxies). You can only work with system ack's.
    Regards
    Stefan

  • Updating without using the updater?

    Hi I was wondering if it is possible to download updates without using the updater as it is for a pc that is not online. Im after 3.2.0 on xp.
    Many thanks

    You can download the Windows updates
    here and the Mac updates
    here.

  • Updating ARDT table without using direct update statement

    hi,
        can any one guide me how to update REMARK field in the ADRT table without using direct UPDATE statement. It would be helpful if any one can tell me the bapi or a function module with a sample code.

    Hi                                                                               
    <b>SZA0                           Business Address Services (w/o Dialog) </b> ADDR_PERSONAL_UPDATE                                                          
    ADDR_PERSON_UPDATE                                                            
    ADDR_PERS_COMP_UPDATE                                                         
    ADDR_UPDATE                                                                   
    these are the four function modules which will update the (Business Address Services) reward if usefull
    check these is there any  help ful for u or not

  • OS X without a firmware update?

    this is my story and I'm sticking to it....
    I should start by explaining that I'm an aging hippie who started on a macintosh in '91 or so, but moved rapidly into the PC world of Windows by '92. I have a bit of understanding of the Windows differing systems from DOS thru XP. However I do lack ANY understanding of macintosh since then.
    My primary reason for moving back is one of my sons has a new G5 and he loves it and doesn't have to run all the security I do and it is fast. NO, I'm not interested in an intel mac, all I really wanted was garage band, so he and I could create music. Now we can cut to the chase....
    I recently purchased a G4 AGP 400 with OS X 10.4?? installed on it. It still had files on it from the previous owner, so I puchased a new OS X disc package. Went about installing it and I feel it was successful. Sinc then I have had random issues and have been lucky so far in that I have been able to find answers on these forums which is great...however...while browsing thru here last nite I became aware that one needs to do a firmware update to successfully run OS X and it appears that this was not done on the original install on this computer and as of this morning I find that the Boot ROM on my machine is 3.2.6f1.
    Now to my question, how do I get the updated boot rom to install if i do not now or ever have had a 'native' system? Can any of you experts guide me?
    mark
    BTW Power Mac G4, 400mhz, 40M HD, 512MB ram, original graphics card,
    usb card, 10.4.7 currently
    G4   Mac OS X (10.4.1)  

    boox:
    The most critical bit of info with most issues is the model of your Mac. (It would be a good idea to put that in your user profile instead of just "G4," which applies to more than 1/2 a dozen models, for future reference.)
    If there is any uncertainty at all about the model, you can use the "Find by Serial Number" search on the Support Specifications page to identify it. You should compare the results of that to "Power Mac G4: How to Differentiate Between Models", & to what the System Profiler app (/Applications/Utilities) says about it, looking carefully for anything that doesn't match up among the various descriptions, particularly for things like hard drive size or kind, PCI cards, etc.
    This is important because with a used Mac of unknown history, you can't assume too much about its current configuration from the nominal OEM one.
    For instance, this might explain how Tiger got on your Mac without a firmware update: the drive may have been in another Mac when Tiger was installed. It would also help resolve any problems/issues you might have with Tiger on this Mac.
    For your #3 question, I think your best bet is to post a pointed inquiry in the Apple Discussions forum devoted to Power Mac G4 issues, with a title that makes it clear you want the updated firmware revision string for your model. That should get you the info you need quickly.
    Good luck!

  • AKOF u2013 Define reconciliation accounts without credit management update

    Hello,
    Wu2019ve configured Credit management, at same time, we have many special G/L indicators, and hence many alternative reconciliation accounts. Now we need to exclude few for credit management check.
    I understand that using AKOF u2013 Define reconciliation accounts without credit management update, we can achieve the same.
    Initially I thought that putting the alternative reconciliation accounts will be sufficient, but if I check the help page in SPRO beside this configuration, it also talks about, some setup for u201CReconciliation account ready for inputu201D in master record of reconciliation accounts, etc.
    Please help me in understanding how actually AKOF works, and how I can achieve the objective.
    Thanks
    Balla

    .

  • Can I use an earlier 4.0 beta without it automatically updating to beta 12?

    Even when clicking on print preview, I still often have illegible printing with several spaces between each letter in each word. Is there any way I could use an earlier 4.0 beta and its improvements without Firefox automatically updating from that earlier 4.o beta to beta 12 with the latters' bugs?

    Firefox requires your permission to Update. If you don't click the "Apply Update" button in the Firefox 4 About box, Firefox would not update.
    Morover you can also disable Firefox from Checking for Updates. In Firefox Option, click Advanced, and then select the Update tab. Uncheck "Firefox" in the "Automatically Check for Updates to" option.

  • HT4972 how to recover lost data in i  phone 4 without backup and how to activate i phone 4 without sim after update to ios 5.1.1

    how to recover lost data in i  phone 4 without backup and how to activate i phone 4 without sim after update to ios 5.1.1

    Not possible in both cases.

  • How to find firefox version without triggering an update?

    I've disabled update in every way imaginable (no lectures please) but i an update starts regardless when i go to help / about firefox. Is there any other way i can check the version without triggering an update?
    thanks.

    Hello!
    You can find the version of your Firefox (along with other troubleshooting options, if you need it later) by entering ''about:support'' in the Awesome Bar.
    <hr>
    I hope that solved your problem!
    <i>If it did, would you please choose this answer as your solution? It would help other Firefox users to find help on the forums faster and more efficiently. Thanks!</i>
    And of course, feel free to post back if you need more help!
    Happy browsing!

  • After any security update (EFI), my macbook reboot constantly and start OS without installing the Update. i dont know what i have to do

    Hello people. i need some help. i bought my macbook pro the last april 2012. i tried to update everytime i can, but always i have problems: the installer start normally, but the problems start when my system tell me i have to reboot. i press "reboot" and after that my mac reboot 3, 4 o 5 times, and the grey bar doesn't change or move or anything and OS after the 5 times of reboot, start normally, but without installing the update.
    sorry for my english. its not my native language.
    greetings.

    ok....try this.....this is the long version.........
    open disk utility and verify and repair your disk permissions......once the errors are repaired, shutdown your macbook and do a PRAM reset....
    once you're up and running, turn bluetooth off and make sure your macbook is plugged in your AC outlet...
    try updating your efi again.....
    not quite sure what those sounds you're hearing are...

  • Open letter to Verizon regarding Tab 7.7 ICS Update

    Note: This is a copy of an e-mail I submitted to Verizon Wireless regarding my Galaxy Tab 7.7 LTE tablet, in order to ensure that Verizon receives the communication and to share the concern with the community which has substantially discussed the issue.  If this violates the content regulations of Verizon's forums, accept my apologies -- I have never been clear on the guidelines. 
    Dear Verizon Wireless,
    The primary purpose of writing is to notify you that I will be withholding 75% of my payment on the data plan for my Samsung Galaxy Tab 7.7, in light of Verizon's degradation of service on this device.  Upon purchasing the device in June, I was told that it would be receiving the Android 4.0 "Ice Cream Sandwich" (ICS) system update.  By that point, ICS had been released from Google for nearly eight months.  In August, Verizon began updating its branded LTE tablets in earnest, but it was not until early October that the ICS update for the Galaxy Tab 7.7 LTE was formally announced.  After a failed update push, Verizon has been silent on any plans for the past two months.  Its response to a discussion on this topic in the Verizon Online Community was to simply remove comments and shut down the discussion without answering any of the community questions.
    Most apps in the Android Market now require ICS or later.  The Google Nexus 7 tablet, a comparable tablet to the 7.7, is now shipping with Android 4.2, a full two major revisions past the version Verizon has yet to deploy to the Tab 7.7.  Additionally, I personally have experienced increasing instability with the tablet, with the network failing and requiring a manual restart multiple times a week.
    At whatever time Verizon successfully updates my device to ICS, I will happily return to paying my bill in full.  Additionally, I am more than willing to discuss this with a Verizon agent to come to a better resolution.  However, given Verizon's current response of ignoring the problem and providing no explanation, and continuing to offer a degraded service below that which was promised upon purchase, I must take this step in an attempt to protect my interests.
    Again, I would much prefer an amicable solution to this situation.  Please feel free to call me on my Verizon phone number to discuss this.

    In regards to this, I'm going to post excerpts of a post I placed in another thread with additional research about update timelines, Verizon's extremely loose interpretation of the word "soon", and the despicable service provided to owners of this tablet, as it relates to the specifics of this thread's topic. I am also including significant additional information relating my attempts to acquire additional information.
    I purchased the Galaxy 7.7 in April this year. Like most (if not all) others, I bought it with the promise of an update to ICS soon. At this time, eight months later, I, like the vast majority of owners, am still on 3.2 (Honeycomb). Honeycomb does not support many of the apps I use, and more developers drop support for it every day, as its device presence percentage drops close to that of Cupcake and Donut (Android 1.5 and 1.6) and has already sunk below Eclair (Android 2.1), according tohttp://developer.android.com/about/dashboards/index.html (This is a direct link to Google's own site, where they publish such information; last sample conducted over 14 days ending Nov 1, 2012).
    ...My local Verizon corporate store is selling the tablet with ICS pre-loaded. This means the software not only exists, but has been successfully deployed to retail units.
    ...The original Droid only took four months to get the 2.1 update, and the 2.2 update followed five months later in August of 2009. Keep in mind, these updates were being developed between these pushes, with 2.2 only being announced by Google in May of '09. That is 3 months from announcement to deployment. ...
    Our Galaxy Tab 7.7's have now waited 13 months since the release of 4.0 by Google and still are not up to date. I'll permit Verizon the few months that they did not have the tablet, but this reduces the delay to "only" 9 months, two to three times longer than it took for other devices to be upgraded. Oh, and we're still waiting on the update. It might be suggested I'm being unfair at this point by comparing a dual-core highly advanced tablet with a much older, single-core phone that came out while Verizon had far fewer smartphones to maintain, so I'm also going to compare it to the Motorola XOOM, a contemporary device with similar hardware and software at release.
    The Motorola XOOM was released February of 2011 as an incomplete project, again with the word "Soon" attached to those missing features. It took 6 months (August) to receive the SD card update. Similar to the original Droid, though, the update was only made available from Google in June, meaning it only took two months for Verizon to deploy the upgrade once it was released by Google. The LTE upgrade came out just a month later in September, seven months after the launch of the tablet. This delay could, theoretically, be pinned on Motorola, but my suspicion is that it originates with Verizon. Android 4.0 took seven months from the date it was published by Google (November 2011) to be released to Verizon XOOM owners (June 2012).
    Galaxy Tab 7.7 early adopters have now waited an extraordinary nine months since their tablet was launched for their "Soon" to be fulfilled, and there's no end to the wait in sight as Verizon actively avoids communicating with their customers on the matter.
    Explanations can do quite a bit to quell customer anger, as can simply finishing the update and publishing it.  We've received neither, and the existence of the updated software on new units being sold adds rather grievous insult to dysfunctional software that has become an injury to those who rely on this equipment to function.  I feel this is paramount to telling us that we, as existing customers, simply do not matter.
    I have two further pieces of information to add that were not in my original post.  Today I contacted both Samsung and Verizon Wireless about this matter, directly.  The Samsung rep was, unfortunately, either incompetent or completely uninformed.  Nice, polite, but unable to provide any relevant information due to either Samsung's rules or training, or lack of personal knowledge.  The Verizon rep was far, far worse.  I'm a very polite person when speaking (I'm in sales, I have to be, even to people who are being rude), and I didn't even get a third of the way into describing the issue before I was being interrupted by this defensive, crass individual.  When I finally managed to get her to listen to my problem, her response after a minute of typing on her computer was that it was "currently available" and "[she] has no way to push it to my device" and "[I] have to wait for the network to push it".  I very calmly explained to her that the documentation she was looking at was from October (she acknowledged spotting this on the documentation once I pointed it out), that the update never came through and was pulled due to issues, and that I knew both methods of forcing the tablet to check for updates.  She then claimed that a coworker had handed her a Tab 7.7 running 3.2 and that it was the "current version" and that Verizon had never offered an upgrade to 4.0, in direct opposition to her earlier statements and my own eyes.  This...farce went on for nearly twenty minutes before I ended the call.
    It was the most insulting, rude customer service I have received in years.  I felt like I was being talked to like one would address an errant child, not a paying customer.  The last time I was treated this way by a cellular carrier, I left them, switching from Sprint to Verizon.  Unfortunately, I am stuck on Verizon at this point due to unlimited data and hotspot on my personal line, and extraordinarily heavy personal usage, but I have no such motivation to have a 3G/4G tablet through them.  I prefer it due to battery concerns, but an extended battery and larger phone are worth the cost of never having to deal with Verizon's spectacularly awful treatment of their tablet customers ever again.
    Even though they're keeping my account, it's shrinking by two tablet lines.

Maybe you are looking for

  • Where is Safari 6.0.2?

    For awhile now I have not been able to do Software Updates via the Apple Menu Software Update. It shows me what software needs to be updated, but when I click on the "Install" button, I get this message: "None of the selected updates could be install

  • Where can I send a complaint email (not to the worthless BB online reps)?

    I want to complain directly to someone in charge, not the worthless Best Buy online customer support. A couple of weeks ago, I called my local Best Buy and inquired about the Galaxy Note 4 promo, specifically the Verizon version. I explained on the p

  • MacBook Pro - Snow Leopard Problem

    Yesterday while I was on my laptop, it suddenly froze. Then it started twitching, so I turned it off and tried turning it on again, but it kept beeping. There were 3 beeps, and then a pause. Now whenever I try turning it on when the Apple logo comes

  • Problem in Query jump (RRI)

    Hello Gurus, I have created Query Jump (RRI) using Transaction RSBBS. I have assign 3 query.In Development its working fine one can jump from one query to another,my problme is that after transport this query jump links are missing although query are

  • Display apostropes in Apple Mail

    How do I set Mail so that apostrophes display properly. Thanks for any help in advance. hans