OBJECTS_OBJREF_NOT_ASSIGNED Exep CX_SY_REF_IS_INITIAL in LDB ADA

Hello all,
in the report Z_ISR_IMPAC note: (912375) when user runs a large range of 'Asset numbers' the reports abbends with the runtime error (Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED Exception CX_SY_REF_IS_INITIAL ).
this happen in the LDB ADA in sentence, PUT ANLAV.
Does anyone knows a possible solution to prevent this to happen?
I would appreciate any help with this issue.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of the dump
Edited by: Rob Burbank on May 11, 2010 4:55 PM

This issue had been solved,  the problem was in the users SAPlogon, the solution was updating it for the patch 9 and now is working well.

Similar Messages

  • Search help for Asset Class in LDB ADA

    Hi,
    I have a requirement to restrict values in certain search help.
    It is Z transaction for Z SAP Query which has logical database ADA under itself.
    The field which search help I should restrict is Asset Class.
    As I found in LDB ADA, it is select option SO_ANLKL with type ANLAV-ANLKL. It leads me to search help SH_ANLKA which is defined for domain ANLKL.
    But actually, another search help is called. It looks like SH_ANKA, but I don't know if it is right one.
    I have two problems:
    1. How to identify what search help is called?
    2. How to restrict values in search help or maybe how to attach Z search help in this case (should I attach in query or is there a way to enhance LDB)?
    As I am new both to SAP Query and LDB's I am not sure where to start.
    Tnx in advance,
    Natasa

    Solved.
    For those who face the same problem, here is the solution.
    LDB ADA creates basic search help for select options Asset Class by reading ANKA-ANLKL and ANKT-TXK20.
    Output list can be restricted by adding an enhancement at the end of FM DD_SHLP_GET_HELPVALUES and changing the internal table OUTPUT_VALUES.
    If necessary, it can be conditioned by TCODE and for this purpose parameter can be set in the enhancement of FM DD_SHLP_CALL_FROM_DYNP by reading content of the field HELP_INFOS-TCODE.
    Regards,
    Natasa

  • Peculiar problem in LDB ADA with company code selection

    <h5>Hello Colleagues, </h5>
    Faced a peculiar problem with company code selections in LDB ADA. Entered depreciation area, dep posting perios, lower and higher value of company code and would like to except few companies from selections. On pressing extension button, error message "Depreciation area 01 is not defined in chart of depreciation" is popping up and not allowing to provide exceptions for company codes. But working well in development systems. We are using ECC 6.0 systems and in both systems we have same lines of code for SAPDBADA.
    During debug, found that in development system, control coming to initial statements after PAI event. But in other systems, control skips few initial commands after PAI and directly jumps to later commands. Due to this FNAME parameter in PAI subroutine setting with '*' in other systems and 'BUKRS' in dev system.
    Could anybody give me some thoughts of why system behaving differently?
    Thanks and Regards,
    Prasanth

    Some - or most? - ODBC driver, especially MS for SQLServer and Access, don't support these advanced JDBC features.
    Like the messages says: they are optional features, and the driver doesn't implement them.
    A good news:
    you don't need them.
    Just go through your ResultSets only forward by next(), and do all inserts, updates and deletes with executeUpdate() and SQL commands.

  • How to fetch records from LDB ADA...

    Hello Experts,
    How do I get the asset balances(acquisition values, etc) using LDB ADA in my
    custom report?
    I searched the forums and I did not find any suitable posts regarding my requirement.
    Hope you can help me guys. Thank you and take care!

    Hello Experts,
    How do I get the asset balances(acquisition values, etc) using LDB ADA in my
    custom report?
    I searched the forums and I did not find any suitable posts regarding my requirement.
    Hope you can help me guys. Thank you and take care!

  • No BERDATUM while generic extraction with LDB ADA

    We do a generic extraction to BW with LDB ADA. Therefore it was created an additional field in InfoSet on note ANLAV, where BERDATE=BERDATUM. BERDATUM is a selection parameter in LDB ADA. In extractor checker BERDATE is not filled.
    Does anybody have an idea what the problem is?
    Regards
    Pramid Mehta

    Hi,
    thanks for that hint. I checked this already. DataSource is ok and the field is not hidden.
    Regards
    Pramid

  • Modification in Standard LDB - ADA

    Hi
    In  Standard program REBEST_ALV01 given , we found out that the in selection block where  I was supposed to keep the checkbox , the selection query is coming from Standard LDB , ADA . It is not possible to add a new field to std LDB. How can we do this ?

    Hi,
    Kindly go through this link below:
    Re: how to add field exits on screen
    Hope it helps
    Regards
    Mansi

  • Read Dynamic Selections for LDB ADA

    Hi,
    I have a report program using Logical Database ADA, but for performance reasons needed to include a wrapper program , so that the wrapper program schedules a job in case the report is run for huge volume comp codes.
    Now the actual program uses the logical database ADA, which gives them the option of dynamic selections,So needed to add it to the wrapper also, since we they need to have the option to be able to enter conditions in Dynamic selections also. Now How do I pass the dynamic selections made in the wrapper to the actual program.Was planning to export the selection to memory and then import it.
    I schedule the job or run it in foreground based on the selection made using the SUBMIT functionality.
    Would be great if someone can let me know how to read the dynamic selections entered.
    Thank you
    Lalitha

    Hi,
        You have to use SUBMIT statement with FREE SELECTIONS. Declare RSDS structure and fill them.
    Just refer this block, similar type of code
    Re: Reg: SUBMIT WITH Free Selections
    Thanks & Regards
    Bala Krishna

  • LDB ADA - Selection Screen

    Hello Experts,
    I need to change the selection screen in area the Settings. The field Depreciation Area is a PARAMETER. I want to change this in SELECT-OPTIONS. Is it possible ?
    for example report SAPDBADA.
    Thanks you...

    Hi Namorr,
    You can copy this as a custom one and try. Only change here wont work, inside the report while bringing data also should change.
    Regards,
    Madhu.

  • OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL" ZAP2_INTERFACE_LOG46C"

    Hello,
    Pls i want immediate reply.. i got this error.. i will give full points...ps help me
    Thanks in advance.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          16.09.2008 12:31:36
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "ZAP2_INTERFACE_LOG46C" had to be terminated because
    it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    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 and
    therefore caused a runtime error.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "TYPE_DESCR").
    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.
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
    "ZAP2_INTERFACE_LOG46C" or "ZAP2_INTERFACE_LOG46C"
    "LOAD-OF-PROGRAM"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "ciRDE"
    Network address...... "10.131.28.7"
    Operating system..... "HP-UX"
    Release.............. "B.11.23"
    Hardware type........ "ia64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "hpx190"
    Database type..... "ORACLE"
    Database name..... "RDE"
    Database user ID.. "SAPDAT"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 21 2008 20:48:34"
    create on........ "HP-UX B.11.23 U ia64"
    Database version. "OCI_102 (10.2.0.1.0) "
    Patch level. 157
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "HP-UX B.11"
    Memory consumption
    Roll.... 16192
    EM...... 8379680
    Heap.... 0
    Page.... 0
    MM Used. 990672
    MM Free. 3196544
    User and Transaction
    Client.............. 050
    User................ "MBAGGALA"
    Language key........ "E"
    Transaction......... "ZAP2_LOGGING_46C "
    Transactions ID..... "48CF3452569D34B8E10000000A831C07"
    Program............. "ZAP2_INTERFACE_LOG46C"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 3
    Information on where terminated
    Termination occurred in the ABAP program "ZAP2_INTERFACE_LOG46C" - in
    "LOAD-OF-PROGRAM".
    The main program was "ZAP2_INTERFACE_LOG46C ".
    In the source code you have the termination point in line 20
    of the (Include) program "ZAP2_INTERFACE_LOG46C".
    Source Code Extract
    Line
    SourceCde
    1
    REPORT zap2_interface_log46c .
    2
    3
    *& Report  ZAP2_INTERFACE_LOGGING                                      *
    4
    5
    6
    7
    8
    9
    10
    INCLUDE zap2_interface_logg46c_top .
    11
    INCLUDE zap2_interface_logg46c_cl1.
    12
    INCLUDE zap2_interface_logg46c_stato01.
    13
    INCLUDE zap2_interface_logg46c_set_f01.
    14
    15
    LOAD-OF-PROGRAM.
    16
    17
    IF kind_p IS INITIAL.
    18
    DATA type_descr2 TYPE REF TO cl_abap_elemdescr.
    19
    TYPE_DESCR ?= zap2_cl_abap_typedescr=>describe_by_data( kind_p-kind ).
    >>>>>
    FIXED_VALUES = TYPE_DESCR->GET_DDIC_FIXED_VALUES( SY-LANGU ).
    21
    22
    23
    LOOP AT fixed_values INTO fixed_value.
    24
    MOVE: fixed_value-low TO kind_p-kind,
    25
    fixed_value-ddtext TO kind_p-ddtext.
    26
    APPEND kind_p.
    27
    ENDLOOP.
    28
    ENDIF.
    29
    30
    debug_l = 'X'.
    31
    sdebug_g = 'X'.
    32
    edebug_g = ' '.
    33
    return_g = 'X'.
    34
    35
    START-OF-SELECTION.
    36
    37
    IF NOT element IS INITIAL.
    38
    MOVE 'I' TO elemt_r-sign.
    39
    MOVE 'EQ' TO elemt_r-option.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    0
    SY-TABIX
    0
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Logging tools 46c
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    1
    SY-DATUM
    20080916
    SY-UZEIT
    123133
    SY-XPROG
    SY-XFORM
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    2 EVENT        ZAP2_INTERFACE_LOG46C               ZAP2_INTERFACE_LOG46C                  20
    LOAD-OF-PROGRAM
    1 EVENT        ZAP2_INTERFACE_LOG46C               ???                                     0
    SYSTEM-EXIT
    Chosen variables
    Name
    Val.
    No.       2 Ty.          EVENT
    Name  LOAD-OF-PROGRAM
    KIND_P
    0000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000
    0222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000
    CL_GUI_CFW=>FLUSH_SITUATION_PBO
    %_CDATE_%_APP_%
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_FSREG_001
    SY-REPID
    ZAP2_INTERFACE_LOG46C
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5453544545444454443342222222222222222222
    A102F9E4526135FCF74630000000000000000000
    %_DUMMY$$
    0000
    0000
    2222
    0000
    KIND_P-KIND
    32
    0
    0
    TYPE_DESCR
    F0000000
    F0000000
    SYST
    ########################################################################################X ####
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000200
    0000000000000000000000000000000000000001000000000000000000000000000000000000010900000001520000
    00000000000000000000000001000100000000080000000000000000000000000000000000000B000000000080000C
    SY-LANGU
    E
    0
    0
    4
    5
    FIXED_VALUES
    Table[initial]
    FIXED_VALUE
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SPACE
    0
    0
    2
    0
    FIXED_VALUE-LOW
    0000000000
    0000000000
    2222222222
    0000000000
    SESSION
                                 00000000000000####
    0000000000000000000000000000000000000000000000000000F000
    0000000000000000000000000000000000000000000000000000F000
    00000000222222222222222222222222222222333333333333330000
    00000000000000000000000000000000000000000000000000000000
    KIND_P[]
    Table[initial]
    CTIME-LOW
    000000
    000000
    000000
    333333
    000000
    CL_GUI_CONTROL=>LIFETIME_DEFAULT
    No.       1 Ty.          EVENT
    Name  SYSTEM-EXIT
    SY-XPROG
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    SY-XFORM
    000000000000000000000000000000
    000000000000000000000000000000
    222222222222222222222222222222
    000000000000000000000000000000
    Internal notes
    The termination was triggered in function "ab_jclom"
    of the SAP kernel, in line 4706 of the module
    "//bas/700_REL/src/krn/runt/abmethod.c#8".
    The internal operation just processed is "clom".
    Internal mode was started at 20080916123133.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    (0)  0x4000000003b5b450  CTrcStack + 0x1b0 at dptstack.c:227 [dw.sapRDE_DVEBMGS02]
    (1)  0x4000000004d564b0  Z16rabaxCStackSavev + 0x1d0 [dw.sapRDE_DVEBMGS02]
    (2)  0x4000000004d5c1a0  ab_rabax + 0x3570 [dw.sapRDE_DVEBMGS02]
    (3)  0x40000000040a2310  Z8abjclomv + 0x1690 [dw.sapRDE_DVEBMGS02]
    (4)  0x40000000040557d0  Z8abextriv + 0x440 [dw.sapRDE_DVEBMGS02]
    (5)  0x4000000003f79bb0  Z9abxeventPKt + 0xb0 at abrunt1.c:281 [dw.sapRDE_DVEBMGS02]
    (6)  0x4000000003dc02b0  Z8ablogdbv + 0xb70 at ablogdb.c:116 [dw.sapRDE_DVEBMGS02]
    (7)  0x4000000004345ea0  ab_subm + 0x20 at absubmit.c:595 [dw.sapRDE_DVEBMGS02]
    (8)  0x4000000001cb97c0  N_ab_subm + 0x20 at dymainstp.c:4769 [dw.sapRDE_DVEBMGS02]
    (9)  0x4000000001cc3610  dynpmcal + 0x3f0 at dymainstp.c:2275 [dw.sapRDE_DVEBMGS02]
    (10) 0x4000000001cba000  dynppbo0 + 0x280 at dymainstp.c:540 [dw.sapRDE_DVEBMGS02]
    (11) 0x4000000001cc13e0  dynprctl + 0x340 at dymainstp.c:358 [dw.sapRDE_DVEBMGS02]
    (12) 0x4000000001cacc00  dynpen00 + 0xae0 at dymain.c:1651 [dw.sapRDE_DVEBMGS02]
    (13) 0x4000000001fff3d0  Thdynpen00 + 0x520 at thxxhead.c:4843 [dw.sapRDE_DVEBMGS02]
    (14) 0x4000000001fc9b80  TskhLoop + 0x5690 at thxxhead.c:3958 [dw.sapRDE_DVEBMGS02]
    (15) 0x4000000001fbf320  ThStart + 0x460 at thxxhead.c:1164 [dw.sapRDE_DVEBMGS02]
    (16) 0x4000000001576800  DpMain + 0x5f0 at dpxxdisp.c:1095 [dw.sapRDE_DVEBMGS02]
    (17) 0x4000000002c30590  nlsui_main + 0x30 [dw.sapRDE_DVEBMGS02]
    (18) 0x4000000002c30520  main + 0x60 [dw.sapRDE_DVEBMGS02]
    (19) 0xc000000000050150  main_opd_entry + 0x50 [/usr/lib/hpux64/dld.so]
    List of ABAP programs affected
    Index
    Typ
    Program
    Group
    Date
    Time
    Size
    Lang.
    0
    Prg
    ZAP2_INTERFACE_LOG46C
    0
    15.09.2008
    13:34:03
    103424
    E
    1
    Prg
    SAPMSSY0
    1
    11.08.2008
    21:12:03
    92160
    E
    2
    Prg
    SAPMSSYD
    1
    16.08.2006
    12:06:37
    21504
    E
    3
    Prg
    SAPFSYSCALLS
    1
    09.09.2004
    14:18:32
    8192
    E
    4
    Prg
    ZAP2_CL_ABAP_TYPEDESCR========CP
    4
    21.08.2008
    18:03:55
    23552
    E
    5
    Prg
    ZAP2_CL_ABAP_ELEMDESCR========CP
    5
    21.08.2008
    18:03:55
    21504
    E
    6
    Prg
    ZAP2_CL_ABAP_DATADESCR========CP
    6
    21.08.2008
    18:03:55
    14336
    E
    7
    Prg
    CL_ABAP_REFDESCR==============CP
    7
    05.07.2005
    13:10:15
    24576
    E
    8
    Prg
    CL_ABAP_DATADESCR=============CP
    8
    05.07.2005
    13:10:15
    19456
    E
    9
    Prg
    CL_ABAP_TYPEDESCR=============CP
    9
    05.07.2005
    13:10:15
    30720
    E
    10
    Prg
    CL_ABAP_ELEMDESCR=============CP
    10
    03.07.2006
    10:26:16
    36864
    E
    11
    Prg
    CL_ABAP_STRUCTDESCR===========CP
    11
    04.08.2008
    19:40:50
    40960
    E
    12
    Prg
    CL_ABAP_COMPLEXDESCR==========CP
    12
    05.07.2005
    13:10:15
    17408
    E
    13
    Prg
    CL_ABAP_TABLEDESCR============CP
    13
    05.07.2005
    13:10:15
    25600
    E
    14
    Prg
    CL_ABAP_CLASSDESCR============CP
    14
    05.07.2005
    13:10:15
    30720
    E
    15
    Prg
    CL_ABAP_OBJECTDESCR===========CP
    15
    05.07.2005
    13:10:15
    34816
    E
    16
    Prg
    CL_ABAP_INTFDESCR=============CP
    16
    05.07.2005
    13:10:15
    25600
    E
    17
    Prg
    ZAP2_CL_ABAP_STRUCTDESCR======CP
    17
    21.08.2008
    18:03:55
    18432
    E
    18
    Prg
    ZAP2_CL_ABAP_COMPLEXDESCR=====CP
    18
    21.08.2008
    18:03:55
    14336
    E
    19
    Prg
    ZAP2_CL_ABAP_TABLEDESCR=======CP
    19
    21.08.2008
    18:03:55
    18432
    E
    20
    Prg
    CX_SY_REF_IS_INITIAL==========CP
    20
    05.07.2005
    13:10:16
    10240
    E
    21
    Typ
    SCX_SRCPOS
    0
    18.05.2004
    14:07:11
    5120
    22
    Prg
    CX_DYNAMIC_CHECK==============CP
    22
    05.07.2005
    13:10:16
    10240
    E
    23
    Prg
    CX_ROOT=======================CP
    23
    04.08.2008
    18:59:23
    11264
    E
    24
    Prg
    CX_NO_CHECK===================CP
    24
    05.07.2005
    13:10:16
    10240
    E
    25
    Prg
    CL_GUI_CFW====================CP
    25
    28.02.2005
    21:03:09
    168960
    E
    26
    Typ
    SYST
    0
    09.09.2004
    14:18:12
    31744
    27
    Typ
    DDFIXVALUE
    0
    04.08.2008
    15:09:55
    3072
    28
    Prg
    CL_GUI_CONTROL================CP
    28
    28.02.2005
    21:03:09
    112640
    E
    29
    Prg
    %_CCNTL
    28
    18.02.2005
    14:15:08
    15360
    E
    30
    Typ
    OBJ_RECORD
    0
    14.02.1998
    08:30:43
    2048
    31
    Prg
    CL_GUI_OBJECT=================CP
    31
    04.08.2008
    19:41:02
    376832
    E
    32
    Prg
    IF_CACHED_PROP================IP
    28
    18.02.2005
    14:12:55
    5120
    E
    Directory of Application Tables
    Name                                     Date       Time       Lngth
    Val.
    Program  ZAP2_INTERFACE_LOG46C
    SYST                                     09.09.2004 14:18:12   00004612
    \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0
    ABAP Control Blocks (CONT)
    Index
    Name
    Fl
    PAR0
    PAR1
    PAR2
    PAR3
    PAR4
    PAR5
    PAR6
    Source Code
    Line
    1791
    00
    0000
    ZAP2_INTERFACE_LOGG46C_SET_F01
    653
    1792
    CMPS
    20
    0247
    0038
    0038
    ZAP2_INTERFACE_LOG46C
    17
    1794
    BRAF
    02
    002A
    ZAP2_INTERFACE_LOG46C
    17
    1795
    STCK
    05
    0000
    ZAP2_INTERFACE_LOG46C
    19
    1796
    ASSI
    0F
    0000
    0052
    400E
    0000
    0000
    0000
    0000
    ZAP2_INTERFACE_LOG46C
    19
    1800
    CLCC
    00
    0013
    ZAP2_INTERFACE_LOG46C
    19
    1801
    clcm
    10
    0002
    0013
    0001
    0000
    0000
    0000
    0000
    ZAP2_INTERFACE_LOG46C
    19
    1805
    PAR1
    00
    00E3
    ZAP2_INTERFACE_LOG46C
    19
    1806
    PAR1
    C5
    400E
    ZAP2_INTERFACE_LOG46C
    19
    1807
    PAR2
    00
    0000
    0001
    0000
    ZAP2_INTERFACE_LOG46C
    19
    1809
    CAST
    00
    0000
    0031
    400E
    ZAP2_INTERFACE_LOG46C
    19
    1811
    STCK
    06
    0000
    ZAP2_INTERFACE_LOG46C
    19
    >>>>>
    clom
    10
    0002
    0031
    0009
    0000
    0000
    0000
    0000
    ZAP2_INTERFACE_LOG46C
    20
    1816
    PAR1
    01
    00B7
    ZAP2_INTERFACE_LOG46C
    20
    1817
    PAR1
    C1
    0032
    ZAP2_INTERFACE_LOG46C
    20
    1818
    PAR2
    00
    0000
    0001
    0000
    ZAP2_INTERFACE_LOG46C
    20
    1820
    LOOP
    03
    0243
    0032
    0033
    0000
    0000
    0000
    0000
    ZAP2_INTERFACE_LOG46C
    23
    1824
    LOOP
    05
    0000
    0032
    0033
    0000
    0000
    0000
    0000
    ZAP2_INTERFACE_LOG46C
    23
    1828
    BRAN
    05
    0008
    ZAP2_INTERFACE_LOG46C
    23
    1829
    MOVE
    FF
    00F2
    00E3
    00E5
    ZAP2_INTERFACE_LOG46C
    24

    Hi Madan,
    It is BASIS issue, Please ask to find SNOTE correction for this issue. I am unable to recollect that note number.
    I am also face the same problem when I am installing the business content.
    Thanks,
    Chandra

  • FB01 Error- OBJECTS_OBJREF_NOT_ASSIGNED/CX_SY_REF_IS_INITIAL

    Hi, we have encountered several errors using Transaction FB01.. Please help. Thanks in advance.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          02/17/2010 17:52:57
    Short text
         Access via 'NULL' object reference not possible.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLSLVC_FULLSCREEN" 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 "HTML" "(FORM)", 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: "GT_GRID-TOP").     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.

    Hi ,
    We have the same problem here. DId you fix this error?  Can you please tell us How to reolve this problem?
    Thanks.

  • ABAP Logical Database ADA

    Hi All, I am quite familiar with Logical Databases but I need to understand the following.
    1) I am using LDB ADA, but I want to use my own Selection Screen and not the default one that the LDB provides. I know I must put something in AT SELECTION-SCREEN but am unsure what.
    2) Once I get the data, I want to store the data in an internal table - how do I go about doing this? If you can provide a code example that would be great.
    Points for any relevant help.

    Hi,
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    Database access programming: Once you’ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    Here’s a step-by-step guide:
    1) Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2) Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3) You’ll be prompted for a short text description of your new logical database. Enter one. You’ll then be prompted to specify a development class.
    4) Specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once you’ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you don’t have to write a single line of code.
    Noted point is we cant add any selection criteria thru our se38 program if you are attaching any LDB to program.Ist of no use.
    If you want to change selection criteria to the existing LDB, you have to goto SE36 tcode and provide LDB name and choose "Change" mode by selecting "Selections" Radio button.
    declaration of params is different compared to normal se38 program in some aspects.
    PARAMETERS :p_curr LIKE bkpf-waers FOR TABLE bkpf OBLIGATORY.
    this BKPF table should be one of the node in the "Structure" Radio button.
    Thanks
    Sivaparvathi
    Please reward points if helpful.

  • OBJECTS_OBJREF_NOT_ASSIGNED

    Hello,
    Pls i want immediate reply.. i got this error.. i will give full points...ps help me
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          02.08.2008 13:31:48
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "ZNARI_CLASS" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    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 and
    therefore caused a runtime error.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "CAL1").
    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.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
    "ZNARI_CLASS" or "ZNARI_CLASS"
    "START-OF-SELECTION"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "lenita"
    Network address...... "192.168.10.253"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "2x Intel 801586"
    Character length.... 16 Bits
    Pointer length....... 32 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "LENITA"
    Database type..... "MSSQL"
    Database name..... "PRD"
    Database user ID.. "prd"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 23:08:16"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "SQL_Server_8.00 "
    Patch level. 52
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 8176
    EM...... 13587912
    Heap.... 0
    Page.... 204800
    MM Used. 569680
    MM Free. 474136
    User and Transaction
    Client.............. 222
    User................ "ABAPUSER"
    Language key........ "E"
    Transaction......... "SE38 "
    Program............. "ZNARI_CLASS"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    Termination occurred in the ABAP program "ZNARI_CLASS" - in
    "START-OF-SELECTION".
    The main program was "ZNARI_CLASS ".
    In the source code you have the termination point in line 17
    of the (Include) program "ZNARI_CLASS".
    Source Code Extract
    Line
    SourceCde
    1
    2
    *& Report  ZNARI_CLASS
    3
    4
    5
    6
    7
    8
    9
    REPORT  ZNARI_CLASS.
    10
    11
    12
    13
    DATA : CAL1 TYPE REF TO ZCALLING4.
    14
    15
    START-OF-SELECTION.
    16
    >>>>>
    CALL METHOD CAL1->DISPLAY.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    0
    SY-TABIX
    1
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    REPORT TO CALL GLOBAL CLASS.
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20080802
    SY-UZEIT
    133147
    SY-XPROG
    RSDBRUNT
    SY-XFORM
    %_INIT_PBO_FIRST
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    1 EVENT        ZNARI_CLASS                         ZNARI_CLASS                            17
    START-OF-SELECTION
    Chosen variables
    Name
    Val.
    No.       1 Ty.          EVENT
    Name  START-OF-SELECTION
    CAL1
    F0000000
    F0000000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    Internal notes
    The termination was triggered in function "ab_jclom"
    of the SAP kernel, in line 4703 of the module
    "//bas/700_REL/src/krn/runt/abmethod.c#6".
    The internal operation just processed is "clom".
    Internal mode was started at 20080802133147.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App       : disp+work.EXE (pid=2640)
    When      : 8/2/2008 13:31:48.187
    Threads   : 2
    Computer Name       : LENITA
    User Name           : SAPServicePRD
    Number of Processors: 2
    Processor Type: x86 Family 15 Model 3 Stepping 4
    Windows Version     : 5.2 Current Build: 3790
    State Dump for Thread Id b64
    eax=0a400000 ebx=00000340 ecx=00000002 edx=00000058 esi=00000340 edi=00000000
    eip=7c8285ec esp=053fbea0 ebp=053fbf10 iopl=0         nv up ei ng nz ac po cy
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000297
    function : KiFastSystemCallRet
    7c8285ec c3               ret
    7c8285ed 8da42400000000   lea     esp,[esp]              ss:053fbea0=7c827d0b
    7c8285f4 8d642400         lea     esp,[esp]              ss:294aa4b3=????????
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    053fbf10 77e61c8d 00000340 0001d4c0 00000000 053fbf48 ntdll!KiFastSystemCallRet
    053fbf24 0100b3aa 00000340 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject
    053fbf48 0055b4ac 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess [ntstcdbg.c (501)]
    053fbf4c 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 01d35ab0 disp+work!NTStack [dptstack.c (1365)]
    053fbf68 0055b519 7c38b5c8 00000000 008536a8 7c38b5c8 disp+work!CTrcStack2 [dptstack.c (352)]
    053fbf74 008536a8 7c38b5c8 00000000 005f0059 00310030 disp+work!CTrcStack [dptstack.c (182)]
    053fbf98 008569fa 4119dfb8 00000000 00000000 053fc030 disp+work!rabax_CStackSave [abrabax.c (6871)
    053fc070 006cf952 013a80e8 013a80b0 0000125f 1e1fc1c8 disp+work!ab_rabax [abrabax.c (1213)]
    053fd09c 0067bb56 00000008 4119e8f4 00000000 053fd104 disp+work!ab_jclom [abmethod.c (4703)]
    053fd104 007af315 51bd965c 00000000 053fd130 00000000 disp+work!ab_extri [abextri.c (552)]
    053fd118 007af71f 01410030 00000000 0000000c 00000000 disp+work!ab_xevent [abrunt1.c (339)]
    053fd130 008a6581 51bd8150 00000000 0000008e 00000025 disp+work!ab_trigg [abrunt1.c (141)]
    053fd148 00596b3d 51bd8150 51bd965c 00000000 00590053 disp+work!ab_run [absubmit.c (403)]
    053fd270 00598503 00000000 51bd8150 00000000 00000000 disp+work!dynpmcal [dymainstp.c (2273)]
    053fd284 00597b13 00000001 51bd8150 00000003 053ffd04 disp+work!dynppai0 [dymainstp.c (1108)]
    053fd2a0 0056dcf1 51bd8150 00000001 00000000 00000002 disp+work!dynprctl [dymainstp.c (359)]
    053ffd04 00471848 00000013 ffffffff 00000001 00494960 disp+work!dynpen00 [dymain.c (1405)]
    053ffd0c ffffffff 00000001 00494960 00000002 01c72400 disp+work!Thdynpen00 [thxxhead.c (4632)]
    053ffee0 00494ee2 00000001 00000000 00000000 00430000 <nosymbols>
    053fff00 00421150 00000000 00000000 7ffdb000 053fff60 disp+work!ThStart [thxxhead.c (1145)]
    053fff14 00401080 00000003 055569d0 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1113)]
    053fff60 011a94a0 00000003 055569d0 055574a0 01bd5000 disp+work!nlsui_main [thxxanf.c (82)]
    053fffc0 77e6f23b 00000000 00000000 7ffdb000 00000000 disp+work!wmainCRTStartup [crtexe.c (395)]
    053ffff0 00000000 011a935d 00000000 00905a4d 00000003 kernel32!ProcessIdToSessionId
    State Dump for Thread Id cb0
    eax=00000001 ebx=00000103 ecx=7c829f59 edx=00440000 esi=00000000 edi=00000000
    eip=7c8285ec esp=0763fec0 ebp=0763ff04 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
    7c8285ec c3               ret
    7c8285ed 8da42400000000   lea     esp,[esp]              ss:0763fec0=7c8270fb
    7c8285f4 8d642400         lea     esp,[esp]              ss:2b6ee4d3=????????
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0763ff04 010f7ffc 000006c0 00000000 00000000 0555fb18 ntdll!KiFastSystemCallRet
    0763ff84 7c349565 00000000 00000000 00000000 0555fa80 disp+work!SigIMsgFunc [signt.c (594)]
    0763ffb8 77e64829 0555fa80 00000000 00000000 0555fa80 MSVCR71!endthreadex
    0763ffec 00000000 7c3494f6 0555fa80 00000000 00000000 kernel32!GetModuleHandleA
    List of ABAP programs affected
    Index
    Typ
    Program
    Group
    Date
    Time
    Size
    Lang.
    0
    Prg
    ZNARI_CLASS
    0
    02.08.2008
    13:31:45
    16384
    E
    1
    Prg
    SAPMSSY0
    1
    02.12.2006
    16:29:39
    90112
    E
    2
    Prg
    SAPMSSYD
    1
    02.12.2006
    16:29:36
    21504
    E
    3
    Prg
    SAPFSYSCALLS
    1
    09.09.2004
    14:18:32
    8192
    E
    4
    Prg
    RSDBRUNT
    0
    02.12.2006
    16:29:28
    251904
    E
    5
    Typ
    RSSCR
    0
    30.03.2005
    10:21:45
    5120
    6
    Prg
    RSDBSPBL
    0
    30.03.2005
    10:21:58
    72704
    E
    7
    Prg
    SAPDB__S
    0
    30.03.2005
    10:22:01
    18432
    E
    8
    Prg
    RSDBSPMC
    0
    02.12.2006
    16:12:36
    78848
    E
    9
    Typ
    DDSHDESCR
    0
    03.09.1997
    03:05:16
    4096
    10
    Typ
    SPPARAMS
    0
    07.05.1997
    13:10:38
    2048
    11
    Typ
    SPPARAMS
    0
    07.05.1997
    13:10:38
    2048
    12
    Prg
    SAPLSABE
    12
    09.09.2004
    14:18:36
    13312
    E
    13
    Prg
    SAPLSECU
    13
    06.02.2007
    17:51:46
    86016
    E
    14
    Typ
    RSSUBINFO
    0
    14.10.1999
    22:01:03
    3072
    15
    Prg
    %_CRSDS
    0
    18.02.2005
    14:15:39
    10240
    E
    16
    Typ
    RSDSEXPR
    0
    20.08.1998
    10:57:18
    3072
    17
    Prg
    SAPFSPOR
    1
    09.09.2004
    14:18:32
    15360
    E
    18
    Prg
    SAPLSCNT
    18
    18.02.2005
    14:16:06
    30720
    E
    19
    Typ
    DYCBOX
    0
    20.08.1998
    11:16:53
    3072
    20
    Prg
    SAPLSVSM
    20
    18.02.2005
    14:16:06
    27648
    E
    21
    Prg
    SAPLSGUI
    21
    02.12.2006
    16:29:39
    82944
    E
    22
    Prg
    SAPLSTTM
    22
    05.07.2005
    13:10:18
    69632
    E
    23
    Prg
    SAPLSBDC
    23
    05.07.2005
    13:10:18
    44032
    E
    24
    Prg
    CL_DATAPROVIDER===============CP
    24
    28.02.2005
    21:00:46
    49152
    E
    25
    Prg
    %_CCNTL
    24
    18.02.2005
    14:15:08
    15360
    E
    26
    Typ
    OBJ_RECORD
    0
    14.02.1998
    08:30:43
    2048
    27
    Prg
    SAPLSTUP
    27
    08.03.2005
    19:04:31
    73728
    E
    28
    Prg
    SAPLCNDP
    28
    02.12.2006
    15:06:02
    193536
    E
    29
    Prg
    SAPSHDTV
    18
    05.01.2005
    16:26:16
    33792
    E
    30
    Prg
    SAPFGUICNTL
    1
    18.02.2005
    14:15:08
    24576
    E
    31
    Prg
    SAPLOLEA
    31
    05.07.2005
    13:10:18
    96256
    E
    32
    Prg
    SAPLSFES
    32
    06.02.2007
    17:51:50
    256000
    E
    33
    Prg
    SAPLSPLUGIN
    33
    09.09.2004
    14:18:36
    8192
    E
    34
    Typ
    ARFCRDATA
    0
    13.02.2005
    18:20:24
    7168
    35
    Prg
    SAPLGRFC
    35
    13.02.2005
    18:20:25
    16384
    E
    36
    Typ
    SWCBCONT
    0
    15.11.2000
    17:55:11
    3072
    37
    Typ
    OLE_VERBS
    0
    04.04.1995
    16:02:20
    2048
    38
    Typ
    OLE_PA
    0
    04.04.1995
    16:02:19
    2048
    39
    Prg
    CX_SY_REF_IS_INITIAL==========CP
    39
    05.07.2005
    13:10:16
    10240
    E
    40
    Typ
    SCX_SRCPOS
    0
    18.05.2004
    14:07:11
    2048
    41
    Prg
    CX_DYNAMIC_CHECK==============CP
    41
    05.07.2005
    13:10:16
    10240
    E
    42
    Prg
    CX_ROOT=======================CP
    42
    05.07.2005
    13:10:16
    11264
    E
    43
    Prg
    CX_NO_CHECK===================CP
    43
    05.07.2005
    13:10:16
    10240
    E
    Directory of Application Tables
    Name                                     Date       Time       Lngth
    Val.
    Program  ZNARI_CLASS
    SYST                                     09.09.2004 14:18:12   00004612
    \0\0\0\0\x0001\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001
    ABAP Control Blocks (CONT)
    Index
    Name
    Fl
    PAR0
    PAR1
    PAR2
    PAR3
    PAR4
    PAR5
    PAR6
    Source Code
    Line
    38
    PERP
    80
    0002
    <SYSINI>
    49
    39
    ENDM
    00
    0000
    <SYSINI>
    50
    40
    00
    0000
    <SYSINI>
    50
    41
    xper
    06
    E90D
    0012
    0019
    <SYSINI>
    55
    43
    PERP
    80
    0001
    <SYSINI>
    55
    44
    PERP
    80
    0002
    <SYSINI>
    55
    45
    ENDM
    00
    0000
    <SYSINI>
    56
    46
    00
    0000
    <SYSINI>
    56
    47
    xper
    06
    2F0C
    001F
    001D
    ZNARI_CLASS
    9
    49
    PERP
    80
    0001
    ZNARI_CLASS
    9
    50
    PERP
    80
    001E
    ZNARI_CLASS
    9
    51
    00
    0000
    ZNARI_CLASS
    9
    >>>>>
    clom
    00
    0000
    0020
    0001
    0000
    0000
    0000
    0000
    ZNARI_CLASS
    17
    56
    PAR2
    00
    0000
    0001
    0000
    ZNARI_CLASS
    17
    58
    00
    0000
    ZNARI_CLASS
    17
    59
    xper
    06
    0DB9
    0021
    0022
    ZNARI_CLASS
    18
    61
    PERP
    80
    0001
    ZNARI_CLASS
    18
    62
    PERP
    80
    0023
    ZNARI_CLASS
    18
    63
    00
    0000
    ZNARI_CLASS
    18
    64
    PARA
    00
    0000
    0024
    0025
    ZNARI_CLASS
    18
    regards,
    Balaram

    Hello,
    From what you display it seems that you have a program called ZNARI_CLASS that was called directly or by another application.
    This program has its code started like this:
    Line      SourceCde
    1      &----
    2      *& Report ZNARI_CLASS
    3      *&
    4      &----
    5      *&
    6      *&
    7      &----
    8      
    9      REPORT ZNARI_CLASS.
    10      
    11      
    12      
    13      DATA : CAL1 TYPE REF TO ZCALLING4.
    14      
    15      START-OF-SELECTION.
    16      
    >>>>>      CALL METHOD CAL1->DISPLAY.
    Well, by the time it was called the variabel CAL1 was empty. This variable is defined by:
    DATA : CAL1 TYPE REF TO ZCALLING4.
    Which means that ZCALLING4 was empty too so the program tried to display an empty variable (CAL1) and generated the short dump:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "CAL1").
    Diogo.

  • Problem with LDB

    hi guru's
    help me oout with that is wrong with the following code it gives me an error in extendeed syntax check.
    and that too 25 messages.
    i am using the LDB ADA and the code is as follows.
    TABLES:   anlav,
    data begin of itab_anlav,
       include  STRUCTURE anlav.
    end of itab_anlav.
    select-options: ktansw type anlav-ktansw.
    GET anlav FIELDS bukrs ktogr.
         MOVE-CORRESPONDING anlav TO itab_anlav.
         PERFORM zf_process_anlav USING anlav .
    FORM zf_process_anlav USING anlav STRUCTURE anlav.
      wa_asset-bukrs     = anlav-bukrs.
    endform.
    helpful replies will be rewarded.

    hii
    ya sure ..i found some syntax error in your program so i told you to check that as i copied your program in to my program ..i got some error..i tried to solve it like follows..check or just copy this code
    TABLES: anlav.
    data begin of itab_anlav.
    include STRUCTURE anlav.
    data end of itab_anlav.
    select-options: ktansw for anlav-ktansw.
    GET anlav FIELDS bukrs ktogr.
    MOVE-CORRESPONDING anlav TO itab_anlav.
    PERFORM zf_process_anlav USING anlav .
    FORM zf_process_anlav USING anlav STRUCTURE anlav.
    i hope this can help you to solve your problem.
    regards
    twinkal

  • Problem in LDB

    Hello Gurus,
    I am working on a Report on ASSET ACTIVITY BY DATE RANGE .
    The program is copied from std. program S_ALR_87011990.
    The above std. program displays for the whole financial year. This is modified for a particalar period range in the new leveraged program.
    My question is in the below code.
    We are fetching data using LDB ADA. The statement  "GET anlcv"  works fine here, I mean Sy-subrc is 0 and anlcv structure has some data in it.
    When it comes to statement "GET anepv" in the below code, we are not getting any data into that structure and sy-subrc NE 0. Then it is skipping all the get statements and directly going to statement "  PERFORM abga_simulieren.".
    My logic lies in between this Get statement and the perform statement. When i see it in debugging mode my statement is not executed at all.
    What needs to be done. Please anyone help me.
    GET anlcv.
      CHECK select-options.
      MOVE anlcv TO sav_anlcv.
    GET anepv.
      CHECK select-options.
    Nur Bewegungen des Jahres des Berichtsdatums durchlassen.
      CHECK anepv-bzdat GE sav_gjbeg.
      CHECK anepv-bzdat  IN so_bzdat.        "Added for SIR-3132
    Bewegungen in SAV_ANEPV sammeln.
      MOVE anepv TO sav_anepv.
      APPEND sav_anepv.
    GET anlb LATE.
    Check auf Bestandskonto bei Gruppensummen erst hier, wegen
    fehlender Abgänge/Umbuchungen
      IF NOT summb IS INITIAL.
        IF NOT anlav-ktansw IN so_ktanw.
          REJECT 'ANLAV'.
        ENDIF.
      ENDIF.
    ANLCV aus Save-Area zurueckholen.
      CHECK NOT sav_anlcv-anln1 IS INITIAL.
      MOVE sav_anlcv TO anlcv.
    Abg-Simu: Abgang simulieren.
      PERFORM abga_simulieren.
    Promise to reward points
    Regards
    Mac

    Dear Raymond,
    I tried debugging the FM but it is not stopping at the perform you mentioned.
    Then I opted for CALL FUNCTION 'LDB_CALL_LDB_PROCESS' starting new task v_task_id.
    If I don't use "starting new task v_task_id" it gives dump at the following part of   'LDB_CALL_LDB_PROCESS' , stating Result table incompatible.
    CALL FUNCTION 'LDB_CALLBACK'
             DESTINATION 'BACK'
             TABLES
                  CALLBACK_TAB   = G_CALLBACK
                  RESULTS        = RESULTS
                  LDBNODES       = I_LDBS.
    But if I use CALL FUNCTION 'LDB_CALL_LDB_PROCESS' starting new task v_task_id then it does n't give me any results.
    Kindly help.
    Regards,
    Vikas

  • ABAP/4 processor: OBJECTS_OBJREF_NOT_ASSIGNED

    DEar All,
    I m getting abap dump in Solution manager and background job Job 'Landscape Fetch' is getting cancelled. In error log i m getting
    07.06.2010 00:36:32 ABAP/4 processor: OBJECTS_OBJREF_NOT_ASSIGNED
    07.06.2010 00:36:32 Job cancelled
    ON checking abap dump i m getting error with detail :-
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          07.06.2010 13:00:37
    Short text                                                                               
    Access via 'NULL' object reference not possible.
    Error in the ABAP Application Program
    The current ABAP program "SAPLSMSY_ACTUALIZE_DATA" had to be terminated because
    come across a statement that unfortunately cannot be executed.
    What happened?
    Error analysis
    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 "SMSYAD_GET_DATA_FROM_LCR" "(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: "ACCESSOR").                                                   
        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.   
    Kindly suggest me how to resolve this isuue.
    Regards
    Adil

    Hi Paul / Raguram,
    Thnx for your reply.Curent SP Level of solman
    SAP_ABA    700                      0016    SAPKA70016   Cross-Application Component
    SAP_BASIS  700                     0016    SAPKB70016   SAP Basis Component
    PI_BASIS   2005_1_700          0018    SAPKIPYJ7I   PI_BASIS 2005_1_700
    ST-PI      2008_1_700 0000
    SAP_BW     700                      0017    SAPKW70017   SAP NetWeaver BI 7.0
    SAP_AP     700          0011    SAPKNA7011   SAP Application Platform
    BBPCRM     500                       0012    SAPKU50012   BBPDRM
    when i run SLDCHECK T-code all are in red.
    RFC destination SAPSLDAPI does not exist
    Create the RFC destination by using transaction SM59!
    Summary: Connection to SLD does not work
    Check SLD function and configurations
    Now checking access to the XI Profile
    FC destination LCRSAPRFC does not exist
    Create the RFC destination by using transaction SM59!
    Please tell note number me  hoe to create SLD ?
    Regards
    AShok

Maybe you are looking for