Field-symbol not assigned

Hello,
I speak only a bit so I wait that you can understandme.
I have a field-symbol that is assigned to a component of a structure but when I use the field-symbol I recived a error message that say me "field-symbol is not assigned".
field-symbols <ubi> type any.
campo = 'UBIORI'.
assign component campo of structure
                      t_cuantos to <ubi>.
Thank you very much.

H,
Put a check as follows:-
field-symbols <ubi> type any.
campo = 'UBIORI'.
assign component campo of structure
t_cuantos to <ubi>.
if <ubi> is assigned.
* do further processing here
endif.
How is the structure t_cuantos defined?
Is it having a field named UBIORI?
t_cuantos should be a workarea(structure) and not an internal table.
Check the points and reply.
Regards,
Ankur Parab

Similar Messages

  • Issue with field symbol not assigned in SMQ2

    We are facing an issue with an error in SMQ2.
    The error is "field symbol not assigned". There is also short dump in ST22.
    I have read the previous forum threads and it talks about going into the debugger mode.
    However, which is the program to be debugged ?
    How do I navigate from SMQ2 to the ABAP program.
    Kindly let me know.
    Regards,
    Sanjay

    Hi Sanjay,
    You need to debug program RSTRFCM3. This is the program which drives SMQ2.
    However just check if there are any support pack upgrades to the program recently since this is a standard program.
    Regards
    Abhii

  • Error in drill down of  RRI-  Field Symbol not assigned

    Dear all,
    I am trying to call a SAP transaction on click of the jump target. I have created the jump target in the following way ..let me know if I am wrong ..
    Goto RBBS transaction . Specifed the sender report as 0SD_C01/0SD_C01_Q025 (Sales Volume Analysis) and target as r/3 client 210 and specifed the transaction Va01 as target.
    But when I executed the report and did a right click ..on the context menu I coudl see the desription of the Jump target I have created and upon clicking I received a error ..field symbol not assigned ..
    Can any let me know the cause of the error ..and how to resolve.. do i need to give any extra parameters while creating jump target..
    Thanks,
    Gupta

    Hello Gayathri,
    One you got the dump you can select debugger button in top-left corner screen.
    That will take you to the execution snap shot where you can check all the field symbols and find out which one is not
    assigned. accordingly you can find out what is missing on input side to avoid this dump.
    Hope this helps!
    Thanks,
    Augustin.

  • Field symbol not assignned

    Hi,
       i have created my own field catalog and assign to
    reuse_alv_list_display fucntion module but i am getting execption 'field symbols not assigned' can any body help me in solving this problem
    pls give a simple alv program usign own field catlog and list display.

    Code for own catalog
    *& Report  ZMBKN_ALV_FIELDCATALOG
    REPORT  ZMBKN_ALV_FIELDCATALOG.
    TYPE-POOLS SLIS.
    DATA : BEGIN OF ITAB OCCURS 0,
           MATNR TYPE MARA-MATNR,
           MTART TYPE MARA-MTART,
           MATKL TYPE MARA-MATKL,
           TEST TYPE C,
           END OF ITAB.
    SELECTION-SCREEN BEGIN OF BLOCK B.
    PARAMETERS : VALUE TYPE I DEFAULT 20,
                 R_VALUE1 RADIOBUTTON GROUP G,
                 R_VALUE2 RADIOBUTTON GROUP G.
    SELECTION-SCREEN END OF BLOCK B.
    DATA : IT_FCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FCAT TYPE SLIS_FIELDCAT_ALV,
           IT_HEAD TYPE SLIS_T_LISTHEADER,
           WA_HEAD TYPE SLIS_LISTHEADER,
           WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    START-OF-SELECTION.
           PERFORM FORM_LAYOUT.
           PERFORM FIELDCATALOG_DATA.
           PERFORM GET_DATA.
    IF R_VALUE1 = 'X'.
           PERFORM DISPLAY_LIST.
    ELSEIF R_VALUE2 = 'X'.
           PERFORM DISPLAY_GRID.
    ENDIF.
    FORM GET_DATA.
           SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE ITAB UP TO 30 ROWS.
    ENDFORM.
    FORM DISPLAY_LIST .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       I_CALLBACK_PROGRAM             = SY-REPID
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
       IT_FIELDCAT                    = IT_FCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        T_OUTTAB                       = ITAB
    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.
    ENDFORM.                    " DISPLAY_LIST
    FORM DISPLAY_GRID .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = SY-REPID
       I_CALLBACK_PF_STATUS_SET          = 'FORM_PF'
       I_CALLBACK_USER_COMMAND           = 'FORM_USER'
       I_CALLBACK_TOP_OF_PAGE            = 'FORM_TOP'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
       IS_LAYOUT                         = WA_LAYOUT
       IT_FIELDCAT                       = IT_FCAT
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = ITAB.
    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.
    ENDFORM.                    " DISPLAY_GRID
    *&      Form  FIELDCATALOG_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCATALOG_DATA .
      WA_FCAT-TABNAME = 'ITAB'.
      WA_FCAT-FIELDNAME = 'MATNR'.
      WA_FCAT-REF_TABNAME = 'MARA'.
      WA_FCAT-REF_FIELDNAME = 'MATNR'.
      WA_FCAT-OUTPUTLEN = 10.
      APPEND WA_FCAT TO IT_FCAT.
      WA_FCAT-TABNAME = 'ITAB'.
      WA_FCAT-FIELDNAME = 'MTART'.
      WA_FCAT-REF_TABNAME = 'MARA'.
      WA_FCAT-REF_FIELDNAME = 'MTART'.
      WA_FCAT-OUTPUTLEN = 10.
      APPEND WA_FCAT TO IT_FCAT.
      WA_FCAT-TABNAME = 'ITAB'.
      WA_FCAT-FIELDNAME = 'MATKL'.
      WA_FCAT-REF_TABNAME = 'MARA'.
      WA_FCAT-REF_FIELDNAME = 'MATKL'.
      WA_FCAT-OUTPUTLEN = 10.
      APPEND WA_FCAT TO IT_FCAT.
      WA_FCAT-TABNAME = 'ITAB'.
      WA_FCAT-FIELDNAME = 'TEST'.
      WA_FCAT-SELTEXT_M = 'SAMPLE'.
      WA_FCAT-OUTPUTLEN = 10.
      WA_FCAT-EDIT = 'X'.
      APPEND WA_FCAT TO IT_FCAT.
    ENDFORM.                    " FIELDCATALOG_DATA
    FORM FORM_LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " FORM_LAYOUT
    FORM FORM_TOP.
      WA_HEAD-TYP = 'H'.
      WA_HEAD-INFO = 'INT'.
      APPEND WA_HEAD TO IT_HEAD.
      WA_HEAD-TYP = 'S'.
      WA_HEAD-INFO = 'ROAD'.
      APPEND WA_HEAD TO IT_HEAD.
      WA_HEAD-TYP = 'A'.
      WA_HEAD-INFO = 'SAP-ABAP'.
      APPEND WA_HEAD TO IT_HEAD.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        IT_LIST_COMMENTARY       = IT_HEAD.
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
       CLEAR IT_HEAD[].
       ENDFORM.
    FORM FORM_PF USING T_EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'TEST' EXCLUDING 'STANDARD'.
    ENDFORM.
    FORM FORM_USER USING UCOMM  TYPE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
    CASE UCOMM.
    WHEN 'SE11'.
    CALL TRANSACTION 'SE11'.
    WHEN 'EXIT'.
      LEAVE PROGRAM.
      ENDCASE.
      ENDFORM.
    Edited by: Muthappan Alagappan on Apr 22, 2008 4:53 PM

  • Field Symbol not assigned  error

    Hello all...
    I am a functional BI guy but having some problems with some BPS exit code (in charisteristic relationships) ...
    any idea why I would get a 'field symbol not assigned' error with the below?
    The code is straight out of How to: Lines Items in BPS
    Short dump says: GETWA_NOT_ASSIGNED
    Thanks all
    *"*"Local interface:
    *"  IMPORTING
    *"     VALUE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"  CHANGING
    *"     REFERENCE(XS_CHAS) TYPE  ANY
    *"  EXCEPTIONS
    *"      FAILED
    FIELD-SYMBOLS: <l_chavl> TYPE ANY.
    * fill ID
    ASSIGN COMPONENT 'zbpsguid' OF STRUCTURE xs_chas
    TO <l_chavl>.
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
    ev_guid_32 = <l_chavl>.
    * fill user
    ASSIGN COMPONENT '0UNAME' OF STRUCTURE xs_chas
    TO <l_chavl>.
    <l_chavl> = sy-uname.
    * fill date
    ASSIGN COMPONENT '0DATE' OF STRUCTURE xs_chas
    TO <l_chavl>.
    <l_chavl> = sy-datlo.
    * fill time
    ASSIGN COMPONENT '0TIME' OF STRUCTURE xs_chas
    TO <l_chavl>.
    get time field <l_chavl>.
    ENDFUNCTION.

    i just figured it out when you sent me your reply...
    it works!
    genius!

  • FIELD SYMBOLS - Not Assigned/Looking to fetch SAP processed ITAB from a ALV

    Hi Experts,
    Pls. let me know that,
    How to fetch the SAP Standard Prog. processed (w/ data) internal table into my_z_prog.?
    Actually, my intension is that, I need to develop a Z_alv_report similar to RFITEMGL.
    So,I coded as,
    SUBMIT RFITEMGL
      WITH SELECTION-TABLE seltab1
      WITH x_opsel     EQ x_opsel    SIGN 'I'
      WITH x_clsel     EQ x_clsel    SIGN 'I'
      WITH x_aisel     EQ x_aisel    SIGN 'I'
       with pa_vari    eq pa_vari  sign 'I' "ltdx
      EXPORTING LIST TO MEMORY
      and return.
    (seltab1 contains the selection criteria of BUKRS)
    Its working fine for small amount of data, if user runs wide open, huge data, so, dumps r throwing becoz of DECIMAL NOTATIONS, some other crap data!!!
    So, I thoght to use FIELD SYMBOLS.
    So, I know, How to use FILEDS SYMBOLS, like,
    FIELD-SYMBOLS: <fs> TYPE ANY.
    ASSIGN ('(SAPFV45P)XVBAP[]') TO <fs>.
    CHECK SY-SUBRC IS INITIAL.
    IF NOT <fs> IS INITIAL.
    I_T_VBAP = <fs>.
    ENDIF.
    So, i implemented the same in my_z_alv_prog; from other thread, likem eblow.
    Suppose RFGLBALANCE is your standard program and you have an internal table named I_RFGLBALANCE.
    And lets say your Z program name is Z_SRINIVAS.
    First find out the type of the internal table you want in your Z-program in the standard program. And declare an internal table of similar type in your Z-program.
    Later wherever you are putting the below mentioned code.
    SUBMIT RFGLBALANCE WITH selection criteria
    here I used the FILED SYMBOLS .......
    BUT, am getting error as FILED SYMBOL NOT ASSIGNED.
    So, pls. let me know that,
    1 - Can I get the SAP processed ITAB by using FIELD SYMBOL into my_z_prog.?
    2 - If NOT , wht is the alternative idea?
    3 - if so, pls. code a peice of code according my reqirement by using FIELD SYMBOLS, in such a way to get SAP ITAB from RFGLITEMS
    URGENT pls.
    thanq
    Edited by: Srinivas on Mar 26, 2008 9:53 AM
    Edited by: Srinivas on Mar 26, 2008 10:08 AM

    no response

  • Field Symbol not assign

    hi experts,
    can you help me on this on.
    data: dref type ref to data,
                         drefc type ref to data.
    field-symbols: <itab type standard table,
                            <ctab> type standard table.
    create data: dref type standard table of (s_tab).
    create data: dfrefc type standard table of (s_ctab).
    assign dref->* to <itab>.
    assign drefc->* to <ctab>.
    select * from (s_tab) into table <itab>.
    loop at <itab> assigning <wa>.
    move-corresponding <wa> to <wa_ctab>. -----> <wa_ctab> not assigned
    insert into (s_ctab) values <wa_ctab>.
    endloop.  commit work.
    please help.
    Thank You

    Hi,
    Try this code.
    tables dd02l.
    DATA: s_tab TYPE dd02l-tabname VALUE 'MARA',
          s_ctab TYPE dd02l-tabname VALUE 'MARC'.
    DATA: dref TYPE REF TO data,
                        drefc TYPE REF TO data.
    FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE,
                   <ctab> TYPE STANDARD TABLE,
                   <wa> TYPE ANY,
                   <wa_ctab> TYPE ANY.
    CREATE DATA: dref TYPE STANDARD TABLE OF (s_tab).
    CREATE DATA: drefc TYPE STANDARD TABLE OF (s_ctab).
    ASSIGN dref->* TO <itab>.
    ASSIGN drefc->* TO <ctab>.
    SELECT * FROM (s_tab) INTO TABLE <itab>.
    LOOP AT <itab> ASSIGNING <wa>.
      INSERT INITIAL LINE INTO <ctab> INDEX sy-tabix. " Solution
      READ TABLE <ctab> ASSIGNING <wa_ctab> INDEX sy-tabix. "Solution
      MOVE-CORRESPONDING <wa> TO <wa_ctab>. "-----> Now this will work
      insert into (s_ctab) values <wa_ctab>.
    ENDLOOP.
    Regards,
    Lisa

  • Field Symbol not assigning

    Here is my code
    field-symbols: <itfieldname> type any.
    DATA: lw_fieldname  LIKE ztfi_acctmap-zzfnam.
                lw_fieldname = wa_ztfi_gl_acctmap-zzfnam.
                ASSIGN (LW_FIELDNAME) TO <ITFIELDNAME>.
                <itfieldname> = <lfs_excel>-value.
    After the assign, <itfieldname> is not being assigned. I have copied this from a different module. The same code works there but not in my program.
    Any clues please?
    Thanks,
    Kiran

    Kiran_ABAP wrote:
    Here is my code
    >
    > field-symbols: <itfieldname> type any.
    > DATA: lw_fieldname  LIKE ztfi_acctmap-zzfnam.
    >             lw_fieldname = wa_ztfi_gl_acctmap-zzfnam.
    >             ASSIGN (LW_FIELDNAME) TO <ITFIELDNAME>.
    >             <itfieldname> = <lfs_excel>-value.
    >
    >
    > After the assign, <itfieldname> is not being assigned. I have copied this from a different module. The same code works there but not in my program.
    >
    > Any clues please?
    >
    > Thanks,
    > Kiran
    For the ASSIGN statement to work, you must make sure that the value in the lw_fieldname is declared as a data object in your program as shown below...
    FIELD-SYMBOLS: <fs_value> TYPE ANY.
    DATA: lv_fname TYPE char30 VALUE 'TARGET_FIELD'.
    DATA: target_field TYPE i.
    ASSIGN (lv_fname) TO <fs_value>.
    IF <fs_value> IS ASSIGNED.
      <fs_value> = 10.
      WRITE: target_field.
    ENDIF.
    In the code above, if you comment the declaration of the target_field the ASSIGN statement will not work.
    -Rajesh.

  • Runtime error "field symbol not assigned"

    hi friends i have designed a report in alv form. and there is one runtime error afer user selectin screen.
    "field symbol has not been yet assigned"
    what could be the problem

    Please check the field catalog you have created
    ls_fieldcatalog-tabname = 'GT_FINAL'.
      ls_fieldcatalog-fieldname ='PSPNR'.
    *  ls_fieldcatalog-coltext = text-001.
      ls_fieldcatalog-col_pos = 1.
    *  ls_fieldcatalog-do_sum = 'X'.
    *  ls_fieldcatalog-outputlen = 20.
      APPEND ls_fieldcatalog TO  gt_fieldcatalog.
      CLEAR ls_fieldcatalog.
    or if you are using filed symbols than
    ASSIGN COMPONENT 'GTFINAL' OF STRUCTURE gt_final
    thanks

  • Field Symbol not assigned error in program SAPLLPRI

    My problem is, I have copied standard program RLVSDR00 in to some ZRLVSDR00 and made some changes accordingly.
    while executing I am geting a short dump with error: " GETWA_NOT_ASSIGNED" and "Field symbol has not yet been assigned" in program SAPLLPRI in the include LLPRIF00.
    Thanks in advance

    Hello Gayathri,
    One you got the dump you can select debugger button in top-left corner screen.
    That will take you to the execution snap shot where you can check all the field symbols and find out which one is not
    assigned. accordingly you can find out what is missing on input side to avoid this dump.
    Hope this helps!
    Thanks,
    Augustin.

  • BPC NW: Field symbol not assigned in BADi as Endroutine

    HI Experts,
    I have a problem when working with BADis as Endroutines in a TransformationFile.
    Guided by the "How To... Use Start and End Routine" I followed the different steps and for the Start Routine everything works fine. My problem is when trying to call the TransformationFile with the Endroutine I get a  GETWA_NOT_ASSIGNED dump telling me that: Field symbol has not yet been assigned.
    I'm using quite the same code as given in the How To. I introduced some checks, but  I did not get any positive results. Can anybody help, please? The How To is made for master data, I assume the error comes from this side, but I can't assure it.
    The code in the Badi is:
    field-symbols:
           type any.
    data: lt_columns type table of string.
    data: lt_column_data type table of string.
    data: lt_message type uj0_t_message.
    data: lt_error_reason type uj0_t_message,
          lv_tabix like sy-tabix.
    data:
          lo_dataref      type ref to data,
          lv_cuenta_asig  type zmap_cuentas-cuenta_asignado.
    Assign importing data reference to field symbol
    assign ir_data->* to  IS ASSIGNED.
    Create work area for importing data
    create data lo_dataref like line of .
    Create new internal table for exporting data
    check .
    Get CUENTA value from custom table or other datasource
    loop at .
    The error occurs when assigning the first pointer.
    By the way, I'm working on BPC 7.5 SP07 for NW.
    Hope someone can help. Thanks very much in advance,
    Àlex

    Hi Kaylan,
    thank you very much for your quick answer.
    Sorry, I think I haven't made quite clear my point.
    I want to use the Endroutine BADi in a Transformation File for Transaction Data, therefor there is no InfoObject directly involved. I use the Transformation File in the Package "Import Transaction Data". The How To I mentioned, and the only one I found that is more or less near to my problem describes how to use Endroutines and BADis for the Import of Master Data.
    Looking at the different tests I have done, as our system team is not giving us a debug user, the dump happens at the assignment of the first field symbol: assign ir_data->* to . Therefor I assume that  ir_data contains no data and this causes the dump.
    My main question is, can I use the code of the mentioned How To for the package "Import Transaction Data" at all? Or do I have to use different tables or table names for this package? How and where do I get them?
    You have an idea? Would be very helpful! Thanks in advance!
    Cheers
    Àlex

  • Error: Field symbol not assigned

    Hi all,
    When I run a query (BW version 3.5) with a condition or an exception I receive an error message "Field symbol has not yet been assigned". The same query run fine on BW version 3.1.
    SP 11 and SP12 are installed.
    Any idea how to solve the problem??

    Paolo,
    Note 555143 can not be implemented. Probably because I am working in BW version 3.5 instead of BW version 3.1.
    Thanks anyway.
    Regards,
    Hans

  • Dump while printing ALV (field symbol not assigned)

    Dear experts,
    I am trying to print an ALV report which gives dump- \
    Field symbol has not yet been assigned.
    The current ABAP program "SAPLKKBL" had to be terminated because it has
    ome across a statement that unfortunately cannot be executed.
    I am not using any field symbols in report. The printer is also configured on my system.
    I searched the forums but didnt get a stisfactory answer.
    Regards,
    Sumit Nene.

    Hi suhas! the I ran the consistency check and it shows
    The field CELLCOLOR  does not exist in the output table (LAYOUT-CTAB_FNAME)
    Though I havent used it.
    @ neeraj--
    DATA : BEGIN OF ST_MUSTER,
           SNO TYPE I,
           DATE TYPE SY-DATUM,
           PERNR TYPE P0001-PERNR,
           NACHN LIKE PA0002-NACHN,
           PA TYPE PBTXT,
           SECTN LIKE P1000-STEXT,
    *       DEPT TYPE BTRTL,
           DEPTXT LIKE T001P-BTEXT,
           ABSTYP TYPE AWART,
           ABSDAYS LIKE PA2001-ABWTG,
           VORNA LIKE PA0002-VORNA,
           BEGDA LIKE PA0002-BEGDA,
           LEAVETYPE(5),
    " LEAVE TYPE FOR PARTICULAR DAY
      LT1(10),
      LT2(10),
      LT3(10),
      LT4(10),
      LT5(10),
      LT6(10),
      LT7(10),
      LT8(10),
      LT9(10),
      LT10(10),
      LT11(10),
      LT12(10),
      LT13(10),
      LT14(10),
      LT15(10),
      LT16(10),
      LT17(10),
      LT18(10),
      LT19(10),
      LT20(10),
      LT21(10),
      LT22(10),
      LT23(10),
      LT24(10),
      LT25(10),
      LT26(10),
      LT27(10),
      LT28(10),
      LT29(10),
      LT30(10),
      LT31(10),
    " TOTAL LEAVES OF SPECIFIC TYPE FOR A MONTH
    EL_T LIKE PA2001-ABWTG,  " EARNED LEAVE
    CL_T LIKE PA2001-ABWTG,  " CASUAL LEAVE
    SL_T LIKE PA2001-ABWTG,  " SICK LEAVE
    ML_T LIKE PA2001-ABWTG,  " MATERNITY LEAVE
    OD_T LIKE PA2001-ABWTG,  " OUTDOOR DUTY
    CO_T LIKE PA2001-ABWTG,  " COMP OFF
    WO_T LIKE PA2001-ABWTG,  " WEEKLY OFF
    PH_T LIKE PA2001-ABWTG,  " PUBLIC HOLIDAY
    PRE_T LIKE PA2001-ABWTG,  "  PRESENT DAYS
    LWP_T LIKE PA2001-ABWTG,  " UNPAID LEAVE
    TOT_T LIKE PA2001-ABWTG,  " TOTAL PAID LEAVE
    ABS_T LIKE PA2001-ABWTG,  " TOTAL PAID LEAVE
    V_GT LIKE PA2001-ABWTG," GRAND TOTAL OF ALL PAID LEAVES

  • Field Symbol not assigned Error SAP R3 46c

    Good day,
    so what i want is:
    assigning a component of a field symbol to another field-symbol to access its values.
    This works very well in SAP 47 releases but doesn t work in sap 46c or do i do something wrong?
    REPORT Z_GL_FIELDSYMBOLS .
    Data:
    begin of mytest,
      int type i,
      int2 type i,
    end of mytest,
    l type string.
    Field-Symbols: <f> type any,
                   <g> type any.
    Start-of-selection.
    assign mytest to <f>.
    l = '<f>-int'.
    assign (l) to <g>.
    <g> = '1'.
    write :/ <g>.
    end-of-selection.
    Is there any way to do what i want to do apart from the statement "CREATE SUBROUTINE POOL"?

    the only problem is:
    i know the components of the structure only at runtime, i.e.
    i don´t know if my field 'int' exists. perhaps its name is 'intsomewhat', you know?
    so i have to do a dynamic assign...
    You have to know,
    in my actual coding i assigned a reference to a data object to the field symbol..
    thus,
    something like
    assign dref->* to <fs>
    was done.
    now i want to access single components of the field symbol.
    the name of the components are known and are stored in a string.
    hmmmm.
    so the string contains something like '-MATNR'.
    if i assign this string to a field-symbol nothing happens
    in my system.
    the same coding works without an error in a 47 system.
    Message was edited by: Gideon Lenz

  • Abap runtime error" field symbol not assigned"

    hi ,
    getting error while calling function module reuse_alv_popup_to_select
    please let me know how to resolve it

    Hi,
    Befor calling the FM
    Check with If condtion as  below.
    IF <Fiels-symbol name> IS ASSIGNED
    ENDIF.
    Regards,
    Pravin

