Need an Example for Enterprise Services using PI

Hi
  I have been trying to configure and execute the demo - Cancel Flight Booking, but have been facing some issues on the configuration front. So if any of you had done any simpler examples, i would like to go through them. I'm very new to SAP and I want to learn about looking up,invoking enterprise services using PI. So kindly help with providing any custom made simple example with the configuration steps.
Thanks & Regards
Vijay

Hi,
habve you see this demo:
/people/jitender.chauhan/blog/2009/04/20/service-enabling-in-abap
Regards,
Michal Krawczyk

Similar Messages

  • 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

  • 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

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

  • 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

  • Examples for all service patterns and communication patterns.

    Hi Friends,
    Can anyone of you give me some real life examples for follwoing service/communication patterns?
    1)Synchronous
    2)Asynchronous
    3)Request Confirmation
    4)ReadQuery
    5)Notification
    6)Information
    And also if any guidelined on when to use which patter etc...
    Thanks in advance,
    Best Regards,
    Ujwal

    Hi,
    Suggestion is to refer SAP help for details:
    1)Synchronous: when you need realtime response, i.e. you accept order and want to give order number to customer then you will call Sync service.
    2)Asynchronous: when you dont need realtime response, i.e. you want to replicate all orders from one system to another system.
    3)Request Confirmation: you made a request and system confirm your request. i.e. Order data is supplied and order number is confirmation. Database will be updated.
    4)ReadQuery: I guess you are refering to Query/Response pattern, You just want some information. No database will be updated.
    5)Notification: It is another form of "QueryResponse" but user action required.
    6)Information: It is another form of "QueryRespone" but NO user action required.
    Answer following questions to determine which pattern you need.
    Q1. Do you need response?
    Ans: Yes: Sync pattern
            Q1.1: Does any update required?
            Ans: Yes: RequestConfirmation pattern.
            Ans: No: QueryResponse pattern.
    Ans: No
            Q1.2 Does user required to take notice of response?
            Ans: Yes:Notification pattern
            Ans: No: Information pattern.
    Regards,
    Gourav
    Edited by: Gourav Khare on Jul 27, 2009 2:18 PM

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

  • Need an example for work flow based on multistep activity

    hi,
    i need an example for work flow based on multistep activity for practicing.please do the need.
    thanks

    Hi,
    Workflow document information:
    Check these links.
    http://www.sapgenie.com/workflow/index.htm
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    &**********Reward points if helpful**************&

  • Examples of Enterprise Service

    Hi All,
    Can anyone give some examples of Enterprise service....
    Give  some realtime exmples.
    What is PI role in  consume Enterprise service.
    Regards,
    raj

    Hi,
    refer the weblog click on here to get the ESR FAQ.
    All you ever wanted to know about Enterprise Services Repository and Services Registry – Really!
    Enterprise Services Repository: Importance in Enterprise SOA Architecture
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4073b4c4-7137-2a10-a5a9-abb618b7a5e7
    chirag

  • Sun idm adapter for Enterprise Service Bus (Using MQ)

    Hi
    Can you please let me know if any sun idm adapter support Enterprise Service Bus (Using MQ) ?
    Thanks

    As answer on question 1:
    No I never found any documentation from SAP that described a ESB solution. So al the knowledge must come from other vendors in your case from Sonic.
    But there is hope you can use XI in a ESB way. You must only (add) configure the ESB parts. This is done by adding a service repository for example the UDDI server in combination with some BPML engine.
    By adding it al together you can execute your business processes over multiple system platforms using SOAP in a synchronic way.
    This is the basic concept of a ESB.
    The answer to question 2.
    I don’t know if XI has build in support, but a know that there are free tools that can handle Canonical XML. So you can make a service your self to handle the Canonical XML documents.

  • 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

  • I need simple example for alv grid

    hi
    i need code for simple example for alv grid.
    thanks.

    hi bharat,
                  this is report with most of the functionality.
    report zus_alv_demo_grid .
    tables:     ekko.
    type-pools: slis.
    types: begin of t_ekko,
    ebeln type ekpo-ebeln,
    ebelp type ekpo-ebelp,
    statu type ekpo-statu,
    aedat type ekpo-aedat,
    matnr type ekpo-matnr,
    menge type ekpo-menge,
    meins type ekpo-meins,
    netpr type ekpo-netpr,
    peinh type ekpo-peinh,
    line_color(4) type c, "Used to store row color
    end of t_ekko.
    data: it_ekko type standard table of t_ekko initial size 0,
           wa_ekko type t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    Data declaration for EVENT and PRINT PARAMETER.
    data: gt_events type slis_t_event,
           gd_prntparams type slis_print_alv.
    data declaration for sorting.
    data : it_sortcat   type slis_sortinfo_alv occurs 1,
           wa_sort like line of it_sortcat.
    data :  i_list_comments type slis_t_listheader.
    start-of-selection.
      perform data_retrieval.
    perform user_command.
      perform build_fieldcatalog.
      perform build_layout.
      perform build_events.
      perform build_print_params.
      perform build_sortcat.
      perform display_alv_report.
    end-of-selection.
    *TOP-OF-PAGE.
    PERFORM top-of-page.
    end-of-page.
    *&      Form  build_fieldcatalog
          text
    -->  p1        text
    <--  p2        text
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      fieldcatalog-do_sum = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " build_fieldcatalog
    *&      Form  build_layout
          text
    -->  p1        text
    <--  p2        text
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    Set layout field for row attributes(i.e. color)
      gd_layout-info_fieldname =      'LINE_COLOR'.
    gd_layout-totals_only        = 'X'.
    gd_layout-f2code            = 'DISP'.  "Sets fcode for
    *when double
                                            "click(press f2)*
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text       = 'helllllo'.
    endform.                    " build_layout
    *&      Form  data_retrieval
          text
    -->  p1        text
    <--  p2        text
    form data_retrieval.
      data: ld_color(1) type c.
      select ebeln ebelp statu aedat matnr menge meins netpr
    peinh from ekpo  into table it_ekko.
    *Populate field with color attributes
      loop at it_ekko into wa_ekko.
    Populate color variable with colour properties
    Char 1 = C (This is a color property)
    Char 2 = 3 (Color codes: 1 - 7)
    Char 3 = Intensified on/off ( 1 or 0 )
    Char 4 = Inverse display on/off ( 1 or 0 )
              i.e. wa_ekko-line_color = 'C410'
        ld_color = ld_color + 1.
    Only 7 colours so need to reset color value
        if ld_color = 8.
          ld_color = 1.
        endif.
        concatenate 'C' ld_color '10' into wa_ekko-line_color.
    wa_ekko-line_color = 'C410'.
        modify it_ekko from wa_ekko.
      endloop.
    endform.                    " data_retrieval
    *&      Form  display_alv_report
          text
    -->  p1        text
    <--  p2        text
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program       = gd_repid
                is_layout                = gd_layout
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                i_callback_user_command  = 'USER_COMMAND'
                i_callback_pf_status_set = 'SET_PF_STATUS'
                it_event                 = gt_events
                is_print                 = gd_prntparams
                it_fieldcat              = fieldcatalog[]
                it_sort                 = it_sortcat
                i_save                   = 'X'
           tables
                t_outtab                 = it_ekko
           exceptions
                program_error            = 1
                others                   = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.              " DISPLAY_ALV_REPORT
    *&      Form  user_command
          text
    -->  p1        text
    <--  p2        text
    *&      Form  top-of-page
          text
    -->  p1        text
    <--  p2        text
    form top-of-page.
    *ALV Header declarations
      data: t_header type slis_t_listheader,
            wa_header type slis_listheader,
            t_line like wa_header-info,
            ld_lines type i,
            ld_linesc(10) type c.
    Title
      wa_header-typ  = 'H'.
      wa_header-info = 'EKKO Table Report'.
      append wa_header to t_header.
      clear wa_header.
    Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      concatenate  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
       sy-datum(4) into wa_header-info."todays date
      append wa_header to t_header.
      clear: wa_header.
    Total No. of Records Selected
      describe table it_ekko lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'Total No. of Records Selected: ' ld_linesc
         into t_line separated by space.
      wa_header-typ  = 'A'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
           it_list_commentary = t_header
           i_logo             = 'GANESH_LOGO'.
    endform.                    " top-of-page
          FORM user_command                                             *
    -->  R_UCOMM                                                       *
    -->  RS_SELFIELD                                                   *
    form user_command using r_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
      case r_ucomm.
        when '&IC1'.
          if rs_selfield-fieldname = 'EBELN'.
            read table it_ekko into wa_ekko index rs_selfield-tabindex.
            set parameter id 'BES' field wa_ekko-ebeln.
            call transaction 'ME23N' and skip first screen.
          endif.
        when 'ULHAS'.
          if rs_selfield-fieldname = 'EBELN'.
            read table it_ekko into wa_ekko index rs_selfield-tabindex.
            set parameter id 'BES' field wa_ekko-ebeln.
            call transaction 'ME23N' and skip first screen.
          endif.
      endcase.
    endform.
          FORM set_pf_status                                            *
    -->  RT_EXTAB                                                      *
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ZNEWSTATUS'.
    endform.
    *&      Form  build_events
          text
    -->  p1        text
    <--  p2        text
    form build_events.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
       exporting
         i_list_type           = 0
       importing
         et_events             = gt_events[]
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      read table gt_events with key name =  slis_ev_end_of_page
                  into ls_event.
      if sy-subrc = 0.
        move 'END_OF_PAGE' to ls_event-form.
        append ls_event to gt_events.
      endif.
      read table gt_events with key name =  slis_ev_end_of_list
                  into ls_event.
      if sy-subrc = 0.
        move 'END_OF_LIST' to ls_event-form.
        append ls_event to gt_events.
      endif.
    endform.                    " build_events
    *&      Form  build_print_params
          text
    -->  p1        text
    <--  p2        text
    form build_print_params.
      gd_prntparams-reserve_lines = '3'.   "Lines reserved for footer
      gd_prntparams-no_coverpage = 'X'.
    endform.                    " build_print_params
          FORM END_OF_PAGE                                              *
    form end_of_page.
      data: listwidth type i,
      ld_pagepos(10) type c,
      ld_page(10)    type c.
      write: sy-uline(50).
      skip.  write:/40 'Page:', sy-pagno .
    endform.
          FORM END_OF_LIST                                              *
    form end_of_list.
      data: listwidth type i,
      ld_pagepos(10) type c,
      ld_page(10)    type c.
      skip.  write:/40 'Page:', sy-pagno .
    endform.
    *&      Form  build_sortcat
          text
    -->  p1        text
    <--  p2        text
    form build_sortcat.
    wa_sort-spos      = 1.
    wa_sort-fieldname = 'EBELN'.
    append wa_sort to it_sortcat.
    wa_sort-spos      = 2.
    wa_sort-fieldname = 'EBELP'.
    append wa_sort to it_sortcat.
    endform.                    " build_sortcat
    Rewards if helpfull
    regards
    vijay dwivedi

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

  • Check for Oracle Service using a batch

    Hi,
    I am using Oracle XE 10g as the database for my project.
    I have a custom service to be started only if Oracle service is up and running. Currently i am checking for the service as below:
    +:WHILELOOP+
    net start | find /i "oracleservicexe" >nul
    IF not "%ERRORLEVEL%"=="0" GOTO :WHILELOOP
    SLEEP 60
    start javaw -Xmx1024 com.startup.StartServer
    But when i use the above script, the java command for StartServer is called as soon as the service is started; but in reality the Oracle service takes around 30-50 secs to go in to RUNNING state and because of that i get an error when starting my server. "*ORA-01033: ORACLE initialization or shutdown in progress.*" Hence i added that SLEEP 60, to avoid the error, but at times it takes a bit longer than 60 secs then i get the error.
    Can anybody suggest me a better way apply the required check which will not depend on having a wait period and will actually check if Oracle service is actually RUNNING.
    Regards,
    Rahul

    Hello rahul,
    One possible solution to what you are trying to do is to use the Windows command sc like this:
    sc query winmgmt
    SERVICE_NAME: winmgmt
            TYPE               : 20  WIN32_SHARE_PROCESS
            STATE              : 4  RUNNING
                                    (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
            WIN32_EXIT_CODE    : 0  (0x0)
            SERVICE_EXIT_CODE  : 0  (0x0)
            CHECKPOINT         : 0x0
            WAIT_HINT          : 0x0in the above example, I queried the status of the service winmgmt. If you piped the output into some file then used Find to check the status as "4 RUNNING" in some loop, once it gets to RUNNING you could proceed with the rest of the commands.
    I don't use Windows CMD, therefore I cannot provide you more help than the above but, with a little work on your part, you can make this work.
    HTH,
    John.
    PS: whatever loop you choose to check for the running status, be careful with creating an infinite loop if the service fails to start.
    Edited by: 440bx - 11gR2 on Nov 12, 2010 3:20 PM - added the caution about creating an infinite loop in some cases.

  • 403-Forbidden exception for Enterprise Service

    Hi,
    A week back, through SOA Manager I had configured a enterprise service. Everything was looking good. The service was active and I could consume the service (through a SOAP Client)
    Just yesterday, when I tried accessing the service again, I am getting a 403-Forbidden exception. I check the service in SICF (/default_host/sap/bc/srt/xip/sap/...) and its active. I am not sure what changed in the last 2 days. Any tips will be highly appreciated.
    Regards,
    Keerti

    Hi Keerti,
    This error might be due to  not having the proper user roles assigned to the user being used for posting.Please check if
    the service user  have the role SAP_XI_APPL_SERV_USER assigned to it : SU01 -{enter user}->check roles tab-> add the role if not present.
    Also some times it can be a case that the password of the existing user is changed, so make sure you are using correct one.
    check this[603624|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000603624&nlang=E]  also-> check if all the relevant services are active(sap/bc/srt*) , some times i noticed that  the root node will be in active state but some of the child note may be inactive.
    refer http://help.sap.com/saphelp_nwpi71/helpdata/EN/46/d28dfa34bb12bee10000000a1553f7/content.htm
    if you are in DEV environment you can try using the report RSICF_SERVICE_ACTIVATION .
    Best Regards
    Srinivas

Maybe you are looking for

  • Finding proper A/B video switch for the imacs

    I am a new convert and I have 2 imacs that are used at my church. I am currently using one for the video feed to our projectors with the mini DVI to VGA cable. I want to be able to use both imacs, but the imacs are having trouble finding a signal thr

  • Iphoto not uploading to Web Gallery - all photos "pending"

    I added some more photos to my existing Web Gallery folders, plus created a new one by dragging them into the Web Gallery folders. However, they all appear as "pending" and are not appearing on the web. I've stopped / restarted Iphoto and my Macbook.

  • Wait (ms) - NI KnowledgeBase article example

    I am reading http://digital.ni.com/public.nsf/allkb/12B2EA9AD5B265AD86256257004DD8E2 which is suppose to explain the difference between the Wait (ms) function and the Wait Until Next ms function. I am having a hard time understanding the example give

  • Recovery of iPhoto books in iOS 8.0

    How can I recover lost photo books from iPhoto after upgrade to iOS 8.0 on my iPad? Apples offers to migrate pictures from iPhoto to Photo, but why wuold I need that? I have all the pics! What I need is the text, setup and everything I invested well

  • How to use SPI to read from a 12bit external Analog to Digital Converter

    Does anyone know where these docs and vis are for this project?? http://decibel.ni.com/content/docs/DOC-6233 ARM SPI Write Read.vi ARM SPI  Create Configuration Reference.vi etc..etc..