Debug RFC called from external system with no dialog user

Hi all,
We need to debug the rfc function module which is called from the external system( Siebel ) .
The user id is not dialog user so can not set external debugger.
Need you help.
Thanks,
Anmol.

Hi Suhas,
Nice to know you became Moderator...
Hmmm the solution you provided was the last option..
Any ways the issue is resolved we changed the user to dialog user and then debugged the code.
Thanks a Lot,
Anmol.

Similar Messages

  • BCS - Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'.

    Hello,
     I have create a an external content type .
     I Choose "Connect with user's Identity".
     I create a external list that uses the ExternalContentType.
     When I try open the external list from browser by User "TestUser" . I get the following error "Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'"
       My Question :
           I need to know why pass the credential "NT AUTHORITY\IUSR" to connect to the data base not the
            current log in"TestUser" ?  How Can I solve it ?
            Thanks
             Hema
    ASk

    Hi,
    did you configure Kerberos delegation?
    NTLM fails when you try to open external list from client computer, because SharePoint cannot pass user's identity - "Double Hop" issue.
    Take a look at confguring Kerberos for SharePoint 2010 white paper
    Download Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products from Official Microsoft Download Center
    http://www.microsoft.com/en-us/download/details.aspx?id=23176
    Robi MCT Kompas Xnet d.o.o. Ljubljana | blog: http://xblogs.kompas-xnet.si | website: http://www.kompas-xnet.si
    Slovenia
    Please vote if you find reply useful or mark it as answer.
    Thank you

  • Debugging RFC-call in ERP-system

    Hi experts,
    I've a similar  problem as decribed Values for FM structure not delivered as expected - but the opposite direction:
    we send data from PI, which received a FTP-file,  to ERP by RFC-Function.
    last week we enhanced the output structure for this fm in PI (resp. in ERP: input structure)
    result:  the field is filled in the xml-file, which leaves PI -  but the field comes blank into  ERP-system
    we've already emptied PI-cache!
    is there any chance to debug the process in ERP-system???
    thank you and regards
    Andreas from germany

    Hi Andreas,
    We had the same problem.
    Clearing all the caches and even restarting the PI system did not help.
    Reactivating all the configuration objects for the specific scenario fixed the problem.
    This means:
    - sender agreement (if existing)
    - receiver determination
    - interface determination
    - receiver agreement
    - communication channel
    If you want to debug the rfc that is called, insert an external breakpoint on the userid that is connecting from PI towards ERP (configured in receiver communication channel). You can change this userid via:
    Utilities --> settings --> abap editor -->debugging --> external debugging userid
    Hope this helps.
    Kind regards
    Joris
    Edited by: Joris Verberckmoes on May 31, 2010 9:33 AM
    Edited by: Joris Verberckmoes on May 31, 2010 9:36 AM

  • RFCs calling from remote systems

    Hello Abapers,
    Can anyone tell me how to find the list of programs which are calling remote function modules? For example programs in CRM system calling function modules in ECC...
    Thanks,
    Himadama

    Hi,
    this is only ardly possible depending on your goal.
    There are lots of RFC calls especially in CRM for middleware purposes.
    Option a) - You try to find all pla ces where z*modules are called that are not existing in CRM
    Option b) - You want to find all RFC enabled modules of ERP called in  CRM
    Option c) - You want to find all RFC calls in CRM targeting the defaulting ERP destination
    Solution for  a)
    - Go to table WBCROSS (which is global the "where used list")
       and check for all Z* modules 
    - Copy the list of modules e.g. in a file 
    - Search table trdir (registry of function modules) with this list
      -> all modules that are not in this list are probably RFC modules from a backend
    Solution for  b)
    - Go to ERP SE37 and open the help
    - open the advanced options
    - mark "RFC modules"
    - search and save the whole list of RFCs relevant
    - Go to CRM and check table WBCROSS where these modules are used
    Solution for  c)
    - go to CRM and check for a module called "SMOFERP" or similar
      It returns the name of the default RFC destination of an CRm system to its default ERP.
    - Check the where used list of this module - should guide you close to the calls
    mfg,

  • Create activity from external system

    Hi
    What is meant by creating activity from external system.
    I need to work on an enhancement which deals with function module to create activity that can be called from external systems e.g. on demand.
    I am not sure what does that exactly mean?
    Any pointers would be helpful.
    Thanks
    Alka

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

  • Debugging RFC Calls

    I was going thru the Blog
    /people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
    I am not understanding what Michal is trying to say? Would some one explain me please.
    I understand that when we are talking to an RFC and error occurs how XI is going to handle. 
    Thanks

    Thanks Michal.
    Just I have listed what I have understood, please correct me. (I got confused with your naming conventions)
    1) Existing RFC    : RFC-OLD  (XI calls RFC_OLD)
    2) Copy            : RFC-OLD_Copy
    3)                 :  Delete the function code in RFC-OLD
    4)                 : RFC-OLD  Calls  RFC-OLD_Copy
    DATA: queue_name like TRFCQOUT-QNAME.
    *setting the queue name
    queue_name = 'DEBUG_QUEUE'.
        call function 'TRFC_SET_QUEUE_NAME'
          exporting
            qname              = queue_name
          exceptions
            invalid_queue_name = 1
            others             = 2.
        if sy-subrc <> 0.
        endif.
    *call the new function in the background *and passing all the parameters from the old RFC! *so we'll be able to debug the RFC with correct *parameters 
    CALL FUNCTION 'RFC-OLD_Copy'
      in background task
      destination 'NONE'
      as separate unit
      TABLES
        TABLESAMPLE       = TABLESAMPLE.
    *remember about the commit work
    Commit Work.
    Endfunction.

  • How to call RFC from external System to get HR Data

    According to the requirement the "HR" Workflow has to be able to view the employee details from external system Using the standard Microsoft connectors.
    So, my job is to create an RFC where i need to fetch the HR data from the infotypes P0001 and P0002. And they will call this RFC by requesting employees surname, ID number and/or Employee number.
    Do i need to simply write OPEN SQL statements in RFC or
    do i need to call any BAPI's?
    Setting up RFC's(Creation of Destinations) is not our job.
    Someone Please help me in this regard with some valuable input. Thanks in Advance.
    Ram.

    Hi Ram,
    to get the information from HR sytem you could call the BAPI
    BAPI_EMPLOYEE_GETDATA
    Regards
    Bernd

  • Issue when Calling the RFC from external system

    Hi,
    I have created one RFC, in which I am using one function module to get the material customer status.
    Functional Module name is "QC01_BATCH_VALUES_READ".
    When I run this in SAP, it is giving a value for Cusotmer Status. But when this RFC is called from .Net system it is not returning any value for this field.
    Even I used a different function module 'CLAF_CLASSIFICATION_OF_OBJECTS' for the same, in this also in SAP it is doing good, but when it is called from .Net, the program is giving dump.
    Please help me to resolve this issue
    Thanks
    Ravi

    Hi Ravi,
    Issue can be either in the .NET program or in the RFC destination creation.
    1)
    Check whether data types of .NET program which is calling the SAP function module are correct. 
    If there are issues with data types,  program dont report if you dont so explicitly.
    2) Check whether RFC destination you are giving in your .NET program is correctly configured in
        SAP , verify by testing the same.
    Apart from above two reasons, I dont see any other major reasons for not getting correct results.
    Regards
    Krishna

  • Can a report in ERP called from CRM system using RFCs??

    Hi All,
    Please let me know if this is possible, if so , how?
    Can a report in ERP called from CRM system using RFCs??
    Thanks
    Siva

    Yes, you should make an RFC function in ERP and inside the
    function you can call the report with a SUBMIT. Then in CRM you can call the RFC function...
    Best regards,
    Iván
    P.D.: Give points if answer helps!!

  • RFC call from a Windows Service

    Hi All,
    I have created a simple windows service which is making an RFC call to R/3 system. This is not working. Whereas the same piece of code written in a windows application projects(exe) works properly. Does anyone had similer issues working with Windows services ? Is it a known issue of RFC calls from windows service ???
    Thanks & Regards
    Ganesh Datta

    Hi Juergen,
    After I put the debug statements I figured out that connection to R/3 system is unsuccessful.
    I am using the SAP .Net Connector 2.0. I wrote a windows service which is manually started. Withing my service I am using Single sign on to connect .This is what was causing the problem. If I disable Single sign on and supply userID and password then connection is successful and also subsequent RFC calls.
    I guess within windows service Single sign on does not work.
    Thanks for your reply
    Best Regards
    Ganesh Datta

  • Making an RFC call from within the VM container

    Hi all,
    since a long time I am searching for information on how to implement an RFC call from within the VMC. The problem is that we have implemented several (p)functions in ABAP and we need to implement them in JAVA.
    Now I am searching for a way how to just call the already existing pfunctions???
    Is it possible to read CRM DB tables too?
    Thank you in advance
    Boris

    Hi Freeto,
    This may be due to the Network Failures.
    If you have triggered a job then because of the Network fluctuations the system may not respond properly and cannot execute the job.
    So, this is the cause for the failure.
    Hope you understood.
    With Regards,
    Ravi Kanth

  • Startrfc - SAP utility to invoke ABAP programs from External systems

    We have used the startrfc uitlity that comes along with the SAP Presentation CD. This is bundled with the SAP RFC SDK kit. The startrfc utility can be used to invoke ABAP programs from external systems or servers.
    When using the startrfc from the SAP server using the parameters
    startrfc -h 10.60.0.31 -s 01 -c 100 -u USERNAME -p PASS -F <Function Module> -E TPPARAM=\usr\sap\trans\bin\tp_domain_<SID>.PFL -T LIST,300,w=list.txt
    the desired results are achieved.
    However when using the same startrfc with the exact parameters from another server we get the message " Incorrect user or password". If we use the SAP GUI from this server to connect to the SAP server using the same username and password we are able to connect to the SAP system.
    Has anyone encountered any similar issues with Startrfc? Any suggestion will be appreciated.
    Thanks,
    ~Nilesh

    Hi NIlesh,
    Did you check that the password and user ID entered are in capita letters?
    Thanks and Regards,
    RK

  • How to send delivery document from external system to ECC

    i have a business requirement to send a delivery and billing documents from external system ( MS access )  to ECC
    could any one light me how to do this ???
    Thank you in advance

    Hi Ahmed,
    Talk to your middleware team, They will upload the data through RFC.
    Basiclly RFC(Remote function call) works like it will call the function module and then upload the data.
    For more information, check the link given below.
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    Hope this helps,
    Regards,
    MT

  • 'Accept IDOC' from external system

    Hi Experts,  I am new to IDOCS. I have to update one already written function module to accept IDOC in SAP from external system. In the function module I see some IMPORT parameters like 'input_method' and 'mass_processing' and EXPORT parameters like 'workflow_result' , 'application_variable' , 'in_update_task', 'call_transaction_done' . Can someone tell me what are these parameters for ???.

    input _method for method of data records update
    Mass_processing for handling the large number of Idocs in single take
    Workflow_result for hitting the results at last
    'in_update_task' update the records in update mode
    call_transaction_done' by using call transaction method it would post the records

  • RFC call from Excel using VBA

    I am trying to do an RFC call from Excel to SAP using VBA. RFC is working fine for most the RFC enabled Function Modules except DDIF_FIELDINFO_GET and DDIF_FIELDLABEL_GET.
    What can be the reason for this?
    Can someonme please help me with a macro code where these FMs are working.
    Also can someone please help me with some tutorial on SAP connection with Excel.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Nov 12, 2008 9:14 AM

    Hello Jon.
    DDIF_FIELDINFO_GET is not working for me either. But I have used another FM (/ZOPTION/LIVE_DDIF_FIELDINFO):
    Public Sub RFC_FIELDINFO()
    Dim Func As Object
    Dim sapConn As Object
    Dim tblFIELDTAB
    Dim tblFIXED_VALUES
    Dim intRow%
    Dim intCol%
    '* Sub     : Call FM /ZOPTION/LIVE_DDIF_FIELDINFO                         *
    '* Author  : Holger Köhn                                                  *
    '* Created : 23.08.2014                                                   *
    '* Changed :                                                              *
    ThisWorkbook.Sheets("TEST").Activate
    Cells.Select
    Selection.ClearContents
    ThisWorkbook.Sheets("TEST").Range("A1").Select
    '* create RFC-Connection                                                  *
    Set sapConn = CreateObject("SAP.Functions")
    sapConn.Connection.RfcWithDialog = True
    If sapConn.Connection.LogOn(1, False) <> True Then
        MsgBox "Cannot Logon to SAP"
        Exit Sub
    End If
    DoEvents
    '* run FM /ZOPTION/LIVE_DDIF_FIELDINFO                                    *
    Set Func = sapConn.Add("/ZOPTION/LIVE_DDIF_FIELDINFO")
    Func.Exports("TABNAME") = "AUFK"
    Set tblFIELDTAB = Func.Tables("FIELDTAB")
    If Func.Call = False Then
         MsgBox Func.Exception
         Exit Sub
    Else
        Application.ScreenUpdating = False
            For intCol = 1 To tblFIELDTAB.ColumnCount
                ThisWorkbook.Sheets("TEST").Cells(1, intCol).Value = tblFIELDTAB.ColumnName(intCol)
            Next
            If tblFIELDTAB.RowCount > 0 Then
                For intRow = 1 To tblFIELDTAB.RowCount
                    For intCol = 1 To tblFIELDTAB.ColumnCount
                        ThisWorkbook.Sheets("TEST").Cells((intRow + 1), intCol).Value = tblFIELDTAB(intRow, intCol)
                    Next
                Next
                ThisWorkbook.Sheets("TEST").Activate
            End If
            Columns.AutoFit
        Application.ScreenUpdating = True
    End If
    '* clear tblFIELDTAB                                                      *
    Do Until tblFIELDTAB.RowCount = 0
         Call tblFIELDTAB.Rows.Remove(1)
    Loop
    Set sapConn = Nothing
    Set Func = Nothing
    Set tblFIELDTAB = Nothing
    End Sub

