PO Order value against Contract

Hi,
I am loading data from 2lis_02_hdr, 2lis_02_itm, 2lis_02_scl datasources in to cusotmized cube.
In the ITM datasource we have fields EBELN(PO Number), KONNR(Agreement number), and we have a filed NETWR(Net Order value) against the PO number.
Here requirement is they want report which contain Target value(KTWRT), Order Value(NETWR) against Agreement no(KONNR).
In the customized cube I consider Agreement and Agreement Item fileds as per requirment
I have created query with the following navigations:
I restricted PO number with Doc type=WK (for Agrement number)
selcted PO number in Rows
selected Target value and Order value in columns.
In Query Output it is not showing Order value against the Agreement number,
As we know One Agrement number can have more than One PO's but in datasource level he maintains Order value against PO number.
So How will I get the Order value against Aggrement number..what calculations are required at what level..if routines required let me know the code in brief
Thanks in Advance
I will assign points for each reply..please help out this problem immediately..

hi,
Wht exactly do you need??
yes, once you use del. comp. indicator and then you post the doc. later, the qty remains same it doesn't get updated bcoz by default system updates it in PO History...
Why do you want same with GR?? Why you wanna keep GR histories?? it'll increase complications and will create problem while invoicing and that the reason sap has not provided it...
Regards
Priyanka.P

