New adapter creation in Pi 7.0

hi
i have recently attended the sapteched and there is a session on new adapter development. unfortunately i could not attend it. when i was going through the excercise doc i have come across the below lines.
Change the file contents of all the files in sample_ra.jar.
The files contain the package name/path of the sample_ra adapter. We will have to change them
to our own package/path names. When doing so, text editors such as TextPad or UltraEdit can
be used to perform changes to all the files at once, easing the process. (Please note also, instead
of using text editors, all the files can be loaded into NWDS and use the u201CRefactoru201D and search-nreplace
capabilities within NWDS to accomplish the same.)
a. Change package name:
From: com.sap.aii.af.sample.adapter.ra
To: com.test.zip.adapter.ra
b. Change package path for log and trace file locations:
From: com/sap/aii/af/sample/adapter/ra
To: com/test/zip/adapter/ra
c. Change adapter guid:
From: http://sap.com/xi/XI/sample/JCA
To: http://sap.com/xi/XI/zip/JCA
d. Change adapter namespace:
From: http://sap.com/xi/XI/sample
To: http://sap.com/xi/XI/zip
i have download the sample_ra.rar and unzipped the  jar file sample_ra.jar file. after that i am not sure where i need to change the package names and adapter namespace and other things. There are several java files where the package statemetns is used. please clarify.
thanks
sankar

hi
thanks for the reply . i figured out how to change the package name .but i could not find out how to change the below . where can i find these entries.
. Change package path for log and trace file locations:
From: com/sap/aii/af/sample/adapter/ra
To: com/test/zip/adapter/ra
d. Change adapter namespace:
From: http://sap.com/xi/XI/sample
To: http://sap.com/xi/XI/zip
thanks
sankar

