Sending value to SAP-system with Simplifier
-
Can5 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.Mathieu RollHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)KahnHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)KahnHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)5 years ago #17319::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
KahnHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)5 years ago #17340::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.Burak5 years ago #17343
You must be logged in to reply to this topic.