Maybe you are looking for

  • Error in Updating ctxsys.context index using ctxsrv

    Environment : Linux 6.2, Oracle 8.1.6 character set : zhs16gbk or zhs16cgb231280 I can create an ctxsys.context index(using CHINESE_VGRAM_LEXER) on a long column, and i can rebuild this index with no parameters. When i want to rebuild this index auto

  • XY graph, can it return the plot under the mouse?

    Hello All How to get a plot number, which lies in the closness of the mouse cursor? Lets assume we have three lines in the XY Graph numbered as Plot1, plot2 and plot3. When I press somewhere in their close vicinity, how to get information which line

  • Very simple question - but cant find anything to do this! (other than a full proxy server)

    Simple one for everyone who has kids... I run a wrt54gs, v1.50.9 wireless network in my house. I have 2 teenage kids both with laptops... I'd like to be able to see what sites they're browsing (ie firewall logs) - but without installing something lik

  • Lost purchased apps after computer backup

    replaced macbook hard-drive bought new apps on itunes through iphone and through macbook. needed to do a clone restore of macbook hard-drive as new drive was having issues macbook hard drive successfully restored and all was good connected iphone to

  • Web Dynpro for ABAP iVIew's Namespace parameter

    Hi Gurus, I am trying to create Web Dynpro for ABAP iVIew in portal There I have confusion while giving namespace say I m trying to create iView for standard WD4ABAP Application which lies in SICF at below location /default_host/sap/bc/webdynpro/sap/