FM for Internal Condition record MEK1/MEK2 and VK11/VK12

Hi,
Is there any function module to update the internal condition record for both Purchasing(MEK2) as well as SD condition records(VK12).
My requirement is to update the price and price unit in the gross price condition(PB00) and sales price condition (VKP0).
if so Please let me know.
Thanks in advance
Vinoth R

Hi,
yes you can use he sam module for both conditions:
Function module RV_CONDITION_COPY
paramertes MAINTANI_MODE   - 'A' Create; 'B' change
there is no possibility to delete a condition
COMMIT WORK and
Afterwards call RV_CONDITION_RESET to initiailize all global data of condition maintenace.
Regards,
Remek

Similar Messages

  • Make Condition exclusion type to be active for different condition records

    Hi
    We are currently using three condition types in the pricing procedure.
    Say for eg. YWBP- F Charges, YADJ -C charges and YHDG-Handling fee
    We have set condition exclusion for the combination of YWBP and YHDG and
    YADJ and YHDG.
    YHDG condition type has two condition records.. say for eg. 512 and 596.
    The materials defined for 512 condition records is YAU and YAX and for 596 is YAV.
    Now my question is that whenever condition types YADJ  gets picked up fo  YAU, YAX  and YAV then condition type YHDG shouldnot get picked up. (The above condition exclusion group will perfectly caters to this requirement.) but now the cache is the business has a requirement that
    When ever condition type YWBP gets picked up for the material 'YAV', then the condition type 'YHDG'  (with 596 table condition records) should also get pick up in the sales order.
    Is there any way to achieve this with current settings of condition exclusion indicator.
    Thanks in advance.

    Hello Vicky
    Not knowing the relationship between ZCPD and ZDUT, it is hard to answer your question.  I am not sure how ZDUT is affected by ZCPD.
    By your  description, there is a requirement in the pricing procedure that is setting the exclusion indicator to X for ZCPD under certain conditions. May be that is not a right solution for your situation.
    I would suggest using condition exclusion groups and then assigning condition exclusion group to the pricing procedure to meet your requirement. Let ZCPD be in  group 1, all other conditions that you want excluded when ZCPD is present  ( but not ZDUT) in group 2. Then use the exclusive option while assigning to the pricing procedure.
    All these config steps can be found here:
    SPRO/IMG/Sales and Distribution/Basic Functions/Pricing/Condition Exclusion/Condition Exclusion For Groups Of Conditions
    Link: http://help.sap.com/erp2005_ehp_04/helpdata/EN/93/7432eb546011d1a7020000e829fd11/frameset.htm
    Hope this helps.

  • T code for maintaing condition record in MM pricing

    Hiii ..MM GURUS...
    Can anyone let me know the transaction code for maintaing condition records for condition types in MM pricing .
    Regards
    SARFRAZ..

    MEK1 with appropritate key combination

  • Report for freight condition records

    Dear Freinds
    In my transportation module project, requirement is report for freight condition records.
    We have been created two tables in one access sequence, two tables are: 1. route/ship-to-party 2. route
    They maintained more condition records. They want to see all vondition records in one single report.
    Report based on those two tables. But those two tables are storing in KOMG Structure.
    But price is storing in KONP table. How to fetch both in to repor.
    With regards
    Lakki

    Let us say the condition tables are 001 and 002
    Now you need to go to database tables A001 and A002 in SE16
    Give the name of your condition type for which you want to get all the condition records
    Execute now.
    Now you will get all the condition records for the condition type created for the table say A001
    Hope this solves your problem. You can reward if this helps.

  • Is their any function module for deleting condition record i am trying

    Hi Experts,
    Is their any function module for deleting condition record i am trying  this way.......
    DATA: TABLE (4) TYPE C.
    DATA: KNUM LIKE KONH-KNUMH
    DATA: K_VEWE LIKE T681-KVEWE VALUE 'A'.
    DATA: T681_STR LIKE T681.
    DATA: LV_NUM TYPE I.
    GET PARAMETERS
    PARAMETERS: TABNO LIKE T681-KOTABNR.
    PARAMETERS: TESTMODE DEFAULT 'X' AS CHECKBOX.
    REFRESH INT_KNUMH.
    Select single * from T681 into T681_STR
    where kvewe = K_VEWE AND
    KOTABNR = TABNO.
    IF SY-SUBRC NE 0.
    WRITE: / 'No entry in T681 for number ', TABNO.
    WRITE: / 'Check whether corresponding condition table exists.'.
    EXIT.
    ENDIF.
    TABLE = T681_STR-KOTAB.
    SELECT KNUMH FROM (TABLE) INTO KNUM.
    SELECT SINGLE * FROM KONH WHERE KNUMH = KNUM.
    IF SY-SUBRC NE 0.
    INT_KNUMH-KNUMH = KNUM.
    COLLECT INT_KNUMH.
    ENDIF.
    ENDSELECT.
    DESCRIBE TABLE INT_KNUMH LINES LV_NUM.
    IF LV_NUM EQ 0.
    WRITE: / 'No inconsistent entries found.'.
    WRITE: / 'Each record in the condition table has a corresponding.'.
    WRITE: / 'entry in the KONH table.'.
    EXIT.
    ENDIF.
    LOOP AT INT_KNUMH.
    IF TESTMODE IS INITIAL.
    DELETE FROM (TABLE) WHERE
    KNUMH = INT_KNUMH-KNUMH.
    IF SY-SUBRC = 0.
    WRITE: / 'KNUMH =', INT_KNUMH-KNUMH(10), ' deleted from table ' ,TABLE.
    ELSE.
    WRITE: / 'DELETE: SY-SUBRC is', SY-SUBRC , ' FOR KNUMH = ' .
    WRITE: INT_KNUMH-KNUMH(10).
    ENDIF.
    ELSE.
    WRITE: / 'TESTRUN: KNUMH =', INT_KNUMH-KNUMH(10).
    ENDIF.
    ENDLOOP.
    is their any Standerd Function module  for comparing  tables if the condition record not exist in it has to exit if it is their then compare  those two tables if not exist in one table also that has  to be delete  the condition record
    Please let me know .....

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • FM for creating Condition Records

    Is there FM for creating Condition Records for output type like transaction VV11 (Create Output - Condition Records: Sales)

    Hi there,
    FM for condition records? Why do you want to think of a FM for creating conditon records?
    Condition records is a master data that has to be manually created as per the business requirement.
    But what we can do is that if the data ia existing in an external legacy system, we can migrate that into SAP through a BAPI / BDC or LSMW depending on the volume of data.
    But in other cases condition records are manually created in SAP system.
    If at all you have a function module to create condition records, how would you ensure that it feeds correct data into the condition records? What key combination would the system take & what data would you want the FM to upload?
    How will you monitor what data is uploaded,.
    Regards,
    Sivanand

  • Transaction used for maintaining condition record for contract

    Hi All,
    In one of the issue user is not able to print contract,we have noticed that default printer is set for user.I need to check what condition record is maintained for user.
    Can anyone let me know what is the transaction used for maintaining condition record for contract output.
    Regards,
    Dharmesh

    Hi
    MN01 Create Message: RFQ
    MN04 Create Message: PO
    MN07 Create Message: Outline Agreement
    MN10 Create Message: Schd. Agmt. Schedul
    MN13 Create Message: Service Entry Sheet
    MN21 Create Condition: Inventory Mgmt
    MN24 Create Message: Shipping Notif.
    MN27 Create message: rough goods receipt
    MN10 / MN11 - Scheduling Agreement Delivery Schedule
    Vijay

  • Difference between FV11, MEK1, XK11 and VK11

    Dear Experts,
    Would you please explain me the difference and their application for the below T.Codes?
    FV11, MEk1,XK11 and VK11.
    Thanks in advance,
    Ranjan

    FV11
    Condition record maintain for FI
    MEk1
    conditon record maintain for Purchasing
    XK11
    sales tax condition creation
    and VK11
    SD condition records creation.

  • Creation of condition record (MEK1) for freight w.r.t. vendor in STO

    I am working in ECC 6.0 environment. My requirement is to fetch value of freight automatically w.r.t. selected vendor in condition while creation of STO.
    How can i define condition record by MEK1 for the same? Which access sequence needs to be assign to freight condition for creation of condition record of the same so system can fetch value of freight in STO w.r.t. vendor?

    hi,
    Create one access sequence for freight conditon with follwing table and assign the same that access sequnce to condtion .
    665     Vendor/Customer/Material
    716     Vendor/Plant/Material
    give the fright accout key for valution with FG cost add and seperate GR/IR vaules for vendor payment.
    while purchase order update conditon and in the view detial mentain transporter vendor for the same .
    pass the miro ref planned delivery cost
    Sans.

  • BAPI for creation of condition records  MEK1 tcode

    Hi,
        Any one used to upload condition records data for MEK1 transaction code. Please give me reply any once knows.
    Thanks in advance
    Shaik Basha

    Hi Vijay,
        Thanks for giving reply. I checked BAPI_PO_Change and
    BAPI_PO_CREATE1. But in these two PO number is the mandatory field. In mek1 tcode, for particular condtion type key combination i dont have any PO field that time i will use this FMs. Please give me advice regarding this.
    I am also facing some other problem i.e to change the routing master data. I alreay downloded data from routing master in excel and i did changes in excel. Now i';ll upload the excel to sap that will update the routing master. If u have any idea for updating the routing master data.please send me the fm.
    Regards
    Shaik Basha.

  • BAPI for Pricing condition record  to transaction MEk1

    Hi Experts,
    I am facing problem to find out the BAPI or function module  to create the condition record for transaction MEK1.Please let me know asap.
    Richard.

    You can use BAPI_PRICES_CONDITIONS .
    See the thread.
    BAPI_PRICES_CONDITIONS

  • Report for Customer Condition Records

    Hello ABAPers,
    I want to write ABAP report to list out Material,Customer,Tax type and Tax amount. The data is available in tables A005 and KONP and the joining condition would be A005-KNUMH and KONP-KNUMH.
    But since A005 s a Pooled table am not able to write a correct join condition.
    Can any one guide me on how we can write this join condition?
    I tried with FOR ALL ENTRIES IN TABLE but the output was not reading the value of Amount(KONP-KBETR).The amount is coming as zero always.
    The code i'm using is:
        SELECT MATNR KUNNR VKORG VTWEG KSCHL KNUMH INTO TABLE ITAB_JEXP FROM A005 WHERE KSCHL = 'JEXP'.
    IF NOT ITAB_JEXP IS INITIAL.
        SELECT  KNUMH KOPOS KSCHL KBETR  INTO TABLE ITAB FROM KONP FOR ALL ENTRIES IN ITAB_JEXP
                WHERE KNUMH = ITAB_JEXP-KNUMH AND KSCHL = ITAB_JEXP-KSCHL.
      APPEND ITAB.
    ENDIF.
    LOOP AT ITAB_JEXP.
    MOVE-CORRESPONDING ITAB_JEXP TO ITAB.
    APPEND ITAB.
    ENDLOOP.
    Thanks,
    B P Shah
    Message was edited by:
            Bhavin P Shah

    Hi,
       Use FOR ALL ENTRIES  for that joins are not allowed on cluster n pooled tables
    refere these
        LOOP AT it_kjmseg INTO wa_kjmseg.
          lv_index = sy-tabix.
    *--Select condition record number from table A006
          SELECT SINGLE
                 knumh
                 FROM a006
                 INTO lv_knumh
                 WHERE kappl EQ 'V'
                 AND   kschl EQ 'ZR00'
                 AND   vkorg EQ '0010'
                 AND   vtweg EQ '00'
                 AND   pltyp EQ '01'
                 AND   waerk EQ 'USD'
                 AND   matnr EQ wa_kjmseg-matnr
                 AND   datbi GT wa_kjmseg-fkdat.
          IF sy-subrc NE 0.
    *--Select condition record number from table A004
            SELECT SINGLE
                   knumh
                   FROM a004
                   INTO lv_knumh
                   WHERE kappl EQ 'V'
                   AND   kschl EQ 'ZR00'
                   AND   vkorg EQ '0010'
                   AND   vtweg EQ '00'
                   AND   matnr EQ wa_kjmseg-matnr
                   AND   datbi GT wa_kjmseg-fkdat.
          ENDIF.
    Regards,
    Prashant

  • Output device for output condition record

    How can i make an output device a required entry when creating a new output conditon record? 
    Example:  When going into VV31 and setting up new output condition record, I am trying to force user to specify an output device. 
    Can some one let me know if it is possible to do?
    Thank you.

    Hi
    Write a Field Exit for that field
    and trigger a error when it is not filled , such that the user always enters it.
    Reward points if useful
    Regards
    Anji

  • Function Module for creating condition record (XKOMV table record)

    Hi,
    I have a requirement as like below,
    In the repair order i need to sum the GRWR condition type's  conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
    the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
    for the above logic i am using the user exit
    USEREXIT_SAVE_DOCUMENT_PREPARE
    All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
    Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
    Regards,
    Manikumar
    Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • Mass update for message condition records

    Hello all,
    with Transaction NACE we maintained thousands of message condition records.
    Now we have to change for all this message condition records the "Number of Messages" (Table NACH Field ANZAL).
    Is there a mass change Option available or is there a function module we could use?
    Thank you
    Best regards
    Manfred

    Dear Manfred
    i think you want to change All condition records of some condition type In NACE , you want to change Date and Time ex:
    Am i right ?
    Yes it is possible in NACE T.code level only
    So here Give What is Your application like V2
    Now click on condition record and Just go to change mode And give application V2 Example
    after this change Date here it will applicable to all condition type what ever in your V2 Application and all condition type
    Apart from This i thing some Function Module May be there but i cant recall
    Please let me know
    Thanks a lot 

Maybe you are looking for