Step by step guide to configure Data Chunk when invoking RPC service in TIBCO ActiveMatrix (R) Adapter for SAP
book
Article ID: KB0088942
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions
-
Not Applicable
-
Description
Resolution: Description: ============ The step by step guide to configure Data Chunk when invoking RPC service
Environment: =========== o All versions of TIBCO Adapter for SAP (R/3) on all Platforms o All versions of SAP systems.
Resolution: =========== 1. Please create a new project in designer and configure an inbound request-response adapter service as usual. In our sample project, we configure a request-response service named "Z_RFC_CUSTOMER_GETServer". 2. Please create a process to invoke the request-response service. See screenshot "process.jpg" 3. Click the "Invoke an Adapter Request-Response Service" activity in "/Process Definition" panel and select the "Input" tag below. Expend the tree and select the "__caret_userClosure_caret_" node in "Active Input". Click "!" See screenshot "chunk1.jpg". 4. Select the "Type" tag in the "Edit Statement" dialog. Select the "Type Substitution" checkbox. See screenshot "chunk2.jpg". 5. Click the "binocle" icon and browse the resource "RFCCLOSURE" for it. See screenshot "chunk3.jpg". Click "OK". 6. Click "OK" of the "Edit Statement" dialog. 7. Now, the "__caret_userClosure_caret_" node in "Active Input" can be expended. There are several parameters such as "GUID", "bUseCache", " packetSize", " cacheDirection", "bClearCache" under it. Those parameters are described in document "Chapter 6 Advanced Features : Handling Large Internal Tables from SAP".
To test the sample project, we set the following parameters mentioned above: a) "GUID" as "test" to identify a unique client. b) "bUseCache" as 1 to Identify this is a data-chunking request. c) "packetSize" as 2 means two records will be sent back from adapter. 1. Run the adapter we configured in Adapter Tester. 2. Set the RFC parameter "KUNNR" as "*". Shown in the screenshot "chunk4.jpg". 3. Start the process in Tester. 4. We can get two records. See screenshot "test1.jpg". 5. Stop the process and start again. You’ll get next two records. See screenshot "test2.jpg". 6. We set the parameter "cacheDirection" as "-" (it’s a minus sign). And restart process. See screedshot "test3.jpg". 7. We will regain the two records which we have gotten in step 4. See screenshot "test4.jpg".
Attachments: =========== testChunk.zip: the sample project zip sceenshot.zip: the screenshots zip
Issue/Introduction
Step by step guide to configure Data Chunk when invoking RPC service in TIBCO ActiveMatrix (R) Adapter for SAP
Attachments
Step by step guide to configure Data Chunk when invoking RPC service in TIBCO ActiveMatrix (R) Adapter for SAP
get_app
Step by step guide to configure Data Chunk when invoking RPC service in TIBCO ActiveMatrix (R) Adapter for SAP
get_app