How to trace BAPI access by Websphere Broker WICS

Hello experts,
An external middleware-like application is calling SAP using rfc to create documents in SAP.
The 1st BAPI was called successfully but the 2nd BAPI at step 4 seems not able to complete.
I was trying to check what is happening to this 2nd BAPI in SAP but could not find much about this sap id used for
the communication and data processing.
When this user logs on to SAP, I could not see what it is doing. Where should I look for traces of this user to find out what is wrong with the 2nd BAPI?
I could not find this sap id in sm50. What I could see is a user sapsys sequential reading ARFCSTATE table. But when I query this table with this sap id, I could find no records. I read the wp trace but not sure if the trace is for the sap id since this id is not reflected in it.
The only way I could think of is st01 tracing. Pls advise if this is correct or is there a better way to trace BAPI and the state of its execution to find out what is going on or errored.
Would greatly appreciate your help.
Regards,
Pascal

Hi SDN Gurus,
Appreciate if a basis expert can give me some advice. Is it possible to find out at which point is the BAPI having problem?
The external program also has an rfc trace but it shows nothing since the BAPI is running in SAP and the status of the BAPI run is unknown to the external system. From SAP, how can I know what is happening or at which point is the BAPI run stuck?
Regards,
Pascal Spinelli

Similar Messages

  • How to trace session(3rd paty application) accessing oracle

    Solaris 9
    oracle 9i and 10g
    I would like to know how to trace session which is 3rd party application currently running .
    I need to collect statisctics for currently running session.
    Thanks.
    Message was edited by:
    user539835

    See this thread:
    Re: SQL_TRACE help to newbie in oracle
    Search the forum and you will also see how to manually decode most of the trace file.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • How to trace users

    HI,
    Did any body know : how to trace users who are logging into sap system i.e ( I want to see 10 days before i.e on 17th day of january.. I want to see users who are logged in sap system.
    Thanks
    Jhony

    Hi,
    So, I was supposed to guess that you are using SAP R/3 4.0b ?
    Please, think about the needed information that you need to provide with your questions...
    Sorry, but I don't have anymore access to such an old release of R/3 and don't remember where you get the info.
    Regards,
    Olivier

  • How to trace a program in TOAD

    Hi,
    Can any person tell me how to trace a tabel be called by which program/programs in TOAD? Or how to realize it ?
    Thanks a lot
    LC

    Hi,
    If you are having the access to the dba module funtion in TOAD, Then you can copy the Synch Script and use that script in Sql editor of Toad or even Sql*plus and execute that. You will get the desired result. but If you dont have access to DBA module , that script only be read only or you can say View only.
    Regards,
    Navneet

  • Dataloss in network... How to trace it..?

    Hi,
    Though this question is related to SAP XI and SMICM trace, I feel this question can also be answered by people in WebAs General, so i am posting this in this forum.
    In my current scenario where SAP XI system pushes data to another system(ABC system) using HTTPS connection. I have set up an RFC destination of Type G to connect to the external system.
    When i do a Test connection, i see in SMICM log file, i found that connection established, request message written into ABC system.When response is being written i could find BINDUMP of content denied in the SMICM log file. What does that exactly mean..?
    Also When i contacted the other party--ABC, they have told that they could not see any messages in their system.
    XI shows successfully processed and ABC system did not receive the message... So where did the data go?? I have no clue :-(( Need your inputs in this regard. How to trace if the message has been successfully posted by XI. Below is the SMICM log file.
    [Thr 5880] IcmConnConnect: direct connect to www2.ABC.com:443
    [Thr 5880] nihsl-getHostAddr: found hostname '.www2.ABC.com' in cache
    [Thr 5880] nihsi-getHostAddr: hostname '.www2.ABC.com' = addr 16.256.48.91
    [Thr 5880] nihsi-getServNo: servicename '443' = port 01.BB/0443
    [Thr 5880] NiCreateHandle: state hdl 23 / socket -1 NI_INITIAL
    [Thr 5880] NiIBlockMode: switch off block-mode for hdl 23 / socket -1
    [Thr 5880] NiLowLevCon: connect to: host 16.256.48.91, port 01.BB/0443, fam 2 (low adr..high adr)
    [Thr 4532] [Thr 4532] NiISelect: fds in write-mask: [Thr 5880] NiIInitSocket: set default settings for socket 65268
    [Thr 5880] NiISocket: hdl 23 got socket 65268
    [Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode
    [Thr 4532]
    [Thr 5880] NiPConnect: connect in progress
    [Thr 5880] SiPeekPendConn: connection of socket 65268 established
    [Thr 5880] NiLowLevCon: took local port 10.1B/4123
    [Thr 5880] nilh-localCheck: using local address list
    [Thr 5880] NiSetStat: state hdl 23 NI_CONNECTED
    [Thr 5880] ->> SapSSLSessionInit(&sssl_hdl=015BC3DC, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
    [Thr 5880] <<- SapSSLSessionInit()==SAP_O_K
    [Thr 5880] in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
    [Thr 5880] out: sssl_hdl = 19193D20
    [Thr 5880] ->> SapSSLSetNiHdl(sssl_hdl=19193D20, ni_hdl=23)
    [Thr 5880] IcmPlCheckRetVal: Next status: WRITE_REQUEST(3)
    [Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 5880] MPI<12ee>0#7 GetInbuf 5 1489e0 2179 (1) -> 6
    [Thr 5880] NiPBlockMode: set socket 65268 to NONBLOCK mode
    [Thr 5880] NiPSockGetStatus: socket 65268 ok, no data pending
    [Thr 5880] NiPBlockMode: set socket 65268 to BLOCK mode
    [Thr 5880] IcmReadFromPartner(id=0/4693): fe-nihdl timeout
    [Thr 5880] PlugInHandleServData: role: 2, status: 3, content-length: 0/0
    buf_len: 2127, buf_offset: 0, buf_status: 6
    [Thr 5880] HttpParseRequestHeader: content length: 1805
    [Thr 5880] HttpParseRequestHeader: no transfer-encoding set
    [Thr 5880] HttpParseRequestHeader: Version: 1000
    [Thr 5880] HttpParseRequestHeader: Keep-Alive: 0
    [Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)
    [Thr 5880] IcmHandleNetWrite(id=0/4693): HandleServData returned: 2
    [Thr 5880] BINDUMP of content denied
    [Thr 5880] IcmWriteToConn(id=0/4693): prepared to write data to partner (len = 2127)
    [Thr 5880] ->> SapSSLWrite(sssl_hdl=19193D20, buf=061F8A74, len=2127, timeout=2000, &writelen=123EFF24)
    [Thr 5880] <<- SapSSLWrite(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] result = "written= 2127 of 2127 (all)"
    [Thr 5880] IcmWriteToConn(id=0/4693): wrote data to partner (len = 2127)
    [Thr 5880] MPI<12ee>0#8 FreeInbuf#1 0 1489e0 0 -> 0
    [Thr 5880] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 5880] IcmReadFromConn(id=0/4693): request new MPI (0/0)
    [Thr 5880] MPI<12ed>1#4 GetOutbuf -1 1489e0 65536 (0) -> 061F8A40 0
    [Thr 5880] ->> SapSSLRead(sssl_hdl=19193D20, buf=061F8A74, maxlen=65483, timeout=500, &readlen=123EFEE8)
    [Thr 5880] Fri Dec 02 08:59:10 2005
    [Thr 5880] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] result = "max=65483, received=8036"
    [Thr 5880] IcmReadFromConn(id=0/4693): read 8036 bytes(timeout 500)
    [Thr 5880] BINDUMP of content denied
    [Thr 5880] PlugInHandleNetData: role: 2, status: 1, content-length: 0/-1
    buf_len: 8036, buf_offset: 0, buf_status: 0
    [Thr 5880] PlugInHandleNetData: read response header
    [Thr 5880] HttpParseResponseHeader: no transfer-encoding set
    [Thr 5880] HttpParseResponseHeader: Version: 1000
    [Thr 5880] HttpParseResponseHeader: Keep-Alive: 0
    [Thr 5880] PlugInHandleNetData: more data to read
    [Thr 5880] PlugInHandleNetData: need more data (7936/12484)
    [Thr 5880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)
    [Thr 5880] IcmHandleNetRead(id=0/4693): read_len: 8036, HandleNetData returned: 2
    [Thr 5880] IcmHandleNetRead(id=0/4693): status 2 -> 2
    [Thr 5880] ->> SapSSLReadPending(sssl_hdl=19193D20, &pendlen=123EFF1C)
    [Thr 5880] <<- SapSSLReadPending(sssl_hdl=19193D20)==SAP_O_K
    [Thr 5880] out: pendlen = 0
    [Thr 5880] IcmHandleNetRead(id=0/4693): pending SSL data: 0, rollout=1
    [Thr 5880] nihsl-getHostAddr: found hostname 'localhost' in cache
    [Thr 5880] nihsi-getHostAddr: hostname 'localhost' = addr 127.0.0.1
    [Thr 5880] NiIDgSend: re-connect dgram to: host 127.0.0.1, port FD.E6/64998, fam 2 (low adr..high adr)
    [Thr 5880] IcmConnRollOut: connection (id=0/4693) rolled out:
    [Thr 5880] CONNECTION (id=0/4693):
    used: 1, role: 2, stateful: 0
    NI_HDL: 23, protocol: 2
    host: www2.ABC.com:443
    status: READ_RESPONSE
    connect time: 02.12.2005 08:59:08
    WP-status: ROLLED IN (Context: 0, Role: 2)
    tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE
    MPI request: <12ee> MPI response: <12ed>
    request_buf_size: 2127 response_buf_size: 65484
    request_buf_used: 2127 response_buf_used: 8036
    request_buf_offset: 0 response_buf_offset: 0
    [Thr 4852] NiBufSelect: Postprocessing...
    [Thr 4852] NiBufSelect: returning 1 clients
    [Thr 4852] NiSelNext: returning hdl 5, r--, 00000000, rest 0 entries (0164FEF0)
    [Thr 5880] IcmWorkerThread: Thread 6: Waiting for event
    [Thr 4852] NiIPeek: peek successful for hdl -1 / socket 65588 (r)
    [Thr 4852] NiIDgReceive - WAKEUP DGRAM received from:
    host 127.0.0.1, port 07.B0/1968, fam 2 (low adr..high adr)
    [Thr 4852] NiIPeek: peek for hdl -1 / socket 65588 timed out (r; 0)
    [Thr 4852] IcmWatchDogThread: dg received
    [Thr 4852] IcmWatchDogUpdateRollQueue(id=0/4693): insert fe-nihdl 23, flags=1
    [Thr 4852] NiSelSet: hdl 23, r-, 01679D50
    [Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)
    [Thr 4852] NiBufSelect: Preprocessing...
    [Thr 4852] NiISelect: timeout 10000 ms
    [Thr 4852] NiISelect: maximum fd=65757
    [Thr 4852] NiISelect: fds in read-mask: [Thr 4852]
    [Thr 4852] NiISelect: fds in write-mask: [Thr 4852]
    [Thr 4852] NiBufSelect: Postprocessing...
    [Thr 4852] NiBufSelect: returning 1 clients
    [Thr 4852] NiSelNext: returning hdl 23, r--, 01679D50, rest 0 entries (0164FF00)
    [Thr 4852] IcmWatchDogThread(id=0/4693): nihdl 23 - data received(read)
    [Thr 4852] NiSelClear: removed hdl 23 from selectset
    [Thr 4852] IcmQueueAppend: Queuelen: 1
    [Thr 4852] IcmCreateRequest: Appended request 8369
    [Thr 4852] IcmConnRollIn: connection (id=0/4693) rolled back to status: READ_RESPONSE
    [Thr 4852] IcmWatchDogThread: check ni handles (timeout=10000)
    [Thr 4852] NiBufSelect: Preprocessing...
    [Thr 4852] NiISelect: timeout 10000 ms
    [Thr 4852] NiISelect: maximum fd=65757
    [Thr 4852] NiISelect: fds in read-mask: [Thr 4152] IcmWorkerThread: worker 3 got the semaphore
    [Thr 4152] REQUEST:
    Type: READ_RESPONSE Index = 8368
    [Thr 4152] CONNECTION (id=0/4693):
    used: 1, role: 2, stateful: 0
    NI_HDL: 23, protocol: 2
    host: www2.ABC.com:443
    status: READ_RESPONSE
    connect time: 02.12.2005 08:59:08
    WP-status: ROLLED IN (Context: 0, Role: 2)
    tid: 15, mode: 0, uid: 746, roll-reason: ICM_ROLL_NONE
    MPI request: <12ee> MPI response: <12ed>
    request_buf_size: 2127 response_buf_size: 65484
    request_buf_used: 2127 response_buf_used: 8036
    request_buf_offset: 0 response_buf_offset: 0
    [Thr 4152] ->> SapSSLRead(sssl_hdl=19193D20, buf=061FA9D8, maxlen=57447, timeout=500, &readlen=10BEFEE8)
    [Thr 4852]
    [Thr 4852] NiISelect: fds in write-mask: [Thr 4852]
    [Thr 4152] <<- SapSSLRead(sssl_hdl=19193D20)==SAP_O_K
    [Thr 4152] result = "max=57447, received=4548"
    [Thr 4152] IcmReadFromConn(id=0/4693): read 12584 bytes(timeout 500)
    [Thr 4152] BINDUMP of content denied
    [Thr 4152] PlugInHandleNetData: role: 2, status: 2, content-length: 7936/12484
    buf_len: 12584, buf_offset: 8036, buf_status: 0
    [Thr 4152] PlugInHandleNetData: read response body (len=12484/12484)
    [Thr 4152] PlugInHandleNetData: response completely read(EOS=0)
    [Thr 4152] IcmFlushBuf: Flushing 12584 Bytes, buf_status: 6
    [Thr 4152] flush buffer with mpi buffer id 1
    [Thr 4152] MPI<12ed>1#5 FlushOutbuf l1 1 1 1489e0 12636 6 -> 061F8A20 0
    [Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 4152] PlugInHandleNetData: close connection
    [Thr 4152] IcmPlCheckRetVal: Plugin retval: PLUGIN_RET_CLOSE (-702)
    [Thr 4152] IcmHandleNetRead(id=0/4693): read_len: 4548, HandleNetData returned: -702
    [Thr 4152] IcmConnRollInWP: no need to roll in WP status: ROLLED IN
    [Thr 4152] PlugInStopConn: role: 2, error: 0, write_err: 1
    [Thr 4152] ->> SapSSLSessionDone(&sssl_hdl=015BC3DC)
    [Thr 4152] <<- SapSSLSessionDone(sssl_hdl=19193D20)==SAP_O_K
    [Thr 4152] NiICloseHandle: shutdown and close hdl 23 / socket 65268
    [Thr 4152] IcmConnClose: Connection 0/4693 closed
    [Thr 4152] IcmConnFreeContext: context 0 released
    [Thr 4152] IcmServDecrRefCount: intersrv.afdb.local:443 - serv_ref_count: 1
    [Thr 4152] IcmWorkerThread: Thread 3: Waiting for event
    Cheers,
    Siva Maranani

    SMICM with trave level3 is the only way(i know) to trace whether the message has left XI server or not.

  • How do I share access to Dreamweaver with a colleague of mine in a separate location?

    How do I share access to Dreamweaver with a colleague of mine in a separate location?
    I currently have DW loaded onto my desktop. I am presuming that if my colleague wants to get access to it, I have to copy the DW files I've created and put them onto the creative cloud connection. If that is the answer, How do I do that?
    My colleague has already downloaded DW onto his computer - he just can't see the files that I've created, even though I am making sure that my version of DW is always closed when he accesses his version.
    Any help gratefully received
    Jamie

    It is against the standard Dreamweaver license for your colleague to be using your license. Your colleague needs his license.

  • User Management - How to submit Additional Access Request on behalf of employee

    User Management - how can we configure "Access Requests" so that Managers can submit Additional Access Requests, or Initial Access Requests on behalf of employee?
    Have looked at "Manage Proxies" but this seems to allow access to everything - not ideal
    Please assist with knowledge and/or experience
    Many Thanks
    Me

    Additional Access Request Registration Process is complete
    Giving access to User Management to users is not an option.
    What I would like is the scenario below - is this achievable?
    When employee goes to iProcurement > Preferences > Access Requests > Request Access | they can submit an access request on behalf of themselves.
    Would like an option where a manager, navigates to same UI as above, has option to choose a subordinate, and request additional access on their behalf
    The table UMX_REG_REQUESTS has columns REQUESTED_FOR_USER_ID & REQUESTED_BY_USER_ID - so it seems they don't have to be same person (manager can submit request on behalf of an employee)
    Can this be achieved through UI for "Access Requests"?

  • How to trace an error

    Dear all,
    How to trace a purticular error ?
    from metalink
    Diagnose the issue by running the following trace
    alter system set events '1775 trace name ERRORSTACK level 3';
    Redo the import and reproduce the error. The trace file should be in the
    USER_DUMP_DEST directory.
    alter system set events '1775 trace name errorstack off';
    Trace file will show something like the following:
    ksedmp: internal or fatal error
    ORA-01775: looping chain of synonyms
    Current SQL statement for this session:
    SELECT COUNT(*) FROM SYS_IMPORT_TABLE_01
    I am getting the same ora 01775 error. But when I am tracing, I am not getting any result in my udump. Is there any other setting do I have to make to get the trace file?
    Thanks

    Your question can not be answered.
    Not only you don't include a version (this seems to be too difficult for most posters here), but you also include ambiguous sentences like 'When I am tracing'.
    This results in the question 'did you issue the alter system command and was it successful?'
    As far as I am aware the syntax is
    alter system set events='<errornum> trace name errorstack level 3';
    There are no other 'settings'
    The only other solution is to set up an afterserver error trigger.
    Works like a charm, 8i onwards.
    You uncover way too many things you don't even want to know!
    Sybrand Bakker
    Senior Oracle DBA

  • How to trace an Inbound R3 IDoc by seeing application document

    Hi all,
    How to trace an Inbound IDoc number by seeing application document in R3.
    sometimes 'Services from object' also we could'nt able to trace out the IDoc.
    'Services from object'  option sometimes appears in blank status with no IDoc.
    Any possible tracing options?

    HI Chitra,
    You can findout the Idoc number in R/3 System by using the  tr.code WE05 or WE02.
    Go throgh the following blog for message monitoring.
    /people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
    Regards
    Goli Sridhar

  • How to trace purchase order number with respect to Purchase requestion numb

    Hi friends,
    Can u please help me how to Trace purchase order number with respect to purchase Requetuion  number. Is there any standard report  available in R/3

    Hi Vamsi,
    Thats what!!!
    Goto SE16 - EBAN - Give PR number in the iput screen.
    In the output screen you will have to do field selection from Menu - Settings - formatlist - choose fields.
    There you choose Purchase Order.
    So the output will display for you POs for the PR that you entered.
    Regards,
    Vishal

  • How to trace production order history

    Hi,
      how to trace production order history, with all information like some addtion and deletion of components in production order.
       I need the history like how we are doing ECM in master data history.
    Regards,
    S.Suresh.
    Edited by: suresh subramanian on Jul 16, 2008 7:31 AM

    Dear Suresh,
    Please refer the link,[http://help.sap.com/saphelp_46c/helpdata/en/35/ce8d378d0302cae10000009b38f9b7/frameset.htm]
    Regards,
    R.Brahmankar

  • RDS 2012 R2 - How do I lockdown access to Local Computer Management and Windows Backup via Group Policy

    Greetings all,
    I am needing assistance in how to lockdown access to Local Computer Management and Windows Backup via Group Policy for users that access RDS service. I have followed this awesome guide - h t t p://w w w.it.ltsoy.com/windows/lock-down-remote-desktop-services-server-2012/
      - but it is missing two important resources that I would like to lock down.Currently, I have successfully locked down Control Panel for users via Group Policy, but I cannot find any group policy or guide on how to restrict user access
    to Computer Management (different to Server Manager). When using Win-X shortcut to open the 'Administrator's shortcuts' near the windows icon, I have locked down everything except Computer Management. Computer Management gives direct access to Disk Management,
    Shares etc, which are locked down for users. But Windows Server Backup is still accessible. Can someone please guide me on how to restrict access to both Computer Management and Windows Server Backup.
    Thanks in advance.
    Terry.

    Prevent running of Windows Server Backup
    Computer Configuration\Policies\Windows Settings\Security Settings\File System
    Right click on File System - Add File - Drill down to \System32\wbadmin.msc
    On the Database Security ACL that pops up - Remove Creator Owner, Remove Users and check Adminstrators have Full Access.
    On the Object window - choose Propagate inheritable permissions to all... (Default)

  • SSH login- how do I restrict access to a shared folder?

    I have created Shares in WGM for SMB and AFP access on my OS X 10.4.8 Server. However when I connect via SSH it's not restricting access to the folder based on the User Name I login with- I see the entire volume! How do I restrict access to a specific folder based on a user name setup in WGM? ACL's?

    Hey George,
    It sounds like you are trying to limit ssh/sftp users to a specific area, aka jails. The FTP server lets you 'chroot' users to a certain area making it appear as the root thus preventing them from navigating up the hierarchy, which is what I think you, and me and many others are trying to accomplish.
    The ssh compiled into OS X is missing this very needed feature. There have been a few documented workarounds, but they've either been too insecure or too clunky for me.
    I've dealt with the fact that my users can get to the root of the hard drive, and have just been very careful about my privileges (by using ACLs), thus preventing them from getting inside areas they shouldn't.
    There's a good write up here: http://www.schwie.com/brad/macosxsftpchroot/ and if you include the term 'chroot' in your searches, you should find a bit about it here too.
    And Roger, I think George meant the file sharing protocol used by ssh. man sftp.

  • How can I regain access to a MAC account? -- Macbook Pro?

    Situation:  My wife has a 13" Mac Book Pro, that we received in May 2011.
    OS: Mac OS X Snow Leopard (not sure which version it came with -- 10.6?)
    My wife's computer had two administrative accounts.  She uses one regularly, and the other is the 'primary' account for downloading updates and such.
    She was unable to figure out how to use Time Machine or any of the other backup software and the like.
    Yesterday, she updated to OS X Lion, and found that a number of the programs that she enjoys using no longer function.
    She wanted to roll-back to Snow Leopard.  After transferring the majority of the 'must-save' files, she put in the install disk again for snow leopard.  This allowed her to start fresh, however, she wants to regain access to those old accounts.  She tried, but, none of the passwords work anymore.  We know what the passwords are; but, they are not working.
    Our ATTEMPTED solution:  She found a site "http://en.kioskea.net/forum/affich-7339…  This site told her to do something in the boot terminal that allowed her to add a new administrative account.
    She tried going into that new admin account and changing the passwords to the other accounts; no joy.  She changes them, but, they are not retained when she logs off or restarts.
    How can she regain access to her old files?

    Open itunes.  Sign into your account.

  • How can I restrict access to add. internal hard drive by account?

    Hello! Okay, so I am my computer's administrator, and I have a secondary 'guest' account that anyone else can use. So, I know that all my data on my main, OS hard drive is secure from the guest account accessing it, but what about the additional hard drive that I have installed?
    I have a good deal of sensitive data and files stored (and aliased) on my second internal drive that I do not care for 'guest' users to stumble upon. How can I restrict access to the secondary storage hard drive from my Guest login account, and/or just plain hide it from it? Surely, there is a need for this that has brought about a solution. Any tips/advice/solutions?
    Thanks!!!
    =)

    Click here and follow the instructions followed by placing the folders and files on the image; if the password is in the keychain, it will be supplied whenever you're logged in.
    (41018)

Maybe you are looking for