SlideShare una empresa de Scribd logo
1 de 35
 creatIf
 removeContexts
 replaceValue
 exists
 splitByValue
 collapseContexts
 useOneAsMany
 sort and sortByKey
 mapWithDefault
 formatByExample
createIf
Description:” I have criteria for existing”. It is used when you want to create target node or element
based on some condition.
Fig.1
Figure depicts createIf node functionality. ID is mapped to MT_Reciever_Minor using createIf function.
Fig.2
Figure depicts result of mapping in Fig.1.As, the value of ID is less than 25, MT_Reciever_Minor node is
created in target side.
Fig.3
Figure depicts createIf node functionality. ID is mapped to MT_Reciever_Major using createIf function.
Fig.4
Figure depicts result of mapping in Fig.3.As, the value of ID is greater than 25, MT_Reciever_Major node
is created in target side.
removeContext
Description: Removes all immediate level contexts of a source field. In this way, you can delete all
hierarchy levels and generate a list.
Fig.5
Figure depicts removeContexts functionality.
Fig.6
Figure depicts result of mapping in Fig.5.By applying removeContexts, all the Cust_NAME fields came in
one context.
replaceValue
Description: Replaces the value of element with a value that you can define in the dialog for the function
properties.
Fig.7
Figure depicts replaceValue functionality.
Fig.8
replaceValue will replace the value of Cust_NAME element with the value defined i.e.20Name.
exists
Description: This is the most frequently needed when mapping IDoc structure to file structure. Lot of
times we come across a scenario where the fields (occurrence=0) are not mandatory in the IDocs are not
populated in the source XML and they are required in the target XML (occurrence =1) which gives a
mapping run time exception that target element cannot be created. We can handle the error by checking
whether the source tag exists and if it does not we can pass an empty value, which generates the
required target field.
Fig.9
Figure depicts exists functionality. ID (source field) is checked for its existence by using exists function.
Fig.10
Figure depicts the existence of ID (source field), so same value is populated in target file.
Fig.11
Figure depicts the non-existence of ID (source field), so same the constant value defined is populated in
target file.
splitByValue
Description: splitByValue() is the counterpart to removeContexts(): Instead of deleting a context, you can
insert a context change in the source value queue.
You can insert a context change in the queue after each value or after each change to the value, or after
each tag without a value.
splitByValue can be achieved in following three ways:
1. EACH VALUE
Fig.12
Figure depicts the splitByValue(Each Value) functionality.
Fig.13
Figure depicts the splitByValue (Each Value) mapping result.
2. VALUE CHANGE
Fig.14
Figure depicts the splitByValue (Value Change) functionality.
Fig.15
Figure depicts the splitByValue (Value Change) mapping result.
3. EMPTY VALUE
Fig.16
Figure depicts the splitByValue (Empty Value) functionality.
Fig.17
Figure depicts the splitByValue (Empty Value) mapping result.
collapseContext
Description: It takes the first value from all the contexts and put them into a context on the target side,
So that all values come under one context.
Empty contexts are replaced by empty strings.
Fig.18
Figure depicts the collapseContexts functionality.
Fig.19
Figure depicts the collapseContexts mapping result.
useOneAsMany
Description: As shown in the figure below the maximum occurrence of the header node in the source is
1 and the target is unbounded. So we have only one occurrence of MatNo & MatDesc, which has to be
replicated for every line Item.
Fig.20
Above figure depicts, both source & target structures.
Fig.21
Above fig depicts, mapping of usOneAsMany function
In the above figure, useOneAsMany takes three arguments.
1. First argument “what should be repeated”.
2. Second argument “how many times, first argument should repeat”.
3. Third argument “Should have same context of Item (Second argument)”.It maintains the context.
MatDesc field will also be mapped in similar way like MatNo.
Fig.22
Number of time Item node appears (repeats), same number of time Header node will appear in target
side. So, source Item node is mapped to Target Header node.
Fig.23
In above fig, Item node is duplicated.
Fig.24
In above fig, Item node is duplicated twice in the source structure. Accordingly, Header is repeating twice
in the target side i.e. MatNo & MatDesc.
sort & sortByKey
Description: The element Cust_Name shall be sorted the same way as the element Cust_ID.
but with two inbound parameters to sort (key/value) pairs. The sort process can be compared to that of a
table with two columns
Sort and sortByKey: Have 3 options.
1) Lexicographically 2) Lexicographically (Case Insensitive) and 3) Numeric.
Fig.25
Figure depicts the sort functionality.
As the functions sort and sortByKey only sort the elements within the same context, we have to use the
functionremoveContexts before sort. After sort we have to restore the original contexts. We do this with
the node functionsplitByValue
Fig.26
Figure depicts the sortByKey functionality.
In the above fig The Cust_Name is sorted based on the Cust_ID.
sortByKey: take two arguments, first argument acts as key for sorting the second argument.
Fig.27
In the above fig Cust_Name is sorted based on Cust_ID.
mapWithDefault
Description: This function provides a default value, whenever the source element is not available.
Fig.28
Figure depicts the mapWithDefault functionality.
Fig.29
Figure depicts the mapWithDefault mapping result.
formatByExample
Description: This function has two arguments, which must both have the same number of values. To
generate the target, the function takes the values from the first argument and combines them with the
context changes from the second argument.
This function allows grouping of values of a tag (Cust_NAME) according to values of another tag
(Cust_ID).
Fig.30
In the Example, Cust_ID is repeated 5 times having 5 different contexts. By using removeContexts
function,remove all the 5 contexts. Then split the Cust_ID in different context whenever value change
occurs, that is achieved using splitByValue (Value Change).From each context, take first Cust_ID and
put it in one context usingcollapseContexts. So, Creating number of Customers nodes based on result
of collapseContexts.
Fig.31
In the Example, Cust_ID is repeated 5 times having 5 different contexts. By using removeContexts
function,remove all the 5 contexts. Then split the Cust_ID in different context whenever value change
occurs, that is achieved using splitByValue (Value Change).From each context, take first Cust_ID and
put it in one context usingcollapseContexts. Again split into different context based on each value by
using splitByValue (Each Value) .So, Creating number of Cust_ID fields based on result of splitByValue.
Fig.32
The figure above depicts formatByExample functionality.
formatByExample takes two arguments:
1. First argument: Field that is to be grouped.
2. Second argument: Base for grouping of first argument.
Fig.33
In the fig above, Cust_NAME is grouped in 2 context based on Cust_ID in the target structure.

