IPC Debugging...

Hi All,
I have implemented a new Base Condition Formula in IPC in Netweaver Developer Studio, and beautiful thing happened is it's NOT working. I heard that debugging the code is possible in NDS when the pricing request is triggered from CRM. For this I started the 'Debug Configurations' from menu...
Run->Debug ---> Remote Java Applications with following connection properties Host:localhost port:8000. And it dissappointed me saying
"Failed to connect to remote VM. Connection refused"
Since I've never worked on IPC and NDS, "?" popped up in my mind.
Can anyone help me ?
Regards,
Phani.

Hi Phani
I have got this working by:
- Using a local IPC
- Changing the IPC server.bat file, adding the following to the line that executes JavaServer 
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
So the line in server.bat looks like:
@"%JAVA_HOME%binjava" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Xms64m -Xmx512m -cp "%CLASSPATH%" com.sap.sxe.socket.server.JavaServer
(Thanks Google)
- Adding my breakpoint to the PricingUserExits class before compiling it and placing it on the IPC.
- Restarted IPC (using my new server.bat file rather than as a Windows service as I normally do)
- Attach the debugger as you described
Then it worked beautifully - I created a transaction in CRM, it hung, I went to Eclipse and it was stopped on my breakpoint.
Cheers
Dom
Cheers

