Want to import Class Attributes from ERP to PI

Hi all,
I'm publishing Asset Information from SAP to PI to an external system.
The information includes EQUNR,SERNR, TIDNR and Partner information.
In PI I manually defined a DataType in PI of Asset and then created a service definition.
I then generated a proxy in ERP to publish the Asset.
I have generated a class in SE24 ZCL_EQUI and created a publish method which calls the client Proxy and it works fine.
Here is my question
Can you import the data definitions(attributes) of the class into PI (similar to how you can import RFC and idocs)?
The reason I ask is rather than manually definining the message Type in PI it would be much more convenient to import it from the class ZCL_EQUI.
This way the data would have the same types and I could update PI from SAP.
I know this may seem a little backwards but it would be useful in this case(think of it as similar to importing an idoc definition).
One approach I could take is to create a Service Definition for the constructor method (which takes in the Equipment Number and returns all the information). I could then publish that to ESR and import the WSDL into PI and then use the data definitions for the publishing of the equipment. ( a little longwinded but it should work).
However it looks like for creating the service defintion I'd have to create a function module (RFC enabled) which calls the class.
I can't see an easy way to create the service definition straight from the class.
So in summary I suppose I have a couple of questions
1) Is there a way in PI to import data structures from ERP?
2) Is there a way in PI to import attributes from classes?
3) Is there a way to create a service defintion straight from a class (or do you always have to wrap it in a function module)?
4) Is there a way to generate a WSDL from a class?
If you have any links or documentation I should read, please let me know.
Thanks in advance for any help.
Regards,
John

Hi John,
the answer to all your questions is: No.
The idea of PI ESR is having a development point for all interfaces. So if you need a data type in ERP, you should rather define the data type in ESR and generate a structure type in ERP with SPROXY.

