How to get a field value in the report

hi all :-
i need to get the field value in the formate trigger inside a specified field in the report?

please post your request in the report category forum

Similar Messages

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • How to get Input field value?

    Hi All,
    I have some problem in getting of input value from View to customcontroller.
    My problem is I have created a Input field in the view and if Iam giving the value to that field I can capture the value from View to customcontroller and send it as BAPI input.But My input filed is in the view Context.
    How can i capture InputFiled value from View to CustomController.
    Advance thanks
    Nageswara.
    Message was edited by: nageswar mandapati

    Thanks for your response Patrick,
    In my customcontrollerView all my BAPI mathods instances and execute methods are declared.All the attributes directly getting from model class.
    But I have two views , in first view I created a input field(for that i created valueAttribute in that context).
    Here I want give the conditions If  the input field is empty then directly call the execute method of BAPI.
    Otherwise give any input to the inputfiled then capture that value and send it input to BAPI from view to BAPI.
    In my customcontroller
    BAPI b = new BAPI();
    b.Param1();
    b.param2();
    and
    execute BAPI()
    I done like this.
    How can i capture the view input value how to send as a b.parama();
    Please guide me .
    Any snippests appriciate.
    Thanks
    nageswara.

  • How to get custom field value in vbkd table using "SD_SALESDOCUMENT_CREATE" bapi

    Hi Experts,
    Need your help . In one program Iam using SD_SALESDOCUMENT_CREATE bapi .
    i/p for my report is am excel.
    excel is having  below formatt.
    To create salesdoc we are using SD_SALESDOC_CREATE bapi.
    but After execution of the program we are unable to find the ZZFV_SBCNT (which is custom  field) in VBKD w.r.t salesdocument.
    Need your help what we need to do to reflect the value in vbkd table.
    Here temp will contains the data from excel
    1)
    FORM f_move_header_data .
       wg_header-doc_type            = wg_temp-auart .                   "Order type
       wg_header-sales_org           = wg_temp-vkorg .                   "Sales Organization
       wg_header-distr_chan          = wg_temp-vtweg .                   "Distribution Channel
       wg_header-division            = wg_temp-spart.                    "Division
       wg_header-sales_off           = wg_temp-vkbur .                   "Sales Office
       wg_header-sales_grp           = wg_temp-vkgrp .                   "Sales Group
       wg_header-purch_no_c          = wg_temp-bstnk .                   "Customer purchase order number
       wg_header-pymt_meth           = wg_temp-zlsch  .                  "Payment Method
       wg_header-zzychan_role        = wg_temp-zzychan_role_i.           "Channel Role
       wg_header-zzysub_role         = wg_temp-zzysub_role  .            "Submitter Role
       wg_header-zzy_inv_for_opt     = wg_temp-zzinv_format  .           "Invoice Format Optio
       wg_header-ord_reason          = wg_temp-augru  .                  "Order Reason Code
       wg_header-bill_block          = wg_temp-faksp.                    "Billing Block
       wg_headerx-doc_type            = c_set .                   "Order type
       wg_headerx-sales_org           = c_set .                   "Sales Organization
       wg_headerx-distr_chan          = c_set .                   "Distribution Channel
       wg_headerx-division            = c_set.                    "Division
       wg_headerx-sales_off           = c_set .                   "Sales Office
       wg_headerx-sales_grp           = c_set .                   "Sales Group
       wg_headerx-purch_no_c          = c_set .                   "Customer purchase order number
       wg_headerx-pymt_meth           = c_set  .                  "Payment Method
       wg_headerx-zzychan_role        = c_set.                    "Channel Role
       wg_headerx-zzysub_role         = c_set .                   "Submitter Role
       wg_headerx-zzy_inv_for_opt     = c_set .                   "Invoice Format Option
       wg_headerx-ord_reason          = c_set .                   "Order Reason Code
       wg_headerx-bill_block           = c_set.                    "Billing Block
    ENDFORM.                    " F_MOVE_HEADER_DATA
    2)
    FORM f_move_item_data .
       wg_item-itm_number          =   g_itmnumber.                              "Item number
       wg_item-material            =   wg_process-matnr .                        "Material
       wg_item-target_qty          =   wg_process-target_qty.                    "Targeted Qty
       wg_item-item_categ          =   wg_process-pstyv.                         "Sales document item category
       wg_item-zzylegal_i          =   wg_process-zzlegal.                       "Legal Contract
    **********Added this line for vbkd-ZZFV_SBCNT****************************
       wg_item-zzfv_sbcnt          = wg_process-zzfv_sbcnt.      
    APPEND wg_item TO i_item.
    wg_itemx-material            =   c_set .                        "Material
       wg_itemx-target_qty          =   c_set.                         "Targeted Qty
       wg_itemx-item_categ          =   c_set.                         "Sales document item category
       wg_itemx-zzylegal_i          =   c_set.                         "Legal Contract
       wg_itemx-zzsteady_date       =   c_set .                        "Amortization Start Date
       wg_itemx-zzsteady_end_dat    =   c_set.                         "Amortization Stop Date
    **********Added this line for vbkd-ZZFV_SBCNT****************************
       wg_itemx-ZZFV_SBCNt     =   c_set.   "
       APPEND wg_itemx TO i_itemx.
       CLEAR : wg_itemx. 
    endform. 
    3)           
    FORM f_move_head_ext
    wg_extension-structure   = c_ext_vbak.
       wg_ext_vbak-zzinv_format = wg_temp-zzinv_format.
    wg_ext_vbak-zzychan_role = wg_temp-zzychan_role_i.
       wg_ext_vbak-zzysub_role  = wg_temp-zzysub_role.
       wg_extension+30 = wg_ext_vbak.
    APPEND wg_extension to i_extension.
    CLEAR wg_extension.
       wg_extensionx-structure =  c_ext_vbakx.
       wg_ext_vbakx-zzinv_format = c_set.
      wg_ext_vbakx-zzlegal      = c_set.
       wg_ext_vbakx-zzychan_role = c_set.
       wg_ext_vbakx-zzysub_role  = c_set.
       wg_extensionx+30 = wg_ext_vbakx.
       APPEND wg_extensionx TO i_extensionx.
       CLEAR wg_extensionx.
    ENDFORM.                    " F_MOVE_HEAD_EXT
    *&      Form  F_MOVE_ITEM_EXT
    *       Item Extension
    4)
    FORM f_move_item_ext .
    * Structure for BAPI parameter Extension
       wg_extension-structure = c_ext_vbap.
       wg_ext_vbap-posnr      = g_itmnumber.
       wg_ext_vbap-zzsteady_date       =   wg_process-zzsteady_date .                 "Amortization Start Date
       wg_ext_vbap-zzsteady_end_dat    =   wg_process-zzsteady_end_dat.               "Amortization Stop Date
       wg_ext_vbap-zzlegal             =   wg_process-zzlegal.                        "Legal Contract
       wg_extension+30 = wg_ext_vbap.
    APPEND wg_extension to i_extension.
    * Structure for BAPI parameter Extension - Update Indicator Fields
       wg_extensionx-structure =  c_ext_vbapx.
       wg_ext_vbapx-posnr = g_itmnumber.
       wg_ext_vbapx-zzsteady_date       =   c_set .
       wg_ext_vbapx-zzsteady_end_dat    =   c_set.
    *  wg_ext_vbapx-zzlegal             =   c_set.
    *wg_process-zzfv_sbcnt = c_set.
       wg_extensionx+30 = wg_ext_vbapx.
       APPEND wg_extensionx TO i_extensionx.
       CLEAR wg_extensionx.
    and bapi calling is like below.
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
         EXPORTING
           sales_header_in       = wg_header
           sales_header_inx      = wg_headerx
           logic_switch          = wg_logic_switch
           business_object       = fp_bus_obj
           status_buffer_refresh = 'X'
         IMPORTING
           salesdocument_ex      = g_sorder
         TABLES
          return                = i_return
           sales_items_in        = i_item
           sales_items_inx       = i_itemx
           sales_partners        = i_partner
           sales_conditions_in   = i_cond
           sales_conditions_inx  = i_condx
           sales_text            = i_text
           extensionin           = i_extension
         extensionex           = i_extensionx.
    still we are not getting ZZFV_SBCNT value in VBKD table w.r.t created salesdoc(g_sorder)
    Please help me from this issue.
    Thank You..

    Hi,
    Please let me know how to add custom fields in the characteristic list, My clients wants department and profit center grouping.
    Please tell me how to solve it..
    Thanks & Regards,
    Reena..

  • How to get ip field values to itab?

    hi,
    plz tel me how to get the values of set of inputfields into ITAB.
    suppose in BSP page there are three input fields like ...
    StudetnID
    NAME
    PLACE
    After Entering the details when i click save button it has to be store in dbtable.
    Plz help me.. i am new to BSP....
    Regards,
    shankar.

    Hi Shankar,
    Try like this...
    DATA: event type ref to cl_htmlb_event.
    DATA: ip_fields type TIHTTPNVP,
          wa_fields type ihttpnvp.
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    if event->id = 'btn'.
    request->get_form_fields( changing fields = ip_fields ).
    "for stud_id
    READ TABLE ip_fields INTO wa_fields WITH KEY name = 'ip1'.
            IF sy-subrc = 0.
              MOVE: wa_fields-value TO i_id.
            ENDIF.
    "for name
    READ TABLE ip_fields INTO wa_fields WITH KEY name = 'ip2'.
            IF sy-subrc = 0.
              MOVE: wa_fields-value TO i_name.
            ENDIF.
    "for place
    READ TABLE ip_fields INTO wa_fields WITH KEY name = 'ip3'.
            IF sy-subrc = 0.
              MOVE: wa_fields-value TO i_place.
            ENDIF.
    endif.
    In layout
    <htmlb:inputField  id = 'ip1' value = '<%=i_id %>'/>
    <htmlb:inputField  id = 'ip2'  value = '<%=i_name %>'/>
    <htmlb:inputField  id = 'ip3'  value = '<%=i_place %>'/>
    Give all the values with in double quote which are all written in single quote
    Regards,
    Sri

  • How to get Table Field values during sync from Events like DbSyncProgressEventArgs.

    Hi,
    I am facing an issue related to Sync. During  Sync as some Tables fails to sync, entire Session gets rollback. 
    Through DbSyncProgressEventArgs or DbApplyingChangesEventArgs, DbChangesSelectedEventArgs or DbChangesAppliedEventArgs, events, i want to find the Field values from that table so that i can identify which raw failed.
    For example, for DbSyncProgressEventArgs, we can fetch table using  e.TableProgress.TableName. But how can i get fields or Primary key value of that table row which is inserted or updated or deleted.
    Please give suggestions on this. 
    Thanks,
    Sangeetha

    DbApplyingChangesEventArgs, DbChangesSelectedEventArgs  has Context property that has in turn
    has a Dataset property containing the change dataset being synched.

  • Getting a field value from the first page on the second page in HTML

    I have a 2 page form I'm presenting in HTML to the user. The first page they select an action, enter a USERID and click the next page button. (The button executes "xfa.host.pageDown();" on the click action at the server)
    On the initialize of the second page I try to get the value of the USERID field from the first page and create a SQL statement to open my data connection. The issue I have is that I cannot get the value of the USERID field. This code works cause if I hardcode a valid value the query works. I tried to work around this by putting the same field on page 2, but it still did not work but the field was populated with displayed. I only assume the data is not populated at the time the initialize is invoked.
    Here is my code on the initialize..
    xfa.sourceSet.nodes.item(0).resolveNode("#command.query").commandType = "text"
    xfa.sourceSet.nodes.item(0).resolveNode("#command.query").select.nodes.item(0).value = "Select * from TABLE where userid = '" + xfa.form.resolveNode("form1.Page1.txt_EmployeeLogin").rawValue + "'"
    xfa.sourceSet.DataConnetion.open()
    Any help is greatly appreciated.
    THANKS!!

    Hi Steve,
    If you haven't already done so, I recommend posting this question in the LivCycle Forms forum.
    Jared

  • How to get dynamic paramete value in the context node?

    Hi, experts,
    There are some attributes in the node context(ee_node) that contained the attribute named "ANSSA" in the view(test_view) in the WDA for abap. In the method WDDOMODIFYVIEW of the view(test_view), there is dynamically string , ex."ANSSA". How can I get the value of the "ANSSA" from the node(ee_node)?
    I try to use the following code to get the value in the method WDDOMODIFYVIEW of the view(test_view):
    Method wddomodifyview.
    *importing   para    type   string.
      data:
        Node_Ee_Address                     type ref to If_Wd_Context_Node,
        Elem_Ee_Address                     type ref to If_Wd_Context_Element.
    navigate from <CONTEXT> to <EE_ADDRESS> via lead selection
      Node_Ee_Address = wd_Context->get_Child_Node( Name = IF_ADDR_AUTO_DISP_VIEW=>wdctx_Ee_Address ).
    get element via lead selection
      Elem_Ee_Address = Node_Ee_Address->get_Element(  ).
    get single attribute
      Elem_Ee_Address->get_Attribute(
        exporting
          Name =  para
        importing
          Value = ??? ).
    But I don't know how to replace the "???"   .
    endmethod
    I don't know how to replace the "???"  in the method wddomodifyview? Do you give me some hint for it?
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks.
    Best regards,
    tao

    Hello Neha,
    Thank you for your help in advance.
    I am very sorry that the above method name ought to be "modifyview", not "wddomodifyview"(I write the error word in the question so that I am very sorry.). I am very sorry the error method name occuring your misunderstand.
    The "para" is the transfered parameter that it is supposed to represent the name of "ANSSA". Actually, the "para" may represent other attribute in the node context, ex. "ENDDA"(date type) attribute.
    I don't write such code in the method modifyview: lv_anssa like ls_ee_node-anssa. Because I am not sure that the  "para"  represent the name of "ANSSA", and the "para" may represent other attribute in the node context, ex. "ENDDA"(date type) attribute.  The  "para" is only the transfered parameter from other method for representing the name of attribute.
    Method modifyview.
    *importing para type string.
    DATA:
    lo_nd_ee_node type ref to if_wd_context_node,
    lo_el_ee_node type ref to if_wd_context_element,
    ls_ee_node type wd_this->element_ee_node.
    I cann't write such code. Because I am not sure that the para represent the name of "ANSSA"******************
    data lv_anssa like ls_ee_node-anssa.
    lo_nd_ee_node = wd_context->get_child_node( name = wd_this->wdctx_ee_node ).
    lo_el_ee_node = lo_nd_ee_node->get_element( ).
    lo_el_ee_node->get_attribute(
    exporting
    name = para
    importing
    value = ??? ).
    endmethod.
    I don't know how to replace the "???". Do you give me more hints?
    Thanks a million.
    Regards,
    Neha

  • How to get updated fields in a classical report

    Hi,
    After displaying the report using Write, multiple fields are editable. I used INPUT ON for this.  My problem is, how does the program recognize the new entered values in all the editable fields? I can not use AT LINE-SELECTION because only the current line that the cursor has focus on is being retrieved.
    I've also researched about DYNPRO_FIELD_GET but i requires a DYNPRO. When I checked the report, it doesn't have a screen number?
    Kindly Help.

    Hi,
    You can do that in AT USER-COMMAND
    Check this program...
    *" Field string declarations...........................................
    * Field string declaration to hold computation values with operator   *
    data:
      begin of fs_comp,
        operand1(10) type  c,                                   " Operand1
        operator(2)  type  c,              " Operator
        operand2(10) type  c,                                   " Operand2
        result(30)   type  c,              " Result
      end of fs_comp.
    * Internal table to hold computation values including operator        *
    data:
      t_comp  like
    standard table
          of fs_comp.
    *" Data declarations...................................................
    * Work variables                                                      *
    data:
      w_operand1(10) type  c,                                   " Operand1
      w_operator(2)  type  c,              " Operator
      w_operand2(10) type  c,                                   " Operand2
      w_result(30)   type  n,              " Result
      w_flag         type  i.              " Temporary Flag
    *                 END-OF-SELECTION EVENT                              *
    end-of-selection.
      sy-title = ' '.
      perform operations.
    *                 AT-LINE-SELECTION EVENT                             *
    at line-selection.
      if sy-lsind ne 1.
        message e000(yh1152).
      else.
        w_flag = 0.
        perform display_input.
      endif.                               " IF SY-LSIND NE 1
    *                 AT PF<nn>                                           *
    at pf05.
      set user-command 'CALC'.
    *                 AT USER-COMMAND EVENT                               *
    at user-command.
      if sy-lsind eq 1.
        message e008(yh1152).
      else.
        if w_flag eq 0.
          perform calculations.
        else.
          message e007(yh1152).
        endif.                             " IF W_FLAG EQ 0
      endif.                               " IF SY-LSIND EQ 1
    *&      Form  operations
    *This subroutine displays the operations to be performed on basic list
    *   No interface parameters
    form operations .
      write:
        /10 'Select a line'(008).
      skip 2.
      format hotspot on.
      write:
        /10 'ADDITION : +'(002),
        /10 'SUBTRACTION : -'(003),
        /10 'MULTIPLICATION : *'(004),
        /10 'DIVISION : /'(005),
        /10 'POWER  : ** '(006).
    endform.                               " operations
    *&      Form  calculations
    * This subroutine performs the calculation part of detail list
    *   No interface parameters
    form calculations .
      data:
        lw_line  type    i value 4,        " No of Lines
        lw_str   type    string.           " Exception text
      data:
       lw_ref type ref to cx_root.         " Reference Variable
      refresh t_comp.
      do 3 times.
        clear:
          w_operand1,
          w_operator,
          w_operand2.
        read line lw_line field value
         w_operand1 into w_operand1
         w_operator into w_operator
         w_operand2 into w_operand2.
        fs_comp-operand1  =   w_operand1.
        fs_comp-operator  =   w_operator.
        fs_comp-operand2  =   w_operand2.
        try.
            case w_operator.
              when '+'.
                fs_comp-result  = fs_comp-operand1 + fs_comp-operand2.
              when '-'.
                fs_comp-result  = fs_comp-operand1 - fs_comp-operand2.
              when '*'.
                fs_comp-result  = fs_comp-operand1 * fs_comp-operand2.
              when '/'.
                fs_comp-result  = fs_comp-operand1 / fs_comp-operand2.
              when '**'.
                w_result  = fs_comp-operand1 ** fs_comp-operand2.
                fs_comp-result = w_result.
                clear w_result.
            endcase.                       " CASE W_OPERATOR
          catch cx_root into lw_ref.
            fs_comp-result = 'Cannot Compute'(007).
            lw_str = lw_ref->get_text( ).
            message lw_str type 'I'.
        endtry.
        append fs_comp to t_comp.
        clear fs_comp.
        add 2 to lw_line.
      enddo.                               " DO 3 TIMES
      add 1 to w_flag.
      perform result.
    endform.                               " calculations
    *&      Form  DISPLAY_INPUT
    * This subroutine displays the input on basic list for operations
    *   No interface parameters
    form display_input .
      sy-lsind = 1.
      clear:
        w_operand1,
        w_operand2.
      case sy-lilli.
        when '4'.
          w_operator = '+'.
        when '5'.
          w_operator = '-'.
        when '6'.
          w_operator = '*'.
        when '7'.
          w_operator = '/'.
        when '8'.
          w_operator = '**'.
        when others.
          stop.
      endcase.                             " CASE SY-LILLI
      write:
        /10 'Enter values and press F5 to calculate'(009).
      skip 2.
      do 3 times.
        write:
          10 w_operand1  no-zero input on color 1,
          25 w_operator  intensified on color 2,
          30 w_operand2 no-zero   input on,
          45 ' = ' ,
          w_result  no-zero  input off.
        skip.
      enddo.                               " D0 3 TIMES.
    endform.                               " DISPLAY_INPUT
    *&      Form  RESULT
    * This subroutine displays the caculated result for selected operator
    *   No interface parameters
    form result .
      sy-lsind = 1.
      write: /08 'The result of operation processed is'(001).
      skip 2.
      do 3 times.
        read table t_comp into fs_comp index sy-index.
        write:
          10 fs_comp-operand1 no-zero input off color 1,
             fs_comp-operator no-zero intensified on color 7.
        if fs_comp-operand2 eq '' or fs_comp-operand2 eq '0'.
          write: fs_comp-operand2 no-zero input off color 6.
        else.
          write: fs_comp-operand2 no-zero input off color 1.
        endif.                             " IF FS_COMP-OPERAND2 NE 0
        write:' = ' color 3.
        write:
          fs_comp-result no-zero intensified on input off color 5.
        skip.
      enddo.                               " DO 3 TIMES
    endform.                               " RESULT
    *                        End Of Program                               *
    Execute the above program and run in debugging mode after selecting a line in the basic list.
    Hope this would help you.
    Regards
    Narin Nandivada

  • How to apply unique currency values in the report?

    Hi Guys,
    I have a report showing that different currency values.I would like to have same currency values throught out the report.And one moew query i am also getting the zero's in the report so how i can supress zeros in the report?
    Thanks

    Hi,
    For unique currency, go to RSCUR, give the currency translation type and click Display.
    You will enter into Edit currency conversion type screen.
    Go to currency tab screen and select the source currency from data record as you are getting multiple currencies, and in target currency select appropriate option as per your requirement.
    Save it and come back to query designer, go to properties of that KF, you have a conversions tab. there select the conversion type and target currency.
    And regarding suppressing zeros, goto properties of the query, click on Rows/ columns tab.  Under this you will find the option to supress zeros and effect on rows and columns.
    Hope this will help you.
    Regards,
    Praveen

  • How to get USERID system parameter in the report

    I can pass the user id, password and connect string through the USERID parameter, but how do I get it in the report? (I need to pass the USERID to a different report, I got a error when I use :USERID). Thanks.
    WJ

    There are two steps I used with which to get USERID into the report.
    1) Create a user parameter, P_USER, datatype CHARACTER, width 20
    2) in Report Trigger AFTER PARAMETER FORM (could also be BEFORE REPORT), insert the following line of code:
    :P_USER := USER;
    Now you can create an F_USER variable with P_USER as its source and place it in the report as you would with any other user parameter.
    Regards,
    Steve

  • How to get Most current record in the reporting

    Hi All,
    I have reporting requiremnt  like to get the most recent record.
    Please see the below example we have 3 records but with 2 different sales represtentatives assigened to the same document.but i need to get most recently assigned sales representative record  that is number 2(10726056 and status open).
    Now i am geeting the 2 open records .Need to get only one.we do not have any other difference in the records to keep track of the sales representatives assignment to get the new sales rep id other than request id.
    Can any one tell me  most rcurrent data varibles under the request id do.Will it solves my issues o r any other ideas please welcome.
    Customer No    Sales rep    Doc number    Status     Request id
    0000613086    10726056    9000783660       C            REQU_1
    0000613086    10726056    9000783660       O            REQU_1
    0000613086    10182679    9000783660       O            REQU_2

    Hi Sirisha,
    it seems to be a problem of the kind "exception aggregation" , but let me say it can result in a very complex solution.
    What about using a Virtual Infoprovider with servicecs to solve the issue?
    You should create an additional InfoCube that reads form the basic one (where you have data) and then you should "delete" invalid records considering the request number.
    By the way time stamp seems to be the easier solution.
    Hope it helps
    GFV

  • How to display only Negative values in the report.....

    Hi,
    I want to display only negative values for one particular column.
    Any suggestions ?
    Thanks,
    Jeetu

    Hi,
    define a condition for all characteristics and for specially the keyfigure. Set it to < 0. That should do the trick.
    regards
    Siggi

  • Add field value to the existing internal table.

    how to add a field value to the existing internal table.
    DATA: BEGIN OF ITAB occurs 0,
                 EBELN TYPE EKPO-EBELN,
                 EBELP TYPE EKPO-EBELP,
                 AEDAT TYPE EKPO-AEDAT,
                 amount(10) type c,
               END OF ITAB.
    select * from ekpo
           into corresponding fields of table itab.
    itab-amount = '2400'.
    loop at itab where ebeln eq 70 .
           write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
             endloop.
    here output is not showing the amount field value.
    please tell me how to solve this problem urgent
    thanks in advance.

    Hi Sekhar,
        First let me know wheather you are assigning some value to the amount field externally to all records? if this is wright means check the below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    v_amount = '2400'.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,v_amount.
    endloop.
    or if you want to modify perticular records in itab  then use below code.
    DATA: BEGIN OF ITAB occurs 0,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    AEDAT TYPE EKPO-AEDAT,
    amount(10) type c,
    END OF ITAB.
    select * from ekpo
    into corresponding fields of table itab.
    loop at itab.
    itab-amount = '2400'.
    modify itab index sy-tabix (or perticular line number).
    endloop.
    loop at itab where ebeln eq 70 .
    write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.
    endloop.
    Thanks,
    Suma.

Maybe you are looking for

  • App store wont let me open cretain apps

    I searched 'computer' in the app store, and it shows apps so that you can connect to your computer. But when I tap on one, it starts to show the description, then it closes the app store. I've tried other apps of that kind, same thing. I tried seeing

  • How to start Oracle Application Server 10g on Linux

    Hi, I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux We are going to u

  • Is there a way to run Final Cut Pro on this?

    I know what Apple's specs say, but I've also heard there is a trick to doing this. I must occasionally use FCP to put subtitles in films - nothing that pushes the machine I currently use too much - it's only a G4 1.5 mhz powerbook after all - so if a

  • Photoshop 11 won't open

    I have loaded photoshop 11.  when I click on the application, it briefly loads and then closes.

  • ACS 5.4 stopped logging after timezone update

    I noticed that the timezone was off on the server though it was sync with the time server. I found where to change the timezone in the CLI and now the server is on the correct local time, however all logging ceased. It shows the last log entry at the