RFC_REMOTE_EXEC

Why I can´t find the FM 'RFC_REMOTE_EXEC'? I´m in 4.6C version and I can´t find functions like this...
Thanks in advance,
Éder

Hi
You wont find this FM in SAP system...as it is a Remote enabeled FM and is present in the program RFCEXEC (or smthing like that..I don remember the exact name)which is further present at the operating system level.
This program RFCEXEC basically triggers the FM on the remote system to convert your IDOC file to any other external format.
Thanks

Similar Messages

  • To execute external command using   RFC_REMOTE_exec

    Hi
    i want to execute the ext command using RFC_REMOTE_EXEC .
    i have used like below in WINDOWS XP:
    data: v_cmnd(120) type C VALUE 'dir C:\SAP\rfcsdk\bin >RFEXEC -D ESM_R'.
    call function 'RFC_REMOTE_EXEC' destination D_DESTI
    exporting
    command = v_cmnd
    exceptions
    system_failure = 1 message D_ERMSG
    communication_failure = 2 message D_ERMSG.
    manually at command line the program getting registerd but
    not throuergh RFC_REMOTE_EXEC 
    in v_cmnd  what is the exact value we have to give
    Regards

    you create the command in SM69 with some name and Directly give the Same name when you are executing.
    Check this Function also.
    SXPG_COMMAND_EXECUTE

  • Delete a .csv file from desktop system

    Hi All,
    My requirement is to read the .csv file from the desktop system having the shared folder and delete the file after read successfully.
    Here I can read the .csv file from the location using the function RFC_REMOTE_FILE and updated the content into internal table.
    But I cant delete the file from the presentation server ( Desktop system).
    Can anyone tell me how to delete the .csv file from the desktop system on different location.
    Note:
    I followed this link to read file:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true

    Hi Rob,
    Thanks. I solved this problem myself.
    The solution to delete the file from remote system is
    concatenate 'DEL' i_filename i_dirname into v_bkfile separated by space .
    call function 'RFC_REMOTE_EXEC'
      destination  c_dest
      exporting
        command               = v_bkfile
      exceptions
        system_failure        = 1  MESSAGE v_ermsg
        communication_failure = 2  MESSAGE v_ermsg.

  • RFC connection to Crossgate

    I am setting up an RFC connection to Crossgate for transferring iDocs.
    I have created the tRFC in SM59 and the test returns successful.
    When I call the transaction, the iDoc is generated succesfully, however in WE02 it has a status of 20, with the error "Function RFC_REMOTE_EXEC is not available". 
    Has anyone faced this issue before?  Or have any ideas?

    The problem was between the keyboard and the mouse.
    In WE21, I had set up the port as type "File", when it should have been "Transactional RFC".

  • Error triggering EDI subsystem (GIS): Process request without transaction.

    I'm trying to configure SAP to trigger the EDI subsytem (Sterling's GIS).  I'm getting error status "20":
    Error for Remote Function Call with port "GIS"
    Error message from RFC_REMOTE_EXEC
    Process request without transaction. TID is empty.
    Does anyone know what this means?
    Thank you,

    Here is the SAPSuite Adapter Config in GIS:
    Service Name                     COMP_SapSuiteALE 
    Service Type                     SAP Suite Adapter   
    Description                      ALE based IDoc XFer  
    System Name                      COMP_SapSuiteALE  
    Group                            None provided 
    SAP Integration Mode             ALE based IDoc 
    SAP system is loadbalanced       No   
    Client                           300   
    User                             sapadmin  
    Language                         EN   
    Code Page                        1100   
    Start RFC Server automatically   Yes  
    RFC Server Instances             1  
    Program ID                       GISR3D 
    Outbound Process to start        COMP_SAPOutboundALE   
    Outbound Encoding                UTF8  
    Wait for synchronous RFC Outbound response   Yes   
    Response timeout (seconds, 0=unlimited)   0   
    Delete TIDs automatically        Yes   
    Delete TIDs after (days)         30   
    Register Remote Function Calls (BAPI or RFC Mode only)   None (for IDoc modes or BAPI/RFC Inbound)   
    Filter online RFC list by        None provided   
    Use hard max. connections limit ( Off = soft limit )   No   
    Max. Connections                           4   
    Soft Limit Delay Time (seconds)            20   
    Connection Check Interval (seconds)        30  
    Connection Idle Time (seconds)             240   
    Close session after maximum session time   No   
    Max. Session Time (minutes)                20   
    User                                       admin

  • RFC call fails while implementing Inovis EDI. ' NO AUTORITY FOR CONNECTION

    Hi All,
    We are implementing 'Inovis's' EDI solution. I have narrowed done the error to note 618941. It is telling me to modify the SEC file to allow a RFC_REMOTE_EXEC call.The SEC file came down in the form of a physical file. So I am really not sure what to do here. I don't know where this file should reside. Any ideas?
    Thanks!!
    Diana

    I figured it out. Thanks.

  • Sending E-mail with attachment within a loop not working.

    Hi,
    I'm trying to send e-mails with attachment to multiple users with "subject & an attachment" within an ITAB loop.
    SUBJECT for each mail to corresponding user is being sent properly.
    But ATTACHMENT contents are not being sent properly.
    1st ATTACHMENT contents are going to 2nd user(supposed to go to 1st user) & 2nd ATTACHMENT contents are going to 3rd user etc..
    in almost all attempts, last ATTACHMENT contents within the loop were delivered properly to the last user.
    As a test, I'm debugging by sending with same "SUBJECT" & "ATTACHMENT CONTENTS". still it's not working.
    Following is the code for sending mail with same "SUBJECT" & "ATTACHMENT CONTENTS".
    I even refreshed the file contents for each record within the ITAB. Greatly appreciate any help.
    assume that ITAB has a field GROUP with values 501, 502, 503 & 504.
    SUBJECT is the subject of e-mail & DIST_LIST is the e-mail id of the corresponding user.
    DATA:
        MAIL_FILE(20) TYPE C,
        MAIL_TEXT(200) TYPE C,
        COMMAND(512) TYPE C,
        DIST_LIST(425) TYPE C,
        SUBJECT(60) TYPE C.
    DATA: BEGIN OF ITAB  OCCURS 0.
            DATA GROUP LIKE /BI0/PGRP-GRP.
    DATA: END OF ITAB.
    LOOP AT ITAB.
    SUBJECT = ITAB-GROUP.
    IF ITAB-GROUP = '501'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '502'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '503'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    IF ITAB-GROUP = '504'.
    DIST_LIST = '[email protected]'.
    ENDIF.
    clear MAIL_FILE.
    clear MAIL_TEXT.
    UNASSIGN <FILE1>.
    CONCATENATE '/tmp/' SY-UNAME '.txt' INTO MAIL_FILE.
    TRANSLATE MAIL_FILE TO LOWER CASE.
    OPEN DATASET MAIL_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      MAIL_TEXT = ITAB-GROUP.
      TRANSFER MAIL_TEXT TO MAIL_FILE LENGTH 200.
    CLOSE DATASET MAIL_FILE.
    clear MAIL_TEXT.
      CONCATENATE '< ' MAIL_FILE INTO MAIL_TEXT SEPARATED BY SPACE.
      ASSIGN MAIL_TEXT TO <FILE1>.
    *Create UNIX MAIL Command
      CONCATENATE 'mailx -s'
      '"' SUBJECT '"' '"'  DIST_LIST  '"' <FILE1>
        INTO COMMAND SEPARATED BY SPACE.
    Send the E-mail
      CALL FUNCTION 'RFC_REMOTE_EXEC'
        DESTINATION 'SERVER_EXEC'
        EXPORTING
          COMMAND = COMMAND
        EXCEPTIONS
          OTHERS  = 04.
    ENDLOOP.

    Hi Zhenglin,
    thanks for your reply.
    Now, it's working after I changed attachment file name (user name) with ITAB-GROUP.
    but, I'm not clear on why it was not working even if the file name is same in every loop, as I'm unassigning the file contents and loading new contents at the start of each loop.
    anyhow, it's working and many thanks for your help.

Maybe you are looking for