FICO - Add selling price in S_ALR_87099931

Hi! I'm a beginner of the ABAP. I would like to add the selling price in the report S_ALR_87099931.
This selling price shld auto capture from the Sales module.
Is there anyone can give me a guidelines?

copy RKKBCAL2 into ZRKKBCAL2 from se80 than do required changes.and give new t-code to this report.

Similar Messages

  • Closing stock with selling price

    Dear Experts
    I am using the below query to get the instock with value but its not giving option of datewise report.Can anybody modify my query so i can get Instock and value by datewise report.So any point i can see what was the instock and its total value.
    SELECT T0.[ItemCode], T1.[ItemName], T0.[OnHand] as 'In Stock (TINS)',T1.[InvntryUom] as 'Pak Size', (T0.OnHand /T1.InvntryUom ) as 'In Stock (Carton or Pail)' ,T1.[CodeBars] AS 'Min Inventory',  T2.[Price] as 'Selling Price', (T0.OnHand *T2.Price ) as 'Total',T3.[ListName] FROM OITW T0  INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ITM1 T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OPLN T3 ON T2.PriceList = T3.ListNum WHERE T0.[WhsCode] =[%0] AND  T1.[SuppCatNum] =[%1] AND T3.ListNum =1
    Thanks in advance
    Looking for your support
    Parikshit

    Dear Gordon
    Thanks for your advice.But can you able to add selling price in below query which you have advice me. even i want zero item in query.
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Group nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Group = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam = '[%2]')
    Select
    a.Itemcode,
    max(a.Dscription),
    sum(a.[Opening Balance]) as [Opening Balance],
    sum(a.[IN]) as [IN],
    sum(a.OUT) as OUT,
    ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing
    from(
    Select
    N1.Itemcode,
    N1.Dscription,
    (sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],
    0 as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate
    Group By
    N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    sum(N1.inqty) as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    Group By
    N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    0 as [IN],
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    Group By
    N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode and
    I1.ItmsGrpCod = @Group
    Group By
    a.Itemcode
    Having sum(a.[Opening Balance]) + sum(a.[IN]) + sum(a.OUT) > 0
    Order By a.Itemcode
    thanks
    parikshit

  • Unit Selling Price in OM

    Hi All,
    I am new in OM. i just want to know when my user enter and modified unit selling price the message shows no list of values contain no entries, please advice how can i add its list or how can i use range of list against list.
    Thanks

    Dear All,
    Please advice above issue
    thanks

  • Need Sample API code to update Quote Line level Unit Selling Price alone.

    Hi,
    i want to update Unit Selling Price alone using API, can any one have sample code to do that.
    ASO_QUOTE_PUB.Update_Quote_Line
    Thanks!
    Kishore

    Hi,
    please find the code below for ASO Quote Line Update. Here this sample only shows an DFF Attribute update. You can try the same for the Unit Selling price Update.
    DECLARE
    l_Api_Version_Number NUMBER;
    l_Init_Msg_List VARCHAR2(1000);
    l_Commit VARCHAR2(1000);
    l_Validation_Level      NUMBER;     
    l_Qte_Header_Rec ASO_QUOTE_PUB.Qte_Header_Rec_Type;
    l_Qte_Line_Rec ASO_QUOTE_PUB.Qte_Line_Rec_Type;
    l_Control_Rec ASO_QUOTE_PUB.Control_rec_Type;
    l_Qte_Line_Dtl_TBL ASO_QUOTE_PUB.Qte_Line_Dtl_tbl_Type;
    l_Line_Attribs_Ext_Tbl ASO_QUOTE_PUB.Line_Attribs_Ext_Tbl_type;
    l_Payment_Tbl ASO_QUOTE_PUB.Payment_Tbl_Type;
    l_Price_Adj_Tbl ASO_QUOTE_PUB.Price_Adj_Tbl_Type;
    l_Price_Attributes_Tbl ASO_QUOTE_PUB.Price_Attributes_Tbl_Type;
    l_Price_Adj_Attr_Tbl ASO_QUOTE_PUB.Price_Adj_Attr_Tbl_Type;
    l_Shipment_Tbl ASO_QUOTE_PUB.Shipment_Tbl_Type;
    l_Tax_Detail_Tbl ASO_QUOTE_PUB.Tax_Detail_Tbl_Type;
    l_Freight_Charge_Tbl ASO_QUOTE_PUB.Freight_Charge_Tbl_Type;
    l_Sales_Credit_Tbl ASO_QUOTE_PUB.Sales_Credit_Tbl_Type;
    l_Quote_Party_Tbl ASO_QUOTE_PUB.Quote_Party_Tbl_Type;
    l_Update_Header_Flag VARCHAR2(100);
    X_Qte_Line_Rec ASO_QUOTE_PUB.Qte_Line_Rec_Type;
    X_Qte_Line_Dtl_TBL ASO_QUOTE_PUB.Qte_Line_Dtl_TBL_Type;
    X_Line_Attribs_Ext_Tbl ASO_QUOTE_PUB.Line_Attribs_Ext_Tbl_type;
    X_Payment_Tbl ASO_QUOTE_PUB.Payment_Tbl_Type;
    X_Price_Adj_Tbl ASO_QUOTE_PUB.Price_Adj_Tbl_Type;
    X_Price_Attributes_Tbl ASO_QUOTE_PUB.Price_Attributes_Tbl_Type;
    X_Price_Adj_Attr_Tbl ASO_QUOTE_PUB.Price_Adj_Attr_Tbl_Type;
    X_Shipment_Tbl ASO_QUOTE_PUB.Shipment_Tbl_Type;
    X_Tax_Detail_Tbl ASO_QUOTE_PUB.Tax_Detail_Tbl_Type;
    X_Freight_Charge_Tbl ASO_QUOTE_PUB.Freight_Charge_Tbl_Type;
    X_Sales_Credit_Tbl ASO_QUOTE_PUB.Sales_Credit_Tbl_Type;
    X_Quote_Party_Tbl ASO_QUOTE_PUB.Quote_Party_Tbl_Type;
    lX_Return_Status VARCHAR2(1000);
    lX_Msg_Count NUMBER;
    lX_Msg_Data VARCHAR2(1000);
         lc_last_update_date date;
         l_file varchar2(2000);
         CURSOR c_quote(c_qte_header_id NUMBER) IS
         SELECT last_update_date
         FROM ASO_QUOTE_HEADERS_ALL
         WHERE quote_header_id = c_qte_header_id;
    BEGIN
         BEGIN
         MO_GLOBAL.init('SQLAP');
         MO_GLOBAL.set_policy_context('S',83);
         fnd_global.apps_initialize(1175,50689,280);
         END;
         OPEN c_quote(l_qte_header_rec.quote_header_id);
         FETCH c_quote INTO lc_last_update_date;
         CLOSE c_quote;
         aso_debug_pub.SetDebugLevel(10);
    aso_debug_pub.Initialize;
    l_file:= ASO_DEBUG_PUB.Set_Debug_Mode('FILE');
    aso_debug_pub.debug_on;
    aso_debug_pub.add('Update Quote',1, 'Y');
    dbms_output.put_line('File :'||l_file);
    dbms_output.put_line( to_char(sysdate, 'mm/dd/yyyy:hh24:SS') );
         l_qte_header_rec.quote_header_id := 24649;
         l_qte_header_rec.last_update_date := lc_last_update_date;
         l_control_rec.last_update_date := lc_last_update_date;
         l_qte_line_rec.quote_header_id := 24649;
         l_qte_line_rec.quote_line_id := 27712;
         l_qte_line_rec.attribute12 := 1000;
         ASO_QUOTE_PUB.Update_Quote_Line(
    P_Api_Version_Number => '1.0',
    P_Init_Msg_List =>     l_Init_Msg_List,
    P_Commit =>     l_Commit,
    P_Qte_Line_Rec =>     l_Qte_Line_Rec,
    P_Control_Rec =>     l_Control_Rec,     
    P_Qte_Line_Dtl_Tbl =>     l_Qte_Line_Dtl_Tbl,
    P_Line_Attribs_Ext_Tbl =>     l_Line_Attribs_Ext_Tbl,
    P_Payment_Tbl =>     l_Payment_Tbl,     
    P_Price_Adj_Tbl =>     l_Price_Adj_Tbl,     
    P_Price_Attributes_Tbl =>     l_Price_Attributes_Tbl,
    P_Price_Adj_Attr_Tbl =>     l_Price_Adj_Attr_Tbl,
    P_Shipment_Tbl =>     l_Shipment_Tbl,
    P_Tax_Detail_Tbl =>     l_Tax_Detail_Tbl,
    P_Freight_Charge_Tbl =>     l_Freight_Charge_Tbl,
    P_Update_Header_Flag =>     l_Update_Header_Flag,
    X_Qte_Line_Rec =>     X_Qte_Line_Rec,
    X_Qte_Line_Dtl_Tbl =>     X_Qte_Line_Dtl_Tbl,
    X_Line_Attribs_Ext_Tbl =>     X_Line_Attribs_Ext_Tbl,
    X_Payment_Tbl =>     X_Payment_Tbl,
    X_Price_Adj_Tbl =>     X_Price_Adj_Tbl,
    X_Price_Attributes_Tbl =>     X_Price_Attributes_Tbl,
    X_Price_Adj_Attr_Tbl =>     X_Price_Adj_Attr_Tbl,
    X_Shipment_Tbl =>     X_Shipment_Tbl,
    X_Tax_Detail_Tbl =>     X_Tax_Detail_Tbl,
    X_Freight_Charge_Tbl =>     X_Freight_Charge_Tbl,
    X_Return_Status =>     lX_Return_Status,
    X_Msg_Count =>     lX_Msg_Count,
    X_Msg_Data =>     lX_Msg_Data
    fnd_msg_pub.count_and_get( p_encoded => 'F'
    , p_count => lx_msg_count
    , p_data => lx_msg_data);
    dbms_output.put_line('no. of FND messages :'||lx_msg_count);
    for k in 1 .. lx_msg_count loop
    lx_msg_data := fnd_msg_pub.get(
    p_msg_index => k,
    p_encoded => 'F');
    dbms_output.put_line('Error msg: '||substr(lx_msg_data,1,240));
    end loop;
    dbms_output.put_line(lx_return_status);
    dbms_output.put_line(to_char(lx_msg_count));
    dbms_output.put_line(lx_msg_data);
    dbms_output.put_line('end');
    END;     
    COMMIT;
    Thanks
    Sunil Devulapally
    Edited by: user13150483 on 05-Jan-2012 10:59

  • To add Net price in Purchase order

    Hi,
    I have a sceneria where i need to add net price against line item which was marked as free in purchase order (Net price is 0). Subsequently material was deliverd from vendor and GI also was done. Goods receipt is also completed. This material batch number is consumed for custmer sales orders subsequently. There is 0 quantity available for this material in the plant. Now the user wants to change the net price to 2 for the line item. To change net price in purchase order, we tried to cancel GR material document.But we get an error that 'Deficit of unrestricted use' for the batch number.
    Can any one give us solution for changing the net price in purchase order?
    Regards,

    Hello,
    the only chance to add a PO price is to unflag the free flag in ME22N.  This is only possible when quantity received for the PO is zero. Therfore you must reverse the quantity received by doing a dummy receipt for the batch, reverse the GR for PO, you change the flag, set a price, redo GR for the PO, reverse the dummy receipt.
    Hope this helps, regards
    Michael

  • Selling price in the Pricing procedure

    In my implementation the company is arriving at the selling price like this:-
    Basic GLP Price     100
    Freight  & Insurance @5%      5.00
    Sub Total      105.00
    Exchange to INR @  1Euro=Rs.1.00(For ex.) 105.00
    Loading  1%      1.05
    ***. Value      106.05
    Basic Customs Duty at 15 %      15.91
    Sub Total      121.96
    CVD 16%      19.51
    Cess on CVD 2 %      0.39
    Sub Total      141.86
    Total Duty      35.81
    Cess on  Total Duty 2%      0.72
    Clearing Charges 1%      1.42
      TOTAL COST  ( CIF + C DUTY+ CVD+ CESS +CL CHRG)      142.95
    Sub Total cost without CVD      <b><u>123.04(Selling price)</u></b>
    I want this selling price to be picked up once I punch in the material part no. in my sales order. Can I get this selling price directly without using the pricing procedure? Can I hardcode the selling price or can i use some selling price simulation? Since the data to arrive at the selling price is dynamic is it advisable to hardcode the SP or to use different condition types to arrive at this selling price?

    Hi Arindam,
    It is advisable to create a new condition type so that in future it will be useful for the reporting purposes related to sales order documents.
    Othewise you can write a exit ( Requirement/ Formula etc ), and do the  calculation part for the selling price what you have mentioned in any of the mandatory condition type which you are using in sales orders, so that selling price value will always get populated.
    Thanks
    Lakshman

  • ABAP: How to add a Price Condition Item to an order item

    Hi experts,
       Is it possible to add a Price Condition Item to an order item by BAPI or Function in sap crm? (like: 0k04 10 USD 1 EA)

    Hi,
    You need to use CRM_ORDER_MAINTAIN and have to use structure IT_PRIDOC to update or add new pricing data.
    But do remember, you have to call FM 'BAPI_TRANSACTION_COMMIT' once you are done with call to FM CRM_ORDER_MAINTAIN, else all your updation will remain in buffer and will have no effect in Database, which will let u feel as if things are not working they should be.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Manual override option for Unit selling price in Order line level.

    In OM R-12
    Our client wants manual override option for Unit selling price in Order line level.
    But there is no solution available to fulfill this requirment. To be able to manually override the price on a Sales Order line you
    must have defined a manual modifier that qualifies for the Sales Order line in question. Without a suitable manual modifier the price cannot be changed.
    This is current standard functionality.
    Anybody can give some suggestion/workaround to override selling price in Order header level without using the modifiers.
    regards,

    Hi Kashif,
    I'm finding it little difficult to buy Oracle Support's feedback with regards to R12 functionality for direct List Price update without using any modifier (manual or whatever). After all it is Oracle's product and they should know better. But test results in Solution Beacon's Vision 12.0.6 instance (http://www.solutionbeacon.com/tools_r12vision.htm) and documentation updates in R12 (R12.0.4) OM user guide & implementation manuals potray a different picture.
    After your last post, I did a test in Solution Beacon's Vision 12.0.6 instance with following details:
    OM: List Price Override Privilege = "Unlimited Access" at user level
    OM: Discounting Privileges = "None" at user level
    No manual modifiers defined and Order status = "Entered"
    I could display the "List Price" field from folder under Line Items >> Main tab, override the list price to a new value and save. The unit selling price showed the new value based on updated List Price as soon as I tabbed out of the list price field after overriding. After saving it showed the new selling price. _Please note that under Line Items >> Pricing tab there is another "List Price" field and that is not editable_. For such overrides "View Adjustments" (from Line >> Actions) will not show any adjustment details as it is a direct update of list price.
    Also please note that, if "Enforce List Price" checkbox is selected for the order type, the list price cannot be overridden even if the profile option is set to "Unlimited Access".
    Document References:
    Oracle® Order Management User's Guide
    Release 12, Part No. B28099-03, September 2007 >> R12.0.4
    Page No. 10-74
    +Note: Note: If any order line for an order has the Calculate Price Flag value equal to Partial Price or Freeze Price new order level adjustments will not be applied or allowed to be overridden. _The profile option OM: List Price Override  Privilege controls your ability to override the unit list price. If you have this profile set to Unlimited, you may modify the unit list price by editing the current value displayed_. The original list price is saved in a hidden folder field, so you can display it if necessary+.
    Page No. 10-94
    User Procedures
    _A new profile option, OM: List Price Override Privilege controls whether or not you can update the List Price_. It is enabled and updated at the application, responsibility and user level. It is not user visible and updatable. The values include+:
    - View Only: This is the default value. If set to this value, the current behavior is retained, which means unit list price field is protected.
    - Unlimited Privilege: If set to this value, you can override the unit list price field from the main tab and immediately see selling price adjusted accordingly.
    To use Override List Price:
    +1. Navigate to the Sales Orders/Quick Sales Orders window.+
    +2. Enter the header and line information, including the ordered item and quantity, then tab to the next field. The Selling Price and List Price display+.
    +3. If the profile is set to Unlimited Privilege, you can enter a new list price in the List Price field. You can either proceed to the next line or save your work+.
    +4. You can see the new, entered list price, and if there are automatic discounts applied, they will be based on the new list price+.
    +5. If the folder has been modified to show the Original List Price, the original list price displays+.
    +6. To change the List Price again, go to the list price field and enter a new value, replacing a previously entered value. If Audit Trail is enabled for List Price and a reason is required, a window appears to enter a reason and optional comments+.
    Note: Subsequent overrides of the List Price, after the order line is saved, can be captured by Audit Trail, depending on the setup of Audit Trail (entered or booked state) and any processing constraints that have been set up.
    In the OM Implementation Manual also there are notes related to this.
    OM Implementation Manual
    Release 12, Part No. B25975-03, September 2007 >> R12.0.4
    You can refer to page no. 2-59, C-4 etc.
    Thanks
    Supro

  • How to add net price in BAPI BAPI_PO_CREATE1

    hi all:
    when i use bapi BAPI_PO_CREATE1, i cannot add net price in PO. code is as follow.
    *POPULATE ITEM DATA.
            clear t_po_items.
            t_po_items-po_item      = v_poitem * 10.
            t_po_items-material     = SEQ_FILEH-matnr.
            t_po_items-SHORT_TEXT   = SEQ_FILEH-MAKTX.
            t_po_items-plant        = p_RESWK.
            t_po_items-quantity     = SEQ_FILEH-MENGE.
            t_po_items-PO_UNIT      = SEQ_FILEH-MEINS.
            t_po_items-TRACKINGNO   = SEQ_FILEH-BEDNR.
            t_po_items-ACCTASSCAT   = SEQ_FILEH-KNTTP.
            t_po_items-ADMOI        = SEQ_FILEH-ADMOI.
            t_po_items-NET_PRICE    = SEQ_FILEH-netpr.
            t_po_items-PRICE_UNIT   = SEQ_FILEH-peinh.
            t_po_items-FREE_ITEM    = ' '.
           t_po_items-IR_IND       = c_x.
            APPEND t_po_items.
    *POPULATE ITEM FLAG TABLE
            clear t_po_itemsx.
            t_po_itemsx-po_item     = v_poitem * 10.
            t_po_itemsx-po_itemx    = c_x.
            t_po_itemsx-material    = c_x.
            t_po_itemsx-SHORT_TEXT  = c_x.
            t_po_itemsx-plant       = c_x.
            t_po_itemsx-quantity    = c_x.
            t_po_itemsx-PO_UNIT     = c_x.
            t_po_itemsx-TRACKINGNO  = c_x.
            t_po_itemsX-ACCTASSCAT  = c_x.
            t_po_itemsx-tax_code    = c_x.
            t_po_itemsX-item_cat    = c_x.
            t_po_itemsx-ADMOI       = c_x.
            t_po_itemsX-IR_IND      = c_x.
            t_po_itemsx-NET_PRICE   = c_x.
            t_po_itemsx-PRICE_UNIT  = c_x.
            t_po_itemsX-PO_PRICE    = c_x.
            t_po_itemsx-FREE_ITEM   = c_x.
            APPEND t_po_itemsx.
    any advice?

    Hi Gang LI,
    Try by adding this to
    t_po_items-po_price = '2'. ( 1 = Gross,  2 = Net price )

  • Daily sales report with last  selling price

    Dear All,
    how to query daily sales record with last selling price as  following:
    cust. code ,  item  , unit price, last selling price to this cust. within 3 month ,  highest  selling price of  this item with 3months
    I'm new to both  SAP and SQL, Please help! Many Thanks!!
    Wing

    Hi,
       Try this........
    SELECT P.CardCode,P.CardName,P.ItemCode,
    [1] as [Jan],
    [2] as [Feb],
    [3] as [Mar],
      [4] as [Apr],
    [5] as [May],
    [6] as [Jun],
    [7] as [Jul],
    [8] as [Aug],
    [9] as [Sep],
    [10] as [Oct],
    [11] as [Nov],
    [12] as [Dec]
    FROM (SELECT (T0.CardCode),T0.CardName,t1.ItemCode,T1.price,MONTH(T1.Docdate)as month
    FROM dbo.OINV  T0
    inner join INV1 T1 ON T0.DocEntry=T1.DocEntry
    inner join OITM t2 on T1.ItemCode=t2.ItemCode 
    WHERE T1.DocDate>='[%0]' and T1.DocDate<='[%1]' and T1.ITEMCODE='[%2]'
    and T0.CardCode='[%3]'
    ) S
      PIVOT  (max(price) FOR [month] IN
    ([4],[5],[6],[7],[8],[9],[10],[11],[12],[1],[2],[3])) P
    ORDER BY P.[CardCode]
    Check this link for SQL tutorials.........
    http://beginner-sql-tutorial.com/sql-subquery.htm
    http://w3schools.com/sql/default.asp

  • Add a Price List based on last purchase price

    Hi!
    I'm working with SAP B1 2005 A SP01 PL39 and I'm trying to add a Price List via DIAPI using this code in VB.net.
    Dim oPriceList As SAPbobsCOM.PriceLists
    oPriceList = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPriceLists)
    oPriceList.PriceListName = "PriceList Z"
    oPriceList.BasePriceList = 0  '// last purchase price
    oPriceList.Factor = 1
    oPriceList.GroupNum = BoPriceListGroupNum.boplgn_Group1
    oPriceList.RoundingMethod = BoRoundingMethod.borm_NoRounding
    oPriceList.Add()
    The problem is when the Price List is added, the base price list changes and becomes "PriceList Z" instead of "last purchase price"!!
    After i try to update the base price list from "PriceList Z" to "last purchase price" manually at Inventory > Price Lists > Price Lists and it works!
    I even tested the code changing the base price list to "last evaluated price"...
    oPriceList.BasePriceList = -1  '// last evaluated price
    ... and it works too! The Price List is added based on the last evaluated price.
    I'm only having problems with last purchase price... why?

    Thanks for the quick response Petr but my problem isn't solved yet...
    As you can read in my first post, i've changed the code and based the new price list on the "Last Evaluated Price".
    This "Last Evaluated Price" isn't in the OPLN table and the new price list (with last evaluated price based on) is added successfully.
    The problem comes when i try to add a new price list based on the last purchase price.

  • Unit Selling Price Override through PROCESS_ORDER API

    Hi All,
    I have this below requirement to be achieved through process_order API.
    1. In the Order Oganizer UI, I open the Order Entry form.
    2. Open the Lines tab
    3. For the Unit Selling Price, I change the price manually and tab out.
    4. Its gives me a LOV to select a Surcharge modifier.
    5. I select one of the surcharge and click save.
    6. The price is overridden and a manual price adjustment is created for the above selected surcharge.
    This functionality I want to acieve through the PROCESS_ORDER API. Basically, I want to override the unit selling price and apply a surchage modifier. This should change the selling price and create a adjustement record for the above line.
    Please let me know if anyone knows about this. That would help me.
    Thanks,
    Anand

    Anand
    I tested this in 12.0.4 vision and works. Also if you need to use update option if you are applying the same modifier more than once(not create), just like the way screen changes behave.
    DECLARE
    l_return_status VARCHAR2 (30);
    x_msg_data VARCHAR2 (2000);
    x_msg_count NUMBER;
    l_adj_rec oe_order_pub.line_adj_rec_type;
    l_adj_tbl oe_order_pub.line_adj_tbl_type;
    l_x_header_rec oe_order_pub.header_rec_type;
    l_x_header_adj_tbl oe_order_pub.header_adj_tbl_type;
    l_x_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
    l_x_line_tbl oe_order_pub.line_tbl_type;
    l_x_line_adj_tbl oe_order_pub.line_adj_tbl_type;
    l_x_line_scredit_tbl oe_order_pub.line_scredit_tbl_type;
    l_x_lot_serial_tbl oe_order_pub.lot_serial_tbl_type;
    l_x_action_request_tbl oe_order_pub.request_tbl_type;
    l_x_header_price_att_tbl oe_order_pub.header_price_att_tbl_type;
    l_x_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type;
    l_x_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type;
    l_x_line_price_att_tbl oe_order_pub.line_price_att_tbl_type;
    l_x_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type;
    l_x_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type;
    l_list_line_type_code VARCHAR2 (30) := NULL;
    l_list_line_id NUMBER;
    l_x_header_payment_tbl oe_order_pub.header_payment_tbl_type;
    l_x_line_payment_tbl oe_order_pub.line_payment_tbl_type;
    l_prc_adj_request oe_order_pub.request_tbl_type;
    l_prc_adj_index NUMBER := 1;
    l_price_adj_id NUMBER;
    v_msg_index_out NUMBER;
    x_header_rec_type oe_order_pub.header_rec_type;
    x_header_val_rec_type oe_order_pub.header_val_rec_type;
    x_header_adj_tbl_type oe_order_pub.header_adj_tbl_type;
    x_header_adj_val_tbl_type oe_order_pub.header_adj_val_tbl_type;
    x_header_price_att_tbl_type oe_order_pub.header_price_att_tbl_type;
    x_header_adj_att_tbl_type oe_order_pub.header_adj_att_tbl_type;
    x_header_adj_assoc_tbl_type oe_order_pub.header_adj_assoc_tbl_type;
    x_header_scredit_tbl_type oe_order_pub.header_scredit_tbl_type;
    x_header_scredit_val_tbl_type oe_order_pub.header_scredit_val_tbl_type;
    x_line_tbl_type oe_order_pub.line_tbl_type;
    x_line_val_tbl_type oe_order_pub.line_val_tbl_type;
    x_line_adj_tbl_type oe_order_pub.line_adj_tbl_type;
    x_line_adj_val_tbl_type oe_order_pub.line_adj_val_tbl_type;
    x_line_price_att_tbl_type oe_order_pub.line_price_att_tbl_type;
    x_line_adj_att_tbl_type oe_order_pub.line_adj_att_tbl_type;
    x_line_adj_assoc_tbl_type oe_order_pub.line_adj_assoc_tbl_type;
    x_line_scredit_tbl_type oe_order_pub.line_scredit_tbl_type;
    x_line_scredit_val_tbl_type oe_order_pub.line_scredit_val_tbl_type;
    x_lot_serial_tbl_type oe_order_pub.lot_serial_tbl_type;
    x_lot_serial_val_tbl_type oe_order_pub.lot_serial_val_tbl_type;
    x_request_tbl_type oe_order_pub.request_tbl_type;
    x_header_payment_tbl_type oe_order_pub.header_payment_tbl_type;
    x_header_payment_val_tbl_type oe_order_pub.header_payment_val_tbl_type;
    x_line_payment_tbl_type oe_order_pub.line_payment_tbl_type;
    x_line_payment_val_tbl_type oe_order_pub.line_payment_val_tbl_type;
    l_control_rec oe_globals.control_rec_type;
    BEGIN
    fnd_global.apps_initialize (1005902, 21623, 660);
    mo_global.set_policy_context ('S', 204);
    l_x_line_tbl (1).line_id := 319799;
    l_x_line_tbl (1).header_id := 155008;
    l_adj_rec := oe_order_pub.g_miss_line_adj_rec;
    l_adj_rec.price_adjustment_id := fnd_api.g_miss_num;
    l_adj_rec.list_header_id := 8988; --Modifier id
    l_adj_rec.list_line_id := 16596; --Modifier line id
    l_adj_rec.automatic_flag := 'N';
    l_adj_rec.list_line_type_code := 'DIS'; --Change this is it is surcharge
    l_adj_rec.arithmetic_operator := 'AMT'; --Percentage or amount
    l_adj_rec.operand := 10; --How much?
    l_adj_rec.operation := oe_globals.g_opr_create;
    l_adj_rec.line_index := 1;
    l_adj_rec.update_allowed := 'Y';
    l_adj_rec.applied_flag := 'Y'; --this is required to change the price of the line
    l_adj_rec.change_reason_code := 'MANUAL';
    l_adj_rec.change_reason_text := 'Manually applied adjustments';
    l_adj_tbl (1) := l_adj_rec;
    l_control_rec.process_entity := oe_globals.g_entity_line_adj;
    l_control_rec.process := TRUE;
    oe_order_pub.process_order (p_api_version_number => 1.0
    , x_return_status => l_return_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    , p_header_rec => l_x_header_rec
    , p_header_adj_tbl => l_x_header_adj_tbl
    , p_header_scredit_tbl => l_x_header_scredit_tbl
    , p_header_payment_tbl => l_x_header_payment_tbl
    , p_line_tbl => l_x_line_tbl
    , p_line_adj_tbl => l_adj_tbl
    , p_line_scredit_tbl => l_x_line_scredit_tbl
    , p_line_payment_tbl => l_x_line_payment_tbl
    , p_lot_serial_tbl => l_x_lot_serial_tbl
    , p_action_request_tbl => l_prc_adj_request
    , p_header_price_att_tbl => l_x_header_price_att_tbl
    , p_header_adj_att_tbl => l_x_header_adj_att_tbl
    , p_header_adj_assoc_tbl => l_x_header_adj_assoc_tbl
    , p_line_price_att_tbl => l_x_line_price_att_tbl
    , p_line_adj_att_tbl => l_x_line_adj_att_tbl
    , p_line_adj_assoc_tbl => l_x_line_adj_assoc_tbl
    , x_header_rec => x_header_rec_type
    , x_header_val_rec => x_header_val_rec_type
    , x_header_adj_tbl => x_header_adj_tbl_type
    , x_header_adj_val_tbl => x_header_adj_val_tbl_type
    , x_header_price_att_tbl => x_header_price_att_tbl_type
    , x_header_adj_att_tbl => x_header_adj_att_tbl_type
    , x_header_adj_assoc_tbl => x_header_adj_assoc_tbl_type
    , x_header_scredit_tbl => x_header_scredit_tbl_type
    , x_header_scredit_val_tbl => x_header_scredit_val_tbl_type
    , x_header_payment_tbl => x_header_payment_tbl_type
    , x_header_payment_val_tbl => x_header_payment_val_tbl_type
    , x_line_tbl => x_line_tbl_type
    , x_line_val_tbl => x_line_val_tbl_type
    , x_line_adj_tbl => x_line_adj_tbl_type
    , x_line_adj_val_tbl => x_line_adj_val_tbl_type
    , x_line_price_att_tbl => x_line_price_att_tbl_type
    , x_line_adj_att_tbl => x_line_adj_att_tbl_type
    , x_line_adj_assoc_tbl => x_line_adj_assoc_tbl_type
    , x_line_scredit_tbl => x_line_scredit_tbl_type
    , x_line_scredit_val_tbl => x_line_scredit_val_tbl_type
    , x_line_payment_tbl => x_line_payment_tbl_type
    , x_line_payment_val_tbl => x_line_payment_val_tbl_type
    , x_lot_serial_tbl => x_lot_serial_tbl_type
    , x_lot_serial_val_tbl => x_lot_serial_val_tbl_type
    , x_action_request_tbl => x_request_tbl_type
    DBMS_OUTPUT.put_line (l_return_status);
    IF x_msg_count > 0
    THEN
    FOR v_index IN 1 .. x_msg_count
    LOOP
    oe_msg_pub.get (p_msg_index => v_index, p_encoded => 'F', p_data => x_msg_data, p_msg_index_out => v_msg_index_out);
    x_msg_data := SUBSTR (x_msg_data, 1, 200);
    DBMS_OUTPUT.put_line (x_msg_data);
    DBMS_OUTPUT.put_line ('============================================================');
    END LOOP;
    END IF;
    END;
    Thanks
    Nagamohan

  • How to add new price break lines to existing PO quotations?

    Hi,
    I am using a custom interface (to insert quotations data into PO headers/lines interface tables) and PO documents open interface to create PO Quotations in Oracle.
    I need to modify this interface to:
    1. Update existing price break lines for a quotation line.
    2. Add new price break lines to existing quotation line(which may/may not have exsiting price break lines).
    Please let me know:
    1. What modifications need to be done to the existing code.
    2. What values needs to be passed to the action columns in PO_HEADERS_INTERFACE and PO_LINES_INTERFACE for above scenarios?
    Any ideas/help will be appreciated.
    Thanks
    Imran

    Hi Imran,
    I have done a similar exercise for BPA price breakup.. Let me know if you need that as reference. I can share that :).. Please provide your personal mail id..
    Regards,
    S.P DASH

  • IV01 : Selling price to customer And PR00 Selling price to customer

    Dear SD Experts ..
    I know inter company Process But i have small doubt please clear me
    IV01 : Selling price to customer
    PI01: Pricing between Supplying company to selling company ( Internal Purpose only )
    ICAA01( Pricing procedure)
    By using this we can bill the customer But PR00 Also Selling price to customer  ( RVA001)
    Please tell me i know all setting but logically i want to know why we have to maintain 2 Pricing procedures because By using inter company pricing procedure we can Bill the customer as per IV01 Right
    i have this doubt ?

    Hi Amit,
    IV01 : Selling price to customer
    your interpretation for IV01 as selling Price to customer is wrong.
    IV01 is intercompany pricing which will be seen in pricing procedure ICAA01 . This condition get the value populated from PI01 which is your intercompany pricing Condition type from RVAA01
    as your know IV is the billing document type which is used for intercompany Billing process and IV01 value gets populated from your F2 billing type
    PI01 is used as reference condition type for IV01
    for example you have created intercompany scenario in which your F2 contains
    customer price is PR00 = 1000
    Intercompany Price is PI01 = 900
    now when ever you creates IV the condition type IV01 get 900 from PI01
    hope it is clear
    revert if you need any further help

  • DP91-Debit memo request -selling price

    Dear Friends,
    the client requirement is to bill the his customer based on the equipment and manpower utilized
    Now i have created a contract - has assigned the DIP profile in item category and the WBS element is attached in contract item level
    based on the utilization/confirmation the DMR is created in DP91, there it is fetching only the cost which was maintained in KP26 and it is capturing thorough EK01 condition type. this subsequently copying to billing
    I need to bill the customer with selling price, not the cost
    in pricing procedure

    Thanks for your explanation santhosh
    In normal sales VPRS is the cost price of matrial
    Here RRB  EK01 is the cost of the activity/service , am i right santhosh?
    one more thing, for working hours of manpower, in condition record per hour rate is maintained,
    can i push only the quantity/working hours from Project systems?
    example:
    per hour rate is 15 USD in VK11 maintained
    From WBS 10 hours is coming to DMR, so system will calculate automatically 150 USD in DMR
    is it possible ? If yes ,  where is the configuration?
    please help me to solve my issue
    Regards,
    pratheep

Maybe you are looking for

  • Logical Volume Group.

    My 1TB SSD main drive on my MBP Retina volume has changed to Logical Volume Group and the Partition is named Logical Partition.  Now it works fine but was wondering why it has changed from Mac OS Extended (Journaled).  If I want to partition the driv

  • Edit Report option freezes and Formatting Vanishes in EPM 10.0

    Hi, While creating a report in EPM 10.0 which i have selected as 'Use as Input form', i created Active X buttons and did dynamic formatting as well. All seems to be fine but as i Close and Reopen, or i Refresh the template, formatting vanishes and Ed

  • Problem in Fluid Grid Layout

    I am trying to edit an My existing html site with a fluid grid layout.  My Layout toolbar doesn't show a fluid grid div widget, and when I go to the 'Insert:Layout' menu, the fluid grid option is also gone.  It used to be there.  How do I get it back

  • File parser.

    Hi, I am trying to make file parser which can parse a uploaded documents. Here is the code. For some reason this code gives me no out but except a blank web page and also no compile error.... Whats missing? import java.io.IOException; import java.io.

  • FireEye Layout in Adobe AIR

    Dear All, I am a perfect newbie to Adobe Flex and AIR. Now I am trying to do my first application in Adobe AIR and to use the FireEye layout in Adobe AIR as given in the adobe tour link below: http://www.adobe.com/devnet-apps/flex/tourdeflex/web/ But