Pricing Condition for Serivce Line Item

Hi Experts,
I'm trying to create a service PO with 1 Service line item and this service line item actually contains more than 1 service number. Using BAPI_PO_CREATE1, how can I define the pricing condition for each of the service number?
Currently, I'm able to define the pricing condition of the service item as a whole through this input parameter table POCOND.
Thanks.
Best Regards,
Weishan

Its really tricky requirement, when you are going for manual condition type.
- the best alternative to cater your requirement is to go for maintenance of condition record, which you can upload at mass with the help of LSMW. Also, will be really helpful in having report for pricing. Finally, reduce time to create sales order. Thus, discuss & encourage your user to maintain pricing based condition record. Only header condition should be on manual bases.
- If hard to convince your client on condition record. Then develop a routine with the help of ABAPer in your team. Where you can put logic. If the condition is manual enter and system is able find already entered value for material, then copy the price the slots where system don't find manually entered condition value.
Regards
JP

Similar Messages

  • Different Pricing date for two line items

    Hi guru's
    How to give different pricing dates for two line items
    in a sales order
    To elaborate
    I have two line items one i need pricing date order date
    second one i need pricing date should be delivery date
    Thanks in advance
    Srinivas

    Dear Srinivas,
             While creating sales order select the item which you want to change the pricing date then go to menu>GOTO>Item -->Click on Sales A here you can able to change the pricing date as you like.
    You can change the pricing date of the item in the sales order through sales order change mode but that sales order should be open.
    I hope it will help you,
    Regards,
    Murali.

  • Receiver determination condition for multiple line items

    I have a structure like this
    <Invoice>
       <InvoiceHeader></InvoiceHeader>
      <InvoiceItemDetail>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
       <InvoiceItem>
             <InvoicePrice>0.00</InvoicePrice>
        </InvoiceItem>
      </InvoiceItemDetail>
       </Invoice>
    if my Invoiceprice is 0.00 in all invoice items , i need to send to a particular receiver.
    In this case, how do i need formulate a receiver condition? i have tried all, but it is not working.
    Regards,
    Raveendra

    HI,
    if i have two invoice items with one price with 0.00 and 30.00. your condition will find a receiver. But, it has to find receiver only when two invoice prices are 0.00
    if i have two invoice items with one price with 0.00 and 30.00
    for ex:
    item  A = 0.00
    item  B = 0.00 / 30.00
    But, it has to find receiver only when two invoice prices are 0.00
    rootnode/InvoiceItemDetail/InvoicePrice(A) = 0.00  AND  rootnode/InvoiceItemDetail/InvoicePrice(B) = 0.00 -
    > target A
    rootnode/InvoiceItemDetail/InvoicePrice(A) # 0.00 OR     rootnode/InvoiceItemDetail/InvoicePrice(B) # 0.00 -
    > target B
    thanks,

  • How to trigger Condition Access sequence multiple times for one line item?

    Hi,
    We have a situation that, User will enter a Promo code (custom Field) in Sales order Header Additional data B tab to apply discount for line items.
    Logic goes like this:
    1. For each Promo code .. there may be multiple sale deals (Max 3 at this point).
    2. For each line item (refering to tkomp table) we have to apply the sale deals (found above) the Condition access sequence will pick the right sale deal to apply the line item.
    3.we have enhanced the tkomp structure to hold the sale deal.
    Challenge:
    As we have the standard logic to trigger the condition access sequence once for each line item, how we can apply 3 sale deals for single line item. Is there any logic or way to trigger the condition access sequence multiple times for single line item with diffrent sale deals. ~ There may be one valid sale deal for one line.
    Functional team maintained diffrent access tables in the access sequence!!!
    Fnds, please help me to get some clue
    Thanks,
    Sunil Y

    Hi Eduardo , Thanks for the response.
    I am trying to explain again, this is the requirment given by the functional guys.
    we have Promo code in Hearder Addtional data B tab --> Have to retrieve Sale Deals -->
    At this point of time we may have at max 3 Sale Deals. we don't know which sale deal is vallied for which item we have in TKOMP.  We have enhanced the TKOMP structure to hold one sale deal only (ZZPROMO).
    We have enhanced USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ to populate the value in TKOMP. Then it will go for diffrent access sequence to find the proper condition.
    Our challenge is that, for each line item we have 3 sale deals, we don't know which one is valid for which line. but we have to apply the vallied sale Deal to the line items.  Line item 10  may have Sale Deal 2 , item 20 may have Sale Deal3 and 30 may have sale deal 1.
    We may have solution, by fixing some thing in the code or through config. But i am confused that is it a valid requirment?
    Please help me ...
    Thanks,
    Sunil Y

  • Payment terms  for particular line item

    Hi gurus
    i have defined payment terms and assigned to customer master, when ever i am creating sales order payment terms are getting in the sales order if i want to change the payment terms for particular line item what is need to be done
    please let me know asap
    thanks n regards
    srinvias

    Hi,
    There are few ways:
    - You need to check in respective Item Category, the field "Business Item data" should be unchecked, this will allow you to change the Payment Terms at Item Level.
    -Even if the above settings are not being done, you can have the Payment terms fetched from Condition record maintained for that item. Mind that you need to maintain the Payment terms in Condition Records of the pricing of the item.
    Do reward answers with suitable points.
    Regards
    SD

  • Difference in amount in sales order and billing for one line item

    Hi experts,
    User created one sales order with three line items say line item10, line item20
    Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
    I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
    Note: No changes are carried out from sales order to billing and even in material also.
              I checked copy control settings also all are correct.

    Is the Item Category of that item different from the rest. If yes for that item probably pricing is redetermined. However if its the same somebody might have changed it manually.
    If all the item have same category then it is possible that repricing is carried out for all the items however it found new condition record only for that perticular item.
    Rings a bell ?
    Regars

  • Pricing copied across different line items

    I have a pricing routine assigned to a discount condition type. Routine is working fine but when I add a second line item, discount from second line item is overwriting first line item. How can I prevent that from happening
    Lets say first line item Material A, quantity B, discount is 2%
    For second line item,  Material A, quantity C, discount is 3%
    When the system is calculating the discount for second line item, when i come back and see first line item details, it is showing the discount as 3% instead of 2%.. could you please let me know if there is a setting anywhere to prevent cross -line copy of these ..
    Regards

    No, both the discounts in two line items are getting calculated automatically based on logic in a routine assigned to pricing condition.
    But since second line item is entered after the first, value calculated from second line is overwriting the discount in first line..
    Any config settings to prevent that??

  • To Set Goods Receipt Indicator For Particular Line Items In SRM

    Hi All,
      i am working on BBP_DOC_CHANGE_BADI in SRM. i am trying to set the goods receipt indicator for particular line items based upon certain conditions. The values are being set in the badi. But when the Purchase Order is created in the backend R/3 i coudn't able to find the goods receipt indiactor being set..
    i used this field to set the GR indicator
      GR_IND = 'X'.  " Goods Receipt Indicator
    Can anyone help me in this?
    helpfull answers will be rewarded....
    Thanks,
    Murali

    To Murali and Christophe,
    I have set the GR and GR non val indicator in CREATE_PO BADI but I face the following situation :
    problem -
    In case of multiple account assignment in the shopping cart, the R/3 transaction ME21N sets these flags. 
    The flag status determined as per EBP conditions is lost.
    I need to retain the flag status as per EBP conditions even in this multiple account assignment scenario.
    proposed solution -
    - CREATE PO badi is already implemented in EBP and customised logic for GR and GR non valflag is in place.
    - I create user exit in R/3 backend system in ME21N transaction 
    - I make RFC call in this user exit to EBP and check the table BBP_PDPSET for the shopping cart.
    This is how I get the flag status as per EBP conditions and copy the same to R/3 thereby overriding the multiple account assignment check of the R/3 system.
    issue - 
    When I tried to verify that I can check the BBP_PDPSET table from R/3, I found that this table is not having entries for all the records in  CRMD_ORDERADM_I table.
    For which shopping carts will the BBP_PDPSET table not  be populated ?
    thank you in advance,
    Bhakti.

  • Cash Discount Calculated for One Line Item and not for Other

    Hi All,
    We have devloped a Z program which is used to Write of InterCompany AR and AP recon Account to another GL Account. In this program to clear line item we have created a BDC which calls t-code FB05. Thsi program is running perfectly fine for all company codes.
    There is new company code SG20 for which it is not clearing the line items. It has created a Session in SM35, when we analysed the seesin we found that for some line items system is calculating Cash Discount and for some other line items it is not but the payment Term is same for all the douments with 3% 14days.
    I need your help in understanding that why for some line items system calculates the Cash Discout where as for others it is not calculation..also the Posting Date is same for all the documents.
    Please advise what could be the reson for this.
    Thanks!
    Regards,
    VIvek Srivastava

    Hi
    Cash discount is calculated based on the combination of baseline date and payment term conditions.
    Hence please check the baseline date for all the documents, in which the cash discount is not appearing.
    In your case, the possible reasons could be that 1) baseline date is different between these documents or 2) payment terms cash % is manually modified in the line item of the documents.
    Regards

  • Value contract - Need restrcition of amount in PO for contract line item

    Hello Guru,
    I want to create a single value contract (WK) for multiple years .. say 3 years with target value as 450K USD with three line items for each year of value 150K USD.  I would like that when buyers create a PO system should not allow them to create release purchase order for each line item more than 150 K for the year. Can somebody tell me how to configure that?
    Here is my current config example :
    Contract #ABC - Target value 450 with validity date 1/1/11 until 12/31/13
    Line item 1 - 150 K
    Line item 2 - 150 K
    Line item 3 -  150 K
    Now when I create PO with respect to contract#ABC line item 1 - system allows me to create PO with more than 150 K but gives me error message only if I exceed more than 450 K (because message 06/042 is error in config).
    The requirement is to create a single contract for the vendor. Can somebody help me to figure out the way to restrict PO amount by each year limit by standard or custom configuration?
    Thanks, Sachin
    Edited by: sachindubey on Feb 29, 2012 10:15 PM

    Hi,
    As far as I remember it was simple logic!
    Something like
    Goto EKPO select KONNR ;
    If  KONNR != blank (Not equal to blank)
    Do not allow to change condition type u201CPB00u201D
    Also incorporate addition date check for your need

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • Pricing condition for Taxes in R/3 not being calculated.

    We have SRM4.0 in classic mode with R/3 4.6C. In SRM we configured Tax calculation is in R/3. When creating the shopping cart, EBP calls R/3 via RFC for the Tax % and displays the tax information in the cart successfully. The cart is saved and the completed PO is created in R/3. However, our pricing condition for tax, at Pur.Org/Material group in R/3 does not get calculated - so in the item condition screen, no tax is calculated. If i go into the change PO and in Item conditions/Update, (G-Copy Pricing and Redetermine taxes) then it is OK (but this is not ideal). When i do an RFC trace, using RSRFCTRC, i can see my Pur Org, Material Group and Tax code all being passed to R/3. Also, when i do a manual SE37 test on funct.mod. BAPI_PO_CREATE, it does calculate tax correctly - i am stuck - any help appreciated. rgs Adam

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Report of condition types per line item in sales order

    Hi all,
    Is there any report that can tell me all the price conditions that are allocated to a sales order line item? I am talking about the actual conditions relevant for a line item, not only conditions that have a condition record setup.
    So I would like to key in sales order number, the line item and get a report of all conditions that are allocated to that line item in the specific sales order.
    If there is no such standard report, does anyone know what tables to link?
    Thanks in advance,
    Lars

    Hi Lars,
    In my current customer they had the same requirement and after almost 1 month of analysis we decided to build a custom report to execute this.
    And as an enhancement we compare prices from the sales orders and the sap price records in order to check the differences.
    First we need to find all the open lines (status and reason for rejection (ABGRU)), than loop KONV and select the  KSCHL (condition types) you want, material text descriptions, etc.....of course a lot more in terms of coding.....;-)
    This was the form I used :
    FORM FIND_SO_PRICES.
      LOOP AT IT_ITEM_REPORT.
        REFRESH IT_PRICING.
        SELECT KSCHL KBETR WAERS KPEIN KMEIN KUMZA KUMNE
          INTO IT_PRICING
          FROM KONV
         WHERE KNUMV = IT_ITEM_REPORT-KNUMV
           AND KPOSN = IT_ITEM_REPORT-POSNR
           AND KINAK <> 'M'
           AND KINAK <> 'X'.
          APPEND IT_PRICING.
        ENDSELECT.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My price condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSP1 = IT_PRICING-KBETR.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
        READ TABLE IT_PRICING WITH KEY KSCHL = 'XXXX'. -> My discount condition
        IF SY-SUBRC = 0.
          IT_ITEM_REPORT-ZSD1 = IT_PRICING-KBETR / -10.
          MODIFY IT_ITEM_REPORT.
        ENDIF.
       IT_ITEM_REPORT-LIQ = IT_ITEM_REPORT-ZSP1 - ( IT_ITEM_REPORT-ZSP1 * (
                                              IT_ITEM_REPORT-ZSD1 / 100 ) ).
        MODIFY IT_ITEM_REPORT.
      ENDLOOP.
    ENDFORM.                    " FIND_SO_PRICES
    Please tell me if this helped you,
    Regards,
    Alcides Fialho

  • One pricing condition for BOM and other for individual component

    Hello SAP gurus,
    We have two pricing condition types created and assigned in the pricing procedure which has been created with reference to PR00 and condition records are maintained for both the condition types.
    But, we want only one pricing condition type to be triggered in the sales order depending on the usage of material in the sales order. As we are selling the same material individually and as well as a component in a bundle ( BOM).
    i.e, when one pricing condition for BOM component and other for individual component
    What are the configuration steps to be taken care to get this scenario?
    Thanks in advance.
    Regards,
    KB
    Edited by: K.byla on Jan 21, 2010 1:20 PM

    Hi Sagar,
    Thanks for your response.
    Yes, we are maintaining only one material. The same material is used to sell individually and also in a BOM.
    As i have mentioned earlier, whenever the material is sold individually it should pick condition type say 'YR00' and when the same material is sold as a bundle ( BOM) , it should pick condition type " YR01" in same the pricing procedure.
    For both the condition types, the condition records are maintained.
    To give the scenario details,
    A material "X" is sold individually as a single component and the same material is also used for selling bundled with other material "Y" and the bundled material as "Z"
    means, Z=X+Y
    Pricing procedure used is say ZRA000 which contains currently the price cond type YR00.
    Now for the bundle (BOM) involvement i want to use the same pricing pricing proc. and add the new cond YR01 in it so that the system will pick the cond.type YR00 when the material is sold individually and YR01 is taken as the price when the material is sold as a bundle against the item X.
    Need to know the steps for this scenario and do i need to maintain a specific requirement ? please suggest.
    BR,
    KB

  • Assigning Validation Rules to a Condition for Order Line entity

    Hi,
    Do we have any API(or interface) to load some validation rule( rule like 'Inventory Item= some item numbers) to a condition for Order line entity. (i.e. to load records into OE_DEF_CONDN_ELEMS).
    Please let me know, thanks in advance

    I am not sure of the purpose, if this to enforce a processing constraint, I will use API in the validation template defitniion and in the API I will qualify the items.
    You can have these items setup in value set of a look up (custom) and then have user interface control on the same.
    Is that what you are looking for?
    Thanks
    Nagamohan

Maybe you are looking for

  • Sales with third-party manufacturer

    Hi gurus, I need your help with the following sales scenario: My company produces product A. Product B can be manufactured applying minor changes in product A. However, my company doesn't have the machinery to do these changes. They need to be done b

  • Destination problems

    I made an 80 minute movie in FCP and exported it as a QT file. I then imported this QT file into Compressor and chose the DVD 90 minute preset setting. Shortly after submitting this I get a warning saying "This target will overwrite an existing file

  • How can i backup my files in recovery mode?

    i went into recovery mode and tried to repair my hard drive and it says it can't be repaired and I have to restore my computer. is there anyway i can backup my files from recovery mode onto a new disk?

  • Restore volume of third partition to Macintosh HD Volume

    I recently decided to increase the volume of my bootcamp disk, which I had done in the past using a method which ultimately made the disk unrecognizable. This time around I used Winclone to create an image of my bootcamp disk. I was not sure exactly

  • Set up of Task list across the plants

    Hello, I need to set up the task lists for 9 different plants. Essentially they are the same TL but used in different plants. I am looking for the best approach to set them up. Can we maintain a master task list at high level with central planning pl