Más contenido relacionado

La actualidad más candente

State Management in ASP.NET
State Management in ASP.NETState Management in ASP.NET
State Management in ASP.NETShyam Sir
 
Speed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and HandlebarsSpeed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and HandlebarsMarko Gorički
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data modelAnilPokhrel7
 
INTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREEINTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREEsystematiclab
 
Schema migrations in no sql
Schema migrations in no sqlSchema migrations in no sql
Schema migrations in no sqlDr-Dipali Meher
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introductionPooyan Mehrparvar
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application Madhuri Kavade
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentationateeq ateeq
 
Content provider in_android
Content provider in_androidContent provider in_android
Content provider in_androidPRITI TELMORE
 
Designing applications with web access capabilities
Designing applications with web access capabilitiesDesigning applications with web access capabilities
Designing applications with web access capabilitiesK Senthil Kumar
 
web service technologies
web service technologiesweb service technologies
web service technologiesYash Darak
 
Micro project list dms- 22319
Micro project list dms- 22319Micro project list dms- 22319
Micro project list dms- 22319ARVIND SARDAR
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NETrchakra
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database modelPAQUIAAIZEL
 

La actualidad más candente (20)

State Management in ASP.NET
State Management in ASP.NETState Management in ASP.NET
State Management in ASP.NET
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
 
Speed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and HandlebarsSpeed Up Your APEX Apps with JSON and Handlebars
Speed Up Your APEX Apps with JSON and Handlebars
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
 
INTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREEINTRODUCTION TO DOM AND DOM TREE
INTRODUCTION TO DOM AND DOM TREE
 
Schema migrations in no sql
Schema migrations in no sqlSchema migrations in no sql
Schema migrations in no sql
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
Ado.Net Tutorial
Ado.Net TutorialAdo.Net Tutorial
Ado.Net Tutorial
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentation
 
Content provider in_android
Content provider in_androidContent provider in_android
Content provider in_android
 
Designing applications with web access capabilities
Designing applications with web access capabilitiesDesigning applications with web access capabilities
Designing applications with web access capabilities
 
JNDI
JNDIJNDI
JNDI
 
web service technologies
web service technologiesweb service technologies
web service technologies
 
Concurrency in c#
Concurrency in c#Concurrency in c#
Concurrency in c#
 
