Passing range to view_maintenance_call

hello everybody,
i am not able to pass a range (with low and high values) to view_maintenance_caLL.
kindly tell me how to do this.
thanks

VIEW_MAINTENANCE_CALL : For range we can also this :
field = <fieldname>,  leftpar= 1  , rightpar = blank ,  value  = range-low,   operator = GE ,  AND_OR  = AND
append the work area to itab
field = <fieldname>,  leftpar= blank  , rightpar = 1 ,  value   = range-high,   operator = GE ,  AND_OR  = OR
append
Now the clause will look like  ::
WHERE ( comp_code GE range-low And
             ( com_code LE range-high )
And if there is a new field put OR instead of AND in field AND_OR
Thanks

Similar Messages

  • I am passing range table from the method of ODATA Service to FM but In FM range table is becoming initial.What would be the reason for the same?

    I am passing range table from the method of ODATA Service to FM but In FM range table is becoming initial.What would be the reason for the same?

    Vinod, Can you share detail on how are you sending and how are you reading.

  • Schedule a report with passing range parameters

    I have wrote a program to run the crystal report in BO server and email to the user. The program can pass the parameter to the crystal report and generate different result/ report. It works well with string parameters, int parameter and date parameter. But when I pass the date range parameters, the CR in BO always displays error "Information is needed before this report can be processed. ", and in the CR history, the Parameters field is "No Parameter"
    For single parameters, I will use the setValue() of IReportParameterSingleValue to set the param value
    IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
    v.setValue(paramValueArray<i>);
    but I dunno how to set the date range value. Anyone ve ideas on this?
    Here is some of my sample code.
    rangeValue.setBeginValue(dateValue1);
    rangeValue.setEndValue(dateValue1);
    rangeValue.getEndValue());
    rangeValue.setLowerBoundType(RangeValueBoundType.inclusive);
    rangeValue.setUpperBoundType(RangeValueBoundType.inclusive);
    newParam.getCurrentValues().add(rangeValue);

    I am not sure if you are using RAS or Enterprise SDK, but here are some code snippets to set range report parameters:
    For scheduling:
    // oReport is IReport object holding the crystal report.
    oReportParameter = oReport.getReportParameters().get(i);
    currentRangeValue = oReportParameter.getCurrentValues().addRangeValue();
    currentRangeValue.getFromValue().setValue(dateParameter);
    currentRangeValue.getToValue().setValue(dateParameter);
    For viewing:
    ParameterFieldRangeValue pfrv = new ParameterFieldRangeValue();
    pfrv.setBeginValue(dateTimeValue);
    pfrv.setEndValue(dateTimeValue1);
    pfrv.setLowerBoundType(RangeValueBoundType.inclusive);
    pfrv.setUpperBoundType(RangeValueBoundType.inclusive);
    pf.getCurrentValues().add(pfrv);
    f.add(pf);
    f is Fields object and pass that to viewer.

  • Passing range-value into a parameter of a subreport

    Hello all
    I've a problem with passing a formula into a parameter of the subreport.
    I'm using a SAP BW query with a data range parameter. So I have to provide a range value first for executing this query.
    I'd like to execute the query with a data range between the last two weeks. For this purpose if created a formula with following code:
    [dateadd('d',-14,currentdate),currentdate]
    This means, the result is an array. And exactly this is the problem. Because Crystal Reports doesn't support an array as a result of a formula.
    Is there an other possibility for passing the array/data range to the parameter in the subreport?
    I'm using Crystal Reports for enterprise (v.14.0.2).
    Kind regards,
    Greg

    Thanks, kglad. I was wondering about that. I thought that
    putting a variable data type of :Number would have made it a
    number, but I never got an error in the debugger so I thought it
    was ok. I traced the data type and figured out it was actually a
    string and changed the line like follows which turned the string to
    an integer and made it work:
    var image01ClosedPosition:Number =
    parseInt(RootNode1.attributes.imageChangeX);

  • Passing Range Parameter for BO Publication for Dynamic Recepient list

    Hello,
    We have a Crystal report on top of BEx and we are passing input values for the parameters using another Crystal Report.
    We are trying to pass a date range from Dynamic Recipient List to date prompt under personalization.
    The format in which we are trying to pass is "05/06/2010 : 09/22/2010" and we are getting the below error in log file:
    Document for recipients {} failed: Internal error.
            Document for recipients {} failed: Cannot Map Multiple Profile Values to a Single Parameter Field: {[ZOC_DATE]} in Report: ABC_VendorFiscal.
            Document for recipients {} failed: Internal error. (FBE60502)
    How do we the pass values to date range?
    Regards,
    Vishal

    I came accross the same problem with BIP 4.0 and CR2011 on BW MDX.
    By searching on the SAP notes I have found this one which is apparently only a workaround:
    1544713
    Kind regards,
    Sylvain

  • Passing Range to Function

    Hi all
    I would thank and reward with points to a correct answer.
    I have one range with many lines. Example of one line:
      mob-sign = 'I'.
      mob-option = 'EQ'.
      mob-low = '50010031'.
      append mob.
    Then I have to pass this range to a Function module to use in it. This means I will check some values if it's in this range. For example:
      IF xpto IN mob.
      ENDIF.
    How do I pass the range? Through tables? Parameter?
    And do I define in FM?
    Message was edited by:
            André Jordã

    Hi,
    We have standard Structures
    /SDF/RANGES                    Ranges for data selection
    /SDF/RANGESC1                  Ranges for data selection CHAR 1
    /SDF/RANGESC10                 Ranges for data selection CHAR 10
    /SDF/RANGESC14                 Ranges for data selection CHAR 14
    /SDF/RANGESC4                  Ranges for data selection CHAR 4
    /SDF/RANGESC5                  Ranges for data selection CHAR 5
    /SDF/RANGESD15                 Ranges for data selection DEC 15
    /SDF/RANGESD18                 Ranges for data selection DEC 18
    /SDF/RANGESI1                  Ranges for data selection INT 1
    /SDF/RANGESI2                  Ranges for data selection INT 2
    /SDF/RANGESI4                  Ranges for data selection INT 4
    You can make use of these and create the parameter in the TABLES, so that we can get more than 1 data at a time
    Regards
    Sudheer

  • Passing Ranges-Drop Downs from FM to Prog.?

    Hi Experts,
    I knew the SELECT-OPTIONS wuld b passed as RSPARAMS and from our SDNs I came to know that, the Check Boxes r passed as XFELD from Z FM to Z report. So,
    1) Now, I need to pass the Ranges (I mean, Drop Down fileds in Z report's selection screen) from Z FM to Z report program.
    2) Like, actually, Where I hv to look for to find out Wht shuld b passed as Wht(say, select-optins as RSPARAMS)?
    Thank you,
    Message was edited by:
            Srikhar

    Check F1 help for SUBMIT
    i.e. type SUBMIT in test report and place cursor on the word and press F1 (key word documentation)
    Message was edited by:
            Ram

  • 4.x: Document Link passing range parameter to a WebI rpt using BEx query

    I'm new to working with BEx queries, so I may use the wrong terminology.  I'm trying to create a document hyperlink from one WebI report to another.  Both are based on BEx queries, which I didn't create, nor do I have access to modify.  The BEx query for the target report has a parameter, Fiscal year/period, which is a range parameter.  The displayed value in a report or in pick lists is in the format "JUL 2010".  The key is in the format "K4/007/2010". 
    I have tried using the Document Link expert to configure passing the range parameter, but have been unsuccessful.  The typical result is an error message, ERR_WIS_30270, which is most likely the result of an incorrect format for passing the range.  I've not been able to locate adequate documentation that describes the syntax for passing a range value to a BEx parameter.  I've successfully created Document Links to reports using BEx queries that have a parameter that requires a single value, and I've done Document links in non-Bex reports in 3.1 without issues.
    Has anyone successfully passed a range value to a BEx paramter?   If so, what syntax did you use?
    The environment is BI 4.0, sp 2 (14.0.2.439)
    Edited by: Steve Green on Oct 7, 2011 8:04 PM

    Marianne,
    Thanks for the heads up on the fixpack.  I tried looking at the note # you sent, but a search of SAP Notes says that the note has not been released.  However, reviewing the Fixed Issues in fixpack 6 shows the following item:
    ADAPT01580012
    Link to a WebIntelligence report using syntax OpenDocument fails when target document contains a prompt
    based on a BEx variable of type Interval. Error message is "An internal error occurred while calling
    'answerPromptEx' API. (Error: ERR_WIS_30270)".
    Behavior is now correct and refresh operation takes into account interval answer passed in OpenDocument URL.
    Now we just need to upgrade to fp 2.6 to see if it resolves this issue.  I've also opened a ticket with support, so I'll see what they say.
    Edited by: Steve Green on Oct 12, 2011 7:27 PM

  • How to pass ranges to the subroutine

    hi all,
    my requirement is i need a write a program where i am having fields like kunnr, matnr, maktx, customer name etc.
    the user gives any of above values in diff input boxes (parameter).
    for every text entry that gets, i need to populate the value of the (maktx, customer name, etc) in ranges. for different kinds of  entries i want to write the subroutine since i am carrying out the same functionality for all the inputs that i get.
    is it possible to do?

    My 2 cents, if you don't want to use macros: define a FORM routine, as follows:
    FORM fill_range  USING    i_parameter TYPE any
                     CHANGING et_range    TYPE table.
      CONSTANTS:
        lc_sign   TYPE bapisign VALUE 'I',
        lc_option TYPE bapioption VALUE 'EQ'.
      FIELD-SYMBOLS:
        <sign>     TYPE bapisign,
        <option>   TYPE bapioption,
        <low>      TYPE ANY,
        <ls_range> TYPE ANY.
      DATA:
        lr_range TYPE REF TO data.
    You may want to catch exceptions starting from here
      CREATE DATA lr_range LIKE LINE OF et_range.
      ASSIGN lr_range->* TO <ls_range>.
      ASSIGN COMPONENT 'SIGN'   OF STRUCTURE <ls_range> TO <sign>.
      ASSIGN COMPONENT 'OPTION' OF STRUCTURE <ls_range> TO <option>.
      ASSIGN COMPONENT 'LOW'    OF STRUCTURE <ls_range> TO <low>.
      <sign>   = lc_sign.
      <option> = lc_option.
      <low>    = i_parameter.
    ENDCATCH.
      APPEND <ls_range> TO et_range.
    ENDFORM.                    " fill_range
    Assuming that your parameter is called p_matnr, and the range you want to fill is lr_matnr, you would call this routine as follows:
    PERFORM fill_range
      USING
        p_matnr
      CHANGING
        lr_matnr[].
    This may seem tremendously complicated, but it's clean, fast, "debuggable", and it works.
    Greetz
    Rainer

  • Passing range table in a Subroutine

    I got 3 select options like this:
    Tables : VBRK.
    *SELECTION SCREEN GUI
    SELECT-OPTIONS:
    so_fkdat   FOR vbrk-fkdat OBLIGATORY,
    so_fkart   FOR vbrk-fkart,
    so_vbeln   FOR vbrk-vbeln.
    Now In the title of my alv I want to show
    what user hav input in these 3 select-options. (the alv part is okay)
    FORM form_so_title
                        USING itab_so  TYPE ANY TABLE
                        it_so
                        CHANGING p_ls_line_info TYPE slis_entry.
      LOOP AT itab_so into it_so.
    * this is not working with type any
    * so i hav to loop instead of read line
    *  READ TABLE it_so INDEX 1.
        EXIT.
      ENDLOOP.
    *When i am trying to access it_so-low, i m getting error
       l_describe = cl_abap_typedescr=>describe_by_data( it_so-low ).
        IF l_describe->type_kind EQ 'D'.
          WRITE it_so-high TO p_ls_line_info DD/MM/YYYY.
        ELSE.
          p_ls_line_info = it_so-high.
        ENDIF.
    * this routine is complex but i am only posting
    * certain part of it
    ENDFORM.
    Here is how I am calling the routines
      ls_line-key  = 'Billing Date'.
      PERFORM form_so_title USING so_fkdat[] so_fkdat
                            CHANGING ls_line-info.
      APPEND ls_line TO lt_top_of_page.
      ls_line-key  = 'Billing No.'.
      CLEAR ls_line-info.
      PERFORM form_so_title USING so_vbeln[] so_vbeln
                            CHANGING ls_line-info.
      APPEND ls_line TO lt_top_of_page.
      ls_line-key  = 'Billing Type'.
      CLEAR ls_line-info.
      PERFORM form_so_title USING so_fkart[] so_fkart
                            CHANGING ls_line-info.
      APPEND ls_line TO lt_top_of_page.
    P.S.

    *& Report  ZT_SO
    REPORT  zt_so.
    * ALV
    TYPE-POOLS: slis, kkblo.
    *TABLES
    TABLES: usr01, sscrfields, vbrk.
    TABLES: thead,                         "Textheader
            tline.                         "Textline
    DATA:
    it_vbrk LIKE TABLE OF vbrk.
    *SELECTION SCREEN GUI
    SELECT-OPTIONS:
    so_fkdat   FOR vbrk-fkdat OBLIGATORY,
    so_fkart   FOR vbrk-fkart,
    so_vbeln   FOR vbrk-vbeln.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
        WHEN 'ONLI'.
          PERFORM form_extract_data.
        WHEN OTHERS.
          MESSAGE s001(00) WITH '' sscrfields-ucomm.
      ENDCASE.
    START-OF-SELECTION.
      PERFORM form_show.
    *&      Form  form_so_title
    *       text
    *      -->P_SO_FKDAT[]  text
    *      <--P_LS_LINE_INFO  text
    FORM form_so_title
                        USING itab_so  TYPE ANY TABLE
                        CHANGING
                        it_so
                        p_ls_line_info TYPE slis_entry.
      FIELD-SYMBOLS:
      <fs_low> TYPE ANY, <fs_high> TYPE ANY,
      <fs_option> TYPE ANY, <fs_sign> TYPE ANY.
      DATA comp_low(3) TYPE c VALUE 'LOW'.
      DATA comp_high(4) TYPE c VALUE 'HIGH'.
      DATA comp_sign(4) TYPE c VALUE 'SIGN'.
      DATA comp_option(6) TYPE c VALUE 'OPTION'.
      LOOP AT itab_so INTO it_so.
        EXIT.
      ENDLOOP.
      DATA:
               str_where(255), str_low(10), str_high(10), str_option(50), typ1.
      DATA l_describe TYPE REF TO cl_abap_typedescr.
      ASSIGN COMPONENT comp_low OF STRUCTURE it_so TO <fs_low>.
      ASSIGN COMPONENT comp_high OF STRUCTURE it_so TO <fs_high>.
      ASSIGN COMPONENT comp_sign OF STRUCTURE it_so TO <fs_sign>.
      ASSIGN COMPONENT comp_option OF STRUCTURE it_so TO <fs_option>.
      l_describe = cl_abap_typedescr=>describe_by_data( <fs_low> ).
      typ1 = l_describe->type_kind.
      IF <fs_high> IS NOT INITIAL
      AND <fs_low> IS NOT INITIAL.
        IF typ1 = 'D'.
          WRITE <fs_low>  TO str_low DD/MM/YYYY.
          WRITE <fs_high> TO str_high DD/MM/YYYY.
        ELSE.
          str_low = <fs_low>.
          str_high = <fs_high>.
        ENDIF.
    *     "BT", "NB"
        IF <fs_option> = 'BT'.
          str_option = 'between'.
        ELSEIF <fs_option> = 'NB'.
          str_option = ' not between'.
        ENDIF.
        CONCATENATE  str_option str_low 'and' str_high INTO p_ls_line_info
        SEPARATED BY space.
      ELSEIF <fs_high> IS NOT INITIAL.
        IF typ1 = 'D'.
          WRITE <fs_high> TO p_ls_line_info DD/MM/YYYY.
        ELSE.
          p_ls_line_info = <fs_high>.
        ENDIF.
      ELSEIF <fs_low> IS NOT INITIAL.
    *    "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP"
        CASE  <fs_option>.
          WHEN 'EQ'.
            str_option = ''.
          WHEN 'NE'.
            str_option = 'not equal to'.
          WHEN 'GE'.
            str_option = 'greater than or equal to'.
          WHEN 'GT'.
            str_option = 'greater than'.
          WHEN 'LE'.
            str_option = 'less than or equal to'.
          WHEN 'LT'.
            str_option = 'less than'.
          WHEN 'CP'.
            str_option = 'like'.
          WHEN 'NP'.
            str_option = 'not like'.
        ENDCASE.
        IF typ1 = 'D'.
          WRITE <fs_low> TO str_low DD/MM/YYYY.
        ELSE.
          str_low = <fs_low>.
        ENDIF.
        CONCATENATE  str_option str_low INTO p_ls_line_info
           SEPARATED BY space.
      ENDIF.
    ENDFORM.                    " form_so_title
    *&      Form  form_extract_data
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM form_extract_data .
      SELECT SINGLE * FROM vbrk.
      APPEND vbrk TO it_vbrk.
    ENDFORM.                    " form_extract_data
    *&      Form  form_show
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM form_show .
      DATA:
      gt_list_top_of_page TYPE slis_t_listheader,
      wa_gt LIKE LINE OF gt_list_top_of_page.
    *"List Header for Top-Of-Page
      PERFORM comment_build USING gt_list_top_of_page[].
      FORMAT COLOR COL_TOTAL.
      LOOP AT gt_list_top_of_page INTO wa_gt.
        FORMAT INTENSIFIED ON.
        WRITE:/ wa_gt-key.
        FORMAT INTENSIFIED OFF.
        WRITE wa_gt-info.
      ENDLOOP.
      FORMAT COLOR OFF.
      FORMAT COLOR COL_KEY.
      LOOP AT it_vbrk INTO vbrk.
        WRITE:/ vbrk-vbeln.
        WRITE vbrk-fkdat.
      ENDLOOP.
      FORMAT COLOR OFF.
    ENDFORM.                    " form_show
    *&      Form  comment_build
    *       text
    *      -->LT_TOP_OF_PAGE  text
    FORM comment_build USING lt_top_of_page TYPE
                                            slis_t_listheader.
      DATA: ls_line TYPE slis_listheader,
             str_select TYPE string,
             str_where(255), str_low(10), str_high(10), str_option(50).
      CLEAR ls_line.
      ls_line-typ  = 'H'.
      ls_line-info = 'SDN BLOG'.
      APPEND ls_line TO lt_top_of_page.
      CLEAR ls_line.
      ls_line-typ  = 'H'.
      ls_line-info = 'Form report'.
      APPEND ls_line TO lt_top_of_page.
      CLEAR ls_line.
      CLEAR str_where.
      ls_line-typ  = 'S'.
      ls_line-key  = 'Report generated on'.
      WRITE sy-datum TO ls_line-info DD/MM/YYYY.
      APPEND ls_line TO lt_top_of_page.
      ls_line-key  = 'Billing Date'.
      PERFORM form_so_title USING so_fkdat[]
                            CHANGING so_fkdat ls_line-info.
      APPEND ls_line TO lt_top_of_page.
      ls_line-key  = 'Billing No.'.
      CLEAR ls_line-info.
      PERFORM form_so_title USING so_vbeln[]
                            CHANGING so_vbeln ls_line-info.
      APPEND ls_line TO lt_top_of_page.
      ls_line-key  = 'Billing Type'.
      CLEAR ls_line-info.
      PERFORM form_so_title USING so_fkart[]
                            CHANGING so_fkart ls_line-info.
      APPEND ls_line TO lt_top_of_page.
    ENDFORM.                    "comment_build

  • Date range selection in abap code in infopackage

    Hi!
    I have a field called "OPEN_DATE".
    When the infopackage is runned, I need the abap code to fint the current date, and from that, make a date range from the first day of current month to the last day of current month
    Ex:
    Current date = 12.12.2008
    Abap code should extract 01.12.2008 - 31.12.2008
    Thanks!

    Hi helge,
    Data: l_idx like sy-tabix.
    Data: date_low like sy-datum,
             date_high like sy-datum.
    Date_low = sy-datum.
    date_low+6(2) = '01'.
    CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
      EXPORTING
        DAY_IN                  = Date_low
    IMPORTING
       LAST_DAY_OF_MONTH       = date_high
    read table l_t_range with key
    fieldname = 'OPEN_DATE'.
    l_idx = sy-tabix.
    Pass Range values to L_T_Range Table.
    Move date_low to L_T_Range -Low.
    Move date_high to L_T_Range -High.
    L_T_Range -Sign = u2018Iu2019. *****(Here: I u2013 Include, E u2013 Exclude)
    L_T_Range -Option = u2018BTu2019.****( Here: BT u2013 Between )
    modify l_t_range index l_idx.
    p_subrc = 0.
    Regards,

  • How to write a routine in infopack to restrict a date range !!!!

    Hi
    I want to load the data for a speicific date range ,i.e , i want to load the data between created on some date range which is not in between the same range for changed on...so i want to restrict that date range for changed on....Please le tme know the routine logic to restrict a date range....
    regards...

    How to ... Write Infopackage selection Routine
    1.Create an Infopackage 2. Go to selections tab and choose Type: 6 u2013 ABAP Routine.You can see following available options(F4 Help).
    3. Give disruption, and hit enter, now you will move to following screen. 4. Write Code between begin of Routine and End of Routine.
    5. See below sample code to select date range from Previous 6 days to Current date.
    6. L_T_Range table is of Type structure RSSDLRANGE.
    a. RSSDLRANGE contains SIGN, OPTION, LOW, HIGH
    We need to populate these fields to pass range dynamically.
    Sample Code:
    ***$$ begin of routine - insert your code only below this line -
    Data: l_idx like sy-tabix.
    Data: date_low like sy-datum.
    Date_low = sy-datum u2013 6.u201D(To get 6 days back).
    read table l_t_range with key
    fieldname = 'CRDAT'.
    l_idx = sy-tabix.
    Pass Range values to L_T_Range Table.
    Move date_low to L_T_Range -Low.
    Move sy-datum to L_T_Range -High.
    L_T_Range -Sign = u2018Iu2019. *****(Here: I u2013 Include, E u2013 Exclude)
    L_T_Range -Option = u2018BTu2019.****( Here: BT u2013 Between )
    modify l_t_range index l_idx.
    p_subrc = 0.
    **$$ end of routine - insert your code only before this line -
    7. Syntax check and Save.
    Hope it Helps
    Srini

  • IN operator:- multiple value :- need to pass values in bundles

    Hello Everybody
    I am facing a strange problem . I got a requirement in which i need to pass around 55,000 values in the IN operator of the select query. It looks like that select query has a limitation of 2000 values. I planned to split the values based on the package of 2000 entries. this is working fine when we have just one IN operator.
    But how to make bundles when we have more than one like 2 or 3 IN operators with the values more than 2000 entries.
    eg.select vbeln matnr from vbap where vbeln in (1000, 2000, 3000, 4000......) and matnr in (11,22,33,44,...)
    and vbeln > 002234255 or matnr <> '55665.
    Please help me in breaking the query.
    Thanks in advance
    Regards,
    Khushboo

    Hi,
      You can do  one thing  .
    1)   First there is no limitation to have values  in Ranges  .
          but there  is limitation  when passing ranges to  SQL query  i.e in Operator  .
         Which will result in Dump  .
    2)  So in order to avoide that   you can have your values  in Ranges  .
    3) Then from SQl query select all raw data   whithout using ranges  .
    4) then now use that internal table in which you have selected raw data  .
    5) now you can use that ranges in loop endloop for internal table condition and filter those data .
      But see while comparing  fields  there should be compatibility  .
    tables : mara .
    TYPES  :  begin of w_mara ,
                      bismt type MARA-BISMT  ,
                    end of w_mara .
    TYPES : BEGIN OF W_BISMT  .
      INCLUDE STRUCTURE MARA .
      TYPES : END  OF W_BISMT  .
    data : it_mara type STANDARD   table OF W_MARA WITH HEADER LINE  .
    data : it_mara1 type STANDARD   table OF W_MARA WITH HEADER LINE  .
    DATA : IT_BISMT TYPE STANDARD TABLE OF W_BISMT  WITH HEADER LINE  .
    DATA : IT_BISMT1 TYPE STANDARD TABLE OF W_BISMT  WITH HEADER LINE  .
    RANGES : P_BISMT FOR  MARA-BISMT  .
      SELECT   BISMT FROM MARA
      INTO CORRESPONDING FIELDS OF TABLE  IT_MARA
      where bismt  is not null  .
    delete it_mara where bismt  is initial .
    SELECT  * FROM MARA
    INTO CORRESPONDING FIELDS
    OF TABLE IT_BISMT.
    LOOP AT IT_BISMT where bismt  in p_bismt   .
    move-corresponding  it_bismt to it_bismt1 .
    append it_bismt1 .
    clear it_bismt1 .
    ENDLOOP.
    Edited by: Rob Burbank on Sep 24, 2010 9:09 AM

  • Export RANGES to function module

    Can anyone tell, how to pass RANGES to function module.
    i have report program in ,
    DATA : BEGIN OF ITAB OCCURS 0,
               MATNR LIKE MARA-MATNR,
              END OF ITAB.
    SELECT-OPTIONS  : S_MATNR FOR MARA-MATNR.
    I want all the values in S_MATNR in ITAB.
    Note that S_MATNR has any value( Include, Exclude,Between, Equal etc.)

    Hi,
    Define a type in the global data declaration of the function module as follows :
    TYPES : BEGIN OF t_range_matnr,
            sign(1) TYPE c,
            option(2) TYPE c,
            low TYPE mara-matnr,
            high TYPE mara-matnr,
    END OF t_range_werk.
    " Define a table type
    types matnr_tab type t_range_matnr occurs 0.
    Once done, define the importing parameter of t_matnr in the function modules signature, lets call it matnr
    In your program where you would call the function, lets say you have the select option as follows
    SELECT-OPTIONS matnr FOR ekpo-matnr.
    " In the call function simply pass matnr[]
    call function 'select_mara'
    exporting
       matnr = matnr[].
    Done.
    P.S. Do not forget the square brackets.
    regards,
    Advait
    Edited by: Advait Gode on Apr 16, 2009 10:05 AM

  • Passing Selection Options

    I have to pass the value of my selection option (S_DATE) to my smartform, for example 10/06/2008 to 10/10/2008, my problem is since its a range, everytime i declare the (S_DATE) in the form interface, i encounter mismatch of variable type.
    How can I be able to display the chosen dates in my smartform.

    Hi,
    Try to pass Ranges table instead of select options to the smartform and the vales in smartform.
    Thank,
    Sree.

