"CRM_COND_COM_BADI"  for IPC

Hi All
We have Requirement for Converting our R/3 ABAP's Pricing Routines to JAVA Routines for CRM 4.0
I faced  problem in finding some of the Fields in ABAP Routines, then found that however since not all tables are available inside IPC as it happens in R/3, they cannot be directly read (you can read the DB on your own but that would be very time consuming.( Not Recommended as well).
Therefore the best way to access these fields in IPC is to define a customer specific attribute which will be read in CRM by means of the BADI implementation of CRM_COND_COM_BADI.
Now I have somthing like that to convert
select single * from <b>mast</b> into mast
                                where matnr = komp-matnr
                                and   werks = komp-werks
                                and   <b>stlan</b> = '5'.
                    if sy-subrc = 0.
                       select single * from <b>stzu</b> into stzu
                                where stlnr = mast-stlnr.
                       if sy-subrc = 0.
                          case <b>stzu-ZTEXT</b>.
                             when 'ZWK4'.
                                modality = 3.
                          endcase.
                          xkwert = xkomv-kwert * modality.
                       endif.
                    endif.
                 elseif komk-auart_sd = 'ZFC'.
                   xkwert = 0.
                 endif.
Mapping for the following are not Standard
MAST-STLNR
MAST-MATNR
MAST-WERKS
MAST-STLAN
STZU-ZTEXT
Now Can Any one Guide in Step by Step Procedure for implementation of CRM_COND_COM_BADI.
As I am JAVA Programmer and have very little idea about ABAP ,How to proceed with CRM_COND_COM_BADI
& what we should do after adding fields to field catalog. How to retrieve those added fields in our JAVA Routines.
I will be very thankful to you
Thanks & Regards
   Ravi Sah

You need a guy who can program ABAP but more importantly a guy who knows something about CRM data stucture.
Field names in R/3 and CRM are usually not the same, and it takes some time and knowledge to determine what the equivalents of your R/3 fields are.
SDN is a place where you look for help, not a place where your job gets done for you. If you don't know ABAP or CRM, find/hire someone who does OR take the time to learn it.
I would have to spend a lot a time writing your code, and since I have work of my own to do, I won't spend it doing yours.
Regards.
Message was edited by: João Sousa

Similar Messages

  • XCM Settings for IPC 6.0 to work with B2B ERP 6.0 E-commerce application

    Hi All,
    We are currently implementing B2B ERP (ECC 6.0) E-commerce using IPC 6.0 for the sales pricing and configuration needs.
    To make IPC work with B2B E-commerce application I need to do the necessary XCM settings for IPC. I launched the following URL to do the XCM settings for IPC.  http://<hostname>:<portnumber>/ipc/admin/xcm/init.do    I created a JCO connection with ECC system using the menupath Components->Customer->JCO and adding values to required fields such as Base Configuration (value: server_connect) , Server, Client, Message Server, Userid and Password.  I saved the configuration to create the necessary JCO connection with the ECC system. I executed the "Run Test" option and found the test to be successful.
    To complete the Application Specific settings in XCM, I followed the menupath  'Application Configurations->SAP->erp' to create a new customer configuration. In the field JCODATA of the new configuration I added the JCO component name that was created in the previous step. I made this as the default configuration and saved it. The new configuration shows up under the sub-node Application Configurations->Customer-> 'New Configuration Name'.
    Please let me know do I need to do any other XCM settings for IPC? Is there anything missing or need to be rectified? How I can test and make sure that IPC is connected to ECC and ERP E-commerce application and the connection is working fine. Please answer in detail.
    Thanks in advance.
    --R D

    Hi,
    Go to B2B XCM application : http://host:port/zb2b/admin/index.jsp
    select "Extended Configuration Management (XCM) Administration"
    then select your application configuration from the "Customer" node.
    Click on the "Display" button.
    then maintain "ipcdata" parameter as what you have maintained in the IPC application.
    Thanks,
    Dinesh.

  • What is the newest PA version for IPC?

    Dear expert,
    What is the newest PA version for IPC? Thanks!!
    BR~
    Hedy

    I have the exact same problem.
    My printer is an OfficeJet 6500 E709a Series.
    The current version of firmware on my printer is MJP1FN0907AR.  To me, the downloaded firmware version,
    "MJP1FN0935AR" (dated 30 Oct 2009)
    looks like a later version than the current installed version,
    "MJP1FN0907AR".
    And nowhere do I see the date of the current installed firmware version.
    Come on, HP.  This problem is years old.  Figure it out already.  Either:
    (a) Tell us that our hunch is correct, that the higher-numbered firmware version is newer, so we can override the warning. Also fix the Firmware Download Utility so it stops giving this false warning.
    or,
    (b) Tell us that the higher-numbered firmware version is actually older.
    Whichever version is later, also do the following:
    (c) To eliminate ambiguity, post the firmware date wherever the firmware version is displayed: on Printer Status Report, web admin page for printer, and HP Diagnostic Tool for starters.
    (d) Since any table of versions and dates is doomed to itself go out of date (as new versions are released), also publish a rule or pattern we can use to know which of two versions is the more recent.  And follow that rule!
    TIA,
    - Don

  • Waits occur in CGS wait for IPC msg and ksxr poll remote instance

    Hi,
    i have faced thousands of wait events occur in "ksxr poll remote instance" and "CGS wait for IPC msg" and same number of waitevent timedout also.
    Anybody help me to understand what this wait event says and any relations between this two wait event.
    If this could cause any problem for my database.
    Thanks in advance

    Hi,
    i have faced thousands of wait events occur in "ksxr poll remote instance" and "CGS wait for IPC msg" and same number of waitevent timedout also.
    Anybody help me to understand what this wait event says and any relations between this two wait event.
    If this could cause any problem for my database.
    Thanks in advance

  • Runtime.exec and ServerSocket for IPC...blocking problems

    I have built an IDE for assembling/deploying web applications.
    I am supporting a 'test' mode in the IDE where a compiled 'solution/application' is executed in a separate vm from the IDE using Runtime.exec. For the whole sandbox thing. Don't want a wayward application crashing my IDE.
    Naturally I want a way to communicate start/stop from the IDE to the running application. So sockets are my only choice. Calling process.destroy from my IDE won't invoke a shutdownhandler in the generated application's vm, and I want an orderly shutdown as the generated applications open resources/etc.
    When I execute the generated application from within the IDE the thread code that creates a server socket blocks in the ServerSocket constructor...why?
    When I execute the solution using 'java' outside of my IDE, I can set up a server socket and all works fine.
    My IDE is NEVER creating server sockets waiting for client connects...only the generated application does this. So it isn't a case of the IDE already listening for requests on the same port as the server/generated application.
    Proving the above is that I can manually start my generated application, start my ide, then invoke the menuitem from the IDE that writes a 'close' byte to the client's socket...and the running application DOES shut down.
    Any ideas?

    I have decided on a different approach.
    At first I thought...ok I have the ServerSocket on the wrong 'side'. I then put the ServerSocket code in the always-running IDE and the Socket code on the running/exec'd application. But still a hang on the running application when constructing the Socket.
    I decided instead to call Process.destroy on the running app.
    Given that generated app is running in a separate vm, when it shuts down via process.destroy from the ide...although vm shutdown hooks aren't called...I guess it's ok since a destroy of the vm will release all resources. Not as clean as I'd like though.
    Additionally, I cannot determine 'true' start of application as no socket notification can be done. I merely determine start after a Runtime.exec of jvm process. Subsequent errors in startup will merely be determined by the IDE in process.waitFor or process.exitValue.
    I was getting a wierd socket error when attempting my prior solutions...and not a lot on the web regarding this subject...all relevant posts seemed to be in German/from Germany. Odd. Would need my wife to translate! Mein gott!
    I guess I could've communicated from ide to Runtime.exec'd application via a generated file in filesystem...but this seemed cheesy. Sockets should've been used for ipc between java vms...or so I thought.

  • 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)

  • ABAP code in to JAVA for overwritting condition value for IPC pricing

    Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
    Here is the ABAPcode segment i am trying to transulate
      DATA: l_kdkg1  LIKE komk-kdkg1,
            l_work TYPE f,
            l_umren LIKE marm-umren,
            l_umrez LIKE marm-umrez.
      SELECT SINGLE peinh FROM mbew INTO mbew-peinh         
      WHERE matnr = komp-matnr
      AND bwkey = komp-werks.
      I need some  help in the following things
      1. I don't know how to transulate the following Line of ABAP code into JAVA
         " AND bwkey = komp-werks."
    Bwkey stands for plant details. I don't know how to get plant details from  Pricing Item.
      2. Someone please tell me weather the following JAVA transulation is correct
      Vector x = prItem.getUserExitConditions();
      db database = pricingEngine.getDatabase();
         // set table name
      String tableStart = "mbew";                                             
         // set query parameters
      sys_query_pair[] queryPair = null;
      //matnr = komp-matnr . Getting the material Number
      String materialNo= prItem.getProduct().toString();
      //bwkey = komp-werks.Getting plant.
      // TODO: werks stands for plant. Not sure how to get it from prItem
       String plant = "";
       queryPair = new sys_query_pair[2];                    
       queryPair[0] = new sys_query_pair("matnr", materialNo);
       queryPair[1] = new sys_query_pair("bwkey", plant);
      // set query columns
       String ZZFIELDStart = "peinh";
       String ZZFIELD_VALUEStart;                   
       String[] projectionStart;
       projectionStart = new String[];
       BigDecimal pricingUnit = null;
       try{     
          // execute query
          res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
          if (!res.db_empty_results_p(resultSetStart))
         ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
         pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
         resultSetStart.db_finish();
       else
         System.out.println("Coudn't find a value of field peinh in table mbew!");
       catch (exc_database_error e)
         e.printStackTrace();

    Please login to the server where IPC is installed. In the IPC folder u find libs folder  or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to  user exits in java coding
    Thanks
    Surya

  • Authorization for IPC UI Designer functionality

    I am attempting to develop model specific UIs using IPC UI Designer functionality in the IPC with CRM 7
    When I launch the UI designer,  I get the framed IPC application which lists the product and  shows a status light and then a red box with an error message
    Status:
    You do not have authorization to display Dynamic-UI config data
    Following the red status box I have the normal UI components for creating a model specific UI
    How can I determine what authorization is required?  I have tried
    SU53 - No results "The last authorization was successful"
    SM53 - VMC Log produces no errors

    You can always run a trace in tcode ST01. In trace components choose the Authorization Check checkbox and go to the General Filters button to trace only for your user id. Turn the trace on right before you would run into the authorization error, turn it off after you get the error and then click the Analysis button. Items in dark green pass, items in light green are failed authorization checks.

  • Help needed for IPC

    Hi,
      I need to implement the custom scale value formula u201C900u201D which is assigned to condition type ZABC. This is based on the ECC formula u201CFRM_STAFFELBAS_900u201D in include u201CRV62A900u201D. The form is:
    Form FRM_STAFFELBAS_900.
       xkwert = komp-netpr.
    Endform.
    I got to know that these changes need to be made in PricingUserExits.java file. Where can I find this file.
    I am not using a local IPC server and currently have acess to R/3 system only.
    What are the steps needed to implement this?

    Hi Deepika,
    I just saw your post, not sure your problem is solved or not but still want to add something.
    If you are on CRM5.0 or above than you wont be making changes to PricingUserExits.java file instead you need to write a
    new custom user exit.
    I wrote 900 as bas value formula to compute the subtotals.My code was like this.
    * Created on Apr 4, 2009
    * To change the template for this generated file go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package com.yourcompany.pricing.bas;
    import java.math.BigDecimal;
    import com.sap.spe.base.logging.UserexitLogger;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.userexit.BaseFormulaAdapter;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    * @author arshi
    * To change the template for this generated type comment go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class ZConditionBase900 extends BaseFormulaAdapter{
         /* (non-Javadoc)
          * @see com.sap.spe.pricing.transactiondata.userexit.BaseFormulaAdapter#overwriteConditionBase(com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit, com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit)
         UserexitLogger log = new UserexitLogger(ZConditionBase900.class);
         public BigDecimal overwriteConditionBase(
              IPricingItemUserExit prItem,
              IPricingConditionUserExit prCondition) {
             log.writeLogDebug("SUBTOTAL_1 "+prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_1).getValue());
              log.writeLogDebug("SUBTOTAL_5 "+prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_5).getValue());
              log.writeLogDebug("TOTAL "+(prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_1).getValue()).add(prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_5).getValue()));
              return (prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_1).getValue()).add(prItem.getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_5).getValue());
    May be it can help you.
    Regards,
    Arshi

  • Testing for IPC & SCE

    Hi
    We are using CRM 5.0. We have done most of the steps required for setting up IPC. We are using Sales Configuration Engine & Sales Pricing Engine. Please tell me how can we test that IPC & SCE are running fine.
    Thanx in advance
    Cheers
    Hits

    Hi,
    You can even u can use transaction : SM52.
    There in upper most panel, check if VMC is active or not, if VMC is active, IPC is running.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Pricing exit CRM_COND_COM_BADI for MV45AFZZ PERFORM XVBPA_LESEN

    ECC user exit MV45AFZZ has PERFORM XVBPA_LESEN that moves a the customer number of a partner function to a field.
          PERFORM XVBPA_LESEN(SAPFV45K) USING 'Y1' VBAP-POSNR SY-TABIX.
          MOVE XVBPA-KUNNR TO TKOMK-ZZKUNY1.
    Is there an existing perform in CRM similiar to XVBPA-LESEN?

    Hi Glenn,
    ZZKUNY1 is a custom field and obviously you got to do it yourself.
    Since you are already using ZZKUNY1 as a part of the field catalog, I assume it is used in a pricing condition. Make sure that the condition is available in CRM also.
    Also make sure that the field ZZKUNY1 is defined in the CRM field catalog in the header fields (TKOMK). If you have already created this, then well ad good. If not, you have to see that the ZZKUNY1 in CRM and R/3 must match in data type etc.
    Now implement the BAdI CRM_COND_COM_BADI and since this is a header field, add right kind of code in the method HEADER_COMMUNICATION_STRUCTURE
      DATA: ls_crmt_acs_h_com TYPE crmt_acs_h_com,
            lt_header_guid    TYPE crmt_object_guid_tab,
            lt_req_obj        TYPE crmt_object_name_tab,
    //      etc. Define rest of the structures
      ls_crmt_acs_h_com = cs_acs_h_com.
      APPEND ls_crmt_acs_h_com-header TO lt_header_guid.
      lv_guid = ls_crmt_acs_h_com-header.
      ls_req_obj =  gc_object_name-partner.
      INSERT ls_req_obj INTO TABLE lt_req_obj.
      CALL FUNCTION 'CRM_ORDER_READ_OW'
        EXPORTING
          it_header_guid       = lt_header_guid
          it_requested_objects = lt_req_obj
        IMPORTING
          et_partner           = lt_partner
        CHANGING
          cv_log_handle        = lv_log_handle.
      CHECK sy-subrc = 0.
    //Check your partner function type here
      READ TABLE lt_partner INTO ls_partner WITH KEY ref_guid = lv_guid
                                                     partner_fct = "0000001"
      IF sy-subrc = 0.
        lv_partner_guid  = ls_partner-bp_partner_guid.
        SELECT SINGLE partner INTO lv_customer FROM but000 WHERE partner_guid = lv_partner_guid.
    cs_acs_h_com-ZZKUNY1 = lv_customer
      ENDIF.

  • CRM_CON_COM_BADI for IPC

    Hello Experts,
    Does anybody know how to make sure that CRM_CON_COM_BADI will always get called upon saving of the document?  From my testing, sometimes it does, sometimes it doesn't.  I realized that the BADI will get called when changing/adding line items.  However, we have custom code to retrieve new net value upon saving and send it through communication structure to calculate other condtion values.  The fact that CRM_CON_COM_BADI doesn't always get called while saving leads to inconsitent condition values.
    I would really appreciate any inputs!!
    Thanks,
    -- Jamie.

    You need a guy who can program ABAP but more importantly a guy who knows something about CRM data stucture.
    Field names in R/3 and CRM are usually not the same, and it takes some time and knowledge to determine what the equivalents of your R/3 fields are.
    SDN is a place where you look for help, not a place where your job gets done for you. If you don't know ABAP or CRM, find/hire someone who does OR take the time to learn it.
    I would have to spend a lot a time writing your code, and since I have work of my own to do, I won't spend it doing yours.
    Regards.
    Message was edited by: João Sousa

  • Date format for ipc calendar control in configuration UI

    Hi
    Does anyone know how to change the format of the date in the calendar control of the configuration UI? Currently when I try to configure a product in the b2c webshop or through SAPGUI, my date characteristics display in MM/DD/YY rather than DD/MM/YY. I have checked the usual suspects (default date format of WEBLOGIN user, logged in customer, my user) and all are set to DD/MM/YY. I could not find a setting in the XCM either.
    Can anyone point me in the right direction?
    Thanks
    Mike

    Hi Mike,
    Date display property is part of user settings for User ID.
    Go to transaction SU3
    Go to Default tab and adjust the date formats.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • CRM_COND_COM_BADI -- Limit Execution only for Pricing

    Hi all
       I have implemented the badi CRM_COND_COM_BADI for determing some pricings and saved it to the Z field newly added in Field Catalog.   This all works !
    But I see this badi is getting called multiple times though I have only 1 product in the Order.
    Due to some config settings, it seems this badi is getting called multiple times.
    Here is my question: How to limit my BADI implementation getting executed only for Pricing?
    Cheers
    RJ

    Remo,
    Even though this thread is very old and closed, but want to share my thoughts because we faced the same problem. We enhanced the BADI 'CRM_COND_COM_BADI' and was getting called multiple times.
    As per our business scenario, it should be called for Opportunity and for a specific transaction type. So a check was placed in the BADI for the Opportunity and transaction type. This was done using FM 'CRM_ORDERADM_H_READ_OW'. This helped us to skip the complete logic to be called by the BADI enhancement.
    If you found a better solution yet do share.
    Regards,
    Shyamak

  • IPC API Documentation for ECC 6.0

    Where can I find the documentation for IPC on ECC 6.0 version. Your help is highly appreciated.

    Hi,
    Look into this URL:
    http://www.geocities.com/academic37/abap/abapindx.htm
    Rgds,
    Ramani N

Maybe you are looking for

  • Mid-2010 MacBook Pro 15 inch Randomly Restarting

    This started happening several months ago.  It would only happen when the laptop was opened after being closed for a while and having gone into standby.  When it started up, I would sign in and about 10 seconds later it would shut down, as if I were

  • Oracle 8.1.7 on Debian 2.2 (potato)

    Hello (again), I'm trying to install Oracle 8.1.7 on Debian 2.2r2 (kernel 2.2.19 and glibc 2.1.3) but runInstaller dies with SIGSEGV. On the same machine I have already successfully installed Oracle 8.1.6. I installed Blackdown JDK 1.1.8 but it does

  • Interface map not exist in cache

    hi iam configuring proxy to bapi and getting following error Interface mapping urn:xiworkshop:group00:webapp PO_out__ZBAPI_PO_CREATE does not exist in runtime cache i refreshed the cache and done reactivation of the objects still same story. plz help

  • OT (ish): ATTO raid card and Sonnet drive array won't mount

    Hi, It's slightly off topic I think, but the title says it all. My ATTO configuration tool says all is ok and all 8 drives are fine, but Finder doesn't show the drive array (8xdrives as RAID 5). ATTO support have told me how to manually mount the dri

  • IMovie iDVD DVD-R = no burn.

    Working in OS 10.4.6, using iMovie HD and iDVD6. Made the movie (from stills) just fine. Applied all the "Ken Burns" effects and set it all to a piece of music. Preview works great. Did the Share to iDVD, and then built the intro. All good to that po