How netprice will be calculated in bapi_salesordr_createfromdat2

hi,
i want to know how the bapi(salesorder_createfromdat2)will calculating netprice.
<b></b><i>can i get material netprice(not standerdprice)with help of material,salesarea,customerNo,if it is possible tell FM names (remote enabled)</i><u></u>
regards
Guru

then u have to understand total SAP Pricing procedure , how sap calculating netprice of material.
ex. MRP = 10,
    discount = 2
   netprice  = 8.
regards
prabhu

Similar Messages

  • How to use the Calculated attibute in view object

    Hi,
    I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
    After the page gets loaded, there is a search section in the same page at the top.
    Here i will have to build the whereclause to the same query and retrieve the values.
    i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
    Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
    SELECT /*+ first_rows(10) */
    BatchCntl.FILE_CNTL_ID,
    CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
    THEN
    CASE eeh.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE eeh.TRAN_CODE
    END
    ELSE
    CASE Entry.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE Entry.TRAN_CODE
    END
    END AS TRANCODE,
    FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
    WHERE (BatchCntl.BATCH_TYPE = 'E')
    AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
    AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
    and Entry.fi_rt = eeh.fi_rt (+)
    and Entry.entry_id = eeh.entry_id (+)
    AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
    ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
    regards
    Raj.

    Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
      public void doSomething(int i, String s) {
      }and you exposed this AM custom method using the AM editor.
    BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
    package com.yourcompany.someapp.services.common;
    import oracle.jbo.ApplicationModule;
    public interface MyService extends ApplicationModule {
      public void doSomething(int i, String s);
    }To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
    import com.yourcompany.someapp.services.common.MyService;
      MyService mySvc = (MyService)yourAM;
      mySvc.doSomething(1,"foo");

  • How is delivery date calculated

    How can anyone please explain how delivery date is calculated using forward and backward scheduling
    I want to have it broken down into the following steps
    for eg for delivery date calculation following dates are used
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Can some one please give me an example and explain wht these dates are
    for eg customer needs delivery date on  11/20/2008
    how would the system cacluate whether it can meet the delivery date using backward scheduling
    and if it doesnt meet how does the system do the forward scheduling
    also i am not clear with the following dates
    material avaialibilty date
    material staging date
    transportation date
    can some one please explain me all this in detail
    Also i have another question at the sales order creation when is shipping point and route determined
    coz based on the ATP check only material avaialabilty date is determined and if we have a bacjground job running every 1 hours for atp then immediately when we create a sales order is a route and shipping point determined (just before we save the sales order)
    Let me be more clear
    Suppose customer representative recevies a order on the phone
    he enters sold to party, ship to party ,PO number,delivery date and material number and then hits enter
    so at tht time the shipping point and route is determined ?
    also when an atp check runs and if the delivery date is not met then the system will propose a new delivery date but if we have a different route configured say for eg overnight so we can meet the delivery date and we want to change this route to overnight what must we do?
    should we change the shipping condition in the header?
    I am not very sure about the process can you please also explain me this in detail?
    Thanks

    Hi there,
    When a sales order is logged & the user enters the requested delivery date, system 1st does the backward scheduling date. Pla note that the factory calender mentioned in the shipping point & route plays a crutial role in defining the working days & confirmed delivery date.
    For eg:  Customer has raised an order on 11/15 & requests delivery on 11/20/2008.
    the following times are important in delivery scheduling.
    Transit time: maintained in route
    Loading time maintained in the shipping point
    Transportation planing time maintained in the transportation planning point.
    pick pack time maintained in the shipping point.
    Material availability time maintained in MM02 --> MRP screens. This is the time that the material can be manufactured (for inhouse producted items) or external processing time (for externallly procured materials like TAS items).
    From the requested delivery date 11/20 system does the backward scheduling & determines the following dates:
    Goods issue date, loading date, pick pack date, transportation planning date & material availability date.
    Time between:
    goods issue date - reqested delivery date: transit time
    Goods issue date - loading date: loading time
    transportation planning date - pick pack date: picking pack time
    Material availability date - transportation date: transportation planning time.
    Consider that the factory calender has all days of the week as working dates (to make it simple to explain). Also transit time is 3 days, loading time is 1 day,pick pack time is 1 day, material availability time is 3 days.
    From 11/20 ussing backward scheduling system determines the following dates:
    Goods issue date: 11/17
    Loading date: 11/16
    Pick pack date: 11/15
    System will check if material is available on the 11/15 to start pick / pack. If it is available then system will confirm the reqested delivery date. Else it will check when the material is available. For eg basing on the MRP settings mnaterial is available only on 11/18. So from 18th system does forward scheduling & redetermines all the dates. So pick / pack date is 11/18. Loading date is 11/19, goods issue date is 11/20 & possible delivery date is 11/23. So system will confirm the delivery date on 11/23. This is when complete delivery is required. If partial delivery is allowed, then system will check how much quantity is available on 11/15. Accordingly it will give 2 delivery dates.
    In the above example include teh factory calender which will have 5 day week with Fri & Sat as holidays. Accordingly dates will change.
    Here replenishment lead time also plays an imp role. Pls refer http://help.sap.com/erp2005_ehp_03/helpdata/EN/6b/2785347860ea35e10000009b38f83b/frameset.htm for further information
    Regards,
    Sivanand

  • How to handel this calculation in BI for the Mod. Production Planning ????

    Hi All,
    I have a scenario like this :
    Look into the follwing Data.
    PLANT |    RUNDATE|    WORK_CENTER|   SHIFT|  PRODUCT_TYPE|    ALLOWED_TIME|   LINEHOUR1  
    1010--10/01/2007D0001A400--
    0.114
    1010--10/01/2007D0001B500--
    0.142
    1010--10/01/2007D0001C100--
    0.028
    1010--10/01/2007D0001D1100--
    0.314
    1010--10/01/2007D0001E600--
    0.171
    1010--10/01/2007D0001F800--
    0.228            
    TOTAL ALLOWED_TIEM------       3500
    1010--10/01/2007D0011A1400--
    0.334
    1010--10/01/2007D0011B500--
    0.142
    1010--10/01/2007D0011C100--
    0.028
    1010--10/01/2007D0011D1100--
    0.314
    1010--10/01/2007D0011E600--
    0.171
    1010--10/01/2007D0011F800--
    0.228            
    TOTAL ALLOWED_TIEM------       4500
    I have to calculate the Production Line Hours, based on the following calculation.
    Now i have to input the  value in the INFOOBJECT LINEHOUR1 based on the following calculation.
    400 / 3500 = 0.114  (ALLOWED_TIME of every line item has to be divided with TOTAL ALLOWED_TIME)
    500 / 3500 = 0.142
    100 / 3500 = 0.028
    1100 / 3500 = 0.314
    .........so on
    The workcenter is different is two blocks of example data, and  hence to be calculated differently.
    Now how to achive this,
    I appriciate your insite on this problem.
    Regards
    Shaan.

    Hi Philips,
    Thanks for your response.
    I want to make you more clear about the problem.
    We are calculating based on the following combinations.
    PLANT--RUNDATE-WORKCENTER-SHIFT-----PRODUCTTYPE
    We have three different Plants.
    Rundate is assume as the Calday.
    We have 18 Workcenters.
    Each Workcenter can have 3 shifts maximum.
    And in every sift there would be 3 to 4 product types produced.
    So what i mean to let you know is, the calculation is not based on WORKCENTER, where as it is based on all the five(5)
    characteristics combination.
    The total allowed time will be calculated based on PLANT......RUNDATE......WORKCENTER....SHIFT.
    We normally calculate the linehour with the below formula...
    (ALLOWED TIME/ TOTAL ALLOWED TIME) * (SHIFTTIME - DOWN TIME - BREAK TIME).
    So i have all the information in the line item level except the TOTAL ALLOWED TIME.
    Now i want to insert a new column in the CUBE and wanted to have the TOTAL ALLOWED TIME in every line item,
    might not seem to be a good idea, but just let me know how to do it.
    If it is not clear, you can ask me for further questions.
    THANK  YOU PHILIPS.
    Regards
    Shaan

  • How is Processing time calculated in Simulation

    Hi,
    How is processing time calculated for every simulation-relevant object?
    say for example,
    i have 2 objects of person type (p1 and p1)
    4 human tasks (T1, T2, T3, T4)
    T1 assigned to p1, processing time 2hrs
    T2 assigned to p1, processing time 2hrs
    T3 assigned to p2, processing time 2hrs
    T4 assigned to p2, processing time 2hrs
    start --&gt; T1(p1) --&gt; T2(p1) --&gt; T3(p2) --&gt; T4(p2) --&gt; end
    Have not set any other simualtion parameters. now,
    * Duration for simulation is set to 6hrs,
    T1, T2, and T3 are getting processes once, but start event is getting processed twice
    # Why is start event getting processed second time?
    # Will this take any processing time..
    * Duration for simulation set to 7hrs,
    start event and T1 gets processed 2 times, T2 and T3 once..
    and the total processing time becomes *8hrs*..
    # At wht point of time does the second processing of T1 start.
    # If it is not after after the completion of one full process cycle, in this case, why not the second processing start at the end # of 2nd hour, or 4th hour.
    Thanks,
    Vishnupriya

    Hi Vishnupriya,
    "Why is start event getting processed second time?"Can you check the "Frequency" attribute of your start event? There you can specify how often the process will be triggered.
    "At wht point of time does the second processing of T1 start."You should be able to check it in the Processes (det.). It provides an overview regarding the process instances started during the simulation run. Furthermore you can check the Events (det.) category.
    Best regards,
    Danilo

  • How is utilization index calculated?

    Hi there,
    When I create a dashboard widget, I can select from top highest or top lowest utilization. I am curious how the utilization is calculated? Is it average over all metrics or is there some sampling?
    Thanks,
    -Nigel

    In other words, if I take a 10 mpx file, a 16 mpx file, a 24 mpx file and a 40 mpx file; at 100% zoom they will all display 1,680 x 1,050 pixels of that file?
    Exactly! Lightroom calls it 1:1 instead of 100% but that is a detail.
    So when you are looking at a 10 MP file at 1:1 you see the equivalent of a crop from a 30x20" print, with 16 MP a crop from a 38*25" print, with 24MP, a crop from a 47x31" print and with a 40MP file, a crop from a 60x40" print.
    I do these calculations more often as you might be able to tell ;-)

  • How is 100% Zoom Calculated?

    In reading a similar post for Photoshop Elements, the respondent indicated that a 100% zoom is where one pixel from the camera is displayed as one pixel on the monitor. So, if my monitor has a display of 1,680 x1,050 and it has a diaganol dimension of 15.4" and I am doing a 100% zoom on a 16.2 mpx file (4,912 x 3,264) how is this magnification calculated?
    Thanks
    Earl

    In other words, if I take a 10 mpx file, a 16 mpx file, a 24 mpx file and a 40 mpx file; at 100% zoom they will all display 1,680 x 1,050 pixels of that file?
    Exactly! Lightroom calls it 1:1 instead of 100% but that is a detail.
    So when you are looking at a 10 MP file at 1:1 you see the equivalent of a crop from a 30x20" print, with 16 MP a crop from a 38*25" print, with 24MP, a crop from a 47x31" print and with a 40MP file, a crop from a 60x40" print.
    I do these calculations more often as you might be able to tell ;-)

  • How to make the calculation or formula in bottom of the coloum

    How to make the calculation or formula in bottom of the coloum in Discoverer report.
    Regadrs
    Manikandan

    Hi Ros
    You have a couple of issues, one that is simple to resolve and one that is not so simple.
    First, the simple one - the word TOTAL. To alter the word that Discoverer inserts next to a total, or to even remove the word altogether, use this workflow:
    1. Right-click on the total and from the pop-up menu select Edit Total
    2. At the bottom right-hand corner of the Edit Total dialog box is the area where the label is maintained. You will see a checkbox for the label
    3. If you uncheck the label you can change the label to anything you like, including nothing
    4. After you have set the label, click OK and close the Edit Total dialog box
    Note: In Desktop, this is done via a drop-down from the Total dialog box. If you click the drop-down, the last item in the list is called Generate Label Automatically. If you uncheck this you can create your own label.
    Your second issue concerning the non-totaling of the grand total on some items means that there is something preventing one or more of the totals from calculating. First of all, try to determine which item or items is causing the problem by adding individual totals to each of the desired columns. You will eventually find the column which has the culprit. If you use the above workflow to suppress the display of any labels your total line will look as though you have totaled all items.
    Next, having found the column that will not total, try to figure out why the values will not add up. Could the column be a calculated item? If so, it is possible that you have used SUM on the outside of the calculation, like this:
    SUM(some item - some other item) - this will not total if the original items themselves are in the query and are also being summed. This is because you are mixing aggregate and detail items within the total.
    Try changing the formula like this:
    SUM(some item) - SUM(some other item) and see if this helps.
    If this is not the cause then try changing the formula for that column's total to CELL SUM instead of SUM. This causes Discoverer to literally add the values in the column.
    If this is not the cause, could you possibly be trying to total repeated values? By default, this is disabled in the later versions of Discoverer. The repeated values will be caused if you have multiple joins in your query and the item that you are totaling is from the many end of a one to many relationship. Suppose you had items from a header table and line table in the same worksheet with there being multiple lines for the same header, and now let's say you have a column which is returning something from the header. That value will get repeated and if you try to total it would generate the wrong answer, hence out of the box Discoverer is trying to protect you from yourself.
    However, it could be that the column really should be totaled but because Discoverer has detected a one to many join it will not total that column. To prove that this is the reason, change the join from a one to many to a one to one. Don't worry, this won't stop the query from working. If this allows the total to work then you can either leave the join as it is with a one to one, which won't harm Discoverer or you can edit the pref.txt on the server and change one of the preferences.
    The preference I would change is called AllowAggregationOverRepeatedValues. By default this is disabled and will be set to 0. Changing this to a 1 will now tell Discoverer that repeated values can now be totaled. Don't forget to apply the preferences correctly by execiting applypreferences.bat, on Windows or applypreferences.sh, in Linux or Unix, and then stopping and restarting the Discoverer server.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • How do I round calculations to two decimal places (form-wide)

    Hi,
    I've created an order form where customers input the quantity of product they want to order and the form outputs the total due (including shipping and sales tax). Depending on user input, the resulting total sometimes contains more than two decimal places. How do I round calculations to two decimal places? Is there a way to do this form-wide?
    I'm new at using Acrobat for calculations. Any help would be greatly appreciated! Thanks...

    The above will affect the displayed value not the actual value of the field nor its value when accessed in another computation. This behavior may cause an error of 1 cent or more in the grand total or sales tax computation. If you want the the value and displayed value to be the same value you can use the following Validation script:
    event.value = util.scand("%,1 0.2f", event.value);

  • How  Kernel Parameters values calculated in 10g*

    Hi to all;
    *10g Orace installation on OEL*
    How  Kernel Parameters values calculated in 10g
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    +# semaphores: semmsl, semmns, semopm, semmni+
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144
    Run the following command to change the current kernel parameters
    /sbin/sysctl -p
    **  "/etc/security/limits.conf"  **
    *               soft    nproc   2047
    *               hard    nproc   16384
    *               soft    nofile  1024
    *               hard    nofile  65536
    My question I think 32 bit or 64 bit OS calculation will be same only.
    I want know how it was calculated ?
    Edited by: 969352 on Feb 9, 2013 7:02 AM

    Hi
    I suggest please review:
         Relationship Between Common Init.ora Parameters and Unix, Linux Kernel Parameters [ID 144638.1]
    Regard
    Helios

  • How do you put calculator on dock

    How do you put calculator on dock so it's there all the time?

    Care to share which OS you are using?
    Calculator has always been pre-installed in my Dock ever since Apple invented the Dock.  The original calculator app is inside the Application folder.  Drag the original app to the Dock.  The original app will move back to the App folder & a duplicate calculator app will be sitting in your Dock.

  • How Smartnet will cover moduler devies?

    Dears
    i need to know how to cover moduler switches or routers with smartnet and what is the part number for smart net will cover the over all device ( chasiss, sup,line modules, service modules, and SFPs) for example if i have a devie cisco 6509 with two sup720-3b , firewall service module and line card X6748-GE-TX then when I search for smartnet part number i only find smartnet part numbers for chasiss and firewall only?

    Hi,
    Marvin Rhoads is correct. 
    For modular switches such as Cisco Catalyst 4500E Series Switch and Cisco Catalyst 6500E Series Switch the Chassis Based Pricing is followed. Cisco apply service charges on the chassis level; in other words, it will not be necessary to price the cards (except legacy products). Because product configurations differ the service charge will be calculated as a percentage of the average list price of the product. This is similar to the current SMARTnet 8x5xNBD service pricing methodology.
    http://www.cisco.com/public/scc/demo/NewServicePricing.html
    You will see that there is no option for SMARTnet when you configure the line cards as spare because the line card support would be covered by the existing SMARTnet of the chassis.
    Best regards, 
    "Nilz" 
    Nilo Noguera 
    .:|:.:|:. Specialist, Cisco Global Virtual Engineering - Cisco Partner Help 
    http://www.cisco.com/web/partners/tools/ph.html 

  • How Long will it take to reset the 16gb ipad with clear all data in it.

    How Long will it take to reset the 16gb ipad with clear all data in it.

    I have the same problem. I try to reset my ipad / iphone 3g using the reset and delete all content on general. It is almost 2 days now but my ipad / iphone 3g are not yet finish. Only apple logo / looping circle appears on the screen. What will i do? thanks... iOS 5.0.1

  • Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    The 15" Retina's will have better performance than any 13" Retina. Not only do the 15" machines have dedicated GPU's, but they also have quad-core processors, whereas the 13" Retina's only have dual-core processors.

  • My mid 2010 macbook pro 13 inch screen is cracked, how  much will it be to fix?

    My mid 2010 macbook pro 13 inch screen is cracked, how much will it be to fix?

    https://www.techrestore.com/mac/
    http://www.dttservice.com
    http://www.myservice.com/macbookpro.html
    http://www.ifixit.com/Device/MacBook_Pro
    http://www.PowerbookMedic.com

Maybe you are looking for

  • How to print A5 doc on A4 paper (to be folded)

    I've set up a document with A5 pages, facing left and right, to be printed in landscape on A4. In the +Page Thumbnails+ display the first page is alone on the right, then the pages beneath are adjacent in pairs - this is correct and how I want the pr

  • Why doesn't the "more like this" section offer suggestions anymore in the netflix app?

    In the netflix app there is an area labeled "More like this" and it usually show suggestions of other movies.  After the last ATV update, it just shows "More like this..." but it doesn't show any movie suggestions.  When I spoke with netflix, they sa

  • How to use the selection profile and status profile for production order?

    Hi expert,    I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?   Please help me.   thanks in advance.   george.shi

  • Security with servlet

              Hi, I'm trying to put security in a servlet bundled in a web app .war, but after           starting the server i doesnt get deployed, im using wls 6.0.           here is the web.xml setting           <security-constraint>           <web-res

  • Elements 6 - able to download pictures but not videos.

    I'm using Adobe Photoshop Elements 6 and I'm able to download pictures from my Sony camera & HandyCam but I'm not able to download videos. Is there an adjustment I need to make in the settings menu for accepting certain types of video files?