Webservice:get data from SAP ECC

hi,
i want webservice.that webservice will fetch the data from sap ecc system.
i need steps for creating webservice.i have some functionality .what can i expose as webservice.
thanks
raj

Hi Raj,
If we trying to fetch data from SAP ECC system then expsoing as a web service from NWDS (Netweaver Developer studio ) would the best option.First we need to create a Portal Service that invokes the functionalities of the SAP application component( Business solution which uses ECC) using the SAP Java Connector. Then you can create a Web Service from the Portal Service.
If your SAP application component runs on SAP Web Application Server (WebAS) 6.20 or later, then you can directly enable Web Services on the application component by using the application server's native Web Service capabilities.
1. To turn on the WebAS 6.20 SOAP Processor, you need to:
Configure the Internet Communication Framework (ICF) of the WebAS to start the Internet Communication Manager (ICM) and activate the HTTP protocol support
Use transaction SICF to activate the SOAP Runtime Handler: default_host -> sap -> bc -> soap -> rfc.
Once the SOAP Processor is turned on, the RFM-implemented Web Services can be invoked at http://<host_name>:<port_number>/sap/bc/soap/rfc
6.20 also provides a Web Service Browser, which is a BSP web application that can be used to browse all RFM-implemented Web Services in the system, and generate WSDLs for these Web Services.
2. In a WebAS 6.40-based SAP application component, such as SAP Enterprise Core Component (ECC) 5.0, or a WebAS 7.0-based application component, such as ECC 6.0, by default, few Web Services are pre-delivered by SAP. But it is pretty easy to create Web Services in a WebAS 6.40-based system.
Inside-Out Approach: if within the SAP application component there already exist one or several RFMs or BAPIs that suit your needs, you can create Web Services based on them without any additional programming. The basic steps include:
Using the Service Definition Wizard, which can be started from transaction SE80, SE37, or BAPI, to create a (Web) service definition from an RFM, a function group, or a BAPI.
When creating the service, you have the option to rename or hide operations (methods) and parameters, define default values for parameters, and changing parameter types.
After the service definition is created, you need to use transaction WSCONFIG to release the service definition for the SOAP runtime.
Afterwards, by using transaction WSADMIN, you can for any released Web Service, call the Web service homepage which provides utilities for using and testing the Web Service, generate WDSL, configure the logging and tracing settings, and publish the Web Service as a Business Service in an UDDI registry.
Hope these steps are helful to you.
Regards,
Shaila

