Short dump in transfer dataset  help me out

hi to all experts,
  my requirement is to extract some records from z table.insert some records and download it in a text file and upload into the program and bring the file into application server using open dataset close and transfer dataset .here is my code. its giving a short dump in transfer dataset
message in short dump is transfer f to fname.
          f cannot be non-char like field
REPORT  ZB14HAI_DATATRANSFER1                   .
DATA : IT_emp LIKE TABLE OF ZB14hai_EMP with header line,
       WA_emp LIKE LINE OF IT_emp.
SELECT * FROM ZB14hai_EMP INTO TABLE IT_emp.
WA_emp-EMPNO   = '10'.
WA_emp-EMPNAME   = 'FAHEEM'.
WA_EMP-EMPSAL  = '34567'.
WA_EMP-EMPJD   = '19122000'.
WA_EMP-DEPTNO  = '20'.
INSERT WA_EMP INTO IT_EMP INDEX  9.
WA_EMP-EMPNO   = '11'.
wa_emp-empname   = 'VAHID'.
WA_EMP-EMPSAL  = '45678'.
WA_EMP-EMPJD   = '19122000'.
WA_EMP-DEPTNO  = '20'.
INSERT WA_EMP INTO IT_EMP INDEX 10.
WA_EMP-EMPNO   = '12'.
wa_emp-empname   = 'AHMED'.
WA_EMP-EMPSAL  = '90000'.
WA_EMP-EMPJD   = '19122000'.
WA_EMP-DEPTNO  = '30'.
INSERT WA_EMP INTO IT_EMP INDEX 11.
WA_EMP-EMPNO   = '13'.
wa_emp-empname   = 'SRINIVAS'.
WA_EMP-EMPSAL  = '45678'.
WA_EMP-EMPJD   = '19122000'.
WA_EMP-DEPTNO  = '30'.
INSERT WA_EMP INTO IT_EMP INDEX 12.
WA_EMP-EMPNO   = '14'.
wa_emp-empname   = 'KRISHNA'.
WA_EMP-EMPSAL  = '432123'.
WA_EMP-EMPJD   = '19122000'.
WA_EMP-DEPTNO  = '40'.
INSERT WA_EMP INTO IT_EMP INDEX 13.
CALL FUNCTION 'GUI_DOWNLOAD'
   EXPORTING
   BIN_FILESIZE                  =
     FILENAME                      = 'C:\FAHEEM\EMPLOYEE.TXT'
   FILETYPE                      = 'ASC'
   APPEND                        = ' '
     WRITE_FIELD_SEPARATOR         = 'X'
   HEADER                        = '00'
   TRUNC_TRAILING_BLANKS         = 'X'
   WRITE_LF                      = 'X'
   COL_SELECT                    = 'X'
   COL_SELECT_MASK               = ' '
   DAT_MODE                      = ' '
IMPORTING
   FILELENGTH                    =
   TABLES
     DATA_TAB                      = IT_EMP
  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.
else.
message i000(zhnc) with 'downloaded successful'.
ENDIF.
clear it_emp.
clear wa_emp.
CALL FUNCTION 'GUI_UPLOAD'
   EXPORTING
     FILENAME                      = 'C:\FAHEEM\EMPLOYEE.TXT'
   FILETYPE                      = 'ASC'
     HAS_FIELD_SEPARATOR           = 'X'
   HEADER_LENGTH                 = 0
     READ_BY_LINE                  = 'X'
   DAT_MODE                      = ' '
IMPORTING
   FILELENGTH                    =
   HEADER                        =
   TABLES
     DATA_TAB                      = IT_EMP
  EXCEPTIONS
    FILE_OPEN_ERROR               = 1
    FILE_READ_ERROR               = 2
    NO_BATCH                      = 3
    GUI_REFUSE_FILETRANSFER       = 4
    INVALID_TYPE                  = 5
    NO_AUTHORITY                  = 6
    UNKNOWN_ERROR                 = 7
    BAD_DATA_FORMAT               = 8
    HEADER_NOT_ALLOWED            = 9
    SEPARATOR_NOT_ALLOWED         = 10
    HEADER_TOO_LONG               = 11
    UNKNOWN_DP_ERROR              = 12
    ACCESS_DENIED                 = 13
    DP_OUT_OF_MEMORY              = 14
    DISK_FULL                     = 15
    DP_TIMEOUT                    = 16
    OTHERS                        = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
