Condition Types- LSMW

Hi All ,
I am uploading the Condition types , Transaction Code VK11 , Can I use the std " Batch Program RV14BTCI". In which I am not able to map the sales Organisation , distribution channel and division.etc.
Please guide me how to use this Std program.
Thanks
Ravi

Hi,
In Field Mapping level,  you have to concatenate all the required fields sales Organisation , distribution channel and division and assign to VAKEY.
Example:
CONCATENATE w_vkorg w_vtweg w_material INTO w_vakey.
bkond2-vakey = w_vakey.
Hope this helps you.
Thanks & Regards,
Dhana

Similar Messages

  • Mass Update custom condition types using LSMW

    Hi Members,
    Our client has created some custom Condition types for Discount/Surcharges , which they included in info records. Now, I am developing a LSMW which Updates/Creates inforecords. But, it was unable to create or change the custom condition types, as there is no access sequence for these custom ones. The standard SAP documentation confirms the same, access sequence not required. Even transactions like  MEKP/MEK2 are also unable to change the condition record data. Is there anyway, I can change the condition records data in SAP, except manual updation
    -Thanks!
    Edited by: Tirumala Nalla on Jul 30, 2009 7:32 AM

    Hi  Greetson,
                I have tested BAPI_SALESORDER_CHANGE ,that is also not deleting the header condition types.  If you see the code for BAPI_SALESORDER_CHANGE,it calls only SD_SALESDOCUMENT_CHANGE .I could not able to delete the header condition type that.It didnt say any error message or success message for condition types.It just says Order Header processed successfully and item processed successfully.Can you tell me what i am missing .
    Regards,
    Vigneswaran S

  • Invoice output Condition type not populated for many invoice documents

    Hi Guru's
    Invoice  Out put Condition  type for printing  not populated in the invoice document. Now We need to insert condition type for many  documents to print at a time. We can manually place condition type  at document header level individually for every document. But we have many documents to print.
    plz advice me how to print all these documents
    Thanks in advance.
    Regards,
    Ravikanth

    Hi Ravi
    Just take help from your ABAP team. Record the event in SHDB ask then to get invoice number from excel file and loop the program.
    This will be more faster then LSMW.
    I am giving you BDC code
    report ZBILVF02
           no standard page heading line-size 255.
    include bdcrecx1.
    start-of-selection.
    perform open_group.
    perform bdc_dynpro      using 'SAPMV60A' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-VBELN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'VBRK-VBELN'
                                  '90010310'.
    perform bdc_dynpro      using 'SAPMV60A' '0104'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-FKART'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_transaction using 'VF02'.
    perform close_group.
    Regards
    Vijay

  • Transfer of inforecord condition types through ALE

    Hi,
    I want to know how to transfer Inforecord Condition Types other than PB00 through ALE.For condition type PB00,we can use msg type COND_A & t-code MEK3.Similarly, what are the corresponding values for other condition types like FRA1 etc.
    Thanks,
    Kaveri

    Hi,
    If we are loading the conditions by IDoc type COND_A, we do not give the transaction code, instead we specify the table (like KVEWE = 'A' & KOTABNR = '025' for the Inforecords with plant level conditions), We give the condition records to structure E1KONP with condition PB00 as first condition followed by other conditions ( example RA00, RA01) in sequence as per the condition schema mentioned.
    So you can load the FRA1 condition the same way, just feed the LSMW the condition record FRA1after PB00.
    Hope this helps.
    Best Regards, Murugesh

  • Sales order item details with condition types

    Hi Guys,
    I am uploading the sales order details using DIRECT INPUT method in LSMW, one line item having 5 condition types, but in the item level structure BVBAKPOM, I can able to MAP  only four condition types.
    Is there any way to map more then 4 condition type in the ITEM level structure? Or do we need to loop the item level structure.
    Waiting for your valuable replies
    Thanks,
    Gourisankar.

    Hi Harish,
    INOB table key is CUOBJ, At run time the VBAP-CUOBJ is not generated yet. Its value is now "999999999999990001".
    I guess once the order is created we will get an entry in INOB.
    Do you have any other way with which INOB entry can be selected ?
    Thank You.

  • FM or BAPI to create new condition type / record for material - VK11

    Hi All,
        I need to copy condition records from one material to another material, to do that using the below FM. For the below values even its not raising any exception or creating pricing record. Could any one tell me am i missing any other parameters ?
    Please let me know.
    *& Report  Z_TEST292011
    REPORT  Z_TEST292011.
    data: ls_komg type KOMG,
          ls_komv type komv,
          lt_komv TYPE TABLE OF komv,
          lv_new_record.
    *ls_komg-kunnr = '0001000008'. " Cust number
    ls_komg-matnr = 'A0168L1600100006'. " Mat number
    ls_komg-VKORG = '3101'.
    ls_komg-vtweg = '10'.
    clear: Lt_komv,LS_KOMV.
    ls_komv-kappl = 'V '. " Application V = Sales
    ls_komv-kschl = 'ZR00'. " Condition type
    ls_komv-krech = 'B'. " calculation type; B -Fixed amount
    ls_komv-waers = 'USD'. " Currency
    ls_komv-kpein = '100'.
    ls_komv-kmein = 'EA'. " Unit of measurement
    ls_komv-kbetr = '121.50'. " new condition value
    append ls_komv to lt_komv.
    CALL FUNCTION 'RV_CONDITION_COPY'
      EXPORTING
        application                       = 'V'
        condition_table                   = '005'
        condition_type                    = 'ZR00'
    *    DATE_FROM                         = '20110629'
    *    DATE_TO                           = '99991231'
        ENQUEUE                           = 'X'
    *   I_KOMK                            = ' '
    *   I_KOMP                            = ' '
        key_fields                        = ls_komg
        MAINTAIN_MODE                     = 'A'
        NO_AUTHORITY_CHECK                = 'X'
        NO_FIELD_CHECK                    = 'X'
    *   SELECTION_DATE                    = '00000000'
        KEEP_OLD_RECORDS                  = 'X'
    *   MATERIAL_M                        =
    *   USED_BY_IDOC                      = ' '
    *   I_KONA                            =
        OVERLAP_CONFIRMED                 = 'X'
        NO_DB_UPDATE                      = ' '
    *   USED_BY_RETAIL                    = ' '
    IMPORTING
    *   E_KOMK                            =
    *   E_KOMP                            =
        NEW_RECORD                        = lv_new_record
    *   E_DATAB                           =
    *   E_DATBI                           =
    *   E_PRDAT                           =
      tables
        copy_records                      = lt_komv
    *   COPY_STAFFEL                      =
    *   COPY_RECS_IDOC                    =
    EXCEPTIONS
       ENQUEUE_ON_RECORD                 = 1
       INVALID_APPLICATION               = 2
       INVALID_CONDITION_NUMBER          = 3
       INVALID_CONDITION_TYPE            = 4
       NO_AUTHORITY_EKORG                = 5
       NO_AUTHORITY_KSCHL                = 6
       NO_AUTHORITY_VKORG                = 7
       NO_SELECTION                      = 8
       TABLE_NOT_VALID                   = 9
       NO_MATERIAL_FOR_SETTLEMENT        = 10
       NO_UNIT_FOR_PERIOD_COND           = 11
       NO_UNIT_REFERENCE_MAGNITUDE       = 12
       INVALID_CONDITION_TABLE           = 13
       OTHERS                            = 14
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    break jdonepud.
    call function 'RV_CONDITION_SAVE'.
    call function 'RV_CONDITION_RESET'.

    Hello ,
    why dont you try LSMW -RV14BTCI ?
    regards
    Prabhu

  • PR00 : How to implement this condition type ?

    Hi,
    Please can you give me the steps to implement a Condition Type (condition that we use in Tcode VK11)
    Example of  condition : PR00 (price)
    Please help.
    Regards.

    Transaction Code: VK11 is to maintain Condition Records. Condition record can be maintained for all condition type, except Header and manual condition types.
    Write-up on Pricing procedure configuration:
    Determination of Pricing Procedure:
    In SD, Pricing Procedure is determined (T.Code: OVKK) based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
    Configuration of Pricing Procedure:
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table (T.Code: V/04): If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence (T.Code: V/07): If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type (T.Code: V/06): If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the neccessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure (T.Code: V/08):  It is recommended to copy a similar pricing procedure & make the neccesary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure (T.Code: VOK0): After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    5. Condition record (T.Code: VK11 / VK12): Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc. Condition Record is maintained in T.Code: VK11 / VK12, which are captured in Sales Order & Billing.
    Also check document pricing procedure in Sales Document Type (T.Code: VOV8 - Sales order Type, VOFA: Billing Type (If Required)), customer pricing procedure in Customer Master Data (T.Code: XD02), ... are in place.
    Regards,
    Rajesh Banka

  • How to prevent consecutive entries of same condition type in a sales order

    Hi,
    My client is using manual condition type for the basic price "ZBPR". Now system allowing multiple entry against this condition type in the pricing screen during order creation i.e in the first line if we put Condition Type "ZBPR" and putting some value as amount, then again if I put "ZBPR" as condition type and give some other value as amount then system is allowing this and doing all the subsequent calculation.This is not acceptable by the client.
       The functional person regarding this is saying this can be done by using routine.Can some body tell me which routine should I take for this if that is possible by routine and the required code.Also say if there is other way to solve this.
    Thanks,
    Manas.

    Hi ,
    u can do it thru VOFM(tcode)--->Menu -> Formulas>condition value , but in this case u need to derive the value of this condition type by using ur own logic.
    Re: vofm-routine
    Regards
    prabhu

  • How to restrict duplicate condition type in sales order

    Hi All
    Is there any standard method to restrict user for adding a particular discount condition type more than once in sales order. condition type is manual and its records are also being maitained manually.
    Else would I will have to create userexit at sales order level or a routine in pricing procedure. I doubt on creating a rotuine in pricingprocedure because in pricing procedure there is already a restirction to add similar condition type more than once.
    Thanks

    create a routine and add this routine to the discount condition type only.

  • Creation of New Condition Type

    Hello SAP Folks,
    I have one issue related to pricing. See the case is i have to produce an extra cost in the Sales Order which is actually depended
    upon the net price. This condition type is percentage based and calculation works in the following way:
    Let the new condition type be Z123 and Net price be PR00.
    So for year variation 1-2 year, the condition type Z123 will be 1.5 times of PR00
                                      2-3 year, the condition type Z123 will be 2.0 times of PR00
                                      3-5 year, the condition type Z123 will be 3.0 times of PR00
    Can anyone throw light on how to configure this condition type ???
    Regards,
    Sarthak

    Hi,
    For Z123 Condition type make (V/06)
    Cond. class A Discount or surcharge
    Calculat.type A Percentage
    Plus/minus A Positive
    and all other settings are same as Discount condition Type
    For making Z123 customize an Discont Condition Type (EX:K004,)
    Then while creating the condition record give the percentage as 150% 1-2 yearin valid from and to date,
    give the percentage as 200% 2-3 yearin valid from and to date, give the percentage as 300% 3-4 yearin valid from and to date, and save the record. (VK11)
    In the pricing procedure For step z123 condition type from which you want the % that is step of PR00 should be mentioned in the FROM and TO column.(V/08)
    This will result as per your requirement

  • In import Pricing Proceedure,  Some Condition types added to Material Cost

    HI,
    In Import Pricing procedure, Some condition types (Like Basic Customs Duty,Edu Cess & Hier Edu Cess) are added to material cost. The remaining are not added. What is the configuration to add condition types to Material cost?
    Note -  we have added FR3 account key for all condition types. Then why few condition types are added to material cost and why others are not added to material cost?
    Can any one please help me on this..
    Thanks
    KB

    Assign key "NVV" to those condition types which are to be loaded to material cost.
    Hope this resolves ur problem

  • Condition type freight is not getting displayed in print preview

    Hi,
    I created PO, and while seeing its print preview:
    Condition type freight is not getting displayed.
    Where i missed?
    Uts

    hi,
    Inddition to M/08...(As given above)...
    Also do check the smart form or SAP script...used for the output...check it with the ABAPer...whether the field is liable for o/p or not??
    Smart form is attached at message type of message determination..
    Regards
    Priyanka.P

  • Pricing: New condition type not getting listed in options in product master

    Hi,
    I have created a new pricing procedure and also created a new condition type for it. I am trying to create a condition record in the product master for this  condition type but the condition is not there in the list of conditions. How can I inlcude it in the condition list?
    Even the new condition type I have created by copying 0PR0 is not getting listed in the options, whereas 0PR0 is getting listed.
    Regards,
    Meenakshi
    Edited by: Meenakshi Sawhney on Sep 9, 2010 8:27 AM
    Edited by: Meenakshi Sawhney on Sep 9, 2010 8:29 AM

    Hi Meenakshi,
    you need to enhance the condition maintenance group in the customizing, which is assigned to the product master. Please check: IMG: Customer Relationship Management -> Master Data -> Products -> Special Settings for Sales Operations -> Assign Condition Group to Application CRM and IMG: Customer Relationship Management -> Master Data -> Conditions and Condition Technique -> Condition Technique: Basics -> Create Maintenance Group.
    Best Regards,
    Michael

  • Statistical condition types not getting displayed in invoice

    We  have configured the tax collected at source (TCS) condition types and make them as statistical in the pricing procedure. Now, the issue is when we are using them the values for these condition types are getting calculated correctly as the total value is correct but in the invoice their individual values are not getting displayed.
    In the analysis also we can see that the condition records are found but being statistical condition they should get displayed in the invoice as only the correct total value will not serve the purpose, please help
    Thanks & regards
    Puneet Agrawal

    Hi
    Keep a break-point (hard) in these program lines and debug and see that whether the condition type(KSCHL) related to Taxes is appearing here or not.
    If the condition type for taxes is coming then you can print the taxes.
    First check the related condition type for Taxes in T685 table and see here in the code.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Condition types not getting displayed

    i have uploaded a smartform & copied the standard program(/SMB40/FM06P) of it into my system.the condition type texts & their amounts are getting displayed  for import purchase order(conditions are getting picked from me22n--->conditions) but for domestic invoice  im unable to display condition type texts & their amounts.(these are picked from me22n-->invoice---->taxes).
    in program lines this code exists.
    <FS>   like EKPO.
    <KO>  like  KOMV.
    input parameters            output parameters
    ZXEKKO                        G_KSCHL
    L_NETWR                      G_VTEXT
    <KO>                             G_KWERT
    G_VTEXT                        G_FRAKWERT
    G_FRAKWERT               G_TAX
    G_TOTAL
    <FS>
    G_TAX
    L_KWERT
    CLEAR: g_vtext,g_kwert,l_kwert.
    CHECK NOT <ko>-kwert = <fs>-netwr.
    Get Condition Type Text from table T685T and the value
    SELECT SINGLE vtext INTO g_vtext FROM t685t
    WHERE spras = sy-langu
    AND kschl = <ko>-kschl.
    IF sy-subrc = 0.
    MOVE <ko>-kwert TO g_kwert.
    ENDIF.
    Check document currency
    IF NOT l_netwr IS INITIAL.
    WRITE g_kwert TO l_kwert CURRENCY zxekko-waers.
    ENDIF.
    *Determine if the discount is based on %
    IF g_vtext CS '%' OR
    g_vtext CS 'percentage' OR
    <ko>-kschl = 'SKTO'.
    <ko>-kbetr = <ko>-kbetr / 10.
    MOVE '%' TO <ko>-waers.
    ENDIF.
    Determine Tax
    IF g_vtext CS 'tax'.
    ADD <ko>-kwert TO g_tax.
    CLEAR g_kwert.
    ENDIF.
    Determine Freight Charges
    IF g_vtext CS 'Freight'.
    ADD: <ko>-kwert TO g_frakwert.
    CLEAR g_kwert.
    ENDIF.
    i feel the data is coming from above code only.please suggest where i have to make changes so that it picks data from ME22N->INVOICE--->TAXES which has conditions for domestic purchase order.please help.

    Hi
    Keep a break-point (hard) in these program lines and debug and see that whether the condition type(KSCHL) related to Taxes is appearing here or not.
    If the condition type for taxes is coming then you can print the taxes.
    First check the related condition type for Taxes in T685 table and see here in the code.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • How can I speed up my sluggish MacBook Pro?

    I installed Mavericks last year and my MacBook Pro seems to be getting more and more sluggish, especially with the Adobe Creative Suite. Lately InDesign has been crashing on a regular basis. I used to be able to run several programs simultaneously, b

  • For those who cannot browse all titles in a genre using apple tv

    spoke to apple support. this option has been removed. may be added back with next release of itunes. it is not related to apple tv directly as many had 2.4 update before this issue appeared. case number 13830413 i will in future contact apple support

  • Executing linux command from Java code

    Hi , I have a web application running on JBoss on Linux platform. I need to execut certain shell command of linux through servlet or JSP, so that I can display the command results on UI. If you have done something similer sort of thing then please sh

  • BI general queries

    Hi Experts, I am going to implement a BW system for my customer which will be integrated to existing R/3 4.6C. I have some queries.Can any one please help me? 1. Can BI7.00 be integrated to R/3 4.6C? 2. For BI, I need to have nw usage type AS ABAP, B

  • Very strange EL evaluation problem

    Hi, I have a very strange problem atm. I'm trying the JNDI Resources example on tomcat. My test.jsp page looks like this: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"