Similar Messages

  • Getting Data from SAP ECC & BI to Crystal Reports and then Broadcasting.

    Hi,
    I need to get the data from SAP ECC & BI to Crystal reports and then after formating data in Crystal reports, my requierment is to send via email (Broadcasting). Is there any option to  Broadcast from Crystal reports?
    I read Ingo Hilgefort blogs, but I need in detail steps such as to verify Integration Kit is installed or not and also how to create connections in between SAP ECC and Crystal. What are the Security setups(User IDs and Authorizations) involved?
    What is best option for email/broadcasting for Crystal Reports?
    Your help is appreciated.
    Thanks.
    SVK.

    Hi,
    I would suggest you then start with the installation and user guide fr the SAP Integration Kit.
    Ingo

  • Set up for Extraction the data from SAP ECC system

    Hi!
    I would like to analyze the transaction and master data from SAP ECC system into SAP BI system.
    I have created the connection (entry for SAP ECC system) within SAP NetWeaver System.
    Unfortunately when I try to load the transaction data for Info source the process does not end successfully.
    There are no information within SM58 on source system.
    The ST22 does not contain some suitable information.
    Question:
    Which settings do I miss and how can solve my problem?
    (user authorization, etc.)
    Thank you very much!
    regards
    Holger

    Hi!
    many thanks for your reply.
    The error I get:
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source
    Can you please help me to identify the error?
    Thank you!

  • Loading of transaction data from SAP ECC system failed

    Hi!
    I successfully connected SAP ECC system to SAP BI system.
    The following steps have been executed:
    - user ALEREMOTE with max. authorization
    - RFC destination
    - Distributing Data model
    - Generated Partner profile
    - Maintaining message types in WE20
    Now when I try to load any data from SAP ECC system the loading process in hanging in status "yellow" and never comletes.
    [0FI_AR_4|http://www.file-upload.net/view-1447743/0FI_AR_4.jpg.html]
    The following steps within Load process are yellow:
    Extraction (messages): Missing messages
      Missing message: Request received
      Missing message: Number of sent records
      Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings
      Request IDoc : Application document posted (is green)
      Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
      Info IDoc 1 : sent, not arrived ; Data passed to port OK
      Info IDoc 2 : sent, not arrived ; Data passed to port OK
      Info IDoc 3 : sent, not arrived ; Data passed to port OK
      Info IDoc 4 : sent, not arrived ; Data passed to port OK
    Subseq. processing (messages) : Missing messages
        Missing message: Subseq. processing completed
        DataStore Activation (Change Log) : not yet activated
    Question:
    Can some one give me some technical steps (tcode, report) to solve this problem?
    Thank you very much!
    Holger

    Hi!
    Many thanks for your answer.
    Via BD87 on BW system I detect that all the IDOC's (type: RSRQST) will be received from SAP ECC system.
    Via tcode SM58 I could not detect any entries.
    However the loading status from yesterday is set to "red".
    The errors are:
    Extraction (messages): Missing messages
    Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    Info IDoc 1 : sent, not arrived ; Data passed to port OK
    Info IDoc 2 : sent, not arrived ; Data passed to port OK
    Can you investigate my issue again?
    Thank you very much!

  • Transfer of data from SAP ECC 6.0 to E-Recruitment

    Hi,
    We are implementing E-recruitment . SAP ECC and E-Recruitment are running in different servers.How to transfer data from following Infotypes from SAP ECC 6.0 to E-Recruitment .
    IT0002 – Personal Data to 5102 – Candidate Information
    IT0006 – Address Data to 5110 – Address Rule
    IT0105 – Communication Data to 5110 – Address Rule
    IT0022 - Education to 5104 - Education
    IT0023 – Others/Previous Employers to 5103 - Work Experience
    IT0024 - Qualifications to 5105 - Qualifications
    Regards,
    Somi .

    Hello,
    in general IT5103, 5104 and 5105 are not part of the standard distribution model. Without special customer own ALE development you will not be able to transfer these information.
    Check SLG1 - application log for entries.
    did you the initial data upload or did you only transfer changes?
    If you did the initial data transfer be sure the user running the IDOC import has the correct rights. Be sure noone changed the usage of IT0000 STAT2 as e-recruiting expects value 3 for active employees. Furthermore be sure to be informed about the handling of hirings in future.
    If you only wanted to transfer updates. PFAL is not the right way. Be sure you activated the change pointers correctly. Use RBDMIDOC. And be sure to implemet the latest Notes. There had been an error that changes were only processed in e-recruiting if at least IT0000, 0001 and 0002 were changed which resulted in problems when only IT 0006 was updated. In this case the update was not transfered to e-recruiting.
    Best regards
    Roman Weise

  • Loadind data from SAP ECC 6.0 system

    Hi!
    I am about to implement SAP Best Practices scenario "B34: Accounts Receivable Analysis".
    Therefore I load the data from SAP ERP IDES system into SAP NetWeaver 2004s system.
    My problems are:
    when I try to load the transaction data for Infosources 0FI_AR_4 and 0FI_AR_6 from SAP ERP system the following happens:
    the status is getting u201Cyellowu201D (194 from 0 records)
    at the next day the status is getting u201Credu201D and I received the following error:
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    Comment:
    I did not find any entries on "Environment -> Transact. RFC -> In source system"
    The Source system connection EC6CLNT100 is OK
    Can some one help me to solve this problem?
    Thank you very much!
    regards

    Jgen,
    check the t-code BD87 in BW and see if there is any IDOC pending...try to manually execute them.
    Its a connection issues as the IDOC's are not getting exchanged between the system.
    may be you are running out of processes and your job is just waiting.
    check the partner files as well in WE20 and see if everything is OK.
    take the help of your SAP basis team as well.
    Also check whether user ALEREMOTE exists in the source system in R/3 and give him all the authorization.
    check if the authorization objects like S_RFC and B_ALE_REC are assigned to its role.
    Also check if the authorization profile is S_BI-WX_RFC.
    check this thread and check the ALEREMOTE part.
    http://help.sap.com/erp2005_ehp_04/helpdata/DE/ab/4c69f832429f419fa6f216c83dccb0/content.htm
    Ajeet

  • Loadind transaction data from SAP ECC 6.0 system failed

    Hi!
    I have SAP ECC 6.0 IDES system with the following clients:
    100 DEV client
    200 BI client of SAP 6.0
    Now I would like to load the transaction data from InfoSources 0FI_AR_6 and 0FI_AR_4 from SAP ECC client 100.
    The extraction process has been frozen in status "yellow" and after a while changed the status to "red" with the following information
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    The users BWREMOTE and ALEREMOTE seems to be ok and have the suitable authorization.
    The tcode SM58 does not show any entries.
    The tcode BD87 shows that the IDocs was sent (source system) and has been received on target system.
    Question:
    How can I solve my problem?  Please give me some technical information (tcode, report).
    Thank you very much!
    regards

    Walk through your basis set up and  check out
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0751ba5-b7a8-2b10-6d97-e91e85c0fafa
    pts appreciated.

  • Loading data from SAP ECC to DS---Error

    Hi all,
    I am using Abap dataflow for loading data from a table in SAP Application to oracle database. I am getting an error during execution as follows.
    I am using direct download method for transfer of data.need your valuable inputs.

    Hi phaneendranadh kandula,
    Direct Download Method: It will directly transfer the data from SAP Application Server to Client Download Directory.
    Note: It is not recommended because we cannot schedule job and not recommended for large amount of data.
    Data Transfer Methods.
    Data Services with SAP Direct Download Data Transfer Method
    Not Recommended
    We cannot Schedule
    Not recommended for Large Amount of Data
    Data Services with SAP Shared Directory Data Transfer Method
    Recommended
    Secure Method
    Can Handel Large amount of data
    can be executed in Background method
    Data Services with SAP FTP Data Transfer Method
    Recommended
    Secure Method
    Applicable in Multiple OS Environment
    Data Services with SAP Custom Transfer Method
    Recommended
    Highly Secure

  • Fetching Data from SAP ECC to BODS 4.0

    HI,
    I am trying to fetch tables like LFA1 and ADRC into BODS from ECC. I am able to connect to the ECC system from BODS.
    In Data services Designer I go to Datastore and add a new datastore as SAP Applications.
    I am able to connect to ECC using this. After that when I select the datastore and select import by name i get the following error
    Data Services Designer
    Error: Cannot import the metadata table <name=LFA1>.
    RFC CallReceive error <Function Z_AW_RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_MESSAGE- SAP System has status 'not modifiable'[SAP NWRFC 711][SAP Partner 701 ][PET][hicgudb3][BOBJDS][4102]>. (BODI-1112339)
    OK  
    Can you please help me in resolving this.
    What kind of access does the user need to have for fetching data from ECC using BODS
    Thanks in advance.
    Regards
    Sudip.

    Please refer to the [documentation|http://help.sap.com/businessobject/product_guides/boexir4/en/sbo401_ds_sap_en.pdf] that discusses that in quite a lot of detail.

  • Getting Data from SAP BW for Dashboard

    Hello,
    we want to create dashboards that are accessing data from a SAP BW 7.0 system without an EhP.
    I know that with BW 7.0 EhP1 we would be able to access queries directly. But for now we have the BOE 4 server and want to access the data over this software. Which possiblities exist to get the data from BW over the BOE 4 server?
    Thanks in advance,
    André

    Without the minimum requirements, you will not be able to use the BICS web service to retrieve data from BW directly.  In this case, you are limited to creating a Universe from the BEx query and then creating a Live Office or QaaWS connection from that Universe which you can then import to Xcelsius.  Unfortunately there are many layers to this along with some limitations due to processing the query via the MDX engine instead of OLAP.
    BEx>Universe>Live Office/QaaWS>Xcelsius

  • How to get Data from SAP B1 through Journal Entries objects (Excel VBA)

    Hi Genius
    i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Journal entries posted in a particular day through MS excel VBA into excel sheets 1 cell A1:E1
    how i get it if any possible ways to do that
    here my code to login
    Public Sub login()
        Sheets("Login").Select  'access the login tab
        Worksheets("Login").Range("B1").Activate 'put focus on cell B1 (manager)
        B1UserID = Trim(ActiveCell.Value2) 'set Businsss One user
        ActiveCell.Offset(1, 0).Activate
        B1Password = Trim(ActiveCell.Value2) 'set Business One password
        ActiveCell.Offset(1, 0).Activate
        sqluser = Trim(ActiveCell.Value2) 'set SQL user
        ActiveCell.Offset(1, 0).Activate
        sqlpass = Trim(ActiveCell.Value2) 'set SQL password
        ActiveCell.Offset(1, 0).Activate
        Db = Trim(ActiveCell.Value2)      'set Database name
        ActiveCell.Offset(1, 0).Activate
        Server = Trim(ActiveCell.Value2)  'set Server name
        Set company1 = New SAPbobsCOM.Company  'initialate DI company object
        company1.DbServerType = dst_MSSQL2005
        company1.Server = Server
        company1.DbUserName = sqluser
        company1.DbPassword = sqlpass
        company1.CompanyDB = Db
        company1.UserName = B1UserID
        company1.Password = B1Password
        'connect to the database
         lRetCode = company1.Connect
            If lRetCode <> 0 Then
                sErrMsg = company1.GetLastErrorDescription
                MsgBox (sErrMsg)
            Else
                MsgBox ("Connected to: " & company1.CompanyName)
            End If
    End Sub
    pls help me
    advance thanks to solvers

    Gordons way is the easiest - just query the OJDT table for journal entry headers and JDT1 for journal entry lines if needed.
    But if you want to work with the business objects:
    'Journal entry
       Dim oJE As SAPbobsCOM.JournalEntries
       Set oJE = company1.GetBusinessObject(oJournalEntries)
       oJE.GetByKey(1234)
       Dim postingDate as String
       postingDate = oJE.DueDate
    'etc etc

  • PowerPlant passive Oracle dblink to read data from SAP ECC?

    Hello
    We have a third party vendor named PowerPlant that is proposing to integrate with SAP ECC using a passive dblink to pull data into PowerPlant.  This is proposed when SAP ECC is running on an Oracle database.  Presumably this is a read-only connection to the SAP ECC Oracle database (at database level).  Has anyone used this and/or have recommnedations for or against?
    Thank you,
    Harold

    Hi Harold,
    Technically it is possible but, check your Oracle license with the local SAP office. As far as I know that SAP is not permitted 3rd party connections to the database.
    Best regards,
    Orkun Gedik

  • Distributing customizing(control) data from SAP ECC to a non SAP System

    Dear Experts,
    I am currently working on an interface for distribution of different data to a non SAP System. One of these is customizing data (Company code, purchasing org. plant etc). The system expects a file and we shall implemet the following scenario: IDOC>XI>File
    Questions:
    1. Is it possible to use CONDAT Idoc to transfer customizing data to a non SAP System or is this only used for synchronisation of data between SAP Systems?
    2.In case CONDAT cannot be used would you recommend creating a custom table, message type etc. for this case?
    Please advise.
    Thank you so much

    Hi Narasimha,
    We can do this with the help of PI. Please find the below link.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/404ee507-3fbc-2e10-00bc-be90ab28d036?QuickLink=index&overridelayout=true&52239687237174
    Its from SAP PI to any other system.
    Check this link too.. Proxy with Attachments.
    Regards,
    Siva

  • Get Data from SAP over the Business Connector into a Java Programm

    Hallo dear community,
    i would like to receive data from the sap over the application business connector into a java programm. i work with the german book "SAP Business Connector 4.8 - Administration und Entwicklung".
    Now i hand on the routing rule.
    [Screenshot|http://h-2.abload.de/img/routingruleuyt9.png]
    i don't know what i should configure here for receiving data, which i need for an java programm.
    i will be very happy, when somebody got a tip or an source (tutorial) where i can find such a configuration  :wink:

    I think u r writing BDC for Uploading the data from excel flile to sap. for this is the code I am sending u can use then for Uploading data from excel to sap.
    DATA: lv_filename TYPE rlgrap-filename.
    FIELD-SYMBOLS : <fs>.
    DATA : l_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA : l_index TYPE i.
    PARAMETERS : startcol TYPE i ,
          startrow TYPE i ,
          endcol TYPE i ,
          endrow TYPE i .
    PARAMETERS: p_flnam LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam.
      CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       program_name        = sy-repid
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_flnam .
      MOVE p_flnam TO lv_filename.
    Uploading the flat file from the desktop
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                      = lv_filename
          i_begin_col                   = startcol
          i_begin_row                   = startrow
          i_end_col                     = endcol
          i_end_row                     = endrow
        TABLES
          intern                        = l_intern
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT l_intern BY row col.
      LOOP AT l_intern.
        MOVE l_intern-col TO l_index.
        ASSIGN COMPONENT l_index OF STRUCTURE itab TO <fs>.
        MOVE l_intern-value TO <fs>.
        AT END OF row.
          APPEND itab.
          CLEAR itab.
        ENDAT.
      ENDLOOP.
    I hope it will help u.
    Regards
    Nayan

  • Extracting LTP (Long Term Planning) Data from SAP ECC to SAP BW

    Hello all
    Here is the task in hand. There is a standard report that Production Planners execute post their MRP/LTP runs. This report can be accessed through T-code "MCB)". The program in action is RMCB1200. I tried looking for any standard extractors but to no avail. I would be fine to know either or both of the following:
    An extractor
    All the primary tables involved ( I have found a few tables through the program but a list by some expert will help me understand that I have not missed anything significant)
    Also, if anyone has done this before, how was your experience with the extraction in terms of extraction volume and performance.
    Regards
    Gajendra

    After further digging, here is some information that I found out.
    T-code
    Program
    BADI
    MSEX
    RMDMRPEXTRACT02
    MD_SR_LIST_EXTRACT
    This could possibly provide the data required. The program can be scheduled and the output can be managed by SPRO settings for Extraction Mode. I am running tests to confirm if it provides me the correct information and matches with MCB) output.
    Here are some tables, just for reference:
    LTP Tables: PLSC, PBHI, PLPT, MDTP, PLPR, PLPB
    MRP Records:
    MDKP
    MRP Document Header Data
    MDTB
    MRP Table Structure (no data)
    PLSC
    Planning Scenario (Long-term Planning)
    MDFD
    MRP Firming Dates
    MDVM
    Planning File Entries
    S094
    LIS -- Stock/Requirements Analysis

Maybe you are looking for