Ecatt using RFC

Hi,
  While I was running the test script in ECATT using RFC destination I was encountering a problem .
It is giving me following message in the log generated.
Control data is obsolete, rerecord (VERBS-NAME: CreateObject CATT: <none>
Callno: 000001)
     Message no. TT377
Please help me on this regard.
<b> Helpful posts will be rewarded</b>

Hi folk!!
I have the same error. Could you please let me know hoy do you solve it?
Thanks!!

Similar Messages

  • Creation of Production order in Past dates using RFC

    Hi all,
    I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
    Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order  for third shift in the Previous day time.
    Ashift - 7AM t0 3PM
    BShift-3PM to 11PM
    CShift-11 PM to Next day morning 7 AM
    I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
    Is this possible.
    Thanks in Advance,
    MBN

    Hi,
    I mean the Production Created date as the basic date only.
    My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time  of the production order to be the C shift starting time that is previous day night 11.00 PM.
    Eg.
    C shift  date 12.04.2010 night 11PM to 7AM
    i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010  11PM.
    What should be done to get these.
    Thanks in advance,
    MBN

  • Data is not getting updated in table using RFC

    Hi Experts,
    In my scenario, I am calling one RFC using RFC receiver channel. After running scenario, channel is showing status that RFC executed successfully. But when I am checking tables in R/3 system, data is not getting updated.
    Moreover , when we tried to execute the RFC manually in R/3 system, that time data uploaded into table successfully.
    Could anybody tell me what would the reason that data not uploading into table when we send it through XI.
    Regards,
    Sari

    HI Sari,
    as you have scenario with RFC receiver.. and as you mentioned that it not updating tables when run through PI but when you execute RFC manually tables got updates.. then following are the options you can check..
    -- if you check RFC communication channel and if everything ok on then.. this means that your RFC is getting triggered successfully..but as you said tables are not updated.. for this you can go to SXMB_MONI and check the log take payload after mapping.. and compare it with the input when you try to execute it manually.. I think the input when you try manually and input to RFC when you try through PI is different and that is causing the Problem.. you will be able to see the difference in input then check.. I think the problem is data and not RFC communication channel..so by using this you will come to know difference
    -- else if possible configure your ID in PI in RFC Receiver and then check and put breakpoint on ABAP side.. so that when PI will hit RFC you will get it in debug mode and able to see what is going wrong..
    Thanks,
    Bhupesh

  • R/3 to PI using RFC Sender Adaptor as Asynchronous scenario

    Hello Folks,
              RFC Adp.           SOAP Adp.
    ECC-->XI--
    >ARIBA
    I am new to PI and doing a scenario mention above. we are using RFC sender adaptor to send the data to XI in asynchronous process.
    I have config the Sender comm. channel as below.
    Appl.  Server(Gateway):  My Ecc Server host name
    Appl. Server Service (Gateway) : My Ecc server
    Program Id : XYZ.
    Note : while creating the the Service interface and Message mapping and Operation mapping I am using the RFCname.respone message type is that ok in asynchronous process?
    And then I went to ECC in Tcode SM59 and created a RFC destination of type TCP/IP
    and put the same information as given above and test the connection which is working fine.
    I have created a FM at ECC end make it remote enabled. and calling the FM in back ground task using destination in a Work flow code.
    When I run the Work flow code It ran successfully but i went to XI side there is no msg in the SXMB_MONI.
    Then i went to the component monitoring->Adatptor engine>Comm. channnel Monitoring and found that under my RFC sender comm. channel there is an error msg saying
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'BS_ECC', toParty '', toService '', interface 'YFPS_MM_I_0242_PO_APPROVAL_OUT', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_0242_PO_Approval_RFC_Sender' (channelId 19585252a58335ee871e4c3a771b027f)
    Where as i have checked that in the sxi_cache t-code there is a sender agreement for my scenario under the sender agreement tab.
    Please Help me in this to resolve the above error. I am totally stuck at this point.I would really appreciate a quick answer.

    Appl. Server Service (Gateway) : My Ecc server
    Confused with this statement.....
    it should have the format sapgwXX ....
    XX is the system number which comes from the j2ee port mentioned in the XI homepage URL
    http://<hostName>:5XX00:rep/start/index.jsp
    How to configure sender RFC adapter...check this blog:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1438
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:
    senderAgreement not found:
    Sender Agreement is Expected in this communication which does not seem to be present in ID....create sender agreement using the RFC communication channel....
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 2, 2009 1:24 AM

  • Automation of service ticket  creation using RFC

    Hello Friends,
    Here is our new requirement.
    In general, in HR team , a manager / employee will perform an action that triggers a workflow in ECC. Then they will call an agent in CRM to raise a service ticket for that. Our requirement is to automate this generation of service ticket when the manager/employee performs an action.  But sometimes CRM system will be down. so at that time we need to save the data and create the service ticket when the system becomes active.
    Approach:
    The workflow will have a method(custom enhancement) that updates a custom table in ECC.
    We(CRM) have to develop a RFC function module to read the data from ECC and update it in the custom table of CRM.
    we have to create a program to loop the data from custom table and create a service order/ticket by using a function module.
    As of now the process looked good.
    1. But we don't see any link between the record in the custom table and service ticket generated. we cannot compare the service ticket and from which record it generated?
    2. After using RFC we read the data into CRM custom table. How do we compare both the tables and delete the ECC table as soon as the CRM tables is updated?
    3. when the service ticket failed to generate we should update the field in the custom table (CRM), the number of failures
    Please help me .....Suggest me if there are any other approaches?

    For question 1 look at the attachments in oss note 940882 Frequently Asked Questions about ERMS
    a mailform can be used but is not required.
    For question #2, John Burton wrote an article in CRM expert a few years back that explains this concept well.  The email coming into the agent inbox doesn't create the ticket until processed but his article explains how it can and give and auto repsonse to the sender with the ticket number attached.

  • Sales order creation using rfc

    hi
    can any one tell me how to create sales order using RFC .
    what is the function module we have to use .
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Mar 17, 2011 1:21 PM

    Mist first line was :-)
    The customer numbers must be in table parameter SALES_PARTNERS.
    Try [SALES_PARTNERS-PARTN_ROLE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=sales_partners+partn_role] = 'WE', 'SP' etc.
    Regards,
    Raymond

  • Lock object using RFC

    Hi,
    in standard transaction I lock an object in an other system using RFC lock(enqueue function) but when I exit from transaction the object in other system is automatically unlocked without using the dequeue function.
    Is It the correct behaviour?
    Thanks,
    Max Boscolo

    Hi
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
    Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
    1. enque_lockobject
    1. deque_lockobject
    before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Lock objects:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Match Code Objects:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
    See this link:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Check these links -
    lock objects
    Lock Objects
    Lock Objects
    Regards
    Anji

  • Using RFC in VC model

    Hi Experts,
    I am doing a VC application. In this I am using Combo box in input form. I am populating this combo box with one RFC from R/3 system. I am able to see data on Development system. I have transported my VC Model and RFC to quality system but on quality I am not able to see any data in Combo box. Is there anything more to be done while using RFC in VC application.  
    I am using VC7.0 NW 2004s SPS11.
    I will assign points to correct solution.
    cheers
    jayant

    Hi Jaykant,
    you need the system connection and the corresponding privilleges.
    Check if the connection work then check if there are dumps or go to backend and trace all RFCs.
    Best Regards,
    Marcel

  • How to use RFC in OO programming?

    experts,
        As far as i know, we can call a function using RFC, such as:
         CALL FUNCTION 'HRRCF_MDL_CAND_OVIEW_RETRIEVE'
       DESTINATION lv_dest
       EXPORTING
         cand_hrobject         = stru_hrobject
         https                 = lv_https
       IMPORTING
         cand_overview         = ls_dataoverview
         messages              = lt_messages
       EXCEPTIONS
         system_failure        = 1  "MESSAGE lv_message
         communication_failure = 2.  "MESSAGE lv_message.
      Is there any way to call a OO(Object Oriented) method using RFC? I have studied the grammar of CALL METHOD, but i can't find some parameters to assign the destination.
      Pls guide me. Thanks.
      qiuguo

    No, you have to use a function module as RFC. But you can create a custom RFC in the target system with the same input parameters as your method and call the method inside the RFC.
    That should do it.
    Regards,
    Michael

  • Using RFC in File to Idoc Scenario

    Hi all,
       I got a complex requirement in EDI to IDOC Scenario , I am getting EDI 850 file from Customer and posting IDOC to R3 . In this process i need to have some validations using RFC(Which connects to R3) at XI level, If these validations fails then we should not post Idoc to R3 and we need to send back a mail to customer. I am not expert at XI, So can you please suggest is there is any way to build this requirement.
    Thanks for looking into this. Your help is appreciable
    Thanks,
    Kishore

    HI Kishore,
    I got a complex requirement in EDI to IDOC Scenario , I am getting EDI 850 file from Customer and posting IDOC to R3 . In this process i need to have some validations using RFC(Which connects to R3) at XI level, If these validations fails then we should not post Idoc to R3 and we need to send back a mail to customer. I am not expert at XI, So can you please suggest is there is any way to build this requirement.
    Yes, u can achieve it by using multimappping.
    First write a functional module wich is remote enabelled(just change the parameter value).
    Then in message mapping u will have  a multimapping,with mail (0..1) occurence.
    If suppose the validation fails u will send a flag or a field which to PI, and based on this value the mail is sent to the recepients.
    In operation mapping make sure that Mail occurence is 0..1.
    If any prblm still.. pl do post.
    Babu

  • How to use RFC in 7.10?

    Hi,
    I'm a little bit confused by the help on NW 7.10 SP7. I normally use RFC connections from web Dynpro but this time I have to use RFC from an EJB. As before I tried "SAP Enterprise Connector" which seems to be depricated.
    I followed the example how to use Destination Service. It imports "cam.sap.mw.jco.JCO". After correcting one error in the given source (could never run that way), I get the JCO marked as deprecated as well. So this source code there seems to be a left over from NW 2004?
    Is the destination service itself also depricated?
    So I found out JCO is now depricated and I should use SAP Java Resource Adapter instead. Can I combine it with destination service or is there something similar as in web dynpro? For Ehp 1 I found this adaptive RFC package, but seems not to be available in 7.10?
    What I clearly want to avoid is to give any user, password or system parameters in the source code as I'm used from Web Dynpro. Can I use the web dynpro mechanism maybe somehow?
    Maybe someone can bring some light in all this
    Thx,
    Frank

    Hi Frank
    >After correcting one error in the given source (could never run that way), I get the JCO marked as deprecated as well. So this source code there seems to be a left over from NW 2004?
    Not exactly. The deprecation means that the JCo API version is 2.X while JCo 3.0 is already available. However, this does not mean that you cannot use the "com.sap.mw.jco.JCO". I know lots of projects running even on 7.11 and 7.20 that still use the JCo 2.X.
    >Is the destination service itself also depricated?
    No, no, no.
    >So I found out JCO is now depricated and I should use SAP Java Resource Adapter instead. Can I combine it with destination service or is there something similar as in web dynpro? For Ehp 1 I found this adaptive RFC package, but seems not to be available in 7.10?
    Java Resource Adapter is just a new JEE container for JCo API. Still it's also has some problems. So I'd not recommend you to use it.
    >What I clearly want to avoid is to give any user, password or system parameters in the source code as I'm used from Web Dynpro. Can I use the web dynpro mechanism maybe somehow?
    Use JCo 2.X + Destination Service. Ignore the API deprecation.
    BR, Siarhei

  • Call remote function on a satellite system using RFC target sys option

    Hi all,
    I am on the Java stack and I would like to call the ABAP stack of a statellite system. I can create a JCo connection on this system directly but for security reason I am not allowed to do that. I would like to call this system through the ABAP stack of my machine (I am in dual stack environment).
    - How can I use RFC target sys (available in SE37 for Remote-Enabled functions) with my JCo connection?
    - Or, is there a generic function which can call all other functions on a remote system (still using RFC target sys)?
    Many thanks,
    Stephan

    Siddhesh - thank you for the link; the blogs by Thomas are required reading as far as I am concerned.
    Hi Raja;
    <i> do you mean another ABAP system (was6.40)?
    and from here using another FM you call the 4.6c
    system RFC ?</i>
    Yes, that is what we are doing.  We are calling a web service from an Intranet form to the 6.40 system that, in turn will call the 4.6C system and pass the data back to the Intranet form (through 6.40)
    <i> may be you could pass the RFC destination as import
    parameter to the 6.40 RFC and use the same will the
    call to 4.6C RFC from the 6.40 RFC</i>
    That would work, but it would be more beneficial to just use the function module on the 6.40 system as a proxy to the function on 4.6c and not have to enter code in it each time. 
    I had thought of writing just one function module in the 6.40 system that could dynamically call any different function module in 4.6c (based on the input parameters), but since were are trying to accomplish SOA, we need visiblity to each web service (ergo function module).
    If it's not possible, that is OK I am just hoping someone had found a way to pull this off.
    Thanks!
    John

  • Using RFC to save a PDF on a local file & then retrieving thru Iview

    In the RFC function module, a pdf is created from a list of spools. I need to display this information on the Iview. However, I am unable to save on local/network drive using RFC (since ws_download/ws_execute will not work). Any suggestions?

    Hi Devina,
    you can try to use <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/2b/d9213c4b8a11d1894c0000e8323c4f/frameset.htm">WebRFC</a>.
    Regards
    Gregor

  • Oracle - XI - SAP ( Using RFC )

    Hi,
    My scenario is Oracle -> XI -> SAP ( Using RFC ), the message in SXMB_MONI is showing success. But iam getting an error on the RFC Side which is as follows.
    2006-04-19 00:21:39 Error Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
    2006-04-19 00:21:39 Error 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: functiontemplate from repository was <null>.
    If anybody has the right idea plz let me know.
    Thanks,
    Kittu.

    hi,
    My payload looks like this .Is that OK or do u find any thing missing in that?
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MTI_BOM xmlns:ns="urn:cts:xi:manufacturing:lean:bom">
    - <row>
      <MATERIAL_NUM>100-02</MATERIAL_NUM>
      <BOM_COMPONENT>115100-01</BOM_COMPONENT>
      <CONFIGURED_BOM />
      <COMPONENT_QUANTITY>1</COMPONENT_QUANTITY>
      <CHANGE_NUMBER>500111</CHANGE_NUMBER>
      <VALID_FROM_DATE />
      <BOM_ITEM_NUMBER>10</BOM_ITEM_NUMBER>
      <COMPONET_UOM>EA</COMPONET_UOM>
      <IND_SUB_ITEM_EXIST />
      <IND_RELEVENCY_TO_COSTING />
      <INSTALATION_POINT_SUBITEM />
      <SUB_ITEM_QUANTITY />
      <STATUS>UPD</STATUS>
      </row>
    Regards,
    Kittu.

  • 3rd party to sap using RFC adapter

    Hi Folks,
    I'm sending some IDOC to sap from the 3rd party. I have to use RFC (TRFC call) adapter as sender and IDOC as receiver adapter.
    Can you please suggest me how to configure teh sender side.
    Regards....

    >
    santosh nayak wrote:
    > Hi Folks,
    > I'm sending some IDOC to sap from the 3rd party. I have to use RFC (TRFC call) adapter as sender and IDOC as receiver adapter.
    > Can you please suggest me how to configure teh sender side.
    >
    > Regards....
    In order to use RFC as sender need to configure the below
    SAP Side
    RFC destination of type T using SM59 tcode
    PI side
    RFC destination of TYPE t type using same tcode
    Note the progid provided should be same in both RFC destionations
    Then during execution of RFC in SAP side need to provide the RFC destionation created there
    HTH
    Rajesh

Maybe you are looking for

  • Black border around boxes and oval shapes

    I created some boxes and oval and circles in InDesign and it is placing a black border around the shapes. How can I get correct this? I am using InD CS6. Thanks, Joe

  • Premiere Pro with Diamond VC500

    Can Premiere Pro capture video from device converter "Diamond VC500"?2

  • Patch to JDev 3.1?

    Has anyone seen and tried the following file: ftp://ftp.oracle.com/pub/www/otn/jdeveloper/patch-hh.zip Is the above a patch from JDeveloper 3.0 to JDeveloper 3.1? John Salvo

  • My infix to postfix algorithm

    I need som help to finish my algorithm. This is what I have so far: import java.util.Stack; import javax.swing.*; public class InfixToPostfix { public static void main(String[] args) { Object slutt = "#"; char[] operator = {'^','*','/','+','-'}; char

  • Qunatites are displayed as * in all reports

    Hi Gurus, In my reports quantity figures are displayed as *. The unit of measure for quantities are EA,PAK,LI... How to display the quantity units in reports with precise values. Regards, Reddy.