SlideShare a Scribd company logo
1 of 30
Dynamic Function Call
Execution Steps (XSteps)
By,
Ankit Sharma
SAP PP Consultant
businessconsulting007@gmail.com
+91-8888896575 / 8888632763
XStep: Dynamic Function Calls
Use
You can use this function to call certain SAP functions from within the PI sheet
or perform certain calculations and checks in the PI sheet. ABAP function
calls that have been created for the corresponding use are used for the
function call.
Prerequisites
The function module to be called must exist and be active in the Function
Builder (ABAP Development Workbench).
Features
The SAP system contains a number of predefined function modules that you
can use in function calls. You can also create your own function modules.
The function can be executed in the following ways:
 Manually
A button with the description saved appears in the PI sheet. The function
is only executed, once you have triggered it using the pushbutton.
 Event-driven
You can specify an event that triggers the function automatically. The
system automatically executes the function as soon as the event is
triggered.
 Manual and event-driven
You can execute the function manually and parallel to this, the function
can also be automatically triggered using a defined event. To do this you
specify an event.
Step 1: Create a Folder in Xstep Repository.
Step 2: New Folder Created.
Step 3: Enter Description.
Step 4: Folder name changed.
Step 5: Created Standard Xstep.
Step 6: Enter Description.
Step 7: Enter Version Number and Validity Period.
Step 8: Create XStep
Step 9: Enter XStep
Step 10: Enter Parameter.
Step 11: Enter Valuation.
Step 12: Generation is not required here.
Step 13: Select Control Recipe Destination
Step 14: Create Process Instruction.
Step 15: Select Process Instruction Type.
Step 16: Create INPUT Parameter Value.
Step 17: Enter Parameter Description and Correct Parameter Type – Start Date
Step 18: Enter Parameter Description and Correct Parameter Type – Start Time
Step 19: Enter Parameter Description and Correct Parameter Type – End Date
Step 20: Enter Parameter Description and Correct Parameter Type – End Time
Step 21: Create a Control Data - Function Call
Step 22: Create a Control Data - Function Call
Step 23: Enter Functional Module Name.
COPF_DETERMINE_DURATION: It’s a standard SAP function module. It calculate difference between
two times.
Step 24: Enter all input Parameter Name.
Step 25: An Output Parameter need to be define in order to Show “Result”.
Step 26: Create an Output Parameter.
Step 27: Enter Description and Parameter Type.
Step 28: Enter Duration Parameter in Functional Module.
Step 29: Complete Xstep Repository is created.
Step 30: Release the Version.
Step 31: Save Xstep Repository.
Step 32: Simulate XStep Repository to see look and feel of PI sheet.
Testing on Xstep Dynamic Function Call Functionality:
Step 1: Create a Process Order
Step 2: Check Xstep Repository which got exploded via Master Recipe in Process
Order.
Step 3: You can simulate PI sheet via Process Order also.
Step 4: Release Process Order
Step 5: Generate Control Recipe.
Step 6: Status of Order must be XSez, XSgn and XSpr.
Step 7: Execute Transaction CO53 and Send Control Recipe.
Step 8: Execute Transaction CO60.
Step 9: You can view PI sheet and execute the calculation functionality.
Step 10: Enter Values.
Step 11: Click on Calculate Duration Button.
Step 12: Total Duration Calculated
10:30 am – 10:00 am = 30 Minutes
Step 13: Re-calculate Duration
10:45 am – 10:00 am = 45 Minutes
This is how you can call Dynamic Function Call in PI sheet.
The following table provides an overview of the function modules that you can
define as dynamic function calls:
Function Function Module
Calling of any transaction COPF_CALL_TRANSACTION
Order confirmation for phases COPF_ENTER_CONFIRMATION
Displaying of material quantity calculation in the order COPF_MATERIAL_QUANTITY_CALC
Display of documents created in the SAP document
management system
COPF_DOCUMENT_SHOW_DIRECT
Calculate the duration of time intervals COPF_DETERMINE_DURATION
Calculating of the start date of a time interval COPF_DETERMINE_START_TIME
Calculate the end date of a time interval COPF_DETERMINE_END_TIME
Create physical-sample records for quality
inspections during production
QPRS_PI_NEW_SAMPLE_DRAW
Processing of sample drawing
(for example, release/lock physical sample)
Recording of inspection results in QM COPFX_QM_INSPECTION_RESULT_REC
Sample function module for check function COPF_VALIDATION_FUNCTION_TEST
QPRS_PI_NEW_SAMPLE_DRAW_PROCESSING
Some Standard Functional Module

