Difficulty  While reading Table....

Hi All,
i trying to read data from table with multiple condition but it is giving me error,
my code is :
loop at struct.
  ind = sy-tabix.
  read table itabMAST with key matnr = struct-matnr and WERKS = company and stlan = '5'.
if sy-subrc = 0.
   move itabMAST-stlnr to struct-stlnr.
  endif.
  modify struct index ind transporting stlnr.
endloop.
and error message is giving is
Unable to interpret "WERKS". Possible causes: incorrect Spelling or Comma error.
Pls Help...
Thanks in Advance,
Yunus

Hi, here is another example:
IF sy-subrc <> 0.
          MOVE it_equz-hequi TO it_equz_dum2-hequi.
          READ TABLE it_equz_dum1 WITH KEY equnr = it_equz-equnr
                                           hequi = it_equz-hequi
                                           BINARY SEARCH.
          IF sy-subrc = 0.
            SELECT SINGLE anlnr
                          shtxt
                FROM itob
                INTO (it_itob-anlnr, it_itob-shtxt)
               WHERE equnr EQ it_equz_dum1-hequi.
            IF sy-subrc = 0.
              MOVE it_itob-anlnr TO it_finaltab-asset_dum.
              MOVE it_itob-anlnr TO it_finaltab-asset.
              MOVE it_itob-shtxt TO it_finaltab-description.
endif.
endif.
endif.

