RFC Queue for a BAPI

Hi Guys,
Iam using a BAPI for posting the data into R/3. Is there any way in which i can go and check the data which i had posted into SAP, at a later point of stage using the TID ? If so, please provide the TCode and the process to acheive this .
Thanks,
Kittu.

You marked your answer as correct, is it solved ?
Did you checked the appserv.log of the messaging server ? What the remote sender (PTools version) ?
Nicolas.

Similar Messages

  • RFC adapter for two BAPIs

    Hello,
    I need help to call two BAPIs in RFC Adapter. My scenario is I am getting message from third party system. By default I call a BapiX to create a deal, Then I have to call another BapiZ for commision.The thing is first I have to create it by calling BapiX and BapiZ from one message which I am getting to XI.
    What is best way to do it. In XI is there any way to do this.
    I am not sure do i need to use DB lookup in the mapping.
    Or do i need to use RFC wrapper to put these two BAPIs.
    Thanks,
    Srinivas

    Hello Amit,
    I am just confused. I am using RFC adpter on reciever side.
    You mean You want to use BAPI message type for the interface and create ABAP Server Proxy.
    Now how can i define other RFC message type OR you want me to call other BAPI (Pasting the BAPI code)in the Server Proxy Code.
    By the way i am using synchrnous call.
    Thanks,
    Srinivas

  • NO RFC Destination for BAPI

    Hi,
    I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
    BUS6010 Method POST & CHECK
    BUS2072 Method FINDDETAILS
    I am using the Program RHINLV00_LSO to transfer data.
    When i execute this report it's throwing an error
    " NO RFC Destination for 2 BAPI's".
    An RFC Destination is created in SM59 to link the  two systems and i have distributed the distribution model to R/3 4.7.
    The Function modules are marked as Remote enabled function modules.
    Regards,
    Ramesh K.

    Hello,
    Did you test RFC destination whether the definition is working fine or not?
    You can test the destination,if it's working fine,then Bapis' should be able to execute.
    Thanks.
    Mark points if helpful.

  • NO RFC Destination for BAPI's

    Hi,
    I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
    BUS6010 Method POST & CHECK
    BUS2072 Method FINDDETAILS
    I am using the Program RHINLV00_LSO to transfer data.
    When i execute this report it's throwing an error
    " NO RFC Destination for 2 BAPI's".
    An RFC Destination is created in SM59 to link the two systems and i have distributed the distribution model to R/3 4.7.
    The Function modules are marked as Remote enabled function modules.
    Regards,
    Ramesh K.

    Hi,
    After creating the distribution model with 3 methods in ECC 6.0 (source system). Generated Partner profile automatically from BD64. Then distributed the distribution model to the other system i.e., SAP R/3 4.7 successfully. Then created partner profile from that system automatically.
    Port, partner profiles,outbound parameters, inbound parameters were created successfully.
    Thanks
    Ramesh

  • Lock Queue for a particular Partner No.

    Hi All,
    We want to lock the RFC queue for a particaular partner No. is this possible in SAP?
    Background : We are having a maintainace activity on one of our middle ware, hence there would be changes done to a particular and critical interface. The middle ware team has requested that they should not receive any IDOCs during this time but as the activity is for a substantially high time, we cannot stop the batch which generates the critical Idocs during time as the critical IDOCs can be generated only for N and N-1 day only (Activity may last for 3-5 days depending on the outcome). We would want to lock the queue for a particular Partner No. so that once these IDOCs are generated they can be waiting in queue untill the queue is released and the target system has all the IDOCs required by the time the system is handed over to the bussiness.
    P.S : We are transfering IDOC through TRFC call to the target system.
    Can you please suggest?
    Regards,
    Anand.

    Hi Anand,
    As per SAP documentation
    Creating an Outbound Partner Profile (SAP Library - IDoc Interface/Electronic Data Interchange)
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f5643d711d1893e0000e8323c4f/content.htm
    When you assign a port number for IDOC partner profile, this port number is mapped to a RFC destination.
    Either you can hash out port <-> RFC destination mapping or hash out the RFC destination host mentioned in SM59.
    Hope this helps.
    Regards,
    Deepak Kori

  • Is RFC destination is required for accessing BAPI from java/VB program.

    I am not able to understant that all BAPI are Remote enabled ,but no where I observed that RFC destination is required.
    Can any body tell me exact flow and things step by step.
    Any example/full source code so that I can call from java program.
    I have tried some java code posted here but not able to understand ..
    please provide me setttings also in SAP and java system

    Hi Nagaraju,
    Thank you very much. your post resolve one of my basic need .really appreciate your post.
    I was not able to execute bapi BAPI_MATERIAL_GETLIST but I executed BAPI_PO_GETDETAIL succesfully.
    Still I have 2 doubt.
    [1]. I called BAPI function module(BAPI_PO_GETDETAIL) from simple java program,But I need to call API method ( GETDETAIL) created for this BAPI not direct BAPI function module.
    [2] this is something apart from original topic.
    I have tested your java code in java as well as similar in ECC 6.0
    But I am not getting any output in JAVA program.
    I am getting output in ECC6.0 only when I will take internal table lt_mara[] with header line.
    if I will take separate workarea output is not coming. I think this is the problem in JAVA also.
    Please see the code and tell me where I am wrong.
    REPORT ZTEST1.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara with HEADER LINE.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000088'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000089'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]   .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.
    REPORT ZTEST2.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara, ">> Without header line
           ls_mara like line of lt_mara.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000088'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000089'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]          .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.

  • Finding BAPI/RFC/FM For ME41(Create RFQ)

    Hi,
       Plz help me for finding Bapi/Rfc/Fm for t-code ME41(Create RFQ).
    Thanks,
    Sunil Sahoo

    hi
    we have BAPI'S for many requirements like
    BAPI_VENDOR_CREATE
    BAPI_REQUISITION_CREATE.
    BAPI_QUOTATION_CREATEFROMDATA
    you try this BAPI
    ME_CREATE_REQUISITION_EXT
    hope this helps
    regards
    Aakash

  • Finding BAPI/RFC/FM For inbound Delivery Display(VL33N)

    HI,
      PLZ HELP ME FOR FINDING BAPI/RFC/FM For inbound Delivery Display(VL33N).
    REGARDS,
    SUNIL SAHOO

    Hi,
    Check this link-
    http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm
    Regards.
    Eshwar.

  • User PI_JCO_RFC has no RFC authorization for function group ERFC

    I am doing IDOC-File scenario between newly installed PI and ECC 6.0 systems.
    I have done all the configurations on XI and R/3 end.
    When I TEST to send an IDOC from WE19, I could do it successfully and the status is 03 in we02.
    But when I go and check SM58, I get the said error: User PI_JCO_RFC has no RFC authorization for function group ERFC.
    From that I understand RFC in R/3 end require some authorizations. Am I right? If so, what objects need to be added my user role?
    Please advise.
    Thanks
    Shiva

    Hi,
    Try to add the following authorization object to the role(s) of the RFC user:
    S_RFC
    Set the following authorizations:
    RFC_TYPE = FUGR (function group)
    RFC_NAME = <name of the function group containing the BAPI>
    ACTVT = 16 (execute)
    Regards
    Seshagiri

  • RFC adapters for BusinessService??

    Hi XI Friends..
    In my FILE to BAPI scenario..i am using Receiver as BusinessService and adapter as RFC adapter.
    can I use RFC adapters for  BusinessService ??
    please guide me..
    regards
    Ram

    Hi,
    Take a look at this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    <b>section Advanced Mode.</b>
    <i>If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values “”, “S”, “I”, and “W” are displayed. All other values are regarded as errors.
    To change this setting, set the indicator BAPI Advanced Mode.
    <b>In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.</b></i>
    Regards,
    Bhavesh

  • How to delete RFC queue in SM58?

    [internal code: E60063TWAN]
    Is there a solution (ABAP) to quickly delete records from the RFC queue?
    From time to time we experience problems that cause the RFC queue to freeze (on an SQL deadlock). Strange then is that all jobs that do run are all located on one of the available servers (central instance). Our 2 other application servers remain idle in this case.
    We have no solution at this time for this problem. Only thing we can do is to stop the dataload releated to the locked RFC entries. Next we must delete all the RFC entries manually (hundreds). This must be done 1 by 1.

    Take the help of abaper / basis and dig to the bottom of the issue and see what is causing this.
    I guess if it is happening every day we have fix this at the source.
    Hope this helps.
    Thanks,
    Ravi.

  • Specific queue for one Scenario.

    Hi guys,
    I’m using an RFC interface to connect an R/3 to XI. I would like to use only one specific queue for this scenario. Is it possible specifying a specific queue? Where I can define it?
    Thanks in advance,
    Ricardo.

    Hi Ricardo,
    you can do this using
    Configure Filter for Queue Prioritization in SXMB_ADM Transaction
    For more refer to
    <a href="/people/sap.user72/blog/2005/12/12/how-to-prioritize-messages-in-xi:///people/sap.user72/blog/2005/12/12/how-to-prioritize-messages-in-xi
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413</a>
    Regards,
    Sudharshan

  • Any program for calling bapi from ABAP step by step

    any program for calling bapi from ABAP step by step
    points will be rewarded,
    thank you,
    Jagrut BharatKumar Shukla

    Hi Jagrut,
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    ex BAPI:
    API_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    You can get good help form the following links,
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://sap-img.com/bapi.htm
    <b>EG::</b>
    <b>Here is the step by step procedure for creating BAPIs.</b>
    There are 5 different steps in BAPI.
    - Create BAPI Structure
    - Create BAPI Function Module or API Method.
    - Create BAPI object
    - Release BAPI Function Module.
    - Release BAPI object.
    Step1. Creating BAPI Structure:
    - Go to <SE11>.
    - Select Data Type & Enter a name.
    - Click on Create.
    - Note: Always BAPI should be in a development class with request number (Not Local Object).
    - Select Structure & hit ENTER.
    - Enter the fields from your database. Make sure that the first field is the Primary Key Field.
    - Then SAVE & ACTIVATE.
    Step 2. Creating BAPI module:
    - Enter TR.CODE <SE37>.
    - Before entering any thing, from the present screen that you are in, select the menu
    Goto -> Function Groups -> Create Group.
    Enter a name (Note: This name Must start with ZBAPI)
    Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
    Click on the Third ICON that says Inactive Objects.
    Select the group that you just created and click on Activate.
    Notice that the group you created will disappear from the list of inactive objects.
    - Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
    NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
    Now click on the first Tab that says [ATTRIBUTES] and select the radio button that says remote-enabled module since we will be accessing this from any external system.
    Then click on the second tab that says [IMPORT].
    Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box ‘Pa’. All remotely enabled functional modules MUST be Pa enabled, where Pa means ‘Passed by Value’ and if you don’t select ‘Pa’, then that means it will be passed by reference..
    Then click on tab that says [EXPORT].
    Enter the following as is in the first three fields
    RETURN TYPE BAPIRETURN (These 3 field values are always same)
    Here also select ‘Pa’ meaning Pass by value.
    Note: BAPIRETURN contains structure with message fields.
    Then SAVE and ACTIVATE.
    Step 3. Creating BAPI object:
    - Enter Tr.Code <SWO1> (Note. It is letter ‘O’ and not Zero).
    - Enter a name and then click on create. Enter details.
    NOTE: Make sure that that Object Type and Program name are SAME.
    - Enter Application ‘M’, if you are using standard table Mara. If you are using your own database then select ‘Z’ at the bottom.
    - Then hit <ENTER>.
    - Now we have to add ‘Methods’. High light METHODS and then select the following from the menu:
    Goto Utilities -> API Methods -> Add Methods.
    - Enter function Module name and hit <ENTER>.
    - Select the second FORWARD ARROW button (>)to go to next step.
    - Check if every thing looks ok and again click on FORWARD ARROW button (>).
    - Then select ‘YES’ and click on <SAVE>.
    - Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
    - Goback to TR.CODE <SWO1>.
    Here select the menu combination shown below in the same order.
    - Edit -> Change Release Status -> Object Type Component -> To Implemented.
    - Edit -> Change Release Status -> Object Type Component -> To Released.
    - Edit -> Change Release Status -> Object Type -> To Implemented.
    - Edit -> Change Release Status -> Object Type -> To Released.
    - Then click on <SAVE>.
    - Then click on Generate Button (4th button from left hand side looks like spinning wheel).
    - Then Click on the button that says ‘PROGRAM’ to see the source code.
    To check if this is present in work flow goto TR.CODE <BAPI>.
    Here it shows business object repository.
    - First click on the middle button and then select “ALL” and hit ENTER.
    - Goto tab [ALPHABETICAL] and look for the object that you created. This shows that the BAPI object has been created successfully
    <b>Reward pts if found usefull :)</b>
    regards
    Sathish

  • Sending BUPA_MAIN into the RFC queue

    Hello,
    I would like to send BDoc <b>BUPA_MAIN</b> into the RFC queue
    (must be default for Business Partner), for selected BP from my report.
    I know how to send bupa_main direct to the site, but it is not the same.
    Can anyone help me with this ?
    Regards, Robert

    Hi Vikash,
    thanks for the answer.
    Unfortunately this tx has sent BP <b>direct to the site</b> not to the queue.
    Flow context (smw01) shows MO4 (mBDoc Direct Send) for Bupa_Main.
    And for test I stopped all queues in tx: SMQ2.
    And maybe there is a problem with the RFC configuration ?
    In transaction after BP is selected new window "SELECT SITE" shows,
    and what I can see is one line where :
    RFC Destination = NONE
    #          = empty
    Log.System     = empty
    Site Type ID      =  CDB
    Site ID           = some guid
    What do you think ?
    Best Regards,
    Robert

  • Program sending queries to a RFC Queue

    Hi experts!
    I have a program that is sending queries to outbound RFC queue ( T/ smq1). How can i know the name of this program and how can i stop the queries?
    Thanks to all.

    Hi,
    Double Click on the Queue Name and check all the columns in Next screen.
    Second last column is for Program Name.
    Regards,
    Ranjit Thakur.
    <b>Please Mark The Helpful Answer.</b>