Micro project list dms- 22319
Micro project list dms- 22319Micro project list dms- 22319
Micro project list dms- 22319
 
Introduction to ADO.NET
Introduction to ADO.NETIntroduction to ADO.NET
Introduction to ADO.NET
 
Web controls
Web controlsWeb controls
Web controls
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
ADO.NET
ADO.NETADO.NET
ADO.NET
 

Destacado

SAP Systems Integration by SAP PI (XI)
SAP Systems Integration by SAP PI (XI)SAP Systems Integration by SAP PI (XI)
SAP Systems Integration by SAP PI (XI)alpercelk
 
Getting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentationGetting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentationFigaf.com
 
Sap pi overview
Sap pi overviewSap pi overview
Sap pi overviewsmavachee
 
SAP Integration White Paper
SAP Integration White PaperSAP Integration White Paper
SAP Integration White PaperSaleem Rauf
 
A Step By Step Guide Creating A Bpm Scenario In Sap Exchange Infrastructure...
A Step By Step Guide   Creating A Bpm Scenario In Sap Exchange Infrastructure...A Step By Step Guide   Creating A Bpm Scenario In Sap Exchange Infrastructure...
A Step By Step Guide Creating A Bpm Scenario In Sap Exchange Infrastructure...Kevin Wilson
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDIAmit Khari
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idocBunty Jain
 
Nossa Experiência - Promott
Nossa Experiência - PromottNossa Experiência - Promott
Nossa Experiência - Promottpromott12
 
aclogを支えるデザイン
aclogを支えるデザインaclogを支えるデザイン
aclogを支えるデザインrot1024
 
Lesson plan nº 1, 2 and 3
Lesson plan nº 1, 2 and 3Lesson plan nº 1, 2 and 3
Lesson plan nº 1, 2 and 3paulawehn
 
G5 erp-upd
G5 erp-updG5 erp-upd
G5 erp-updsakpob
 
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...Teemu Karvonen
 
Kehamilan dengan bekas seksio sesarea
Kehamilan dengan bekas seksio sesareaKehamilan dengan bekas seksio sesarea
Kehamilan dengan bekas seksio sesareaRsia Muslimat
 
What color do you like
What color do you likeWhat color do you like
What color do you likeorncn
 
Ringkasan ba101 dec2011
Ringkasan ba101 dec2011Ringkasan ba101 dec2011
Ringkasan ba101 dec2011noraisyahalias
 
2011 expoward primaria 6to. año c2
2011 expoward primaria 6to. año c22011 expoward primaria 6to. año c2
2011 expoward primaria 6to. año c2nm48
 
Blackwell Esteem AFSL
Blackwell Esteem AFSLBlackwell Esteem AFSL
Blackwell Esteem AFSLsamueltay77
 

Destacado (20)

SAP Systems Integration by SAP PI (XI)
SAP Systems Integration by SAP PI (XI)SAP Systems Integration by SAP PI (XI)
SAP Systems Integration by SAP PI (XI)
 
Getting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentationGetting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentation
 
SAP PI
SAP PISAP PI
SAP PI
 
Sap pi overview
Sap pi overviewSap pi overview
Sap pi overview
 
SAP Integration White Paper
SAP Integration White PaperSAP Integration White Paper
SAP Integration White Paper
 
A Step By Step Guide Creating A Bpm Scenario In Sap Exchange Infrastructure...
A Step By Step Guide   Creating A Bpm Scenario In Sap Exchange Infrastructure...A Step By Step Guide   Creating A Bpm Scenario In Sap Exchange Infrastructure...
A Step By Step Guide Creating A Bpm Scenario In Sap Exchange Infrastructure...
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
 
Cultural strength
Cultural strengthCultural strength
Cultural strength
 
Nossa Experiência - Promott
Nossa Experiência - PromottNossa Experiência - Promott
Nossa Experiência - Promott
 
aclogを支えるデザイン
aclogを支えるデザインaclogを支えるデザイン
aclogを支えるデザイン
 
Lesson plan nº 1, 2 and 3
Lesson plan nº 1, 2 and 3Lesson plan nº 1, 2 and 3
Lesson plan nº 1, 2 and 3
 
G5 erp-upd
G5 erp-updG5 erp-upd
G5 erp-upd
 
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...
Adapting the Lean Enterprise Self-Assessment Tool for Software Development Do...
 
Kehamilan dengan bekas seksio sesarea
Kehamilan dengan bekas seksio sesareaKehamilan dengan bekas seksio sesarea
Kehamilan dengan bekas seksio sesarea
 
