Close an entry document

Hi experts.
When you want to close an entry document from the WAE02 transaction, is there any option to check the status of the disposal document assigned to the entry document and not allow to close it if the disposal document is not canceled?
Thanks in advance.

Hi acbsap.
You can limit the points from you can close  and entry document changing the ['Status profile' |http://help.sap.com/saphelp_erp60_sp/helpdata/en/cc/ed873a06a0865ae10000000a11402f/content.htm] (EHS_WMM1 - Disposal Processing) IMG (Waste Management->Disposal Processing->Basic Settings for Diposal Processing->Status Management).
But if you want than an entry document with a follow-on document (disposal document)  not canceled can't be closed. You will need to create a function module with that logic taking as a pattern the function EHSWA_162_WAFUNC_CLOSE and assign this new function in IMG  (Waste Management->Disposal Processing->Basic Settings for Diposal Processing->Specify Function).
Regards
JCD

Similar Messages

  • How do I close a numbers document without closing the entire app?

    Can anyone tell me how I can close a numbers document without closing the entire app? i.e. go back to the folders display page - is this even possible?

    It is not a bug, but a new feature.<br />
    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=626825 bug 626825] - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
    ''(please do not comment in bug reports; you can vote instead)''
    See also:
    * [[/questions/799856#answer-155765]]

  • Looking for PS Script to Save and Close All Open Documents

    I used ACR and CS5 to process my Nikon D3 NEF files. I would like a script that would save all open documents (witin PS) with the highest possible quality (12). I've found several scripts that will close all open documents with save but cannot figure out how to implement a save script.
    For example, I may have 20 converted .jpeg files open. I would like to run a script to save & close all open documents.
    Is it possible? Can someone post an example working script?

    Take a look at the image processor, under the scripts menu.
    MTSTUNER

  • EHS - Report Entry Document - Purchase Requisition - Purchase Order

    Hi experts,
    I would like to have in a report the following sequence:
    - Entry Document
    - Purchase Requisition
    - Purchase Order
    Is there any function or BAPI that gets this information? I can't find it.
    For entry documents, i found this database table: "ehswat_enfod". Is this correct?
    To purchase data, i make "selects" of EKKO and EKPO tables. 
    Lots of thanks,
    Javier

    OK Sridhar,
    Thanks for the answer, but this still don't solved my problem. This table EKBE with this value EKBE-VGABE = 9, returns 0 rows.
    I would like to get the Entry document, passing the Purchase Requisition.
    I only find a function (EHSWA_149_FIND) that makes the opposite, from a Entry Document (EAPRED) get the Purchase Requisition (EASUCC).
    Do you know a function that gets what i want? Or a database table like EHSWAT_ENFOD, but with clue values?
    Thanks,
    Javier

  • Enhance Budget Entry Documents for Commitment Carryforward

    Anyone implemented the badi: Enhance Budget Entry Documents for Commitment Carryforward before?
    May I know what changes are required in order to ensure that the budget entry documents is in local currency (SGD) when commitment carryforward is in foreign currency (USD)?

    Hi,
    So, you want the budgetary document to be posted in local currency? I don't ask for reasons, though, as you probably know, even if the document is posted in foreign currency, local currency amount would be also there and the AVC would be performed also in local currency. But, if you need to change the currency, you can indeed use this BADI and modify I_BUDGET_ENTRY_DOC_SENDER and I_BUDGET_ENTRY_DOC_RECEIVER parameters, changing the currency and the amount.
    I'm not sure about your remark 'change code' as BADI does not come with any code at all. You will have to implement the BADI providing your own code to change the required fields.
    Regards,
    Eli

  • Badi: for user defined fields in Budget Entry Document

    HI,
    I am implmenting BADI for user defined field in budget entry document definatin name 'FMBW_CUSTOMER' . I have created two fields in include 'CI_FMBH' and also created a sub screen and assign this subscreen to badi. I have called get data and put data methods in PBO and PAI. like this.
    <b>
    PBO
    create object grid1.
      CALL METHOD grid1->if_ex_fmbw_customer~get_data_from_screen
      importing doc_header = doc_header.</b>
    <b>PAI
      CALL METHOD grid1->if_ex_fmbw_customer~put_data_to_screen
        EXPORTING
          doc_header = doc_header
          processing_mode = 'CRE'.</b>
    But the system is not saving these fields in database.
    What could be the problem .

    Hi, did you have any advance on this issue?

  • Entry Document and Change Document in SAP FM

    Dear Expert,
    In SAP FM when we enter a budget through FMBB, system create the entry document and creates change document automatically with the original document
    could you please explain what is the difference between 2 documents. and justify system behavior when system creates 2 change documents for the same entry document (sometimes)
    Thanks & Regards

    Hi Richa,
    a good place to start would be the Master Guide to NW 7.4 SR1 on SAP Market Place which is here.
    The guide goes through everything for planning a NW installation including of course Portal and planning the Landscape design and architectura questions.
    Best regards,
    Andy.

  • Error during entry document processing - wae02 - EHS

    Dear All,
    In WAE02, i am getting the below error
    "Error during entry document processing - wae02 - EHS"
    But, when i click on "extras - messages", its empty.
    Added, i have assigned "Partner assignement", posting is over, Accout assignment is complete.
    Still the warning message comes and PO is not getting created.
    Please answer this high priority issue and do the needful.
    Regards
    Hari Prasath

    Hello Hari
    Seems issue is with BAPI in Purchase order process
    Check the OSS Note :1111389
    Balajee

  • Waste management -  Entry Document

    Hi to All,
    while trying to do a Purchase order with the Entry document i received this error :User status PAPI is active (WAQ DF7E0D489B08FCF1A81B001871E45E18)
    how can i solve this error message?
    thanks
    C.

    Hello,
    This is Status profile error.
    It says that your entry document is in Status PAPI (Document created) and your status profile is set such that it is not allowing you to create PO from this status.  Normally PAPI status is achieved only after creation of PO. May be you already would have created a PO, so system has taken that staus and now not allowing you to create PO, if not then you will require to modify Status profile EHS_WMM1, which is the standard status profile supplied with the system.
    Below is the example of Status profile for Entry document which can be accessed through IMG activity:
    Environmental, Health & Safety > Waste Management > Disposal Processing > Basic Settings for Disposal Processing > Status Management > Check, Extend, Set Status Profiles
    On the Change Status Profile: Overview screen double-click the Status profile EHS_WMM1 (Disposal Processing).
    On the Change Status Profile: User Status screen choose the Status ANGL and choose Details (F2).
    On the Change Status Profile: Transaction Control screen change the following Business Transaction 'WA-PRO: Order': In the gap 'influence' set Radio-Button from 'Forbidden' to 'Allowed'.
    Save your entries.
    Choose Back (F3).
    On the Change Status Profile: User Status screen select the status BEST and choose Details (F2).
    On the Change Status Profile: Transaction Control screen change the following Business Transaction 'WA-PRO: Create Document': In Influence change from Forbidden to Allowed.
    Choose Save.
    Please modify the Status profile as per your business rule. Please see the documentation of the mentioend IMG activity and also see SAP help for the topic : Entry Document Status under Waste management.
    Hope this information is helpful to you.
    Regards,
    Niraj

  • Error in function call BAPI_0050_CREATE. Create FM Budgeting Entry document

    Hi guys,
    I've got runtime error in BAPI-function call BAPI_0050_CREATE for create\release budgeting entry document:
    "Number range 01 not found for object BULI_DOCNR in fiscal year 2007"
    Function parameters below:
    CALL FUNCTION 'BAPI_0050_CREATE'
    EXPORTING
    header_data = l_wa_header
    testrun = ' '
    TABLES
    item_data = g_it_item_data
    return = g_it_return.
    l_wa_header-FM_AREA = '2500'
    l_wa_header-VERSION = '000'.
    l_wa_header-DOCSTATE = '1'.
    l_wa_header-PROCESS = 'ENTR'.
    l_wa_header-DOCTYPE = '0001'.
    l_wa_item_data-BUDTYPE = 'DEBL'.
    l_wa_item_data-BUDCAT = '9F'.
    l_wa_item_data-ITEM_NUM = '01'.
    l_wa_item_data-FISC_YEAR = 2007.
    l_wa_item_data-FUNDS_CTR = '2000'.
    l_wa_item_data-CMMT_ITEM = 'R10101010'.
    l_wa_item_data-TOTAL_AMOUNT = 20000.
    l_wa_item_data-DISTKEY = '0'.
    l_wa_item_data-TRANS_CURR = 'RUB'.
    l_wa_item_data-VALTYPE = 'R1'.
    Interval 01 was already created in SPRO-tran for customizing option for FM module (Budgeting)
    (000000001 &#1076;&#1086; 99999999) - Create Number Range Interval for Entry Document
    Does anybody know correct parameters for BAPI-call or customizing option for Budjeting (FM) ?
    ps Sorry, I am not expert in FI-FM-module
    Thnx in advance,
    Dmitry

    It works !
    I've performed  this function in workbench and got additional help guide for error resolving.
    You're right - i've missed initial interval 05 for number ranges 5000000000 to 599999999 for budjeting docs.
    But i've got new error message
    'Release and budget amounts are inconsistent'

  • Can I automatically generate a PDF each time I close an InDesign document?

    Hello. Is there any way that I can automatically generate a PDF each time I close an InDesign document? I’d appreciate any help with this at all. Thanks a lot. 

    Hi,
    Surely with JavaScript!
    As for me, writing a little shortcut in 2 minutes, using QuicKeys [OSX or Windows]! 
    What I do [here, using InDesign CS4]:
    I don't directly close the doc. I only play, e.g. here : Cmd-F7 (OSX).
    Process: the doc. is saved [1] ; export to pdf [2-3-4] ; the doc. is closed [5]

  • AppleWorks closes accidentally when document is closed

    When I close 400 page document AppleWorks closes (box appears asking if I wish to reopen or report).
    Then when I reopen application and re-open the document, box asks if I wish to "recover changes because the document wasn't closed properly…" (even though the documant had been saved before closing).

    Quoting Peggy's letter (PL) and my response (H):
    (PL)The cause AppleWorks crashed (quit unexpectedly) the first time could be one or more of many. The most common would be a corrupt element in the document, usually a font or graphic. As this is a long document, AppleWorks may have been trying to do too many things at once or you tried to close it when it wasn't quite done doing something. Continued crashing would indicate the first cause.
    First, whenever AppleWorks crashes, there is some corruption of the AppleWorks preference files & they need to be deleted before you re-launch AppleWorks. To delete AppleWorks’ preference files, go to HD > Users > Library > Preferences. Find and delete the file com.apple.appleworks.plist. Find and open the folder AppleWorks in this Preferences folder, then delete all of the enclosed files (with the exception of the Button Bar Preferences if you have customized the Button Bars). AppleWorks will recreate the preference files as it needs them.
    (H) OK I've done this. Note your suggestion:"(PL)Find and open the folder AppleWorks in this Preferences folder, then delete all of the enclosed files (with the exception of the Button Bar Preferences if you have customized the Button Bars)."
    (H) The only files were Excel in HD > Users > Library > Preferences > AppleWorks. I trashed them.
    (PL)I recommend trying a thing or two to "clean up" the document itself.
    Instead of opening this document, create a new, blank document & "Insert" (from the File menu) the problem document or drag the icon of the old document on to the the open blank document. If the corruption is in the file, not any elements, this may fix it. Save the new document with a different name.
    (H) Both options (insert. drag) resulted in AppleWorks crashing.
    (PL) If this didn't work, open the problem document or use the newly created one & go to File > Save As… & choose AppleWorks 5 as the file type, again with a different name. Now open this AppleWorks 5 document in AppleWorks 6. This will often strip mild corruption. You do not need to have AppleWorks 5 to do this.
    (H) did this however AppleWorks still crashes when document is closed. One change has been noticed, when re-opened no longer says doc was closed improperly. Once I indicate don't try recover "lost " changes since I knew I had made none.
    If the new document still has problems, remove any graphic elements. You can do this one at a time or all at once & see what happens. If you don't have any graphics or this doesn't work, try changing the font.
    I don't know of any "graphic elements" unless I copied a footnote or quote and pasted it in. This document has been in the works for years.
    I changed the font from palatino to Times New Roman and then redid the 5.0 to 6.0 Still crashes when doc is closed.
    Well Peggy I'm most appreciative of all your woderful suggestions but still no cigar!
    John
    P.S. I have your "Pages" iWorks suggestion in my hip pocket waiting for after Steve Jobes' speech Jan 9. Hoping that might offer an improved software?
    iBook G4 Mac OS X (10.4.8) AppleWorks 6.2.9

  • Error - Post an Entry Document

    Hello,
    I have a problem concerning the posting of an entry document (categorie: Proc. with int/ext no.range). I put the quantity and the plant for my waste when I created my entry document. After saving it, I try to post it but I have the following error: EHS_W107 - Processing is not possible.
    I checked the different reason but my status is WACR/RCVD, I don't have any deletion flag, there is no follow-on document existing, ...
    Does anyone have an idea concerning this issue ?
    Thanks&Regards

    Problem solveed !
    It was just a misunderstanding of the standard procedure ...

  • Code to Close An Open Document

    What would be the code in the following Javascript, to close the pdf document? I'm trying to open a document (which I can do), read from it, then close it (which I haven't been able to do). Is it possible to open the document, keeping it hidden, read from it and then close it?
    I'm using adobe pro 8.
    ==============================================================================
    var otherDoc = app.openDoc("myDoc.pdf");     <----------- this opens the document, but I'd like it to stay hidden, is it possible?
    [Code to close myDoc.pdf ???????]                   <------------ code to close the document ????    

    Still didn't work.
    I’m trying to open a document using Javascript, keep it from being viewed, read from it, then close the document. The code below should open a document, then close it. It opens the document, but does not close it. Instead it generates the error message below. I’m using Adobe pro 8. command?
    var otherDoc = app.openDoc("Setup.pdf");    ß This works and opens the document
    otherDoc.closeDoc(true);                                ß This doesn’t work and document remains open
    Acrobat JavaScript Debugger Functions Version 7.0
    Acrobat Database Connectivity Built-in Functions Version 8.0
    Acrobat EScript Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Functions Version 8.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
    Acrobat Multimedia Version 8.0
    Acrobat SOAP 8.0
    otherDoc has no properties
    5:Field:Mouse UpException in line 5 of function top_level, script Field:Mouse Up
    otherDoc has no properties
    5:Field:Mouse Up
    otherDoc has no properties
    5:Field:Mouse UpException in line 5 of function top_level, script Field:Mouse Up
    otherDoc has no properties
    5:Field:Mouse Up

  • Delete preposted budget entry document

    Hi Guru's 
    I am failing to delete preposted budget entry document, if i use transaction code FMBB to delete preposted document the delete functionality is greyed out under document. Is there anyother way to delete the preposted budget documents.
    Thank You in advance.
    Alfred

    I don't think this is an authorization issue. I think that the budget entry is posted and therefore cannot be deleted, if you can undo the posted budget entry, then you will be able to delete it.
    In the Document Overview window, click on a preposted document to select it. Click on Document on the Menu Bar and then choose Undo. An undone document cannot be recalled. Instead, a new one must be created.
    Meta

Maybe you are looking for