BAPI to add item and its net price while creating opportunity

is there any BAPI/FM  through which  i can add item and its net value to opportunity in CRM.
Kindly help.
Regards
Sachin Yadav

You can give a try with Customer Function like EXIT_SAPLMCB1_001

Similar Messages

  • Urgent ! delivery items and its batch split items

    Exports:
        How to find relationship between delivery items and its batch split items. Thanks alot.

    Talk to functional guy -
    List of tables which contains CHSPL
    VBAP
    LIPS
    KNVV
    KNMT

  • Disable "Add item" and "Paste" button on item level of shopping cart

    Hi,
    I would like to disable the "Add item" and "Paste" button on the item level when editing a shopping cart awaiting approval.  I have been able to accomplish this for the buttons "Delete", "Duplicate", and "Copy" already.  I have done this by adding an enhancement implementation in the class /SAPSRM/CL_PDO_DYN_MDA_IT_SC under the methods DELETE_ITEM (delete button), COPY_ITEM (duplicate button), and COPY_CLIP (copy button).  This enhancement gets the shopping cart header guid, then uses the function module "BBP_PD_SC_GETDETAIL" to return the table e_status to check if the shopping cart is awaiting approval.  If it is it will disable the buttons, making them equal to abap_false.
    I would like to do this same thing to the "Add item" and "Paste" buttons but they are not listed in the the same class.  Does anyone know what class they are called in?
    I have tried looking in SPRO -> SAP Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Control Actions -> Display Standard Metadata Tables for Actions on Item Level.  I can't find the "Add item" and "Paste" buttons in here for BUS2121(shopping cart) under Edit mode.  Anyone have any ideas?
    Thanks,

    Jay,
    I did as you suggested and was able to break on the method as expected.  I made the same coding changes as I had in the other methods where I put in an enhancement but it would not work.
    I was able to solve this problem by creating an enhancement in the Web Dynpro where the buttons were being displayed.  I created a 'Post-Exit' enhancement for the WDDOMODIFYVIEW method.  Within this I added my custom logic to disable the Add Item and Paste buttons when in editing a shopping cart that is awaiting approval.
    Thanks for the help,
    Jeff

  • :correlation between SD line item and its FI line item

    Hi,
    We are developing a SD report where we are not able to correlate between FI line item with SD line item.As SD line item have differernt division so how to identify which line item of FI belongs to which SD line item?

    Hello Satya ,
    i donu2019t think u can map FI <-> SD line Items , as per my knowledge ,while create FI entry system will do consolidation based on the materials , so in such cases u wont get required data.
    regards
    Prabhu

  • How to add zooming and printing in e-magazine created by indesign?

    Could you please give ma an advise me how to add zooming and printing in e-magazine created by indesign? Many thanks

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • Getting error 'Item 00000 does not exist' while creating a salse order

    Hi All,
    We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
    This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
    When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
    Your valuable suggestions for helping us resolving this issue will be highly appreciated.
    Regards,
    Geeta

    HI Geeta
    As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
    Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
    try and revert

  • BADI to uncheck Invoice indicator and set net price as 0 while creating PO

    Hi all,
    Is there any BADI to uncheck the Invoice indicator and set the net price as "0" while creating Purchase order?
    Im creating Purchase order in SRM and for certain vendor and material group net price should be set to zero and invoice receipt to be unchecked so that user wont get invoice receipt.
    Can anyone tell me how to do this?
    Thanks,
    Amal

    Pradeep,
    Thanks for your response.
    I will tell you the actual senario im having.
    Using Shoppin Cart, user will order for some items in SRM and once it was completed PO will be created in R/3 system. Here(R/3) when i check in ME23 for the created PO, the IR flag has been set. But i want the PO should be created as IR flag not checked and amount is changed to ZERO for certain vendor and material group combination.
    I searched some threads and found few function modules ( BBP_PD_PO_GETDETAILS, BBP_PD_PO_UPDATE, BBP_PD_PO_SAVE) which can be used in BADI BBP_DOC_CHANGE_BADI. But im not aware of the fields in which we can found vendor, material group, amount, IR indicator.
    Can you please guide me how to resolve this?
    This is my first task in SRM and im not aware of all terms in SRM.
    SRM version: 4.0
    R/3 version: ECC 5.0
    Thanks,
    Amal

  • Re:Query for Item and its first child Itemcode from BOM...!!!

    Dear SAP Members,
    I need a query that contains
    ItemCode,ItemDescription from oitm table and its first child item code,Item Description,Quantity,currency and price from itt1 table.I have taken all the datas but there is no ItemDescription from itt1 table.How to join all these datas.
    Please Give suggestions or query for this issue.
    With Regards,
    Revathy

    Hi try this
    Declare @BOMDetails table(TreeType Nvarchar(MAX),PItem NVARCHAR(Max),PName NVARCHAR(MAX),CItem  NVARCHAR(Max),CName NVARCHAR(MAX),Comment NVARCHAR(MAX),onHand Numeric(18,0),[Committed] Numeric(18,0),FreeStock Numeric(18,0),[Status] NVARCHAR(MAX),Quantity numeric(18,0),Price numeric(18,0),Warehouse nvarchar(MAX),Currency nvarchar(MAX))
    INSERT Into @BOMDetails
    SELECT T1.TreeType ,T0.Father AS [Parent Code], T2.ItemName AS [Parent Description], T0.Code AS [Child Code],
    T1.ItemName AS [Child Description], T0.Comment, cast((T1.OnHand ) as Numeric(18,0)) as [Un-Committed Stock],
    cast(T1.IsCommited as Numeric(18,0)) AS [Committed Stock], cast((T1.OnHand - T1.IsCommited)as Numeric(18,0)) AS [Free Stock], T2.FrgnName AS [Status],T0.Quantity,T0.Price ,T0.Warehouse,T0.Currency
    FROM ITT1 T0 INNER JOIN OITM T1 ON T0.Code = T1.ItemCode
                 INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    WHERE T0.ChildNum=1
    Union All
    SELECT ' ',T0.Father as [Parent Code], T2.ItemName AS [Parent Description], '', '', '', 0,0,0 , '',0,0,'','' FROM ITT1 T0 INNER JOIN OITM T1
    ON T0.Code = T1.ItemCode INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    Group By T0.Father,T2.ItemName
    ORDER BY T0.Father, T0.Code
    update @BOMDetails set PItem='' ,PName='' where TreeType='N' or TreeType='P'
    Select PItem as[Parent Code] ,PName as [Parent Description],CItem as [Child Code],CName as [Child Description],Comment,Quantity,Price,Warehouse,Currency   from @BOMDetails
    thanks,
    Neetu

  • BAPI to modify items and create new ones in Purchase Order

    Hi, everybody!
    We need to change purchase orders (PO's) using a BAPI.
    We need not only to modify and delete the existing items in a PO, but also create new
    items in the same PO. Is it possible to do that using the bapi called BAPI_PO_CHANGE?
    If it isn't so, which BAPI should we use?
    Could anybody help us?
    Thanks in advance

    Hi
    Use the Function module BAPI_PO_CHANGE. This BAPI changes the existing line and also will append new lines to the existing POs.
    The other mandatory part is to populate the Change Parameter tables too.
    Hope this answers your question.
    Raj.

  • Item and its pricelist

    Hi all,how can we know item pricelist details..For eg.,during sales order enter if we enter an item sometimes we get an error saying Item not in pricelist.
    Thanks in advance!!

    While entering an order, check what pricelist got defaulted in the Sales Order Form >> Main tab. Then navigate to Navigator>>Pricing>>Price list setup and search for the same price list. Verify that the Item is there in the price list under list lines tab. If not, enter the item and it's pricing and then go back to the Sales order Form>> Line Items tab>>enter the item>>enter quantity and proceed. let me know if you see any issue.

  • Display Net value while creating order

    hi,
    I want to display <b>Net price</b> while creating order. i did automatic pricing and the amount is coming for only basic price,freight and discount but i also gave rebate and that amount is not showing in Net field under sales order. (Net text field exist before Tax area)

    try the field vbap-cmpre(Item credit price) this should be included the tax. you can also put a new subtotal line in you calculation scheme and put this amount in an kzwi to the vbap.
    greeting
    bernd

  • Line item data is not saving while creating a Sales order using Interactive

    Hi all,
    I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering  the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
    User will Add the Row or Delete the Row based on the requirement.
    My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
    My Interactive form is like below
    HEADER DATA
    DOC_TYPE
    SALES_ORG
    DIST_CHN
    DIVISION
    PURCH_NO
    PARTN_ROLE
    PART_NO
    LINE ITEM DATA
                             ITEM_NO      MATERIAL          PLANT          QTY        COND_TYPE            COND_VALUE
    ADD ROW
    DELETE ROW
                                                                                    SUBMIT
    My  code for the method ONACTIONCLICK is like below
    method ONACTIONCLICK .
    data:
          Node_Adobe       type ref to If_Wd_Context_Node,
          Node_Zsaleheader       type ref to If_Wd_Context_Node,
          Elem_Zsaleheader       type ref to If_Wd_Context_Element,
          Stru_Zsaleheader       type If_Main=>Element_Zsaleheader,
          Node_Zsaleitem       type ref to If_Wd_Context_Node,
          Elem_Zsaleitem       type ref to If_Wd_Context_Element,
          Stru_Zsaleitem       type If_Main=>Element_Zsaleitem.
      data: header_data type BAPISDHEAD.
      data: item_wa type BAPIITEMIN.
      data: item_data type table of BAPIITEMIN.
      data: partner_wa type BAPIPARTNR.
      data: partner_data type table of BAPIPARTNR.
      data: sales_order type BAPIVBELN-VBELN.
      data: Errorlog type BAPIRETURN1.
    navigate from <CONTEXT> to <ADOBE> via lead selection
      Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
    navigate from <ADOBE> to <Zsaleheader> via lead selection
      Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
      Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
    get element via lead selection
      Elem_Zsaleheader = Node_Zsaleheader->get_Element(  ).
      Elem_Zsaleitem = Node_Zsaleitem->get_Element(  ).
    get all declared attributes
      Elem_Zsaleheader->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleheader ).
      header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
      header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
      header_data-DISTR_CHAN   = Stru_Zsaleheader-DISTR_CHAN.
      header_data-DIVISION = Stru_Zsaleheader-DIVISION.
      header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
      partner_wa-PARTN_ROLE   = Stru_Zsaleheader-PARTN_ROLE.
      partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
       append partner_wa to partner_data.
        Elem_Zsaleitem->get_Static_Attributes(
        importing
          Static_Attributes = Stru_Zsaleitem ).
      item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
      item_wa-MATERIAL   = Stru_Zsaleitem-MATERIAL.
      item_wa-PLANT = Stru_Zsaleitem-PLANT.
      item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
      item_wa-COND_TYPE   = Stru_Zsaleitem-COND_TYPE.
      item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
      append item_wa to item_data.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        ORDER_HEADER_IN           = header_data
      WITHOUT_COMMIT            = ' '
      CONVERT_PARVW_AUART       = ' '
    IMPORTING
       SALESDOCUMENT             = sales_order
      SOLD_TO_PARTY             =
      SHIP_TO_PARTY             =
      BILLING_PARTY             =
       RETURN                    = errorlog
      TABLES
        ORDER_ITEMS_IN            = item_data
        ORDER_PARTNERS            = partner_data
      ORDER_ITEMS_OUT           =
      ORDER_CFGS_REF            =
      ORDER_CFGS_INST           =
      ORDER_CFGS_PART_OF        =
      ORDER_CFGS_VALUE          =
      ORDER_CCARD               =
      ORDER_CFGS_BLOB           =
      ORDER_SCHEDULE_EX         =
    endmethod.
    PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
    Thanks in advance
    Ajay

    Hi,
    The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
    You may refer this article.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Add all files in the path while creating folio file in Folio builder

    Hello everyone.
    I am using InDesign CS 5 and creating folio for iPad 2. My Folio builder was working fine till last week, but suddenly i see a change the way it behaves. When I update the files in Folio builder, it adds all the files in the path (not just the links in the file) including source PSD files and other related files which I have never used in the InDesign, making the folio file increase in size. Can someone please help me how to overcome this situation?
    Thank a lot in advance.
    I look forward for your solution.

    Do you have an HTML file in there? If so, put it it (and its assets) in its own folder.
    Bob

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • My mac is stuck on this page that says installing one item and its been 3 days and nothing has installed i Cant escaped from it I dont know what to do            . HELP?!?!!?!!?!!

    I really need help like its so weird

    You've posted in a PowerPC old vintage system discussion area.
    Do you have an Intel based Mac or a G4/G5 model prior to 2006?
    If the computer is running OS X 10.7.5 or later, you may try to Force Quit the computer
    by holding the power button down for about a minute. Then try to start the computer
    in Recovery mode and if that is present, you can use OS X Utilities, and choose Disk
    utility to see if repairing the hard disk drive helps.
    Or from the original OS X install DVD, if you have a PPC Mac w/ OS X 10.5.8;
    or if Intel Mac w/ optical drive & retail or original install-restore on DVD... Insert
    the DVD and hold the C key down on startup to use tools on the Install DVD.
    Or before going this far, on attempt to restart, try SafeBoot where you hold the Shift
    key down after the start tone, and keep holding it until you see the login screen,
    for your user password. Continue holding the Shift key down until you see Desktop
    or Finder, then let the key go. This does may allow you to run Disk Utility from
    the system in the computer, to see if repair disk permissions can help it.
    You may have to use Recovery to attempt a reinstall of the OS X, if you have a
    computer that is an Intel-based Mac. You posted in an older Mac area for items
    built before 2006, that is before Macs had intel processors: they ran PowerPC.
    Should the issue be the probability of whatever you were attempting to get, did not
    make it, due to failure of the internet, or other issue, that may have timed out.
    With poor or spotty internet, software or system updates or upgrade is problematic.
    And if you were also using Wi-Fi, not an Ethernet connection, that usually is worse.
    Since iOS is not a Mac OS X system, that is meaningless or not helpful in determining
    anything about a Mac, or troubleshooting one. So actual related information is missing.
    To supply info about your Computer, its OS X version, and other configuration specs
    would help anyone else seeing your vague question.
    Good luck