Similar Messages

  • 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.

  • How will i get Netorder value against contract

    Hi,
    I have loaded 2lis_02_hdr, itm, scl datasources in to customized cube which contains Purchasing document(EBELN), Item(EBELP), Doctype(BSART), Contract(KONNR), Item(KTPNR), Netordervalue(NETWR)
    Here my requirment is I want to cummulate Netordervalue against Contract no.
    In query level if I selected Purchasing doc with doctype=WK(it means it is value Contract), it is not showing any Ordervalue against Contract.
    How will acheive this to get Cumulative order value against Contract.
    Please share your suggestions to acheive this requirement.
    For clarifications please revert back.
    Thanks in Advance
       sudhir.

    Hi,
    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.
    <b>loop at RESULT_PACKAGE INTO WA_ty_t_TG_1.</b>
          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.
    Thanks in Advance
    sudhir.

  • Order value for Contract(Urgent)

    Hi,
    I am loading data from 2lis_02_hdr, 2lis_02_itm, 2lis_02_scl datasources in to cusotmized cube.
    In the ITM datasource we have fields EBELN(PO Number), KONNR(Agreement number), and we have a filed NETWR(Net Order value) against the PO number.
    Here requirement is they want report which contain Target value(KTWRT), Order Value(NETWR) against Agreement no(KONNR).
    In the customized cube I consider Agreement and Agreement Item fileds as per requirment
    I have created query with the following navigations:
      <b>I restricted PO number with Doc type=WK (for Agrement number)
      selcted PO number in Rows 
      selected Target value and Order value in columns.</b>
    In Query Output it is not showing Order value against the Agreement number,
    As we know One Agrement number can have more than One PO's but in datasource level he maintains Order value against PO number.
    So How will I get the Order value against Aggrement number..what calculations are required at what level..if routines required let me know the code in brief
    Thanks in Advance
    I will assign points for each reply..please help out this problem immediately..

    Hi Ganesh Ram,
    Go to transaction R3AC1, select the object BUS_TRANS_MSG and click on details button.
    Now select the tab Tables/Structures within object here you will find all the tables related to the transactions,  which were create using CRMD_ORDER.
    Hope this information helps you.
    Regards
    Nadh.

  • Release order restrction against contract

    Is there a way to control authorization for creating release order with reference to contract? Buyer which is maintaing contract can specify the user who can create release order agains that contract, may be using purchasing group.
    Thanks,
    Shahzad Shakoor

    Thanks for the reply!!
    Can you please tell which authorization object to use for restriction according to purchasing group.
    Regars,
    Shahzad Shakoor

  • Release PO against contract whit limit value for USER

    Dear colleague,
    We work SRM server 5.5 . SP14 extended classic scenario, and we use contract management.
    We need to release PO against contract and we want to LIMIT the users that PO value have  to be between 60 USD as minimum order value and 120 USD as maximum order value.
    We know that solution for the minimum order value is to use the u2018minimum order valueu2019 in the contract item with the value 60.
    Can someone help with the solution to limit user to maximum order value against contract.
    Thanks
    B.R.
    Gil shinar

    One option is that you could implement the maximum value logic in BADI BBP_DOC_CHECK_BADI and give out proper error message if the user enters value outside of the range.

  • When create RO against contract system should allow to create RO 10% tolera

    Hello,
    My scenario is when create release order (RO) against contract, system should allow to create RO against contract value 10% tolerance on total value of the contract.
    Please let me know what are the configuration settings needs to be done.
    For ex: contract value 1000 USD
    So system should allow to create RO against contract 1100 USD it means 10% tolerance on contract value.
    It seems nobady have idea on this issue
    Thanks
    Edited by: sapmm99 on Apr 19, 2011 8:11 AM

    you idea  is just in conflict to SAP design and as well it does not follow the good business practise and violates the meaning of a contract.
    a contract is a written agreement between vendor and you (customer) that fixes a certain quantity at a certain price for a certain period.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee0ee555c811d189900000e8322d00/content.htm

  • With a contract number, how to know the total PO release value against it?

    Usually one contract corresponds to multiple PO records, now we know the contract number, then how to know the total PO release value against this contract.  In other word, we would like to know the total release value of all the POs with the same contract number.  To just input the contract number in EKPO table? but then look for which field in this table to add these PO release values up?
    We will give you reward points!
    Thanks!

    hi Mohammad,
    By following your instruction, input the contract number 4800000112 into Document number field, then hit Enter, get the following (only copy two records here for example), but kind of a mess.  Could you let us know which one is the PO release value for this contract?
    Contract   Type Vendor     Name                                 PGp Agmt. date
      Item  Material           Short text                               Mat. group
      D I A Plnt SLoc                 Targ.qty. Un       Net price  Curr.   per Un
    4800000112 WK   2000012012 GULF INTERSTATE FIELD SERVICES       QBH 06/20/2006
    Agreement start06/20/2006 Agreement end 12/31/2007
    Tgt. val.        1,000,000.00  USD   Open          1,000,000.00 USD   100.00 %
      00001                    Inspection Svcs, Construction            R3VNI
      L   U                                  0  UL            0.00  USD       1 EA
      00002                    Chief Inspector                          R3VNI
      L   U                                  0  DAY         390.00  USD       1 DAY

  • Differences between Contract Cumulative Value an Release Orderes Value

    Hi All
    I have found differences in:  EKPO (PO Items)  and  EKAB (Release Orders) tables vs. Cumulative Target Contract value.
    The total amount in EKPO net values is grather than Cumulative Target Value in Contract, in EKAB net values as well.
    Do you know the considerations that the system are taking?....because the Cumulative value must not be exceeded
    Thanks for your tiime.
    Regards
    Mauricio

    I have found the issue, the delivery complete indicator restore the Cumulative Amount in Value Contracts (Quantity = 0). After that, a new PO could be created with Agreement link limited for the amount restored.
    So the all PO generated related with the contract could exceed the Cumulative Amount established in contract
    Thatu2019s a problem because All PO could be received even though the delivery complete was activated
    This behavior is only for Value Contracts
    Saludos
    Mauricio

  • Sales order value exceeds value of contract

    Hi,
    when we create a sales order with ref to contract it allows to create a sales order for more value than contract. validation is in place is sales order quantity should not be more than contract quantity.
    We need to have an check on the value of sales order rather than quantity of a sales order.
    Pls suggest.
    thanks

    Kindly goto the value contract material item category at VOV7.
    Please check the value contract item is assigned and also check the field Contract release control,
    Maintain the entry as " B ".
    Now u check by repeating the transactions.
    Hope it useful,. please post if u have any further clarifications,
    Reward points if useful,
    Regards,
    kaleeswaran B

  • How to map values between Contract and Purchase Order...

    Hi friends,
                        We are using SRM 5.0 (ECS). I am facing a problem with Purchase Order.
    . I am creating Contract locally through Live Auction. After that I am creating Purchase Order through Live Auction. So in Purchase Order Quantity, Net Price, Gross Price, and Long Text etc. not coming which is defined in Contract.  PO capturing the values from Live Auction, means no relation between the Contract and Purchase Order. After making Contract again I have to changes in the Purchase Order.
                So how to map the values from Contract to PO in SRM?  I want to map between contract and Purchase Order like R/3. At the time of creation of PO ( in R/3 )  we can adopt the Contract so all the relevant values comes from Contract to PO. In SRM how will I do?
    Please suggest me.

    When you create PO and a contract from a Live Auciton, they will not be mapped.
    While creating a PO (BBP_POC - Process Purchase Order); in the PO line item assign the contract and item reference. Only then they will be linked.
    Hope this helps.
    Regards
    Kathirvel

  • Purchase Orders against Contracts/Sales Orders report

    One of our divisions creates long term Contracts against which there are potentially hundreds of Purchase Orders created as the work continues. I have seen reports of POs for material group (ME2C), vendor (ME2L) and more but is there one that will list POs for a Contract or Sales Order.
    Apologies if I'm missing something obvious but I must admit I cannot seem to see it if it does exist.
    Many thanks in advance
    Jim

    1. Logistics  Materials Management  Purchasing   Outline Agreement  Reporting  General Analysis
    ME80RN
    2. enter certain selection criteria and choose Execute
    3.To see details for the contract which you created and issued a purchase order against in previous steps, select the contract and choose Purchasing Document (F2).
    4.On the Display Contract: Item Overview screen, select a line item and choose Release Documentation (CTRLSHIFTF12).
    5.On the Release Order Docu. for Contract 46XXXXXXXX Item XXXX screen, to view details for a single PO that has been issued against the contract, select the purchase order then choose Display Document (F2).,choose Back
    6.On the Release Order Docu. for Contract 46XXXXXXXX Item XXXX screen, To view the Release details for a single PO, select the purchase order then choose Release (SHIFT+F4).

  • Credit Note to be adjusted against sales order value

    Hi Experts,
    The scenario is as follows:
    a. Customer is having credit note(balance) in SAP CRM
    b. In subsequent order the credit note value to be adjusted against the order value
    c. Customer is advance payment only
    d. The sales order value to be calculated after deducting the credit note for order for payment

    Hi Mukesh,
    I think you want to adjust the value of the sales order based on the credit note issued to the customer or advance payment. The credit note will result in a AR posting and hence should not be used for adjusting the sale order value. That adjustment will happen in AR anyway.
    The advance payment can be stored in a condition of the sales order and can be used for adjusting the sales order value basically to reduce the AR. You will have to manipulations in pricing to get the right AR, Revenue and Advance payment postings.
    Let me know if you want more details as I am not 100% clear about your issue.
    Thanks
    Ashish

  • Contract value not updated in open order value of credit management

    My requirement is i have created the contract and activated the credit management by assigning credit  group to contract document type, In item category the credit is active and in pricing subtotal is also assigned .
    But when i create the contract , the open order value is not updated .
    i do not want the credit to be active at order level.
    Dear guru's
    please let me know where i am going wrong
    thanks in advance

    hi,
    open sales orders value not updating currectly in sales value of CM
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CreditmangementIn+SD-FI
    i think you have to run a report which is under the link number 1.
    regards,
    balajia

  • Services formula value in contract release order

    Hi
    We have a quantity contract with services, the services contain a formula ABC to determine quantity. After selecting the service in the contract release order the full contract quantity is imported resulting in an error message.
    Is there a specific user exit or other method to default the service formula values ABC to 111 after selecting the service in the contract release order?
    thanks

    Anyone any ideas? is there a user exit/enhancement or could a user parameter work?
    Any guidance most appreciated.
    Adrian

Maybe you are looking for

  • Creation of accruals for PO during GR

    Hi! We have configured the system to implementshipment costing and the freight costs are posted during goods receipt of the POs. What we have done is 1. Create three condition types for the different freight costs and custom duties, e.g. ZD03, ZD04,

  • Aging report - detailed needs invoice project code

    Dear All, Would it be possible for us to have project code (on A/R invoice header) on Aging report - detailed print layout? I found all fields in Aging report - detailed PLD are sys var. Is there a way for us to figure out which sys var is for projec

  • ITunes freezes

    Hello. My iTunes freezes when I try to open it. I have tried restarting my PC, but it doesn't help..... Please help me!!!

  • SQL* Loader Loading specific column from CSV file to the table

    Dear All, Iam Loading specific column from .CSV file to the oracle table. Could pls help how i can load only that cols into the table Eg: CSV file having id, Frst_name,Last_name, Address,Phone,Insurance etc out of this I want to load only Frst_name,L

  • Inhibit the starting of an Application Server Instance

    Hello, How I can inhibit the starting of an Application Server Instance at the starting of Windows? Yours Sincerely,