More Related Content

What's hot

Production order splitting
Production order splittingProduction order splitting
Production order splitting
Dharmendra Kumar
 
Sap pp shop floor control configuration
Sap pp   shop floor control configurationSap pp   shop floor control configuration
Sap pp shop floor control configuration
Vikranth Ikkalaki
 

What's hot (20)

201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docs201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docs
 
Production order splitting
Production order splittingProduction order splitting
Production order splitting
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginners
 
Sap mrp-configuration-pp
Sap mrp-configuration-ppSap mrp-configuration-pp
Sap mrp-configuration-pp
 
Sap pp org
Sap pp orgSap pp org
Sap pp org
 
Pi pcs interface
Pi pcs interfacePi pcs interface
Pi pcs interface
 
SAP PP
SAP PPSAP PP
SAP PP
 
Output determination
Output determinationOutput determination
Output determination
 
MRP Live on S/4 HANA
MRP Live on S/4 HANAMRP Live on S/4 HANA
MRP Live on S/4 HANA
 
Make to order document
Make to order document Make to order document
Make to order document
 
LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)LSMW Tutorial (Spanish Espanol)
LSMW Tutorial (Spanish Espanol)
 
Free goods determination
Free goods determinationFree goods determination
Free goods determination
 
SAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infoSAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.info
 
Third party process
Third party processThird party process
Third party process
 
Sap pp shop floor control configuration
Sap pp   shop floor control configurationSap pp   shop floor control configuration
Sap pp shop floor control configuration
 
Production Supply with SAP EWM
Production Supply with SAP EWMProduction Supply with SAP EWM
Production Supply with SAP EWM
 
Bom in sap
Bom in sapBom in sap
Bom in sap
 
SAP: ECR, ECO, BOM
SAP:  ECR, ECO, BOMSAP:  ECR, ECO, BOM
SAP: ECR, ECO, BOM
 
240935187-Handling-Unit-Management-in-SAP-Packing-During-Outbound-Process.pptx
240935187-Handling-Unit-Management-in-SAP-Packing-During-Outbound-Process.pptx240935187-Handling-Unit-Management-in-SAP-Packing-During-Outbound-Process.pptx
240935187-Handling-Unit-Management-in-SAP-Packing-During-Outbound-Process.pptx
 

Similar to Dynamic Function Call in PI Sheet (XStep)

CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
keturahhazelhurst
 
PT1420 Modules in Flowchart and Visual Basic .docx
PT1420 Modules in Flowchart and Visual Basic             .docxPT1420 Modules in Flowchart and Visual Basic             .docx
PT1420 Modules in Flowchart and Visual Basic .docx
amrit47
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
Naveen Raj
 
Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01
nanda nanda
 
PT1420 Decision Structures in Pseudocode and Visual Basic .docx
PT1420 Decision Structures in Pseudocode and Visual Basic .docxPT1420 Decision Structures in Pseudocode and Visual Basic .docx
PT1420 Decision Structures in Pseudocode and Visual Basic .docx
amrit47
 

Similar to Dynamic Function Call in PI Sheet (XStep) (20)

SAP TAO 2.0
SAP TAO 2.0SAP TAO 2.0
SAP TAO 2.0
 
06 procedures
06 procedures06 procedures
06 procedures
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
Workshop: Building a Streaming Data Platform on AWS
Workshop: Building a Streaming Data Platform on AWSWorkshop: Building a Streaming Data Platform on AWS
Workshop: Building a Streaming Data Platform on AWS
 
