![]() |
|
|
|
| Step # 1: Go to the Transaction Code RSPC for Process Chain Maintenance. | |
![]() |
|
| Step # 2: Click the Create Button for to Create New Process Chain. | |
![]() |
|
| Step # 3: Provide the Process Chain Name and it's Description | |
![]() |
|
| Step # 4: Click on Create Button to Start the variant Creation. | |
![]() |
|
| Step # 5: Give the Process Variants Name and Description and Click on Continue. | |
![]() |
|
| Step # 6: Click on the Change Selections | |
![]() |
|
| Step # 7: Click on the Immediate Button . | |
![]() |
|
| Step # 8: Click on the Immediate Button. | |
![]() |
|
| Step # 9: Click on Continue. | |
![]() |
|
| Step # 10: Click on Process types Button. | |
![]() |
|
| Step # 11: Click on Process types Button. | |
![]() |
|
| Step # 12: Provide the name for Modify Dynamically. | |
![]() |
|
| Step # 13: Provide the name for Modify Dynamically. | |
![]() |
|
| Step # 14: Provide the name for Run Logic. | |
![]() |
|
| Step # 14: Select the BPC Clear Tables. | |
![]() |
|
| Step # 15: Provide the Name. | |
![]() |
|
![]() |
|
| Step # 14: List of Process types will be displayed. And Select Run Logic and Right Click on it. | |
![]() |
|
| Step # 15: Provide the Process Variants description. | |
![]() |
|
| Step # 16: Provide the Process Variants description. | |
![]() |
|
| Step # 17: Provide the Parameter field names. | |
![]() |
|
| Step # 18: Select the Clear BPC Tables. | |
![]() |
|
| Step # 19: Select the Clear BPC Tables. | |
![]() |
|
| Step # 20: Provide the Description | |
![]() |
|
| Step # 21: Provide the Parameter name and it’s Value. | |
![]() |
|
| Step # 25: Go to SE19 Transaction | |
![]() |
|
| Step # 26: Select the New BADI Radiobutton. And Press F4 on Enhancement Spot to select the BPC Interface for BADI. | |
![]() |
|
| Step # 27: Select the UJ_CUSTOM_LOGIC Enhancement Spot and click on Continue. | |
![]() |
|
| Step # 28: Select the UJ_CUSTOM_LOGIC Enhancement Spot and click on Continue. And Click on Create Implement. | |
![]() |
|
| Step # 29: Provide the Enhancement Implementation Name and Short Text and click on continue. | |
![]() |
|
| Step # 30: Save the Enhancement In a Package. | |
![]() |
|
| Step # 31: Click on new Request Create Button. | |
![]() |
|
| Step # 32: Provide the Short Description and click on Save. | |
![]() |
|
| Step # 33: Click on Save. | |
![]() |
|
| Step # 34: Click on Save. | |
![]() |
|
| Step # 35: Click on Continue. | |
![]() |
|
| Step # 35: Provide the BADI Implementation name and Implementation Class Name. | |
![]() |
|
| Step # 36: Provide the BADI Implementation name and Implementation Class Name. | |
![]() |
|
| Step # 37: Expand the ZCS_BADI_IMPL_DATA and select and double click on Filter Val | |
![]() |
|
| Step # 38: Double click on Value1 field. | |
![]() |
|
| Step # 39: Provide the Field Value name. | |
![]() |
|
| Step # 40: Double click on the class name (ZCS_BADI_CLS_DATA) and navigate to the method tab area. | |
![]() |
|
| Step # 40: Click on SAVE YES. | |
![]() |
|
| Step # 41: Double click on the method name (IF_UJ_CUSTOM_LOGIC_EXECUTE) and navigate to the editor. | |
![]() |
|
| Step # 42: Click on YES. | |
![]() |
|
| Step # 43: write the code. | |
![]() |
|
| Step # 44: Save and activate the method. | |
![]() |
|
| Step # 44: Method Activated. | |
![]() |
|
| Step # 45: Go to SAP BPC Data Manager and login. | |
![]() |
|
| Step # 46: Click on Manage Data. | |
![]() |
|
| Step # 46: Click on Maintain data Management. | |
![]() |
|
| Step # 46: Double click on Manage Packages (Organize list). | |
![]() |
|
| Step # 46: Click on Save. | |
![]() |
|
| Step # 46: Click on Save. | |
![]() |
|
| Step # 46: Provide the Package group and package name. | |
![]() |
|
| Step # 46: Select the Package and save it. | |
![]() |
|
| ABAP Function Module Example to move data from one Cube into another Cube | |
| Business Case: | |
|---|---|
Sending data from one cube into another cube using ABAP Remote Function Module with the help of RFC (Remote Function Call) And without writing the IDOC and ALE Settings |
|
| Objective: | |
To create a remote enabled function module and RFC Creation (Remote Function Call) for the destination in outbound system level (I.e. sender). And write the logic in ABAP editor and execute the Program. To get the data Login into destination client and execute the function module at inbound system (I.e. Receiver).The data will be sending automatically. DESTINATION is the Keyword used to call the remote enabled function module. |
|
| How to Call RFC Function Modules in ABAP? | |
You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run.
The remotefunction field can either be a literal or a variable. The field Dest can be either a literal or a variable: its value is a logical destination (for example, "Hw1071_53") known to the local SAP System. You can define logical destinations in table RFCDES using transaction SM59. |
|
| Calling Remote Functions Locally | |
If you want to call a function module, which is registered as being remote in an SAP system, in the same SAP system, you have two options for making this call:
The CALL FUNCTION statement and the parameter handling is different for both cases. Remote Call: CALL FUNCTION...DESTINATION = 'NONE' This is a remote call, even though DESTINATION = 'NONE' means that the remote function will run in the same system as the caller. As a remote call, the function module runs in its own roll area, and parameter values are handled as for other remote calls (described in Parameter Handling in Remote Calls.) CALL FUNCTION Remotefunction Local Call: CALL FUNCTION... [no DESTINATION used] This is a local call, even though the function module is registered as remote. The module does not run in a separate roll area, and is essentially like a normal function call. Parameter transfer is handled as for normal function modules. In particular, if the call leaves some EXPORTING parameters unspecified, it terminates abnormally. CALL FUNCTION Remotefunction |
|
| Implementation Steps: | |
| Step # 1: Login to SAP ECC. | |
![]() |
|
| Step # 1: Go To the SE37 T-code In SAP Easy access. | |
![]() |
|
| Step # 2: Provide the Function GROUP Name and Click on Enter. | |
![]() |
|
| Step # 3: Click on YES. | |
![]() |
|
| Step # 4: Provide the Short Text Name and click on SAVE. | |
![]() |
|
| Step # 5: Provide the Package name and click on SAVE. | |
![]() |
|
| Step # 6: Provide the Function Module Name and Click on Create. | |
![]() |
|
| Step # 7: Give the Function group and short text and Save it. | |
![]() |
|
| Step # 8: Go to Attribute Tab and Select the Remote-Enabled Module radio button. | |
![]() |
|
| Step # 9: go to Import Tab and Provide the Parameter Values and associated type. And select the Pass by value for the both. | |
![]() |
|
| Step # 10: go to Tables Tab and Provide the Parameter name (internal table Name) and associated type as MARA Table. | |
![]() |
|
| Step # 11: go to Source Code Tab and write the Logic and Save it. | |
![]() |
|
| Step # 12: Activate the Function module. | |
![]() |
|
| Step # 13: Create RFC. Go to SM59 Transaction code for Remote Function Call. | |
![]() |
|
| Step # 14: Place the Cursor on ABAP R/3 Connections and Click on Create. | |
![]() |
|
| Step # 15: Provide the RFC Destination name and Description | |
![]() |
|
| Step # 16: Click on Logon & Security Tab and Provide the Language and Client and user and Password for Destination client. And Click on Remote logon button. | |
![]() |
|
| Step # 17: you will get the 810 Client initial screens. | |
![]() |
|
| Step # 18: Go to SE38 Transaction code to create program logic. | |
![]() |
|
| Step # 19: Give the Program name and Click on create. | |
![]() |
|
| Step # 20: Provide the Title and report type and Save it. | |
![]() |
|
| Step # 21: Provide the Package name and save it. | |
![]() |
|
| Step # 22: give the Short Description and save it. | |
![]() |
|
| Step # 23: Write the Logic and call the Function Module. | |
![]() |
|
| Step # 24: Call the Function Module. | |
![]() |
|
| Step # 25: Write the Logic. Give the Destination System RFC name for the Function module. | |
![]() |
|
| Step # 26: Give the Parameters. | |
![]() |
|
| Step # 27: Output of the Program. | |
![]() |
|
| Step # 28: Go to 810 clients for destination system. (For Test the Object) | |
![]() |
|
| Step # 29: Go to se37 Transaction code. | |
![]() |
|
| Step # 30: Go to SE37 Transaction code and provide the Function module name and execute. IN 810 CLIENT | |
![]() |
|
| Step # 31: Provide the Values for the fields. | |
![]() |
|
| Step # 32: Provide the Values for the fields and give the RFC Name. | |
![]() |
|
| Step # 33: all the entries will be created in destination system automatically. | |
![]() |
|
| Step # 34: You will get the below screen in destination system. | |
![]() |
|
||