Maybe you are looking for

  • Can't log into Sun DS 5.2 Console after installing Identity Synchronization

    Installing the Identity Synchronization module over the directory server prevents me from logging into the server using the console. I installed Sun Java System Directory Server 5.2 on a Windows 2000 server. After that, I installed the following in t

  • Urgent!!  Error in interactive planning

    Hi Gurus,              I am getting error in interactive planning "Invalid data Statues" for some material. I am able to run forecast for all the materials other then 10 products. Can anyone help me why this error is coming up? I checked the data in

  • Help configuring dashboard editor to be read-only for shared dashboards

    Hi, Can someone help me configure my Oracle BI user group permissions so that... my dashboard developers to be able to see the reports and prompts make up our shared dashboards (ie. use the "Page Options>Edit Dashboard..." menu option). But I'd like

  • Gathering statistics on partitioned and non-partitioned tables

    Hi all, My DB is 11.1 I find that gathering statistics on partitioned tables are really slow. TABLE_NAME                       NUM_ROWS     BLOCKS SAMPLE_SIZE LAST_ANALYZED PARTITIONED COMPRESSION O_FCT_BP1                        112123170     843140

  • System.log filling up with enqueueData rtn message

    I'm seeing the following log entry in system.log 7-9 times a second: Oct 22 11:00:00 pbair-paulywalnutz-com kernel[0]: ttyioss9000003: enqueueData rtn (e00002d8) I've tried googling and checked discussions here but can't find anything that seems to b