KSCHL (condition type) for Purchasing data source?

hi experts,
here is my client requirement.
The Purchasing department needs the possibility to make analysis on Purchasing data. E.g. to support the purchasing department in negotiations with the vendors. They must be able make analysis on
material,
vendor,
quantity invoiced,
quantity received,
values (price) in both document currency and local currency.
The bust be able the see the price  u201CPB00 Gross Priceu201D and all Pricing Elements to the be able to see the real cost of the purchased material e.g. u201CFRC1 Freight/Quantityu201D
through which data source i can get the Quantities and values, and from which table i can get the KSCHL so that i can enhance to my data source.
in sdn i have seen KSCHL from KONV table. if that is the table can you plz specify the data source and logic to meet my requirements.
regards
venuscm
Edited by: venugopal vadlamudi on Nov 11, 2010 5:52 AM
Edited by: venugopal vadlamudi on Nov 11, 2010 10:30 AM

Hi Venugopal,
The Datasource that you need to enhance would definitely be 2LIS_02_ITM.
To fetch the gross price you can use the below mentioned logic:
DATA: l_t_MC02M_0ITM LIKE MC02M_0ITM OCCURS 0 WITH HEADER LINE,
      wa_MC02M_0ITM LIKE LINE OF l_t_MC02M_0ITM,
      tp_KBETR LIKE KONV-KBETR,
      tp_KPOSN LIKE KONV-KPOSN,
      tp_KNUMV LIKE EKKO-KNUMV.
LOOP AT C_T_DATA INTO wa_MC02M_0ITM.
      CLEAR tp_KBETR.
      CLEAR tp_KPOSN.
      CLEAR tp_KNUMV.
      tp_KPOSN = wa_MC02M_0ITM-EBELP.
      SELECT SINGLE
      KNUMV
      INTO tp_KNUMV
      FROM EKKO
      WHERE EBELN EQ wa_MC02M_0ITM-EBELN.
*     Select query to Fetch the Gross Price (KBETR) for a PO
      SELECT SINGLE
      KBETR
      INTO tp_KBETR
      FROM KONV
      WHERE KNUMV EQ tp_KNUMV AND
            KPOSN EQ tp_KPOSN AND
            KSCHL LIKE 'PB%'.
      IF SY-SUBRC EQ 0.
        wa_MC02M_0ITM-YYKBETR = tp_KBETR.
        MODIFY C_T_DATA FROM wa_MC02M_0ITM.
      ENDIF.
  ENDLOOP.
You may still want to check with the functional person for the exact logic.
Regards,
Hemant Khemani

