Calling a transaction in Remote System

I've a report in System A which shows data from System A & System B. When I click on a record which belongs to System A, I do a call Transaction 'XXX' etc...When I click on a record which belongs to System B, is there a way to show the transaction from remote system? Please let me know & an advance Thanks for all the inputs.
Regards
Shantharam

This is easier than you think.  All you need is an RFC destination and this function module.  In this example, I am using the STARTING NEW TASK to open anther session for the transaction called.
call function 'ABAP4_CALL_TRANSACTION'
    destination 'PRD'           "<---- Your destination
    starting new task 'Test'
  exporting
    tcode                         = 'SM50'  "<- Your tcode
EXCEPTIONS
   CALL_TRANSACTION_DENIED       = 1
   TCODE_INVALID                 = 2
   OTHERS                        = 3.
Regards,
Rich Heilman

Similar Messages

  • BAPI for calling Z transaction From NON-SAP system

    hi all, am new to BAPI i want to know that can we call any standard or Z transaction from NON-SAP system using BAPI if yes then plz let me know how.???
    thanx...

    BAPI's are not used for calling transactions. They have the same result though, a business partner for example kan be created, and maintained via the GUI, but it can also be done via a BAPI. These BAPI's are created for calling them from (non-) SAP systems since they are remote enabled. However, this means that the calling application / party will have to 'build' some sort of application themselves in order to call these BAPI's from 'outside' of the SAP system.
    The calling application will have to have access to the system, which can be maintained in the remote destination transaction SM59.
    But enough of this, there are lots and lots of posts on SDN about BAPI's, remote destination etc.

  • Calling Transaction from other system using RFC

    Hi ,
    I have one button on screen(say Screen-A), in ECC. when its pressed the transaction '/SAPAPO/BOPIN' gets called from APO.
    For calling transaction from APO I am using FM - 'ABAP4_CALL_TRANSACTION'.
    I want the initial screen of that transaction to retain some values which I fill on the Screen-A(the screen which has that button).
    When I call the transaction from ECC itself (ex. C006), the initial screen of C006 retains the value on Screen-A.
    I want the same to happen in case of calling transaction from APO.
    How to achieve this?  Would it need the changes in IMG (SPRO)?
    Please note that, Screen-A is initial screen of transaction 'md05' and I want to retain vaules of Material, MRP Area, Plant.
    Thanks,
    Sujeet

    Builld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
    Regards,
    Raymond
    (*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
    (**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm]

  • Monitoring of remote system's Transactional RFC and Queued RFC

    Hello,
    In our production system, in rz20- CCMS monitor templates- Communication-Transactional RFC and Queued RFc- outbound queues- Queues otherwise not monitored we can see blocked queues for each client.
    System is connected to solution manager and we wish the central auto reaction is implemented in solution manager
    However i am unable to find Transactional RFC and Queued RFC for the remote system, they exist only for solution manager itself
    Tell me how can i do the central monitoring

    Hello,
    First you need to check with your Landscape in solman in order to monitor any kind of activities to do so pls follow these steps.
    Go to SMSY in solman under Landscape components>Product systemsselect you satellite system example SAP ECC.
    On the main screen you will find client for which you have generated RFC connection. Please check though connection are working fine, Go to edit mode and try to click on generate button there will be a pop-up, which gives a clear picture of RFC connection which already exists, and you can also re-generate this RFC connection by clean it up when you re-generate pls select under Actions after generation assign RFC dest for system monitoring.
    But make sure there is no project impact on this RFC, like they are not using any logical components and already have some projects running on this RFC connection.
    I would advise you to first you the option of assign and check RFC button which is next to generate icon.
    Regards
    JUDE

  • How to call an EXE file on a remote system from SAP system?

    Hi Friends,
    I want to execute an EXE file existing on the remote system from SAP system. Could some one give me an idea of how to execute that?
    Thanx in advance,
    Ram

    Hi Ram,
    Try this
    SXPG_COMMAND_EXECUTE
    Reward if this helps,
    Satish

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • RFC login and user creation to remote system

    Hi there,
    Hopefully this is the related forum for this question. We have a scenario where we need an automated process to create users on one system and then create just the same account on a remote system with deactivated password.
    How is this best handled in ABAP code where the system account info/password  of the remote system is not listed in the abap code. Should a SM59 connection be created and then somehow this is referenced from abap code ?
    Also, this will be a SM37 job stream running on the local server under one name running the job and in the code it should be using a different name (destination) for the remote connection to create the user.
    I am a security person, not abaper. Input /best practice appreciated.
    Thanks !

    > I am a security person, not abaper. Input /best practice appreciated.
    Actually this is a security question, so I have moved it to the security forum...
    If the password is to be deactivated in the target system but not in the source ("master" system) then you can use several standard user provisioning mechanisms for this (CUA, GRC-CUP, IdM, UME configuration...) and configure the target system to deactivate the password itself. There are also several ways of achieving this, without any coding required necessarily.
    The most obvious one which jumps to mind is RZ11 parameter login/password_change_for_SSO.
    Alternately if your scenario is better suited to it, you can also use login/password_max_idle_initial.
    Also see transaction RSUSR200.
    Etc...
    > Should a SM59 connection be created and then somehow this is referenced from abap code ?
    No. It should be referenced from configuration of the application which calls the RFC connection, defined in SM59. You can also optionally use the "current user" setting and alternate authentication methods to (saved) passwords. This I would generally recommend.
    Cheers,
    Julius
    Edited by: Julius Bussche on Feb 23, 2010 10:36 PM

  • Remote system monitoring entry- data not relayed to Central system

    Hello Folks,
                        I am trying to establish a central monitoring system for our client. I am trying to test it in the DEV environment first.
    The central system is a Solution manager system (Dual stack- ABAPJAVA). I am trying to bring in monitoring data from the ECC development environment (ABAPJAVA).
    First of, i created to RFC connections in Solution manager system, one for data collection and the other for analysis. I have maintained the host address of the ECC system as target.
    Then i have created a remote system entry in Transaction RZ21--> technical infrastructure entered the 2 RFC names and have executed the function.
    At this point i am only trying to bring in ABAP stack monitoring data form the ECC system so i have not generated the CSNCONF file.
    Now when i look in Solution manager RZ20-->CCMS monitoring templates, i can't see any data for the the ECC system.
    I guess i am doing something wrong. Am i looking in the wrong monitor set?
    As additional information: Solution manager (SMD) and ECC (ECD) use different transport domains / transport groups. I dont know if this makes a difference.
    Can some one please help.
    Regards,
    Prashant

    Hi Prashant,
    if I understand correctly your system shows only MTEs from R/3 Stack, not from the OS side, pls check your SAPOSCOL. Are the data in OS06 in your remote system correct and do you see the current data, refredhed all 10 seconds?
    To check your environment, pls do the following:
    in th efirst step check in RZ21 > in the Topology part the System Overview for your system connection to your back end system. Are the Read Destination Data RFC and the Destination Analysis RFC correct and works the authority chek fine?
    In the second step pls check in RZ21 > in the Agents for Remotey SAP Systems part; are there registered your remote ccms agents correctly and works the connection test.
    Stop the agents and in your RZ20 monitor pls enter STAT in your command field. Are there displayed for your MTE nodes the read RFC destinations?
    Start the agents and and in your RZ20 monitor pls enter STAT in your command field. Are there displayed for your MTE nodes the CCMS Agent RFC destinations?
    To rebuild the Monitor in the CEN system you could try to reset the node of your remote system in the warm up status > go in the remote system to RZ1 > go to local segments  > change to edit > select your segments > reset segment in "WARMUP" status.
    In the CEN system you coul try to go to the edit mode for the Agents for Remot SAP Systems > select your remote system and push the button Reinitialize Agents
    In the back end system you can try to delete all MTEs in RZ21 > menu Technical Infrastructure > Reorgenize Segment Table > select the options with "ALL" in the CEN and the remote system to reorgenize all data.
    Could you pls post for the missing MTEs a screenshot on the one side from the CEN system and on the other side from the remote system...
    and last but not least you could try the following for missing OS MTEs
    delete  ALALERTS, ALMTTREE and ALPERFHI in /usr/sap/ccms/<SID>_<SNR> and check in the agents folder all trace and log files for errors.

  • "Program terminated in remote system NONE: Logon failed" when adding a new table

    Hello,
    I set up a replication flow from a SAP ERP 6.0 EHP7 with SAP ASE 16.0 source to SAP HANA 1.0 rev 82 target
    I am using a standalone SLT system NetWeaver 7.0 with DMIS 2011_1_731 (with SP 1 to 7).
    I have 100 tables to replicate.
    I succeeded to set up replication for 57 tables. These tables are replicating properly.
    Whenever I try to add a new one (with LTRC transaction, Data Provisioning -> Start Replication), the new table is marked as 'Failed' after a little while.
    When I press 'Show Error Log' button I got an obscure error message:
    "Program terminated in remote system NONE: Logon failed "
    I do not understand this message. I checked both on SAP ASE source and SAP HANA target. I am still able to connect against both source and target.
    Can you please tell how to troubleshoot this error.
    Thanks in advance,
    Christian

    First thank you for answering my questions. I really appreciate your answers.
    I rechecked the documentation.
    "Application Operations Guide SAP Landscape Transformation Replication Server Document Version: 2.3 – 2014-07-08"
    Page 29 - 30
    3.5.2.2 Data Transfer Jobs
    This section explains the relationship between the number of data transfer jobs and the number of available background work process.
    Data transfer and data transformation processing on SLT server system is accomplished by the background work processes of the underlying SAP NetWeaver ABAP application server. Each job occupies 1 background work process in the SAP LT Replication Server system. For each configuration, the parameter Data Transfer Jobs restricts the maximum number of data load job for each mass transfer ID (MT_ID). In total, a mass transfer ID (MT_ID) requires at least 4 background jobs to be available:
     One monitoring job (master job)
     One master controller job
     At least one data load job
     One additional job either for the migration objects definition, access plan calculation or to change configuration settings in the Configuration & Monitoring Dashboard
    Example
    If you set the parameter Data Transfer Jobs to 04 in a configuration “SCHEMA1”, a mass transfer ID 001 is assigned. As a result, the following jobs should be in the system:
    1 Master controller job: /1LT/IUC_REP_CNTR_001
     At most 4 parallel jobs for MT_ID 001: /1LT/IUC_LOAD_MT_001_001/~002/~003/~004
    When configuring your data load or replication scenario, consider the following:
     Do not define more data transfer jobs than the number of available application server background work processes. If all available background work processes are already occupied by jobs, any other job will have to wait until a free work process becomes available. This can lead to long wait times until a new activity (for example creating triggers) can start, and can also result in significantly increased latency times for data replication.
     The number of dialog work processes in the source system corresponds 1:1 with the number of data transfer jobs in the SAP LT Replication Server system.
     Besides the work processes allocated by the data transfer jobs you need to provide additional available work processes for controller and monitoring jobs, the migration objects definition, access plan calculation or to perform configuration changes, and so on.
    Sizing for SAP LT Replication Server involves determining how many work processes are required to perform the initial load of data into the target system within an acceptable timeframe, and accomplish the change capturing and the transfer of data changes to the target system within expected latency times.
    Ensure that you add enough additional work processes to allow other required SAP LT Replication Server jobs to run.
    Finally, you map the number of required application server work processes to their system resource consumption (CPU, memory, disc space) using the formulas provided by the SLT Sizing Guide.
    With the simple formula below, you can calculate the number of required application server work processes (WPs) on the SLT Server for each active SLT configuration.
    The number of required work processes can be determined by adding
     The Number of required data transfer jobs ,
     plus one background work process for Central Master (Monitoring) Job (only one per system!),
     plus one background work process for Master Controller Job,
     plus 3-5 additional empty background work processes (recommended per configuration),
     plus approx. 3 dialog work processes (recommended for each configuration).
    Note: A lack of available free application server work processes can negatively affect the data load or data replication processes.
    To summarize everything, the number of 'Data Transfer Jobs' must be set depending of the number of source tables, it is not the actual number of tables.
    Assume that for my 100 tables I use 10 'Data Transfer Jobs' :
    - The number of work processes on the SLT server would be 20. I took the simple formula of the documentation:
    10 data transfer jobs ,
    + 1 background work process for Central Master (Monitoring) Job (only one per system!),
    + 1 background work process for Master Controller Job,
    + 5 additional empty background work processes (recommended per configuration),
    + 3 dialog work processes (recommended for each configuration).
    - The number of dialog processes on the source server would be 10 ( equal to the number of 'Data Transfer Jobs')
    Am I correct ?
    Regards,
    Christian

  • Error while processing message to remote system

    Hi,
    I am trying to load the data from flat file to R/3. I am using the file adapter to pick the file and RFC adapter to transfer into R/3. I am getting the success status in the sxmb_moni and adapter framework(green for both the adapters). But when i check the status in the RWB message monitoring, I am getting the error.
    I am using the message interface defined in the software component for R/3 system which has a different namespace. When i am trying to upload data, i am getting the error as namespace missing in RWB. The detailed error in RWB is as follows:
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara.
    The previous thread relating this is:
    Process Integration (PI) & SOA Middleware
    Requesting for a solution.
    Regards,
    Raghavendra

    Hi,
    >>><i>So i tried creating a RFC(using sm59)in the R/3,
    When i try to import the RFC i have created, I am not able to see the one i have created.</i>
    In your R/3 system, go to se38, enter your RFC name. Go to attributes tab, and click on the radio button named "remote enabled"
    This will enable your RFC to be called by an application outside the R/3 system.
    >>><i>Can you please let me know as to what is it that it is connecting to the R/3(destination) and why am i not able to find my RFC.</i>
    You are tyring to log on to your R/3 system, from xi, in order to import the RFC that you have created. Hence you are asked for user id and password.
    You are not able to find your RFC since it has not been remotely enabled or has not been activated.
    Regards,
    Smitha.

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • Key generation in Remote Systems.

    Hi,
       When we are creating a remote Sytem we have a filed called Key Generation , where we can specify the from , to Range.
    Can any one provide me the business scenario where this key generation is used?
              I have an idea about key mapping which is used to differentiate filed values which are different in connected remote systems.
    regards,
    Venki.

    Hi Venki,
    The key generation is a very useful concept.
    For Key Generation = Range, From=100, To= 200:
    You need to map the Remote key to MDM_Material field during syndication in which you want to maintain the value.
    So the first time you syndicate data, 100 will be assigned to the MDM_Material field for the syndicated record.. so on..
    It gets updated to your field only after syndication and you can see it on edit key mapping against the record.
    For Key Generation with Qualified range:
    You need to select the lookup table, based on whose values you want value to be maintained in MDM_Material.
    And for each value in the lookup field, you can select the range.
    Example: Assigning Material number based on Account Groups.
    Hope it help.
    Thanks,
    Priti
    Edited by: Priti Rani Patnaik on Apr 7, 2010 10:23 AM

  • Add remote system to SLD

    Hi folks,
    I have a SLD set up to use the R/3 backend on the same server. I've also added another R/3 backend to the technical systems, so I can set up a JCO to use this. When I try to set up a JCO with the new backend and try to ping it I get the following error:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=trel-p40 GROUP=PUBLIC R3NAME=SOE MSSERV=sapmsSOE PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       service 'sapmsSOE' unknown TIME        Thu May 31 12:43:10 2007 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      nixxhsl.cpp LINE        776 DETAIL      NiHsLGetServNo: service name cached as unknown COUNTER     1
    As I can see the JCO points to my local R/3 not to the remote one. So here's my question: How do I tell the SLD that my newly added technical system is in some onther place. I've added the hostnames respectivly but I can't see how the sld would know where to look for a hostname that's not part of the local domain.
    Any help would be highly appreciated!
    Thanks in advance,
      Robert

    Sure, so here's what I'm trying to do: I have a development system consistion of an ERP 5 plus Portal 6.0 and all nessaccery components. I'll use this system to develop webdynpro apps and get them running in the portal.
    It's basically just prototypes but in order to give some customers the big picture I wanna connect my webdynpro apps to the customers R/3 for a live presentation with real data.
    The Connection runns over JCOs implementing the SLD destination and login data for the remote system (customer side). The remote R/3 just holds an functional package (don't know how it's called in English) that's RFC enabled.
    So now I'm facing the problem: How do I get the remote system to be accessable by my JCOs. My thought was just add it in the SLD as a technical system.
    As you can see I'm lacking basic understanding of SLD. Maybe you could set me on the right track?

  • Get interface of RFC function modules in a remote system

    Hi,
    my goal is to write a report which checks if DDIC structures in two systems fit together when I use RFC`s.
    I have the destination and the name of the RFC.
    Can somebody tell me if I can get a list of the Importing/Exporting Parameters of this RFC? Maybe even with a typedescribtion?
    Thanks for you help.
    Best regards
    Lars
    Edited by: Lars-Eric Biewald  on May 21, 2008 8:39 AM

    Hello ,
    Thank you for your quick help.
    Here I have 3 ECC 6 system .
    1 Central systen
    2 Slave system
    Data will be updated to 2 slave system using RFC function module .
    We've already the SAP address, Client, User name , Password.. of the remote system
    So here how we will create RFC in SM59 to be used in the RFC call ?
    We will transfer the username, password , client in the RFC function module/..
    Here I do not know how to create RFC connection in SM59 and how to use them in ABAP
    Could you please help me ????
    Thanks

  • Running a program on a remote system

    hii all
    i jus wanted to noe if there was any approach using which the one could send a block of code across to more than one remote systems. i also need to fetch the object returned by executing this, back to the server. Can anyone help me with this......

    You could use RMI callback technique. You should send a Remote object proxy to your RMI Server so you can call that remote object methods in order to call back to the client. There's a lot of information on the net related to that particular technique.

Maybe you are looking for

  • Problem in Purchase Order Printing in the TCODE ME9F

    Dear Experts, I am workning in the Upgrade Project from SAP 4.6C to ECC6.0. When i change the Line items of the Purchase order in SAP 4.6C and take the print out in ME9F it shows all the Changed line items and Unchanged line items.But in ECC 6.0 if i

  • Generating a token request (WS-Trust)-HELP

    Hello. I'm trying to make a web service client to consume a service with security. The first thing I need to do is generate a token request using WS-Trust and then sign it. Send this token request to the STS and then receive a token signed by the STS

  • 1.1.0.21.97: Filter performance

    I like the new filtering options for objects in the Connection pane, but the simple filter option (ie object name like hr_personal_pay_method_api) is taking much longer than the "same" filter in 1.0. Just counting in my head, but in 1.0 it took 1 sec

  • Error when upgrading to exchange 2013 SP1

    * First, I install Exchange 2013 SP1 on my server, so step 14 of 18 to 100% then alert error: ======================= Error: The following error was generated when "$error.Clear();           $name = [Microsoft.Exchange.Management.RecipientTasks.Enabl

  • Change time column in iCAL

    Hi: I am a physician, and I organize the schedule for the Docs at my hospital. We have (for example), pediatrician, orthopaedics, internists, etc. For several years, I have used an excel sheet that basically formats as follows: GROUP June 29 June 30