Sending value to SAP-system with Simplifier

Tagged:
  • Can
        5 years ago #17299

        Hi everyone,

        I have a question about SAP RFC connection . We want to enter data to our SAP-system with function modules BAPI_INSPOPER_RECORDRESULTS and BAPI_TRANSACTION_COMMIT. We need enter data into BAPI_INSPOPER_RECORDRESULTS ‘s Table part. In SAP-system we can enter datas with this function modules and show with BAPI_INSPOPER_GETDETAIL. But in Simplifier, we can not add Table type as input parameter. We have to fill CHAR_RESULT table for evaluation info. How can we add Table fields as input ?

        Our Simplifier and SAP function module interfaces are here;

        BAPI for display in last step :

        BAPI for adding data :(import)

        TABLE (CHAR_RESULTS is here) We want to add value into CHAR_RESULTS .

        Simplifier part is in attachment.

         

        Attachments:
        You must be logged in to view attached files.
        Andreas
            5 years ago #17314
            Up
            1
            Down
            ::

            Same problem in Berlin and Mexiko at the moment. Any solution?

            Regards
            Andreas

            Mathieu Roll
                Has successfully completed the online course Introduction
                Has successfully completed the online course Intermediate (200)
                Has successfully completed the online course Advanced (300)
                Has successfully completed the online course Basics (100)
              5 years ago #17305
              Up
              0
              Down
              ::

              Hello Can,

              wich version of Simplifier do you have ?

              Because Table Parameters is not available until simplifier version 4.5.65

              Burak
                  5 years ago #17307
                  Up
                  0
                  Down
                  ::

                  Hello,

                   

                  It is 4.5.98 LTS

                  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 #17317
                    Up
                    0
                    Down
                    ::

                    Please send us a transport with filled out constant values, so we can look more deeply into it. The data can be fake data.

                    Andreas
                        5 years ago #17318
                        Up
                        0
                        Down
                        ::

                        What kind of transport do you need? What has to be the contents?

                        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 #17319
                          Up
                          0
                          Down
                          ::

                          Please do the following step

                          1. Copy the connector, which has the BAPI_INSPOPER_RECORDRESULTS

                          2. Delete all other calls in the copied connector

                          3. Set the Login method reference of the copied connector to None

                          4. Fill out the Constant values with the appropriate (semantical correct but not real) data OR

                          5. provide us a JSON with obfuscated (semantical correct but not real) data, if the structures are to complicated.

                           

                          I think this will suffice.

                           

                          Cheers

                           

                          Kamil

                          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 #17340
                            Up
                            0
                            Down
                            ::

                            If you want to use the BAPI-COMMIT after calling a function module before you have to use a batched connector call.

                             

                            As I have answered your question in the other post already. Here is the answer.

                            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.

                             

                            IMPORTANT:

                            If you want to call a function module without any payload you have to provide the function module name and a FAKE VALUE

                            Also here is an example (in a picture)

                            Attachments:
                            You must be logged in to view attached files.
                            Burak
                                5 years ago #17343
                                Up
                                0
                                Down
                                ::

                                We do not have a chain example such as getting the result of first and use it in the 2nd one.

                                We have already tried that solution but it does not save result to SAP. See the result and the config in the attachment.

                                Attachments:
                                You must be logged in to view attached files.
                              Viewing 9 posts - 1 through 9 (of 9 total)

                              You must be logged in to reply to this topic.