Logic to chekc whether a PO is complete or not

Hi Sir,
I have to check the status of a PO...whether its complete(Y) or not(NO) by reading respective EBELN  and validate the PO is closed and all the LINE ITEMS in the PO is PAID.
Please help me in writing logic for this.
Thanks
Krishan

Hi Krishnan,
<li>check the field ELIKZ "Delivery Completed" Indicator in EKPO table, if ELIKZ field is space then P.O is open and not Billed.
Thanks
Venkat.O

Similar Messages

  • While Browsing SSAS 2005 Cube Getting Error " The following system error occurred from a call to GetOverlappedResult for Physical file: Logical file: '' : Insufficient system resources exist to complete the requested service."

    Hi Guys,
    When I try to Brows Cube (SSAS 2005), I get below error (Sometimes):
    TITLE: Microsoft SQL Server 2005 Analysis Services
    Server: The operation has been cancelled.
    The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\674.fact.data', Logical file: '' : Insufficient
    system resources exist to complete the requested service. .
    The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q23.0.prt\385.fact.data', Logical file: '' : Insufficient
    system resources exist to complete the requested service. .
    BUTTONS:
    OK
    and I think due to above Error, Index on a Particular Attribute (EMP_ID) of a DIMENSION DIM_EMP is getting dropped from FEW of the Partitions (Folders) and started getting new error:
    TITLE: Microsoft SQL Server 2005 Analysis Services
    File system error: The following error occurred while opening the file '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\688.DIM_EMO.EMP_ID.fact.map'.
    BUTTONS:
    OK
    I followed the above path and did not find file 688.DIM_EMO.EMP_ID.fact.map in folder PARTITION_2013Q31.0.prt. Once I rebuild the Index (ProcessIndex) for this partition, I am able to See file 688.DIM_EMO.EMP_ID.fact.map.
    But again when next time I get error "Insufficient system resources exist to complete the requested service", Then 688.DIM_EMO.EMP_ID.fact.map will be dropped and will not be available in folder PARTITION_2013Q31.0.prt.
    Anyone had similar issue. Could you please share your experience and resolution if any.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi Shiven,
    In your scenario, the issue occur at sometimes, right? Base on my research, the issue can be caused by that calculation estimate exceeded available memory. Possibly due to possible number of dimension members and sizes of keys. And 32bit environment didn’t
    allow for any expansion to the SSAS memory space.
    To avoid this issue, please try to use userva to fine tune the 3GB setting down to 2900 since /3GB is the likely
    cause (has been for most other customers who encountered the same problem before). The KB Articles below discuss that setting in detail.
    How to use the /userva switch with the /3GB switch to tune the User-mode space to a value between 2 GB and 3 GB
    Regards,
    Charlie Liao
    TechNet Community Support

  • GR of Delivery completed item not possible for line item of PO/SA ?

    Hi,
    Am unable to Receive Goods in MIGO an Error - "GR of delivery completed item not possible for line item of PO/SA"?
    Regards
    Mohammed Khaja Pasha
    +919550917395.

    Hi Mohammed Khaja Pasha ;
    Delivery Completed checkbox provides a lot of fonctionality like an additional delivery is not expected, but is possible. If you prevent posting of migo , you can benefit from system messages M7 163 and 254.
    You want to ensure that the delivery is made before the planned delivery date : Set message 254.
    You want to ensure last possible delivery date : Set message 163.
    However ;
    The open PO quantity of the PO item equals zero.
    The PO item is no longer relevant for materials planning.
    The PO item is ignored when letters urging delivery of overdue goods are generated.
    The PO item can be deleted and archived.
    You can specify whether the Delivery Completed checkbox is to be selected automatically.
    Regards.
    M.Ozgur Unal

  • [Forum FAQ] Group Policy Preferences Scheduled Tasks Item not working when the option Run whether user is logged on or not is selected

    Scenario:
    We use one of the following Group Policy Preferences Scheduled Tasks item to deploy a task to clients:
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    (Note that on some platforms, "At least Windows 7" is replaced with "Windows Vista and later.")
    After designating a user account to run the task, we select “Run whether user is logged on or not” option, and “The Do not store password…”
    check box is automatically grayed out (See Figure 1).
    Figure 1
    After finishing configuring the task item, on a client, we run command
    gpupdate/force to forcefully update group policy. However, on the client, when we check if the task is listed in Task Scheduler snap-in, the task is not displayed, and when we run
    gpresult/h report.html to collect group policy result for troubleshooting, we see an error as similar as shown in the following figure (Figure 2).
    Figure 2
    Cause:
    To make the scheduled task run whether the user is logged on or not, we need to store the password of the designated user account. However, for the content of the scheduled
    task item is stored in Sysvol where it’s not safe to store passwords, this function has been deprecated.
    Workaround:
    We can run the task with system account
    NT Authority\System, or we can use specific user accounts to run the task when the given user is logged on. (See Figure 3)
    Figure 3
    Reference:
    MS14-025: Vulnerability in Group Policy Preferences could allow elevation of privilege: May 13, 2014
    http://support.microsoft.com/kb/2962486
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello Everyone,
    Succeeded !!!!!!!
    Even i was struggling with this same Problem to execute a batch via Window scheduler and set the setting to "Run whether the user is logged in or not".
    I tried many time but the batch runs with " Run
    whether user is logged on" and not with "Run
    whether user is logged on or not".
    what i discovered is that there was one mapped drive
    path in my batch file which was not the complete path like y:/AR.qvw actually what i did i changed that map path to the complete path like \\servnamename\d$\AR.qvw and the batch executed successfully with the setting "Run
    whether user is logged on or not"
    The
    conclusion is that check the dependency of the script on external resources because when you check this option "Run
    whether user is logged on or not" It actually conflicts. This my discovery.
    If
    you have any question write me on [email protected]
    Thanks
    & Regards,
    Arun

  • Firefox keeps opening tabs on it's own whether I am on-line or not. I have reset several times and there are no pipe characters in the home page address.

    Firefox keeps opening tabs whether I am on-line or not. These are often games pages, but not always. I have reset several times and there are no pipe characters in the home page address. This is not the first time this has happened. The first time was a couple of months ago and a reset cured the problem, but this time it does not. How can I stop this occurring?

    '''''If this can happen with Firefox completely closed:'''''
    Some malware simply launches pages in your default browser from outside Firefox. Definitely scan for malware using some of the tools listed in our support article: [[Troubleshoot Firefox issues caused by malware]].
    There might be an additional step:
    Last year, many users reported advertising tabs opening randomly, sometimes even when Firefox was closed. It turned out that a program had created scheduled tasks to open those pages at certain times of day.
    You can check the Windows Task Scheduler:
    * Windows XP: Start button > [All] Programs > Accessories> System Tools > Scheduled Tasks
    * Windows Vista/7: Start button > Control Panel > System and Security > Administrative Tools > Task Scheduler
    * Windows 8: ?? You might try the charms bar search box if you don't find it in the control panel.
    * Past threads on the "dsite" problem:
    ** [https://support.mozilla.org/questions/967667 How can I keep Firefox from opening a window to website tofushopnews.com]
    ** [https://support.mozilla.org/questions/965048?page=2#answer-461509 How do I get rid of sponsorship tabs that open automatically?]

  • Project Physical Percent Complete IS not Getting updated in Fusion Projects

    Hi Everyone,
    I am Working on Fusion PPM Release9
    In Project Plan Type i have set Physical Percent Complete to Cost & Automatic But in dashboard the Project Physical Percent Complete is not Updating
    Please help me with the issue
    Thanks
    Shaan

    Hi Kedar,
    It should not happen.
    Question: Do such projects have a direct underlying task?
    I have know a problem, which occurs only that the project has direct underlying task.  If yes, I will find the note for it.
    Kind regards,
    Zhenbo

  • Hi. Im currently living in New Zealand. Just bought an iphone 5s yesterday from a shop called Parallel Brand Imports in Auckland. When i came home i called apple to check whether my phone is locked or not and they said that its locked to US Verizon even t

    When i came home i called apple to check whether my phone is locked or not and they said that its locked to US Verizon even though when i checked on iphoneimei it said sim status unknown. I put my 2degrees (NZ carrier) in today and it worked fine. I got into the settings and turned off the automatically part of carrier and there were 3 options for me to choose 2degrees vodafone and telecom. Because of that, im quite confused abt whether my phone is locked or not since im from vietnam so i want to know if i can use vietnamese sim card when i go home. Thanks for your help@verizon

    Hi tranvietanh - I appreciate you contacting us all the way from New Zealand! I can confirm that the iPhone 5s and all of our other 4G LTE device are not SIM locked. As the carrier in New Zealand may not support the exact same frequencies and cellular bands that we use on our network, we are unable to support the device if using a 3rd party SIM.
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Delivery completed indicator not working..

    HI SAP expers,
    some purchase orders not getting chick mark of  Delivery completed indicator ater receiving goods
    i have PO with 100 qty .  then GR 100 qty  .  but its not taking in the purchas eorder
    Delivery completed indicator not check automaticalley. i did all the configuration in spro-mm-inventory-GR-indi  extt...
    most of th ePO or  getting but some POs or not getting.. is there any settings behind MATERIAL MASTER or any .?
    Regards,
    Anthyodaya.

    Try the following config..
    1. Set Delivery complete indicator at plat leve
    spro - mm --inventory mgmt -
    Goods receipt -
    Set delivery complete indicator
    2. COntrol field selection for MIGO to disable users from changing it.
    spro --> Materials Mgmt --> Inventory Mgmt --> Settings for enjoy Transaction --> Field Selection for MIGO
    set field : "Del.Completed" Ind.     GOITEM-MIGO_ELIKZ    to Display

  • I get the errer message "There is a problem with this windows installer package. A program required for this install to complete could not be run."

    I have Wondows Vista... I tried to upgrade to Itunes 10.5, and received an error orginially stating that I was trying to install a version older than the one I had.  I uninstalled all of itunes, and now I'm getting the error  message "there is a problem with this windows installer package.  Aprogram required for this install to complete could not be run.
    Help!  I have an IPhone, and I would like to get my Itunes upgraded so I can download the new Iphone software...
    Thanks!

    I have been in touch with Apple support in reference to my problem. We went through every solution available, and found no fix. The tech then suggested I contact Microsoft concerning this issue. I thought that suggestion was just to get me pointed somewhere but Apple. Boy was I wrong!! I contacted Microsoft, and was directed to a free download called Microsoft Fix. This program fixed something in the regisitor, and wala everything was fixed!! I now have I-Cloud and I-Tunes loaded and working well. So, if you can't install Apple Software and are running Window 7 you might give Microsoft Fix a try, it fixed my problem.....

  • I'm trying to update iTunes to 10.5.2 and I get the message that "a program required for this install to complete could not be run".  I've tried all of the steps to try to resolve this (I have a PC) but nothing works.  Help please!

    I'm trying to update iTunes to 10.5.2.  I have a Windows 7 64-bit Dell laptop, and when I try to update it, I get the message "There is a problem with this Windows Installer package.  A program required for this install to complete could not be run.  Contact your support personnel or package vendor." 
    I went to the troubleshooting page and did all of the steps they listed:  uninstalled iTunes, deleted by Temp files, even disabled AVG while I downloaded again and tried to install.  I still get the same message.  If anyone can help me, I would really appreciate it!

    You must have gone to the old microsoft post.
    Here is the link:
    http://support.microsoft.com/kb/2438651

  • I am trying to upload itunes 10.5, but get a message "There is a problem with this Window Installer Pkg. A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  What is it I need to do?

    I am trying to install itunes 10.5, but during the download I get the following message, "There is a problem with this Window Installer Package.  A program required for this install to complete could not be run.  Contact your support personanal or package vendor."  If this is my personal computer and was able to upgrade to the previous version (pre 10.5), why not now?  What is my "package vendor"? And what is it I need to do to fix this?  The message is unclear.  Unfortunately, I deleted my itunes program, thinking that in doing so, 10.5 would finally load.  Now I have no itunes on my computer and unable to sync my iphone.  Help!
    Thanks - Rick

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • How to search whether a seat is available or not?

    Hi,
    I am developing a form in admin module for a call centre where there is a requirement to check whether a seat is available or not? The form contains a search window which the user enters the date in Location,catergory,From_date,to_date,time_from,time_to fields.
    For example if he enters time_from as 06:00and time_from as 14:00 .That means the seat is occupied for 8 hours but is available for the remaining 16 hours. So the search result should show this seat also in the availability list. Every seat hava a unique seat_id.
    another situation is a seat can be allocated between 22:00 and 06:00.That means it is crossing the day.That means that means in a day the seat is allocated from 00:00 - 06:00 and 22:00-23:59. How to search for this?
    The seat can be allocated for any number of hours in a day. It can be 2 hours .3 hours or 4 hours....means there is no particular time slot system.
    Can this be done using a sql query or plsql procedure?
    can anybody help me in this regard
    Thanking you,
    Deekshit

    Hi
    U can use the following query in function.
    SELECT CASE dumm
    WHEN 'X'
    THEN 'OK'
    END
    FROM (SELECT NVL (dummy, 'Y') dumm
    FROM DUAL
    WHERE TO_DATE (new_date_entered in varchar format, 'hh24:mi:ss') BETWEEN TO_DATE
    (date_from in varchar format,
    'hh24:mi:ss'
    AND TO_DATE
    (date_to in varchar format,
    'hh24:mi:ss'
    But need to b careful when the dates r changing. U can check dat by comparing time_from nd time_to values...in case of date change time_from value will be greater than time_to value(assumption==> seat can't be blocked for more than 12 hours). U can actually use the same query by reversing the conditions.. hope this will solve the problem
    Message was edited by:
    Arpit

  • We need to check whether the order is locked or not?

    I need to check whether the order is locked or not?
    I tried to use this RFC KAUF_ORDER_READ and passed Order no.
    I manually locked the order( using Tcode -IW32) but still Function module is not returning 'X' in FIELDS flg_locked and FLG_ENQUE of the structure E_KAUF.
    the FM should return 'X' in these fields.
    Please help.
    Coudl anybody suggest me how I can check using RFC/ Table fields etc that whether the order is locked or not?

    Hi Rohit,
    Try this code. Check the flag.
    Note : Order number should have left padding of Zero
    DATA : order_tab TYPE TABLE OF ord_pre,
           wa        TYPE ord_pre,
           flag      TYPE rc27x-flg_sel.
    wa-aufnr = '000004006789'. "Order number should have left padding of Zero
    APPEND wa TO order_tab.
    CALL FUNCTION 'CO_ZF_ORDER_READ'
    EXPORTING
       flg_dialog               = ' '
    *   FLG_ENQUEUE              = 'X'
    *   OBJECTS_IMP              = ' '
    *   EXPLODE_IMP              = ' '
    *   FLG_PROT_IMP             = ' '
    *   FLG_NO_EXTERNAL          = ' '
    *   FLG_NO_BANF              =
    *   FLG_CHECK_SIM            =
    *   IMPORT_MESSAGE_ID        =
    *   CHECK_STATUS_READ        = ' '
    *   FLG_NO_GOS               = ' '
    *   FLG_CALLED_TO_COPY       = ' '
    IMPORTING
       flg_enqueue_ok           = flag
    *   FLG_ESCAPE               =
      TABLES
    *   AUFNR_DEL_EXP            =
        aufnr_tab_imp            = order_tab
    EXCEPTIONS
       ORDER_NOT_FOUND          = 1
       RELEASE_NO_CHANGE        = 2
       OTHERS                   = 3
    IF sy-subrc = 0.
      WRITE flag. "If Flag is X order is not locked
    ENDIF.
    Regards
    Rajvansh
    Edited by: Rajvansh Ravi on Nov 27, 2008 12:33 PM

  • HT1926 when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    Repair your Apple software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
    If you don't find ASU, go to Control Panel:
    START/CONTROL PANEL/Programs n Features/highlight ASU and click REPAIR,

Maybe you are looking for

  • Error in recv file adapter

    i have a structure with RECORDSET under which                                  HEADER                                  TAX_HEADER                                   ITEM FOR WHICH I HAVE GIVEN THE VARIABLE SUBTITUATION AS fillename    payload:MT_xxxxx

  • Adobe premiere pro cc 2014.2 has stopped working error 1000

    I'm about to throw this desktop across the room. Please someone help me. When I was using this last week, it would close all of a sudden after a while. Now, it does it so quickly I can only save once. Can anyone help? It's going down hill and I've go

  • Update KB2952664 failed on 10-15-2014/ran mr fixit and it failed to fix problem/I'm running windows 7 64 bit. what can I do?

    Update KB2952664 failed on 10-15-2014/ran mr fixit and it failed to fix problem/I'm running windows 7 64 bit. what can I do?

  • Downloaded iTunes 7 and alot of my songs are gone????

    I downloaded iTunes 7 and half my songs are gone. Also how do I get iTunes to find the music I have saved on my computer without doing it one by one??? Please help as I am really frustrated and wanting to return my ipod =(

  • Mac hard drive storage advice

    I am thinking of upgrading from a Macpro to a iMac, though I currently have 4 storage drives in the Macpro, whereas I can only have 1 in the iMac, with the option for connecting external drives. Someone is offering to sell me an older raid enclosure