Closing of Open PO

hi guru,
my scenario is
To close the Open POu2019s, the delivery completed indicator has to be flagged in PO-Item detail.
This indicator denotes a closed PO item for which no more GR are expected. But, the system allows to
post GR. There are chances that, the user may use the old PO and post GR.
If delivery completion indicator is set in the PO, the system should throw error message while posting GR.
for this my MM consultant want to write badi or exit, i had writen the following code in the BADI MB_CHECK_LINE_BADI.
BUT its slow down the update processes of the server. nd becoz of this server is not working properly. so what i will do to rectify this prob. if there is exit for this plz tell me.
its showing error  Invalid ROLLBACK WORK in an update function module. AND showing error  ROLLBACK_IN_POSTING in ST22.
DATA: ls_ekpo TYPE ekpo.
DATA: message_var TYPE string.
CLEAR ls_ekpo.
  CALL FUNCTION 'ME_EKPO_SINGLE_READ'
   EXPORTING
    PI_EBELN                  = is_mseg-ebeln
    PI_EBELP                  = is_mseg-ebelp
  PI_BYPASSING_BUFFER       =
  PI_REFRESH_BUFFER         =
   IMPORTING
    PO_EKPO                   = ls_ekpo
  EXCEPTIONS
   NO_RECORDS_FOUND           = 1
   OTHERS                    = 2
  CHECK sy-subrc = 0.
  CHECK ls_ekpo-elikz = 'X'.
CHECK is_mseg-elikz = 'X'.
CHECK is_mseg-bwart = '101' or is_mseg-bwart = '103' or is_mseg-bwart = '105'.
  CONCATENATE 'Delivery Already Completed for' 'Line item:' is_mseg-ebelp '-' 'Material:' is_mseg-matnr INTO message_var.
  MESSAGE e002(sy) WITH message_var.
Edited by: Manish Sharma on Sep 24, 2009 11:59 AM
Edited by: Manish Sharma on Sep 24, 2009 12:00 PM

thanx