Similar Messages

  • RFC-Error while reading table TFMCA003

    Hello,
    we have a running system with campus management an I'm doing the customizing for a separate system SLCM with EHP3. I created a RFC-Connection as in the Base IMG Configuration Settings for Pre-Configured SAP Student Lifecycle Management (ERP 6 - EHP 3) 31 October 2007 page 8+9 described.
    On the old system it works without problems but on EHP3 I get the following error displayed while creating new students: Error - check RFC-Destination RFC_FICA_ACCT_CREATE
    Looking into the rfc trace I read the following entry:
    Trace file opened at 20090407 135656 W. Europe Daylight Time, SAP-REL 700,0,185 RFC-VER nU 3 1025200 MT-SL
    ======> Fehler beim Lesen in der Tabelle TFMCA003
    ABAP Programm: SAPLHRPIQ00STUDENT_ACCOUNT (Transaction: PIQSTC)
    Called function module: HRIQ_STUDENT_ACCTDATA_UPD_INT
    User: RSEIDLER (Client: 100)
    Destination: RFC_FICA_CREATE_100 (handle: 6, 10238413, {306B23DE-EF74-F186-BAA8-0022640496A6})
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1833
    So there is an error reading table TFMCA003, but this one is empty, in both systems!
    Although the error message is displayed I can not see any limitation working with the created student. So it seems everything is working normal. But the message is unacceptable in a live system, of course.
    Any ideas?
    Robert

    Hi Nivdedita,
    Check the rule which you have defined in the workflow.
    Regards,
    Sravanthi

  • Read table and binary search

    Hi all,
    I have a simple query regarding read int_tab with binary search.
    Why reading  internal table with binary search fails if it is sorted in descending order table must be sorted in ascending order?
    I check fo the algorithm of binary search, it does not talk about sort order. As far as my understanding goes binary search only require sorted table but while reading table in SAP it has to be sorted in ascending order!!

    By default binary search assumes that the sort order is ASCENDING.
    If you sort the list in descending and then try to binary search your quires will fail. Look at an example:
    Let the descending order internal table as:
    Field1      Field2
    Sam        50000
    John       34786
    Boob      54321
    Alice       12345
    When you do binary search with key = 'Sam' then it will directly go to 2nd and 3rd records for comparision. The binary search algorithm compares 'Sam' with 'John' and it concludes that 'Sam' is greater than 'John' and it will continue to look downward into the internal table. And when it reaches the end of the internal table then the value of SY-TABIX = 5 and SY-SUBRC = 8 (Key is greater than the all).
    And if you do binary search with key = 'Alice' then the binary search algorithm compares 'Alice' with 'John' and it concludes that 'Alice' is lower than 'John' and it will continue to look upward into the internal table. And when it reaches above the first record in internal table then the value of SY-TABIX = 1 and SY-SUBRC = 4 (points to the next largest entry).
    The only correct result you will get is when you execute statement with key='John' (In this particular case) . SY-TABIX = 2 and SY-SUBRC = 0. I think you got this binary search algorithm.

  • How do I get the table of contents to toggle? I opened it while reading one book I had checked out from my library, but it is still open when I start another book. I am using Adobe 4 and Windows 8.1 on my PC.

    How do I get the table of contents to toggle? It has remained open since I opened it while reading two books ago. Thanks for the help.

    Thank you for your advice. I followed your directions, but came up with the same results. However, I did discover that whenever I open up the iPhoto Library that is already existing on my MacBook a certain set of pictures shows up. But then when I open up the iPhoto Library from the Hard drive another set of pictures shows up. BUT not ALL of my pictures are showing up on the iPhoto Library from the hard drive. At least the last two years of pictures are not showing up?! Actually, it appears that all the pictures are there from when I started using iPhoto about 5 years ago up until around the time that I got my iMac desktop computer and started using that (2 years ago). I have noticed that more recent videos I have made are showing up in a folder on the hard drive, but will not appear when I open up iMovie?! Any ideas on how to access my pictures from the last 2 years off of the hard drive???

  • Short dump while reading a currency field from Flat file into internal tabl

    Hi,
    I am getting a short dump........saying number conversion dump (while reading a currency value into field in internal table from a fixed lenght flat file).........
    Do I need to use a string variable to get the value from flat file or how ??
    Please suggest.

    Santosh,
    Thanks for your inputs,
    But my internal table type is of DEC (5,2) , I am getting that... it needs to be of type 'C'. Can you suggest.
    Ex :
    MOVE wa_temp-infile_string+106(8)  TO wa_item-QT_PERCENT
    This didnt work
    so i tried moving into a seperate variable
    MOVE wa_temp-infile_string+106(8)  TO v_percent.
    and then write to
    WRITE v_percent to  wa_item-QT_PERCENT.

  • Error while reading data through External Table!!!

    CREATE TABLE "COGNOS"."EXT_COGNOS_TBS9_TEST"
    (     "ITEM_DESC" VARCHAR2(200 BYTE),
    "EXT_CODE" VARCHAR2(20 BYTE),
    "RC_DATE" DATE,
    "RES_KD_AMNT" NUMBER(18,3),
    "RES_FC_AMNT" NUMBER(18,3),
    "NRES_KD_AMNT" NUMBER(18,3),
    "NRES_FC_AMNT" NUMBER(18,3),
    "TOTAL" NUMBER(18,3),
    "OF_WHICH_OVR1" NUMBER(18,3)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "EXTDATADIR"
    ACCESS PARAMETERS
    ( RECORDS
    DELIMITED BY NEWLINE LOAD WHEN *({color:#ff0000}EXT_CODE LIKE 'TBS9%'{color})* FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL )
    LOCATION
    ( 'TBS9_TEST.CSV'
    External table creation went through successfully but am getting error while reading data. Am quite sure error is because of above line in red color. Could you please help me in transforming logic.
    Thanks in Advance,
    AP

    Let's start with the basics...
    1) You state that you are getting an error. What error do you get? Is this an Oracle error (i.e. ORA-xxxxx)? If so, please include the error number and the error message as well as the triggering statement. Or is the problem that rows are getting written to the reject file and errors are being written to the log file? If so, what record(s) are being rejected and what are the reasons given in the log file? Or perhaps the problem is something else?
    2) You state that you are quite sure that the problem relates to the hilighted code. What makes you quite sure of this?
    Justin

  • DAC: "error while reading repository table". Please help!

    Hi everybody,
    I copied DAC directory from server to a workstation.
    DAC client on server machine runs normally.
    When trying to run DAC client on the workstation, I get an error message "Error while reading repository table".
    I tried to find any DAC log file to get some additional information, but I couldn't.
    The connection in DAC seems to be configured properly (test connection successful).
    The only difference I found between server and workstation is that there are two Oracle homes installed on the workstation and one - on the server.
    Thanks,
    Alex

    So you can read the tables now? Good to know.
    Just as a hint: if you "tnsping" your data source from a command window, you'll see which path and file is used, so you can find out which home.
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 04-MAR-2009 16:42:43
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\11.1.0\client_1\network\admin\sqlnet.ora <--- my 11g home is used and not the 9i or 10g which also reside on this machine.
    @DAC client can't connect to server: i.e. the icon stays red?
    - Is your server up and running? (I don't want to start a flame war, but it happens to the best of us)
    - Did you go through the steps here? http://download.oracle.com/docs/cd/E12513_01/doc/bic.101/e12653/dac_configure.htm
    Cheers,
    C.

  • DAC: error while reading repository table

    Hi everybody,
    I installed DAC (copied from server to a workstation).
    When trying to run DAC client on the workstation, I get an error message "Error while reading repository table"
    The connection seems to be configured properly (test connection successful).
    DAC client on server machine starts normally.
    What can be a problem?
    Thanks,
    Alex

    Hello again!
    Has anybody seen this problem?
    What can it be?
    Where can I find DAC logs?
    Cheers,
    Alex

  • Error while reading payroll area D0, table T549S

    Hi,
    would you know what this kind of error message could mean?
    "Error while reading payroll area D0, table T549S"
    This is an error while trying to extract payroll data to business warehouse. What should I look for to find the cause of this error?
    Thanks in advance,
    Mantas

    You have to contact the HR consultant in ur tem
    Next they might have not mapped the payroll which you are trying
    REWARD POINTS

  • Error while reading Swd_Header table in workflow.

    Hii,
         For Pr rejection workflow i have created one Zevent.Inside workflow for User decision derived one rule
    which is ending in following error.
    Database error '4' reading table 'SWD_HEADER'
    The function module for rule 'AC99900003' initialized an exception and returned a message.
    I am not able to understan from where n why it is trowing d error.Thne FM written for rule is properly retriving the value.
    Pls help me to solve the issue.

    Hi Nivdedita,
    Check the rule which you have defined in the workflow.
    Regards,
    Sravanthi

  • Unable to Log-in *SAP System Message : Error while reading a Dynpro*

    Hi,
    We are facing issues while logging-in through SAP logon 710.
    The system throws an error dialog box with the below message:
    SAP System Message : Error while reading a Dynpro
    At the OS level Java process  server0 is in stop status with exit code -11113. In ABAP WP Table all processes are in wait status.

    Hi Please find the contents of std_server.out below.
    stdout/stderr redirect
    node name   : server0
    pid         : 4124
    system name : KEC
    system nr.  : 01
    started at  : Mon Jul 27 15:44:57 2009
    [Thr 5656] MtxInit: -2 0 0
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    SAP J2EE Engine Version 7.00   PatchLevel 110760.44 is starting...
    Loading: LogManager ... 250 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 47 ms.
    Loading: ThreadManager ... 16 ms.
    Loading: IpVerificationManager ... 0 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 93 ms.
    Loading: LockingManager ... 32 ms.
    Loading: ConfigurationManager ... 1032 ms.
    Loading: LicensingManager ... 0 ms.
    Loading: CacheManager ... 93 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service runtimeinfo started. (16 ms).
      Service cross started. (31 ms).
      Service file started. (31 ms).
      Service memory started. (31 ms).
      Service timeout started. (16 ms).
      Service trex.service started. (32 ms).
      Service userstore started. (0 ms).
      Service jmx_notification started. (15 ms).
      Service p4 started. (62 ms).
      Service classpath_resolver started. (16 ms).
      Service deploy started. (3722 ms).
      Service MigrationService started. (31 ms).
      Service bimmrdeployer started. (0 ms).
      Service log_configurator started. (5177 ms).
      Service locking started. (0 ms).
      Service http started. (126 ms).
      Service naming started. (157 ms).
      Service failover started. (16 ms).
      Service appclient started. (31 ms).
      Service javamail started. (47 ms).
      Service ts started. (47 ms).
      Service jmsconnector started. (47 ms).
      Service licensing started. (15 ms).
      Service connector started. (93 ms).
      Service iiop started. (94 ms).
      Service configuration started. (16 ms).
      Service webservices started. (265 ms).
      Service dbpool started. (1204 ms).
      Service UT started. (0 ms).
    Jul 27, 2009 3:45:09 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "     Error while reading a dynpro                                        ". This message is critical if it appears during the startup of the AS Java.
    Jul 27, 2009 3:45:09 PM  ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_54] Fatal:
      service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    [Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    Jul 27, 2009 3:45:09 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_54] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

  • Sy-tabix in relation to LOOP AT and READ TABLE

    Hi All,
    As per SAP documentation,
    1) While looping through an internal table (LOOP AT), sy-tabix contains the index number of current row(for standard and sorted tables)
    2)When successfully reading from an internal table(READ TABLE), sy-tabix is set to the index of the result row.
    But what happens when READ TABLE is used while looping through another internal table?
    i.e. Loop at TAB1...
    write sy-tabix.
    READ TABLE TAB2...
    write sy-tabix.
    endloop.
    If we are looping through 1st row of TAB1 and the result of read statement is found in 3rd row of TAB2, I expected that sy-tabix before READ would be 1 and after the READ be 3.
    But, I found that sy-tabix remains unchanged at 1. Can someone expalin why?
    Thanks,
    Jagan

    Hi
    If after reading the table TAB2 the system variable SY-TABIX has still the previous value, that menas the READ TABLE fails or it was read the first record of TAB2.
    After READ TABLE TAB2 try to check the SY-SUBRC:
    LOOP AT TAB1.
       WRITE: / 'TAB1 index:', SY-TABIX.
       READ TABLE TAB2 .........
       IF SY-SUBRC = 0.
         WRITE: 'TAB2 index:', SY-TABIX.
    Try this:
    DATA: BEGIN OF ITAB OCCURS 0,
            FIELD1,
          END   OF ITAB.
    DATA: BEGIN OF ITAB2 OCCURS 0,
            FIELD1,
          END   OF ITAB2.
    DATA: INDEX TYPE I.
    DO 10 TIMES.
      APPEND ITAB.
    ENDDO.
    DO 10 TIMES.
      APPEND ITAB2.
    ENDDO.
    LOOP AT ITAB.
      WRITE: / 'ITAB:', SY-TABIX.
      INDEX = SY-TABIX + 2.
      READ TABLE ITAB2 INDEX INDEX.
      IF SY-SUBRC = 0.
        WRITE:  'ITAB2:', SY-TABIX.
      ENDIF.
    ENDLOOP.
    Max

  • Error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR

    While loading master data for 0PLANT, its giving me following error.
    "error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR"
    Please help me out.
    Thanks

    steve,
    Can you give the solution you used to correct this problem?
    This error occurred in BW during import.
    Raj.

  • EHPI installer: Error while reading a dynpro. Stuck at Start Shadow First.

    Hi Everyone,
    I am dead in the water with my test install of EhP5 using the most current installer.  This small test is on an older iseries, V5R4 with 8G memory. The SAP version is ECC 6.0 at sp Basis  23 and Applications at 19.
    The install stops at Start Shadow First, but the instance and work processes are up on the server.   The log- SAPehpiConsole reads:
    Severe error(s) occured in phase MAIN_SHADOW/START_SHDI_FIRST!
    Last error code set: RFC call to upg_is_shadow_system failed with key
    RFC_ERROR_SYSTEM_FAILURE (open): Error while reading a dynpro
    Please refer to these logs in the posted replys following this post for readability.
    The shadow system work process wp01 log showsan RFC error as follows:
    Wed Sep 14 11:29:58 2011
    ABAP Program SAPMSSY2                                .
    Source                                          Line 0.
    Error Code DYNPRO_READ_FAILED.
    Module  $Id: //bas/720_REL/src/krn/dynp/dyrdypdb.c#3 $ SAP.
    Function dy_dbread Line 100.
    RABAX: level LEV_RX_STDERR completed.
    RABAX: level LEV_RX_RFC_ERROR entered.
    RABAX: level LEV_RX_RFC_ERROR completed.
    RABAX: level LEV_RX_RFC_CLOSE entered.
    RABAX: level LEV_RX_RFC_CLOSE completed.
    RABAX: level LEV_RX_ERROR_SAVE entered.
    RABAX: level LEV_RX_ERROR_SAVE completed.
    RABAX: level LEV_RX_ERROR_TPDA entered.
    RABAX: level LEV_RX_ERROR_TPDA completed.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    RABAX: level LEV_RX_END entered.
    RABAX: level LEV_RX_END completed.
    RABAX: end no http/smtp
    RABAX: end RX_BTCHLOG RX_VBLOG
    Error while reading a dynpro.
    C Wed Sep 14 11:33:59 2011
    C  *** ERROR => SQL-Error -204 in function db_open  (dbsldb4.cpp  10630)
    C  {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=}_0
    RABAX: level LEV_RX_IMC_ERROR entered.
    RABAX: level LEV_RX_IMC_ERROR completed.
    RABAX: level LEV_RX_DATASET_CLOSE entered.
    RABAX: level LEV_RX_DATASET_CLOSE completed.
    C  Reopen: FALSE
    B  *** ERROR => dbdynpdb2: dbdd_dbtab_columns (DYNPSOURCE) failed with rc = 4
    dbdynpdb2.c  2506]
    B  {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=00000000000000000000000000000000}_0
    B  ***LOG BZY=> unexpected return code 4          calling dbdd_dbtab [dbdynpdb     2508]
    So I have a problem communicating with the shadow. Or is it a problem with the db_open?
    From the test system I have an entry in SM59 to the shadow and I get this error when trying a connection test.
    Error Details     Error while reading a dynpro.
    And trying to logon to the client sends the same message, it does not bring up the login screen.
    OK. So in the 3 weeks that I have restarted, re-set and completely restored and restarted the install, I have always come to this point. I have search for similar issues and have done a review of pertinent notes etcu2026    Just as a comment, last year I successfully did the Ehp 4 upgrade without many problems on this same system using last years SAP system.   In the month that I have been trying to do this,  SAP has replaced the EHPI installer 3 times which indicates some problems on their part.
    Any comments or suggestions would be greatly appreciated.
    Pat

    The 2 logs from the installer are here.
    The STARTSFI is as follows:
    1 ETQ201 Entering upgrade-phase "START_SHDI_FIRST" ("20110913144811")
    4 ETQ399 Set environment for standard connect:
    2 ETQ367 Connect variables are set for standard instance access
    4 ETQ399 System-nr = '14', GwService = 'sapgw14'
    4 ETQ399 Environment variables:
    4 ETQ399   dbs_db4_schema=SAPR3
    4 ETQ399   auth_shadow_upgrade=0
    1 ETQ206 Executing pre-phase DB specific actions.
    3 ETQ399 Fixing IFS authorities for '/usr/sap/TEH/EHPI/abap/exe'
    1 ETQ206 Executing pre-phase DB specific actions.
    1 ETQ200 Executing actual phase 'MAIN_SHADOW/START_SHDI_FIRST'.
    1 ETQ399 Phase arguments:
    2 ETQ399 Arg[0] = 'DEVTRACE.LOG'
    4 ETQ399 Set environment for shadow connect:
    4 ETQ399 Set RFC variables for shadow connect:
    4 ETQ399 System-nr = '15', GwService = 'sapgw15'
    4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
    4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"
    4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
    4 ETQ383 translates to path "exe"
    4 ETQ383 translates to path "exe"
    4 ETQ399 Set tool parameters for shadow connect:
    4 ETQ399   default TPPARAM: SHADOW.TPP
    4 ETQ380 computing toolpath for request "TP_ALWAYS_NEW"
    4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SWI
    4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
    4 ETQ383 translates to path "exe"
    4 ETQ383 translates to path "exe"
    2 ETQ399 Starting shadow instance
    4 ETQ359 RFC Login to: System="TEH", Nr="15", GwHost="omni", GwService="sapgw15"
    2 ETQ231 RFC Login failed
    repeats the rfc call with a fail until this final entry.
    2EETQ399 Starting shadow instance failed
    2EETQ399 Test RFC failed finally
      The DEVTRACE.LOG is here:
    $                               Directory:    /usr/sap/TEH/EHPI/abap/log
    Name:         DEVTRACE.LOG
    trc file: "dev_disp.new", trc level: 1, release: "720"
    sysno      15
    sid        TEH
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    100
    intno      20020600
    make       single threaded, ASCII, 64 bit, optimized
    profile    /usr/sap/TEH/EHPI/abap/TEH/SYS/profile/TEH_DVEBMGS15_omni
    pid        75851
    kernel runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
    length of sys_adm_ext is 376 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (15 75851) [dpxxdisp.c   1287]
    #shared lib "dw_xml.so" version 100 successfully loaded
    #shared lib "dw_xtc.so" version 100 successfully loaded
    #shared lib "dw_stl.so" version 100 successfully loaded
    #shared lib "dw_gui.so" version 100 successfully loaded
    #shared lib "dw_mdm.so" version 100 successfully loaded
    #shared lib "dw_rndrt.so" version 100 successfully loaded
    #shared lib "dw_abp.so" version 100 successfully loaded
    #shared lib "dw_sym.so" version 100 successfully loaded
    #shared lib "dw_aci.so" version 100 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    rdisp/dynamic_wp_check : 0
    rdisp/calculateLoadAverage : 1
    Tue Sep 13 14:48:58 2011
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  6404]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: write dp-profile-values into sys_adm_ext
    DpIPCInit2: start server >omni_TEH_15                             <
    DpShMCreate: sizeof(wp_adm)##17440#(1744)
    DpShMCreate: sizeof(tm_adm)##4976768#(24760)
    DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
    DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
    DpShMCreate: sizeof(comm_adm)##576064#(1136)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)##0#(104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)##0#(80)
    DpShMCreate: sizeof(vmc_adm)##0#(1856)
    DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
    DpShMCreate: sizeof(gw_adm)#48
    DpShMCreate: sizeof(j2ee_adm)#2032
    DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000050000000, size: 5759216)
    DpShMCreate: allocated sys_adm at 700000050000010
    DpShMCreate: allocated wp_adm_list at 700000050002970
    DpShMCreate: allocated wp_adm at 700000050002b60
    DpShMCreate: allocated tm_adm_list at 700000050006f90
    DpShMCreate: allocated tm_adm at 700000050006fe0
    DpShMCreate: allocated wp_ca_adm at 7000000504c6070
    DpShMCreate: allocated appc_ca_adm at 7000000504d3b40       
    Directory:    /usr/sap/TEH/EHPI/abap/log
    Name:         DEVTRACE.LOG
    DpShMCreate: allocated comm_adm at 7000000504e1610
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 70000005056e060
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 70000005056e110
    DpShMCreate: allocated j2ee_adm at 70000005056e150
    DpShMCreate: allocated ca_info at 70000005056e950
    DpShMCreate: allocated wall_adm at 70000005056e9d0
    DpCommAttachTable: attached comm table (header=7000000504e1610/ft=7000000504e1620)
    DpSysAdmIntInit: initialize sys_adm
    rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
    dia token check not active (3 token)
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
    rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation std
    EsStdUnamFileMapInit: ES base = 0x7000000a0000000
    EsStdInit: Extended Memory 4096 MB allocated
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    mm.dump: set maximum dump mem to 96 MB
    DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    MPI: dynamic quotas disabled.
    MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    Tue Sep 13 14:48:59 2011
    WARNING => System running without ICM - check rdisp/start_icman [dpxxdisp.c   13097]
    Tue Sep 13 14:49:02 2011
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( omni) [dpxxdisp.c   12339]
    MBUF state LOADING
    DpStartStopMsg: send start message (myname is >omni_TEH_15                             <)
    DpStartStopMsg: start msg sent
    Tue Sep 13 14:49:11 2011
    CCMS uses Shared Memory Key 73 for monitoring.
    CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Sep 13 14:49:13 2011
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1296]
    MBUF state ACTIVE
    DpWpBlksLow: max wp blocks in queue is 800 (80 %)
    MBUF component UP
    DpMsgProcess: 1 server in MBUF
    DpAppcBlksLow: max appc blocks in queue is 500 (50 %)
    Tue Sep 13 14:50:24 2011
    DpModState: change server state from STARTING to ACTIVE
    trc file: "dev_ms.new", trc level: 1, release: "720"
    [Thr 01] Tue Sep 13 14:48:39 2011
    [Thr 01] MsSOsPrivInit: Run priority adjusted to 12
    [Thr 01] ms/http_max_clients = 500 -> 500
    [Thr 01] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    92
    intno      20020600
    make       multithreaded, ASCII, 64 bit, optimized
    pid        75850
    [Thr 01] Tue Sep 13 14:48:40 2011
    [Thr 01] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 75850) [msxxserv_mt. 2274]
    [Thr 01] SigISetDefaultAction : default handling for signal SIGCHLD
    [Thr 01] load acl file = /usr/sap/TEH/EHPI/abap/TEH/SYS/global/ms_acl_info
    [Thr 01] MsGetOwnIpAddr: my host addresses are :
    [Thr 01]   1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
    [Thr 01]   2 : [127.0.0.1] LOOPBACK (LOCALHOST)
    [Thr 01] MsHttpInit: full qualified hostname = omni.plastekgroup.com
    [Thr 01] HTTP logging is switch off
    [Thr 01] MsHttpOwnDomain: own domain[1] = plastekgroup.com
    [Thr 01] *** I listen to port 3615 (3615) ***
    [Thr 01] CUSTOMER KEY: >H1357713078<
    [Thr 01] build version=720.2011.05.04
    trc file: "dev_rd", trc level: 1, release: "720"
    Tue Sep 13 14:49:07 2011
    ***LOG S00=> GwInitReader, gateway started ( 75855) [gwxxrd.c     1758]
    systemid   327 (IBM i with OS400)
    relno      7200
    patchlevel 0
    patchno    96
    intno      20020600
    make       single threaded, ASCII, 64 bit, optimized
    pid        75855
    gateway runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
    gateway (version=720.2011.04.20)
    Tue Sep 13 14:49:10 2011
    gw/reg_no_conn_info = 1
    gw/local_addr : 0.0.0.0
    gw/reg_no_conn_info = 1
    SWITCH TRC-RESOLUTION from 1 TO 1
    CCMS: initialize CCMS Monitoring for ABAP instance with J2EE addin.
    CCMS uses Shared Memory Key 73 for monitoring.
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Sep 13 14:49:13 2011
    CCMS: Initalized shared memory of size 40000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: AlMsUpload called by wp 1002.
    CCMS: AlMsUpload successful for /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/log/ALMTTREE (0 MTEs).
    Bind service sapgw15 (socket) to port 3315
    GwIRegInitRegInfo: reg_info file /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/data/reginfo not found
    GwPrintMyHostAddr: my host addresses are :
      1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
      2 : [127.0.0.1] LOOPBACK (LOCALHOST)
    Full qualified hostname = omni.plastekgroup.com
    DpSysAdmExtCreate: ABAP is active
    DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    DpIPCInit2: read dp-profile-values from sys_adm_ext
    DpShMCreate: sizeof(wp_adm)##17440#(1744)
    DpShMCreate: sizeof(tm_adm)##4976768#(24760)
    DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
    DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
    DpShMCreate: sizeof(comm_adm)##576064#(1136)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)##0#(104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)##0#(80)
    DpShMCreate: sizeof(vmc_adm)##0#(1856)
    DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
    DpShMCreate: sizeof(gw_adm)#48
    DpShMCreate: sizeof(j2ee_adm)#2032
    DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000060000000, size: 5759216)
    DpShMCreate: allocated sys_adm at 700000060000010
    DpShMCreate: allocated wp_adm_list at 700000060002970
    DpShMCreate: allocated wp_adm at 700000060002b60
    DpShMCreate: allocated tm_adm_list at 700000060006f90
    DpShMCreate: allocated tm_adm at 700000060006fe0
    DpShMCreate: allocated appc_ca_adm at 7000000604d3b40
    DpShMCreate: allocated comm_adm at 7000000604e1610
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 70000006056e060
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 70000006056e110
    DpShMCreate: allocated j2ee_adm at 70000006056e150
    DpShMCreate: allocated ca_info at 70000006056e950
    DpCommAttachTable: attached comm table (header=7000000604e1
    MtxInit: -2 0 0
    DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 fro
    Tue Sep 13 14:50:14 2011
    GwDpInit: attached to gw_adm at 70000006056e110
    Tue Sep 13 14:50:16 2011
    DpSetProcessPriority: Run priority for gwrd adjusted to 12

  • Conflict: READ TABLE itab2 INDEX 1 vs  Modify itab1 from index sy-tabix

    The below simple code is for each itab1 line, create a new itab2 by using select statement, and then grab the max value of field f in itab2 and fill it into a corresponding field in itab1.
    However the statement:
    READ TABLE itab2 into gs_itab1 INDEX 1.
    causes the conflict with our another statement in the end of itab1 loop:
    Modify itab1 from gs_itab1 index sy-tabix.
    that the below Modify statement always modify itab1 at 1st row and also causes an unlimited loop that the program is hung up. Our code looks as the following:
    Loop AT itab1 into gs_itab1.
             use Select statement to fill in itab2...
             SORT itab2 BY f DESCENDING. "f is a field of itab2
             READ TABLE itab2 into gs_itab1 INDEX 1.
             Modify itab1 from gs_itab1 index sy-tabix.
    EndLoop.
    However the last two lines of statements in the itab1 loop causes the program hang!
    Any solution?
    Thanks in advance!

    Hi,
    I got confused while going thru the code...
    according to code
    first u loop itab1 and get tht in gs_itab1 and then a select query to get data from some table and store in itab2.
    Here are u using any where condition, if yes u may probably check aganst gs_itab1 rite? if yes
    first suggestion...why cant u put the select statement above the loop and get all the values to an internal table and then read the internal table in the loop stmt. Yes i can see u r sorting it based on some 'f'..just a suggestion
    Now here can u follow this code...
    Loop AT itab1 ASSIGNING <fs_itab1>,
             use Select statement to fill in itab2...
             SORT itab2 BY f DESCENDING. "f is a field of itab2
             READ TABLE itab2 into <fs_itab1> index 1.
    EndLoop.
    Please let me know if its not ok
    <REMOVED BY MODERATOR>
    Regards,
    ABAPer007
    Edited by: Alvaro Tejada Galindo on Apr 11, 2008 12:26 PM

Maybe you are looking for

  • Re-Installing Leopard from Snow Leopard HELP!!!

    Hey guys, I'm sure this is a duplicate post, but i have looked for ages. Basically, i need to re-insall Leopard from Snow Leopard on my new 17 MBP. I have the 10.5 DVD, but when i try to run it, the computer restarts and then just sticks in a loop of

  • New Parameter As Of Date (Period) In Invoice Aging Report   Doc ID:752120.1

    Hi Hussein, EBS R12 (12.0.6) Rhel 4.6 How do I apply this kind of patch? Solution This is Enhancement Request 70091 ADD PARAMETER TO RUN INVOICE AGING REPORT AS OF A CERTAIN DATE Thanks a lot

  • How to add a Report in empty dahboard?

    There is an end user, when ever he login he is able to see empty dashboard, but the requirement is he has to see some report other than empty page. How to acheieve this?

  • BeX variable exit confusion

    In my BW system, someone has created a query. There is a variable in this query. The value for this variable is filled by an exit but the description of the variable is filled at run time by what it is unclear. The description for the current month i

  • How to access Views of ERP with Netweaver BPM?

    Hello, i want to create an example-application with Netweaver BPM and Visual Composer. For this, more employees should share the creation of a new Material in an ERP Backend. Every emplyoee should enter data of a different View of MM01 ! (like Basic