How do I add a column to the Result for BT111S_OPPT

Hi,
I have a requirement to include a header level partner in the Results view of BT111S_OPPT.  It is already possible to search by this partner function but the partner column is not available on the view 'BT111S_OPPT/Result'.  My research has pointed me toward using the "ITERATOR" but a related blog was not available and I must admit that I am rather confused as to how to use the "ITERATOR".  I am assuming that I can use it to GET->CURRENT but then I don't know what to do after that.
Any help is appreciated as we are under time pressure.  Thanks.
Cheers,
Paul

Hi,
iterators are normally used to convert data in lists which are already evaluated.
In your case you better add a new column to the result list node and implement the getter with your own
code. This would look quite similar like (just an example)
METHOD get_po_number_ship.
  DATA:
        lv_po_number_ship TYPE crmt_po_number_ship,
        lr_current TYPE REF TO if_bol_bo_property_access,
        lr_entity  TYPE REF TO cl_crm_bol_entity.
  IF iterator IS BOUND.
    lr_current = iterator->get_current( ).
  ELSE.
    lr_current = collection_wrapper->get_current( ).
  ENDIF.
  TRY.
      lr_entity ?= lr_current.
      lr_entity ?= lr_entity->get_related_entity( iv_relation_name = 'BTItemSalesSet' ).
      IF lr_entity IS BOUND.
        lr_entity->get_property_as_value( EXPORTING iv_attr_name = 'PO_NUMBER_SHIP'
                                          IMPORTING ev_result    = lv_po_number_ship ).
      ENDIF.
    CATCH cx_sy_ref_is_initial.
      RETURN.
  ENDTRY.
  value = lv_po_number_ship.
ENDMETHOD.
Regards,
Wolfhard

