Array_key_exists('cancel', $POST)

Good evening all,
I'm trying to work thru the David Powers book "The essential guide to Dreamweaver CS4"  In chapter 14 he's explaining how to create a form to delete records using the delete record server behavior.  I've created the form several times, always with the same error.
Warning: array_key_exists() [function.array-key-exists]: The second  argument should be either an array or an object
and then a line number to the beginning of this code.  I've read a little that seems to imply that this might be a bug in php.  I'm using
PHP Version 5.2.9
if (array_key_exists('cancel', $POST)) {  
    header('Location: http://www.someplace.php');
exit;
any help is appreciated
A.

Thank you,
That solved the problem.  Great book by the way.  I'm learning a ton.
Thanks
Art

Similar Messages

  • Cancel post goods issue..............

    How do I cancel post goods issue?Process of how it happens?pls tell me.

    by useing the tcode VL09
    You caGoods issue reversal means that you cancel the goods issue posting for a delivery. This function enables you to remove the posting without having to create a returns delivery and then having to post a goods receipt for it (see also Processing Returns After Goods Issue Posting). This function can be especially useful if you have accidentally posted goods issue, for example, and you would like to reverse it. Goods issue reversal usually occurs shortly after goods issue posting.
    Integration
    The cancellation document is integrated in the document flow of the delivery.
    Prerequisites
    Goods issue reversal is only possible for movement types for which a reversal movement type is defined in Customizing. Therefore, if you have defined your own movement types for goods issue, you must also define the respective reversal movement types and assign them to the movement types for goods issue.
    Range of Functions
    When you reverse goods issue for a delivery, the system creates a cancellation document that adopts the quantities and the valuation from the original goods issue document, and also executes the respective value and quantity posting to stock.Procedure
    From shipping, choose Post Goods Issue ® Cancellation/reversal.
    The Reverse goods movement screen appears.
    Enter your selection criteria, for example, route, goods issue date, shipping point, and so on, and choose Execute.
    A list of all deliveries that correspond to your selection criteria appears.
    From the list of deliveries to be reversed, you can branch directly to a list entry in the delivery by double clicking on the entry.
    Select the deliveries for which you wish to reverse goods issue and choose Cancel/reverse.
    A dialog box appears.
    In the dialog box, confirm that you want to reverse goods issue.
    Result
    The system reverses goods issue for all selected deliveries. It also generates a log of all the reversals executed and any errors that may have occurred.

  • Cancel Posted Excise invoice

    Hi friends,
    How to cancel posted excise invoice(GR is completed) ?
    Regards,
    Chetan

    Hi friends,
    I have already tried it in quality system.
    1.After cancellation of GR.I tried to post excise invoice but system showing the messege that No Part I exists for availing credit in excise invoice TEST 1 2007
    2.J1IH reverse the entry but system is not showing these entries in excise invoice.
    so due to this while entering Vendor invoice in miro system showing tax amount from excise invoice.if reduce tax amount then system showing balance in transaction currency.please suggest me whst to do ?
    Regards,
    Chetan.

  • Cancel post goods issued....

    dear sap guruz....!!!
    i have a problem in production environment. during cancelling post goods issue.. When i reverse the post goods issue PGI the system gives an error
    "asking for account determination key PRD 0001 PRA 7920 is not maintained in MM customizing (valuation)....". This issue can be resolved if i give account determination for PRA 7920 BUT  what i am unable to understand is that why it is asking for account determination when there is no price difference in the post goods issue reversal which is issued on standard price for finished goods..  why we need PRA 7920 account determination..????
    please help me in this regard.... ..
    thanks
    sohail .

    Hi
    Check -
    What is the date of PGI document? and when you are doing PGI reversal. 
    whether costing has been done between these both dates in SAP.
    If the standard price durign PGI document and PGI reversal is different it will look for PRD
    And also check whether you are using two different currencies
    ~Thanks!
    Rajesh

  • During Excise Invoice Cancellation Posting Date should be similar to excise

    Dear All Experts,
    Hope you are doing well !
    We have one requirement during  Excise Invoice cancellation for Posting Date Field. Generally, system is taking Posting Date as Current Date but we want system should take Posting date as (Posting Date of Excise Invoice).
    Please give your expert comments.
    With Best Regards,
    Bharat B

    Dear Bharat,
    Please use any exits given by me in the following thread and write the logic to populate the Excise invoice date as the cancellation date.
    Excise Invoice Cancellation on Date validation only
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • GR cancel posted in SUS created 101 in backend

    We are in SRM6.0 SP03.
    We have implemented SRM-SUS (extended classic scenario). When we cancel GR in SUS it creates reversal in SRM but it created 101 in backend. The IDOC is having 101. Please help.
    Thanks, Sachin

    Virender,
    thank you for your reply, what sounds strange to me that in my POWL for GRN I have the button CANCEL/DELETE and the system ask me if i really want to delete the selected GR just before giving back that strange message.... It looks like if the functionality exists but doesn't work.
    Are you sure you can't cancel a GR in SRM, what should be the procedure in this case?
    Thank you in advance,
    Fuffo

  • Refund of prorated monthly bill if canceling post-contract

    My 2-year contract is complete, and I'm looking at switching companies.  Is my bill prorated, so I would get a refund if I cancel halfway through the month, or do I need to time the switch to cancel on the last day of the billing cycle in order to get my money's worth?  If it's prorated, do I need to do anything other than cancel in order to get the refund?

    mrkern81 wrote:
    I'm not displeased with Verizon, but my wife and I can save $632 in 2 years with 3GB straight talk data plans, compared to 6GB of shared data from Verizon.  That savings factors in the cost of buying 2 Samsung Galaxy 4S phones.  If our phones are still good enough after 2 years, then every year we continue without buying a new one will save $786 in service charges.  Also, if we have an overage the data is slowed, rather than continuing but costing more money, which we prefer.
    I would suggest staying as far away from Straight Talk as you can. I used them, and they're the reason I ended up with Verizon. I was willing to pay more for service, because unlike Straight Talk, the service works. Straight Talk is oversold, over-saturating the market, making 3G services extremely slow.
    You don't want them, and that's your warning.

  • Cancellation of posted excise invoice

    Dear All,
    How to cancel posted incoming excise invoice without cancelling the GRN.
    User had posted the excise invoice wrogly so now they want to cancel that. For this we have to first reverse GRN but stock also get consumed meanwhile so system is not allowing to reverse GRN. How to resolve this?
    Manoj

    Dear All,
    We can cancel the posted excise invoice for purchase also.
    But for that we have to first revers the GRN.
    Now in out case it is not possible to revers the GRN.
    How to solve this?
    Manoj

  • Network confirmation cancell. thru CN29,when past posting period isnot open

    Hi Gurus,
    I have one query regarding netowrk confirmation. In our scnario, we are confirming network activity/element directly through CN27. Now after confirmation, due to some mistake we are trying to cancel that confimration through CN29 but system gives me error that "posting period is not open". As my network confirmation was done in the month of March'10 and i am trying to cancel it in April'10 that's why system is not allowing me to canel the confimration.
    Now my query is that how to cancel the network confimmation without opening past posting period. I looked into the configuration for network confirmations but there is no setting available to allow cacellation of network confirmation done in posting period which is not open now.
    however in CAT5, we have a option where we can enter cancellation posting date, and system allows to cancel time postring for that period also which is closed now (by putting cancellation posting date belonging to current posting period wihhc is open).
    regards
    Alok Mittal

    I have not verified the same on system, but  It's quite good observation. I think it's standard behavior  in system and could be possible, in CN29 you are not having option to put posting date, so, system is taking date of posting date on which it got posted for reversal. i.e. March 10, but period is closed for that date. so, system is giving you error that period is closed.
    Now coming to CAT5 if you give posting date of March 10, and try to reverse this document system will give you same error of period close. but if you give posting date of period April 10 system will allow to post. Because  current period is open. Reversal program works in SAP based on some logic for different documents. 
    If you wanted to check why system is behaving in that way in that case, compare  both documents ( original posted and reversal document posted in CAT5, check after posting reversal document is there any change done by system to original documents , I understand mostly system put reversal tick mark or  so, in original document and give reference document in new documents )
    Please check and revert back.
    With Regards
    Nitin p.

  • Cancellation of excise invoice for depot

    Is there any way out to cancel or reverse the excise invoice for depot??

    Hi,
    Which transaction you are using for posting excise invoice for depot? If it is J1IG, then it is difficult to cancel.
    If it is J1IS, then you can select option Cancel & post the invoice
    Regards,
    Prashant Kolhatkar

  • Cancellation of Excise invoice after MIRO

    Hi Everybody,
    How do i cancel the Excise Invoice after MIRO.my scenario is Net Inclusive of Excise duty. the procedures which i followed as follows,
    1.PO with Zero Tax code > J1iex(captured the Excise Invoice)>GR which refers EI>Posted EI.
    After posting EI i found thats wrongly captured then i did canceled the EI as follows
    2. GR Cancellation>Posted EI against canceled GR>Canceled the EI.
    Now my RG23A got cleared.then i did again step 1 as well as MIRO.After did miro again i found that captured EI is Wrong. I have to followed below procedure to Cancel the EI,
    3.Cancell the MIRO document in MR8M>GR Cancellation>Posted EI against canceled GR>Canceled the EI.
    When i tried to POST EI one pop up message is coming i.e status of EI one is for INPROCESS another one one is for Posted .I chose Inprocess and entered i was getting following Error
    No Part I exists for availing credit in excise invoice 364 2008
    Message no. 4F112
    If i Chose POSTED i was getting following error,
    Excise invoice 364 2008 has already been posted for vendor 103769
    Message no. 4F107.
    Can anybody tell me where i'm wrong what  procedure i need to follow
    Regards
    Govindaraj

    hi
    plz check the document year for inprocess and posted doc
    now steps for excise invoice cancellation will be as follows
    1  cancel MIRO document with MR8M
    2  cancel MIGO document in MIGO
    3 goto J1IEX choose post here give the excise invoice no of the document (u will get this no from table J_1IEXCDTL and field DOCNO)
    4 now in misclinious tab give the rejection code and simulate u will find all the duties are reversed (compare with previous posting)
    5 now ur invoice is cancelled and u can go for new GR and new postings
    regards
    kunal

  • Invoice cancellation

    Hello SAP gurus,
    My client has done the wrong invoice in year 2008,Now he want to cancel that wrong invoice in this year
    System is giving the error as'Allowed posting period_ _ _ _ _ _ _'
    Is this possible to cancel the invoice?
    If yes ,please give the solution what can be done in such scenario?

    Hi,
    It is not recommended to make any transaction posting to closed period.  Therefore, your invoice cancellation posting date shall be chosen as on current posting period.  If you insist on making such posting to closed period, then you will have to reopen the closed period using MMPI transaction.  Yet, make sure you will read all related notes before re-opening.
    Cheers,
    HT

  • How to find out if a trip is 'Posted/transfered to FI'

    Hi,
    Suppose we have a trip no. and PERNR, how can we find out it the trip is 'Posted/transfered to FI' status or not - in a program.
    Will this status be updated in some table ?

    Hi Riky,
    You can check for the status in this report :
    S_AHR_61016405 - General Trip Data/Totals/Receipts/Cost Assignment
    Check for status column field FI Transfered. these are the possible status values.
         Not Posted to Financial Accounting
    1     Posted to Financial Accounting
    2     Posting to Financial Accounting Canceled
    3     Cancellation Posted to Financial Accounting
    thanks and regards,
    Shilpa

  • Payment run has been cancelled F110

    Hi Experts,
    Would like to ask possible reasons the following status is displayed in F110.
    "Parameters have been entered
    Payment proposal has been created
    Payment proposal has been edited
    Payment run has been cancelled
    Posting orders: (X-1) generated, (X) completed."
    Why does posting/payment were still created even if it is stated that "Payment run has been cancelled". What are possible reasons the payment run was cancelled.
    Thank you very much in advance.

    Hi,
    With reference to the belowstatus which you have provided,
    "Parameters have been entered
    Payment proposal has been created
    Payment proposal has been edited
    Payment run has been cancelled
    Posting orders: (X-1) generated, (X) completed."
    Once you edited the Payment Proposal, then sytem displays a message Payment proposal has been edited
    After that only you have cancelled the Payment Proposal, then sytem displays a message Payment run has been cancelled
    Once you cancelled the Payment run system won't generate any posting orders.
    Please try to replicate the same once again, you won't get this again.
    Thanks
    Chandra

  • Asset GR doc Cancel

    Hi All,
    User not able to cancel Asset Po GR document Which User have posted wrong date.  when user trying to cancel the Asset GR doc, getting the error message dificit qty
    Please help me out how to cancel this Asset GR
    BR,
    Nagaraj K

    Hi,
    Pls see that whther there was any other qty reversed/cancelled/ Posted any other use....due to which the system is giving this error...you can check it also in the PO history...
    If system is not allowing to post the cancellation doc...then pls try with reverse doc also....
    Hope it helps..
    Regards
    Priyanka.P
    AWARD IF HELPFULL

Maybe you are looking for