Capturing a field value in output view

Hi Experts,
How can we capture a field value from a table being displayed in a view, for example i am displaying a view with some PO's in a table.If the user clicks on a particular row, i need to capture the PO number he clicked on to display detail data of that PO.
Probably this is a basic question, but i am new to WD4A and i have searched for a answer in SDN and coudnt get it.
Thanks.

You can make the column for displaying PO numbers as a link to url i.e use celle ditor as link to url.
Now you will see all the PO # underlined. Now when sm1 clicks on the PO you can display the PO details either in a table or in a Popup.
Also please elaborate if you are using aLV table or normal table control uielement to display PO's
If its ALV you can check this article to implement your scenario [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8?overridelayout=true]

Similar Messages

  • Pass Values to Output View WDA

    Hello WDA experts,
    I am creating a simple application to create 2 views. 1 Input and othe output view. I created Input view and able to get the input fields and do further selections in some strucutres in the method. Now I want to pass these values to output view fields. Where should I do the coding and what interface is to be used? Some coding clue please.
    Thanks
    Prasad

    hi prasad..........
              Consider you are having two views, view1 and view2.
              You want to pass a value from view1 to view2.
              Have an input field in view1.
              Create a node in the component controller.
              create an attribute in that node.
              now go to your view1->context.
              drag the node you created, from the component controller to your view context.
              now map the attribute to your input field.
              you might be having a button to navigate to view2.
              in view2 consider you are having another input field which displays the value you enterd in view1.
              now drag the same node into your view 2 context.
              so now view1 nad view2 will be sharing the same node.
              so automatically the values will be passed.
    ---regards,
       alex b justin.

  • How to capture the Subtype value in Overview view of Address iview

    Hello Experts,
    Below is wdDomodify function of Overview of Address iview.
    TO create bizcards create overview function of FcPersInfo is called.
    Here I want to send fieldinfo1 as the parameter to that fnction  if the subtype is permanent office. can any one please give me a hint how to proceed on this.
    //@@end
      public static void wdDoModifyView(IPrivateBizCardsView wdThis, IPrivateBizCardsView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
              BizcardFieldInfo[] fieldInfo;
             BizcardFieldInfo[] fieldInfo1;
              Date defaultBegda = wdContext.currentContextElement().getDefault_Begda();
              String bizcardField1 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField1");
              String bizcardField2 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField2");
              String bizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3");
         String BizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3");     // House #
         String BizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField4");     // City
         String BizcardField5 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField5");     // State
         String BizcardField6 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField6");     // Zip Code
         String BizcardField7 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText
              fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras"),
                                                            new BizcardFieldInfo(bizcardField2, "Ort01"),
                                                            new BizcardFieldInfo(bizcardField3, "Telnr"),
              fieldInfo1 = new BizcardFieldInfo[] {
                                                      new BizcardFieldInfo(BizcardField3, "Stras"),     // House #
                                                       new BizcardFieldInfo(BizcardField4, "Ort01"),     // City
                                                       new BizcardFieldInfo(BizcardField5, "State"),     // State
                                                       new BizcardFieldInfo(BizcardField6, "Pstlz"),     // Zip Code
                                                       new BizcardFieldInfo(BizcardField7, "Land1")                                                   };
    wdThis.wdGetFcPersInfoInterface().CreateOverview(
                                                        wdThis.wdGetContext().nodeInfotypeList(),
                                                        view,
                                                        fieldInfo,                                                    "Anssa");     
    Thanks,
    Boiler

    Hello Bolier !!
    Were you able to do the same  ? " capture the Subtype value in Overview view of Address iview"
    Since I am in similar soup  , I would like your help on that matter .If this can be done we can identify and control the delete  button for the subtype (2 & 1)
    Please suggest !!

  • File to RFC/BAPI - Async- How to capture response field value

    Hi,
    I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.
    For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.
    How do I proceed with the Mapping. I am working on PI 7.1
    Any input would be Appreciated.
    Thanks & Regards,
    Varun

    Hi Varun,
    apparently you need a Business Process:
    XML -> BP (asynchronous), Map to Bapi1 request structure
    BP -> BAPI 1 (synchronous)
    Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure
    BP-> BAPI2
    Regards,
    Udo

  • Unable to capture Input field value on BSP page

    Hi
    I have copied ROS (SRM) standard application ROS_PRESCREEN3 into custom and added one input field .
    Now when user enters some value in it , i am not able to get that value in my back-hand code.
    I have treid the availble code on Fourm , its not working .
    Regards
    Raul

    Hi ,
    I am getting the input field values in my back hand using MVC .
    Regards
    Raul

  • Audit prev and new field values

    We have a need to on certain transactions e.g. VA02 to capture field level changes for purposes of audit and control.  The Document History for these transactions just displays that a change was made and by whom.  We would like more granular logging that would capture the field value before the change and the new value.  Are there any SAP out-of-the-box options for us?
    Much Thanks,
    Greg

    HI Greg,
    just check if AUT01 is helpful where u can try to configure logging for such fileds and the report in AUT10 can be more useful.. just an input ...as it shd be helpful in ur search ..
    Br,
    Sri
    Award points for helpful answers

  • Reg. F-53 RF05A-AGKON screen field value

    Hi Friends,
      While pressing enter key on F-53 first screen i need to capture the value of the screen value 'RF05A-AGKON'. I tring with the substitution exit. But i am not able to capture the field value. Is any other way? Please guide me.
    Regards
    Srikanth. S

    Hello
    If you do a F1 in the value date field it will give you the answer - The value date is used in bank accounts and bank sub-accounts.
    As regards the other query check whether the tax code has been already created.
    Hope it helps.
    Rgds

  • Dynamic field value capture

    Hello Experts,
    I need  to capture field value which is entered by the user in the dynamic selection screen in a Z report.
    Please suggest best possible solution for this.
    BR,
    Nisha

    Hello Syed,
    Thanks for your reply.
    Just now i found that my transaction is a copy of standard transaction GJ93 with some additional fields.
    But i am not able to find any select-options statement to be declared for plant so does that mean select option is also getting dynamically created.
    Then how i will transfer value to internal table which is for reading current screen values while using FM DYNP_VALUES_READ.
    To be in more detail,the issue is like when user is entering value in plant and executing,output is not getting filtered as per the plant she enters in the dynamic selection screen.
    Is it like my required functionality already exists in the program which i unable to find it.
    Please help.
    BR,
    Nisha

  • Unable to capture field values in Master agreement  Line Items

    I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
    agreementBean = doc.getRootParentIBean();
    lineItemCollection = agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    for(i=0;i<collectionsize;i++){
         collectionbean = lineItemCollection.get(i);
         partNum = ""+collectionbean.getPartNumber() ;
         Quantity = ""+collectionbean.getQuantity();     
         throw doc.createApplicationException(null,partNum + " , " + Quantity );
    Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
    1. Price Unit
    2. Unit Price
    3. Product Category
    4. Plant
    Please help me to find the values.
    Thankx in Advance.
    Su
    Edited by: subrataindra on Aug 10, 2010 11:11 AM

    This will return the name of the plant.
    .getExtensionField("PLANT").get().getDisplayName(session);
    Check if this returns the product category
    collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
    This will Return the Price
    collectionbean.getExtensionField("PRICE").get().getPrice();
    (return type :BigDecimal)
    This will return the currency
    collectionbean.getExtensionField("PRICE").get().getCurrency;
    (Return type:String)
    Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
    Hope this helps
    Regards,
    Immanuel

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

  • How can we make one view field value to be copied to other field of the the

    Hi   
       I am new  in CRM2007 I have enhanced sap component & enhanced SAP View but I wanted the field value of the enhanced view to be mapped to the field value of the same view which is added from EEWB
    Pls tell me if the added new field can be made as Dropdown list box without fixed values & Design Layer customizing I mean to say through coding can we made the input field as Dropdown
    Appreciate any help in advance
    Thanks
    Neel

    Hi,
    You can write your own ligic in GET_V_<FIELD> method. Select the values which needs to be displayed in the drop down list based on your own condition. Some sample code is given below:
    METHOD get_v_zzverksomr.
      DATA: lt_ddlb           TYPE bsp_wd_dropdown_table,
              ls_ddlb           TYPE bsp_wd_dropdown_line,
              lv_display_only   TYPE string,
              gr_ddlb_verksomr  type ref to CL_CRM_UIU_DDLB,
              ls_verksomr_values  TYPE LINE OF vrm_values.
        SELECT verksomr verksomrtxt FROM zkb_verks
           INTO TABLE lt_ddlb.
        IF sy-subrc EQ 0.
          INSERT INITIAL LINE INTO lt_ddlb INDEX 1.
        ENDIF.
      IF gr_ddlb_verksomr IS NOT BOUND.
        FREE gr_ddlb_verksomr.
        CREATE OBJECT gr_ddlb_verksomr
          EXPORTING
            iv_source_type = 'T'.
        LOOP AT gt_verksomr_values INTO ls_verksomr_values.
          ls_ddlb-key   = ls_verksomr_values-key.
          ls_ddlb-value = ls_verksomr_values-text.
          APPEND ls_ddlb TO lt_ddlb.
        ENDLOOP.
        gr_ddlb_verksomr->set_selection_table( it_selection_table = lt_ddlb ).
      ENDIF.
      rv_valuehelp_descriptor = gr_ddlb_verksomr.
    ENDMETHOD.
    Thanks
    Swagatika

  • How do i pass a value to Output field in a standerd screen...?

    Hi all..
    I have a developed a BDC program for User upload,  I'm facing problem to pass a value to Output field..
    Its Displaying Status Message as ZSHIPTO is not a Input field,
    looking forward to hear from you all,
    thanks in anticaipation,
    full points will be awarded for usefull answer..
    regards,
    Sekhar.

    just check in transaction whethere that field is an input field or not ( imean to say that field is in the display mode (gray field) or it is in change mode(input is accept).
    also check for that particular field in the coding .
    Thanks

  • How to get the Output File Name as One of the Field Value From Payload

    Hi All,
    I want to get the Output file name as one of the Field value from payload.
    Example:
    Source XML
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_TEST xmlns:ns0="http://sample.com">
    - <Header>
      <NAME>Bopanna</NAME>
      </Header>
      </ns0:MT_TEST>
    I want to get the Output file name as " Bopanna.xml"
    Please suggest me on this.
    Regards
    Bopanna

    Hi,
    There are couple of links already available for this. Just for info see the below details,
    The Output file name could be used from the field value of payload. For this you need to use the UDF DynamicFile name with below code,
    //       Description: Function to create dynamic Filename
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    With this udf map it with the MessageType as
    (File Name field from Payload) > DynamicFileConfiguration>MTReceiver
    Thanks
    Swarup

  • Arrow mark with kunnr field values in alv output.

    Hi ,
    I  need to increase the column field length. I am using Function Module REUSE_ALV_LIST_DISPLAY because alv_grid display fm is not available in 4.0b version. I have used column optimization in layout. The column kunnr is coming with a small arrow though there is no data loss. Is there any way I can remove the arrow mark with kunnr field values.

    Hi,
    You can increase your column lenght in fieldcat by using Fcat-columnwidth = "SIZE OF KUNNR ".
    Set the size of kunnr field in fieldcat and get the appropiate output.
    Regards
    Abdul

  • How do you output a field column depending on another fields value?

    when selecting a field in a query, how do you output it on its own column depending on another fields value?
    For example
    Select
    a.gross_vol as Gas_vol when a.Object_code = "GAS"
    a.gross_vol as Wat_Vol when a.object_code = "water"

    how do you output it on its own column depending on another fields value?Scalar subquery maybe?:
    michaels>  select (select ename from emp where empno = 7788) scott_ename,
           (select ename from emp where empno = 7839) king_ename
      from dual
    SCOTT_ENAM KING_ENAME
    SCOTT      KING 

Maybe you are looking for

  • Characteristic relationship not working

    Hi All, I created a characteristic relationship using Datastore object considering two infoobjects that were available both in my real cube as well as the ods. Bcos of this i was able to generate(through reporting on cube) a valid combination of thes

  • Recieved error messages while performing recovery to factory state from the hard drive

    HP Touchsmart tx2-1165ea, product no:NM515EA,microsoft vista SP1 operating system. I keep recieving error messages during  recovery to factory state from hard drive and  perfoming a recovery from my recovery disc hangs on disc2. Therefore I am unable

  • F110 - Automatic email to vendor when payment run is carried out

    Hi, I am trying to configure automatic emails to be sent to vendor when automatic payment run is carried out. Please note that i have already carried out the following settings: Step 1- Define Std communication method as SMTP (Internet mail) in vendo

  • CALL Transaction in background not working pls help URGENT

    hi i have writtin a bdc program which uses CALL TRSANCTION everything is working in foreground. if i schedule the program in background the call transaction does not work. any idea why????????? pls help its urgent

  • Finder does not appear in All Desktops

    Suppose that you have set up multiple Desktops from Mission Control. From the Dock, I choose Finder > Options > (Assign To) All Desktops. This is so that varius open windows on the Desktops will appear on All Desktops. However, this setting does not