Similar Messages

  • How can I add a contact on the calendar for an event

    How can I add a contact on the calendar for an event

    It is between Repeat and Alert on my iPhone 5 with iOS 6.0.1
    I used the + on the top right to add the event and when you look vertically starting with the name, followed by location and then time the rest of the default things includ Invitees, among other items. 

  • How can i add one field in the container for the standard task-90310004?

    Hi,
    Please let me know thw steps to add one field in the container for the standard task-90310004.
    Usefull suggestions will be rewarded.
    Regards,
    Neslin.

    <b>Hi,
    Containers are used for holding Application data for Workflow purposes.
    Event container
    Task container
    Workflow container
    Role container
    Binding is the linking of data from one container to the other for making data available all across the workflow.
    But you can get values from one container to another container like this
    Container(Con)
    1. WF Con to Role, Wf con to task con, Wf con to event
    and
    2. Event con to wf con, task con to wof con
    and
    3. Method con to task con
    and
    4. Task con to method con
    So, we don't have direct possible binding from task con to task con.
    Thanks and Regards,
    Prabhakar Dharmala</b>
    Message was edited by:
            Prabhakar Dharmala
        But you can do pass values from first task con to wf con and again from wf con to another task con

  • How to modify horizontal​.xsl to add few columns in the Result table?

    I would like to add few input parameters from my parameter variables in my report table using horizontal.xsl. It is like add columns to the table. Can someone advise?
    thanks
    rgds,
    toko

    toko,
    maybe you want to take a look here.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do I add to my message the request for a recipient to notify me that he has received the e-mail?

    Thank you very much for your help.

    Thank you, that was very kind of you. I am not exactly illiterate, but anything to do with technology makes the words swim in a grey haze. Have a nice day.

  • Is it possible to add a column to the SCSM User Picker?

    The issue: New employees, taking incident request calls, do not know who our VIPs are, and VIPs are supposed to be given additional service during the call itself, not simply after it. 
    I have extended the User and Group class and added an "isVIP" Boolean field.  I have a workflow that applies a template to incidents from people for whom this field is TRUE, but that happens after the fact, when the incident is saved... I'm
    trying to find a way to flag the employee taking the call RIGHT THEN AND THERE that they have a VIP on the line.
    I haven't had any luck finding a way to auto-fill a field during the creation of the Incident Request based on the name selected as the Affected User.   I hit on the idea that maybe I could add a column to the results provided
    when you type a partial name and hit the "..." button in the User Picker.  Right now we get First Name, Last Name, Title, User Name, Domain and Company.  Is there any way to add another column and have the isVIP field provided?
    Or, if not an extended field, how about any field that is already part of that class?  
    Thanks for whatever advice you can give.

    Hi Ryan,
    You cannot do it with the default control (UserPicker) but there's a way to present the VIP flag immediately . Please refer to
    this.
    Cheers,
    Marat
    Site: www.scutils.com 
    Twitter: LinkedIn:
    Graveyard:

  • How to add a Field to the Result List in Activity

    Hello Experts !
    We are on CRM 7.0. I want to add a field to the Result List of Activity (Component: BT126S_APPT / View: ApptSR). This field is the address of the "Employee Responsible".
    So, how can I add a field to the Result List? AET is not a relevant tool for us because we don't want to create an attribute it already exist in the BOL. We just have to enhance the result list with BOL existing attributes.
    Also, after I add the field, I will need to populate my field with Data via some method.
    Thanks in Advance to all !
    Mariano.-
    SAP.

    Hi Mariano,
    The component was missing some technical data. Implement sap notes 1226612, 1363752, and then follow the manual procedure shown below.
    u2022     Execute transaction SE11.
    u2022     Choose the Radio button "Data Type" and enter value
                  "CRMST_QUERY_R_ACT_BTIL" in the Data Type field.
    u2022     Click on "Change" button.
    u2022     Position the cursor before the Includes added to this structure. Click
                 On the "+" button to add a new attribute.
    u2022     Enter the following details in the newly added blank row.
         Component: PERSON_RESP_LIST
         Component Type: CRMT_PERSON_RESP_LIST.
    u2022     Save the changes and activate the structure.
    u2022     Add the "Employee Responsible" field to the View configuration.
    u2022     Open the BSP application BT126S_APPT.
    u2022     Double-click on the view BT126S_APPT/ApptSR in the left side panel.
    u2022     Choose tab "Configuration" in right side panel.
    u2022     Choose the right configuration by using the "Choose Configuration" button.
    u2022     Click on the Edit button.
    u2022     Add the "Employee Responsible" attribute from the "Available fields" list to "Displayed fields" list.
    u2022     Save the changes
    Regards
    Krishna

  • How to add one column into the t.code: cat2

    Hi
    I am userexits
    here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
    how to do this...
    thankx

    hi,
        CATS0005           
        CATS0007           
        CATS0009        
        CATS0010        
        CATS0012.
        Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements.

  • How to add one column to the standard t.code : CAT2.

    Hi,
    How to add one column to the standard t.code : CAT2.
    thanks

    Hi Chinna
    see the  enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to add customized column in the time sheet CATS (transaction CAT2) ?

    Hello,
    I need to be able to add some columns in the time sheet CAT2 containing:
    - the name and first name of the person (in addition of the number), in display mode in the CATS time sheet.
    - a  text that I will found by reading some tables and values...
    Does anyone have any idea how to do so ? and if it's possible or not?
    Thanks a lot in advance for your help.
    Best regards
    Fanny GROUX

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • How do I add a contact from the same company to my address book?

    How do I add a contact from the same company to my address book? I do not want to re-type all of the information. Thanks for your help.

    Any card in your address book can be duplicated. Select the card within the Name column, and use the Edit > Copy menu item followed by the Edit > Paste menu item. Then you can update the card copy and only change the name/email/phone fields as needed.

  • Is it possible to add a column to the Item matrix in the ItemLookup form (C

    Hi,
    Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
    I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
    Thanks

    Hi,
    You may check this: Can we add CFL to the  system/form defined textbox?
    Please close your previous open thread.
    Thanks,
    Gordon

  • How can I add multi columns to a JCombo Box ?

    Dear experts,
    How can I add multi columns to a JCombo Box ?
    Thankx in advance
    Unique

    What do you mean by adding Multiple columns? JCombobox is a component in which you can choose a value from a list(rows) of values. Could you please explain why do you want multiple columns in the JComboBox. I suppose JComboBox is not meant for that.
    Thanks,
    Jana

  • How can I add a column in a finder window

    How can I add a column in a finder window? I'm working with music files (mp3 and other formats) and would like to sort by artist, album, etc but this columns will not show up in Finder. The info is there but I just can't get it in a column I can use to sort the list of music files. Please help.

    Are you using a folder system to organize your music?

  • How do i add partial columns to a document

    how do i add partial columns to a document with out changing the other part of the document

    You can insert layout breaks to change the number of columns throughout your document. This screenshot is from a newsletter I did in Pages 1/iWork '05, but this function is unchanged.
    You should change your profile information that appears at the bottom of your posts. Mac OS 9 hasn't been a current OS for over 10 years & there is no way to run Pages on it. If you're not sure what version of Mac OS you're using, click the  in the upper left of your menu bar & choose About This Mac.

Maybe you are looking for

  • MSI GF4 Ti-4200 doesnt work with WindowsXP

    I can't get the MSI display tools to work - it crashes, the vbios.dll doesnt load, it also crashes. the tv in doesnt work ,it crashes the tv out doesnt work ,it crashes. all the supplied software also crashes "application has encountered an error and

  • Drag Dvd Studio into the trash can

    I advise everyone here to drag DVD Studio Pro into the trash can. After you do that, burn all your needed dvd files to a blank dvd and import them into a program called DVD Studio Lab for the PC. Yea, I know what you are thinking. NOT A PC!! Let me t

  • Loan request - ESS - Error on eligiblity

    Hi Loans are configured in R/3 and working fine .... I configured the same for ESS ( Benefits and Payments - > Loan Requests ) when i try to raise a request for a loan type in ESS , i get en error saying " The Experience of employee 00000022 is less

  • How To Restart After Reporting a Failure?

    In my packages a failing step links to a step which sends an e-mail reporting the reason for the failure using odiRef.getPrevStepLog("MESSAGE"). The e-mail step then must itself fail to stop the package from continuing. This all works well, but how c

  • Variable binding for Date type over ODBC

    Hi I'm trying to parameterize a DATE variable over ODBC. Over JDBC I have no problem doing so in Java but on the ODBC (C-code) I had problem figuring out how to deal with the expression, *{ts '2009-02-23 09:02:10'}.* But eventually based on SQL traci