Uuuu 2014-1 efr-corp_pres(final v.2)
Uuuu 2014-1 efr-corp_pres(final v.2)Uuuu 2014-1 efr-corp_pres(final v.2)
Uuuu 2014-1 efr-corp_pres(final v.2)
 
What color do you like
What color do you likeWhat color do you like
What color do you like
 
Ringkasan ba101 dec2011
Ringkasan ba101 dec2011Ringkasan ba101 dec2011
Ringkasan ba101 dec2011
 
2011 expoward primaria 6to. año c2
2011 expoward primaria 6to. año c22011 expoward primaria 6to. año c2
2011 expoward primaria 6to. año c2
 
Blackwell Esteem AFSL
Blackwell Esteem AFSLBlackwell Esteem AFSL
Blackwell Esteem AFSL
 

Similar a Sap pi 10 nodes

Lecture 2 - Classes, Fields, Parameters, Methods and Constructors
Lecture 2 - Classes, Fields, Parameters, Methods and ConstructorsLecture 2 - Classes, Fields, Parameters, Methods and Constructors
Lecture 2 - Classes, Fields, Parameters, Methods and ConstructorsSyed Afaq Shah MACS CP
 
An important part of electrical engineering is PCB design. One impor.pdf
An important part of electrical engineering is PCB design. One impor.pdfAn important part of electrical engineering is PCB design. One impor.pdf
An important part of electrical engineering is PCB design. One impor.pdfARORACOCKERY2111
 
Joel Landis Net Portfolio
Joel Landis Net PortfolioJoel Landis Net Portfolio
Joel Landis Net Portfoliojlshare
 
2 introduction toentitybeans
2 introduction toentitybeans2 introduction toentitybeans
2 introduction toentitybeansashishkirpan
 
E2D3 ver. 0.2 API Instruction
E2D3 ver. 0.2 API InstructionE2D3 ver. 0.2 API Instruction
E2D3 ver. 0.2 API InstructionE2D3.org
 
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdf
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdfNeed done for Date Structures please! 4-18 LAB- Sorted number list imp.pdf
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdfinfo114
 
Introducing Assignment invalidates the Substitution Model of Evaluation and v...
Introducing Assignment invalidates the Substitution Model of Evaluation and v...Introducing Assignment invalidates the Substitution Model of Evaluation and v...
Introducing Assignment invalidates the Substitution Model of Evaluation and v...Philip Schwarz
 
Loops and ArraysObjectivesArrays are a series of elements consi.pdf
Loops and ArraysObjectivesArrays are a series of elements consi.pdfLoops and ArraysObjectivesArrays are a series of elements consi.pdf
Loops and ArraysObjectivesArrays are a series of elements consi.pdfinfo309708
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioRobert Tanenbaum
 
What's New In Python 2.6
What's New In Python 2.6What's New In Python 2.6
What's New In Python 2.6Richard Jones
 
C questions
C questionsC questions
C questionsparm112
 
e computer notes - Reference variables
e computer notes - Reference variablese computer notes - Reference variables
e computer notes - Reference variablesecomputernotes
 
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2Philip Schwarz
 
please code in c#- please note that im a complete beginner- northwind.docx
please code in c#- please note that im a complete beginner-  northwind.docxplease code in c#- please note that im a complete beginner-  northwind.docx
please code in c#- please note that im a complete beginner- northwind.docxAustinaGRPaigey
 

Similar a Sap pi 10 nodes (20)

Visual basic bt0082
Visual basic  bt0082Visual basic  bt0082
Visual basic bt0082
 
Lecture 2 - Classes, Fields, Parameters, Methods and Constructors
Lecture 2 - Classes, Fields, Parameters, Methods and ConstructorsLecture 2 - Classes, Fields, Parameters, Methods and Constructors
Lecture 2 - Classes, Fields, Parameters, Methods and Constructors
 
An important part of electrical engineering is PCB design. One impor.pdf
An important part of electrical engineering is PCB design. One impor.pdfAn important part of electrical engineering is PCB design. One impor.pdf
An important part of electrical engineering is PCB design. One impor.pdf
 
Joel Landis Net Portfolio
Joel Landis Net PortfolioJoel Landis Net Portfolio
Joel Landis Net Portfolio
 
Basic Analysis using Python
Basic Analysis using PythonBasic Analysis using Python
Basic Analysis using Python
 
