Using 2 or more SAP Function Modules together in Simplifier

Tagged:
  • Can
        5 years ago #17309

        Hi everyone,

        We want to send data into our SAP-system with two function modules BAPI_INSPOPER_RECORDRESULT and BAPI_TRANSACTION_COMMIT. This functions have to run together(firstly BAPI_INSPOPER_RECORDRESULT runs and after BAPI_TRANSACTION_COMMIT  runs to save data.)

        In SAP, we can enter data with test sequences successfully; but in Simplifier, our script does not work correctly. How can we run this function modules together in script?

        Our script and SAP test screen are in attachment.

         

         

        Attachments:
        You must be logged in to view attached files.
        Kahn
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
          5 years ago #17315
          Up
          0
          Down
          ::

          You can define multiple function modules  in one call, which will be executed each after another. Just put the number of the call in Bracket [1]/BAPI_TRANSACTION_COMMIT  and [0]/BAPI_INSPOPER_RECORDRESULT (of course for all configuration parameter of the respective call).

           

          Please note, that you cannot specify any result of the previous executed function modules to the next function module. i.e. you cannot use the result of BAPI_INSPOPER_RECORDRESULT which would be the first function module in the function module  BAPI_TRANSACTION_COMMIT. For this Please use Business Objects.

        Viewing 2 posts - 1 through 2 (of 2 total)

        You must be logged in to reply to this topic.