Triggering RFC FM in R3 for the RFC to File scenario

Hi All,
I am Developing a  RFC-XI-FILE  scenario where i am unable to triger an RFC from the source system(R/3) .I have used the RFC-FM : ZBAPI_COMPANY_GETDETAIL ( which is remote enable)  i havent written any source code in the function module : just i have created only the parameters in the table as :
Tables:
COMPANY_DETAIL LIKE  T880
i have created a source code in the se38 of R/3  to call this function module as :
DATA: COMPANY_DETAIL TYPE STANDARD TABLE OF T880 with header line .
selection-screen begin of block blk1 with frame title text-001.
PARAMETERS : COMP_ID TYPE BAPI0014_2-COMPANY.
selection-screen end of block blk1.
start-of-selection .
SELECT RCOMP
       NAME1
       CNTRY
       LANGU
       STRET
       CITY
       FROM T880
       INTO CORRESPONDING FIELDS OF TABLE COMPANY_DETAIL
       WHERE RCOMP = COMP_ID.
CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
               IN BACKGROUND TASK
               DESTINATION 'SENDRFC'
  TABLES
    COMP_DETAIL = COMPANY_DETAIL.
COMMIT WORK.
I have created RFC destination in R/3 as : SENDRFC  of type T with the programid : SENDRFC_PORTAL this same program id is used in the XI sever for the sender RFC adapter .
When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
Please sugest the correct source code if the above source code is wrong  and provide me the exact process to do .
Regards,
Bharat .

Hi bharat,
>>When i execute the above program in R/3 the changes are reflecting in the XI when i checked in the SXMB_MONI.
That means your RFC was called and the data was sent to XI.
>>Please sugest the correct source code if the above source code is wrong and provide me the exact process to do .
Since XI was called the source code is correct.
Am I missing something here? Can you provide some details about your requirement/error.
Regards
Suraj