Similar Messages

  • Power View in SharePoint Server - The data extension type for a data source is not valid

    Hi All,
    All of a sudden I am getting following error when trying to create Power View report using shared report data source (no error testing the connection):
    "The current action cannot be completed. The data extension type for a data source
    'http://dev/Shared Ducuments/Sales.rsds' is not valid for this operation"
    I already have a data source (I had created it after creating my site collection a week ago) and when I use this source to create Power View report then there is no error but I am getting above error when I create another similar data source and use it to create
    a Power View report.
    Please help me to resolve the error.
    Thanks

    I am going nuts! I had selected 'Analysis Services' instead of 'Microsoft BI Semantic Model for Power View'

  • Condition Type for Purchase order

    Dear All,
    I have one query about condition type at item detail level in purchase order.
    Please let me know how to disable any condition type for purchase order.
    I have already tried it in, SPRO->Materials Management->Purchasing->Purchase Order->Define Screen Layout at Document Level.
    But not found it there.
    Regards,
    Mahesh Wagh

    Dear Ganti,
    >OMF4 - Materials Management >Purchasing > Purchase Order Processing >Define screen layout at document level
    1.  No such T Code OMF4 found (I ma using ECC 6.0)
    2.  NO Such Customizing Menu path sound in SPRO.
    Pls elaborate......
    Regards,
    Mahesh Wagh

  • EDI1 Condition Types for Purchase Order

    Hi All,
    The vendor sends a price change(855) that can be accepted automatically. The IDoc is updated but the purchase order is not updated with the confirmed price.
    I found the below from SAP Market Place
    Answer:
    Prerequisites for the use of the price update are:
    a) Condition types EDI1 and EDI2 must be maintained in the condition schema.
    b) The price transfer must be activated in the confirmation control key.
    I have configured EDI1 and i can see a different Vendor  Price in  in INBOUND IDOC Seg E1EDP01 -VPREI AND THE 855 is posted the Application and i see the Order Ack on the PO
    T-Code M/06  : Condition Type
    Cond. class   B Prices
    Calculat.type C Quantity
    Cond.category d Confirmed purchase net price/value
    Manual entries      B Automatic entry has priority
    Manual entries      B Automatic entry has priority
    Amount/Percent , Qty Relation ,Item Condition , Deletion check Boxes are Selected
    Question 1 ) Acess Sequence is Blank
                  2)  PricingProc is Blank ( i believe we are using ZM000  PricingProc)
    T -Code  M/08
    Step  90  ( Its the last Step)
    Counter     0     
    Condition Type EDI1     Vendor Price
    Print  = X
    Another  question is
    1) Do i need to do anything at Vendor Level
    After getiing the 855 , if i do an analysis on Pricing ,
    I see  EDI1     207     Condition has been found (without condition record)
    I Don't see the Vendor Price Any where in PO
    I would appreciate if anyone can provide any help
    Thanks
    Venki
    Thanks

    Hi ,
    I'm sorry for the confusion.
    The user creates a PO for an EDI Vendor and the PO is sent out to Vendor Immediately i.e EDI 850 and the Vendor Responds back with an EDI 855 PO Ack back and its posted to the application we get the PO Ack in the Confirmations Tab of PO.
    This works fine.
    But we are try to implement the Price Mis-match .
    Lets say we have Material For $10 as per Material Master and we created a PO with Material and sends out an 850 , but the vendor has increased the price between now and last order from $10 to $12 , and the vendor sends new price $12 in 855 and we are receiving into the IDOC and we want that price to show up in our PO and I believe thats the PURPOSE of EDI1 Pricing Condition.
    I would appreciate if anyone can help me how to Configure the EDI1 Pricing Condition -Its Purely on Purchasing Side
    Hope i'm clear this time
    Thanks

  • BWVORG for Purchasing Data Sources

    Hello,
    I'm trying use the datasource 2LIS_02_ITM but the field BWVORG is comming empty.
    I have already done the following steps:
    1 - Transaction SBIW:
    Settings for Application-Specific DataSources (PI)
       Logistics
          Settings: Purchasing
             Determine Industry Sector
    and choose the industry sector "Standard (Core)".
    2 - Transaction SBIW:
    Settings for Application-Specific DataSources (PI)
       Logistics
          Settings: Purchasing
             Transaction Key Maintenance for SAP BW
    In this setting, for application 02, I have the following values:
    MM     02     0     Other Transaction/Vendor
    MM     02     1     Purchase Order/Vendor
    MM     02     2     Goods Receipt/Vendor
    MM     02     3     Invoice/Vendor
    MM     02     4     Scheduling Agreement/Vendor
    MM     02     5     Returns Order/Vendor
    MM     02     6     Returns/Vendor
    MM     02     7     Credit Memo/Vendor
    MM     02     8     Contract / Vendor
    MM     02     9     Quotation / Vendor
    MM     02     10     Other Transaction/within a CC
    MM     02     11     Purchase Order/Within a CC
    MM     02     12     Goods Receipt/within a CC
    MM     02     14     Sched. Agreemt/within a CC
    MM     02     15     Returns Order/within a CC
    MM     02     16     Returns/within a CC
    MM     02     20     Other Transaction/Cross-CC
    MM     02     21     Purchase Order/Cross-CC
    MM     02     22     Goods Receipt/Cross-CC
    MM     02     23     Invoice/Cross-CC
    MM     02     24     Sched. Agreemt/Cross-CC
    MM     02     25     Returns Order/Cross-CC
    MM     02     26     Returns/Cross-CC
    MM     02     27     Credit Memo/Cross-CC
    MM     02     28     Contract / Cross-CC
    MM     02     40     Inquiry / Vendor
    MM     02     41     Return Delivery Sched./ Vendor
    MM     02     51     Return Deliv. Sched./ Internal CC
    MM     02     61     Returns - Scheduling Agreement/Cross Company Code
    3 - Transaction SBIW:
    Settings for Application-Specific DataSources (PI)
       Logistics
          Managing Extract Structures
             Filling in the Setup Table
                Application-Specific Setup of Statistical Data
                   Perform setup - Purchasing
    After this steps I tryed an extraction by RSA3 Tcode but the field BWVORG came empty.
    I have already changed the Industry Sector to "Retail" and to "CP Industry" and after step 3 again but the field BWVORG still comming empty.
    Thanks,
    Paulo

    Hi Paulo,
    Please check whether the check box of BW is selected or not in BF11. If not checked please select the checkbox for 'BW' and try again.
    After selecting the check box, you need to delete and load the setup tables to see the changes in RSA3.
    Thanks & Regards,
    Dinakar

  • How can i get different Condition Type for third-party Purchase Order?

    Hi, experts,
    for standard PO my Schema works well. now I want to get a different condition type for third-party purchase order. I try to extend field catalog (Pricing Purchasing). The Field PSTYP exists already. However, it is not provided in the field catalog.
    How could i do?
    Thanks
    Rene

    Hi Rene,
      If you are seeing fields in the field catalog but are not seeing this field when creating the condition table then the field  probably does not exist in the KOMG structure for allowed fields for condition structures. KOMG  represents the total of KOMK and KOMP which are the pricing communication structures. If your field is not there then you need to append it to item data in INCLUDE KOMPAZ in KOMP since this is an item level field. If it were a header level field you would append it to include KOMKAZ in KOMK.  The inclusion of new fields in KOMK or KOMP automatically means that they are also included in KOMG.
    After doing this you will see the field when creating a table. There is further documentation on this process in the IMG under SPRO-> Materials Management-> Purchasing-> Conditions-> Define Price determination Process -> System Enhancements  - View the documentation associated to this node in the IMG
    Hope this helps,
    Matt

  • Condition types for capital purchase

    Dear All,
    we have a capital purchase process for which JCI1 & JCI2 conditions are created for 1st year and 2nd year similarly we have condition type for ECESS JCC1 & JCC2 but i need SHECESS conditon types for the same
    please help
    Regards

    Hi,
    You maintain your material in J1ID as a Capital goods insted of Raw material than the functionality of your requirement will be fullfilled.

  • Reg.Output type for purchase order

    Dear Sir
    I followed your steps but not come to "List of allowed output"
    when I select the message for Purchase order(ME21N). There are listing NEU,SPO,MAHN  and AUFB.
    I just copy the NEU and all,I did not change anything.
    Maintain Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Ex:
    EF---> TES
    Select “TES” and double click on “Mail title and texts” and go to
    EN- New Purchase Order Print Out,
    Select “TES” again and double click on “Processing routines,
    Select “TES” again and double click on “Partner Roles
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO(ME21N) and save it. Go to ME22N and print the PO by giving output type TES.
    Please help me sir
    Rajj

    Hi
    Go to NACE
    Select application as EF Purchase Order
    Define TES as out put type there
    Vishal...

  • MM-PUR default scales for condition types for service (ME31K

    Hi,
    We have faced the following problem:
    The business case was, to have default scales for certain condition types for a service for a purchasing contract.
    We didn't find it in SAP, so we wrote an OSS. SAP answered that it's not possible now, nor in the future.
    So we decided to look around in SAP, and found out that it was half possible.
    I've abused the exit USEREXIT_XKOMV_BEWERTEN_INIT of program RV61AFZB.
    In this exit I provide the internal table staffel for program SAPMV13A with the correct information (via ASSIGN ('(SAPMV13A)STAFFEL[]') to <staffel>.)
    In this way, if a user adds a service, this exit will get reached and the scales are filled. If the user then clicks on conditions and then double clicks the condition type with the scales, all the default scales are shown to the user. If you then click on save, the next screen is the service screen, if you then click on save again, all the date is stored in the database. (bit of a work around, but this works)
    However, I can't figure out how to save the scales data, when you only add a service and then push the save button without viewing the conditions. Quite logically actually because I'm skipping two whole screens with pbo and pai modules, in these modules internal converting takes place.
    Has anyone encountered this problem before and how did you solve it then ?
    Alternatively what is the SAP standard way to add pricing condition scales on condition types of a service of a purchasing contract? As you know there is no BAPI yet to change/create a purchasing contract.
    I was thinking, to add the scales by updating the tables directly via ABAP, I know that's not a clean way to do it, although it isn't too risky.
    Kind regards, Rob Dielemans

    Dear Rob,
    Is this solution properly working for you?
    I think my problem is similar: purchasing outline agreement (contract) refuses to apply relevant scale prices in the item line. Always uses the first price - without considering order quantity depencies.
    Regards,
    Tamás
    Edited by: Tamas Szabo on Mar 31, 2009 3:50 PM

  • Condition types for Material

    Hi,
    I have got a scenario where the customer is going to maintain "Z" condition types for a material(1 for sales price and 1 for purchase price). I can read the correct price for this material at the Sales Order maintenance and PO maintenance using some standard function modules
    SALES_CONDITION_READ/ME_PO_PRICE_SIMULATION.
    as these condition types are maintained in the pricing schema and hence are returned in the correctly.
    I have problem when I try to read the purchasing price for this condition type(material) while creating the sales order. Here I have only the material information to read the price. Can anybody suggest how I can read the correct purchase price while creating the sales order.
    Thanks in advance.
    Best Regards
    Malthi

    HI Malthi
    I would recommend you use BAPI: <b>BAPI_SALESORDER_SIMULATE</b>. This will give you the conditions how the sales order is going to look when itz created.
    This BAPI is mainly used for:
    1. Checking ATP Qunatities
    2. Conditions/Prices
    Hope this helps.
    Kind Regards
    Eswar

  • Not possible to determine a condition type for the price in ME49

    Hi,
    While saving the price in ME49 i.e. comparision of Quotation i am getting below error:
    Not possible to determine a condition type for the price
    Message no. 06657
    Diagnosis
    When it attempted to generate the time-dependent conditions for the price you entered, the system was unable to determine a condition type. Price determination is therefore not possible.
    Procedure
    Contact your system administrator.
    The latter can maintain the calculation schema assigned to the purchasing document using the Implementation Guide (IMG).
    Utsav

    Hi Utsav,
    You can refer to the following link. it might be useful to you
    RFQ price
    Thanks
    Nisha

  • Condition types for import pricing

    hi,
         the conditions types for import pricing procedure are not appearing.
    please suggest all the notes from where i can take reference and create the condition types for import process.
    please also suggest what are they?
    with regards

    Hi anitha,
    In case of import purchase. u have to configure the conditions in pricing procedure.  The condition types are as follows:
    1)jcdb               basic customs
    2)jcv1               CVD
    3) jec1               ECS on CVD
    4)jed1              cess on customs
    5) j1cv                secess on cvd
    6) jsdb               secess on customs
    Go to the master note no 1032295 for recent budget changes.
    award points if found useful
    chintu

  • Condition types for Insurance and Duties - Export sales

    Hi Friends,
    Please let me know the condition types i can make use of for capturing the Insurance and duties paid during export salesand also the condition type for capturing the commission.
    Thanks
    Ivy

    Dear ivy
    You can create zee condition types on your own and maintain the required datas.  I am just give you one example for insurance.
    Go to V/06, copy some standard discount condition type and rename it as ZEIN and maintain the following:-
    Cond. class:::::::::::::::: A
    Calculat.type::::::::::::::: A
    Cond.category::::::::::::::C
    Rounding rule::::::::::::::::Commercial
    Plus/minus::::::::::::::::::::blank
    Manual entries:::::::::::::::D
    Amount/percent::::::::::::::X
    Value::::::::::::::::::::::::::::X
    In V/07, you can maintain the following tables
    033:::::::::Incoterms
    307::::::::Customer with Release Status
    So in VK11, either you can maintain the insurance percentage for Incoterm or Customer, so that whenever you generate sales order with multiple line items, this condition will automatically bifurcate the insurance percentage.  Also the most important is that in your pricing procedure, against this condition type, you have to assign EIN as Account Key.
    thanks
    G. Lakshmipathi

  • Condition type for landing and clearing charges for imports

    All SAP Gurus,
    Which standard condition type to be for Condition type for landing and clearing charges for imports?
    Regards,

    If both Condition types are Quantity basis then you can Create New Condition types by Referring FRA1 & FRC1 Condition types.
    Else Create New Condition types called ZCCH for Clearing Charges by giving the Following inputs:
    Condition class A
    Calculation Type A
    Condition Category B
    Plus/Minus A
    Also in Control data Check Accruals option and in Scales tab give Scale Value as 2 if want.
    Create New Condition types called ZLNC for Landing Charges by giving the Following inputs:
    Condition class A
    Calculation Type A
    Plus/Minus A
    Uncheck Accruals options and save.
    Regards,
    Ashok

  • Condition type for fee - no change of moving price or balance sheet account

    Hi, hope you can help me.
    We need a new condition type for a kind of fee which has to be paid to the vendor and used in the purchase order.
    This is a condition type which
    - has to be part of the invoice
    - has to be posted as a kind of accrual
    - must not! change the price of the material or the balance sheet account
    If we use freight conditions the moving price is changed.
    Because it is dependent on the material (and therefore a condition record works great) we can't or better don't want to use a second position in the purchase order.
    Does anybody have a solution for this one?
    PC

    Thanks for the answer!
    This is what I already tried, but it still changes the balance sheet account and the moving average price.
    This is what I customized:
    Condition ZXYZ
      Cond. class   A
      Calculat.type C
      Cond.category B
      Item condition yes, delelte, amount/percent and Qte relation yes
      Scale base C
      Accruals yes
    In the Calculation Schema it's defined just before the Actual Price, with Statistical-checkbox marked and Account key ZE1, Account key - accruals / provisions ZE2.
    Do you have any idea what I have to change or what else to try?
    Thanks a lot!

