Need help to read the item details while creating the Opportunity in SAP CR

Hi,
I need to read the values entered at item level while creating a new opportunity in SAP CRM 5.0.
Is there any function modle to do that ? I need to read the custom fields (developed by EEWB)
and sum  them up and populate at the header level.
As the data is not saved yet, I cannot read from database in the present scenario.
Thanks and regards

Hi,
  U can use CRM_ORDER_READ.
1) Pass the values for the ITEM guid which u want to read.
2) ignore the other header guid and object id because it is for whole contract
3) if u had custmize any table it will be available in the internal table returned by the function module.
4) u have to identify which internal table will contain the field since many internal table are available with similar meaning.
4) CRM_ORDER_ORDER is heavy function module it reads entire contract hence u need to specify which internal table u have to read any only those values will be read. for that u have to fill in <b>it_requested_objects</b>
fill requested ogject with below statement
INSERT gc_object_name-orderadm_h  INTO TABLE lit_import_tab.
gc_object_name is constant structure u have to include
*-Standard Include
  INCLUDE crm_object_names_con.
Mark helpfull answers
Regards
Manoj

Similar Messages

  • Updating the VETVG table while creating the purchase order

    hi all,
       I have one requirement to calculated the delivery creation date while creating the Purchase Order. It is calculated based on the delivery date of PO. I have calculated that one but how to update it after calculation. Can any body give a user exit or BADI with implementation which will update the VETVG table while creating the PO.
    Thanks
    rajkumar

    hi sanjay,
    thanks for reply, I am using same BADI(ME_PROCESS_PO_CUST) and implementation(FIELDSELECTION_ITEM_REFKEYS). In this implementation i am setting the shipping data with SET_SHIPPINGDATA method . but after that the values are not updating the EKPV and VETVG tables but it is only showing in the screen. Can you give a idea where to pass these values so it will update the tables.
    thanks
    rajkumar

  • Getting the following error while creating the model for webdynpro app.

    Plugin Name: Web Dynpro Model Editor Services
    Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
    Class      :ap.ide.webdynpro.modeleditor.wizards.model.              creation.ModelDialog
    Method     : nextPressed
    Exception  : org.eclipse.swt.SWTException: Failed to  execute runnable (java.lang.NoClassDefFoundError)
    This is the error i am getting while creating the model for the webdynpro application. Can some one help ?
    Thanks & Regards
    Lalith

    hi
    This error occurs mainly due to the reason that particular plugin is not there in the NWDS.
    So please try to reinstall the NWDS or try tracing out whether that particular plugin is there or not.
    Thank,
    kris

  • Project Template is not in the selection list while creating the Project

    Hello
    We have created a template for a project type in cProjects. When i try to create a project by copying the template and choose "Template Type" as 'Project Template' and 'Project Type' then in the field of 'Template' i cannot see the templates which are created for the selected project type.
    what could be the reason?
    thanks in advance
    Ashish K

    Hi
    1. While creating the template, you should maintain the project type for which this template would be used. I believe you would have done this.
    2. The template has to be released. only after this, it can be used as a template to create projects.
    Regards,
    Maniraj

  • Need help in dispalying work item details

    hi friends
    I am Displaying work items with some details like work flow item text ,user ,agent and all
    Her along with these i need to display responsibility object(OTYPE = RY) mapped with work item ..
    For this i have Responisbility (HRS1000-stext) and responsibility object(HRp1240-objid) on selection screen .
    So finally i need to relate these responsibility and responsibility object and  work item ..
    any one have experience on these type of situation please help me .

    Hi
       your answer is helpful to me ..
       I am getting the RY objects from HRP1001 .
      And when i go to HRP1218  No records for the OBJID from HRP1001.Is it the data problem ..
      If i have the records in HRP1218 ,if we pass the TABNR in HRT1218 ..can i get the work item  with TABNR.
    Becuase when i see in HRT1218 all  records have PLANT as re field .

  • Need help with "ORA-00902: invalid datatype"  while creating a view

    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options.....
    when I try ti create a view, I am getting ORA-00902 error.
    SQL> create view sales_view as
    2 select *
    3 from table(OLAP_TABLE('global DURATION session',
    4 'sales_type_table',
    5 '',
    6 'DIMENSION time_id FROM time
    7 DIMENSION channel_id FROM channel
    8 DIMENSION product_id FROM product
    9 DIMENSION customer_id FROM customer
    10 MEASURE sales FROM sales
    11 MEASURE units FROM units
    12 MEASURE extended_cost FROM extended_cost
    13 MEASURE forecast_sales FROM fcast_sales
    14 ROW2CELL olap_calc'));
    create view sales_view as
    ERROR at line 1:
    ORA-00902: invalid datatype
    ORA-06512: at "SYS.OLAPIMPL_T", line 23
    ORA-06512: at "SYS.OLAPIMPL_T", line 17
    ORA-06512: at line 4
    I am new to Oracle.... using document "40261_leveragingtools.pdf" as a guide against a cube created using "Global_AWM10g_Handson.doc".
    AWM displays data from cube without a problem.
    I would welcome any assistance.

    Can you provide the definition of sales_type_table? Also, Are all of the dimensions you have created of type TEXT?
    Swapan.

  • ERROR WHILE CREATING THE SALES ORDER

    Hi,
    When creating the sales order i am entering "mode of transport"in TSW details and while trying to save it im getting a message saying "Express document "update was terminated"" recieved from the author "Rahul". If i dont enter the TSW detail while creating i am able to save the order and later in change mode i can enter the mode of transport.
    When i check the inbox, it says "definately cannot transfer message to node SMTP due to connection error".
    This is hapenning for only one user.
    What could be the problem?
    Regards,
    Rahul.

    Hi Rahul,
    I think you need to enter the mode of transport in external details where it will take for further processing. TSW is different process.
    Thanks
    Pravin

  • Getting Error While creating the iViews in EP.

    Dear Experts,
    I am getting the below error while creating the new iViews in the EP.
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/pb.
    Exception id: [00142A4FD4AA006400000B0F00005BA80004CAFF2F033C5E]
    Please help me to resolve this error.
    Thanks  & Regards,
    Sachin Sable

    Hi ,
    Check the possible causes of error
    http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm
    and check the logs related to that exceptionid.
    Koti Reddy

  • Error while creating the 'LOV' type parameter in Siebel 8.1.1.5

    Hi,
    One of my Customer is facing the below error while creatting the parameter of type 'LOV' in Parameter applet in Siebel 8.1.1.5
    Runtime Error!
    Program: C:\Program Files\Internet Explorer\iexplorer.exe
    This application has requested the Runtime to terminate it in an usual way. Please contact the application’s support team for more information
    Could some please let me know what would be the reason for this issue?
    Thanks in advance for your help.
    Thanks,
    Ravi

    Please close this thread...it appears that the error occurs when the report involves a big set of records. I tried trying to filter only one record and was able to produce the pdf

  • Serial number error while creating the production order

    Hello frds,
    I am getting the following error while creating the production order.
    "Item 000000 requires exactly 100 serial numbers for the asset".
    If i give 100 serial numbers in the order, the error is solved. But i do not want to assign 100 serial numbers, i want to assign only 2 numbers.
    I have tried using the new serial number profile also, but it is giving same error.
    Kindly guide.
    Regards,
    Narendra Bora

    Dear Narendra
    Select the serial number profile and go to serialization procedure and set the ser. usage status 02 - Optional as below.
    Procd Procedure description Ser.Usage
    PPRL PP order release 02
    since the serail number creation is optional for order relase this will allow you to relase with out error and with serail number assigned in partial.
    Regards
    Soundar

  • Error while creating the JCO destinations

    Hi All,
    I am getting the following error while creating the JCO destinations.
    <b>There are no message servers maintained in the associated SLD. Please contact your system administrator.</b>
    Please help me in resolving this
    Thanks

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm
    Creating New Web AS ABAP Technical Systems
    /*Reward if helpful
    Message was edited by:
            Anant
    Message was edited by:
            Anant

  • Validation chack while create the plant

    Hi All,
    can we do the validation check while create the new plant. in the custom
    ex: if i suppose to create the plant with name ABCD
    i want to maintain meaning for the each word before create the plant.
    the system should validate the each letter of the plant name while creating.
    Edited by: raj on Sep 9, 2008 2:03 PM

    HI Keshav.
    What i did is created a popup with FM in the popup i have 4 field
    the field with the data type which i want to trigger event to it is domain and not ref to FM
    The ppoup have 4 field
    attr name
    datatype
    length
    decimal
    so from what you are say there is not option to trigger event when the user press F4
    and choose a entry from it ,
    since what i want to do is that if user for instance chose string i want that the next to fields (length and dec ) will be
    remove from the popup since he dont need them .
    and for he choose char the the decimal field will remove from the popup
    Any idea how to solve this issue ?
    Regards
    Alex
    Edited by: Alex Dean on Oct 12, 2010 3:02 PM

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • Subject field while creating the change request

    Hi All
    I want to populate the subject field in the change request by default.

    Hi
    The automatic population of the subject field while creating the CR through folloup transaction from Support message.
    Regards
    Kumar

  • I need help changing my credit card details so that I can use the App Store but I can't get it to work

    I need help updating credit card. Details as its not sllowing me to get any apps

    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Changing Account Information  >  http://support.apple.com/kb/HT1918
    If necessary... Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • Error message - won't let me burn any dvd's

    Hello Tried a couple of times to burn this DVD project using DVD SP 4.1 and the first DVD went well, tried a second one got this error message...tried a different dvd got the same message: Formatting failed The recording device reported the media err

  • MS-5169 v. 2.1 and what update for CPU ?

    Hi there, I have a MS-5169 v. 2.1 with Bios AMI v. 3.1 (It used to be v. 2.2). The CPU now is AMD K-2 333 MHz but I have a K-2 400 MHz in my drawer I would like to use !   Is it possible to update the M.B. v. 2.1 to use a K-2 400 MHz  ?   The reason

  • Integration Builder Connect Problem

    Hi I'm working on an installation of XI3.0. When trying to connect to IB Repository or Directory it gives the following problem. #431 21:22:01 [AWT-EventQueue-1] ERROR com.sap.aii.util.swing.toolkit.ExceptionDialog: Throwable Thrown: MESSAGE ID: com.

  • Accordian widget inconsistent when pushing elements below

    I am facing several annoying issues with the accordians on this page: Leather Interior Kits I have searched the forums and in all related posts, no working solution has been offered. In the top Accordian, clicking Leather content - it correctly pushe

  • Adding ASAv cluster into APIC: Status remains as init

    Hi, I've been trying to integrate an ASAv cluster into the APIC, but couldn't seem to get it working. The status remains as "init". However, when I add a standalone ASAv into APIC, the integration seems to work fine. Could someone offer some insight