Abap Class for Enterprise Service

Hi guys.
I've published as webservice in SAP ECC as enterprise service get it in Enterprise Service Workplace.
I have two questions:
1- How can I know the abap class associated to this enterprise service.
2- Could I extend the functionality of this enterprise service? For instance I'd like to response with one more field. Is that possible or I have to create a new one?
Thaks a lot.
Regards.
Edited by: Christian  Abad Chico on Feb 20, 2012 4:03 PM

Hi
May be the below link helps you,
[http://wiki.sdn.sap.com/wiki/display/EmTech/PublishWeberviceinABAP,ConsumeWebserviceinABAPandAdobeFlex.]
Regards,
Vijay V

Similar Messages

  • Understand the technical base for Enterprise Services?

    Hi all,
    I am trying to understand what is the technical base for enterprise services and the restrictions when activating them. The best documents I have found are:
    Note 1566412 u2013 Enhancement package 6 for SAP ERP 6.0.
    Note 1359215 u2013 Technical prerequisites for using enterprise services
    sdn blog u201CDetermin the SOA readiness of your System with the ES Workplace (Part 1 and 2)
    EHP Master Guide - https://websmp107.sap-ag.de/~sapidb/011000358700001183052011E
    The documents are quite informative, however there are still questions. Maybe someone can shed some light of these:
    1.) Is my understanding correct that Enterprise services can have three different base u201Cmodulesu201D?:
    a. An EHP (with relation to a business function).
    b. The swc u201CESA ECC-SE 60xu201D (without relation to a business function). E.G. ES Bundle "Bank Communication Management".
    c. The SWC u201CSAP APPLu201D (without relation to a business function). E.G. u201CBusinessPartnerERPUpdateRequestConfirmation_Inu201D
    2.) Is it possible to activate enterprise services (bundles) that rely on business functions after a EHP installation or ONLY during the EHP installation?
    3.) Is it possible to activate enterprise services with base u201CESA ECC-SE 60xu201D after a EHP installation or ONLY during the EHP installation?
    4.) Is SWC u201CESA ECC-SE 60xu201D a u201Ctechnicalu201D business function, whose activation cannot be reverted either? If yes what effect has the activation von u201CESA ECC-SE 60xu201D on the current ERP customizing?
    5.) How do the Enterprise Services relate with Service Interface definitions from SAP Process Integration (XI Content)?
    Do I need the XI Content with the service interfaces in ES Repository (and SPROXY) only if the communication is B2B (with PI) or also if the communication is Point-2-Point (without PI)?
    Thanks for your feedback!
    Chris

    Hi Chris,
    I'll try and provide answers where I can...
    1.) Is my understanding correct that Enterprise services can have three different base u201Cmodulesu201D?:
    I personally don't agree with this understanding. Enterprise Services would always relate to some or other business function, unless we have a different understanding of what "Business Function" means . What changes is how the Enterprise Services (or versions of them) are delivered.
    SAP APPL for example would be relevant to most of the enterprise services shipped with a standard ECC EHP*. So it will relate to the business functionality for the applications that are shipped with an ECC installation.
    2.) Is it possible to activate enterprise services (bundles) that rely on business functions after a EHP installation or ONLY during the EHP installation?
    I don't understand this question but I'll try and offer a generic answer. You can activate/use Enterprise Services whenever you want to as long as they are already available in your current installation. If they are only available in an EHP that you don't have yet then you will need to upgrade (but I also seem to recall some workarounds - SAP notes - as an alternative to upgrading).
    3.) Is it possible to activate enterprise services with base u201CESA ECC-SE 60xu201D after a EHP installation or ONLY during the EHP installation?
    You decide when you would like to activate it, it's generally after. SAP will ship them anyway.
    4.) Is SWC u201CESA ECC-SE 60xu201D a u201Ctechnicalu201D business function, whose activation cannot be reverted either? If yes what effect has the activation von u201CESA ECC-SE 60xu201D on the current ERP customizing?
    There is a tool call Impact Analyzer, read up a little on it. It allows you to do an impact analysis before activating. It might also help posting a separate thread on of the ECC functional forums here on SCN for more impact analysis. I'm not sure if the activation can be reverted.
    5.) How do the Enterprise Services relate with Service Interface definitions from SAP Process Integration (XI Content)?
    The XI Content is the design equivalent of the Enterprise Services as you see them in SPROXY. It's only relevant in certain cases, examples:
    - If you want to enhance standard SAP Enterprise Services
    - If you want to do additional transformation/s & routing.
    If you are planning P2P type communication, then the XI content is not relevant. One thing to be aware of though is if you have your backend ECC system connected to your PI ESR, the view that you get in SPROXY will reflect the SWC view of the ESR. So you might want to download the XI Content & import it into your PI ESR anyway.
    Regards, Trevor

  • Include in ABAP class for Workflow

    Hi,
    In order to use BOR macros inside ABAP class, (From SAP help) came to know that we need to use include <cntn02> .
    How to add this include to ABAP class for workflow?
    Regds,
    Akshay

    Hi Akshay,
    Slight difference, I said "keeping the class clean of BOR <i>code</i>". By all means use BO's in the class: basically create a ZCL_MATERIAL, and use BUS1001 as an attribute (I use a naming convention BO_* for these). As long as it's the right type (SIBFLPORB I think - no system handy right now), and the key values are populated correctly the system will instantiate it as necessary. So in WF I can refer to ZCL_MATERIAL.BO_MATERIAL whenever I need any of the BO's functionality.
    You are correct though, creating a proper business class which you can instantiate such as material does involve a fair bit of effort and coding to set up. e.g. my last project I ended up creating one ZBOR subtype because all I needed was one new attribute - definitely not worthwhile creating a new class for. (USR01.zEmailAddress for what it's worth).
    I've said before somewhere, it's not without pain, so if you're under time pressure etc, then it may be better to do whatever's quickest. There's nothing wrong with using BOR macros, it will still work for quite a few versions. I just meant to say that pure class(y) code is a preferred way to go if it makes sense to do so. This is not always the case.
    Hope that helps,
    Mike

  • BOR or ABAP Class for MM41

    Hi all.
    I am wondering whether anyone ever use workflow in transaction MM41.
    Does SAP provide standard BOR or ABAP Class for transaction MM41.
    I  know there is BUS1001006 but this only get triggers from MM01.
    Does user exit or BADI is the only way to trigger workflow from MM41?
    Thanks

    Hello,
    It might help if you said what MM41 was.
    As usual, turn on the event trace (SWELS), create and save something in your chosen transaction and then check the event trace (SWEL) for any events.
    regards
    Rick Bakker
    hanabi technology

  • Developement XI-Content for Enterprise Services

    Hi,
    What is XI-Content? And what must be defined in XI-Content for Enterprise Service Enabling?
    We have defined some services as provider, these services are goint to be in XI-Content. But we are also requesting some infromation to business partner, these inforamtion could be services or messages in case our partner does not have services.
    So my feeling is: in XI-Content we need to define:
    Interfaces for the services which we provide;
    Interfaces which we as consumer request?
    Interfaces which from partner as provider?
    Interfaces for the messages which are sending from partner?
    Mapping between the service interfaces (provider <->consumer)
    Mapping between the messages and the services?
    I am sorry, but this is really confusing when we plan the development of XI-content.
    Could you give me a clear picture or guideline according to your experience?
    Thank you very much.
    Jing

    This XI content is nothing but most commonly used integration scenarios for address specific business process requirements for a particular landscape.For Ex:Interface for Creating PO ,Sales Order etc.
    I have read many articles which say that XI Integration Repository will be re-named as Enterprise Service Repository which will enable the customers to kick-start with Enterprise Services.SAP sets the ball rolling by providing 500 Enterprise Services.
    As far as I understand these services are nothing but commonly used re-usable integration scenarios which are powered by Webservices.Enterprise Service Granularity depends on how you define your "Service".
    You have an awesome article on ESA which explains in an excellent way.
    Search the sdn for Enterprise Service Design Guide which can be an answer all your questions.

  • Logical Destination/Service Group for Enterprise Services

    Hi,
    we have a Discovery System V3 and published the Services into the Services Registry of a seperate CE 7.1 installation. Now when I create a NetWeaver BPM process that calls an Enterprise Service from the discovery system I have to specify either a logical destination or a service group.
    I know that they are used to configure Web Services (authentication, etc.), but do I have to use them for Enterprise Services delivered by SAP? I thought they are ready-to-run???
    Thanks,
    Manfred

    Yes, we have to use either logical destination or service group. This complies with the new configuration approach of SAP ESOA which is described here: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3.

  • Examples for Enterprise Service

    Hi All
    Anyone can you give some examples of Enterprise serivices.
    and
    Difference Between ES and Functional Module.
    Regards,
    Raj

    Hi,
    you can create "normal" web service out of function modules.
    Enterprise Services are first modelled in the ESR and then implemented in the NWDS or the ERP.
    You can browse for Enterprise Services.. https://www.sdn.sap.com/irj/sdn/explore-es
    SAP provides an environment where you can test the enterprise services...
    regards

  • How do i configure REGISTRY for enterprise services

    Hi,
    Please let me know how to Configure Registry for enterprise services in  SAP Discover system V2.
    Regards,
    Naveen

    I'm afraid it's a bit more complicated than adding a server into the list in Step 3 :)
    When a DirectAccess client is connecting into a corporate network that is IPv4 (I assume yours is, most are), it can reach into your IPv4 servers because the DA server is doing NAT64/DNS64 translations, turning all of your DirectAccess IPv6 packets into
    IPv4 packets before they head inside the network. But even though this happens in the background without you really knowing about it, the key thing there is that all DirectAccess traffic is IPv6. This means the clients can only be contacted via IPv6. If you
    have IPv6 inside your network, then you can route outbound fairly easily to your DA client computers. If you are all IPv4 inside as most companies are, then you have to either roll IPv6 out inside your network, at least partially, or you have to utilize ISATAP
    inside your network in order to create a sort of "virtual IPv6 cloud" that runs on top of your IPv4 internal network. This enables your internal management systems (like the BMC servers and helpdesk computers for RDP access outbound) to have a connection
    into the IPv6 world, which then enables them some routing capability to get out to the IPv6-connected DA clients. In addition to this IPv6 or ISATAP setup, you also need to configure WFAS rules on the DA clients so that they will allow this traffic.
    There is some info on setting up ISATAP here: http://blogs.technet.com/b/jasonjones/archive/2013/04/19/limiting-isatap-services-to-directaccess-manage-out-clients.aspx
    Otherwise one of the chapters in this book is also dedicated to the setup of a selective ISATAP environment, to be used for the purposes of DirectAccess outward management: https://www.packtpub.com/virtualization-and-cloud/microsoft-directaccess-best-practices-and-troubleshooting

  • Best Practice for WSDL Generate Proxy Class for Web Service with Two Versions

    Dear All
    Thank you in advance for you help.
    I would like to generate proxy classes for same function but with two versions.
    Old version web service (v23.2) is used for stable modules in a project which is not going to modify.
    However, enhancement is added in new version web service (v24) and is going to use in any future modules.
    For example,
    wsdl.exe -o="TestProxy.cs" -l:CS -n:Test -sharetypes https://community.workday.com/custom/developer/API/Notification/v23.2/Notification.wsdl https://community.workday.com/custom/developer/API/Notification/v24.0/Notification.wsdl
    It generates similar classes with an '1' added at the end of the class name.
    ublic partial class Event_TargetObjectType {
    private Event_TargetObjectIDType[] idField;
    public partial class Event_TargetObjectType1 {
    private Event_TargetObjectIDType1[] idField; ...}
    Since the function inside some class is the same, is it possible for WSDL.exe to generate proxy classes automatically that if the class is the same, then generate one class only (sameFunction())  but if it detects the class is different, then add '1'
    to the end of class name (differentFunction() and differentFunction1())
    i.e.
    public class sameFunction()
    public class differentFunction()
    private int a;}
    public class differentFunction1()
    { private int b;
    Best Regards
    mintssoul

    Hi  mintssoul,
      As per this case, I have shared corresponding details below :
    1.As far as I know, WCF doesn’t support method overloading directly
    2.Because WSDL doesn’t support method overloading (not OOPs).
    3.WCF generates WSDL which specifies the location of the service and the operation or methods the service exposes.
    4.WCF use Document/Literal WSDL Style : Microsoft proposed this standard where the soap body element will contain the web method name.
    5.By default all the WCF services conform to the document literal standard where the soap body should include the method name.
    6.but you can differ the method in the same manually by using Name attribute like below 
    For example:
        [OperationContract(Name="Integers")]
        int Display(int a,int b)
        [OperationContract(Name="Doubles")]
    double Display(double a,double b)
    7. Or I suggest you that can use svcutil to map multiple namespaces for generating wcf service proxies .
        for more information about this, refer here :
    http://stackoverflow.com/questions/1103686/use-svcutil-to-map-multiple-namespaces-for-generating-wcf-service-proxies

  • Error handling in Abap Class for SAP Workflow

    Hi Experts,
    I would like to know if we have an option in abap classes used in workflows to send errors to the workflow log. We can achieve this in BOR Object methods by using the EXIT_RETURN <CODE> var 1 var 2 to send the errors back to the workflow, but how is this achieved through methods from classes  used in workflows.
    Appreciate your quick responses,
    Chaitanya

    Just raise exceptions in the normal OO way. Any exception that is a subclass of CX_BO_ERROR should be automatically available in workflow. Use subclasses of CX_BO_TEMPORARY for temporary errors.

  • WSDL error during generation of  ABAP proxy for web service

    Hi friends,
    I am getting error during the generation of ABAP proxy object for web service developed in .NET .
    Error : Proxy generation terminated: WSDL error (<extension> not supported).
    How to make this WSDL file compatible  for  ABAP proxy.
    I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
    If any one worked on this. Please help me its urgent.
    Thanks and regards,
    Shivanand.

    HI ,
    I am having the same issue!!!
    Does ABAP Proxy Generation support <extension> ?
    Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
    Thanks

  • How to activate Business Add-In (BAdI) for Enterprise Service

    Hi,
    I have connected enterprise service
    Find Production Order by Work Centre
    external/technical Name: ProductionOrderSimpleByWorkCentreQueryResponse_In
    Namespace: http://sap.com/xi/APPL/SE/Global
    SAP Software Component Version: ESA ECC-SE 605
    Internal Name: ECC_PRODUCTIONORDERSWQR
    SAP Library - Enterprise Services for SAP ERP
    http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=…
    from our ECC system to our PI 7.1 and did first tests.
    I'm getting response to my requests from the ECC system.
    But in the response, there are only the production order IDs for the requested work centre.
    I suppose that the BAdI PORD_SE_PRODUCTIONORDERSWQR, mentioned in service description, has to be activated for the service in the ECC system, to get all the other optional production order elements, defined in the service response message type.
    Am I right?
    Which steps in the ECC backend are neccessary to activate a BAdI for an enterprise service?
    Regards
    Roland

    Salegram,
    BADi is not provide us functionality for data upload for Annual PF / Pension Report.
    BADi is using for some add in our business transaction.
    just explore tx se18 ans se19.
    Amit.

  • ABAP Class as web service

    Hi All,
    Is there any way to expose a ABAP class as a web service. I know we can create a FM or BAPI and expose them as web service.
    Ex : If I have a SalesOrder class and this class has methods like getOrder(),getDetails(),getItems()  etc etc
    Now I would like to create a service where the above methods are methods inside the service.
    (We don't have XI in our landscape)
    Please correct me if my assumption is wrong.
    Thanks ,Anilkumar

    i think you need to embedd the class/methods in a rfc enabled fm to create a webservice.
    Rajeev

  • ABAP classes for WebTemplate development

    Hi experts,
    I am manipulating a report via ABAP classes.  I need to hide an entire column including the header.  Currently I have done this under the DATA_CELL method and have only been able to hide the KF area.  If I need to hide the Header in the column (built under a structure) as well must I move all my code under the CAPTION_CELL method instead?
    Secondly, I also need to search for a row by the text "Overall Results."  Is there a quick way to search the Y axis for this particular row using the text "Overall Results?
    mark

    hi Mark,
    you can try in
    method CAPTION_CELL
    if i_iobjnm_row = 'your charateristic to be hidden'.
    C_CELL_TD_EXTEND = 'style="display:none;"'.
    endif.
    and ...
    method CHARACTERISTIC_CELL
    if I_IOBJNM = 'your charateristic to be hidden'.
      C_CELL_TD_EXTEND = 'style="display:none;"'.
    endif.
    and I_IS_SUM <> 'X' if result not hide       
    to search 'Overall Result' (if you didnt get yet), can try
    method CHARACTERISTIC_CELL
    I_TEXT
    not sure what's your requirement, to hide a characteristic you can set it bex query designer, characteristic's property 'display' = no display.
    hope this helps.

  • How to request acknowledgments for Enterprise services

    Hi Experts,
    We are using enterprise services for our outbound interfaces in retail system, how do we request acknowledgements for these messages, is there any setting we need to make???
    we are not using any custom proxy programs, these are SAP standard programs, if anyone done before please let me know

    Hi,
    At this moment I don't think you can do that. I think that the philosophy is that once the service call was succesfull you shoul safely assume it went ok. you could probably create a scenario that once the receiver system generates an ack it is routed back somehow.
    if you want it for an inbound interface (sending towards ecc) I think you need some custom code

Maybe you are looking for

  • Can No Longer View You Tube w/OS10.3.9 Nor Update Flash Player. Suggestions

    I have a PowerBook G4, OS10.3.9 and primarily use Firefox as a browser. Yesterday when attempting to view a video on You Tube, the following message appeared: "Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. Ge

  • Can i use a hybrid hard drive in my macbook?

    i saw a hybrid hard drive from samsung http://www.samsung.com/Products/HardDiskDrive/HybridHDDFlashON/HardDiskDrive_HybridHDD_FlashONHM16HJI.asp and would like to upgrade my mac does anyone know if this will work with os x it claims vista support not

  • Why is my results slide blank when branch aware selected?

    Hi All. I'm hoping that someone can help me. I've created a relatively simple e-Learning course using Captivate 7, that has the following  structure: Part One Learning, Part One Assessment Part Two Learning, Part Two Assessment Part Three Learning, P

  • Setting Node value in a DOMtree

    Hello Techies, I am trying to create a DOM Tree. I had create Node's for the DOM Tree. I want to know how to set the Values to these Nodes. Element root = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder bu

  • Firefox 4. will not run on my pc

    I niaively upgraded to version 4 but all I can do is open it. Then it freezes every time with (not responding) message at the top of the page. Quite apart from not liking the new layout I'm seriously teee'd off with it. What is wrong & how can I fix