Maybe you are looking for

  • Hyperlinks from CHM to PDF

    Our documentation comprises On-line Help as CHM files, and User Guides as PDF. Up to now the user guides were printed but we wish to provide them as PDF for on-screen use. Now we also wish to have hyperlinks from CHM to PDF and vice versa. We can pre

  • Command links are not rendering properly in the toolbar facet of panel collection

    Hi I am using jdev 11.1.2.3.0 I added toolbar component to the toolbar Facet of panel collection component . Under the tool bar I added two command link components with name create and delete, the problem is at run time the buttons are not rendering

  • Only G/L accounts can be entered on the fast entry screen

    We are currently upgrading our SAP environment from version 4.70 to ECC 6.0.  Our users are testing their Parked Document fast entry screen entries created through F-65 and when they attempt to "view" their entry on the Fast Entry screen, after enter

  • Does anybody know how to fix the back buttons?

    The back button in the browser doesn't seem to be working in my JSP page by default. Is there a code(JS or anything) I need to place in the JSP file to make the back button work?

  • Which Mail version works with which OS version?

    My ISP, Demon in the UK, has set up a system for reporting any spam which gets through their filters. Unfortunately it requires me to use Mail V2.x or V3.x. I am on Mail 1.3.11 (v622/624) under OS X 10.3.9. I can't find anything that tells me whether