MESSAGE I000(ZHNC) WITH 'UPLOAD SUCCESSFUL'.
ENDIF.
DATA : FNAME(90) VALUE 'j:/ hai.txt'.
OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT .
IF SY-SUBRC = 0.
  WRITE : / 'FILE OPENED  FOR OUT PUT'.
ELSE.
  WRITE : /'FILE NOT OPENED'.
ENDIF.
LOOP AT IT_emp into wa_emp.
  TRANSFER it_emp TO FNAME.
ENDLOOP.
CLOSE DATASET FNAME.
IF SY-SUBRC = 0.
  WRITE : / 'FILE CLOSED'.
ELSE.
  WRITE : /'FILE NOT CLOSED'.
ENDIF.

Hi,
to open a data set, you need to have the path for the application server file, to see the application server files. goto AL11 transaction code, there you will find the directories then inside it you will find sub directories then you will find the file names, there you need to open the file using the open datasets ..
you have written DATA : FNAME(90) VALUE 'j:/ hai.txt'. , but this is not a application server file name, just goto AL11 then you will find the file names and give the correct path
Regards
Sudheer

Similar Messages

  • Short Dump...Bottleneck pushed it out of the local program buffer

    Hello!!
    We have had a dump in production. The message is:
    While the program was running, the program "SAPLV07A" had to be reloaded because a bottleneck pushed it out of the local program buffer. However, the database was found to contain an already changed program.
    The termination occurred in line 87 of the source code of the (Include)  program "FV45PFAP_XVBAP_UPDATE_EINTEILU" of the source code of program "FV45PFAP_XVBAP_UPDATE_EINTEILU" (when calling  the editor 870).
    It has ocurred while the user was executing VA03.
    Im not sure but i think it is only a circumstancial error.
    Do u know that is happened?
    Thx
    Edited by: Alvaro Tejada Galindo on Mar 3, 2008 1:58 PM

    Well - it could be that a transport was imported while the transaction was running.
    What happens when the same user re-executes the same transaction?
    Rob
    Edited by: Rob Burbank on Mar 3, 2008 1:23 PM

  • ABAP Short Dump - COMPUTE_BCD_OVERFLOW - CX_SY_ARITHMETIC_OVERFLOW

    Runtime errors      COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    I want to move Currency variable with 4 decimals to another currency variable with 2 decimals. Please advice me with a suitable solution without causing short dump.
    Appreciate Your Help in Advance.
    Thanks.
    Kannan.

    SAP catch the exception like this :
    CATCH SYSTEM-EXCEPTIONS conversion_errors = 1
                                        arithmetic_errors = 5.
                  xkwert = xkomv-kwert * 1000 * xkomv-kpein / komp-mgame.
                  xkomv-kbetr = xkwert.
                ENDCATCH.
                IF sy-subrc = 1 OR sy-subrc = 5.
                  xkomv-kbetr = 0.
                  xkomv-fxmsg = '802'.
                  komp-fxmsg  = '802'.
                ENDIF.

  • When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.

    When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.
    Can anybody help me with this?

    This is the content of the dump.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    Date and Time          05/17/2007 11:21:29
    Short text
         Access via 'NULL' object reference not possible.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "/SAPAPO/SAPLADVF" 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_REF_IS_INITIAL', was not
          caught in
         procedure "/SAPAPO/ADVF_CELL_INPUT" "(FUNCTION)", 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:
         You attempted to use a 'NULL' object reference (points to 'nothing')
         access a component (variable: "C_S_ACTVIEW-AGC_CHILD1-APOGRID").
         An object reference must point to an object (an instance of a class)
         before it can be used to access components.
         Either the reference was never set or it was set to 'NULL' using the
         CLEAR statement.
    Missing RAISING Clause in Interface
        Program                                 /SAPAPO/SAPLADVF
        Include                                 /SAPAPO/LADVFU06
        Row                                     1
        Module type                             (FUNCTION)
        Module Name                             /SAPAPO/ADVF_CELL_INPUT
    Trigger Location of Exception
        Program                                 /SAPAPO/SAPLADVF
        Include                                 /SAPAPO/LADVFU06
        Row                                     81
        Module type                             (FUNCTION)
        Module Name                             /SAPAPO/ADVF_CELL_INPUT
    Source Code Extract
    Line  SourceCde
       51 *#TR# (1) Check arguments: Read only mode must be 0, 1 or 2 and row and column must be provi
       52   if f_argument2 is initial or f_argument3 is initial.
       53     break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. exit.
       54   endif.
       55
       56
       57 *#TR# (1a) Calculate line number of the cell (line + line offset)
       58   l_line = f_argument2 + i_line_offset.
       59
      60 *#TR# (1b) Set L_CELL_READONLY depending on the read only mode F_ARGUMENT
      61   case f_argument.
      62     when 0. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_only.
      63     when 1. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
      64     when 2. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless.
      65     when others.
      66       break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. return.
      67   endcase.
      68
      69 *#TR# (1c) The input status of cells set to read only by the data view definition (history)
      70   if f_argument3 < g_s_cols_properties-first_input_column.
      71     return.
      72   endif.
      73
      74 *#TR# (1d) Note 1005813: The old APOGRID does not support the read only mode
      75 *#TR# /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-READ_WRITE. For compatibility reasons, w
      76 *#TR# read only mode /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-STATELESS
      77
      78 *#TR# Determine version of APOGRID to check, if new or old APOGRID is used. The version is b
      79 *#TR# reasons
      80   if g_agc_grid_version is initial.
    >>>>     c_s_actview-agc_child1-apogrid->get_control_version(
      82       IMPORTING
      83         apogrid           = l_apogrid
      84       EXCEPTIONS
      85         cntl_system_error = 1
      86         cntl_error        = 2
      87         others            = 3
      88           ).
      89     if sy-subrc <> 0.
      90       break-point id /sapapo/adv__execution. clear f_argument. f_calc_error = true. exit.
    91     endif.
    92
    93     g_agc_grid_version = l_apogrid.
    94   endif.
    95
    96 *#TR# If the old grid is used change read only mode if necessary
    97   if g_agc_grid_version < 200
    98     and l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
    99
    100     l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless.

  • Delete delivery short dump. Message me803

    I am trying to delete a delivery created in 2012, for which pgi is not done.
    Short dump occured. Someone help how to rectify this.

    Hi
    Did you search in Google before posting this query? This has already been discussed many times.
    Check these links and see what Jurgen has suggested.
    When ME 803 is triggered?
    ME 803 - quantity not completely distributed | SCN
    Thank$

  • Experts plz help me short dump

    hi experts
    plz help me
    in ecc 6.0 gettin a short dump
    THANKS IN ADVANCE
    error is ::
    For the statement
           "TRANSFER f TO ..."
        only character-type data objects are supported at the argument position
        "f".
        In this case. the operand "f" has the non-character-type "T_LINE". The
        current program is a Unicode program. In the Unicode context, the type
        'X' or structures containing not only character-type components are
        regarded as non-character-type.
    and it is coming in line::
    LOOP AT v_tab.
      TRANSFER v_tab TO p_file.  "<b>this line contains error</b>
    ENDLOOP.
    FYI::
    TYPES: BEGIN OF t_line,
           pspid(9) TYPE c,
           tab1 TYPE x,
           post1 TYPE proj-post1,
           tab2 TYPE x,
           vernr TYPE prps-vernr,
           tab3 TYPE x,
           astnr TYPE prps-astnr,
           tab4 TYPE x,
           usr00(12) TYPE c,
           tab5 TYPE x,
    END OF t_line.
    PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.         "DMA20040510
      OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    QUESTION:::
    CAN WE USE FEILD SYMBOL IN IT
    LIKE  TRANSFER <Fs> TO P_FILE.

    Hi,
        LOOP AT v_tab ASSIGNING <in>.
        p_file = <in>.
        ENDLOOP.
    Best regards,
    Prashant

  • Dump on OPEN DATASET ; TRANSFER stmt

    p_name is the file name parameter
    FORM APPL_TRAN.
      file = p_name.
      OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        CLEAR wa_final.
    Loop through the internal table which has the ECC data and transfer it to the file.
        LOOP AT it_final  into wa_final.
          TRANSFER wa_final to file.
          CLEAR wa_final.
        ENDLOOP.
    *Close the file.
        CLOSE DATASET file.
      ENDIF.
    ENDFORM.                    "APPL_TRAN
    I'm getting a short dump when the stmt TRANSFER is executed.
    The Error Analysis is as follows:
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "TY_ECC2". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    Can someone please help me in this regard.
    Thanks,
    FS

    hi,
    ur internal table it_final declaration is like this
    data : begin of it_final occurs 0,
              matnr(18),
              werks(4),
             end of it_final.
    in this situation ur statement
    OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    works then u wont get any dump in transfer statement.
    so u replace
    OPEN DATASET file FOR OUTPUT IN BINARY MODE .
    it works.
    regards
    siva

  • Short Dumps - How to find out in which process it occured.

    Hi,
    I see quiet a bunch of short dumps in ST22. Like "Message Type X". I wanted to find out in which job/process short dumps have occured?
    Please help me out...
    Thanks in Advance....:)
    Regards,
    Habeeb

    Hi ,
    The simplest way is to double click on a particluar dump in st22 and go in details like -What happened? ,What can you do?,How to correct the error  etc .
    there  were plenty of  options available according ot that u can dig out the error and find out the cause
    (tip-usually job were failed due to some Z programs ,so better way is to search for Z* ,it will give the related object or program in most of the cases.)
    hope it helps....
    Regards,
    Chetan R

  • Need help regarding short dumps in BW

    hi all,
    We have a problem in our production.Thousands of short dumps have been created in a day stating
    "Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB"
    =====================
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure "INSERT_ODS"
    "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The exception must either be prevented, caught within the procedure
    "INSERT_ODS"
    "(FORM)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Database error text........: "ORA-14400: inserted partition key does not map to
    any partition"
    ===================
    The RSRV check shows "Inconsistency: High value for table /BIC/B0000xxx000: 0002 ; PARTNO value in RSTSODS: 010."
    When a repair was run on this table the short dumps stopped.Is there any other steps that should be taken to avoid such dumps in future/is there something that we have missed to maintainin in BW.
    Please explain in detail, it will be of great help.
    Thanks

    Hi All,
    Thanks a lot for the valuable messages.
    So when all these stated notes are followed, and if in future if a simillar problem comes, the recovery step would be running the RSRV test and repair on the particular object?
    Thanks once again.
    Shailaja

  • Caller 70 is missing time out (short dump)

    when I was trying to load transaction data into cube , it was failed
    the error message was :
    short dump : caller 70 is missing
    I checked in st22 , it shows that <b>time out</b> .
    when check in r/3 side , extraction was over and job was finished.
    data is coming upto PSA & is not updating into data target and geting failed after some time.
    can any one give me suggestion.
    thanks in advance
    Ram

    Hi Ram.
    We were getting the same message.  SAP recently published note 631668.  It suggests dropping the InfoCube indexes before the load and then rebuilding them afterwards.
    I set our system up to do that last night.  We didn't get the error last night, but a single set of loads is not enough to make me say that it works.  But it might be worth trying in your case.
    Regards,
    Adam

  • Thanks.. can u please help me out in one more question. how can i transfer files like pdf, .docx and ppt from my laptop to iPhone 5 ? please its urgent.

    thanks.. can u please help me out in one more question. how can i transfer files like pdf, .docx and ppt from my laptop to iPhone 5 ? please its urgent.

    See your other post
    First, i want to know how can i pair my iPhone 5 with my lenovo laptop?

  • Neep Urgent Help!!! About "SAPSQL_ARRAY_INSERT_DUPREC" short dump

    Hi All,
       I had modified program to create Potential Sale (ZT03) and Opportunity (ZOPS) by using BAPI_ACTIVITYCRM_CREATEMULTI and BAPI_OPPORTUNITY_CREATEMULTI respectively. During run time, I already created potential sale no. properly but when I had created opportunity by refer to potential sale, I got this SAPSQL_ARRAY_INSERT_DUPREC short dump and Can't create opportunity.
        Once that I had seperate creating potential and opportunity, It works well. But need to Log-off and Log-in again to create opportunity if short dump is occured.
       Can anyone help me to solve this issue? Thank you very much.
    Short dump error is show below
    000170   ***   records to insert
    000180     IF NOT it_records_to_insert IS INITIAL.
    >       INSERT crmd_orderadm_h FROM TABLE it_records_to_insert.
    000200       IF sy-subrc NE 0.
    000210         MESSAGE a002(crm_order_misc) WITH gc_object_name-orderadm_h.
    000220       ENDIF.
    000230       PERFORM trigger_events ON COMMIT.
    000240     ENDIF.
    000250

    GUI ID of opportunity is created by this BAPI function. I think it because of this BAPI function try to insert this GUI ID twist into Database (SAP NOTE NO. 620953). According to this SAP note, I already following those solution but still short dump occured.
      By the way, Thank for you help. Very appreciate.

  • Explicit Search Helps Short-Dump in Editable ALV with included structure

    I have an editable ALV grid defined as follows:
      TYPES: BEGIN OF gs_outtab200.
        TYPES: row_indx(4)      TYPE n.
        TYPES: multipurp        TYPE c.
        INCLUDE structure zxrfwc_test.
      TYPES: end of gs_outtab200.
      DATA:
        gt_outtab200             TYPE TABLE OF gs_outtab200,
        wa_outtab200             TYPE gs_outtab200.
    The included structure zxrfwc_test has a component (field) which is defined with a data element that has an explicit search helps associated with it.
    I know that this search help is working properly because it works fine in the program's selection screen.
    But when I invoke the search help from within a column of the ALV itself, I get a short dump with a "GETWA_NOT_ASSIGNED" error.
    I have done plenty of editable ALVs with search helps defined on the data elements and never encountered this problem. 
    Am I hitting this problem because the zxrfwc_test structure is defined within the
    gs_outtab200 structure ??
    If not, what is causing this problem.  (Please note that I have set  ls_fcat-F4AVAILABL = 'X' in the fieldcat routine - this doesn't seem to help at all.)
    Please advise!!!!
    I'm really stuck on this one because it's always worked before when I'm not dealing with a dictionary structure that's included within a larger ALV structure.
    Thanks.

    Hi,
    How you are creating your field catalog?
    Try to create a field catalog in the following way giving reference to your structure. is it possible for you create a DDIC structure as same as
    TYPES: BEGIN OF gs_outtab200.
        TYPES: row_indx(4)      TYPE n.
        TYPES: multipurp        TYPE c.
        INCLUDE structure zxrfwc_test.
      TYPES: end of gs_outtab200.
    * Form f_generate_fieldcatalog                                         *
    * Form generate the field catalog table                                *
    form f_generate_fieldcatalog.
    * Private variable
      data : v_structure like dd02l-tabname.   " Table Name
      v_structure = c_yatt_alv.                      " Structure Name
    * Build the fieldcat according to DDIC structure YATT_ALV:
      call function 'LVC_FIELDCATALOG_MERGE'
        exporting
          i_structure_name       = v_structure
          i_client_never_display = c_x
        changing
          ct_fieldcat            = i_fieldcat[].
    endform.                                 " F_generate_fieldcatalog

  • VOFM on data transfer: shipments causing short dump

    I created two new requirements as copies of routine 008 and 012 into 908 and 912. Both routines are activated and I even ran the RV80HGEN.
    Although code is the same as the original routines, short dump is being produced. (The original code was unmodified to test that the new routine would work the same).
    I also noticed that if I use the 'where-used', the system comes back to say it is not found in selected search area, but otherwise would be.
    The include RV56CNNN has the two includes listed in it and is also active.
    What is missing?

    Hello,
    I removed this from being a thread and closed it, but it apparently is still showing somewhere.
    I was able to figure it out. The internal table in the SAP logic was i_, but when the custom requirement was created, it is c_ so that is why it wouldn't work. It did activate regardless but still had other issues. Once I updated the internal table reference, it was fine.
    Thanks to all who responded. Unfortuntaley points may not be awarded since it was removed early on from being a thread.

  • Short Dump on using SORT of the options given in a F4 Help.

    Hi,
    We are using AT SELECTION SCREEN ON VALUE REQUEST.
    And function module F4IF_INT_TABLE_VALUE_REQUEST to display the F4 help for a parameter on the selection screen. The F4 Help is displayed properly but when we use a sort on the displayed options the program gives a short dump. The short dump shown in the MACROS used in the standard search help program. in SAPLSDH4->LSDH4F09 in the following macros:
      DEFINE do_assign.
        field-symbols <f&1> type any.
        read table dfies_tab assigning <dfies> index &1.
        if sy-subrc = 0.
          perform get_type_leng using <dfies> changing t len.
          if t = 'P'.
            assign <x>+<dfies>-offset(len) to <f&1>
                   type t decimals <dfies>-decimals.
          else.
            assign <x>+<dfies>-offset(len) to <f&1>
                   type t.
          endif.
        endif.
      END-OF-DEFINITION.   
    Has anyone of you come across such a situation? If yes, please provide us the resolution.
    Thanks in advance!
    Regards,
    Manohar.
    P.S: Points would be awarded for helpful answers.

    Hi Manohar,
    You need to set ls_field-inttype field with 'C', please see my section bellow.
    DATA: lt_values TYPE TABLE OF seahlpres,
             lt_fields TYPE TABLE OF dfies,
             lt_return TYPE TABLE OF ddshretval,
             ls_value  TYPE seahlpres,
             ls_field  TYPE dfies,
             ls_return TYPE ddshretval.
       DATA: lt_fee    TYPE TABLE OF ztcsfee WITH HEADER LINE.
       REFRESH: lt_fee, lt_values, lt_fields, lt_return.
       CLEAR ls_field.
       ls_field-fieldname = 'RPRCD'.
       ls_field-intlen    = 100.
       ls_field-leng      = 3.
       ls_field-outputlen = 100.
       ls_field-position  = 1.
       ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t92.
       ls_field-scrtext_m = text-t92.
       ls_field-scrtext_l = text-t92.
       ls_field-reptext   = text-t92.
       APPEND ls_field TO lt_fields.
       CLEAR ls_field.
       ls_field-fieldname = 'RPRCX'.
       ls_field-intlen    = 100.
       ls_field-leng      = 20.
       ls_field-outputlen = 20.
       ls_field-position  = 2.
      ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t93.
       ls_field-scrtext_m = text-t93.
       ls_field-scrtext_l = text-t93.
       ls_field-reptext   = text-t93.
       APPEND ls_field TO lt_fields.
       CLEAR ls_field.
       ls_field-fieldname = 'PRODH'.
       ls_field-intlen    = 18.
       ls_field-leng      = 18.
       ls_field-outputlen = 100.
       ls_field-position  = 3.
       ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t91.
       ls_field-scrtext_m = text-t91.
       ls_field-scrtext_l = text-t91.
       ls_field-reptext   = text-t91.
       APPEND ls_field TO lt_fields.
       SELECT prodh
              rprcd
              rprcx
         INTO CORRESPONDING FIELDS OF TABLE lt_fee
         FROM ztcsfee
        WHERE prodh EQ t179t-prodh.
       LOOP AT lt_fee.
    *- 维护代码
         ls_value-string  = lt_fee-rprcd.
         APPEND ls_value TO lt_values.
    *- 维护描述
         ls_value-string  = lt_fee-rprcx.
         APPEND ls_value TO lt_values.
    *- 本身品牌
         ls_value-string  = lt_fee-prodh.
         APPEND ls_value TO lt_values.
       ENDLOOP.
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
         EXPORTING
    *     DDIC_STRUCTURE   = ' '
           retfield         = 'RPRCD'    "zzrprcd
    *     PVALKEY          = ' '
           dynpprog         = sy-repid
           dynpnr           = sy-dynnr
          dynprofield      = 'ZZRPRCD'    " 'CAUFVD-ZZRPRCD'
    *     STEPL            = 0
           window_title     = 'Hello'
    *     VALUE            = ' '
           value_org        = 'C'
    *     MULTIPLE_CHOICE  = ' '
           display          = space
    *     CALLBACK_PROGRAM = ' '
    *     CALLBACK_FORM    = ' '
         TABLES
           value_tab        = lt_values
           field_tab        = lt_fields
           return_tab       = lt_return
    *     DYNPFLD_MAPPING  =
         EXCEPTIONS
           parameter_error  = 1
           no_values_found  = 2
           OTHERS           = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    DATA: lt_values TYPE TABLE OF seahlpres,
             lt_fields TYPE TABLE OF dfies,
             lt_return TYPE TABLE OF ddshretval,
             ls_value  TYPE seahlpres,
             ls_field  TYPE dfies,
             ls_return TYPE ddshretval.
       DATA: lt_fee    TYPE TABLE OF ztcsfee WITH HEADER LINE.
       REFRESH: lt_fee, lt_values, lt_fields, lt_return.
       CLEAR ls_field.
       ls_field-fieldname = 'RPRCD'.
       ls_field-intlen    = 100.
       ls_field-leng      = 3.
       ls_field-outputlen = 100.
       ls_field-position  = 1.
      ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t92.
       ls_field-scrtext_m = text-t92.
       ls_field-scrtext_l = text-t92.
       ls_field-reptext   = text-t92.
       APPEND ls_field TO lt_fields.
       CLEAR ls_field.
       ls_field-fieldname = 'RPRCX'.
       ls_field-intlen    = 100.
       ls_field-leng      = 20.
       ls_field-outputlen = 20.
       ls_field-position  = 2.
      ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t93.
       ls_field-scrtext_m = text-t93.
       ls_field-scrtext_l = text-t93.
       ls_field-reptext   = text-t93.
       APPEND ls_field TO lt_fields.
       CLEAR ls_field.
       ls_field-fieldname = 'PRODH'.
       ls_field-intlen    = 18.
       ls_field-leng      = 18.
       ls_field-outputlen = 100.
       ls_field-position  = 3.
       ls_field-inttype   = 'C'.
       ls_field-scrtext_s = text-t91.
       ls_field-scrtext_m = text-t91.
       ls_field-scrtext_l = text-t91.
       ls_field-reptext   = text-t91.
       APPEND ls_field TO lt_fields.
       SELECT prodh
              rprcd
              rprcx
         INTO CORRESPONDING FIELDS OF TABLE lt_fee
         FROM ztcsfee
        WHERE prodh EQ t179t-prodh.
       LOOP AT lt_fee.
    *- 维护代码
         ls_value-string  = lt_fee-rprcd.
         APPEND ls_value TO lt_values.
    *- 维护描述
         ls_value-string  = lt_fee-rprcx.
         APPEND ls_value TO lt_values.
    *- 本身品牌
         ls_value-string  = lt_fee-prodh.
         APPEND ls_value TO lt_values.
       ENDLOOP.
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
         EXPORTING
    *     DDIC_STRUCTURE   = ' '
           retfield         = 'RPRCD'    "zzrprcd
    *     PVALKEY          = ' '
           dynpprog         = sy-repid
           dynpnr           = sy-dynnr
          dynprofield      = 'ZZRPRCD'    " 'CAUFVD-ZZRPRCD'
    *     STEPL            = 0
           window_title     = 'Hello'
    *     VALUE            = ' '
           value_org        = 'C'
    *     MULTIPLE_CHOICE  = ' '
           display          = space
    *     CALLBACK_PROGRAM = ' '
    *     CALLBACK_FORM    = ' '
         TABLES
           value_tab        = lt_values
           field_tab        = lt_fields
           return_tab       = lt_return
    *     DYNPFLD_MAPPING  =
         EXCEPTIONS
           parameter_error  = 1
           no_values_found  = 2
           OTHERS           = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.

Maybe you are looking for

  • Asked me to load music, now it's not there & error message??

    "The iPod "Amy's Tunes" cannot be updated because one or more of the iTunes playlists selected to update no longer exist." I don't know how to fix this, any ideas? I deleted a playlist, but right now my ipod is empty so I can't figure out why it thin

  • Error when run adobe livecycle trial windows server 2012

    hi i got this error when i try to install adobe livecycle : invocation of this java application has caused an invocationtargetexception when i click more details it show this : ZeroGu2: Windows DLL failed to load           at ZeroGa2.b(DashoA10*..)  

  • AS/400 connectivity using java by jt400 api

    I am making a project on Java Swing. I am having an AS/400 machine i am saving the spool files on AS/400 Machine as .txt and accessing it from a remote Windows Machine. I have made an UI to connect it to the AS/400 machine using JT400 API's. I am hav

  • Video files on my external HD won't play on my iMac

    I recently backed up my iPhoto library onto an external drive due to space issues on my desktop iMac. I did this through the export option in iPhoto. All of the photos have transferred beautifully, however the video files are no longer playing. They

  • Exposure slider makes photo darker

    I have seen this question asked a couple of times, but have not seen a solution. Whenever I so much as "touch" the exposure slider in the adjust panel (iPhoto 6.0.6), the photo gets darker. No change in the value of the slider -- it still reads zero.