Short dump when trying to download alv( reuse_alv_grid data)  into excel

Hi SAPAll.
here i have got one alv report ,when executing this alv report it displays in correct way but the only problem is when i click on the icon(local file) which exists at standard tool bar at the top to dowbload into local excel file it is raising the runtime error as
The current statement requires a character-type data object.
at happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
ror analysis
At the statment
"STRLEN( obj )..."
, only character-type data objects are supported at the argument
position "obj".
In this particular case, the operand "obj" has the non-charcter-type type
"P".
igger Location of Runtime Error
Program SAPLKKBL
Include LKKBLF99
Row 3.948
Module type (FORM)
Module Name GEN_FIELD_OUT2
Line SourceCde
3923 * Bei NUMC führende '0' und ' ' nicht berücksichtigen
3924 elseif gs_fc-tech_form = 6.
3925 write  to gs_out-hlpchar no-zero left-justified.
3926 if gs_fc-just = 'R'.
3927 condense gs_out-hlpchar.
3928 endif.
3929 gs_out-hlplen = strlen( gs_out-hlpchar ).
3930 elseif gs_fc-tech_form = 11. "INS TECH11
3931 * Min. Ausgabelänge für ein Datum ist immer 8
3932 if gs_fc-datatype = 'DATS'. "INS TECH11
3933 gs_out-hlplen = 8. "INS TECH11
3934 * Min. Ausgabelänge für eine Uhrzeit ist immer 6
3935 elseif gs_fc-datatype = 'TIMS'. "INS TECH11
3936 gs_out-hlplen = 6. "INS TECH11
3937 endif. "INS TECH11
3938 elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.
3939 * Überführung int. in ext. Format via Konvertierungsexit
3940 if not gs_fc-convexit is initial or "INS TECH11
3941 not gs_fc-inttype ca 'CN'.
3942 * elseif not gs_fc-convexit is initial. "DEL TECH11
please respond at ur time

Hi,
Verify your field_cat, because the element (column) with value (type P) may be defined with the parameter inttype = 'C' or inttype = 'N'.
You have to change to inttype = 'P' .
Best regards,
Leandro Mengue