PT1420 Modules in Flowchart and Visual Basic .docx
PT1420 Modules in Flowchart and Visual Basic             .docxPT1420 Modules in Flowchart and Visual Basic             .docx
PT1420 Modules in Flowchart and Visual Basic .docx
 
Apex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptxApex Replay Debugger and Salesforce Platform Events.pptx
Apex Replay Debugger and Salesforce Platform Events.pptx
 
Qtp basics
Qtp basicsQtp basics
Qtp basics
 
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
 
Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
 
Change transport system in SAP
Change transport system in SAP Change transport system in SAP
Change transport system in SAP
 
User Tutorial
User TutorialUser Tutorial
User Tutorial
 
Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeans
 
Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
PT1420 Decision Structures in Pseudocode and Visual Basic .docx
PT1420 Decision Structures in Pseudocode and Visual Basic .docxPT1420 Decision Structures in Pseudocode and Visual Basic .docx
PT1420 Decision Structures in Pseudocode and Visual Basic .docx
 

More from Ankit Sharma

More from Ankit Sharma (12)

The 8 waste in Lean Manufacturing - Lean Six Sigma Training
The 8 waste in Lean Manufacturing - Lean Six Sigma TrainingThe 8 waste in Lean Manufacturing - Lean Six Sigma Training
The 8 waste in Lean Manufacturing - Lean Six Sigma Training
 
SAP PI Sheet (Xstep) integration with Weighing Machine/Scale
SAP PI Sheet (Xstep) integration with Weighing Machine/ScaleSAP PI Sheet (Xstep) integration with Weighing Machine/Scale
SAP PI Sheet (Xstep) integration with Weighing Machine/Scale
 
SAP Sales and Operational Planning -SOP
SAP Sales and Operational Planning -SOPSAP Sales and Operational Planning -SOP
SAP Sales and Operational Planning -SOP
 
One Page Resume
One Page ResumeOne Page Resume
One Page Resume
 
SAP Long Term PLANNING
SAP Long Term PLANNINGSAP Long Term PLANNING
SAP Long Term PLANNING
 
Sales and Operation Planning in SAP
Sales and Operation Planning in SAPSales and Operation Planning in SAP
Sales and Operation Planning in SAP
 
Recurring inspection in QM
Recurring inspection in QMRecurring inspection in QM
Recurring inspection in QM
 
SAP GUI and Navigation - Quick Guide
SAP GUI and Navigation - Quick Guide SAP GUI and Navigation - Quick Guide
SAP GUI and Navigation - Quick Guide
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture
 
Lean six sigma Yellow Belt Complete training
Lean six sigma Yellow Belt Complete trainingLean six sigma Yellow Belt Complete training
Lean six sigma Yellow Belt Complete training
 
SAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional ConsultantSAP BADI Implementation Learning for Functional Consultant
SAP BADI Implementation Learning for Functional Consultant
 