Maybe you are looking for

  • Not able to play back after recording in Openscript

    I am recording a web application, when I am playing back the same script it gives a error. I am recording the script in Open script. The error I am getting is as follows: Summary: "Failed to create variable LINK_14_17, path=.//A[text()='XXXXXXX']/@hr

  • SGD 4.3 authenticate with AD(Users login n get different set of application

    Hi SGD Forum users, First of all, happy new year and happy holiday to all of you from new SGD user :-). We are planing to Demo SGD 4.3 to one of our customer by early next week. So, what the customer would like to see with the demo: 1) From SunRay cl

  • Help with gradients

    Hi everyone, I have to make my green shape look exactly like the one on the right. I've got the right colors but I am not able to move the radial gradient over to the left. When I click on the gradient tool, I get a circle symobl with a line through

  • Update modes Diffrences & Scenarios

    Hi Experts, I am always confusing about these methods & scenarios when we'll use Direct Delta, Queued Delta, Unserilised V3 Update. My Humble request is please give me with real time scenarios. Thanks & Regards Suresh

  • Units of Measure, Currency Configuration in BI system

    Hi Gurus, We are setting up the new BI Development system....My question is how to Configure 'Units of Measure', 'Currency' RSADMIN, etc. Gurus Plz let me the procedure to configure these settings!!! Thanks in Advance -Lakshmi raj