RFC function module without RETURN parameter thows error in XI. Please help

Hi Experts,
   I have a File to RFC scenario in XI. The RFC function module that I am using at the receiving end does not have "RETURN" parameter. So when I test my scenario I get "RETURN" parameter not found error on SXMB_MONI.
So is it mandatory that RFC function module must have RETURN parameter when used in XI?
Is there any work around to avoid the error without changing the RFC function module?
Please help!
Thanks
Gopal

In my senario the QOS is best effort because it is a Sync.
But the function module is sync in nature as it is returning a parameter called SO_Docs and Ret_Msg. The Ret_Msg contains the error info but it not of BAPIRET2 type.
So is there any way to avoid this error when my QOS is best effort?
Please help!
Gopal

Similar Messages

  • Call RFC Function Module and return 1000 records at a time

    I would like to call a Remote Enabled Function Module from a non SAP system.  This function module will select data from the database and return it to the calling program.
    Suppose there are 100,000 records that need to be returned, but the calling module would like the data in chunks of 1000 records.  Therefore the calling program would call the FM 100 times. 
    How do I code the function module to know on each subsequent call to grab the next chunk of 1000 records? 
    Let me know if additional information is needed.
    Thanks,
    Aaron

    Hello,
    Here is how you can go for this issue:
    1. Create one RFC function module with following parameter. These parameters are with respective of chunking logic.
         Import: Package Size
         Export: Total number of records
         Changing: chunk count
    Implement following logic:
    1. First of you need to know how many chunks you need to fetch for that get the count of total number of records. This is one  
        time activity so you better maintain one flag import parameter will be set to 'X' only first call.
    2. Get the number of chunk using total number of records / chunk size for e.g. 1000 / 100 so chunk count = 10.
    3. Define internal chunk counter in function module which will be used to locate the correct chunk depending on the chunk
        counter value sent from calling program.
    4. Send first call with package size 100 and chunk count = 1, execute select statement and increment internal
        chunk count check if chunk count = internal chunk count in current case chunk count = 1 so exit select statement and return
        with first chunk.
    5. Send second call with package size 100 and chunk count = 2. Execute select statement and check chunk count with internal
        chunk counter, in current case it will be 1 so skip that data and go for next chunk of 100 records increment internal chunk  
        counter. In this case it will match with external chunk count = 2. load output table with that data and return to calling program.
    6. Repeat step 4 until you reach last chunk.
    You need to use SELECT...ENDSELECT with PACKAGE SIZE addition so for every loop it will return number of records mentioned in package size.
    Hope this helps.
    Thanks,
    Augustin.

  • How to debug a RFC function  when the user is non-dialog type? Please help!

    hi Experts,
      I am calling a RFC FM residing in B from R/3 system A.
    R/3 A -
    Call FM residing in B----
    > R/3 B
    The user attached to the remote destination is a non-dialog type.
    I cannot change the user type of this user.
    Therefore how to debug the RFC FM in System A?
    Are there any alternatives?
    Please help
    Thanks
    Gopal

    in your RFC FM, code an endlees loop.
    something like:
    data: gv_x  type xfeld value 'X'.
    do.
      if gv_x = space.
        exit.
      endif.
    enddo.
    now you can catch the mode in TA SM50, go in it, change gv_x to space and debug what is coming further.

  • Save for web return an unknown error!! Please help

    Whenever I press "save" on the save for web GUI this comes up. http://prntscr.com/4gpseu I really don't know what to do. I need to save a small animation (3 frames) as a gif. I'm on Windows 7 32 bit with Photoshop CC 2014.

    You can use either AVI or MOV but MOV will give you a bit of lossless compression (small file size reduction over uncompressed AVI).
    What I mean by lossless is try exporting to MOV, in the video settings set the codec to "Animation", keep the colors at RGB (Millions) or if you need alpha then RGB+Alpha (Millions+). Keep the quality set all the way to the highest. Then go in audio settings and choose anything you like. Export the movie.
    Now take the very large MOV file it made into Adobe Media Encoder. Once it's imported, choose a preset (H.264, etc) and choose your desired compression settings. You will see there are a lot more compression settings. Also set your audio options. Then when you're done customizing your preset just click the green start icon and let AME compress your high quality source to a much smaller file size.
    Just clarifying, after you import your video in AME and you choose your preset you have to click the presets orangeish hypertext to customize the presets settings. It will not overwrite that preset so don't worry about what you change. Pay special attention to the bottom of the custom settings panel because it lets you see the output file size. Adjust your quality controls until you hit the file size you want (both video and audio). You also have a preview panel so you can see the output at any part of the timeline using those settings.

  • Unknown error calling a RFC Function Module in BODI

    Hi all,
    I am having an issue identifying the error that my batch job in BODI is giving with regards to a RFC function module call in my query. The value returned by the standard parameter 'AL_RFC_RETCODE' are square characters (              ).
    At the completion of the job, the error message 'RFC CallReceive error <Function ZCT_INDSLS_SLS_TRN_INSERT: Invalid request.. Invalid request.>.' is being output.
    Correct me if I'm wrong but the parameter 'AL_RFC_RETCODE' should return standard values as per the techical manual provided to undertand any errors that might occur during a RFC FM call.
    Can anyone help me on this?
    Best regards,
    Andrew Wong

    Hi Senthil,
    I think you answered your query in your question itself
    The user ID and password need to be maintained in RFC destination in SM59.
    Go to SM59 and then click on test connection..if it does not ask for ID and passwoed that means correct ID and password is maintained in SM59 otherwise maintain it.
    Regards,
    Atish

  • Error when call RFC Function module in R/3

    Dear All,
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
    This is the first time we are doing this configuration.
    Could you please let me know what woulbe the reason.

    read the original message
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter

  • Error while creating import parameters in RFC function module

    Hi,
    I am trying to create import parameter in RFC enabled function module and getting the following error "Reference parameters are not allowed with RFC". Am I doing something wrong.
    Your earlier response is much appreciated
    Regards
    Kasi

    There is a "Pass by Value" checkbox, just check that and you wont get the error.  The basic reason behind is since an RFC is called by a different system the parameters have to be sent as values than as references.
    hith
    Sunil Achyut

  • Table type in import parameter in rfc function module

    Hi we don't have the table type in our system which exist in the other system which is the import parameter of the rfc function module.so how can we pass the parameter. shell we create the same table type in our system also.it is a table type for a deep structure.

    Hello,
    I donot have access to CRM box I cannot view the FM. You can verify with the CRM counterpart what exactly is the TYPE for param DATA.
    Else you can define a generic internal table (TYPE TABLE) & try calling the FM.
    BR,
    Suhas

  • Question about destination parameter in RFC function module

    Greetings,
    For execution of RFC function module such as MD_STOCK_REQUIREMENTS_LIST_API  on local server, the destination parameter is not required or it can be DESTINATION 'NONE'. I observe that the second option is much slower than the first option. My question is why the second is much slower.
    Thanks,
    Hung

    I've tested it with se37 by leaving RFC target system blank or filling it with 'NONE' , I saw 53000 microseconds versus 45000 microseconds.
    Hung

  • Rfc function module call error

    Hi Abaper,
    I'm doing upgrade from 4.7 to ecc 6.0 currently and encounter problem in one of the rfc function module that we used. I've tested the connection to destination using sm59 and the connection is successful.
    As an information, in the rfc setting, the target system is not Unicode system.
    When I test using se37 and put the rfc destination in my function module call, I always encountered system_error exception. There's no issue with this rfc call before in 4.7 system.
    Please help me on this. Thank you.
    Edited by: Abraham Bukit on Sep 3, 2008 2:36 AM

    Hi,
    I had the same issue in the past and solved it in the following way.
    If the destination system is not Unicode please try to set the password for the communication user set in SM59 using only upper-case characters and taking into account that the password shouldn't be longer than 8 characters.
    Hope this will help.

  • Error in RFC Function module

    Hi Expert,
    I am facign very strenge problem in the RFC function module.
    I have passed the paramters to the RFC function module and getting the result back into the table paramters.
    HWen i am trying to execute the RFC function module in the destination system , i am getting the result in the table paramerts.
    but when i am trying to excute the same uising program then i am not getting the same result in the table pramters , value of sy-subrc is also 0 . and there is no dump in the source and destination system. not sure why this is not able to get the result.

    Hello,
    Can you please post the actual ABAP code that calls the RFC? Are you checking for the standard RFC exceptions?
    Also have you manually tested the RFC in SE37, using the same RFC destination? (ie test it in the source system, calling the target system). This is to make sure that there are no communication issues.
    cheers
    Paul Bakker

  • Perform In RFC function Module

    Hi Experts,
    Can we use perform statement inside the RFC function module.
    I am working with 4.6b version.
    I am not sure about the cause of error.
    Earlier without perform it was working well.
    Now I have written perform , it is giving me error.
    What would be the cause of the error.
    Thanks In Advance
    Irfan Hussain

    Hi,
    what is the error, what it is saying. and are you sure of that.
    try to use using parameter
      PERFORM MOVE_HEADER_IN  TABLES RETURN
                              <b>USING</b> SALESDOCUMENT
                                    SALES_HEADER_IN.
    Regards
    vijay

  • Exception error_message in rfc function module

    Hi all,
    I am getting a short dump Raise exception in my R/3 system when calling a RFC function module in R/3 for printing  a label in LOFTWARE. The error analysis shows the that exception condition 'Nlink exception' condition raised . The rfc destination is working fine  and also i have included the predefined exceptions system_failure and communication_failure and also I have used RFC_PING function module before calling teh rfc for printing . Yet it is giving short dump.
    I heard that if we include one more exception error_message with return code 99
    ie exceptions
        system_failure = 1
        communictaion_failure = 2
        error_message = 99. there will be no short dump.
    Can anyone explain me why the return code for exception error_message is not 3 but 99 and also what is the significance of this.
    Need your help.

    from dump no information is available also it last occured 5 days ago so refreshed from our system..
    I want to know what is the importance of the return code 99 here...
    can anyone clarify this concept and aslo genrally in rfc exception handling communication_failure and system_failure can handle all type of exceptions then why error_message exception is added with a return code of 99..

  • RFC function module Structure compatibility

    Dear Friends,
    I have one funcion module defined in R/3 system which I need to call from my EBP system.
    The Function module has importing parameter of the type /ZLCRD/TAX_PROCESSING_DATA, which has been created in R/3.
    If I try to create the similar structure in EBP, it says name space does not exist. Any idea about how this would have been created?
    Also, if I simply define a structure with the normal z name with exactly same fields, in the same order in EBP system and pass this as the exporting parameter while calling the RFC enabled function module, would that be a problem?
    Please help!
    Thanks
    Veena

    Hi Veena,
    Here ZLCRD is the name space. This is like a package in java, in case you are familiar with Java or it is like name spaces in XI, if you know XI.
    Such name spaces have to be created by BASIS with permission from SAP.
    Ideally it should not give an error if the data types match but it may give an error in case actual type names are compared. I'm not quite aware of EBP system.

  • Where should i call the rfc function module? in xi or in r/3

    where should i call the rfc function module?
    for the synch scenario: file < -- >  xi <---> rfc
    i know the type of rfc is tcp/ip; but i'm not sure with the followings,
    and with some trials i can not even see any message via rwb even all the setting
    can be activated without errors.
    where should i create the rfc destination? in r/3 or xi
    where should i call the rfc via abap program? in r/3 or xi
    i guess the calling program should belong to the different server with the rfc itself....
    so confused....
    Thanks for your reply!!
    Jun

    if i create the destination in xi point to r/3, then i call the rfc use the destination in r/3 right ?
    The call doesnt use the destination in R3. XI has the RFC destination which is just used to connect to the R3 system
    but where i need to create the fm via se37? in xi or r/3 ?
    In R3
    Regards,
    Prateek

Maybe you are looking for

  • IDRAC6 racadm not working on Windows 2008 R2 x64 Server

    We have Dell PowerEdge M910 on a M1000e Blade Chasis iDRAC is Accessible via its Web Site and racadm -r works on different Server But on the Actual Machine its giving me the Error of: ERROR: RACADM is unable to process the requested subcommand becaus

  • Upgrade Plug-ins Error, Cannot Open

    I am unable to open a file I have worked on on my computer previously. I'm using CS4 6.0.6. When trying to open the file I get the error in the image below.

  • How to create a rich UI in Java ME ?

    I want to create a beautiful interface for my midlet, is the use of Canvas or GameCanvas sufficient ?

  • Palm Pixi simple question for the pros

    How do I block my wireless number from being displayed on an outgoing call, or can it be done? Post relates to: Pixi p120eww (Sprint)

  • Bound Properties and Listeners

    First i will explain what I'm trying to do: I have two different panels and I'm trying to get the JTextFields to communicate in such a way that whatever i type in one JTextField will show up in the JTextField of the other panel (not necessarily in re