Similar Messages

  • Short dump when trying to download alv into excel

    Hi SAPAll.
    here i have got one alv report ,when executing this alv report it displays in correct way but the only problem is when i click on the icon(local file) which exists at standard tool bar at the top to dowbload into local excel file it is raising the runtime error as
      The current statement requires a character-type data object.
    at happened?
      Error in the ABAP Application Program
      The current ABAP program "SAPLKKBL" had to be terminated because it has
      come across a statement that unfortunately cannot be executed.
    ror analysis
      At the statment
           "STRLEN( obj )..."
      , only character-type data objects are supported at the argument
      position "obj".
      In this particular case, the operand "obj" has the non-charcter-type type
      "P".
    igger Location of Runtime Error
      Program                                 SAPLKKBL
      Include                                 LKKBLF99
      Row                                     3.948
      Module type                             (FORM)
      Module Name                             GEN_FIELD_OUT2
    Line  SourceCde
    3923 * Bei NUMC führende '0' und ' ' nicht berücksichtigen
    3924   elseif gs_fc-tech_form = 6.
    3925     write  to gs_out-hlpchar no-zero left-justified.
    3926     if gs_fc-just = 'R'.
    3927       condense gs_out-hlpchar.
    3928     endif.
    3929     gs_out-hlplen = strlen( gs_out-hlpchar ).
    3930   elseif gs_fc-tech_form = 11.                              "INS TECH11
    3931 *   Min. Ausgabelänge für ein Datum ist immer 8
    3932     if gs_fc-datatype = 'DATS'.                             "INS TECH11
    3933       gs_out-hlplen = 8.                                    "INS TECH11
    3934 *    Min. Ausgabelänge für eine Uhrzeit ist immer 6
    3935     elseif gs_fc-datatype = 'TIMS'.                         "INS TECH11
    3936       gs_out-hlplen = 6.                                    "INS TECH11
    3937     endif.                                                  "INS TECH11
    3938   elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.
    3939 *   Überführung int. in ext. Format via Konvertierungsexit
    3940     if not gs_fc-convexit is initial or                     "INS TECH11
    3941        not gs_fc-inttype ca 'CN'.
    3942 *   elseif not gs_fc-convexit is initial.            "DEL TECH11
    will be waiting for quick response please respond at your discretion.
    regards.
    Varma
    Edited by: Thomas Zloch on Mar 11, 2010 11:48 AM

    hi suhas .
    the folliwing below is the code for alv and i had used 2 different structures for populating the data into alv
    FORM fieldcat_init  USING    p_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = 'ORDER'.
      ls_fieldcat-ref_tabname = 'st_proc_out'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'ORDER NUMBER'.
      ls_fieldcat-seltext_m   = 'ORDER NUMBER'.
      ls_fieldcat-seltext_l   = 'ORDER NUMBER'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = 'P_ORDER'.
      ls_fieldcat-ref_tabname = 'st_proc_out'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'P.O.NUMBER'.
      ls_fieldcat-seltext_m   = 'P.O.NUMBER'.
      ls_fieldcat-seltext_l   = 'P.O.NUMBER'.
      APPEND ls_fieldcat TO p_fieldcat.
    CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='LINE'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Line Number'.
      ls_fieldcat-seltext_m   = 'Line Number'.
      ls_fieldcat-seltext_l   = 'Line Number'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='MATNO'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Mat.Number'.
      ls_fieldcat-seltext_m   = 'Mat.Number'.
      ls_fieldcat-seltext_l   = 'Mat.Number'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   ='MATERIAL'.
      ls_fieldcat-ref_tabname = 'st_proc_out2'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_s   = 'Mat Descrption'.
      ls_fieldcat-seltext_m   = 'Mat Descrption'.
      ls_fieldcat-seltext_l   = 'Mat Descrption'.
      APPEND ls_fieldcat TO p_fieldcat .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = 'YSDRO024C1'
          i_grid_title       = 'EXPORT ORDER REPORT'
          is_layout          = alv_layout
          it_fieldcat        = alv_fieldcat
          i_save             = 'A'
        TABLES
          t_outtab           = i_output
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM  proc_print.
    FORM proc_print .
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-col_pos     = '1'.
      ls_fieldcat-fieldname   = 'ORDER'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_m   = 'ORDER NUMBER'.
      ls_fieldcat-ddictxt     = 'M'.
      APPEND ls_fieldcat TO alv_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-col_pos     = '2'.
      ls_fieldcat-fieldname   = 'P_ORDER'.
      ls_fieldcat-key         = 'X'.
      ls_fieldcat-seltext_m   = 'PO NUMBER'.
      ls_fieldcat-ddictxt     = 'M'.
      APPEND ls_fieldcat TO alv_fieldcat.
    regards,
    Varma

  • Error when attempting to download SQ01 query data to Excel

    Hi Experts ,
    I am getting error when attempting to download SQ01 query data to Excel .
    Error message - Contact your system administrator. The following template is missing: sap_om.xls
    Message no. 0K 407
    I have looked through the SAP GUI installation files and can find no record of the missing file
    Help

    Hi
    Please check SAP note 305900 & 803067
    Regards
    Ravinder

  • Facing problem while downloading ALV grid Output into Excel

    Hi Guys,
    I am facing problem while downloading ALV grid Output into Excel.
    It is downloading into excel, but all character columns first and next all quantity columns it is displaying. But I need columns order as it is in the grid.
    If I take all columns as characters it works fine. But it will be problem for calculating total, subtotals of quantity columns
    Can someone help me regarding this
    thanks for your help

    Hi,
    Open up Excel on your desktop. Goto Tools > Macro > Security.
    Make sure that your security is set to Medium (or less). SAP uses OLE automation to run the Excel instance and in Office 2003 (for example), Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
    Was this your problem? Don't forget those points, either.
    check with this wetther it is solved or not.
    Regards,
    sana.

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • Facing short dumps when trying to open session in CSA

    Hi
    All am facing Short dump when i am trying to open session in CSA
    Error detials:
    go to System Administration workcenter  task management up CSA. Choose the Solution
    got short dump:
    Short text
        Length error occurred in IMPORT statement.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "LOAD" "(METHOD)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        During import the system discovered that the target object has
        a different length than the object to be imported.
    Missing RAISING Clause in Interface
        Program                                 SAPLDSVAS_PROC
        Include                                 LDSVAS_PROCTAI
        Row                                     1.431
        Module type                             (METHOD)
        Module Name                             LOAD
    Trigger Location of Exception
        Program                                 SAPLDSVAS_PROC
        Include                                 LDSVAS_PROCTAI
        Row                                     1.514
        Module type                             (METHOD)
        Module Name                             LOAD
    Please help me to solve this problem
    Regards,
    Neni

    Hello Neni
    According to the information I saw in that post it could be caused by a sort of inconsistency of the program code vs a structure.
    Wether that is a bug that is in your SAP Solution Manager release or something that is caused by administrative actions (perhaps solving SPAU entries after SP stack update or upgrade) I cannot tell.
    I would recommend you either try and find a relative SAP note (narrowing down result to only your SAP Solution Manager system) and searching using the dump keywords. If you cannot find anything I would recommend you to open a customer message so SAP can take a look at the specific error.
    If you give more information, perhaps someone on the forum can help you out abit better, which SAP Solution Manager version and so on.
    You also didn't answer my question, any recent changes you are aware of ?
    Kind regards
    Tom

  • Short dump when trying to see the text elements of main window

    Hi ,
            The form is running properly in 4.7 c . But when the same is copied in ECC5.0 (unicode) , i 'm getting short dump while trying to see the TEXT ELEMENTS .
                    The message is like ' trying to create a field with zero length'.
    Regards,
    Jytoi.

    hi
    I've never worked on ECC 5.0 version..however, I can only tell u that this could be the issue that code written in 4.7 may not be supported in 5.0..so try to get a good idea of ECC 5.0 before u start coding in this..
    regards,
    shamim

  • Short Dump when trying to open C-project due to status

    Hi,
    We have a daily batch job in CRM that reports all the project ID's and
    sends e-mails out to recipients.
    As part of this report it retrieves the statuses for the project ID's,
    however the report short dumps when retrieving the status for one of
    the projects because it is not finding an active status.
    When we try and open the project in C-projects we get the same short
    dump error: CX_DPR_FATAL_ERROR so we cannot view or update the status.
    When we investigate this issue we find that in table CRM_JCDS there are
    3 entries for this project ID. One of the statuses is inactive (I1703)
    but there is another status that is active (I1701). The two status
    entries were created at exactly the same date and time and by the same
    user.
    In table CRM_JEST there is only one entry shown which shows an inactive
    status and we believe this to be the wrong status. Please can you
    advise if this status conflict is causing the problem and also how to
    resolve this issue?

    Hi Paul,
    generally, the project and its elements must have an active status in table CRM_JEST, however, at this point it is not clear how this inconsistency arised. There is no SAP standard report or a 'generally valid' solution that could solve this issue, however, I found a customer message that you have opened in September with exactly the same problem. A colleague from the development team already provided you with a correction report, but there was no feedback from your side if it helped or not.
    It is very difficult to provide help as inconsistencies can have several different causes, so the best would be to have this checked in a customer message with an example.
    Regards,
    Silvia

  • Short dump when trying to open FPM for Web Dynpro Application

    Hi,
    I am receiving a short dump while trying to open a Web Dynpro Application in FPM.  I go to SE80 and open the Web Dynpro component 'FPM_OIF_COMPONENT'.  I then choose the application '/sapsrm/wda_l_fpm_oif'.  I then click Web Dynpro Application -> Test -> Execute in Administration Mode.  A new IE browser is opened and I then receive a short dump.  The name of the short dump runtime error is 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' and the exception is 'CX_SY_REF_IS_INITIAL'.
    I have not used FPM before.  I would like to use it to remove the 'Close' button from this application.  Do I need to initialize FPM before using it?
    Please help.
    Thanks,
    Jeff

    >
    Chinnu wrote:
    > Hello Jeffery Andersen,
    >
    > If I understand correctly, you are trying to preview FPM_OIF_COMPONENT.
    >
    > I think this component can not be executed as it just is a template for creating a FPM applications. In other words, it is an interface that can be used to created a WD ABAP application from work bench.
    >
    > This [Floor Plan Manager - ABAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50&overridelayout=true] can help you understand better.
    >
    > Best regards,
    > Chinnu
    Hi Chinnu,
    Your understanding is not correct, he is trying to execute the application /sapsrm/wda_l_fpm_oif'.
    Hallo Jeff,
    everyone have suggested lots of possibilities. Nothing works for you. I would suggest the following.
    Go and execute any other FPM application which uses FPM_OIF_COMPONENT,does it work ?
    If it works then you can narrow down that /sapsrm/wda_l_fpm_oif is not working and you can raise a OSS ticket.
    If it is not working then you have to see if you have right BASIS versions to use FPM.
    Edited by: Baskaran Senthivel on Dec 6, 2010 1:09 PM

  • Trying to export pdf file data into Excel.

    Dear Adobe Community,
    I have a file that is 122 pages long and I am trying to export the data into Excel.  When I try to copy the pdf info, it shows in Excel as a picture, not the specific data.  I have Adobe Acrobat Professional 7.0 and the pdf version is 1.5 (Acrobat 6.x).  The PDF producer is Adobe Acrobat 7.0 paper capture plug-in.  Are are any suggestions on how to trasfer the data to Excel?  Thanks in advance.
    Neal
    P.S. the file is attached so you can see the issues I am dealing with.  Any help would be greatly appreciated.

    Unfortunately, the file is still in the checking queue. Do I understand you correctly that the PDF is actual text, or is it a scan? If you scanned it and got just the graphics, you have to run OCR before you can continue. I would do this on a copy of the scan file so that you can always go back to that file as you try things.

  • Download Sales Contract data into Excel sheet

    Hi,
    I need to download the Sales Contract Data into excel sheet is there a Function module that i can use?? Else how do i go about it. Kindly help.
    Thanks,
    Riya.

    use the function module FUNCTION 'GUI_DOWNLOAD'
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = 'C:\REPORT.XLS'
    FILETYPE = 'ASC'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = 'X'
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = IT_PR
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.

  • Short Dump when trying to change configuration of BT112H_SC/OVViewSet (Service Contracts)

    Hi Experts,
    I have a problem with a component usage when trying to change the OverviewSet Configuration for the Service Contract. The whole component BT112H_SC is complete standard and no enhancements have been made yet.
    When trying to change the configuration of the view OVViewSet there appears the error message:
    '500 SAP Internal Server Error'
    Error: Define Component Usage 'CUIR_Container' (termination: Rabax_State)
    The place where the code dumps is shown in the attached picture with the name 'ST22'. The error screen when trying to change of the configuration is shown in the attached picture 'Configuration'
    It seems like one error is appearing in Line 18 of the class CL_BSP_WD_REPOSITORY and method GET_CMP_USAGE_DEF:
    Method: GET_CMP_USAGE_DEF.
    method GET_CMP_USAGE_DEF.
       field-symbols: <USAGE> type BSP_WD_CMP_USAGE_DESCR.
       read table ME->USAGES with key USAGE_NAME = IV_USAGE_NAME
                             assigning <USAGE> binary search.
       if SY-SUBRC = 0.
    *   Is usage active?
         if CL_WEBCUIF_SWITCH=>IS_ACTIVE( IV_SWITCH_ID = <USAGE>-SFW_DATA-SWITCH_ID
                                          IV_REACTION  = <USAGE>-SFW_DATA-REACTION ) ne ABAP_TRUE.
    *     usage switched off
           raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
             exporting
               TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>ACCESS_2_INACTIVE_ELEMENT
               NAME   = IV_USAGE_NAME.
         endif.
         RS_RESULT = <USAGE>.
       else.
         raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
           exporting
             TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>UNDEFINED_CMP_USAGE
             NAME   = IV_USAGE_NAME.
       endif.
    endmethod.                    "GET_CMP_USAGE_DEF
    Any Ideas? Do I have to create the component usage manually?

    Hi Oliver,
      Go to RTR->Viewset->OVViewset-> see whether any view 'CUIR_CONTAINER' is there in that viewset.
      If it is there then u need to create component usage of that view. Or else remove that view from viewset.
    Regards,
    Arun

  • Short dump when trying to change DTP status to 'green'

    Hi,
    For a DTP delta run that brings in 0 records, the technical status turn green after 5-6seconds. But the overall status remains in yellow state.
    Also if we manually try to set it to 'red', I am able to do so and delete this request and run a new request, but again it ends with overall status yellow.
    If I try to set it to 'green' manually following short dump occurs:
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLRSMDATASTATE
    Application Component  BW-WHM-DST
    I have already scanned all SAP notes relevant for this short dump, but none of them relates to this scenario.
    Please let me know if anyone faced this issue anytime, and how was it solved?
    Version : BW 7.02 SP14
    Regards,
    Rathy

    Hello Rathy,
    You can do following things,
    From message, it is apparent that there is Error in one of the ABAP Program . And as the Error is occurring within few seconds of the Start of DTP, can you check and debug the Start Routine .
    If Start Routine is not there, try to check whatever ABAP routine are there in facilitating the  processing.
    ( Routine in relevant Application Componenrt - BW-WHM-DST )
    Before this, can you also check the ABAP Dump through  ST22 and make sure that the underlying datasource ( for DTP ) is OK and smooth.
    Try to proceed in that way.. Hope this helps !
    Regards
    YN

  • Short Dump when trying to display transformations.

    hello Experts,
    When I am trying to display the rule details in the transformations i am facing the follwing shortdump messages. I just want to see the rooutine in the rule details of the transformation.Could you please help me to resolve this issue.
    "MESSAGE_TYPE_X" " "
    "CL_RSTRAN_STEP_ROUT===========CP" or "CL_RSTRAN_STEP_ROUT===========CM008"
    "MAINTAIN_ROUT"
    Regards,

    Step 1: After u see the error message when you open the transformation, try TC su53. This will tell you if you are missing any authorization.
    Step2 : If everything is fine! Is your Tran 'deactivated' id 'white' in color ? Activate you source n target again & try to open the TRAN

  • Short dump when trying to Select date in Field

    Hi,
    I created generic data source based on Function Module. I went to RSA3 to test the extraction and I got this error message when I tried to enter a date as input selection in date field or any other selection field
    If I test the extraction without any input I get correct results.
    Whats the reason for this error?
    *Error analysis
       The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
       statement in which the WHERE condition contains an IN itab operator.
       The IN itab operator is used with internal tables which
       have the following structure:
          SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field
       The OPTION column should contain only one of the following values:
          "EQ LE GE CP BT NE LT GT NP NB"
    Function module code
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'COMPID'.
            MOVE-CORRESPONDING L_S_SELECT TO rd.
            APPEND rd.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'SUBSCRIBERS'.
            MOVE-CORRESPONDING L_S_SELECT TO rs.
            APPEND rd.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'TURNOVER'.
            MOVE-CORRESPONDING L_S_SELECT TO rt.
            APPEND rd.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'ENTRYDATE'.
            MOVE-CORRESPONDING L_S_SELECT TO re.
            APPEND rd.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT (S_S_IF-T_FIELDS) FROM ZMOBILEDATA
                                   WHERE COMPID  IN rd AND
                                         SUBSCRIBERS  IN rs AND
                                         TURNOVER IN rt AND
                                         ENTRYDATE IN re.
        ENDIF.                             "First data package ?
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE E_T_DATA
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR S_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
    Thanks

    Hi,
    thanks for your input
    Rd, rt,re and rs are ranges.
    Select ranges
      RANGES: rd FOR ZMOBILEDATA-COMPID,
              rs FOR ZMOBILEDATA-SUBSCRIBERS,
              rt FOR ZMOBILEDATA-TURNOVER,
              re FOR ZMOBILEDATA-ENTRYDATE.
    thanks'

Maybe you are looking for

  • I just rented a movie from iTunes, there is an image but no sound.

    I just downloaded Argo onto my MacBook. When I played the movie the image appeared but there was no sound. This has never happened before with movies that I downloaded to my laptop.

  • How an Event (0BUSEVENT) works

    Hi, I would like to know what an event is and how it works. In Production Planning Standard Flow i could see a routine for 0MATERIAL Field in which 0BUSEVENT is used. 0BUSEVENT has values like PA,PB,PC,PD etc.. i would like to know what these values

  • Customer Service, in one word.... shocking

    Craig, I'm placed an order the 5th November for BT Infinity whilst on the phone call I was advised that the nearest installation would be the 21st November which I at the time I said was unacceptable and would like another appointment arranged, follo

  • To check the space.need quick help

    i have to export a whole schema.how should i check if i have the enough space for tht.waht are the commads for it. and i need to know how big is the schema. OS is Unix thnxs in advance Navneet

  • Reshedule Date in MD04

    Hi Guru's, We have an requirement to add an Open Purchase Order. Now they needs to display Reshedule date from TCode: MD04 for each line item of Purchase Order in the output. We have done but we are getting perfomance issues Because we are not able t