Similar Messages

  • How to debug IPC program?

    I need debug FM IPC_CHANGE_ITEM_CONFIG, when it calls virtual machine container, a window is pop-up, says 8003 port is opened... I am new to CRM and don't know how to do next, may anybody do me a favor?

    hi,
    The debugging method you explained is not possible for IPC because it is sitting upon VMC.
    Please refer below documents how to do ipc debugging .
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0e8b21b-e1b4-2c10-49b5-fd6a95162976
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/54eff154cd0a1fe10000000a42189d/frameset.htm
    Thanks and Regards
    shanto aloor

  • Debug IPC using NetWeaver Studio

    Hello,
    Does anybody know how can I debug my local IPC using NetWeaver studio?  I tried to launch dispatcher.bat or server.bat from NetWeaver but gives out the error.
    I would really appreciate any inputs.
    Thanks,
    JC

    Hi, what exactly do you want to do ? I suppose that your IPC application is not meant to be run locally, so if you want to do this, you will need to create a new Java Class that can be run locally (so it needs to be a class that have the "public static void main(String[] args)" method in it). For more info, see Sun web site.
    Then you should be able to call the different methods of the IPC application.
    And to debug, you need to go to the Debug perspective, and create a new debug session for your application and place some breakpoint where needed.
    Hope this helps,
    Xavier

  • Not getting attribute values in IPC routines Scenerio R/3 B2B using AP 7.0

    Hi,
    Our Scenerio is using ISA R/3 B2B using AP 7.0. I have developed IPC routines but when i debug my routines in SM53 I notice that I'm not getting any attribute value except for VKORG.
    I'm pasting the code below. Please help me if I have to implement some BADI or do something more to get the attribute values.
    I have defined the attributes properly in Routine assignment in tcode /n/sapcnd/ueass
    userexitlogger.writeLogDebug("*requirment 901*" + "Plant = "plant"||ANZ_MONATE ="+ item.getAttributeValue(ANZ_MONATE_STR).toString()"||ANZ_JAHRE="item.getAttributeValue(ANZ_JAHRE_STR).toString()"||MATKL="item.getAttributeValue(MATKL_STR).toString()"||PSTYV="item.getAttributeValue(PSTYV_STR).toString()"||VKORG="item.getAttributeValue(VKORG_STR)"||PRSFD="item.getAttributeValue(PRSFD_STR)"||MVGR2="item.getAttributeValue(MVGR2_STR).toString()"||PRSDT="item.getAttributeValue(PRSDT_STR).toString()"||AUDAT="item.getAttributeValue(AUDAT_STR).toString());
    I would reward points for help
    Many Thanks n regards,
    Dipender

    I would like to go through each Value of the xml file and give each Value a name
    e.g. from the xml file <VentCount Value=1> Retreive the value above and giving it the name VentCount. Then I would beable to use the name vent count as follows:
    setVentCount() //My own method can use as follows: setVentCount(VentCount); I would like to do his for ever value, each value with a specific name

  • IPC 7.0

    Hi gurus
    Is there any document for installing IPC 7.0 in an SRM7.0 environment?
    We have followed SAP Note 880749, we are on the latest SP.
    But I guess something is still missing. Do we need for example to set up RFC connections for the IPC?
    When checking in customizing under Check Technical and Customizing Settings for Conditions, Further checks "Simulation of Pricing with Manual Price" we are getting the following error message:
    Incorrect status in pricing
    Message no. BBP_PD365
    Diagnosis
    In FORM CREATE_PRICING_DOCUMENT (function group SAPLBBP_PDPRC), an inconsistent status was discovered.
    Procedure
    Start the transaction again. If the error occurs again, create an OSS message.
    To analyze the error, you can set a breakpoint in the function module 'BBP_PD_ABORT' and look at the call-up hierarchy in debugging mode.
    Thanks for your support
    Ezequiel

    After restarting the server it started to work. The solution was to apply the latest SP.

  • IPC 7.0 User-Exists

    Hi Experts,
    I'm trying to implement new User-Exits for our upgrade IPC 7.0. It seems like my registration went bad somewhere because when I run an appliation like CRMD_ORDER and create a new item the logging return with following message:
    Userexit (type REQ, appl. CRM, usage PR, number 600) is not maintained
    When I look at my settings in transaction /SAPCND/UEASS a pricing formula with number 600 is there so I don't know what is wrong. Can anybody help with this?
    Regards,
    Georg Lubrich

    Hey Tapan,
    thanks for your input. As it turns out I made some rather basic naming errors as well as using the wrong Java version to compile my coding. Problem is now solved and I can start debugging.

  • IPC - write java routines or use RFCs

    This is more of a design question. I am new to IPC. We need to write really really huge pricing routines with a lot of hard coded values and case statements for CRM pricing in Java. One approach is to just do it in java. But the other approach is to write one small java routine and have it call an RFC in CRM and put all the calculation logic in that RFC. Since I don't know much about IPC, can some one please recommend which apporach would be more feasable based on your experience. What are the main performances issues you guys have faced for IPC.Can someone please share any experiences or "lessons learned for best practices" with me.
    Thanks
    Shahid

    remus.dragos wrote:
    Peter__Lawrey wrote:
    The simplest means of IPC in Java is using Sockets.
    However, you have mentioned JNI, but have considered calling the C code from the Web Service via JNI directly. This could be the simplest and most efficient.I agree on that, JNI is much more simplified when used from a web container. Although I used only
    Tomcat with JNI it was easy to use.However if it causes a system exception it will take down your tomcat server. And it is very difficult to debug.
    A socket solution has neither of those problems.

  • IPC Pricing routine for Product Family Margin in Quotation is not working

    Hi,
    I am working on the IPC Pricing Routine to calculate Item's Product Family Margin in the Quotation. 
    Process followed:
    Step 1:  Created a Group condition ZPFM for Product Family Margin and assigned to the pricing procedure. 
    Step 2:  Created a Value Routine to determine ZPFM's Condition Rate and Condition Value.
    Logic: 
              1.  Collect (Sum Of)  the Cost (ZSVC) and the Subtotal 3 of the items which are in same Material Group.
               2.  Assign the ZPFM Condition Value = Sum of Subtotal 3 - Cost.
    Issue:  The condition value for ZPFM is calculating correct for all line items except the last item.  I am getting some junk value always to the last item. If I delete the last time, again next last item is giving wrong value.  The calculation value in the routine debugging log (SM53) is showing correct value.  However, assigning the wrong value.  No other routines have been assigned to this condition type in the pricing procedure. 
    Routine Code:
    package stanley.pricing.userexits.val;
    import java.math.BigDecimal;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
    //import com.sap.spe.pricing.transactiondata.userexit.IPricingCondition;
    public class Z_CondValueRoutine730 extends  ValueFormulaAdapter{
       private static UserexitLogger uelogger =
              new UserexitLogger(Z_CondValueRoutine730.class);
      public BigDecimal overwriteConditionValue(IPricingItemUserExit pricingItem,
             IPricingConditionUserExit pricingCondition) {
      // Variable Declarations.
      BigDecimal conditionValueZCVC=PricingTransactiondataConstants.ZERO;
      BigDecimal conditionValueZCVCAccrual=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3Accrual=PricingTransactiondataConstants.ZERO;
      if(pricingCondition.getConditionTypeName().equalsIgnoreCase("ZPFM")){
                IPricingItemUserExit[] prItems;
                prItems = pricingItem.getUserExitDocument().getUserExitItems();
                String materialGroup = pricingItem.getAttributeValue("MATL_GRP");
                uelogger.writeLogDebug("  Material Group  :"+materialGroup);
                for (int i=0;i<prItems.length;i++){
                     String materialGroup1 = prItems[i].getAttributeValue("MATL_GRP");
                     if (materialGroup1.equalsIgnoreCase(materialGroup)){
                          subTotal3 = prItems[i].getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_3).getValue();
                          subTotal3Accrual = subTotal3Accrual.add(subTotal3);
                          IPricingConditionUserExit[] conditionsForCumulation = prItems[i].getUserExitConditions();
                          for (int j = 0; j < conditionsForCumulation.length; j++) {
                               if(conditionsForCumulation[j].getConditionTypeName()==null) {
                                   continue;
                               else if ( conditionsForCumulation[j].getConditionTypeName().equalsIgnoreCase("ZCVC")){
                                    conditionValueZCVC = conditionsForCumulation[j].getConditionValue().getValue();
                                    conditionValueZCVCAccrual = conditionValueZCVCAccrual.add(conditionValueZCVC);
                BigDecimal conditionValueZPFM=PricingTransactiondataConstants.ZERO;
                conditionValueZPFM = subTotal3Accrual.subtract(conditionValueZCVCAccrual);
               BigDecimal conditionRateZPFM=PricingTransactiondataConstants.ZERO;
               conditionRateZPFM = conditionValueZPFM.multiply(new BigDecimal ("100"));
              conditionRateZPFM = conditionRateZPFM.divide(subTotal3Accrual,7,BigDecimal.ROUND_FLOOR);
             uelogger.writeLogDebug(subTotal3Accrual+"-"+conditionValueZCVCAccrual+" = "+conditionValueZPFM);
             uelogger.writeLogDebug("Condition Rate  :"+conditionRateZPFM);
           pricingCondition.setConditionRateValue(conditionRateZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
           pricingCondition.setConditionValue(conditionValueZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
              return null;
           return null;

    Hi,
    I think you should change xkwert variable instead of komv-kwert.
    Standard routines does the same.
    Aslo check in SPRO settings that routine is attached and
    getting triggered by putting break-point.
    Regards,
    Vishal

  • Help needed for IPC configuration error

    hi all,
    I have installed IPC according to installation guide, RFC's are working perfectly. IPC_COM_SESSION_BEGIN gives a value. Still i get the following error while checking  the ipc monitor n runnin the test.
    Testing IPC standard installation. This test checks the IPC standard installation.Requires the default database. If Web Phone WP-940
    is not in your database or not maintained
    as expected, this test may fail.
    Response tested successfully
    Error while creating documentnull
    Dispatcher gives
    Using JAVA_HOME: C:\j2sdk1.4.2_03
    Using CLASSPATH: ..\lib\IPCCustPatch.jar;..\lib\IPCPatch.jar;..\lib;..\lib\IPCEx
    t.jar;..\lib\SAP_IPC.jar;..\lib\thirdParty.jar;..\lib\iaik_ssl.jar;..\lib\iaik_j
    ce.jar
    Using PATH: D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program
    Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W
    bem;%java_home%\bin
    Feb 17, 2007 1:42:58 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command GetPatchInfo in module SYSTEM
    Feb 17, 2007 1:42:58 PM  ....socket.server.dispatcher.RegisterMgr [main] Info: C
    ontacting basis system
    Feb 17, 2007 1:42:58 PM  ....socket.server.dispatcher.RegisterMgr [main] Info: R
    etrieved gateway settings from SAP Basis SystemCRMSERVER:sapgw09,CRMSERVER:sapgw
    09
    Feb 17, 2007 1:42:58 PM  ....socket.server.dispatcher.RegisterMgr [main] Info: D
    ispatcher settings:
            Try 1000 ms to ping an IPC server.
            Don't contact IPC servers the next 60000 ms after a ping.
            Use normal load balancing without any specialized servers.
            Specialized servers are  generalized to replace dead ones.
            Load one leaves a server alone for 45000 msec.
            RFC support is enabled.
                    (dispatcher:IPC_RFC_DISPATCHER, servers:IPC_RFC_SERVER_1
                     gateways:CRMSERVER:sapgw09,CRMSERVER:sapgw09)  Don't send mail
    about servers that are down.
    Feb 17, 2007 1:42:58 PM      com.sap.sxe.socket.server.ServerBase [main] Info: I
    PC Security-Level: 0
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.ServerBase [Main TCP/IP L
    oop] Info: SAP IPC Dispatcher start
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO Version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO Middleware Version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: Libjrfc version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: librfc version:
    This RFC library belongs to the SAP R/3 Release *** 640,0,21  *** MT-SL
    Versions of SAP internal libraries:
      dptr:    2
      ni  :   37
      cpic:    3
      rfc :    3
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: Path to JCO: jar:file:/D:/ipc/lib/thirdParty.jar!/com/sap/mw/jco/JCO.
    class
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Error: Repository Error: Malformed Repository Entry: GetSupportedSAPClients
    (no export SPC_ERROR_NUMBER)
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Error: Repository Error: Malformed Repository Entry: Ping (no export SPC_ER
    ROR_NUMBER)
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO_MW_MAX_STARTUP_DELAY = 3600. Assigned this value to jco.middlewar
    e.max_startup_delay
    Feb 17, 2007 1:42:59 PM  ...server.rfc.RFCServer$JCOTraceListener [Main TCP/IP L
    oop] Error: Please note: JCO Tracelevel 0 messages are mapped to error messages.
    Typically they do not reflect IPC errors. JCO Error messages are typically no c
    ause for concern
    Feb 17, 2007 1:42:59 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:42:59 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:42:59 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:42:59 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:42:59 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:42:59 PM  ... RFC Servers for program/destination  [Main TCP/IP L
    oop] Info: IPC_RFC_DISPATCHER via CRMSERVER:sapgw09
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Admin TCP/IP
    Loop] Info: Started Admin Thread on port 9163
    Feb 17, 2007 1:42:59 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: SAP IPC Dispatcher 4.0 SP07 started at Sat Feb 17 13:42:59 GMT+05:30
    2007 on port 4444
    Feb 17, 2007 1:43:05 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: request: <HEAD OP="Register" STATUS="STATUS" LEN="27" />host=192.168.0
    .50&port=9999
    Feb 17, 2007 1:43:05 PM  ...ket.server.dispatcher.RegisterWrapper [WorkerThread-
    1] Info: IPC Client Security-Level: 0
    Feb 17, 2007 1:43:05 PM  ...e.socket.server.dispatcher.ServerInfo [WorkerThread-
    1] Info: 192.168.0.50:9999     Sat Feb 17 13:43:05 server registered
    Feb 17, 2007 1:43:05 PM  ...et.server.command.dispatcher.Register [WorkerThread-
    1] Info: Server registered: 192.168.0.50:9999
    Feb 17, 2007 1:43:05 PM  ...xe.socket.server.CommandMgr.CRMSERVER [WorkerThread-
    1] Info: command executed:Register, response code:200
    Feb 17, 2007 1:43:05 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response: <HEAD OP="Register" ID="79920001" STATUS="200" LEN="77" />
    rfcProgramId=IPC_RFC_SERVER_1&rfcGatewayHost=CRMSERVER&rfcGatewayPort=sapgw09
    Feb 17, 2007 1:43:05 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response time of command Register: 172
    Feb 17, 2007 1:43:59 PM  ...ket.server.dispatcher.RegisterWrapper [Thread-2] Deb
    ug: PING for 192.168.0.50:9999 (31 msec, load: 100/0)
    Feb 17, 2007 1:43:59 PM  ...ket.server.dispatcher.RegisterWrapper [Thread-2] Deb
    ug:             Updated value is 5741 (31 ping, 100/0 load, never used)
    Feb 17, 2007 1:43:59 PM         com.sap.sxe.socket.server.Storage [Cleaner] Debu
    g: Session cleanup finished after 0 msec
    Server gives
    Using JAVA_HOME: C:\j2sdk1.4.2_03
    Using CLASSPATH: ..\lib\IPCCustPatch.jar;..\lib\IPCPatch.jar;..\lib;..\lib\IPCEx
    t.jar;..\lib\SAP_IPC.jar;..\lib\thirdParty.jar;..\lib\classes12.zip;..\lib\iaik_
    ssl.jar;..\lib\iaik_jce.jar
    Using PATH: D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program
    Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W
    bem;%java_home%\bin
    Feb 17, 2007 1:43:03 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command GetPatchInfo in module SYSTEM
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command PMESetSessionLanguage in module PME
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command RemoveProduct in module IPC
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command CreateAdminSession in module IPC
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command Profiler in module IPC
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command DumpKnowledgeBaseBuffer in module IPC
    Feb 17, 2007 1:43:04 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug:
    Couldn't determine location of command getXMLProperties in module IPC_ADMIN
    Feb 17, 2007 1:43:04 PM             com.sap.tte.kernel4.TTEKernel [main] Info: S
    tarting initialisation TTE Kernel
    Feb 17, 2007 1:43:04 PM             com.sap.tte.kernel4.TTEKernel [main] Info: T
    TE Kernel is not enabled
    getLocalHost()=CRMSERVER/192.168.0.50
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.ServerBase [main] Info: I
    PC Security-Level: 0
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.ServerBase [main] Info: T
    his server will restart itself when database logon fails
    Feb 17, 2007 1:43:05 PM            com.sap.sce.kbrt.imp.kb_loader [Thread-1] Deb
    ug: Create KB_CRM_LOADER
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.ServerBase [Main TCP/IP L
    oop] Info: SAP IPC Server start
    Feb 17, 2007 1:43:05 PM          com.sap.sxe.socket.client.Client [Main TCP/IP L
    oop] Info: IPC Client Security-Level: 0
    Feb 17, 2007 1:43:05 PM          com.sap.sxe.socket.client.Client [Main TCP/IP L
    oop] Debug: Client request: Register:host=192.168.0.50&port=9999
    Feb 17, 2007 1:43:05 PM          com.sap.sxe.socket.client.Client [Main TCP/IP L
    oop] Debug: Client response: Register:rfcProgramId=IPC_RFC_SERVER_1&rfcGatewayHo
    st=CRMSERVER&rfcGatewayPort=sapgw09
    Feb 17, 2007 1:43:05 PM          com.sap.sxe.socket.client.Client [Main TCP/IP L
    oop] Debug: Client closed:
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: Server registered at dispatcher CRMSERVER:4444
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO Version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO Middleware Version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: Libjrfc version: 2.1.3 (2004-03-08)
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: librfc version:
    This RFC library belongs to the SAP R/3 Release *** 640,0,21  *** MT-SL
    Versions of SAP internal libraries:
      dptr:    2
      ni  :   37
      cpic:    3
      rfc :    3
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: Path to JCO: jar:file:/D:/ipc/lib/thirdParty.jar!/com/sap/mw/jco/JCO.
    class
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Error: Repository Error: Malformed Repository Entry: GetSupportedSAPClients
    (no export SPC_ERROR_NUMBER)
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Error: Repository Error: Malformed Repository Entry: Ping (no export SPC_ER
    ROR_NUMBER)
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: JCO_MW_MAX_STARTUP_DELAY = 3600. Assigned this value to jco.middlewar
    e.max_startup_delay
    Feb 17, 2007 1:43:05 PM  ...server.rfc.RFCServer$JCOTraceListener [Main TCP/IP L
    oop] Error: Please note: JCO Tracelevel 0 messages are mapped to error messages.
    Typically they do not reflect IPC errors. JCO Error messages are typically no c
    ause for concern
    Feb 17, 2007 1:43:05 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:43:05 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:43:05 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:43:05 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:43:05 PM   com.sap.sxe.socket.server.rfc.RFCServer [Main TCP/IP L
    oop] Debug: RFC Server is non-unicode server
    Feb 17, 2007 1:43:05 PM  ... RFC Servers for program/destination  [Main TCP/IP L
    oop] Info: IPC_RFC_SERVER_1 via CRMSERVER:sapgw09
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Main TCP/IP L
    oop] Info: SAP IPC Server 4.0 SP07 started at Sat Feb 17 13:43:05 GMT+05:30 2007
    on port 9999
    Feb 17, 2007 1:43:05 PM      com.sap.sxe.socket.server.JavaServer [Admin TCP/IP
    Loop] Info: Started Admin Thread on port 9164
    Warning in ConversionEngine: There is no entry in the table EWUKEYS. EMU currenc
    y conversion disabled.
    Feb 17, 2007 1:43:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: request: <HEAD OP="GetLoad" />
    Feb 17, 2007 1:43:59 PM  ...xe.socket.server.CommandMgr.CRMSERVER [WorkerThread-
    1] Info: command executed:GetLoad, response code:200
    Feb 17, 2007 1:43:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response: <HEAD OP="GetLoad" ID="79980001" STATUS="200" LEN="24" />
    socketLoad=100&rfcLoad=0
    Feb 17, 2007 1:43:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response time of command GetLoad: 16
    Feb 17, 2007 1:44:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: request: <HEAD OP="GetLoad" ID="79980001" />
    Feb 17, 2007 1:44:59 PM  ...xe.socket.server.CommandMgr.CRMSERVER [WorkerThread-
    1] Info: command executed:GetLoad, response code:200
    Feb 17, 2007 1:44:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response: <HEAD OP="GetLoad" ID="79980001" STATUS="200" LEN="24" />
    socketLoad=100&rfcLoad=0
    Feb 17, 2007 1:44:59 PM  ...ket.server.SocketConnection.CRMSERVER [WorkerThread-
    1] Debug: response time of command GetLoad: 0
    PLS help
    Thanks in advance.

    Hi
    I m getting the below error while clicking the configuration link in the product catalog. Any idea pls?
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
         at java.util.Vector.get(Vector.java:709)
         at com.sap.isa.ipc.ui.jsp.action.GetMFATabAction.ecomPerform(GetMFATabAction.java:170)
         at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
         at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at com.sap.isa.core.RequestProcessor.processForwardConfig(RequestProcessor.java:267)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

  • Debugging  of Tuxedo Service in C/C++

    Hi All,
    I am trying to debug tuxedo service (C code on HP-UNIX 11.00) in the following ways :
    shprod25 48: gdb csbfp001 -> csbfp001 is the application service exe
    (gdb) b GetRecircRow -> GetRecircRow is the function name
    (gdb) r
    Starting program: /appl/bstar/bin/csbfp001
    Error while reading dynamic library list.
    (gdb)
    Looks like it is not able to read DLL and it exists. Can anyone please tell me how can i debug the code line by line ?

    It's even more complex than this, because Tuxedo Services has to attach IPCS and register in the BBL/DBBL in order to communicate with the world. The problem you are facing is because you are trying to boot the server without all the variables that tuxedo programs (like tmboot) uses when starting all the stuff.
    So, I will recommend you two different aproaches:
    1) Start tuxedo server as usual (with tmboot a/o tmadmin) and attach gdb to the pid when it has started, debugging from then on. It is the easiest and safest way.
    2) If you need to debug from the start (which is a little more complex), load the environment that starts initially the domain (BBL/DBBL), start tuxedo server as usual, take note with a "ps" of all the parameters tuxedo uses when starting this server, shutdown it and start debugging with gdb using this parameters to run the server.
    Hope this helps.
    Ramon

  • Item attributes not read by IPC

    Requirement: Pricing in Web Catalog based on Product Master Attributes. (condition records use fields from product master data. These condition record do not get calculated in the Product price displayed in the produdct catalog).
    What we have done so far
    1.     Implemented BAdI CRM_ISA_HDR_PRICING and its method NEW_ITEM_VALUES_READ for passing additional Product Master Attributes  and their values.
    2.     Activated the call of the CRM_ISA_PRICING_ITMDATA_GET function module for additional data at item level by setting the parameter u2018doItemCallsu2019= TRUE.
    This function module calls the NEW_ITEM_VALUES_READ method of the CRM_ISA_HDR_PRICING BAdI. Additional item data is transferred by implementing the NEW_ITEM_VALUES_READ method.
    3.     The NEW_ITEM_VALUES_READ method returns the additional attributes in the structure ET-ITEMATTRIBUTES.
    We have referred the SAP Note: 1004533.
    Issue:
    1.     When debugging, the method NEW_ITEM_VALUES_READ is getting executed and the table structure ET_ITEMATTRIBUTES is populated with all the additional attributes (for e.g. ZZ_VARIETY) and the corresponding values.
    2.     In the Java Session log, when IPC is reading those values from the structure ET_ITEMATTRIBUTES, just after reading the first attribute it throws an exception as shown below and exits the loop that reads the values from the structure. Thus it does not able to read the additional attributes at all.
    <<Snapshot of the error from Session Log>>
    May 22, 2009 9:56:40 AM  SAPEngine_Application_Thread[impl:3]_23 Error   com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC       Error occcurred in EAI layer "".
    java.lang.ClassCastException
    java.lang.ClassCastException
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.readItemDataFromBackend(PriceCalculatorCRMIPC.java:2751)
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.getDynamicPrices(PriceCalculatorCRMIPC.java:830)
                   at com.sap.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC.getPrices(PriceCalculatorCRMIPC.java:1217)
                   at com.sap.isa.businessobject.webcatalog.pricing.PriceCalculator.getPrices(PriceCalculator.java:117)
    Any ideas on why even with the parameter 'doITEMcalls=TRUE',  IPC is not able to read the item attributes?
    thanks for any useful replies.

    Is there an adobe accessibility forum where I can check
    for? I could not understand your clue.
    Do you mean if I use Panel, this problem could be solved?

  • Firefox thinks Adobe Flash Plugin has crashed when running in debug mode! How do i get arround this?

    When testing my flex application in debug mode, my debug session is closed every time because Firefox thinks the flash plug-in has crashed.
    == This happened ==
    Every time Firefox opened
    == Firefox was updated with plugin-crash redundancy

    You can also set the pref dom.ipc.plugins.timeoutSecs to -1 to disable the timeout.

  • IPC on CRM 5.0, SAP_AP 700

    Hi All,
    I have an installation of CRM 5.0 with SAP_AP 700 and have successfully enabled the VMC. I will need IPC because we are building an e-selling scenario. But I have not found a guide for this version of IPC (which has now been integrated). So my question is how do I configure the IPC in this version? Do I still need to create the RFC connections in CRM? How do I access it? If somebody could give me a light on this or point me to a guide for IPC on SAP_AP 700, I would appreciate!
    Thanks and best regards,
    Carina Maeiro

    Having worked with both IPC 4.0 and 5.0, I will say that the newly integrated IPC is much nicer.  No longer do you need to install any local software(besides eclipse for user-exits) and debugging is easier.
    I agree with Andrew's post, simply find the OSS notes for IPC.  They include a nice PDF which explains doing user-exits.  I met the developer in germany who wrote it, he did a nice job.

  • Easy ways of debugging the plsql code ??

    I have a dumb question, i am just curious to know what are the different ways you use to debug a thousands of lines of pl/sql code (procedure/function etc)...it is really scary sometimes going through different variables/code/sytnax/functionality with tight timelines...is it possible for debugging purpose to see the output of the execution like what we use in unix (set -x command)..is there any similar way in Oracle...appreciate your time it really helps me to speed up my learning though i know the basics of Oracle PL/SQL just want to know opinion from peers on how they do,Thank you.

    Ariean wrote:
    1. Can you please provide me an example on how to read the DBMS_OUPUT static array and mail it.You need to wrap DBMS_OUPUT into a package - so your code will call the package and not the DBMS_OUPUT directly. The package header may look as follows:
    create or replace package DebugOut is
      procedure Write( line varchar2 );
    ... other calls such as writing the call stack, error trace and so on
      (see DBMS_UTILITY for details)
    end;In the package implementation, you need to count the number of times that Write() is called via a counter. The counter needs to be a static package variable. When the counter reaches the ceiling (e.g. 10,000 lines), then you reset DBMS_OUPUT buffer calling DBMS_OUPUT..disable() and then DBMS_OUPUT.enable(). For example:
    create or replace package body DebugOut is
      MAX_LINES constant number := 10000;
      lineCnt number := 0;
      procedure ResetDbmsOutput is
      begin
            DBMS_OUTPUT.disable;
            lineCount := 0;
            DBMS_OUTPUT.enable( buffer_size => NULL );
      end;
      procedure Write( line varchar2 ) is
      begin
        lineCnt := lineCnt + 1;
        if lineCnt > MAX_LINES then
         ResetDbmsOutput;
        end if;
        DBMS_OUTPUT.put_line( line );
      end;
    end;
    2. API - does it stand for "Application programming Interface" in this context like toad ?? can you please explain more on this.Correct API means Application Programming Interface. See Wikipedia's article on API for a basic overview.
    In PL/SQL we have a bunch of APIs supplied by Oracle - these APIs are implemented as PL/SQL packages. UTL_SMTP is for example an API to communicate via Simple Mail Transfer Protocol with a mail server. DBMS_PIPE is an API for IPC (Inter Process Communication), allowing PL/SQL processes to communicate with one another and coordinate processing. DBMS_LOB is an API for dealing with Large Objects (LOBs). Etc.
    Likewise, a good development team will create their own APIs for services their application code often needs. For example, creating a Debug Logging API (as the very simplistic example above shows).
    3. What is instrumentation / instrumentation overhead ??? Instrumentation is explained via the link I've provided. Simplistically, it records what a code unit (e.g. procedure or function) does, what parameter it received, what assertions failed, what exceptions were raised and so on.
    Also have a look at Microsoft Dev Network's Introduction to Instrumentation and Tracing for additional details.
    As for the overheads - instrumentation means extra code that needs to be executed while your process is executed. This code will need to use resources like memory or disk space to store/record instrumentation data.
    For example, we use the above DebugOut API to record the start of a code unit and parameters passed as part of instrumenting our code. The DebugOut API consumes memory (it used the DBMS_OUTPUT buffer).
    So what we can do is add a debug boolean variable to the package header of the DebugOut package. In the Write() procedure of the package, we only write to DBMS_OUTPUT when debug is true.
    This now means that when debug is false, our instrumentation code does not record any data - and thus reduce resource usage. When the need arise, we can enable debug in DebugOut prior to executing our code - and now as our code executes, the instrumentation part happens and DebugOut record trace information to the DBMS_OUTPUT buffer. And we can display that trace data when our process completes in order to troubleshoot problems and process flow.

  • IPC 4.0 - installing on a server with no SAP instance

    Hello all,
    as part of a hardware migration, I want to re-install IPC 4.0.
    Currently IPC resides on the same server as our SRM4.0 system.
    In the new setup IPC will reside on its own server with no other SAP installations (and therefore no SAP gateway).
    I am trying to test this scenario by connecting to our current test system, but the RFC connections to IPC from SM59 don't work.
    Does anyone know a way of making this work?
    I presume I could install a standalone SAP gateway on the same server as IPC, but I would like to know if there are other options?
    I've tried adjusting the dispatcher.properties file, but SM59 connection still doesn't work, so either I haven't created the right entries or I am on the wrong track.
    Regards...John

    Hi all,
    Here are the settings from my dispatcher.properties file:
    rfcEnabled=true
    rfcGateway=10.xxx.xx.xxx:3301  (I've amended the actual ip address)
    rfcDispatcherProgId=IPC_RFC_DISPATCHER
    rfcServerCount=1
    rfcServerProgIdPrefix=IPC_RFC_SERVER_
    and here's the error I see in my IPCDispError.log:
    Aug 6, 2009 12:00:18 PM     com.sap.sxe.log.log_api.SXE.ModuleMgr [main] Debug: Couldn't determine location of command GetPatchInfo in module SYSTEM
    Aug 6, 2009 12:00:18 PM  ....socket.server.dispatcher.RegisterMgr [main] Info: Contacting basis system
    Aug 6, 2009 12:00:18 PM  ....socket.server.dispatcher.GatewayInfo [main] Fatal: Dispatcher is configured to use active IPC dat
    abase, but no database has been maintained. Please use the Administator UI to maintain a database.
    Aug 6, 2009 12:00:18 PM  ....socket.server.dispatcher.GatewayInfo [main] Fatal: No RFC connection available! Couldn't find out
    how to ask a SAP system for my RFC gateways. RFC support disabled.
    Aug 6, 2009 12:00:18 PM  ....socket.server.dispatcher.RegisterMgr [main] Info: Dispatcher settings:
            Try 1000 ms to ping an IPC server.
            Don't contact IPC servers the next 20000 ms after a ping.
            Use normal load balancing without any specialized servers.
            Specialized servers are  generalized to replace dead ones.
            Load one leaves a server alone for 45000 msec.
            RFC support is disabled.
            Don't send mail about servers that are down.
    regards...John

Maybe you are looking for

  • Is it possible to boot up a 2014 macbook pro from a cd or usb?

    Hello everyone! I am thinking about buying a Macbook Pro ( latest version ), but I work on other operating systems like Linux and Windows (I use various distributions of linux).Would it be possible to boot a mac pro from an external disk unit or a US

  • How to use database look up table function in xsl mapping

    Can anybody tell me how to use database look up table function while mapping xsl between 2 nodes. I have an XML file coming in and depending on one of XML elements we need to decide which further path to take. But, using this XML element, we need to

  • What is use of inverte colour in iphone

    what is use of inverte colour in iphone

  • How do I get to see the elder sourcecode versions of a Function Module?

    Hello experts, apparently the standard functionality behind "Utilities" -> "Versions" -> "Version Management" doesn't seem to work for function modules. I have like 10 older versions of a certain FM and I know for sure that there have been changes to

  • Where Does iPhoto Get The Date?

    I'm not sure I understand where iPhoto is getting the information for a photo's Date. Is it coming from the photo's metadata? If so, which field? I have scanned old photo and I want iPhoto to show the Data that they were originally taken, not when th