Maybe you are looking for

  • Problem with Change Document FM  - Not all fields are tracked in CDPOS

    Hello everybody, Using transaction SCDO and following necessary steps described in forum, I have created a change document ZFBR to track changes of a table ZFBR. The problem is, the generated FM ZFBR_WRITE_DOCUMENT does not track changes of some fiel

  • Doubt in using :Function Module : MS_CONVERT_TO_OTHER_CURRENCY

    Hi ,. In the Function Module :MS_CONVERT_TO_OTHER_CURRENCY. I have to export following parametes: DATE             FROM_CURRENCY    FROM_AMOUNT      TO_CURRENCY      COMPANY_CURRENCY RATE  (optional)    . Here my doubt is :what is the purpose of COMP

  • Sap-script pdf  transfer

    hi experts, how to convert sap-script to PDF format? and where we get option to print script directly. thanks in advance.

  • Which version of Snow Leopard to buy for a clean, non-upgrade installation?

    I have a MacBook Pro 13"3, Mid 2009, I am the second owner. The computer was originally bought with OS X Leopard and later upgraded to Snow Leopard. The previous owner does not have any installation discs, so I have to start from scratch. My question

  • Extracting Backups Sets from ASM with RMAN (10g)

    If I backup my database to my flash recovery area in ASM using RMAN, can I then extract those backup sets from ASM and turn them into normal file system files? I think I read that you can do this but I just wanted to be sure. I don't need super detai