MM: Purchasing- Contract value reduced after Po creation.

Dear All,
I have scenario where the contract has value of 1000 $ and PO created for 1000$ somebody from procurement goes and changes the contract value to 900$. System allowed to do so without any warning or error message though the entire amount is consumed and PO is there.
Is there any user exit to stop this happening.
Thanks and best regards
Asim

I recomend you to create/develop a program to update the PO if the purchasing department wants and/or block the PO to have the same price as the contract.
If you need to change the PO the system will check if the price is equal to the contract or not. For me it is make more sense to block the PO instead the contract.
regards

Similar Messages

  • Sale order 'value changes' after invoice creation

    Experts,
    A sale order was created / shipped / invoiced. The invoice did not go to accounting because of credit auth error. We have a procedure to fix it and then release it to accounting (transaction VFX3). All OK until this point.
    While fixing the auth error, an user changed the freight condition value in the sale order. Then invoice is released to accounting. Now, the value of freight in order and invoice match. How is it possible to change the value of an invoice after its creation?
    Any input would be appreciated.
    UV

    when the value is changed in the sale order, it would automatically transfer
       the new pricing to the existing open SD invoice pending accounting entry??
    Certainly not.  The control is in VTFL where if you select the billing item category for the combination of your delivery type and billing type, you can see a field "Pricing Type".  If you maintain any value other than "B", system will copy the price from sale order to billing and you can, as I said above, can change manually in billing.  On the other hand, if you have maintained "B" in the above field, system will not  consider sale order price but will check your pricing condition maintained in VK11 which you can check in VK12 or VK13.
    thanks
    G. Lakshmipathi

  • Contract Total value change after PO creation & GR

    Hi,
    I would like to understand whether the below mentioned behaviour is a standard one of SAP.
    Value contract (WK) is created for 10,000 INR. And PO created for 5,000 INR and GR&IR also done
    for 5000 INR.
    Now I am able to reduce the target value of contract below 5000 INR in ME32K.
    I feel system should not allow to do the same.
    Please throw your opinion.
    Regards,
    Partha

    Hi Jurgen,
    Thanks for your input.
    As we go with your example with the assumption that procurement
    has happened fully for 1 million kg and vendor was also paid
    for 1 million kg, Then I feel system should atleast warn the user
    when he is trying to reduce the quantity in contract header.
    I would be happy to receive your comments on the above.
    Regards,
    Partha

  • Service PR amount is noyt reduced after Service PO creation  in CJI5 report

    Dear Experts,
    When user created Service PO with T-code ME21, Service PR amount is not reduced from CJI5 report & also increased budget in CJ30.
    But when user create PO with T-code ME21N, Service PR commitment is getting reduced after Service PO creation in CJI5.
    Please explain & propose solution.
    Thanks & Regards,
    Arvind

    Hiiii...
    Note that there is no difference between creation of purchase order via the t.code ME21 or ME21N...what might be your problem in increase of assigned values is because the buyer (purchase dept) is not referencing the purchase requisition at the time of creation of purchase order as a result of which the system is not reducing the purchase requisition committment.
    Hope this helps....
    Regards
    Kaashif M

  • Ability to Change Overall limit in Purchase Requisition after PO creation.

    Hi,
    I have created a Service Purchase Requisition and released it.Then, I created a Service Purchase Order with reference to the above created Purchase Requisition and released and saved.
    Now, when I go to the Purchase Requisition after creating a Purchase Order, I want to change the values for the Overall Limit and the Expected Value but they are greyed out.
    But what I have noticed is that if I create a Standard Purchase Requisition and release it and then create a standard Purchase Order with reference to the standard PR and release it and save it, I am able to edit the values even after the PO has been created.
    Any help is appreciated.
    Thanks and Regards,
    Puneet Jhari.

    Hi ,
    I need to change the Accoun assignment category in back end not in fore ground.
    Is there any EXIT or BADI available for the same.
    Thanks,
    Ranjit

  • Coding to calculate net purchase order value against the contract?.

    Hi ,
    Please help.
    Can any one send me the coding to calculate net purchase order value against the contract?.
    Thanks

    I got the below coding and information from SDN, would you please help me to fix this coding
    infomation from SDN
    For the above requirment I have coded a program in Endroutine but it is not populating cummulative Order value against Contract.
    DATA:
    WA_ty_t_TG_1 TYPE tys_TG_1.
    data: netsum type char15.
    types:begin of ty_net,
    netsum type /BI0/OINET_PO_VAL,
    V_EBELN TYPE /BI0/OIOI_EBELN,
    end of ty_net.
    data:t_net type standard table of ty_net .
    data:wa_net type ty_net.
    SORT RESULT_PACKAGE BY CONTRACT.
    loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.
    WA_NET-V_EBELN = <RESULT_FIELDS>-CONTRACT.
    AT END OF CONTRACT.
    netsum = WA_ty_t_TG_1-NET_PO_VAL + NETSUM.
    ENDAT.
    WA_NET-netsum = NETSUM.
    APPEND WA_NET TO T_NET.
    CLEAR:T_NET,NETSUM.
    ENDLOOP.
    loop at RESULT_PACKAGE assigning <RESULT_FIELDS> .
    READ TABLE T_NET INTO WA_NET WITH KEY
    V_EBELN = <RESULT_FIELDS>-CONTRACT
    <RESULT_FIELDS>-/BIC/YNET_VAL = NETSUM.
    CLEAR: WA_NET-NETSUM.
    endloop.
    <RESULT_FIELDS>-/BIC/YNET_VAL = netsum.
    CLEAR:NETSUM,<RESULT_FIELDS>-/BIC/YNET_VAL.
    ENDLOOP.
    I have coded above one..let me know what mistake I have done.in the bolded loop I have given INTO instead of Assigning, because I need all records which assigns to WorkArea, but while executing DTP its leading to shortdump.if I replace Assigning statement,its working fine. but zero values in output( I think wrong in logic part)
    Let me know the brief coding part if I am wrongly coded.

  • Standard remote enabled bapi for creation of purchaser contract in srm

    Hello Friends
    Plz tell me is there any standard,remote enabled FM/BAPI in SRM system for creation of purchaser contract.
    I found BBP_PD_CTR_CREATE. But this is normal FM.
    I need BAPI like BAPI_CONTRACT_CREATE which there in ECC system.
    Plz help.
    Thanks & regards,

    One idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.

  • Purchase Contract creation in SRM

    Hi everybody,
    I have a requirement. I need to create purchase contracts in SRM. Data is comming as a file from Oracle server. I tried searching for a BAPI to create contract, not able to find it out. Tring to use eCATT for this. Transaction BBP_CTR_MAIN is giving error in the recording of eCATT.
    Pleae advice we how can I create the contracts in background from flat file.
    Thanks in advance.
    Mahitha

    Hi all experts,
    I was unsuccessful like some of the users here in trying to create a contract at the backend. I have tried using "BBP_PD_CTR_CREATE" but i alway get 2 error message: create exactly one vendor and create exactly one employee. What could be wrong with the codes??
    data: pc_id like CRMD_ORDERADM_H-OBJECT_ID.
    data: pc_header_out like BBP_PDS_CTR_HEADER_IC.
    data: pc_header_in like BBP_PDS_CTR_HEADER_D.
    *data: pc_item type table of BBP_PDS_CTR_ITEM_D with header line.
    data: pc_item type table of BBP_PDS_CTR_ITEM_ICU with header line.
    data: pc_text type table of BBP_PDS_LONGTEXT.
    data: pc_partner type table of BBP_PDS_PARTNER.
    data: wa_part like line of pc_partner.
    data: pc_org type table of BBP_PDS_ORG with header line.
    data: pc_message type table of BBP_PDS_MESSAGES with header line.
    Insert dummy data*****************************************************
    pc_header_out-CURRENCY = 'SGD'.
    pc_header_out-PROCESS_TYPE = 'PCTR'.
    Insert Purchase Org data *********************************************
    pc_org-PROC_ORG_RESP_ID = 'O 50000026'.
    pc_org-PROC_ORG_ID = 'O 50000025'.
    pc_org-PROC_GROUP_ID = 'O 50000026'.
    Insert BP data - vendor, employee Purch Org and DSTA******************
    *DSTA
    wa_part-PARTNER_ID = '0000000001'.
    wa_part-PARTNER_GUID = '4BD22A16AFA2B74D844E1595998AE7E5'.
    wa_part-PARTNER_FCT = '00000038'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010469'.
    append wa_part to pc_partner.
    clear wa_part.
    *employee
    wa_part-PARTNER_ID = '0000000006'.
    wa_part-PARTNER_GUID = 'E3D4AAE842930D41B7B107F3CC60B44D'.
    wa_part-PARTNER_FCT = '00000026'.
    wa_part-ADDR_TYPE = '3'.
    wa_part-ADDR_NO = '0000010472'.
    wa_part-PERS_NO = '0000010474'.
    append wa_part to pc_partner.
    clear wa_part.
    *vendor
    wa_part-PARTNER_ID = '0000000311'.
    wa_part-PARTNER_GUID = 'F0BC646129BE2D4BB7E301F8F3708B1E'.
    wa_part-PARTNER_FCT = '00000019'.
    wa_part-ADDR_TYPE = '1'.
    append wa_part to pc_partner.
    clear wa_part.
    *purch org
    wa_part-PARTNER_ID = '0000000002'.
    wa_part-PARTNER_GUID = '48459C575651D04091BAF1B9A554CF51'.
    wa_part-PARTNER_FCT = '00000051'.
    wa_part-ADDR_TYPE = '1'.
    wa_part-ADDR_NO = '0000010470'.
    append wa_part to pc_partner.
    clear wa_part.
    Item data
    pc_item-CATEGORY_ID = 'ARMOUR'.
    pc_item-QUANTITY = '233'.
    pc_item-PRICE = '1234'.
    pc_item-VALUE = '4321'.
    pc_item-UNIT = 'EA'.
    pc_item-PRODUCT = 'B78A60018B6018418F6D0F1632E10F69'.
    pc_item-DESCRIPTION = 'Russian T72 Tanks'.
    *--Reset Buffer Tables
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    Create PC*************************************************************
    call function 'BBP_PD_CTR_CREATE'
      exporting
        I_HEADER = pc_header_out
      importing
        E_HEADER = pc_header_in
      tables
        I_ITEM = pc_item
        E_PARTNER = pc_partner
        I_ORGDATA = pc_org
        I_LONGTEXT = pc_text
        E_MESSAGES = pc_message.
    write: pc_header_in-guid.
    the guid will be all 0s due to the error..... Thanks for taking time to read this. I will really appreciate if anyone is able to help me solve this. Of course point will be rewarded. Thanks again!

  • Contract value exceeding in Release order

    Hi  All,
    The target value of the value contract is 200,000 INR. After reaching to the 190,000 INR ( Making different Release order ) the user has made one more purchase order for this value contract with the value 50,000. The system hasnt given any warning /error message that the contract value exceeding...
    In general system should have to give the error message that the contract value is exceeding???
    The message 06-042 & 06-155 set as error message.
    also if your trying to make release order of more than 200,000 INR then it is giving error message 06-42 the value is exceeding
    Please suggest
    Thanks & Regards
    Rajesh

    Please check your release order qty set in contract item / header details

  • KEY FIGURE: Effective purchase order value & K.F "No. of Purch.Orders"

    Yo my fellow Gurus,
    Got a problem, when executing listcube on the Info-Cube 0PUR_C01 - I see the data/amounts in the column for "Effective purchase order value" / 0ORDER_VAL. But when running the query with the Key Figure I just get "0"
    I tried the option of adding the Process Keys not allocated in the Routine list of keys, yet still nothing has popped in the query, and heres the routine after  additonal keys added:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    INCLUDE RS_BCT_MM_UPDATE_RULES.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0PUR_C04T-ORDER_VAL
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    IF ( COMM_STRUCTURE-PROCESSKEY = '001' or     "Bestellung
        COMM_STRUCTURE-PROCESSKEY = '011' or
    *change of keys
        COMM_STRUCTURE-PROCESSKEY = '015' or
        COMM_STRUCTURE-PROCESSKEY = '005' or
        COMM_STRUCTURE-PROCESSKEY = '025' or
        COMM_STRUCTURE-PROCESSKEY = '041' or
        COMM_STRUCTURE-PROCESSKEY = '051' or
        COMM_STRUCTURE-PROCESSKEY = '061' or
    *change of keys
        COMM_STRUCTURE-PROCESSKEY = '021' or
        COMM_STRUCTURE-PROCESSKEY = '004' or       "LP
        COMM_STRUCTURE-PROCESSKEY = '014' or
        COMM_STRUCTURE-PROCESSKEY = '024' )
        AND COMM_STRUCTURE-BWAPPLNM EQ 'MM'
        AND COMM_STRUCTURE-ORDER_VAL <> 0.
        perFORM LOC_CURR_CONVERT
               USING    COMM_STRUCTURE-ORDER_VAL
                        COMM_STRUCTURE-DOC_DATE
                        COMM_STRUCTURE-ORDER_CURR
                        COMM_STRUCTURE-LOC_CURRCY
                        COMM_STRUCTURE-EXCHG_RATE
               CHANGING RESULT.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 0.
    else.
        RETURNCODE = 4.
    endif.
    if abort is not equal zero, the update process will be canceled
    This seems to be also the issue with my other Key Figure "No. of Purch. Orders" except here it the just comes up blank / 0 . This is to some the number of pos per plant for the month. So it's not storing anything but running via an interface and then with the aid of the routine loading the count into the cube:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_HDR
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0PUR_C04T-NO_PUR_ORD
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      if COMM_STRUCTURE-HDRPROCESS = '01'         "Bestellung
         AND COMM_STRUCTURE-no_hdr <> 0.
    result value of the routine
        RESULT = COMM_STRUCTURE-no_hdr.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 0.
      else.
        RETURNCODE = 4.
      endif.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please advise the way forward.
    Thanks,
    Ishaam

    what do u want?

  • How to copy custom fields in purchasing contract

    Dear all, we have added to the standard field in the purchase contract position two custom fields.
    These two fields (in value) are not taken when the user create a new contract by copying from another.
    Are there some exit or BADI functions that allows to copy also custom ields into corresponding destination fields whitout modify the standard code ?
    In customizing it seams there are aoly rulse for copy position texts.
    Regards,
    Riccardo Galli - Hera group.

    Hi
    Try to check the BADIs ME_PROCESS_OUT_CUST or ME_PROCESS_PO_CUST or the enanchement M06E0005, perhaps u can do something in the routines triggered as soon as the document is saved.
    Max

  • FF7B-Liquidity Forecast doesn't show Sales Order & Purchase Requisiti Value

    Hi Experts ,
    Sales Order and Purchase Requisition value not displaying in the Liquidity forecast report - FF7B. I have already created Planning Levels and assigned to the internal codes in tcode - OT47. Sales Order and Purchase Requisition has been created after assigning planning levels to the internal codes. Please help.
    Thanks and Regards,
    Arabinda Parida

    HAve you other levels included in FF7b?
    Did you do a rebuild in FDFD?
    Regards
    Hein

  • Tables for Purchase contract Tax pricing

    Hi ,
         I want to display purchase contract detail in the standard layout.
    For Displaying pricing we need the Document condition number of the contract.
    Normally in Purchase order pricing document number is in EKKO table and field name is KNUMV.
    In same procedure i search for Contract pricing but am not able to find the pricing document number table and the pricing table.
    Please guide me how can we pick the pricing values from purchase contract.
    what is the tables for purchase contract  Tax pricing ?
    Regards,
    Madhan  - Chennai .

    hii,
         it is
                   KONH                                    Conditions header
                    KONP                                    Conditions items
                    KONV                                    Procedure ( billing doc or sales order)
                    KOND
                          VEDA                                     Contract data
    regards,
    Shweta

  • Percentage of used table space not reduce after deletion

    Hi..
    This is my query to delete data from database:-
    delete from $tb_data where to_char(partition_dt,'MON') = '$mm';
    The $tb_data and $mm is variable and the $tb_data will be read input table name (as example backup_nx160, backup_ngn and etc) and the $mm will be capture the input month.
    My question is why the percentage of used table space is not reduce after delete query was executed. Could somebody help me..
    Please help me..
    Thank you,
    Baharin

    baharin wrote:
    Hi..
    Is it the deleted space will be reused by the system ?Yes.
    .. How could i check the real free tablespace or real usage table space ?If you have gathered statistics on the schema recently, then sum (avg_row_len*num_rows) should give you the exact number of bytes that are being consumed - assuming all tables are in a single tablespace under consideration. You can subtract this value from sum (dba_data_files.bytes) figure for the tablespace, to know exact free space.

  • PR should not change after PO Creation without Unrelease

    Hi,
    We want that User cann't change the PR after PO Creation.
    For Ex.:- We create a PR with 10 Qty., release it and also create PO with 10 Qty.. Now after PO creation with same qty, no one can change PR (Qty, Purchase Group etc...)..
    If User Un-release the PO and PR, then user should be able to change in PR...
    Please guide...

    Thanks a lot dear..
    After doing this, i create a new PR and PO with 10 qty... After PO, i unrelease the PR and change the Qty from 10 to 15 nos..then system shows an error message Requisition already converted into purchase order...
    But when we change 10 qty to 5 qty, PR allow the same... I want to insert another check here, that user cann't insert less than qty there... There should also be a Message there in system...
    Please guide...

Maybe you are looking for