How To Fix 6G070 - Function module may not contain any transfer parameters


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 6G - Messages for System Administration Assistant

  • Message number: 070

  • Message text: Function module may not contain any transfer parameters

  • Show details Hide details
  • What causes this issue?

    In the System Administration Assistant, a function module is to be
    linked as an executable action to a node.

    System Response

    The function modules contains transfer parameters.
    In the System Administration Assistant, only function modules without
    parameters can be executed.

    How to fix this error?

    Only use modules without transfer parameters.
    You can also modifiy the particular module if it is not an SAP standard
    object and you can eneter the required values per dialog.
    You can also create a function module that performs the dialog and
    transfers the specified values to the relevant module.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 6G070 - Function module may not contain any transfer parameters ?

    The SAP error message 6G070 indicates that a function module is being called with transfer parameters, which is not allowed. This error typically arises when you attempt to use a function module that is defined as a "remote-enabled" function module, but you are trying to pass parameters that are not allowed in this context.

    Cause:

    1. Function Module Definition: The function module is defined in such a way that it does not accept any transfer parameters. This is common for function modules that are designed to be called remotely (RFC-enabled) or are intended for specific internal processing.
    2. Incorrect Call: The calling program or function module is incorrectly trying to pass parameters to a function module that does not accept them.

    Solution:

    1. Check Function Module Definition:

      • Go to transaction SE37 (Function Module) and enter the name of the function module that is causing the error.
      • Check the parameters defined for the function module. Ensure that it does not have any parameters defined as "Import" or "Export" if it is not supposed to.
    2. Modify the Call:

      • If you are calling this function module from another program or function module, ensure that you are not passing any parameters. Remove any transfer parameters from the call.
      • If you need to pass data, consider using a different function module that allows transfer parameters or modify the existing function module to accept them if appropriate.
    3. Consult Documentation:

      • Review the documentation for the function module to understand its intended use and any restrictions on parameter passing.
    4. Check for Updates:

      • If this is a standard SAP function module, check if there are any notes or updates from SAP that might address this issue.

    Related Information:

    • RFC-Enabled Function Modules: These are designed to be called from remote systems and have specific rules regarding parameter passing.
    • SAP Notes: Always check the SAP Support Portal for any relevant notes that might provide additional context or solutions for this error.
    • Debugging: If you are unsure where the error is occurring, you can use the debugger to trace the execution and see where the function module is being called incorrectly.

    By following these steps, you should be able to resolve the error message 6G070 and ensure that your function module calls are correctly configured.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author