Change sapgw00 on sapgw01

I'm trying to create a connection to SAP BW from Universe Designer. I am not able to browse down the OLAP CUBES. Then i click on Test Connection and i got this error message:
The server is not responding! (SBO0001).
In detail i see port sapgw00, but i need sapgw01.
Where i can change it?

Hi,
please provde me the workflow where you are getting this error.
while creation of  a connection you can define the System number (step 3/5 in connection creation).
if you are using the existing connetion for then edit the connection parameters and make sure there the proper System number is mentioned.
Regards,
Ramu.

Similar Messages

  • Sapgw error in Rfc

    i have  dev SYSTEM (DEV) WITH SYSTEM NR 20 AND A PROD SERVER (ECC) WITH SYSTEM NR 00, I AM TRYING TI INCLUDE ECC IN THE DOMAIN BUT I GET AN ERROR MESSAGE IN TMSADM@ECC_DOMAIN.DTR OF RFC SAYING SAPGW20 NOT REACHABLE.
    I NOTICED THAT IN DEV SAPDW00 WAS 3200 WHICH WAS SUPPOSED TO BE 3220 AND SAPGW00 WAS 3300 WHICH WAS SUPPOSED TO BE 3320 SO I CHANGED IT BUT AFTER DOING THAT I GET THAT ABOVE MESSAGE IN MY SERVICES FILE I SEE THAT SAPGW20 IS 3320 IS THIS CONFLICTING WITH SAPGW00 3320.

    Hello Kaleem,
    In services file you will have dispatcher and gateway port entries from sapdp00 to sapdp99 and sapgw00 to sapgw99. So in you case sapgw20 already exist and you are changing sapgw00 to sapgw20 and it's conflicting with existing one sapgw20.
    You don't need to modify existing entries. But please make sure message server entries of both systems exist in both systems (dev and prod).
    Hope your query is answered.
    Thanks,
    Siva Kumar

  • RFC JCo 3 unable to connect to SAP AS with sapgw01 service

    Greetings - help is greatly appreciated.
    I have an RFC server that uses JCo 3.0.5 to connect to the SAP Application server.  When the RFC server is run from a Unix system the gateway service and port needs to be added to the unix systems /etc/services file.  We have two (actually 21) sap systems, one has a gateway service id of sapgw00, the other sapgw01.  We added both gateway services with port 3300 to the Unix /etc/systems file and are able to connect to the sapgw00 system but not the sapgw01 system.  The sapgw01 system is returning the following error.  Without sapgw01 in the /etc/services file we get a different error - so it's doing something.
    Thanks in advance
    Status: Server FLRFCSRV state changed from [STOPPED] to [STARTED]
    >>> Exception error occurred on FLRFCSRV connection null
    com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:10 CDT 2010.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems.
    Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:10 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     1
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
            at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
            at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
            at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:10 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     1
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
            at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
            ... 4 more
    Caused by: RfcException: [null]
        message: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:10 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     1
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
            at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
            at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
            at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
            ... 6 more
    Status: Server FLRFCSRV state changed from [STARTED] to [DEAD]
    >>> Exception error occurred on FLRFCSRV connection null
    com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:12 CDT 2010.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next .
    Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:12 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     2
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
            at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
            at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
            at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:12 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     2
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
            at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
            ... 4 more
    Caused by: RfcException: [null]
        message: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:12 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     2
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
            at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
            at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
            at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
            ... 6 more
    A startup error occurred - please view the log file for additional information
    >>> Exception error occurred on FLRFCSRV connection null
    com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:18 CDT 2010.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next .
    Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:18 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     3
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
            at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
            at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
            at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:18 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     3
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
            at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
            at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
            ... 4 more
    Caused by: RfcException: [null]
        message: Connect to SAP gateway failed
    Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
    ERROR       partner '10.165.67.157:sapgw01' not reached
    TIME        Thu Apr 29 09:16:18 2010
    RELEASE     720
    COMPONENT   NI (network interface)
    VERSION     40
    RC          -10
    MODULE      nixxi.cpp
    LINE        3253
    DETAIL      NiPConnect2: 10.165.67.157:3300
    SYSTEM CALL connect
    ERRNO       239
    ERRNO TEXT  Connection refused
    COUNTER     3
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
            at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
            at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
            at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
            at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
            ... 6 more

    Hello Sir,
    I am a student who is pursuing a project that deals with JCo 3.
    I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
    Kindly, try to shed some light on following question:
    Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
    I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
    when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
    I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
    Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
    know how to run the SAP JCo program.
    Your guidance will be highly appreciated
    -Thanks
    -Dmukhi

  • Error while changing UME data Source of EP.

    Hi All,
    I am trying to change the UM Congifuration for my EP.
    Currently EP is using ECC System as UME data source, Now I am trying to change it from ECC to SCM.
    For that I have done SSO between EP and SCM, also I have created SAPJSF id on SCM with roles
    SAP_BC_JSF_COMMUNICATION, SAP_BC_JSF_COMMUNICATION_RO, SAP_BC_USR_CUA_CLIENT_RFC and maintained same id on EP under Um Configuration- SAP System.
    After doing this while checking the test connection it is giving me following error.
    (System ID): com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'mshost' missing
    (System ID & System Number): com.sap.mw.jco.JCO$Exception: (102)
    RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed
    Connect_PM TYPE=A ASHOST=mmscmsaptst SYSNR=00
    GWHOST=mmscmsaptst GWSERV=sapgw00 PCS=1
    LOCATION SAP-Gateway on host mmscmsaptst / sapgw00
    ERROR Return codes ( function=STIAsRcvFromGw / CPIC-RC=CM_PARAMETER_ERROR / SAP-RC=C_NIHOSTTOADDR )
    TIME Tue Sep 23 10:55:04 2008 RELEASE 640 COMPONENT CPIC (TCP/IP) with Unicode VERSION 3
    RC 772 MODULE r3cpic.c LINE 5079 COUNTER 2
    Pl help to resolve above issue.
    Thanks & Regards,
    Aditya

    Aditya,
    This RFC error is encountered when there is no message server host name in this file.
    C:/windows/system32/drivers/etc/services
    make an entry like this sapmsPBI     3600/tcp
    3600 is the port number , try to figure out the correct port number for SCM and update this.
    These changes are to be done on your Portal side.
    Good Luck.
    Sandeep Tudumu
    Edited by: Sandeep Tudumu on Sep 23, 2008 11:17 AM

  • Change IP address on ECC6 (ABAP + JAVA stack)

    Hi all,
    we need to change the IP address of our server running an ECC6 with double stack (ABAP & Java). Also the DB is in the same server (it's a Demo IDES system).
    The computer's name will remain the same as previously.
    In the HOSTS file we have updated the new IP address.
    Are there some other manual corrections needed ?
    Is ther something to be adapted in the J2EE admin of config ?
    Thanks in advance.
    Andrea

    Hi,
    I have looked into OSS note:
      Note 757692 - Changing the hostname for J2EE Engine 6.407.0 installation
    It is mainly related to host name than IP address.
    Looking into the log file server.0.log I see:
    Thread[impl:5]_51##0#0#Error#1#com.sap.engine.core.service630.container.ServiceRunner#Plain###Service com.sap.security.core.ume.service error.
    Nested exception is: com.sap.engine.frame.ServiceException: <--Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle',
    ID='UME initialization failed.', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:372)
         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:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=*192.168.0.112* SYSNR=00 GWHOST=192.168.0.112 GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '192.168.0.112:sapgw00' not reached
    The actual IP address il 192.168.3.128. I do not understand where the 192.168.0.112 (the previously IP addres) comes from.
    May be there are some manual adjustment in Java parameters or RZ10 or SM59.
    Any suggestions are welcome.
    Thanks
    Andrea

  • How do I change the instance number 00 that Java Engine trys to connect to?

    Hi All,
    I hope you may be able to advise me here....
    I have a Solution Manager 4 installation that the Java Engine / Server 0 does not start on.
    When I look in the std_Server0.out log I see the below errors when trying to connect.  What I see wrong here is that If I want to log into the systems with normal SAP GUI my connection details are: System number 01 and not system 00
    as show in the error info below.  All the other connection info is correct.
    Connect_PM  TYPE=A ASHOST=uk-gccsap007 SYSNR=00 GWHOST=uk-gccsap007 GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner 'uk-gccsap007:sapgw00' not reached
    TIME        Mon Mar 26 14:00:17 2007
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2764
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:178)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:338)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:156)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:109)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:56)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:259)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:279)
         ... 6 more
    [Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    Mar 26, 2007 2:00:17 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_66] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    When I look at other logs in the system this error is repeated in lots of places. 
    I can also see that the connection details used to be 00 but somwhere along the line it was changed by someone to 01 which is incorrect.  I dont why it was changed.
    Does anyone know where I tell / configure the Java Engine Server0 that it should try and connect to SAP Instance 01 to get access.
    Hope you can help
    Thanks
    Alex

    Its OK,  Ive fixed it.
    I went into the offline Config tool,  selected Global Services, then fine the service:
    ume.r3.connection.master.sysnr
    com.sap.security.core.ume.service and change the details for otpion:
    ume.r3.connection.master.sysnr
    All sorted.
    Thanks
    Alex

  • Change IP for server

    Dear All,
    When I change IP server, installed BW, then I log on Portal : Content Administration -> Web Dynpro, choose Maintain JCO Destinations, and I test BI_METADATA ... there's error:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM  TYPE=B MSHOST=sapsrv GROUP=PUBLIC R3NAME=BWD MSSERV=sapmsBWD PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '192.168.81.23:sapgw00' not reached TIME        Mon Oct 22 16:08:15 2007 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -10 MODULE      nixxi.cpp LINE        2764 DETAIL      NiPConnect2 SYSTEM CALL connect ERRNO       113 ERRNO TEXT  No route to host COUNTER     12
    Old IP: 192.168.81.23
    New IP: 10.81.81.23
    Thanks much,

    Dear Tân,
    have you adapted your /etc/hosts file accordingly? You have to take special care for the /etc/hosts file on Linux when using SAP.
    Thanks,
      Hannes

  • Server0 , partner not found server:sapgw01

    Hi all here is the case.
    My systme is solution manager 7 ehp1
    recently just undergo system copy homogeneus to change the system number from 01 to 00
    ABAP become 00, SCS become 01
    The import is success, but the problem is not the server0 could not get started, during the phase starting application.. the error is pointing to failed connection to sap gateway service..
    [Thr 131280] *  ERROR       partner 'server:sapgw01' not reached
    [Thr 131280] *
    TIME        Wed Mar 07 16:15:21 2012
    [Thr 131280] *  RELEASE     701
    [Thr 131280] *  COMPONENT   NI (network interface)
    [Thr 131280] *  VERSION     38
    [Thr 131280] *  RC          -10
    [Thr 131280] *  MODULE      nixxi.cpp
    [Thr 131280] *  LINE        2845
    [Thr 131280] *  DETAIL      NiPConnect2
    [Thr 131280] *  SYSTEM CALL connect
    [Thr 131280] *  ERRNO       10061
    [Thr 131280] *  ERRNO TEXT  WSAECONNREFUSED: Connection refused
    [Thr 131280] *  COUNTER     6
    [Thr 131280] *
    [Thr 131280] ************
    Found out that it still try to connect to sapgw01, now the solution manager system number is 00 no longer 01.
    Anywhere in configtool / offlineconfig for me to change and point the gateway to correct port ?
    Thanks is advance

    Hi,
    Refer SAP note :
    Note 1341701 - partner 'hostname:service' not reached
    It seems there is a port opening issue at server level. also check if host file entries are correct
    Also check in your DEFAULT and START profile parameter SAPSYSTEM =00
    Regards,
    Edited by: Rupali B on Mar 7, 2012 4:44 PM

  • Error after changing datasource

    Hi Experts,
    one of our test systems (IDES) with doule stack including NW Portal is connected to the client 001.
    As we have a lot of users in the client 800 we want to change the configuration of the UME to client 800.
    We used this SAP Help Link:
    [Configuring the UME to Use an AS ABAP as Data Source|http://help.sap.com/saphelp_nw70/helpdata/de/9e/fdcf3d4f902d10e10000000a114084/content.htm]
    After changing the Client in the useradmin page of the J2ee UME configuration - a connection test runs successfully.
    But after restarting the server:
    Server is stopped - Dispatcher is running but no server connected.
    dev_jcontrol:
    [Thr 3440] JControlICheckProcessList: process server0 started (PID:2008)
    [Thr 3440] Mon Sep 29 16:34:14 2008
    [Thr 3440] JControlICheckProcessList: process server0 (pid:2008) died (RUN-FLAG)
    [Thr 3440] JControlIResetProcess: reset process server0
    [Thr 3440] JControlIResetProcess: [server0] not running -> increase error count (4)
    [Thr 3440] JControlICheckProcessList: running flight recorder:
    std_server0.out
    [Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
    Sep 29, 2008 4:34:12 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_39] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
    dev_server0
    [Thr 5748] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 6092] Mon Sep 29 16:34:09 2008
    [Thr 6092] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
    [Thr 6092] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI
    [Thr 6092] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.engine.Compress
    [Thr 5064] Mon Sep 29 16:34:12 2008
    [Thr 5064] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 5064] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    My first thougts were to check the RFC/JCo connections - so I changed the configuration to the old one via ConfigTool - UME.Services - restarted the J2EE engine.
    Log to SM59 and Configtool. I regenerated the JCo Connection for sapfallback (was not available) and to the portal itself - Tested the connections in SM59 TCP/IP - successfully tested.
    So i tried the changes again (client 800)- with the same errors as above?
    Any idea what causes this misbehaviour? Or is the SAP help link only for initial setting of UME? Are there additional steps when changing from one ABAP Host (or client) to another?
    Thanks in advance
    kind regards
    Tom

    Sometimes I`m a mess!
    Look at default trace error:
    #1.5 #005056827C490074000002DB00000A08000451F31E6385D7#1216004535546
    #com.sap.security.core.persistence#sap.com/irj#com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.R3Persistence][md=populatePrincipalDatabag(AttributeList)][cl=null]
    #J2EE_GUEST#0##n/a##2ce6913050ba11dd8d2d005056827c49#SAPEngine_Application_Thread[impl:3]_6##0#0#Error##Java###
    An exception was thrown in the UME/ABAP user management connector. This exception might be caused by incorrect user input.
    It is written to the trace to assist incident analysis by SAP. Only messages also appearing in the log require administrator assistance.
    [EXCEPTION]
    #1#com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       partner '127.0.0.1:sapgw00' not reached
    TIME        Mon Jul 14 05:02:15 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     82
         at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy$Client640.execute(R3JCo640Proxy.java:465)
         at com.sap.security.core.persistence.datasource.imp.R3Persistence.doBapiUserGetDetailInternal(R3Persistence.java:5238)----
    Any ideas?
    kind regards
    Tom
    Update:
    - the host file contains localhost and service file contains sapgw00 with 3300/tcp?
    - the java stack runs unter https, http is only available for localhost, may this be the problem?
    - Which JCo connection causes this error - actually there are three JCo Connections maintained in VA - .. - JCo RFC Provider - NONE of them connects to localhost??
    Edited by: Tom Uhl on Oct 10, 2008 10:12 AM

  • Change Management - System Recommendations

    Hello experts,
    I've installed Support Package 27 on SAP Solution Manager 7.0 EhP1. This version provides the function "System Recommendations", it's a part of Change Management. If I choose in System Recommendations the Solution Manager itself, it works fine and shows me all important notes. But if I choose another system, the following message appears:
    "Currently no data specific to this technical system has been calculated. You can add it to the automatic check by pressing the Settings link and you can also press the Refresh link for an immediate result."
    Pressing the button "Refresh" has only the effect, that the sand clock appears ... nothing else happens
    Any idea or a solution for this problem?
    Thanks and best regards,
    Max Power

    In the meantime I found the following error:
    A  Error Code TIME_OUT.
    A  Module  $Id: //bas/701_REL/src/krn/th/thhiserv.c#7 $ SAP.
    A  Function ThTimeout Line 1770.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    M  ThCMDEAL (21444871)
    M  ThICMDEAL (21444871, ..)
    M  ThCPIC: execute cpic func DEALLOCATE
    M  DpGetCpicCommIdx: found index 130 via tm_adm
    M  found comm entry 130 (tid/uid/mode/conv_id/a_r: 48/10393/0/21444871/0)
    M  ThCPIC: last_ftype/last_timeout/last_requested_length/last_receive_data 1/-1/-1/0
    M  ThCPIC: allowed rq_type of T48/M0 = TH_APPC_RC_RQ
    M  ThConnectToLocGw: connect to local gateway
    M  GwConnectSapWp: connect to gateway >localhost< >sapgw01<
    M  NiHsLGetNodeAddr: found hostname 'localhost' in cache
    M  NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1
    M  NiHsLGetServNo: got service name 'sapgw01' from operating system
    M  NiIGetServNo: servicename 'sapgw01' = port 0C.E5/3301
    M  NiICreateHandle: hdl 5 state NI_INITIAL
    M  NiIInitSocket: set default settings for new hdl 5 / sock 15 (UD; ST)
    M  NiIBlockMode: set blockmode for hdl 5 FALSE
    M  NiIConnectSocket: connection of hdl 5 established to /tmp/.sapstream3301
    M  NiIConnect: state of hdl 5 NI_CONNECTED
    M  NiIWrite: hdl 5 sent data (wrt=136,pac=1,MESG_IO)
    M  NiIRead: hdl 5 recv would block (errno=EAGAIN)
    M  NiIRead: hdl 5 received data (rcd=136,pac=2,MESG_IO)
    M  GwConnectSapWp: connect to gateway localhost / sapgw01 (pid = 2490522) o.k.
    M  ThISend: (tm/user/type/info = 48/<username> /0x80/0x0, mode_deleted=0)
    M    GATEWAY
    M  abap strategy ROLL / O.K.
    M  ThRqOutCheck: o.k.
    M  ThNewWpStat (type=0x80, task_switch=0, inline_hold=0, hand_shake=0, debug=0, ..)
    M  ThNewWpStat: new state of T48/M0 = 0x24
    M  ThISend: new wp stat: 0x0
    M  Adresse   Offset  APPC-Data to Gateway
    M
    M  0x70000002096e8c0  000000  060b0200 28990021 00000000 00000000  ....(..!........
    M  0x70000002096e8d0  000016  00ffffff ff000000 00000000 00000000  ................
    M  0x70000002096e8e0  000032  00000000 00000000 32313434 34383731  ........21444871
    M  0x70000002096e8f0  000048  00000000 00000000 00000000 00000000  ................
    M  0x70000002096e900  000064  00000000 00000000 00000000 00820136  ...............6
    M
    M  ThDtAppcBlk: detach APPC ca_blk 8
    M  ThAppcBlkToGw: make gw owner of appc_ca_blk 8
    M  ThISend: stat_state = TH_STAT_NOT_ACTIVE
    M  ThSendToLocGw: send sap wp rq to local gateway
    M  -OUT- tid         48            uid  10393        mode  0
    M  -OUT- appc_ca_blk 8             len  80           rq_id 9879
    M  -OUT- wait_f_answ 0             cmd  0
    M
    M  NiIWrite: hdl 5 sent data (wrt=28,pac=1,MESG_IO)
    M  ThISend: don't wake up dispatcher
    M  DpVmcGetVmByTmAdm: no VM found for T48/M0/I0
    M  LOCK APPC ca_blk 9
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    M  RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = 0x7000000002c2480/(nil)/0/0/1
    M  RmCleanUpResources3: no resources registered
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    M  SigIRegisterHook: cleared hook for signal 11
    M  SigIRegisterHook: cleared hook for signal 10
    A  ** RABAX: end RX_RETURN
    A  Time limit exceeded..
    A
    M  ThTimeout: no online user, delete mode
    M  ThIAMDel: delete tid/mode 48/0 (th_errno 52, release 1)
    M  ThIDeleteMode (48, 0, 3, ><, 0, 255, TRUE)
    M  ThIDeleteMode: no modes found ..
    M    no sub modes
    M  ThCheckMemoryState (0, 0, 1)
    M  ThIAMDel2: last active mode (0) delete tid (48)
    M  ThIUsrDel (52, 1)
    M  ThCheckMemoryState (0, 0, 1)
    M  ThIUsrDel: set status of T48 to TM_NEND
    M  ThResFree: free resources of U10393 M0 I0 (normal mode, complete free) at level 3, errno=52, db_action=TH_DB_ROLLBACK, pooling=1
    M  ThResFree: reset spa state for user T48/U10393/M0
    M  ThCheckMemoryState (0, 0, 1)
    M  ThCallHooks: call hook >ITSP: EndOfSession< for event BEFORE_SESSION_CANCEL
    M  ThCallHooks: call hook >HttpClearSession< for event BEFORE_SESSION_CANCEL
    M  ThCallHooks: call hook >abRtmClearSession< for event BEFORE_SESSION_CANCEL
    M  ThCallHooks: call hook >SpoolHandleHook< for event BEFORE_SESSION_CANCEL
    M  ThIRollBack
    M  ThIRollBack: call db_rollback
    M  ThCheckComOrRb (event=0, full_commit=1)
    M  ThCallHooks: call hook >ab_SosRfcBeforeRollback< for event BEFORE_ROLLBACK
    M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_ROLLBACK
    M  PfAStatRevertCollected: no entries to write
    M  ThCallHooks: call hook >dyKeyTableReset< for event BEFORE_ROLLBACK
    M  ThCallHooks: call hook >SpoolHandleHook< for event BEFORE_ROLLBACK
    M  ThCheckComOrRb (event=2, full_commit=1)
    M  ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_ROLLBACK
    M  ThVBICmRbHook: called for rollback
    M  ThVBIRollBackRedo: got 0 entries to delete again
    M  ThShortCommit: call db_commit98 (keep resources)
    M  ThCheckComOrRb (event=1, full_commit=0)
    M  ThCheckComOrRb (event=3, full_commit=0)
    M  ThShortCommit o.k.
    M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_ROLLBACK
    M  ThNoClearPrevErr: clear prev no err
    M  ThCallHooks: call hook >rsts_after_rollback< for event AFTER_ROLLBACK
    M  ThCallHooks: call hook >ThNoResetMutex< for event AFTER_ROLLBACK
    M  ThNoCheckMutex: check for remaining locked intervals
    M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_ROLLBACK
    M  ThICommit3: full commit, set time, free resources, redispatch
    M  ThICommit3: commit and free resources
    M  ThCheckComOrRb (event=1, full_commit=1)
    M  ThCallHooks: call hook >ab_SosShmBeforeCommit< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >ab_SosRfcBeforeCommit< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
    M  ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
    M  ThCheckComOrRb (event=3, full_commit=1)
    M  ThCallHooks: call hook >ThVBICmRbHook< for event AFTER_COMMIT
    M  ThVBICmRbHook: called for commit
    M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
    M  ThNoClearPrevErr: clear prev no err
    M  ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
    M  ThCallHooks: call hook >dyKeyTableRest< for event AFTER_COMMIT
    M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
    M  ThrClearMemory o.k.
    M  ThCallHooks: call hook >db_x_short_mem_sync_point< for event AFTER_STORAGE_FREE
    M  ThCallHooks: call hook >rsts_storage_free< for event AFTER_STORAGE_FREE
    M  ThAlarm: set alarm to 600 sec
    M  ThICommit3 o.k.
    M  PfStatDisconnect: disconnect statistics
    M  ThDealComm: T48/U10393/M0 has no cpic conns
    M  clean up all internal modes of T48/U10393/M0

  • BEx crashes when changing variable values

    Hi all,
    We're having a problem with BEx.
    It crashes when trying to change variable values.
    We've been looking into syslogs and dev logs and so on,
    and found that the cpic connection has been disconnected
    before the crash. BUT we cannnot find out what is actually
    disconnecting the session.
    Well, at least F/W wasn' the cause. Have check the logs.
    Any ideas? Thx in advance!
    Yuko
    Below is our info.
    BEx: BI 7.10 sp7
    BI: BI 7.0 SAPKW70017
    <BI syslog at the time of BEx crash>
    15:40:36 RD                                 Q0  I Operating system call recv failed (error no. 232 )
    15:40:36 RD                                 S2  3 Connection to CPI-C client 586 was closed
    15:40:36 RD                                 S7  4 > Partner LU name:
    15:40:36 RD                                 S0  R > Host: 172.19.xx.xxx
    15:40:36 RD                                 S0  I > Partner TP Name: EXCEL
    15:40:36 DIA  000 500 BIB103                R4  9 Communication error, CPIC return code 020, SAP return code 223
    15:40:36 DIA  000 500 BIB103                R5  A > Conversation ID: 82142217
    15:40:36 DIA  000 500 BIB103                R6  4 > CPI-C function: CMSEND(SAP)
    <dev_rd log trace level 3>
    GWRD LOOP **********
    I'm in GwReceive
    SiSelPSelect: start select (timeout=20000)
    Thu Apr  9 15:40:36 2009
    SiSelPNext: an error occurred in sock 31
    NiSelISelectInt: error detected on hdl 18 / sock 31
    NiSelIListInsert: add hdl 18 [17] to sel-list (0) of set0
    NiSelISelectInt: 1 handles selected (0 buffered)
    main: NiSelNext (ni_hdl=18, read=1, write=0, connect=0, hdl_info=0x6000000000587400)
    request from CLIENT
    GwRequest: request from client 586
    GwGetMemory: allocated 0x600000000089bee0 (len=34615)
    NiHsLGetHostName: found address 172.19.xx.xxx in cache
    ***LOG Q0I=> NiIRead: recv (232: Connection reset by peer) [nixxi.cpp 4423]
    ERROR => NiIRead: SiRecv failed for hdl 18 / sock 31
        (SI_ECONN_BROKEN/232; I4; ST; 172.19.xx.xxx:1097) [nixxi.cpp    4423]
    Adresse   Offset  bad request
    GwSaveErrInfo2: save err info (225)
    ***LOG S23=> GwIDisconnectClient, client disconnected (586) [gwxxrd.c     11657]
    ***LOG S74=> GwIDisconnectClient, client disconnected ( SY08472) [gwxxrd.c     11665]
    ***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c     11704]
    ***LOG S0I=> GwIDisconnectClient, client disconnected ( EXCEL) [gwxxrd.c     11713]
    LOCATION    SAP-Gateway on host mxxx112 / sapgw01
    ERROR       connection to partner '172.19.xx.xxx:1097' broken
    TIME        Thu Apr  9 15:40:36 2009
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -6
    MODULE      nixxi.cpp
    LINE        4423
    DETAIL      NiIRead
    SYSTEM CALL recv
    ERRNO       232
    ERRNO TEXT  Connection reset by peer
    COUNTER     790

    Just FYI.
    After all, we ended up applying BEx addon patch 9.
    The problem about the BEx crash seemed to be fixed in patch 8, but another problem (I heard it was about something to do with report jump function) was not fixed. As a result, we skipped patch 8 and applied 9.
    Both problems were fixed in patch 9.
    Many thanks to SDN informations.
    Yuko

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

  • How to restrict manual changing of free goods in sales order

    Hi ,
    Goodmorning ,
    We have some requirement : In sales order free goods quantity determination by system  should not be allowed to change manually , where can we do this ?
    Looking for your inputs
    Thanks and regards
    Venkat

    As per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
    But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
    I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
    Hope this helps.
    Thanks,
    Jignesh Mehta

  • Sy-tabix value has changed...

    Hi Gurus,
    I  am using a code like dis...this is not the actual code m using instad m sendin u a sample program so that u can understand the problem
    There is a selecvtion for Customer.
    sort itab by kunnr.
    loop at itab.
    on change of itab-kunnr.
    wkunnr = itab-kunnr.
      read table zitab with key kunnr = itab-kunnr.
    endon.
    if itab-kunnr = wkunnr.
    wdmbtr = wdmbtr + itab-dmbtr.
    endif.
    at end of kunnr.
    ftab-kunnr = wkunnr.
    ftab-dmbtr = wdmbtr.
    append ftab.
    endat.
    endloop.
    Now my problem is that  AT END OF Kunnr is working fine for the first customer or say for single customer but when there are multiple customers  AT END OF kunnr is triggring for each entry.......
    In debug MOdei can see that as soon as read table  syntax is used the tabix value is changed....
    So Can anyone suggest what is the solution....
    Regards,
    Raman

    This is the Declaration
    DATA:  BEGIN OF ITAB OCCURS 0,
                      KUNNR      LIKE BSID-KUNNR,
                      BELNR      LIKE BSID-BELNR,
                      BUKRS      LIKE BSID-BUKRS,
                      GJAHR      LIKE BSID-GJAHR,
                      BUZEI      LIKE BSID-BUZEI,
                      SHKZG      LIKE BSID-SHKZG,
                      VALUT      LIKE BSID-ZFBDT,
                      SGTXT(70)  TYPE  C,
                      ZFBDT      LIKE BSID-ZFBDT,
                      ZBD1T       TYPE BSID-ZBD1T,
           ZBD2T       TYPE BSID-ZBD2T,
           ZBD3T       TYPE BSID-ZBD3T,
           REBZG       TYPE BSID-REBZG,
           NETDT       TYPE BSID-BUDAT,
                      ZUONR      LIKE BSID-ZUONR,
                       BLART      LIKE BSID-BLART,
                      DMBTR      LIKE BSID-DMBTR,
                      SPART       TYPE VBRK-SPART,
                      DAY    TYPE RFPOSX-VERZN,
                      FLAG TYPE C,
                      CITY        TYPE KNA1-ORT01,
           NAME1       TYPE LFA1-NAME1,
                     CR_DR1(4)  TYPE C,
                      PSWSL      LIKE BSID-PSWSL,
                      ZTERM      LIKE BSID-ZTERM,
                      VBELN      LIKE BSID-VBELN,
                      UMSKZ      LIKE BSID-UMSKZ,
                      KLIMK      LIKE KNKK-KLIMK,
                      VTEXT      LIKE TVZBT-VTEXT,
                      ADV        LIKE BSID-DMBTR,
                      REBZT       TYPE BSID-REBZT,
                      XBLNR      LIKE BSID-XBLNR,
                      VTEXT1(70) TYPE  C,
                       FKLIMK    LIKE KNKK-KLIMK,
                      ABC(4)     TYPE C,
                    AGRO(4)        TYPE C,
                      BIO(4)        TYPE C,
                      SKFOR      LIKE KNKK-SKFOR,
                      SSOBL      LIKE KNKK-SSOBL,
                      CTLPC      LIKE KNKK-CTLPC,
                      OEIKW      LIKE S066-OEIKW,
                      OLIKW      LIKE S067-OLIKW,
                      OFAKW      LIKE S067-OFAKW,
                     NAME1      LIKE LFA1-NAME1,
                      BUDAT      LIKE BKPF-BUDAT,
                      D_DMBTR    LIKE BSID-DMBTR,
                      S_DMBTR    LIKE BSID-DMBTR,
                      VORGN      LIKE BSEG-VORGN,
                      WERKS      LIKE BSEG-WERKS,
                      NAMESO     LIKE KNA1-NAME1,
                      NAMEAM     LIKE KNA1-NAME1,
                      NAMERM     LIKE KNA1-NAME1,
                       NAMEDR     LIKE KNA1-NAME1,
       END OF ITAB.

  • ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS

    Dear Guru's,
                     I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that  i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
    LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
    Hope to get reply soon.
    Regards,
    Himanshu Rangappa

    Hi,
    There is no system Fields for it.
    But your requirement can be done with 'AT NEW' and 'AT END' statement.
    Refer this sample example,
    loop at otab.
        at new module.
          move otab-module to otab2-module.
        ENDAT.
          at END OF effort.
          sum.               "Do your calculations here
          move otab-count to otab2-count.
          append otab2.
        endat.
      endloop.

Maybe you are looking for

  • Will time machine HD be picked up on a fresh install on snow leopard?

    Hi guys i am going to do a fresh install on my machine. I recently upgraded OS's from leopard using the upgrade install that just wrote over my existing setup. I didnt want to restore from my time machine but just wanted to drag files from my time ma

  • Problem with a simple query

    Hey. I've got a table which contains only one entry: Table "users": id | date | user | pass | profile | last_logged 1 | ... | evo | ... | ... | ... My query is: "SELECT * FROM users WHERE user=evo". The problem is that im always gettings a null point

  • Section code

    hello, For India where do we define section code? Thanks

  • Date selection in query

    Hi All,               I am getting error while executing one query in Bex. the error message is SYST:Date 11.00.2008 not expected(after that I was thrown out of the system) Date selection is handled by a variable on  Fiscal Year / Period called Bespo

  • Fcp and after effects

    is after effects compatible with fcp - what programs do you guys use/recomend? ive heard of something called jahshaka? or is this cheap and dodgy?