Similar Messages

  • I want to import my favourites from IE but the import command in Firefox is greyed out

    I've just moed over from IE to Firefox and want to import my favourites from IE using the Firefox import command. But whatever I try I cannot get the import command under the File tab to "ungrey".

    In IE: <br />
    File > Import/Export - Export to HTML file
    ''then in Firefox:'' <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... = From HTML file

  • HT4757 I want to import RAW files from my Panasonic Lumix GH3. Is there an Apple update for this?

    I have a Macbook Pro with 10.6.8 OS X & iPhoto 09. I want to import RAW files from my Panasonic Lumix GH3. Is there an Apple update for this?

    Hello tadgv,
    Mavericks, which is a free upgrade, supports your camera's RAW format.
    OS X Mavericks: Supported digital camera RAW formats
    http://support.apple.com/kb/HT5955
    OS X Mavericks
    https://itunes.apple.com/us/app/os-x-mavericks/id675248567?mt=12
    Cheers,
    Allen

  • Hi, I want to import my contact from icloud to my android phone, any ideas?

    Hi, I want to import my contact from icloud to my android phone, any ideas?

    SmoothSync for Android.

  • I want to import short clips from home movies. How do I do this?

    I am wanting to import short clips from old family movies which are on DVD. What is the best program for this? I don't want to import the full DVD just several short clips and then be able to use these clips in imovie.

    You'll want to look at DVDxDV Pro.  It can select very small segments on a DVD using the expandable timeline.  This allows you to find exactly the part of the DVD that you want. It also has an iDVD export preset.
    This video shows you how to grab individual clips from the DVD.

  • Want to import jpeg file from mac to pages on mac

    want to import jpeg file from mac to pages on mac

    Two different macs? 
    Use AirDrop to transfer the file.  Then drag and drop it inot the Pages document.
    Same mac? 
    Drag and drop.

  • I have got an 4s phone and want to import my notes from my old 3G phone; does anybody has an idea how this can be done?

    i have got an 4s phone and want to import my notes from my old 3G phone; does anybody has an idea how this can be done?

    If you have a Mac, I know you can sync your notes with the Mail application using iTunes by going to the Info tab when you clikc on your iPhone under Devices. Other than that, you may just need to email the notes to yourself since the 3G cannot use iCloud to transfer them.

  • Hi All, I have new iphone 4s and want to import my contacts from my old Orange SIM (the contacts have all been copied to SIM). I enter the SIM and select "Import from SIM" in the settings -- Calendar, Contacts etc it look like Ok but nothing copied,helpp

    Hi All, I have new iphone 4s and want to import my contacts from my old Orange SIM (the contacts have all been copied to SIM). I enter the SIM and select "Import from SIM" in the settings --> Calendar, Contacts etc it looks like Ok but nothing copied,I tried hundreds of time and waited 2 day but still nothing and I again made sure that I do have the Contacts in the Microsim and it is there but cant import? dunno why???

    I have never used it, but have heard good things...
    http://www.littlemachines.com/

  • HT1386 i want to import my library from my ipod to itunes on my computer

    i want to import my library from my ipod to itunes on my computer

    Hey Hup42,
    Thanks for the question. Based on the information you have provided, the best option may be to operate multiple user accounts on your Wife’s computer. The following article outlines this solution, along with another solution of having multiple iTunes libraries:
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/HT1495
    Create multiple user accounts
    Do you share your computer with someone who has different tastes in music and media? You can create separate user accounts for each person who uses the computer. You can maintain separate, personalized iTunes libraries and customize each devices' sync settings accordingly.
    Mac OS X users
    Learn how to set up other user accounts.
    - OS X Mountain Lion v10.8
    - OS X Lion v10.7
    - Mac OS X v10.6 Snow Leopard
    Windows users
    Look in your computer's Help documentation to learn how to set up other user accounts. To find this information:
    1. Click the Start Menu and click Help or Help and Support.
    2. Enter "new user" in the Search field.
    3. Press Return.
    If you create multiple user accounts on one computer but want the same media to be available in iTunes for all users, you can share music between different accounts on a single computer.
    Thanks,
    Matt M.

  • Error while importing Class-Attributes of LDIF in OID

    Hi All,
    Below is the Content of my LDIF file (*please let me know if it is incorrect in itself*)
    ldap_open( host, 3060 )
    filter pattern: objectclass=TestObjClass
    returning: memMembershipID memCreatedBy (*error is coming for this line*)
    filter is: (objectclass=TestObjClass)
    0 matches
    Import command is:
    ./ldapadd -p 3060 -h <host> -D "cn=orcladmin" -w Welcome123 -f schemaTest.ldif
    Output:
    ldapadd: missing value on line 3 (attr is returning: memMembershipID memCreatedBy)
    Experts can you pls help me, wats going wrong?
    Regards,
    Newbie

    Hi All,
    Any idea on the following error?
    Error: ldapadd: missing value on line 3 (attr is returning: memMembershipID memCreatedBy)
    We are to trying to migrate Customized [Object Class (LDIF) & Attributes] from development environment to prod env.
    Regards,
    Newbie

  • Read Implementation class attribute from context node

    Hello all,
    I have a global atttribute in my Implementation class. How can I access this attribute from the getter setter method of an attribute in my Context node?
    Regards,
    Debolina

    hi ,
    I discovered that we cannot access the child nodes from parent class,so instead I am using custom controllers

  • I don't want to import video clips from iPhoto!

    iMovie automatically imports video clips from iPhoto, and I don't need or want this to be done. I don't want to delete or move those clips from iPhoto, so is there a way to prevent the automatic transfer?

    Go to your Hotmail account on the web (NOT in mail), make a new folder (or folders) for the mail you want to keep and move the messages into it.
    Mail (and all other email clients) will download all messages in the inbox unless previously downloaded. That means downloaded with the client you are attaching now.
    Until that is done do not setup the account in mail.

  • Want to import avchd footage from a media card into FCE.

    Trying to import avchd video from a media card into Final Cut Express. Panasonic DMC-ZS3 / FCE 4.0.1 / MBP 10.6.8. Have taken a look at the footage using a trial version of Pavtube MTS Converter.

    A further comment : this is AVCHD Lite, and there are several online recommendations for software to convert files for Mac. Any suggestions??

  • I want to import a song from a shared library. Don't know where the "bottom of the itunes window" is to start the process

    I want to impoort a song from a shared library.
    Looking at the itunes help menu,
    it says at "the bottom of the itunes window" ----
    don't know where that is

    AND yea i afraid to sync my iphone and lose everything ;( i had everything perfect sync ing perfect ical,contacts,mail,apps and now sence new library I dont wana lose everything.....my hole life runs on my fone i need help bad

  • I want to import .vro-files from my dvd-camcorder to imovie´11 but it doesn´t work

    hi,
    i´m a mac newbie and i´m tryig to import video-files from my panasonic vdr-m70 dvd-camcorder to imovie but it doesn´t work.
    please excuse my bad english i´m a german guy, 47 years old an not well trained in english.
    thanks for any help....
    max

    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

Maybe you are looking for