Similar Messages

  • GL balances differences between Year end closing and opening balances

    Hi friends,
    One GL account balances showing differences between year end closing & year opening balances.
    Example: 2006 closing balance is  250000 $
                   2007 opening balance is 150000 $
    difference is 100000 $ . why should coming like this. already completed balances carryforward (F.16) in 2006 & 2007 year. 
    any programe for this solution ?
    One more point is  just 2 days back i posted 2 entries for 2006 year equal to 100000 $ . after this entries shall we need go for F.16 (carry forwarded balances).
    please do the needful. It is very urgant issue.
    Raj

    HI,
    There shouldn't be any more postings to a GL Account once Balance carry forward has been executed.
    If postings have been made then you should execute the Balance carry forward again, otherwise you will see difference in opening and closing GL balance (as mentioned by you).
    Regards

  • Closing an open path

    I have a path that, although it looks closed, is open so does
    not fill correctly. How do I close it?
    I'm using FW8 on OS X.
    Thanks, Jake.
    P.S. Apologies if I'm being dumb and have missed something
    obvious!

    jakemcm wrote:
    > I have a path that, although it looks closed, is open so
    does not fill
    > correctly. How do I close it?
    Zoom in so you can clearly see the ends of the two paths you
    want to
    join. Use the Subselection tool to drag the ends together.
    You'll see a
    gentle snap when they join.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • I want to reset Firefox, and the message is that something is preventing the reset. I have closed all open windows and I still get the "Oops" message,

    I have uninstalled and reinstalled Firefox because I was receiving unwanted adware and was being directed to untrusted sites. Now I want to reset Firefox because I want to change the home page and toolbars, and something is preventing the reset. I have closed all open windows repeatedly, but the problem continues.
    =====Moved from Firefox OS product to Firefox for Desktop product category by Moderator. -feer56=====

    Check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder
    '''Linux:'''
    * [http://www.freesoftwaremagazine.com/articles/see_all_your_installed_applications_ubuntu_unity Ubuntu Unity]''' {web link}
    * Xfce: Applications Menu category sections
    * options depends on the package manager and the desktop environment
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''''' {web link}

  • Why does closing all open windows (15) and leaving only one drop ram usage from 1.5 to 1.4Gb and not more.

    Why does closing all open windows (15) and leaving only one drop ram usage by only 100mb from 1.5 to 1.4Gb.
    What is in this 1.4 gb ?
    I don't care much about ram, It's just that cpu usage spike like crazy by the end.
    ''Edited to remove swearing - TonyE''

    Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
    Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
    *[[Export bookmarks to Internet Explorer]]
    You should not use old versions they are insecure. Security fixes are publicised and exploitable.
    * [[Install an older version of Firefox]]
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
    *[[Send performance data to Mozilla to help improve Firefox]]
    Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
    *[[Troubleshoot Firefox issues using Safe Mode]]

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • Auto closing of open Purchase Orders

    hai all
    My requirement is to find all the Auto closing of open Purchase Orders which donu2019t have any more use in business transaction
    using BAPI.pls send me one sample report
    regards
    Asish.

    Hi Lebogang
    Go to the open items list under sales or purchasing reports, select PO's on the top right and then highlight all the PO's you want to close. Then right click on the grey area on top of the report and select close. This will close all at once.
    Kind regards
    Peter Juby

  • How not to get back on the page i just closed when opening a new session

    How not to get back on the page i just closed
    when opening a new session?
    I do have a live stream radio on now...
    Therefor new session might not be the complete truth.
    Gerard

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • PO closed or open?

    Hi,
    How do we know whether a Purchase order is closed or open?
    Thanks,
    Krishna

    It depends a bit on your definition of closed.
    When is your PO closed ? after full goods receipt, after invoice receipt, after 2 years, after having done the payment , after having set a deletion indicator?
    ME2M allows to list only POs with open GR if you use selection parameter WE101.
    If you use selection parameter RECHNUNG you get all POs with a missing invoice.
    Using R-ERLEDIGT will show you all POs having an invoice, but if you dont use GRbasedIV you have to check if you still have open GRs, if you use GRbasedIV then you can be certain that it is closed (even you dont know if there will still come invoices for unplanned costs)

  • FEBAN automatically closed the Open item for Debtor

    Open items in our company usually closed manually. But this time FEBAN closed an open item (Debtor). Where can i change the configuration for not automatically closing the open item by EBS. Any help? Points will be awarded.

    HI,
    Change the posting type in the EBS configuration for that particular posting rule.
    rgds

  • Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Hello Richard,
    When you say 'open loop' and 'closed loop', are you referring to running the application in position and torque mode? If not, how exactly are your controlling a servo motor in open loop? 
    In closed loop mode, the encoder values will be used as reference and the motion VIs can be used to configure the software limit as required. Are you currently losing the software limits? If so, how exactly are you losing these values? I am not sure I understood what exactly is happening with software limits in your program, so any more information on this would be useful. 
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • My iPad mini won't update my apps.  I have closed all open apps, done multiple resets but I show 24 updates and when I hit the update, the screen is blank.

    My iPad mini won't update my apps.  I have closed all open apps and done multiple resets.  I hit update and the screen is blank, even though the bubble shows 14 to update.

    If you are getting the blank app update screen, many people are having this problem over the last couple of days.
    According to Fly150 in another discussion, this will work.
    If you want to update the Apps while waiting for Apple to fix Updates:
    1. Go to App Store
    2. Select Purchased
    3. Select All
    4. Scroll down to find the Apps showing update
    5. Select update on the Apps
    This should update the Apps and get rid of the update count in App Store. Apple needs to fix this. It is a workaround only until then.

  • Creative cloud apps keep closing after opening

    My adobe cc apps cloes after opening them. I have tried everything on the forums, even singing out from adobe creative cloud. Photoshop, Dreamweaver, and Flash keeps closing after opening, the only one working is adobe Muse. I have purchased the adobe membership 3 days ago and i still havent be able to use them exept Adobe muse. How is that Muse works and all the others applications dont? Please help. Thanks. 

    I had the exact same issue, seems like the application can't connect to the server and just quit or crash! Any help will be appreciated, thanks!

  • Having issues with my MacBook. Even when the internet is disconnected, apps are still closing and opening on their own. I sometimes do not have control over my cursor.....any suggestions?

    Having issues with my MacBook. Even when the internet is disconnected, apps are still closing and opening on their own. I sometimes do not have control over my cursor.....any suggestions?

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried until it's resolved. Some may not be apply in your case.
    1. Follow the instructions in this support article, and also this one, if applicable. A damaged or defective AC adapter could be the cause, even if it's the right kind.
    2. Open the Bluetooth preference pane in System Preferences and delete all pointing devices other than the trackpad, if applicable. Disconnect any USB pointing devices. By a "pointing device," I mean a peripheral that moves the cursor, such as a trackpad, mouse, trackball, or graphics tablet. A plain keyboard is not a pointing device.
    3. Start up in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you restart as usual, stop here and post your results. Do the same if you can't start in safe mode. If there was no difference in safe mode, go on to the next step.
    4. Reset the System Management Controller.
    5. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    6. A swollen battery in a portable computer can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    7. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and the unit needs to be serviced or replaced.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • How I can closed all open application after update to iOS 7.0.2.0?? Before this v iOS7 we was can closed any application's open :(

    How I can closed all open application after update to iOS 7.0.2.0?? Before this v iOS7 we was can closed any application's open :(

    There's no good way to do it.  But you don't need to.  iOS 7 automatically handles whether an application takes up memory or has files open.  There's no real advantage to you ever closing an application yourself.
    If you are having problems with a particular app, please describe them.

  • Closing and opening in new fiscal period

    Hi
    I am going to close last fiscal period and open new period . What should I do step by step for closing inventory and BP and Accounting and Open them in new Period. does system has any facility to do these step automatically.
    Thanks in advance

    PEC is a tool to use for you to close any periods.  What it does is mainly creating certain retained earning entries.  There is no way to do anything automatically for you.  You may need to define new fiscal periods first before you do Period-End Close.
    Thanks,
    Gordon

Maybe you are looking for

  • BI JAVA Installation require EP CORE ,EP

    Hello, While installation BI JAVA with sapinst ( version 7 )  requires EP CORE ,EP Can we install BI java only by using EP Core  and EP installed on diff. host. ( another system) Thanks in advance. Regards, Tushar

  • Dual booting Windows 7 & Arch...

    I have 2 SATA hard drives on my system... 320gb & 500gb I have 6 gigs ram, triple core 2.1ghz w/256mb HD 2400 ATI pciE Im reading the wiki page https://wiki.archlinux.org/index.php/Wi … _Dual_Boot and I have some questions and am seeking some advice.

  • HTTP time out Error in BPM.....

    Hi Error Description: We have created a Sync-Async Bridge BPM scenario in XI. In the BPM scenario we are calling the web service, and if the response from the web service is an error message then we have retry in a loop up to 24 times after wait for

  • Mail attachments to Windows machines?

    I am trying to send two images as attachments to a user on a Windows machine.  The attachments are appearing in-line in the body of the email and do not show as attachments on Windows. I am attaching the 2 images by clicking the paper clip on the new

  • Spry accordion subpage troubles

    Hello all, I used DW CS4 to set up a spry accordion for my site (www.apposite.us) navigation menu.  I was able to change some of its behaviors and appearance and am mostly satisfied, but I have two lasting issues: 1. I want the 'Home' tab to share th