SAP Records Locking for preceeding documents in MM

*Hi Experts,*
Our client have a current requirement. They want that all the preceding documents to be locked once the subsequent documents are converted and posted. Eg- when PR converted to PO, PR to be locked or disable, PO converted to MIGO, PO to be locked, After MIRO, MIGO locked or no reversal or cancellation of MIGO document.
I tried to disable the PR by screen layout assign to release status. Then set the GR based I V to avoid reversal og MIGO, but this to be in a flow. Can you please guide me in some enhancement needed in this or any standard BADI exist or help me in getting the logic for this functionality.
Thanks.

Hi Syed,
Are you saying "PR can not be chaged once PO is created" - is this statement true for your system only because you have done some developement via ABAP help, please confirm.
Because Standard SAP system does not stop you in changing PReq even if PO is created for full qty of Preq.
Hi Pradeep,
You can use "System message attributes settings "(avaialble in SPRO) to trigger a pop up when sombody tries to change a Preq for which PO (full qty)has been created. I believe below meesage number will fulfil your requirement for Preq to PO scenario.
Go to SPRO>MM>Environment Data>Define Attribute of System Messages>System Messages-->Message number - 0076 (Materials of requisition & item & alr. ordered in full).
Thanks,
Yogesh

Similar Messages

  • Sap standard report for delivery document block.

    Hi,
    We want to block delivery document for further processing that picking and PGI.
    For that we are looking for sap standard report if available so we could provide it to client.
    so we need
    SAP standard report for blocked delivery document.

    Hi,
    As far as my understanding there is no such report but you can try with report MATERIAL WHERE USED LIST
    Please find t-code for this as due to system unavailable i am not mentioning t-code for same
    kapil

  • Output Determination for Sales Documents distributed by fax/email

    Hi Experts,
    Can some one guide me regarding what all need to be done to maintain output determination for Sales documents to be distributed by fax/email.
    Thanks in advance...
    Regards
    Vamsi

    Hi Vamsi,
    Please go through this link it will help you about Output process in SAP R/3 for sales documents and billing documents.
    http://help.sap.com/saphelp_47x200/helpdata/en/93/745017546011d1a7020000e829fd11/frameset.htm
    I hope it will help you,
    Regards,
    Murali.

  • Lock the delete function (Trash) for contract documents

    Dear Experts,
    I have Query in SAP CLM :
    I am in need to lock the delete function (Trash) for contract documents after they have been executed. After a user sets the contract document phase at "Executed," they should not be able to click the trash icon and delete that contract document record.
    Thanks in advance.
    Best Regards,
    Iqbal

    Hi Mudit,
    we  have already  script  for Contract Document and Post Phase Change.
    I am not java expert, where to put the code for delete or inactive the trash icon in this programe, Pls Help
    // Author: ABCD
    // Class: Contract Document
    // Context: Document Lifecycle Event
    // Target: Post Phase Change
    // Imports
    import com.frictionless.api.doc.IapiDocumentLockManager;
    import com.frictionless.api.common.types.ObjectReferenceIfc;
    import com.frictionless.api.common.types.TypeFactory;
    import com.frictionless.api.contracts.ContractIBeanIfc;
    import com.frictionless.common.db.PersistentBo;
    import com.frictionless.api.doc.collaboration.*;
    import com.frictionless.api.common.log.Logger;
    import java.math.BigDecimal;
    import java.util.*;
    import com.frictionless.api.doccommon.masterdata.*;
    import com.frictionless.api.common.exception.*;
    import com.frictionless.api.ibean.IBeanIfc;
    import com.frictionless.api.ibean.IBeanHomeIfc;
    import com.frictionless.api.contracts;
    import com.frictionless.api.usermgmt.masterdata.*;
    import com.frictionless.api.common.exception.*;
    import com.frictionless.api.common.types.*;
    import com.frictionless.api.ibean.*;
    ApplicationException ae = new ApplicationException(session);
    // Logger
    logMsg = Logger.createLogMessage(session);
    // Agreement Bean
    agreeBean = doc.getParentIBean();
    if (hasValue(current_phase))
    // Lock the legal approval and workflow fields after draft phase
    if (current_phase.equals("Draft"))
    IapiDocumentLockManager.unlockField(session, doc, "CLAUSE_CHANGE");
    IapiDocumentLockManager.unlockField(session, doc, "LEGAL_APPROVER");
    if (!(current_phase.equals("Draft")))
    IapiDocumentLockManager.lockField(session, doc, "CLAUSE_CHANGE");
    IapiDocumentLockManager.lockField(session, doc, "LEGAL_APPROVER");
    // If contract document phase is not Internal Approval
    if ((current_phase.equals("Executed")))
    agreeBean.getIBeanHomeIfc().upgradeToEdit(agreeBean);
    collaboratorList = agreeBean.getCollaborators();
    for (collabIter = collaboratorList.size(); collabIter > 0; collabIter--)
    // Get the collaborator
    collab = collaboratorList.get(collabIter-1);
    name = collab.getDisplayName();
    if (!collab.getCollaboratorRole().getDisplayName().equals("Owner") @and !collab.getRepresenting().getDisplayName().equals("Legal"))
    collaboratorList.delete(collab);
    agreeBean.getIBeanHomeIfc().save(agreeBean);
    if ((current_phase.equals("Internal Approval")) @or current_phase.equals("Legal Approval"))
    agreeBean.getIBeanHomeIfc().save(agreeBean);
    agreeBean.getIBeanHomeIfc().downgradeToView(agreeBean);

  • Can i use the SAP standard package for lock object creation ?

    Dear Guru ,
    I want to create a new lock ojbect for my abap program .
    When i completed the creation , SAP required a new request and it said the object only can be imported to SAP standard package .
    But i saw the help from SAP said :
    >* Package begins with A-S or U-X:
    >These packages are for SAP standard objects. Customer objects cannot be created in them. Changes to objects of these packages are recorded by the Transport Organizer (Request management) and can be transported (see field transport layer.
    In this case ,  Can i use one of the SAP standard package for this creation ? Does it will affect the SAP system ( such as the system upgrade ) ?
    Thanks .
    Best Regards,
    Carlos Zhang
    Moderator message - Please do not use code tags to format text - it should only be used for code
    Edited by: Rob Burbank on May 25, 2010 11:12 AM

    Hi Carlos...
    First , You will never be able to use any standard SAP Package for your custom programs. So don't go for it.
    So in your case what you need to do is , when you save your Lock object , 
    - if you want Transport request to be created , then 
    in the screen shown you need to enter the Z package name (the same package as that of your ABAP Program)
    or
    -if you want it to be stored as local object , then
    specify package as $tmp
    Regards,
    Uma

  • Archiving documents in SAP Records Management

    Hello experts,
    Does anybody know how to archive documents in SAP Records Management? By default, they are stored somewhere in SAP database. However, based on the SAP documentation, they can be stored also to archive by using ArchiveLink. Where is this configuration done and how? Or do we need some coding here?
    I'm interested in two different solutions:
    1) Document will be stored on an archive server right from the start. By doing this, I no longer need to move the document content myself.
    2) Moving existing Records Management documents to archive. I know there is a program SRM_KPRO_CONTENT_RELOCATION for this purpose, but it doesn't seem to be working without some archiving/RM configuration before somewhere else.
    We are using Records Management as part of Digital Personnel Files and the documents to be archived are completed Adobe forms.
    Best Regards,
    JV

    Hi JV,
    You need to define the repository in OAC0 transaction. As per my analysis now your document are stored in sap database.
    If you are using separate serever then confuigure as follows in OAC0:
    Document area : SAP Records Management
    Storgae type : RFC Archive
    define IP address and port. Then goto CSADMIN and activate the certificate for the same.
    or if using SAP Database then make the changes in above areas.
    Then these archived documents will get saved in content server instead of sap database.
    Hope this will help.
    Regards,
    Ravindra

  • SAP Record & Document mangement.

    Dear All,
    This is regarding Record management. How this can be useful to a business and what are the benefits of this. In which scenario we use this and is this related to document management?? I am trying to understand its feature and business benefits.
    Please share your views and experiance on this. Thanks in advance...
    Regards,Kundan

    Hi Kundan
    Have you read SAP help on Records management?
    SAP help has answers to all the question you have asked. Following is a snap shot of what SAP help says:
    Records Management is a standard solution for the electronic management of records.
    SAP Records Management not only provides an electronic representation of the conventional paper record, but also offers functions that far exceed those available for conventional records management: you have fast and secure access to archived documents. You can enter Office documents and notes directly in a record, using document templates if required. You can include Internet or intranet pages in a record.
    Please read it in detail from the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/18fc39eb31a700e10000000a11402f/frameset.htm
    I hope this helps you
    Regards
    Amaresh Makal

  • SAP Best Practice for Document Type./Item category/Acc assignment cat.

    What is the Best Practice for the document Type & Item category
    I want to use NB -  Item category  - B & K ( Blanket PO) , D ( Service)  and T( Text) .
    Is sap recommends to use FO Only for the Blanket Purchase Order.
    We want to use service contract (with / without service entry sheet) for all our services.
    We want to buy asset for our office equipments .
    Which is the best one to use NB or FO ?
    Please give me any OSS notes or reference for this
    Thanks
    Nick

    Thank you very much for your response. 
    I hope I can provide some clarity on how the accounting needs to be handle per FERC  Regulations.  The G/L balance on the utility that is selling the assets will be in the following accounts (standard accounts across all FERC Regulated Utilities):
    101 - Acquisition Value for the assets
    108 - Accumulated Depreciation Value for the assets
    For an example, there is Debit $60,000,000 in FERC Account 101 and a credit $30,000,000 in FERC Account 108.  When the purchase occurs, the net book value for the asset will be on our G/L in FERC Account 102.  Once we have FERC Approval to acquire the plant assets, we will need to enter the Acquisition Value and associated Accumulated Depreciation onto our G/L to FERC Account 101 and FERC Account 108 respectively with an offset to FERC Account 102.
    The method that I came up with is to purchase the NBV of the assets to a clearing account.  I then set up account assignments that will track the Acquisition Value and respective Accumulated Depreciation for each asset that is being purchased.  I load the respective asset values using t-code AS91 and then make an entry to the 2 respective accounts with the offset against the clearing account using t-code OASV.  Once my company receives FERC approval, I will transfer the asset to new assets that has the account assignments for FERC Account 101 and FERC Account 108 using t-code ABUMN or FB01.

  • SAP Webdynpro for ABAP - IXOS Integration for storing documents

    Hi
    We have a requirement to attach documents to a web based SAP custom application and store as attachments simialr to GOS fucntionality in SAPGUI. SAP web based application is developed using web dynpro for ABAP. Atatched documents are to be stored externally in IXOS system. I am looking for fucntion modules or BAPI's that integrate SAP webdynpro for ABAP and IXOS. Requirement is below
    1)     From SAP Webdynpro for ABAP application read a file form desktop and store on external IXOS system.
    2)     Retrieve a file from IXOS system and display in SAP Web Dynpro for ABAP  application
    3)     Delete a file on IXOS system from Web Dynpro for ABAP application
    Thank You

    You are on right track thinking about enhancement framework.
    My approach is would be in the following order.
    Personalization/customization
    Enhancement
    Modification

  • Is it standard behavior for VL10A/table VEPVG to show two records when a Sales Document has been blocked?

    Hi Experts,
    Is it standard behavior for VL10A to show two records when a Sales Document has been blocked? Their only difference is the field Delivery Block. In VL10A, the first record has a delivery block of BLANK, the second has 99.
    Here's how to replicate the issue.
    Create sales order.
    When you check VL10A, the Sales document is there.
    Change sales order field (RSD) in VA02, Save.
    When you check VL10A, there are now two records, one has a blank delivery block, the other has 99.
    The expected result here is that after changing in VA02, there will be only 1 record in VL10A and it should have delivery block of 99.
    Assumptions:
    1. We know that VL10A retrieves its records from VEPVG. The problem is, in VEPVG, delivery block is a key field. So I think that during VA02, when the delivery block of 99 is assigned, this creates a record in VEPVG instead of updating the existing one. Is this standard behavior, and are my assumptions correct?
    Thanks in advanced experts. Appreciate your prompt response,
    Jack

    Hello Jack,
    This is the standard behavior. When I check in our system, I too can see two entries but with different good issue date and delivery date and the block is specific to good issue date, delivery date.
    So there is no problem in it. try to give the delivery date which includes two table entries delivery date and execute the transaction VL10A.
    Regards,
    TP

  • TREX on Portal-Server also used for search/index for SAP Records Management

    Hi all,
    can a installation of the TREX on the Portal-Server (or as separate Server) used for Portal Index/search and also in parallel for searching of Content in an SAP Records Management (means full text research of records/ dossier in the SAP RM) ? Some ideas, tips or settings to keep in mind ?
    THX
    mario

    Hi Neil,
    We have exactly the same problem. We installed a new SAP E-Commerce system on Microsoft Windws 2008 R2 with TREX Version 7.10.43.00. The TREX connection is okay. Also the catalogue replication works without any problems. The SAP support means it is a permission problem on the IIS. The problem isnu2019t solved yet and the message to the SAP support is in process.
    What is your effect with this link?
    http://localhost:<TREXNAMESERVER>/TREXHttpServer/
    Default:
    http://localhost:<30305>/TREXHttpServer/
    Kind regards,
    Roland

  • EREC : Lock SAP user ID for future date

    Hi ,
    Can anyone  suggest a way to Lock an SAP user id for a Future Date .
    Thanks in advance,
    Tk

    Hi,
    Instead of locking you can better delimit so that you can have a history for audit reasons.
    i dont find business requirement for locking user.
    thanks
    rafi

  • Want to know SAP MM Table, like table VBFA for SD Document Flow

    Hello Experts,
    I want to know, direct relationship between GR against PO line item and IR against PO line item.
    I want to know, is there any SAP table for MM which gives direct relationship between succeeding document and preceding document, similar to table VBFA for SD Document Flow.
    We have EKBE table which gives information about GRs and IRs for PO Line items.
    Consider following case,
    We have PO with line item say P1.
    Two GRs are done for the same item, say G1 and G2.
    Also two IRs are done for the same item, say I1 and I2.
    In table, EKBE it just shows that, G1 and G2 are done for P1.
    Similarly I1 and I2 are done for P1.
    I want the table showing that, I1 is done after G1 and I2 is done after G2.
    (or may be showing that, I1 is done for G1 and G2)
    Do we have such table in MM? If such table does not exist, is there any way to verify this case?
    Please share your opinion.
    Thanks in advance.
    Amrut

    Amrut,
    If it is a GR based IR (check PO item Invoice tab- GR Based IV checkbox), you will find this link in table RSEG. You will find the GR number & item number in Reference number & Reference number Item field (LFBNR & LFPOS).
    If it is non-GR based IR, then I think only way is to get it through EKBE (which you have explained in your question) since these two are not linked directly.
    Regards,
    Gokul

  • Customizing settings for parked document for edit lock while in workflow

    Hi all,
    I want to lock a parked document from edit while in workflow, I have seen in my previous project that if any document in workflow if try to change it used to give a message that 'document in wirkflow'. how to set this setting for parked documents using FIPP.
    Thanks

    Hi,
       Please read note 169732.
    It is normal that you get this errror message "Park document blocked xxxxxx" if you try to park a document for which "Release necessary" is set but "Released" flag is not set.
    Normally in workflow the "Released" flag is set in a background step right before the workflow posts the documents.
    regards
    Waman

  • Change Condition Record for Billing Document

    Hi All,
    I want to change the condition value(0) for billing document, if condition record statisfy some checks.
    Which user exit I have to use to change the condition records while saving the billing document.
    Thnaks
    Mugunthan

    Hi,
    You have to create a new VOFM pricing routine to change the value
    Thanks,
    Naren

Maybe you are looking for

  • IPhone 5s issues on Verizon network

    does anyone have the iPhone 5s on Verizon? I've had issues with voice echo back and calls breaking up and they can't seem to fix it.. it's been 4 mos now?

  • CAF & MIDI Loops

    I thought I had at least a basic understanding of both CAF and MIDI loops in Jam Packs, but then I started looking closer and am totally confused. If I drag a MIDI loop into Logic, I see what I would expect, a MIDI file and a generator. If I look tha

  • Is it possible to use UDO to integration for B1i?

    According to standard integration process, data is transfered from IDOC from R/3 to business object to SBO using standard BIU. I think it is difficult to integrate data which is not include standard SBO data using B1i. Because UDO of SBO can have onl

  • Dr/Cr Indicator instead of (-) & (+)

    Hi All, In Line item display of Vendor, Cut, GL -SAP standard is showing for Credit amount  indicator and Debit amount indicator, but instead of this indicators can we use Dr / Cr indicators. Thanks in Advance Javed

  • About Adobe Interactive Form license price

    Hello experts, We need to develop some Adobe Interactive Form with Netweaver Developer Studio . I know that if customer create their own Adobe  interactive forms then they need to purchase the license. How much the license of Adobe Interactive Form ?