ASAP Methodology for Implementing SAP System
ASAP Methodology for Implementing SAP System ASAP Methodology for Implementing SAP System
ASAP Methodology for Implementing SAP System
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Dynamic Function Call in PI Sheet (XStep)

  • 1. Dynamic Function Call Execution Steps (XSteps) By, Ankit Sharma SAP PP Consultant businessconsulting007@gmail.com +91-8888896575 / 8888632763
  • 2. XStep: Dynamic Function Calls Use You can use this function to call certain SAP functions from within the PI sheet or perform certain calculations and checks in the PI sheet. ABAP function calls that have been created for the corresponding use are used for the function call. Prerequisites The function module to be called must exist and be active in the Function Builder (ABAP Development Workbench). Features The SAP system contains a number of predefined function modules that you can use in function calls. You can also create your own function modules. The function can be executed in the following ways:  Manually A button with the description saved appears in the PI sheet. The function is only executed, once you have triggered it using the pushbutton.  Event-driven You can specify an event that triggers the function automatically. The system automatically executes the function as soon as the event is triggered.  Manual and event-driven You can execute the function manually and parallel to this, the function can also be automatically triggered using a defined event. To do this you specify an event.
  • 3. Step 1: Create a Folder in Xstep Repository. Step 2: New Folder Created.
  • 4. Step 3: Enter Description. Step 4: Folder name changed.
  • 5. Step 5: Created Standard Xstep. Step 6: Enter Description.
  • 6. Step 7: Enter Version Number and Validity Period. Step 8: Create XStep
  • 7. Step 9: Enter XStep Step 10: Enter Parameter.
  • 8. Step 11: Enter Valuation. Step 12: Generation is not required here.
  • 9. Step 13: Select Control Recipe Destination Step 14: Create Process Instruction. Step 15: Select Process Instruction Type.
  • 10. Step 16: Create INPUT Parameter Value.
  • 11. Step 17: Enter Parameter Description and Correct Parameter Type – Start Date Step 18: Enter Parameter Description and Correct Parameter Type – Start Time
  • 12. Step 19: Enter Parameter Description and Correct Parameter Type – End Date Step 20: Enter Parameter Description and Correct Parameter Type – End Time
  • 13. Step 21: Create a Control Data - Function Call
  • 14. Step 22: Create a Control Data - Function Call
  • 15. Step 23: Enter Functional Module Name. COPF_DETERMINE_DURATION: It’s a standard SAP function module. It calculate difference between two times.
  • 16. Step 24: Enter all input Parameter Name.
  • 17. Step 25: An Output Parameter need to be define in order to Show “Result”. Step 26: Create an Output Parameter.
  • 18. Step 27: Enter Description and Parameter Type.
  • 19. Step 28: Enter Duration Parameter in Functional Module. Step 29: Complete Xstep Repository is created.
  • 20. Step 30: Release the Version. Step 31: Save Xstep Repository. Step 32: Simulate XStep Repository to see look and feel of PI sheet.
  • 21. Testing on Xstep Dynamic Function Call Functionality: Step 1: Create a Process Order
  • 22. Step 2: Check Xstep Repository which got exploded via Master Recipe in Process Order.
  • 23. Step 3: You can simulate PI sheet via Process Order also. Step 4: Release Process Order
  • 24. Step 5: Generate Control Recipe. Step 6: Status of Order must be XSez, XSgn and XSpr.
  • 25. Step 7: Execute Transaction CO53 and Send Control Recipe.
  • 26. Step 8: Execute Transaction CO60.
  • 27. Step 9: You can view PI sheet and execute the calculation functionality. Step 10: Enter Values.
  • 28. Step 11: Click on Calculate Duration Button. Step 12: Total Duration Calculated 10:30 am – 10:00 am = 30 Minutes
  • 29. Step 13: Re-calculate Duration 10:45 am – 10:00 am = 45 Minutes This is how you can call Dynamic Function Call in PI sheet.
  • 30. The following table provides an overview of the function modules that you can define as dynamic function calls: Function Function Module Calling of any transaction COPF_CALL_TRANSACTION Order confirmation for phases COPF_ENTER_CONFIRMATION Displaying of material quantity calculation in the order COPF_MATERIAL_QUANTITY_CALC Display of documents created in the SAP document management system COPF_DOCUMENT_SHOW_DIRECT Calculate the duration of time intervals COPF_DETERMINE_DURATION Calculating of the start date of a time interval COPF_DETERMINE_START_TIME Calculate the end date of a time interval COPF_DETERMINE_END_TIME Create physical-sample records for quality inspections during production QPRS_PI_NEW_SAMPLE_DRAW Processing of sample drawing (for example, release/lock physical sample) Recording of inspection results in QM COPFX_QM_INSPECTION_RESULT_REC Sample function module for check function COPF_VALIDATION_FUNCTION_TEST QPRS_PI_NEW_SAMPLE_DRAW_PROCESSING Some Standard Functional Module