SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Multiple Work Center/Resource Selection and Classification in Master Recipe f...
Multiple Work Center/Resource Selection and Classification in Master Recipe f...Multiple Work Center/Resource Selection and Classification in Master Recipe f...
Multiple Work Center/Resource Selection and Classification in Master Recipe f...Ankit Sharma
 
Production order splitting
Production order splittingProduction order splitting
Production order splittingDharmendra Kumar
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6bluechxi
 
Sales and Operation Planning in SAP
Sales and Operation Planning in SAPSales and Operation Planning in SAP
Sales and Operation Planning in SAPAnkit Sharma
 
Recurring inspection in QM
Recurring inspection in QMRecurring inspection in QM
Recurring inspection in QMAnkit Sharma
 
Asug82928 whats new in sap s4 hana for advanced atp
Asug82928   whats new in sap s4 hana for advanced atpAsug82928   whats new in sap s4 hana for advanced atp
Asug82928 whats new in sap s4 hana for advanced atpNigelw17
 
Co product costing detailed trng
Co product costing detailed trngCo product costing detailed trng
Co product costing detailed trngVenkat Reddy
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAPsapdocs. info
 
55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sapPepa Pencheva
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
User exits
User exitsUser exits
User exitsanilkv29
 
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-docsAbhishek Sarkar
 
Sap mm-im-goods-movements-user-manual
Sap mm-im-goods-movements-user-manualSap mm-im-goods-movements-user-manual
Sap mm-im-goods-movements-user-manualNew Sovanna Hang
 
CK40N-Automation of Standard Cost Estimate
CK40N-Automation of Standard Cost EstimateCK40N-Automation of Standard Cost Estimate
CK40N-Automation of Standard Cost EstimateJeff Lu
 

Tendances (20)

Multiple Work Center/Resource Selection and Classification in Master Recipe f...
Multiple Work Center/Resource Selection and Classification in Master Recipe f...Multiple Work Center/Resource Selection and Classification in Master Recipe f...
Multiple Work Center/Resource Selection and Classification in Master Recipe f...
 
Production order splitting
Production order splittingProduction order splitting
Production order splitting
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6
 
Session 14 validation_steps_sap
Session 14 validation_steps_sapSession 14 validation_steps_sap
Session 14 validation_steps_sap
 
Sales and Operation Planning in SAP
Sales and Operation Planning in SAPSales and Operation Planning in SAP
Sales and Operation Planning in SAP
 
Pi pcs interface
Pi pcs interfacePi pcs interface
Pi pcs interface
 
Recurring inspection in QM
Recurring inspection in QMRecurring inspection in QM
Recurring inspection in QM
 
Table for inventory status for serialized materials
Table for inventory status for serialized materialsTable for inventory status for serialized materials
Table for inventory status for serialized materials
 
Asug82928 whats new in sap s4 hana for advanced atp
Asug82928   whats new in sap s4 hana for advanced atpAsug82928   whats new in sap s4 hana for advanced atp
Asug82928 whats new in sap s4 hana for advanced atp
 
Co product costing detailed trng
Co product costing detailed trngCo product costing detailed trng
Co product costing detailed trng
 
Basic Debugging
Basic DebuggingBasic Debugging
Basic Debugging
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap55811936 product-costing-cost-estimation-in-sap
55811936 product-costing-cost-estimation-in-sap
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
User exits
User exitsUser exits
User exits
 
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
 
SAP SD Notes
SAP SD NotesSAP SD Notes
SAP SD Notes
 
Sap mm-im-goods-movements-user-manual
Sap mm-im-goods-movements-user-manualSap mm-im-goods-movements-user-manual
Sap mm-im-goods-movements-user-manual
 
CK40N-Automation of Standard Cost Estimate
CK40N-Automation of Standard Cost EstimateCK40N-Automation of Standard Cost Estimate
CK40N-Automation of Standard Cost Estimate
 
Revenue account determination
Revenue account determinationRevenue account determination
Revenue account determination
 

Similaire à Dynamic Function Call in PI Sheet (XStep)

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 implementationnitin2517
 
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.docxketurahhazelhurst
 
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 AWSAmazon Web Services
 
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 .docxamrit47
 
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.pptxmohayyudin7826
 
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...Nagios
 
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 2015Samuel De Rycke
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorialNaveen Raj
 
Change transport system in SAP
Change transport system in SAP Change transport system in SAP
Change transport system in SAP chinu141
 
Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeansHuu Bang Le Phan
 
Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01nanda 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 .docxamrit47
 
0801 sap business_workflow_and_business_rules_framework_plus_brfplus
0801 sap business_workflow_and_business_rules_framework_plus_brfplus0801 sap business_workflow_and_business_rules_framework_plus_brfplus
0801 sap business_workflow_and_business_rules_framework_plus_brfplusRivalino Pereira
 

Similaire à 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
 
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
 
0801 sap business_workflow_and_business_rules_framework_plus_brfplus
0801 sap business_workflow_and_business_rules_framework_plus_brfplus0801 sap business_workflow_and_business_rules_framework_plus_brfplus
0801 sap business_workflow_and_business_rules_framework_plus_brfplus
 

Plus de Ankit Sharma

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 TrainingAnkit Sharma
 
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/ScaleAnkit Sharma
 
SAP Sales and Operational Planning -SOP
SAP Sales and Operational Planning -SOPSAP Sales and Operational Planning -SOP
SAP Sales and Operational Planning -SOPAnkit Sharma
 
SAP Long Term PLANNING
SAP Long Term PLANNINGSAP Long Term PLANNING
SAP Long Term PLANNINGAnkit Sharma
 
SAP GUI and Navigation - Quick Guide
SAP GUI and Navigation - Quick Guide SAP GUI and Navigation - Quick Guide
SAP GUI and Navigation - Quick Guide Ankit Sharma
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture Ankit Sharma
 
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 trainingAnkit Sharma
 
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 ConsultantAnkit Sharma
 
ASAP Methodology for Implementing SAP System
ASAP Methodology for Implementing SAP System ASAP Methodology for Implementing SAP System
ASAP Methodology for Implementing SAP System Ankit Sharma
 

Plus de Ankit Sharma (10)

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
 
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
 

Dernier

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Dernier (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

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