2 introduction toentitybeans
2 introduction toentitybeans2 introduction toentitybeans
2 introduction toentitybeans
 
E2D3 ver. 0.2 API Instruction
E2D3 ver. 0.2 API InstructionE2D3 ver. 0.2 API Instruction
E2D3 ver. 0.2 API Instruction
 
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdf
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdfNeed done for Date Structures please! 4-18 LAB- Sorted number list imp.pdf
Need done for Date Structures please! 4-18 LAB- Sorted number list imp.pdf
 
Introducing Assignment invalidates the Substitution Model of Evaluation and v...
Introducing Assignment invalidates the Substitution Model of Evaluation and v...Introducing Assignment invalidates the Substitution Model of Evaluation and v...
Introducing Assignment invalidates the Substitution Model of Evaluation and v...
 
Loops and ArraysObjectivesArrays are a series of elements consi.pdf
Loops and ArraysObjectivesArrays are a series of elements consi.pdfLoops and ArraysObjectivesArrays are a series of elements consi.pdf
Loops and ArraysObjectivesArrays are a series of elements consi.pdf
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
R Tanenbaum .Net Portfolio
R Tanenbaum .Net PortfolioR Tanenbaum .Net Portfolio
R Tanenbaum .Net Portfolio
 
What's New In Python 2.6
What's New In Python 2.6What's New In Python 2.6
What's New In Python 2.6
 
C questions
C questionsC questions
C questions
 
Algorithms: I
Algorithms: IAlgorithms: I
Algorithms: I
 
Chapter2
Chapter2Chapter2
Chapter2
 
e computer notes - Reference variables
e computer notes - Reference variablese computer notes - Reference variables
e computer notes - Reference variables
 
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
Scala 3 by Example - Algebraic Data Types for Domain Driven Design - Part 2
 
611+tutorial
611+tutorial611+tutorial
611+tutorial
 
please code in c#- please note that im a complete beginner- northwind.docx
please code in c#- please note that im a complete beginner-  northwind.docxplease code in c#- please note that im a complete beginner-  northwind.docx
please code in c#- please note that im a complete beginner- northwind.docx
 

Último

ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 

Último (20)

ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 