Similar Messages

  • Creating a new adapter in sap pi

    Hi experts,
    I got a requirement to configure custamised adaptor for the sibel systems.
    Can you please provide information to build a new adapter in sap pi 7.1.
    Thankyou in advance......

    Hi,
    This [wiki|http://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development] link should help get you started.  I have a very useful PDF too that describes some of the steps but unfortunately I don't have the link where I got it from.
    Regards,
    Ryan Crosby

  • CRM E-Commerce BOB Web shop - Duplicate check for New Customer Creation

    Hi,
    In CRM E-Commerce BOB Web shop we have a requirement wherein new customer creation should go through a duplicate check. Only unique customers should be created as BP in backend GUI, in case a customer already exists with the same credentials, BP should not be created and user should get a message that the customer already exist in the system.
    Currently the system is not preventing me from creating new customers with same credentials.
    In case anybody has worked on the similar requirement or has any idea about the same, Kindly help.
    Regards, Vipul
    Edited by: vipul_kumar02 on Jun 21, 2011 4:20 PM

    Hi,
    Any pointers for function module used for creation of a new BP for a new customer request in BOB Web shop?
    Is it same as B2C Web shop?

  • How to  add new Adapter in Sap XI

    could you help me to how to add a new Adapter in SAP XI
    after installation of SAP XI.
    if any one send this really help full to me
    Ram

    Hi,
    I am getting an error when importing SAP Basis 640 Software components into Integration repository. It is giving thsese java errors:
    com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method importFromImportSource. at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl10.importFromImportSource(TransportServiceRemoteObjectImpl10.java:850) at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl10p4_Skel.dispatch(TransportServiceRemoteObjectImpl10p4_Skel.java:100) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.NoClassDefFoundError at com.sap.aii.utilxi.core.strings.StringConversion.xml2String(StringConversion.java:645) at com.sap.aii.utilxi.dtd.api.DtdHelper.getString(DtdHelper.java:381) at com.sap.aii.utilxi.dtd.api.DtdParser.parseInputSource(DtdParser.java:68) at com.sap.aii.ibrep.bom.extdef.DtdInternalExternalCategoryService.getDtdSchema(DtdInternalExternalCategoryService.java:72) at com.sap.aii.ibrep.bom.extdef.DtdInternalExternalCategoryService.getExternalReferences(DtdInternalExternalCategoryService.java:48) at com.sap.aii.ibrep.bom.extdef.ExternalCategoryServiceImpl.getExternalReferences(ExternalCategoryServiceProvider.java:51) at com.sap.aii.ibrep.bom.extdef.ExternalDefinition.getExternalReferences(ExternalDefinition.java:35) at com.sap.aii.ibrep.server.persist.extdef.ExtDefInternalPersistSevice.writeTypeData(ExtDefInternalPersistSevice.java:95) at com.sap.aii.ib.server.persist.gen.PersistServiceProvider$PersistServiceImpl.writeObjectVersion(PersistServiceProvider.java:446) at
      The environment is same as in our development server.
    Any idea what causes this error.
    Thanks for your help.
    Madhu

  • 65W 20V AC Adapter gets super hot (including new adapter replaced on warranty)

    I bought a e420 in March and the 65W 20V AC adapter it came with has always ran really hot. Hot enough you can't really hold it while using the laptop while it's plugged in. When the laptop is off and charging, it's very cool. Now I just recieved a new adapter through warranty and it also gets really hot.
    I also ordered my e420 with the big 9-cell battery, could that effect it? I'm also worried it has been killing my battery life as well, as it's much lower now on full charge than when it was new 7 months ago. I try to take care of the battery by almost always let it run down before charging it and don't use it plugged in unless i have too. 
    Would appreciate any thoughts on this. i see several random posts about hot ac adapters on the forum here but found no real conclusions.
    -Thanks

    Hi synovo,
    May i have the machine type please? If your machine equipped with descrete graphic please disconnect immediately for safety reason, and use 90W AC instead. Anyway please contact local lenovo for further info
    Worldwide Support Center phone list for ThinkPad, ThinkCentre and ThinkStation systems
    http://support.lenovo.com/en_US/detail.page?DocID=​PD008370
    Fred
    T61 + X201i

  • Why does a new desktop creation unexpectedly initiate with a background differing from the originating desktop? How can I control or eliminate this behavior?

    Why does a new desktop creation unexpectedly initiate with a background differing from the originating desktop? How can I control or eliminate this behavior?

    CT, I suspect that I either mistated the question or don't understand how to set the default back ground.  In any case, with the background that I have set in system settings, and this is the background to which my sessions consistantly boot, new desktops come up for the second or up to the third background with this initially set background. Then in the third or fourth desktop creation (I seldom go beyond four), the background for the new desktop, is one that I was using one or two months ago...

  • Alerts for item master change and new item creation

    hai experts
                       my manager has to get an alert when any update has been done in item master or when a new item master is created .

    Hi.........
    Check this query for alert.........
    Quaery for New Item Creation:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[CreateDate] FROM OITM T0
    Where DateDiff(DD,T0.[CreateDate],GetDate())<2
    Query For Updation of Item:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[UpdateDate] FROM OITM T0
    Where DateDiff(DD,T0.[UpdateDate],GetDate())<2
    Above two alerts will be coming for two days........
    Regards,
    Rahul

  • Cretaing a new adapter using the existing file adapter

    Hi,
    Is it possible to create a new adapter type copying the existing file adapter. That is I want to create a new adapter type for example "FNFS" and use the same module callsapadapter which is used in the File adapter. So that this new adapter type "FNFS" functions like the File adapter,
    What are the actions I need to perform to acheive this.
    Thanks in advance.

    what will be the significance of that?
    I think if you need some extra functionality then Development of Custom Module is enough.
    /people/john.ta2/blog/2006/12/20/to-create-or-not-to-create-an-sap-xi-adapter
    Thanks
    farooq.

  • Use String Variable in New Object Creation

    Thanks to those who review and respond. I am new to Java, so please be patient with my terminoloy mistakes and fumblings. I am reading in a file and I want to create a new object based on specific field (car for example). As you will notice I grab field 8 here label sIID.
    String sIID = dts.group(8);
    BTW this regex grouping works fine. The problem is seen when I try to use the sIID variable in my new object creation process.
    DateParse sIID = new DateParse();
    My IDE is reporting "Variable sIID is already defined in the scope"
    Is this possible? The assumption is that the sIID will have different value during the processing of the file. For example, car could mean truck, sedan, etc with operators like color, number of doors, mileage, top speed, etc.

    Thanks for the reply. I have include similar and much shorter code for the sake of brevity.
    My problems are centered around the x variable/object below. Ideally this would translate to three objects PersonA, PersonB, etc that I could reference later in the code as PersonA.newname if I wanted to. Hopefully this makes sense.
    public class TestingObjects {
      public static void main(String[] argv) {
           String [] names;
           names = new String[3];
           names[0] = "PersonA";
           names[1] = "PersonB";
           names[2] = "PersonC";
           for (String x:names) {
             PN x = new PN();  // <- Problem
             x.name = x;
             x.SayName();
            System.out.println(x.newname);
    public class PN {
           String name;
           String newname;
      public String SayName() {
           newname = "Name = " + name;
           System.out.println(name);
          return newname;
    }

  • Jco.JCO$Exception when create a new adaptive model in NWDS

    HI friends:
    when I create a new adaptive model in NWDS, error occurs:
    Warning:Creating a connection with Metamodel language <zh_CN> failed. Continuing with language <zh>
    Fatal: com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    but when I used a existent model to reimport model  , it has no error
    Thank you in advance.
    Yonk
    Edited by: Yonk King on Nov 7, 2008 11:11 AM

    Check whether you are providing the correct login credentials while importing the RFC.

  • Requirements to go for new TableSpace Creation ?

    Hi All,
    It is a more databse question than SAP,
    What are requirements to go for new Tablespace creation ?
    OR
    Why do we need to create new Tablespace evethough, we have around 7 default tspaces there.
    Eg : In my case TSpace PSAPVERTEX  created; vertex is US tax tool.
    I dont think database stores the application specific data in particular TSpace  like  vertex application -
    PSAPVETEX
    Please reply to me soon
    RK

    Hello Ramakrishna,
    >> Why do we need to create new Tablespace evethough, we have around 7 default tspaces there.
    That is not correct. You have one default tablespace on database level or one default tablespace for different users (user settings)... but you can never have more than one default tablespace.
    SAP creates more tablespaces to seperate the data and to structure it... but the definition, which object is stored in which tablespace is specified in the create statement of the object.
    So if objects are for the vertex application.. the create statement includes the vertex tablespace PSAPVERTEX.. if not the objects are created in the default tablespace for the user.
    Regards
    Stefan

  • How to stop new record creation when mouse click

    Hi,
    I am working with Oracle Forms 6i.
    I have a multi record block. I have provided a 'New' button that the user should click when a new record creation is required. This is because there is some other function that needs to be performed when the new record is created. Specifically, on clicking the new button, the program populates the field with values read from another table. This works fine.
    However, I realized, that if the user clicks on the mutli-record block just below the last record, a new record gets created. This action does not cause the logic behind the 'New' button to execute and the record is created in a manner that is not acceptable.
    First question is why does the new record get created only by clicking with the mouse with the pointer below the last record? Is there a way to stop this from happening?
    Thanks in advance for your help.
    Shailesh

    Hi Andreas,
    Probably I was not able to explaing my problem.
    I have a button that creates a new record when clicked. The button's trigger has the CREATE_RECORD statement.
    When a new record is created, I need to copy values from the record above it. I have therefore used DUPLICATE_RECORD in my block's WHEN-NEW-RECORD-INSTANCE trigger.
    I cannot use DUPLICATE-RECORD in WHEN-CREATE-RECORD trigger.
    So, I am not clear about what you are suggesting.
    My problem is that a new record gets created when click with my mouse pointer below the last record in the multi-record block. Why does that happen and how to prevent it?
    Thanks
    Shailesh

  • I have an ipod touch and just updated my software to ios 7.1.2. Now I get the message that my adapter, accessory does not support my device. Is there a new adapter that I need to buy that works with the ios 7.1.2?

    i have an ipod touch and just updated my software to ios 7.1.2. Now I get the message that my adapter, accessory does not support my device. Is there a new adapter that I need to buy that works with the ios 7.1.2?

    This is not my problem. However, I think it may be related to an old speaker. I was using the 30 pin adapter for about a week after the upgrade to 7.1.2. But I think with the update the speaker won't work anymore. I will try with a new speaker system. Thank you for trying to assist.

  • Developing New Adapter

    Hi,
    I have a requirement that we need to develop a new adapter to communicate between .NET system & SAP XI. Can you help me how can we do that. Please dont ask why , i am not sure why..
    Both the system will communicate thro XML.
    Raja T

    Raja,
    Have you seen this weblogs how to communicate between XI and .Net:
    https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    For info on how to use Webservices and SOAP adapters , these 2 documents should help,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    ---Satish

  • Aborting new object creation

    I want to test the input parameters to a constructor and determine if an invalid parameter has been supplied.
    If I use:
    Thingy myThingy = new Thingy("invalid value");
    is it up to the programmer of the above to catch the error, either through exception handling or some other form of error checking, and perform
    myThingy = null;
    to render the partially initialized object ready for garbage collection?
    Is there a way in the constructor itself to indicate that the object shouldn't be created and null should be returned as the result of the "new" operation?
    Thanks,
    John

    But I'd say Clem1986 still has a point. Even in the constructor
      Foo() throws Exception {
        throw new Exception("Bollocks");
      }there's the implicit call to super() and instance initializers before you arrive at throw. From JVM spec: The new instruction does not completely create a new instance; instance creation is not completed until an instance initialization method has been invoked on the uninitialized instance. Which is done above. Whether this qualifies in OP's context as completing instance creation or instantiating an object I don't know. But you could work with it in the constructor, and once you get to throw, memory has been allocated, all superclasses have been initialized (which might involve heavy allocation/computation), default values were assigned to fields and instance initializers have executed. Only now can you decide to "abort new object creation" by completing abruptly and not "returning" the reference to the newly-(partially-)created object to the caller.

Maybe you are looking for