Maybe you are looking for

  • G4 and Leopard

    Now, according to Apple, 10.5 with be totally 64-bit, which, I suspect will be a problem with G4 users as this PPC processor is a 32-bit processor (and not 64-bit). I was wondering what Apple will be doing about this ? With G4 users just have to 'mak

  • V_V2 and scheduling agreements with ATP

    Dear SAP SD Experts, In our production environment we use Scheduling Agreements with ATP. This means we do perform ATP for each firm schedule line received from the customer. Every night we run a rescheduling job (transaction code V_V2 - program SDV0

  • Exporting 16x9 Without Black Letterbox

    Hi everyone-- I would like to export a 16x9 video as a quicktime without the black letterbox. Is there anyway to do this? All exports I have tried export the video in a 4x3 frame with black letterboxing. Thanks!

  • Entourage Sent Items on Blackberry

    Hello all...very strange issue. I am hoping to get totally off of my PC (XP). I am using Entourage for mail with corp exchange. But when I send mail from Entourage I do not see it on my blackberry as a sent item. Yet when I send from outlook, I see i

  • Static blocks and inheritence

    public class SubClass extends SuperClass { static { System.out.println("Sub class being called"); SuperClass.setS("TREX"); public class SuperClass { protected static String s; static { System.out.println("Super being called "); static public setS(Str