Recording commitment on PR-Contract-PO

Hi SAPers,
I have question for behaviour's system:
I create PR consumed as commitment 10.000, then create contract refer to PR w/ value 5.000. I create commitment plan for the contract. However, contract with commitment plan did not refer to PR. The commitment plan create new commitment (funds reservation) as 5.000.
The FM update of contract not refer to PR, but add the commitment. Is this true the behaviour of system.
Best regards,
Dewi

Dear Dewi,
Can you tell me the details of how you did the setting for activating FM. Well we can also use the T-code ML91 for your requirement.
Regards
Vikat

Similar Messages

  • Update info record price, when changing contract price

    Hi
    In the SAP OSS 569885  it is precised clearly:
    If an info record already exists, upon creation or change of
    a contract, neither price nor conditions are updated in the info
    record.
    So, my question is:
      Is there any way to update info records  prices upon a contract change or creation .
    thank you in advance for your support

    the info record is a kind of general, means it has the general price. A contract is an agreement for a certain quantity and price and period that may have a price that you can only get from your vendor  with this kind of agreement. So it is not really logical to have the contract price in the info record, too.
    There is no way to get this update automatically.

  • Commitment in Purchase contracts and purchase order

    Hi,
    We are loading contract through LSMW. As account assignment we are just passing the cost center and the account is configure in OKB9.  However for some contract the flag is set in items affect commitments and the wrong account is determine. I want to know if this behavior is normal and why? How do you know how commitment is set up in the system?
    I have also seen that for some purchase order there are commitment lines that have been created in table COOI. Those pruchase order has been created through idoc and here again we do set the commitment flag.
    Thank you for your help

    Hi,
    Please consider that purchasing documents which do not have facility of GR, can not create commitment, hence commitment is not available for contracts.
    In case you want PR commitment to be adjusted against PO, please ensure that along with contract, PR number should also be filled in PO.Here I mean for EKPO-BANFN should be filled in PO then commitment would not be double.
    Case 1 with contract:
    When you post Purchase requisition.
    - Purchase requisition updates commitment.
    - You see purchase requisition amount in the report S_ALR_87013558.
    When you post Contract with reference to the Purchase Requistion:
    - Purchase requistion commitment stays as it is.
    - Contract doesn't update the commitment.
    - You see purchase requisition in the reprot S_ALR_87013558.
    When you post a purchase order with reference to contract:
    - Purchase requistion commitment stays as it is.
    - Contract doesn't update the commitment,
       When PO posted with reference to contract, there is no   commitment reduction for the contract either.
    - Purchase Order commitment is updated.
    - You see purchase requisition and order in the report S_ALR_87013558.
    Case 2 without contract:
    When you post Purchase requisition.
    - Purchase requisition updates commitment.
    - You see purchase requisition amount in the reprot S_ALR_87013558.
    When you post a purchase order with reference to requisition:
    - Purchase requistion commitment is reduced by PO posting
    - purchase order commitment is updated.
    - You see only the purchase order amount in the report S_ALR_87013558.
    The  attached note 151451 describes also the system behaviour.
    regards
    Waman

  • BAPI/FM for creation of CONTACT RECORD for the contract account

    Hi All,
    I need to create a contact record for the a contract account.
    The contact record details will be maintained in the table BCONT.
    Let me know if there is a function module/BAPI/any othere way to create a contact record.
    Regards
    Shiva

    Hi,
    You can use the function module - BCONTACT_CREATE to create Contact record
    (or)
    make a BDC of the Tcode - BCT1(Contact creation) and use the same for creation of contacts in batch
    Note: Contact is created against Business Partner and not Contract Account. So you will have to include your logic of finding out the respective Business Partner for the Contract Account for which you need to create Contact record.
    regards
    Gagan

  • Table in which changes to condition type is recorded for a contract

    Hi Experts
    We are working on customised report in classical Real estate in which for a particular contract changes done in the condition tab are to be displayed.
    In this report we want to restrict condition types related to Budget and forecast which are already existing in the system.
    We dont want any changes done to those condition type to be shown in the report. We are in the process of creating Ztable to link it with our report. But we are facing difficulty as we can find tables which will record user changes for contract as a whole. We want to know details about table which record changes done by the user for every condition related to that contract.
    Can you pls let me know the tables which record this changes ?

    Hi,
    unfortunately I am still not sure if I got your question right. Change documents show all changes of the contract, also of condition types.
    Table VICDCOND stores the conditions of the contract. Maybe you are looking for this.
    Hope this helps.
    Regards, Franz

  • Service condition records in contract

    Hi
    We have created service master....maintained the condition records for the same(Vendor/Plant/Pur Org combination)
    When we are creating a contract and mention the service master in the services list,it is not picking the value maintained in the condition.
    Can somebody throw light on what could be the possible issue.
    Thanks

    Hi,
    Why you want value in Service condition record flow to Service contract?
    You have  maintained the condition records for Vendor/Plant/Pur Org combination but where as condition key for service master- which is missing!
    For your requirement on pricing, add field SRVPOS for Activity Number/Service Master in the following path:
    SPRO-> MM-> Purchasing  > Conditions -> Define Price Determination Process -> Extend Field Catalog for Condition Tables
    Now create Condition Table( 989 for example) with condition keys Service master/Vendor/Plant/Pur Org combination
    And go for following:
    1.Assign table 989 to your access sequence.
    2.In  t.code: M/06 -assign access sequence  to condition type for service 
    3.In t.code: M/08 - MM pricing procedure  procedure ,keep condition type for service
    4.Create condition record in t.code: MEK1 with combination Service Master/Vendor/Plant/Pur Org
    Go for creation of service purchase order, you will find data maintained in condition record flow to service purchase order.
    Refer how to have different condition type for material and service
    Different pricing for service and production
    Regards,
    Biju K

  • Contracts and Info Records

    Hi All,
    Please try to address the following
    1) In standard SAP, when we create a contract, will the Info record automatically created?
    2) In my client environment (may be due to some enhancements) when i am creating a contract, Info Record is automatically getting created. Is there any setting which avoids automatic creation of Info Record when creating a contract.

    HI,
    May be there is a Info record update indicator checked in material master?? check this and deactivate it.
    It will not get created. where and all u come across this indicator uncheck it.
    Thanks & regards,
    Kiran

  • How do i find the recent commited record?

    How to find the recent record commited in the database?
    i have a table which stores the itemcode,stockupdated(number) and date on which the stocks are updated. A record is inserted in the table through a trigger. if two records of the same itemcode have got committed at the same instance(with the same time gap)..how do i find the recent committed record through SQL

    hi,
    i think, u can do that using the rowid, select the rowid on ur table in which u r inserting records in descending order.
    "select * from table_name
    order by rowid desc;"
    and the first rowid is unique corresponds to each reocrod inserted in the table.
    Regards,

  • Copy Infor record price to Contract

    Gurus,
    Trying to create a Contract from PR, the price is copied from PR.
    We have maintined a valid Info record for the Vendor, Material, Plant & Pur Org combination. Still while creating converting PR to Contract, the Info record price is not copied.
    Is this SAP standard? or Can I change it to copy from Info Record?
    Thanks

    Hi,
    1) First check whether all the details are maintained in the info record & the prices / conditions are valid from the date of creating the PR & Contract upto the delivery date as per PR.
    2) Check in Configuration, whether you have maintained the required setting to copy the Info Record Conditions to the Contract.
    Regards,
    Prashant

  • Commitment Plan for Purchase Contracts for Version 5.0

    Dear Gurus! ! !
    It is a pleasure to greet and thank for the support ...
    I need to know if there is any way to implement the commitment funds using Contracts in SAP Version 5.0
    If there is a way we need to do in the system?
    If not what is the best practices for cases that use the Purchasing Document Contract in a business process?
    Best Regards
    JFZL

    Dear Gurus! ! !
    Some will have some idea possible way to this?
    Thank you and greetings,
    Jose Zapata

  • Update info-record from contract

    Hi there,
    I created a contract with info update indicator set to A. When i created the contract the inforecord did not exist, i think with these settings the inforecord should really get upated when i change the price conditions in contract.
    Any help appreciated,
    Cheers,
    Olivier

    Price will not change in the info record
    when you create contract first time that time info record will be created but info record pricing will not update
    that you have to maintian manually.

  • How to store multiple records for one master reocrd using sequnce

    dear,
    my question is in one form i have master block f and detail block.
    my question is i created one sequence and assign to master table. but i dont know how to assign that sequence to multiple record in detail table for that particular master record. i got lots of answer previously but i m not getting exactly.pls tell me full procedure otherwise gv me one demo application
    NOTe: the sequnce is created after master record commiting to database.
    PLS pls help me
    Thanks
    damby

    i did not get answer pls help me.

  • Subsequent update of record, long time to appear in Journalized View

    Hi,
    I'm running some integration tests that do an insert into a source table, commits the insert, updates that record, commits the update. The cscn numbers are widely spaced, for example, the insert is 69997742 and the update is 70000579. I have a scheduled scenario running every few minutes that as a first step, extends window and locks subscriber.
    What I'm seeing is the Insert will get propagated to the target immediately, but then the cscn number doesn't change for a long time, and at some random time in the future it will be updated and the update record will make it throguh to the target. I'm seeing time differences of 7 - 11 minutes between the arrival of the insert to the target and the arrival of the update.
    Does anyone know how to decrease this "latency", is there a way of speeding up the time it takes for the cscn number to increment?
    I found the following two tuning commands and have tried them, but I'm still seeing a long period of time between the insert and update,
    begin dbms_capture_adm.alter_capture(capture_name=>'CDC$C_SAMS_INTEG', checkpoint_retention_time => 7); end;
    begin dbms_capture_adm.set_parameter('CDC$C_SAMS_INTEG', 'parallelism','4'); end;
    Any ideas would be appreciated!
    Cheers
    Damian

    We temporarily solved the problem by switching to synchronous CDC. When we ran a performance analyzer over the database while data capture was taking place we found logmnr was taking around 6 minutes to query the data dictionary which looked like this bug: https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458214.1 which is apparently fixed. So the either the bug isnt fixed or we haven't configured the database correctly. Anyone know a good tutorial for getting the right configuration for archive logging, number of redo logs and their size, and retention policies etc?

  • Material Group in the Info Record and PO

    We have the scenario of an info record that is "standard" and "sub-contracting".  When you display the info record for either category using ME13, it has the value for material group in the general data screen.  Technical Assistance tells me this value is found in EINA-MATKL.  However, when I do an extract for the info record from EINA, the field is blank.
    My two info records (standard and sub-contracting) in EINE were created differently.  The standard one was created using ME11 and a plant was entered.  Because a plant was entered, the material group value was not required.  The sub-contracting info record was automatically created when the PO was created (InfoUpdate button is on).  In the PO, the material group was also entered; however, a plant was not added to the info record because we do not have EVO set up to include the plant when the info record is automatically created.  (This is something I can change).
    This is very confusing when we are looking at these info records and it appears data should be there but it is not.  This most noticeably happens with the ones that are getting created automatically and then a different category is created using ME11. Are we are missing some addl requirements in configuration when these records are being created automatically????
    Can someone please explain????  I need to come up with a solution to this problem.

    If you want to enter diff ordre unit than in the PIR
    In this case in the material master purchasing screen you have to activate the var order unit
    enter 2 here
    now go to your info record and on general data screen you will see the field var ordre unit
    here enter 2
    than click on conditon from menu
    system will popup the order unit screen
    here keep cursor on box and click choose
    now it will allow you to maintain the box price also
    once you do this than it will automatically defult in the Po upon selection.

  • Getting error Unable to perform transaction on the record.

    Hi,
    My requirement is to implement the custom attachment, and to store the data into custom lob table.
    my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
    Structure of custom table
    CREATE TABLE XXAPL.XXAPL_LOBS
    ATTACHMENT_ID NUMBER NOT NULL,
    FILE_NAME VARCHAR2(256 BYTE),
    FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
    FILE_DATA BLOB,
    UPLOAD_DATE DATE,
    EXPIRATION_DATE DATE,
    PROGRAM_NAME VARCHAR2(32 BYTE),
    PROGRAM_TAG VARCHAR2(32 BYTE),
    LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
    ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
    FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
    i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
    Process Request Code:
    if(!pageContext.isBackNavigationFired(false))
    TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
    if(!pageContext.isFormSubmission()){
    System.out.println("In ProcessRequest of AplAttachmentCO");
    am.invokeMethod("initAplAttachment");
    else
    if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
    OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    ProcessFormRequest Code:
    if (pageContext.getParameter("Upload") != null)
    DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
    String strFileName = null;
    strFileName = pageContext.getParameter("FileItem");
    if(strFileName == null || "".equals(strFileName))
    throw new OAException("Please select a File for upload");
    fileName = strFileName;
    contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
    String strItemDescr = pageContext.getParameter("ItemDesc");
    OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
    String strAttachId = (String)bean.getValue(pageContext);
    System.out.println("Attachment Id:" +strAttachId);
    int aInt = Integer.parseInt(strAttachId);
    Number numAttachId = new Number(aInt);
    Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
    Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
    am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
    am.invokeMethod("apply");
    System.out.println("Records committed in lobs table");
    if (pageContext.getParameter("AddAnother") != null)
    pageContext.forwardImmediatelyToCurrentPage(null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    if (pageContext.getParameter("cancel") != null)
    am.invokeMethod("rollbackShipment");
    TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
    Code in AM:
    public void apply(){
    getTransaction().commit();
    public void initAplAttachment() {
    OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
    if (!lobsvo.isPreparedForExecution())
    lobsvo.executeQuery();
    Row row = lobsvo.createRow();
    lobsvo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
    AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
    System.out.println("In setUploadFileRowData method");
    System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
    System.out.println("In setUploadFileRowData method fName: "+fName);
    System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
    RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
    while (rowIter.hasNext())
    AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
    viewRow.setFileContentType(fContentType);
    viewRow.setFileData(fileData);
    viewRow.setFileFormat("IGNORE");
    viewRow.setFileName(fName);
    rowIter.closeRowSetIterator();
    System.out.println("setting on fndlobs done");
    The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
    setAttachmentId(attachmentId);
    public void setAttachmentId(Number value) {
    System.out.println("In ShipmentsEOImpl value::"+value);
    if (getAttachmentId() != null)
    System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    // Attachment ID must be unique. To verify this, you must check both the
    // entity cache and the database. In this case, it's appropriate
    // to use findByPrimaryKey() because you're unlikely to get a match, and
    // and are therefore unlikely to pull a bunch of large objects into memory.
    // Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
    // First it checks the entity cache, then it checks the database.
    OADBTransaction transaction = getOADBTransaction();
    Object[] attachmentKey = {value};
    EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
    AplLobsAttachEOImpl attachment =
    (AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
    if (attachment != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ATTACHMENTID, value);
    Issue faced:
    When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
    but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
    i am getting the below error:
    Error
    Unable to perform transaction on the record.
    Cause: The record contains stale data. The record has been modified by another user.
    Action: Cancel the transaction and re-query the record to get the new data.
    Have spent entire day to resolve this issue but no luck.
    Any help on this will be appreciated, let me know if i am going wrong anywhere.
    Thanks nd Regards
    Avinash

    Hi,
    After, inserting the values please re-execute the VO query.
    Also, try to redirect the page with no AM retension
    Thanks,
    Gaurav

Maybe you are looking for

  • Can't start ... tried a bunch of things ... what about network startup??

    Greetings and salutations all you helpful folks, I am battling away trying to get my ibook G4 to start. I have mounted it as a terminal and it works fine as that, and I have retrieved all the data that I need from the hard drive but now I would like

  • Looking for a 'Magic Bullet' control

    Hello there I need to develop a Windows application that will allow users to open dynamic PDF forms, view them on-screen and fill the forms with data. The data may be typed in on the form or chosen from a picklist. The requirement is for a Windows Fo

  • Multiline container, block, transform step ... HELP !!!!!

    Hi everyone. I'm trying to create a 'Block' in order to send N IDOCS. The info is contained in a 'container'. This container is of type A and is the one which has the XML file. It's not defined as multiline because if not i'll get an error. The quest

  • Audio not recognized

    When I insert a audio-cd in my MATSHITADVD-R UJ-825 drive, Finder reports that it cannot read this cd. But the drive is working ok, because Toast Titanium can recognize the audio-cd en shows all the content. The problem only is with audio-cd's, data-

  • Automatic Start of "Services" in J2EE

    Hi, I'm a complete novice in J2EE and have some questions. I'm looking into using J2EE for supervising some "devices". They will send "heart-beat"s back to the J2EE server to tell their alive, and I need to take actions in the J2EE server if heartbea