Sap pi 10 nodes

  • 1.  creatIf  removeContexts  replaceValue  exists  splitByValue  collapseContexts  useOneAsMany  sort and sortByKey  mapWithDefault  formatByExample
  • 2. createIf Description:” I have criteria for existing”. It is used when you want to create target node or element based on some condition. Fig.1 Figure depicts createIf node functionality. ID is mapped to MT_Reciever_Minor using createIf function.
  • 3. Fig.2 Figure depicts result of mapping in Fig.1.As, the value of ID is less than 25, MT_Reciever_Minor node is created in target side.
  • 4. Fig.3 Figure depicts createIf node functionality. ID is mapped to MT_Reciever_Major using createIf function.
  • 5. Fig.4 Figure depicts result of mapping in Fig.3.As, the value of ID is greater than 25, MT_Reciever_Major node is created in target side.
  • 6. removeContext Description: Removes all immediate level contexts of a source field. In this way, you can delete all hierarchy levels and generate a list. Fig.5 Figure depicts removeContexts functionality.
  • 7. Fig.6 Figure depicts result of mapping in Fig.5.By applying removeContexts, all the Cust_NAME fields came in one context.
  • 8. replaceValue Description: Replaces the value of element with a value that you can define in the dialog for the function properties. Fig.7 Figure depicts replaceValue functionality.
  • 9. Fig.8 replaceValue will replace the value of Cust_NAME element with the value defined i.e.20Name.
  • 10. exists Description: This is the most frequently needed when mapping IDoc structure to file structure. Lot of times we come across a scenario where the fields (occurrence=0) are not mandatory in the IDocs are not populated in the source XML and they are required in the target XML (occurrence =1) which gives a mapping run time exception that target element cannot be created. We can handle the error by checking whether the source tag exists and if it does not we can pass an empty value, which generates the required target field. Fig.9 Figure depicts exists functionality. ID (source field) is checked for its existence by using exists function.
  • 11. Fig.10 Figure depicts the existence of ID (source field), so same value is populated in target file.
  • 12. Fig.11 Figure depicts the non-existence of ID (source field), so same the constant value defined is populated in target file.
  • 13. splitByValue Description: splitByValue() is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You can insert a context change in the queue after each value or after each change to the value, or after each tag without a value. splitByValue can be achieved in following three ways: 1. EACH VALUE Fig.12 Figure depicts the splitByValue(Each Value) functionality.
  • 14. Fig.13 Figure depicts the splitByValue (Each Value) mapping result.
  • 15. 2. VALUE CHANGE Fig.14 Figure depicts the splitByValue (Value Change) functionality.
  • 16. Fig.15 Figure depicts the splitByValue (Value Change) mapping result.
  • 17. 3. EMPTY VALUE Fig.16 Figure depicts the splitByValue (Empty Value) functionality.
  • 18. Fig.17 Figure depicts the splitByValue (Empty Value) mapping result.
  • 19. collapseContext Description: It takes the first value from all the contexts and put them into a context on the target side, So that all values come under one context. Empty contexts are replaced by empty strings. Fig.18 Figure depicts the collapseContexts functionality.
  • 20. Fig.19 Figure depicts the collapseContexts mapping result.
  • 21. useOneAsMany Description: As shown in the figure below the maximum occurrence of the header node in the source is 1 and the target is unbounded. So we have only one occurrence of MatNo & MatDesc, which has to be replicated for every line Item. Fig.20 Above figure depicts, both source & target structures.
  • 22. Fig.21 Above fig depicts, mapping of usOneAsMany function In the above figure, useOneAsMany takes three arguments. 1. First argument “what should be repeated”. 2. Second argument “how many times, first argument should repeat”. 3. Third argument “Should have same context of Item (Second argument)”.It maintains the context. MatDesc field will also be mapped in similar way like MatNo.
  • 23. Fig.22 Number of time Item node appears (repeats), same number of time Header node will appear in target side. So, source Item node is mapped to Target Header node.
  • 24. Fig.23 In above fig, Item node is duplicated.
  • 25. Fig.24 In above fig, Item node is duplicated twice in the source structure. Accordingly, Header is repeating twice in the target side i.e. MatNo & MatDesc.
  • 26. sort & sortByKey Description: The element Cust_Name shall be sorted the same way as the element Cust_ID. but with two inbound parameters to sort (key/value) pairs. The sort process can be compared to that of a table with two columns Sort and sortByKey: Have 3 options. 1) Lexicographically 2) Lexicographically (Case Insensitive) and 3) Numeric. Fig.25 Figure depicts the sort functionality. As the functions sort and sortByKey only sort the elements within the same context, we have to use the functionremoveContexts before sort. After sort we have to restore the original contexts. We do this with the node functionsplitByValue
  • 27. Fig.26 Figure depicts the sortByKey functionality. In the above fig The Cust_Name is sorted based on the Cust_ID. sortByKey: take two arguments, first argument acts as key for sorting the second argument.
  • 28. Fig.27 In the above fig Cust_Name is sorted based on Cust_ID.
  • 29. mapWithDefault Description: This function provides a default value, whenever the source element is not available. Fig.28 Figure depicts the mapWithDefault functionality.
  • 30. Fig.29 Figure depicts the mapWithDefault mapping result.
  • 31. formatByExample Description: This function has two arguments, which must both have the same number of values. To generate the target, the function takes the values from the first argument and combines them with the context changes from the second argument. This function allows grouping of values of a tag (Cust_NAME) according to values of another tag (Cust_ID).
  • 32. Fig.30 In the Example, Cust_ID is repeated 5 times having 5 different contexts. By using removeContexts function,remove all the 5 contexts. Then split the Cust_ID in different context whenever value change occurs, that is achieved using splitByValue (Value Change).From each context, take first Cust_ID and put it in one context usingcollapseContexts. So, Creating number of Customers nodes based on result of collapseContexts.
  • 33. Fig.31 In the Example, Cust_ID is repeated 5 times having 5 different contexts. By using removeContexts function,remove all the 5 contexts. Then split the Cust_ID in different context whenever value change occurs, that is achieved using splitByValue (Value Change).From each context, take first Cust_ID and put it in one context usingcollapseContexts. Again split into different context based on each value by using splitByValue (Each Value) .So, Creating number of Cust_ID fields based on result of splitByValue.
  • 34. Fig.32 The figure above depicts formatByExample functionality.
  • 35. formatByExample takes two arguments: 1. First argument: Field that is to be grouped. 2. Second argument: Base for grouping of first argument. Fig.33 In the fig above, Cust_NAME is grouped in 2 context based on Cust_ID in the target structure.