BAPI monitoring

HI experts In file business req I developed scenario like JDBC--XI--R/3(RFC).
In my scenario data is send to R/3 using BAPI(RFC) from XI using receiver RFC adapter.
So How Can I check whether data is saved or not in R/3 Database.
How we can see the BAPI list in R/3 as like WE05 for IDoc at R/3 system.
Thanks

HI,
You could monitor the processing with XI Monitoring tools RWB (Runtime Workbench) & SXMB_MONI.
Here if you get the successful status then you cna check in SM58 if there is any error generated on XI side as well as on R/3 side.
This will give you the confirmation about successful execution of BAPI on R/3 side. If in case you get any message in SM58 it means there was some problem with BAPI while executing.
Even you can use rscrm_bapi > select a query to schedule > monitor for monitoring the BAPIs
Refer
Transaction for RSCRM_BAPI monitor
Thanks
Swarup

Similar Messages

  • BAPI for updating infotype 0019 - Date Monitoring

    Hi,
    Does anyone know if there a BAPI for creating/updating infotype 0019 - Monitoring of Dates?
    Many thanks,
    Paul

    Hi Paul,
    1. HR_INFOTYPE_OPERATION
       This is the FM (for all infotypes, even 0019)
    2. If u want something like BAPI (RFC Enabled),
       what u can do is that
      create a new Z Fm,
      and call the FM
    HR_INFOTYPE_OPERATION
    in this.
    regards,
    amit m.

  • Whether any bapi is available or not for infotype 0019(monitoring of dates)

    Dear abapers,
    can u plz guide me whether any bapi is available or not for infotype 0019(monitoring of dates)
    i need to upload data from the text file to sap with the following fields.
    *Pers No.     *
    *Task Type     *
    *Date Type     *
    *Processing Indicator     *
    *Reminder date     *
    *Lead/follow-up time     *
    *Lead/follow-up time     *
    Comments
    regards,
    manoj

    Hi,
    Use this FM HR_INFOTYPE_OPERATION
    Regards,
    Shan

  • How to monitor messages at BAPI side of integration scenario

    Hi all,
    In scenarios like Soap -> Abap proxy (XI Adapter), I can monitor both sender and receiver messages on sxmb_moni (on XI side and on ECC side). When the scenario is Soap -> BAPI (RFC Adapter), how can I see the messages in the ECC side?
    thanks!
    roberti

    Hi,
    If it is an RFC so it resides at JAVA STACK so u cant see the message at ECC end,Proxy and IDOC u can see there message at ECC side they are on ABAP Stack,u can only see message in SXMB_MONI and in RWB for RFC Adapter.
    Regards,
    Phani
    Reward points if Helpful

  • BAPI for Alert Monitor

    Hi all
    I was looking out for a BAPI (after runnning) which would extract me the alerts that are generated either in DP or SNP and view the same as a report. Would request your help on this.
    Thanks in advance
    regards
    Vinay

    I dont think you require a BAPI. You can directly interrogate table /SAPAPO/AM_ALERT and get the alerts based on various parameters.

  • No Connection btw JCAPS 5.1.2 and SAP ECC 6.0 whle creatining SAP/Bapi OTD

    Hello.
    We have the following problem trying to build SAP BAPI/RFC OTD.
    1) JCAPS 5.1.2. SAP ECC 6.0. Jco version 2.1.7 (also tried 2.1.8, 2.0.12 with the same result). All steps were done according to SAP BAPI/ALE eWays user guides and readmes
    2) SAP client already installed and worked ok on the same host as the JCAPS
    3) It looks like the problem is in JCo. It seems like doesn't react when we trying to connect to SAP during creation of BAPI/RFC OTDs at design time.
    Error message: partner not reached
    ERRNO 10060
    All ports are open and no restrictions imposed on JCAPS server. There are no connection log entries on SAP router host.
    4)We tried to run sample Project which goes with eway, and the following entries in logical host log file were found:
    [#|2007-06-12T11:35:13.171+0600|WARNING|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|SAPConnector.isConnect(): JCO Client is null|#]
    [#|2007-06-12T11:35:13.296+0600|INFO|IS5.1.2|STC.eWay.framework.management.com.stc.connector.management.util.Alerter|_ThreadID=17; ThreadName=Worker: 5;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmBAPIOutbound_jcdFlightGetList, project: prjBAPIOutbound, component: eaSAPBAPI, deployment: dpBAPIOutbound, environment: envTest, logicalhost: LogicalHost1, integration server: IntegrationSvr1 ], monitor: ObjectReference [ name: SeeBeyond:GUID={70010000-D247521E130100-AC14015A-01},Name=prjBAPIOutbounddpBAPIOutbound|prjBAPIOutbound|dpBAPIOutbound|cmBAPIOutbound_jcdFlightGetList_eaSAPBAPI ], alert message: No connection established to SAP R/3 for user $$$$$$ on host $$$$$.|#]
    [#|2007-06-12T11:35:13.312+0600|WARNING|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|SAPConnector.isConnect(): JCO Client is not connected.|#]
    [#|2007-06-12T11:35:34.781+0600|INFO|IS5.1.2|STC.eWay.framework.management.com.stc.connector.management.util.Alerter|_ThreadID=17; ThreadName=Worker: 5;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmBAPIOutbound_jcdFlightGetList, project: prjBAPIOutbound, component: eaSAPBAPI, deployment: dpBAPIOutbound, environment: envTest, logicalhost: LogicalHost1, integration server: IntegrationSvr1 ], monitor: ObjectReference [ name: SeeBeyond:GUID={70010000-D247521E130100-AC14015A-01},Name=prjBAPIOutbounddpBAPIOutbound|prjBAPIOutbound|dpBAPIOutbound|cmBAPIOutbound_jcdFlightGetList_eaSAPBAPI ], alert message: Connection to SAP R/3 failed for user $$$$$$ on host $$$$$$.|#]
    [#|2007-06-12T11:35:34.781+0600|SEVERE|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|Unable to initialize SAP R/3 Client Connection|#]
    Any help is appreciated

    Hi Yermek.
    I guess you are placed and set all jars relates to bapi/rfc.
    You need to pass atleast one parameter from jcd which will initiates the BAPI connection.
    i.e atleast from jcd you need to send a request.
    Hope it will work...
    Thanks,
    M.P.Rao.

  • How to put the message in sxi_monitor when call a bapi

    hi experts,
    I call a bapi in my abap program, and I want to put some information of this program into the xml messages,then I can monitor in future, but I don't know how to do this.
    Thanks.

    I'm still waiting for the answer.  anyone will help me?
    thanks.

  • Getting error while calling two BAPIs

    Dear ABAPers,
    I'm stuck into a problem.
    I have a situation where I'm using BAPI, WS_DELIVERY_UPDATE to update a delivery.
    Then after this I have post a GR so for that I'm using BAPI_GOODSMVT_CREATE.
    Now my problem is when I'm calling BAPI_GOODSMVT_CREATE it gives me an error
    "CODE is not supported by BAPI2017_GOODSMVT_CREATE". I check my code thoroughly, but didn't find anything in that
    which was wrong.
    Again, if I try to do the same, in debugging mode, its processes me in the way it should, without any error.
    Also, If I use a hard coded DELAY of 2 mins, in my program after WS_DELIVERY_UPDATE, it again processes perfectly.
    Now I've put COMMIT AND WAIT and FM DEQUEUE_ALL after WS_DELIVERY_UPDATE, but still not working, and this I'm getting
    error from BAPI_GOODSMVT_CREATE - "No Items Transfered".
    Please help me sort this issue.
    Regards,
    Varun

    Hi varunchopra,
    the SAP documentation is not 100 % clear here: They say, with COMMIT WORK all high-priority ("VB1") update function modules are executed in the order of their registration and in a shared database LUW.  With WAIT addition, the calling program will continue after the update work process has executed the VB1 function modules.
    Probably BAPI_WS_DELIVERY_UPDATE will also trigger one or more VB2 update functions that will keep the objects locked.
    Ten years ago we used this code in a similar situation to wait for the update task for a material being changed:
    FORM WAIT_UPDATE.
      USING P_MAX_WAIT_SECONDS TYPE I
      CHANGING P_SUBRC LIKE SY-SUBRC.
      DATA:
      L_ENDTIME LIKE SY-UZEIT,
      L_TABIX LIKE SY-TABIX,
      L_TRIES TYPE I,
      L_SUCCESS LIKE SY-SUBRC,
      L_ANSW TYPE C,
      L_TRY_AGAIN LIKE RMCLS-XFLAG VALUE 'X'.
      GET TIME.
      L_ENDTIME = SY-UZEIT.
      ADD P_MAX_WAIT_SECONDS TO L_ENDTIME.
      WHILE L_TRY_AGAIN = 'X'.
        LOOP AT ITAB.
          PERFORM CHECK_LOCK_EMMARCE
            USING ZAUF-WERKS ITAB-MATNR CHANGING P_SUBRC.
          GET TIME.
          IF P_SUBRC <> 0 OR SY-UZEIT >= L_ENDTIME.
            EXIT.                          "Loop
          ENDIF.                           " sy-subrc = 0.
        ENDLOOP.                           " AT itab.
        IF P_SUBRC = 0.
          CLEAR: L_TRY_AGAIN.
        ELSE.
          IF SY-UZEIT >= L_ENDTIME .
            PERFORM POPUP_TO_CONFIRM_WAIT
              USING P_MAX_WAIT_SECONDS CHANGING L_ENDTIME P_SUBRC.
            IF P_SUBRC <> 0.
              CLEAR L_TRY_AGAIN.
            ELSE.
              CLEAR P_SUBRC.
            ENDIF.                         " p_subrc <> 0.
          ENDIF.                           " sy-uzeit >= l_endtime.
        ENDIF.                             " p_subrc = 0.
      ENDWHILE.                            " l_try_again = 'X'.
    ENDFORM.                               " WAIT_UPDATE
    The coding of CHECK_LOCK_EMMARCE was derived from SM12 lock overview and used FUNCTION 'ENQUE_READ'. Today I would just try to lock the object with ENQUEUE function - if you get foreign lock error, the updatze task lock is not yet released.
    Monitor SM12 during test run to identify which lock object  must be checked.
    The you have to decide: If you put a WAIT UP TO 1 SECONDS in the wait loop, you may lose up to 1 second per delivery. If you just LOOP until the locks are released you may put some non-necessary load on the machine.
    This way will be faster than any unconditional wait - which may sometimes not be long enough.
    Regards,
    Clemens

  • Customer Master Data via a Bapi/ALE

    Hello All. I am new to this forum. I have a couple of questions.
    What I am trying to do: I have to interface to SAP with Websphere Message Broker which has inbuilt nodes to interface with SAP using BAPI or ALE to send Customer Master Record (create/update/delete)
    The questions I have:
    1/ Has anyone done this? What did you use BAPI or ALE?
    2/ When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    Thank you

    Hi,
    1/ Has anyone done this? What did you use BAPI or ALE?  ->USE ALE.
    2>When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    Yes u can view the idoc in WE02/WE05 (Idoc monitoring)
    3>3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    When u ase IDOC for customer , the basic type is DEBMAS05..Goto WE60, specify the basic type as DEBMAS05(latest) and then u have the all the segments , fields used with doucmentation.
    Regards,
    Nagaraj

  • BAPI vs IDOC in creating Sales Order

    Hi Gurus,
    Good day!
    I would like to seek for your expertise to assess the advantages and disadvantages of using IDOC vs BAPI in creating sales orders?
    Overview of the requirement:
    Sales Orders are automatically created via idoc but we are planning to redesign the process by using BAPI. However, there are concerns when using a BAPI such as.
    1. Error handling/monitoring
    2. reprocess of failed creation of orders
    Thank you in advance.

    Hi Sai Sai,
    those are exactly the disadvantages.
    If you were using other middleware like SAP XI then you would have a place to monitor communications and reprocess messages, so you could use BAPI.
    But if you don't you'd had to create that mechanism in SAP or move that responsibility to your partners.
    BAPIs are useful for online SAP programs but if you require a background process with a maintenance infrastructure then you are better served with IDOCs.
    regards,
    Edgar

  • Verifying BAPI posting in SAP R/3

    Hi experts,
                    I am using async RFC (BAPI)  in my scenario. The message has left XI sucessfully, but I do not know whether my BAPI has been posted in SAP.
    Is there any way to find out whether a RFC call has been made in SAP R/3.
    Thanks in Advance.

    Check Comm Channel Monitoring in XI. If no error,then from a XI perspective things look good.
    To check if the BAPI got processed in R3, you will have to check ST22 for any dumps from your BAPI call. Also check the functionality of the BAPI and check if the end result is done. Normally this will be done by the Application Team / Functional Consultant.
    Regards
    Bhavesh

  • How  can i use this BAPI (BAPI_SYSTEM_MS_GETLIST)

    HI Experts ,
                       i am working on ccms Mointoring to fetch data to third party .Trying to get some values from BAPI (BAPI_SYSTEM_MS_GETLIST ) i have provided  External User name = 'xxxxxxx'.  i am getting an error saying that Not logged on to Interface XAL .Can anyone provide me guide line how to use it  this BAPI?

    Hi,
    check for all this parameter.
    Short Description:  Reads all saved monitor sets
    BAPI Object  :SystemMonitorSet
    BAPI Method  :GetList
    Function
    You can determine the names of all existing monitor sets using this method. Using these names, you can then determine the names of the monitors that exist in each of the sets.
    Parameters (Import)
    EXTERNAL_USER_NAME
    Name of the user in the external system that initiated the method call
    Parameters (Export)
    MONITOR_SETS
    Table with the names of the existing monitor sets (Structure BAPIMSNAME, that consists of only the component NAME)
    RETURN
    Structure BAPIRET2 with the return values from the method call
    Exceptions
    MSG_EXT_USER_MISSING MSG_CANT_LOG MSG_NOT_LOGGED_ON MSG_NO_MONITOR_SETS_FOUND MSG_UNKNOWN_PROBLEM
    RFC Interface
    function BAPI_SYSTEM_MS_GETLIST
    importing
    EXTERNAL_USER_NAMElikeBAPIXMLOGR-EXTUSERtypeRFC_CHARlength16
    exporting
    RETURNstructureBAPIRET2length552numberoffields14
    tables
    MONITOR_SETSstructureBAPIMSNAMElength60numberoffields1
    exceptions
    Check your monitor sets.

  • Any existing BAPI that can be wrapped and exposed as a web service ???

    Hi ,
    I am designing PI Collaboration Platform and that all about Monitoring across SAP ECC, SAP PI and Non-SAP applications.
    BUSINESS CASE: Some clients are  looking for a solution that allows there management some visibility into the end-to-end aspect of processes, we will limit our discussion to SAP ECC and PI.
    SOLUTION: BAM ultimately helps solve this problem at an enterprise level - however that is a heavy investment for most organizations - is there an alternative that we can provide ? Example a generic web service that can be invoked from a 3rd party tool to provide reports.
    We do have solution :
    We can configure Proxy adapter and can write Java web service to invoke a method to extract the data from ECC and one or more report generating methods based on the standard ( like PDF,EXCEL etc)
    but we are still looking  for an existing BAPI that can be wrapped and exposed as a web service ????
    Need solution for the above ?

    Hi Sanjay,
    Yes  BAM  has a bigger take, if you are looking for PI monitoring reports  then please have a look at the following blogs which might
    give you some insight.this basically deal with reading data from SXMB_MONI tables.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/909760cb-0ec8-2a10-4a96-ee8417acfbc9
    http://wiki.sdn.sap.com/wiki/display/Snippets/PIMonitoringFunctionality-FetchingDatafromSXMB_MONIStandardTables-PartI
    i dont think there is any BAPI as such atleast wrt to PI.
    Best Regards,
    Srinivas

  • End to End Monitoring

    Hello,
    I have implemented this scenario :
    "Flat file ->mapping->BPM (for calling a bapi)->mapping->Flat file" and when i use the message monitoring sometimes end-to-end monitoring is available and sometimes not, Why ??? Is there a specific configuration for enable end-to-end monitoring in any case ?
    Regards
    Vincent

    Hi,
    What error do you get ? I consistently get this error :-
    Service cannot be reached
    What has happened?
    URL http://axonlabs11.axonlabs.co.uk:8000/sap/bc/bsp/sap/spi_monitor/monitor.do call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XI3 with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:axonlabs11_XI3_00-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    Kind regards
    Colin.

  • Calling a Bapi on XI ABAP stack

    Hi to all,
    I have to call a Bapi defined on XI ABAP stack. I want to use a synchronous scenario in which my sender channel uses a File Adapter. The Bapi that I have to call is defined on the same SAP XI, then I don't know if my receiver channel has to use a RFC Adapter or an XI Adapter. If I use a RFC Adapter, I don't see any message in Message Monitoring. Instead, if I use the XI Adapter as Receiver, I get this error:
    HTTP response contains status code 401 with the description Unauthorized Error when sending by HTTP (error code: 401, error text: Unauthorized)
    Thanks to all!

    <i>I don't know if my receiver channel has to use a RFC Adapter or an XI Adapter</i>
    No XI Adapter configuration required. Use RFC adapter
    <i>
    I want to use a synchronous scenario</i>
    Synchronous scenario using file adapter can be achieved using BPM. A workaround would be
    File - RFC - File without a BPM - Possible from SP 19.
    Regards,
    Prateek

Maybe you are looking for