Similar Messages

  • No RFC destination is maintained for the port 'SAPERP'

    Hi!
    I am facing with a very strange thing.
    I am implementing a File_to_IDOC scenario.
    Therefore I created in XI system the appropriate Ports in tcode IDX1.
    I use one business system with two clients (SAPERB100 and SAPERB200).
    I defined there of course the appropriate RFC connections (RFC_IDOCERB100 and RFC_IDOCERB200).
    Unfortunately when I go into tcode IDX2 and try to load metadata I get the following error:
    No RFC destination is maintained for the port 'SAPERP'
    Message no. IDOC_METADATA455
    Diagnosis
    No RFC destination has been maintained for logging on to this system for the port SAPERP.
    This means that no structure information can be provided for this port.
    Procedure
    Maintain the required RFC destination for this port.
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    HI Holger
    You need to have a RFC destination created for XI server type 3 (ABAP) to push IDOC from ECC. Similarly you need RFC destination in XI towards ECC to load IDOC / RFC metadata.
    Thanks
    Gaurav

  • Rfc enabled function module for the updating the database table

    Hi,
            I need one rfc enabled function module for the updating the database table from the legacy system.currently i am using the rfc_read_table to read the database table.similarly i need for the update.

    Hi
    I believe you need to create one by yourself
    Max

  • Hi, I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files). Any ideas?

    Hi,
    I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files).
    Any ideas?

    No attachment exists.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • Where can I set the log level for the "Inbox log file" ?

    From the Siebel 8 Bookshelf, it says :
    "To set the level of the Inbox log file for troubleshooting
    *In Siebel Tools, set the Log Level for the Inbox log file (Alias = InboxLog) to 5*."
    But where exactly in Siebel Tools can I find that Log Level ? Which object does the Siebel bookshelf talk about ?

    Hi,
    Loglevels are not configured in Siebel Tools. You have to configure them with the siebel client. You can find a parameter at "Administration - Server Configuration / Server / Events"
    Search for "Inbox General Log Events". Set this parameter to 5. It think this should help you.
    Cheers Andreas

  • [svn] 3159: fix to target the correct player in the external library path for the packaged build file

    Revision: 3159
    Author: [email protected]
    Date: 2008-09-09 12:53:37 -0700 (Tue, 09 Sep 2008)
    Log Message:
    fix to target the correct player in the external library path for the packaged build file
    Modified Paths:
    flex/sdk/trunk/frameworks/build_framework.xml

    Hi Gaurang,
    Were you able to resolve your issue?
    Hope the following links help:
    /message/7579461#7579461 [original link is broken]
    Re: Required JAR files:
    Regards,
    Dao

  • For preparing the filenames and paths for the oracle database files..

    Hi,
    I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
    Controlfile ---- > select name from v$controlfile;
    Redologfile -- > select member from v$logfile;
    Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
    Tempfile --------> select tablespace_name,file_name from dba_temp_files;
    Spfile -----------> show parameter spfile
    Pfile --------------->
    Passwordfile ---->
    tnsnames.ora -->
    listener.ora------>
    sqlnet.ora ------>
    oratab ------------->
    Thanks
    Shiju

    orashiju wrote:
    Hi,
    I am preparing the filenames and paths for the oracle database files.....but I am not able to complete this one...Will you Please help for filling this one.
    Controlfile ---- > select name from v$controlfile;
    Redologfile -- > select member from v$logfile;
    Datafile --------- > select tablespace_name,file_name from dba_data_files order by 1;
    Tempfile --------> select tablespace_name,file_name from dba_temp_files;
    Spfile -----------> show parameter spfile
    Pfile --------------->spfile and pfile are located under $ORACLE_HOME/dbs/
    Passwordfile ----> passwordfile is located under $ORACLE_HOME/dbs
    tnsnames.ora -->
    listener.ora------>
    sqlnet.ora ------>all above files are under $ORACLE_HOME/network/admin
    oratab ------------->depends on operating system. Usualy under /etc/oratab

  • Documentation for the AS3.h file

    Is there any documentation for the AS3.h file?

    http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Developing_with_Alchemy:C_API
    It's listed in the README

  • Why download stops at 4.9 for the 5.8 file?

    why download stops at 4.9 for the 5.8 file of the production suit? downloaded file not opening

    Hi,
    attempt to download production suit following adobe instructions with download manager. browser firefox, Win 8, 1T free space.download stops at 4.9 G. the file would not open. error message says archive file cannot be extracted.
    chris

  • Fixing duplicate database entries for the same audio file

    My iTunes Media folder is stored on a network accessible storage server. Since upgrading to 11.1.x, my computer seems to be duplicating database entries for the same audio files - for some albums, I have 4 entries for every song, each one pointing to the exact same file. The only difference between entries is rating info and play counts, which are specific to a particular entry (I think). Has anyone else seen this behavior? Is there an obvious way to stop this from happening? I can delete and rebuild the database from media files, but that starts getting old if I have to do it every week or so. Is there a script to delete duplicate database entries? (I found a VB script on the iTunes for Windows community, but the offending machine is a Mac).
    Thank you for any assistance!
    K

      Select the photo stack under the People tab and click the rename icon (bottom left)

  • Which all configurations you need to do in R/3 for an Idoc to file scenario

    which all configurations you need to do in R/3 for an Idoc to file scenario?
    Rgds
    Ruchitha

    Hi ruchitha thakur  ,
    A Summary of the Steps to be carried out to enable a SAP R/3 System send Idocs to SAP Exchange Infrastructure.
    First - Maintain the Sender R/3 System:
    SM59 : Create a RFC destination to XI
    WE21 : Create a TRFC Port ->Specify the RFC Destination Created
    BD54 : Create a Logical System for the Idoc Receiver
    WE20 : Create Partner Profile ->Maintain Outbound and the Inbound Parameters
    Second - Log on to XI System:
    SM59 : RFC Destination for Sender System
    IDX1 : Create the port to get Idoc Metadata from Sender System ( The Port Name must match the port name in the idoc header - Usually in format SAP<System ID>. eg. SAPID1 [Optional Step. Not mandatory]
    IDX2 : Maintain the Idoc Metadata. This is needed only by XI, and not by other SAP systems. IDX2 is needed because XI needs to construct IDoc-XML from the IDoc. No other SAP system needs to do that.
    To Enable Acknowledgement:
    SXMB_ADM ->Integration Engine Configuration ->Specific Configuration ->Add New entry -> Select parameters as:
    Category: RUNTIME
    Parameters: ACK_SYSTEM_FAILURE
    Current Value: 1
    GO TO SLD:
    Create Technical System: Choose WEB AS ABAP if the system is R/3 -> Define SAP SID, Installation Number and Database Host Name a Maintain message Server Details according to Sender System -> Maintain Client Details of Sender System ->Select a Installed Product for Sender System
    Create Business System: Choose WEB AS ABAP if the system is R/3 -> Choose the Technical System and the client Created Before -> Choose the Installed Product -> Set:
    Business System Role: Application System
    Related Integration Server: Integration Server
    Integration Builder
    Integration Directory:
    Add Business System:  Adapter Specific Identifiers -> 'Logical System' identical to the 'Logical System Name' in the SLD Business System  
    IDoc Receiver Communication Channel: port the same as XI System IDX1
    The following web-sites give u step-by-step solution to configure R/3 :
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    IDOCs (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Step by Step Procedure of IDOC to File Scenario using BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&
    cheers!
    gyanaraj
    ****Pls reward points if u find this useful

  • Rfc--- jdbc, how to define data types for the rfc's

    i downloaded the rfc.xsd in to local hard drive. while i am defining the data type i am getting an error. do i have to change any thing the rfc.sxd file please help me
    thanks

    Hi there,
    How did you load the RFC metadata from the SAP system? I assume you are using the standard procedure via your Software component in the (Design)integration builder-Repository your namespace- > imported Objects -> RFC/IDOCS.
    From there after you have entered the necessary details for the SAP system where the RFC exists; you can select from a list the BAPI/RFC you need in your interface.
    Cheers,
    Roberto
    PS: Look at the below link for more information how to do that:
    http://help.sap.com/saphelp_nw04/helpdata/en/d3/35da4105aa3f5de10000000a1550b0/frameset.htm
    Message was edited by: Roberto Viana
    Message was edited by: Roberto Viana

  • RFC receiver adapter issue - ECC side we are seeing blank data for the RFC

    Hi All,
    We are using Receiver RFC adapter to call a custom RFC (Synchronous call). It was working fine, but recently RFC was modified (They added new fields). We re-imported the RFC into ESR and also modified the mapping to reflect the new RFC strucuture. Now when we execute the RFC, at the ECC side no data is beeing seen. On the PI side we see data in sxmb_moni. It looks fine. However we don't see anydata in ECC.  We did full cache refresh but it did not help.
    Please let me know if anyone has any thoughts on this issue.
    Thanks
    -Pradeep

    I enabled the the RFC adapter trace in PI. It appears like adapter is not sending the structure and tabled that are populated. IT is sending only 230 bytes. Any clue why would rfc adapter drop the tables and structures??
    FUNCTION Z_FI_AA_BAPI_ASSET_CHANGE
        handle = 2
        parameter   = <null>
        parameter   = <null>
        tables = <null>
    >>>> [2] <unknown> EXT <ac: 6> >>> FLUSH (READ) (88578752)
    Send RFCHEADER [2]: 01/BIG/IEEE/SPACE-U2/52494850
    Send UNICODE-RFCHEADER [2]: cp:4102/ce:IGNORE/et:6/cs:2/rc:0x00000023
    UUID: send_rfcuuid B6D708F0-B946-11E0-BC35-EEB4AC138154
    UUID:  RfcCallNew send the uuid to the partner:B6D708F0-B946-11E0-BC35-EEB4AC138154
    >>>> [2] <unknown> EXT <ac: 7> >>> WRITE (88578752)
    000000 | 01010008 01020105 04010002 01010103 |................
    000010 | 00040000 020B0103 0106000B 04010002 |................
    000020 | 01060200 00002301 06000700 1A003100 |......#.......1.
    000030 | 37003200 2E003100 39002E00 31003200 |7.2...1.9...1.2.
    000040 | 39002E00 38003400 07001100 02004500 |9...8.4.......E.
    000050 | 11001200 06003600 34003200 12001300 |......6.4.2.....
    000060 | 08003700 30003000 20001300 08001800 |..7.0.0. .......
    000070 | 73006100 70007000 69002D00 64006500 |s.a.p.p.i.-.d.e.
    000080 | 76002D00 64003100 08000600 28007300 |v.-.d.1.....(.s.
    000090 | 61007000 72006400 62002D00 64006500 |a.p.r.d.b.-.d.e.
    0000a0 | 76002D00 64003000 5F004400 52003300 |v.-.d.0._.D.R.3.
    0000b0 | 5F003000 30000605 140010B6 D708F0B9 |_.0.0...........
    0000c0 | 4611E0BC 35EEB4AC 13815405 14050200 |F...5.....T.....
    0000d0 | 00050200 0B000600 36003400 32000B01 |........6.4.2...
    0000e0 | 02003200 5A005F00 46004900 5F004100 |..2.Z._.F.I._.A.
    0000f0 | 41005F00 42004100 50004900 5F004100 |A._.B.A.P.I._.A.
    000100 | 53005300 45005400 5F004300 48004100 |S.S.E.T._.C.H.A.
    000110 | 4E004700 45010203 37000003 37051400 |N.G.E...7...7...
    000120 | 10B6D708 F0B94611 E0BC35EE B4AC1381 |......F...5.....
    000130 | 54051401 3100E62A 54482A03 00E60000 |T...1..TH.....
    000140 | 00000000 00000000 00000000 00000000 |................
    000150 | 00000000 00000000 00000000 00000000 |................
    000160 | 00000000 00000000 00000000 00000000 |................
    000170 | 00000000 00000000 00000000 00000000 |................
    000180 | 00000000 00000000 00000000 00000000 |................
    000190 | 00000000 00000000 00000000 00000000 |................
    0001a0 | 00000000 00000000 00000000 73617070 |............sapp
    0001b0 | 692D6465 762D6431 5F445049 5F313839 |i-dev-d1_DPI_189
    0001c0 | 34303530 00000000 00000000 63303432 |4050........c042
    0001d0 | 35313733 62393435 31316530 38373562 |5173b94511e0875b
    0001e0 | 30303030 30303163 65366132 00000000 |0000001ce6a2....
    0001f0 | 02C04251 73B94511 E0875B00 00001CE6 |..BQs.E...[.....
    000200 | A2B6D708 F0B94611 E0BC35EE B4AC1381 |......F...5.....
    000210 | 54000000 01000000 002A5448 2A0131FF |T........TH.1.
    000220 | FF0000FF FF000000 00000000 00000000 |................
       >> CPIC native call CMSEND [2] convid: 88578752 14:23:39,159
       << CPIC native call CMSEND [2] convid: 88578752 rc: 0 14:23:39,159

  • S_RFC,RFC authorization - what names of the RFC objects to be protected(+)?

    Good day. I have a WebDynpro component which executes a BAPI in backend.
    Which names of the RFC objects to be protected should I enter?
    I have entered the following PRGN_G2EE, RFC1, SDIFRUNTIME, SYST, SYSU... But now it says that "User XXX has no RFC authorization for function group RFC2.".
    OK, I can add RFC2 but where is the end? Where can I find a minimum required list to run BAPIs?

    Hi
    for this question : But now it says that "User XXX has no RFC authorization for function group RFC2."
    1. Before executing the model u can check the logged in your and its role ,based on this credentials only allow to execute .
    and for this : Where can I find a minimum required list to run BAPIs
    1. Just a set of authentication to deal with that system in other words All those things to create a JCO connection required to run a BAPI.
    (Elaborate this problem. I have written based on some keywords only )
    Best Regards
    Satish Kumar

Maybe you are looking for

  • Additional field in material document list

    Dear Expert, In the T.code MB51 ( material document list)  in the ITEM DATA i need to add origin group field , is it possible ? kindly help the above issue,, Regards Akshaya

  • Need help on  ORA-02074: cannot SET NLS in a distributed transaction

    Hi All, I am Writing a plsql Code like this DECLARE op_job_id NUMBER; op_object_version_number NUMBER; x_job_definition_id NUMBER; op_name VARCHAR2(1000); L_VERIFY_FLAG VARCHAR2(1); l_error_message VARCHAR2(2000); BG_ID NUMBER; lv_job_group_id APPS.p

  • Lenovo 10-3 & OpenGL 1.5

    Hello coleagues ! I ve picked this machine for keepin it with,  had it setup with win7 and latest bios / drivers. I have vid drivers directly from intel and what ive noticed - bby spec this 3150 gpu should support opengl spec 1.5 but in reality it is

  • Unable to access Admin Tools for portal after configuring LDAP realm

    After setting weblogic to use the LDAP realm I am unable to access the Administration Tools. It does not take the username "administrator" and password "password". I've created the SystemAdministrator Group in LDAP as well as the appropriate "adminis

  • Content Area - Disappearing Entries

    Having a few wierd things happening while populating a Content Area with Documents. 1. Even though every file belongs to the same Category "General" when the files are displayed they are grouped (seemingly arbitrarily) in separate sections with the s