FM for item condition values in RFQ

Hi,
     I have a RFQ number. now the i want a function module which will return me the item condition values ( eg freight,gross price etc).
     i have gone through a FM named 'PRICING' but thats not helping me
      any help

Hi,
     I have a RFQ number. now the i want a function module which will return me the item condition values ( eg freight,gross price etc).
     i have gone through a FM named 'PRICING' but thats not helping me
      any help

Similar Messages

  • ABAP code in to JAVA for overwritting condition value for IPC pricing

    Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
    Here is the ABAPcode segment i am trying to transulate
      DATA: l_kdkg1  LIKE komk-kdkg1,
            l_work TYPE f,
            l_umren LIKE marm-umren,
            l_umrez LIKE marm-umrez.
      SELECT SINGLE peinh FROM mbew INTO mbew-peinh         
      WHERE matnr = komp-matnr
      AND bwkey = komp-werks.
      I need some  help in the following things
      1. I don't know how to transulate the following Line of ABAP code into JAVA
         " AND bwkey = komp-werks."
    Bwkey stands for plant details. I don't know how to get plant details from  Pricing Item.
      2. Someone please tell me weather the following JAVA transulation is correct
      Vector x = prItem.getUserExitConditions();
      db database = pricingEngine.getDatabase();
         // set table name
      String tableStart = "mbew";                                             
         // set query parameters
      sys_query_pair[] queryPair = null;
      //matnr = komp-matnr . Getting the material Number
      String materialNo= prItem.getProduct().toString();
      //bwkey = komp-werks.Getting plant.
      // TODO: werks stands for plant. Not sure how to get it from prItem
       String plant = "";
       queryPair = new sys_query_pair[2];                    
       queryPair[0] = new sys_query_pair("matnr", materialNo);
       queryPair[1] = new sys_query_pair("bwkey", plant);
      // set query columns
       String ZZFIELDStart = "peinh";
       String ZZFIELD_VALUEStart;                   
       String[] projectionStart;
       projectionStart = new String[];
       BigDecimal pricingUnit = null;
       try{     
          // execute query
          res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
          if (!res.db_empty_results_p(resultSetStart))
         ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
         pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
         resultSetStart.db_finish();
       else
         System.out.println("Coudn't find a value of field peinh in table mbew!");
       catch (exc_database_error e)
         e.printStackTrace();

    Please login to the server where IPC is installed. In the IPC folder u find libs folder  or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to  user exits in java coding
    Thanks
    Surya

  • Change the Purchase Order : Item - Conditions value

    Hi,
    How to change the Purchase Order : Item - Conditions value.
    In my PO, Item conditions shows the SKTO - Cash Discount value is 0. I want to change the Discount value 10.
    How can i change it??

    Hi,
    Goto the Transaction code MN05 and give the CONDITION TYPE SKTO and change the value
    MN05 is the Transaction code for Purchase order  condition types.
    Please check and revert back if you need more details.
    regards,
    santosh

  • Validity periods for Item Conditions - Purchasing Agreements

    hi,
    For Agreements (Purchasing) we are looking for creating  multiple validity periods for item conditions. We cannot use BTCI for transaction ME31K as it does not allow to create multiple validity periods at one time!
    Are there any BAPIs for the same? Is there any other way??
    Thanks in advance.
    regards,
    NB

    Hi
    Working with eCATT (Extended Computer Aided Test Tool)
    Try this.
    http://www.erpgenie.com/ecatt/
    Thanks
    Ashok

  • Exclusion item condition value for header condition

    Dear All,
    I explained my problem with example scenerio.
    Sales Order Total Net Amount = 1.500 EUR
    SO Item-10 = Advance Payment Sales = 500 EUR >> for first invoice
    SO Item-20 = Sales from stock with HAWA material - 1 = 300 EUR  >> for second invoice
    SO Item-30 = Sales from stock with HAWA material - 2 = 1.200 EUR >> for second invoice
    SO Header condition > ZAP1 = Advance payment decrease = - 500 EUR
    System divided Advance Payment amount to all items.
    Item-10 = - 125 EUR
    Item-20 = -   75 EUR
    Item-30 =  -300 EUR
    My request is on below;
    Item-10 =      0 EUR
    Item-20 = - 100 EUR
    Item-30 = - 400 EUR
    Is calculation possible with zero value for item-10 ?
    Thanks for your helps.
    Gulay Celik

    Hi Gulay
    System cant divide the advance payment to all items ,System can divide the advance payment for one item  .
    But assign a billing plan at header level and just check , if it works then your requirement can be fulfilled.But generally it is done at item level only 
                            Make the following down payment configurations
    item category group - 0005
    item category - TAO
    for this TAO item category a billing plan 01 (milestone billing plan -01) will be assigned and its billing relevance should be I which is order related billing .
    billing doc type - FAZ
    cancellation billing doc type - FAS
    maintain a condition type AZWR which is down payment settlement , it has requirement as 2 and calc type as 48 acct key as ERL
    Now when you enter a material in line item 10 and go to item data , you can see the billing plan tab.
    now go to billing plan tab and enter the start date and enter the dates on which billing has to be done and then in billing request enter 0009 which is for down payment.once u press enter automatically it all the dates get blocked and billing request by default you get as 1 , that you change it to 4 or 5 . 4 is for down payment at value basis and 5 is for down payment at percentage basis. and beside that there will be a billing type .assign billing doc type as FAZ. to all dates
    check the copying requirements are there at VTFA as 20 and for item category TAO copying requirements 23 is maintained or not
    now do the cycle OR - LF - FAZ (billing doc type)
    Regards
    Srinath

  • Extracting Purchase doucument Item condition value (Urgent)

    Hi Gurus,
    Currently, I am extracting purchase order item level data using 2lis_02_itm DS in which the extract structure is modified with fields which are fetching data from Condition Type (KSCHL), Condition Value (KWERT), etc., field at run time for which code is written in CMOD.
    Now, user requirement is some what like this: they maintain KWERT for one of the condition type after a week/a month or 2 months (not fixed) of PO creation date.
    Problem: In current extraction the data is comming for all the values changed or records added at item level (like material number, quantity, value, net value, etc.) but its not extracting the change in Condition Value (KWERT).
    <b>Please explain why?</b>
    Also, I tried to create a view based on the tables EKKO, EKPO and KONV but since KONV is pool table it's not allowing to create one.
    Tried to create function module by changing standard function module RSAX_BIW_GET_DATA_SIMPLE_1 and passing an custom extract structure created with only few (required) fields. The problem with this one is that in OPEN CURSOR ..... area when I am trying to write select statement which contains INTO clause, its giving error while checking where as query is working when tested as a report output.
    <b>Also, pls. let me know weather any provision is available on extraction of Condition data for each item in a PO is available in SAP's standard DS or BC. The one like they have condition level DS for application area SD.</b>
    for any further details pls. let me know.
    Thank You in advance.
    Points will be awarded to satisfying answer.
    Regards,<b></b><b></b>

    Good afternoon Joshi,
    It is unfortunnatelly very normal that the changes of the conditions are not loaded into BI... When you enhanced a DS, all the fields you add are simply calculated for each line that are in the delta queue. Here the change of a condition is not recognize as a change for BI, so no record is created in the delta queue so you extra fields are not calculated...
    The simplest way to check on which field a change is triggering a record in the delta queue is to check the fields in the extract structure in transaction LBWE for your datasource.
    One solution might be to assign one of the sub-totals to that condition (if you already use the 6 available sub-totals I remember that there was a way to create some extra ones...)
    If this does not work, to extract data from a pool table, you can always create in infoset query in transaction SQ01. To my knowledge there is no BC datasource  for PO condition.
    hope it helps,
    Rodolphe
    I do not think

  • Athorization for item conditions

    is there a possibility to make ristrictions to the item conditions?
    when I run VA01 I can click on the button "item conditions". And there the user can now make chagnes like PB00 or ZSMX.
    The question is now, how can I make the restriction on PB00 that not everyone  can run this price conditions?
    thx 4 your help
    markus

    Hi Markus,
    It can not be so. Have you checked that you have removed the this object from all the roles assigned to that particular user?
    Check for the roles containing this object in trasaction code SUIM and check the values in the role which contains this user ID.
    ( Don't forget to save the changes & generate the profile.)
    Please confirm if solved.
    Cheers.
    Shamish

  • Looking for document condition value

    Hi All,
    I have order from transaction jha3x and i am looking for document condition of that order so that i'll get condition value from table KONV....so can anyone please tell me where i'll find this document condition value from order number.
    Thanks.

    Hi,
    I searched the the tcode in google but it's not a tcode in ECC, but in Media Industry solution.
    JHA3X - Display IS Media Order
    This is really new for us. Can you try the following?
    0ME_ISM_SD_ORD_ITEX               IS-M/SD: Subscription Order Item
    I haven't found a IS-M DataSource that contains condition data. Maybe you have to append structure and enhance.
    Maybe you need to first activate it in RSA5 and then test in RSA3.
    At last, all order related DataSource are here, for your reference:
    0ME_ISM_SD_ORDST_1                IS-M/SD: Orders on Hand on Key Date
    0ME_ISM_SD_ORDTR                  IS-M/SD Transactions Affecting Live Subscriptions
    0ME_ISM_SD_ORD_ACC                IS-M/SD: Liability Account
    0ME_ISM_SD_ORD_ADDR               IS-M/SD: Address Data for Subscription Order
    0ME_ISM_SD_ORD_ITEM               IS-M/SD: Subscription Order Data
    0ME_ISM_SD_ORD_ITEX               IS-M/SD: Subscription Order Item
    0ME_ISM_SD_ORD_PROM               IS-M/SD: Subscription Promotion Data
    0ME_ISM_SD_ORD_REM                IS-M/SD: Renewal Payment
    Regards,
    Frank

  • CURRENT_ITEM_NAME for item conditions

    Say I have a page with well-defined item names like Px_ITEMy where y is a integer from 1 to say 25. I have a application item value as 25 1s and 0s that indicate whether that item is to be displayed on the page.
    In a case like this, it would be very useful and provide for better maintenance if the Item Conditional display attribute were to recognize the context of the current item (like item labels do with the CURRENT_ITEM_NAME substitution) so that all the item conditions could use the same PL/SQL expression instead of hardcoding the "y" in each expression. Sort of like the "this" object in Javascript.
    Or is there another way to achieve the same result using the Apex dictionary?
    Thanks

    Bump. Thanks

  • Different execution plan for same query but for different condition value

    Hi All,
    I'm facing a strange situation where same query for different condition not working.
    1--
    Select  top 10 * from revenuefact(nolock) 
    where feecode ='OW4'
    2--
    Select  top 10 * from revenuefact(nolock)
    where feecode ='BTE'
    1st query is returning result easily but 2nd query is taking too long. Column
    feecode has already Non-clustered index and Clustered index is also available for another col RevenueSID.
    I was surprised when checked the query execution plan for both the above queries  which is quite different (as per attached below). Can anyone suggest me the reason behind it.
    And solution for the same. One more thing that data for feecode BTE is inserting through different source instead of others feecode and table contains more than 300 million rows.

    When I speak with people inside Microsoft who work with the optimizer, the refuse to accept the work "bug" when a query produces the correct result, but with a suboptimal plan. They prefer to use the word "limitation".
    The limitation here is that when the optimizer compares two plans, it only looks at the estimated cost. As far as I know, it does not perform any analysis from the perspective "what if the statistics are wrong"? They do provide the hint OPTIMIZE
    FOR UNKNOWN, but that does not work then there is a constant as in this case.
    The optimizer will surely distinguish between TOP 10 and TOP 10000000. With the latter, you have all reason to expect a Clustered Index Scan no matter which value you search for - unless you pick a value for which the histogram indicates that there are no
    rows.
    Interesting enough, I was able to reproduce the situation in my Northgale database, which is an inflated version of Northwind, and where statistics should be accurate.
    SELECT TOP 10 * FROM Orders WHERE EmployeeID = 8
    results in a CI scan, and so does also EmployeeID = 7, and even 5. There are only 2292 rows out of a total of 344305 rows. If I try EmployeeID 808 for which there are 1797, the optimizer goes for the index seek.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Billing Plan Item - Condition Value 0

    Dear Experts,
    I'm creating a Service Contract.
    1.Pricing Procedure is Determine
    2.Billing Plan at item level is determining saying billing trigger once in a month.
    3.Maintained Item Price as 1200 USD in maintain conditions of product.
    The problem:
    When check the billing plan item value it is showing '0.00' instead of '1200 USD', Can you kindly advise me why the condition type is not determining.
    Note:
    I used Standard Item Cat no Z.
    Best Regards,
    Srujan

    Please use function module RV_PRICE_PRINT_ITEM
    Pseudo code :
    IF komk-knumv NE vbdkr-knumv.
        CLEAR komk.
        komk-mandt = sy-mandt.
        komk-kalsm = vbdkr-kalsm.
        komk-fkart = vbdkr-fkart.
        komk-kappl = pr_kappl.
        IF vbdkr-kappl NE space.
          komk-kappl = vbdkr-kappl.
        ENDIF.
        komk-waerk = vbdkr-waerk.
        komk-knumv = vbdkr-knumv.
        komk-vbtyp = vbdkr-vbtyp.
        komk-bukrs = vbdkr-bukrs.
        komk-land1 = vbdkr-lland.
        komk-vkorg = vbdkr-vkorg.
        komk-vtweg = vbdkr-vtweg.
        komk-spart = vbdkr-spart.
        komk-hwaer = vbdkr-waers.
        komk-prsdt = vbdkr-erdat.
        komk-kurst = vbdkr-kurst.
        komk-kurrf = vbdkr-kurrf.
        komk-kurrf_dat = vbdkr-kurrf_dat.
      ENDIF.
      komp-kposn = vbdpr-posnr.
      komp-kursk = vbdpr-kursk.
      komp-kursk_dat = vbdpr-kursk_dat.
      IF vbdkr-vbtyp CA 'HKNOT6'.
        IF  vbdpr-shkzg CA ' A'.
          komp-shkzg = 'X'.
        ENDIF.
      ELSE.
        IF  vbdpr-shkzg CA 'BX'.
          komp-shkzg = 'X'.
        ENDIF.
      ENDIF.
    CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
        EXPORTING
          comm_head_i = komk
          comm_item_i = komp
          language    = nast-spras
        IMPORTING
          comm_head_e = komk
          comm_item_e = komp
        TABLES
          tkomv       = tkomv
          tkomvd      = tkomvd.
    The tables TKOMVD contains the item pricing condiitons

  • Table name for storing condition value determined for Transactions

    Hi,
    For a routine that we need to write for pricing procedure, we need to pick up the value of the condition record that gets determined in any order.
    We were not able to find this table name.
    Any pointers?
    regards,
    Jaya

    >
    Jaya Nigam wrote:
    > Hi,
    > For a routine that we need to write for pricing procedure, we need to pick up the value of the condition record that gets determined in any order.
    >
    > We were not able to find this table name.
    > Any pointers?
    > regards,
    > Jaya
    Hi Jaya,
    It will be really helpful if you tell the business requirement.
    However you can use the following code snippet to loop the conditions.Hope this helps.
    IPricingItemUserExit prItem
    used in method calling as an parameter
    java.util.Vector conditions =prItem.getConditionsWithoutInvisible();
    for (int i = 0; i < conditions.size(); i++)
    IPricingConditionUserExit cond =
                                       (IPricingConditionUserExit) conditions.get(i);
    Warm Regards,
    Sumit

  • Modify MVGR4 in formula for condition value

    Hello everyone,
    I want to modify komp-mvgr4 in a formula for condition value. Changes in komp structure are not saved, any idea which field I have to modify?
    Many thanks!
    Andreas

    Sure. I have a new formula for a condition value which checks a lot of things to calculate the condition value. The result can also be zero. In all other cases than zero, I want to set an additional flag on the position to show that the condition is used. For this I choosed the material group 4. Now I have to modify the materialgroup 4 MVGR4 in the formula, if I change komp-mvgr4 is does not save the changes...
    Andreas

  • How do invoice condition values hit accounting?

    Hello,
    I am picking up the billing item condition values from KWERT and the corresponding GL Account SAKN1 from the KONV tabke. KWERT gets stored with the sign. I need to know how this condition amount will hit accounting. Would it be a debit or a credit entry on the accounting side. How can I do this? I cannot use the debit/credit indicator BSEG-SHKZG as we have a summarization on the material and we are trying to re-determine in a custom code what amounts should have posted to BSEG by material. While I am getting the amounts correctly from KONV, I am not able to figure out how these amounts should be treated on the accoutning side - as a debit or a credit?
    Example, on a regular invoice if the value is positive for a G/L account, on the accounting side the value is reverse in sign. However, this cannot be generalized as we can have many different types of invoices and different combinations.
    Thanks,
    Prayarna

    Hi,
    The values from billing for different condtions pick accouting documents for the GL's that are assigned as per the required combinations set in VKOA transaction. We do the revenue account det here. Now the values on invoice with + ve are the ones we are going to receive from the customer, so the customer account is debited and you see a negative sign. A discount is in negative on invoice which goes positive to the customer and hence positive sign. Freight goes to a Freght revenue GL since it cannot really be accouted as revenue as we end up paying the transporter though we collect from customer.
    you may need a functional consultant if you are already not one.
    regards
    sadhu kishore

  • Change history (for perticular condition type) in scheduling agreement

    All SAP Gurus,
    We have a scheduling agreement, in which certain condition (condition type for freight condition) value have changed several times.
    Where we can find the changes in the value of this condition type?
    Regards,

    Hi Rajan,
    You should be able to see in
    Item -- Statistics -- Changes. You can find that line item wise.

Maybe you are looking for

  • Connecting HP 2311x display to new macbook pro Retina - no output on external screen

    I have a brand new MacBook Pro 15 in. with Retina display.  I also have a HP 2311x monitor.  When I plug in the HDMI cable, the external monitor says "check video cable" and the preferences "arrangement" thinks there is a display - even recognizes th

  • Need advice on Repairing Disk Permissions...

    I need some input from those who know how to Repair Disk Permissions (under Disk Utility, for those who don't know). Basically, I lost a TON of my Access and Privileges on my G4 recently--which I really only noticed after iTunes would no longer let m

  • Problems capturing some DV tapes

    I am capturing lots of mini DV tapes and some High 8 tapes directly from the camera using Firewire. Over half the tapes go in fine and maybe 30-40% of the tapes stop at some point and say something about dropped frames and something about audio may n

  • No DHCP on Intel iMac

    I'm setting up our new Intel iMac, and on first attempt to get online I found I was not connected to the internet. Ethernet is connected and on, the Network system pref confirms, but it is self-assigning its IP. Local networking (via Bonjour) works f

  • How to add my html title tag and html meta name and meta keywords

    how to add my html title tag and html meta name and meta keywords in iweb 09