Sie sind auf Seite 1von 15

7/15/2015

MessageMappingSimplifiedPartII|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

sravya.talanki2

MessageMappingSimplifiedPartII
PostedbySravyaTalankiinsravya.talanki2onDec8,20052:07:41AM
Share

Tweet

0 Like

Irecommendthereaderstogothrough MessageMappingSimplifiedPartIbeforemarchingaheadwiththisblog.
TherewasadelayinbloggingthePartIIduetomyprojectschedules.IstillremembermyschooldayswhereIalways
lovedtosolvethemostdifficultandconfusingproblemsencounteredinmyfavoritesubject&#147Maths&#148.The
sameusedtohappenwithmeincomputerswhileingraduation.Ineverscoredexcellentpercentagesinmyreport
cardsbutIusedtobethefirstonetoraiseahandwithasolutionwhenevermyteacherdeclarestheproblemisnot
easilysolvable.Idon&#146tsleepuntilthatissolvedandhavebeensuccessfultilldate.
Themostirritatingpartinthemessagemappingistounderstandthenodefunctions.SoIwilltrytoexplainaboutit,
whichmightbeusefulforanynewXIdeveloperstoplayaround.Ican&#146tassurethatexplanationis100%correct
asIamtryingtoexplainthewayIunderstand.Iamabletosolveanycomplexmessagemappingthatisencountered
sofarandthoughtofputtingacrossmyunderstandingtosdn.Experiencedprofessionalscanexcuseifthe
understandingisalreadythere!
Typesofusefulnodefunctions:
1.removeContexts
2.SplitByValue
3.collapseContexts
4.copyValue(notanodefunction)
5.createIf
6.exists
7.useOneAsMany
HereItriedexplainallthenodefunctionwithonerealtimeexample.Thiskindofscenarioisveryfrequentwhen
dealingwithidocsandflatfiles.
BriefaboutTransformationLogic:MaterialMasterIdocissentwithoneheaderandmultipleitemswhichhastobe
writtentoatargetfilecontainingcombinationofheaderandlineitemdetails.Ididnotusetheactualidocstructurefor
betterclarity.

Noticetheoccurrencefieldinboththesourceandtargetformat.Ihavetogeneratetargetheadernodesequaltothe
numberofoccurrencesofiteminthesourcenode.SoImapitasshownbelow.

Ichosethetransformationlogicsuchthatallthenodefunctionsareused.
1.removeContexts&#147Thereisabsolutelynodifferencebetweenmychildrenorgrandchildrenorgreatgrand
children&#148.MaterialGroupissentintheitemnodeofthesourceidocbutIwantitintheheadernodeofthetarget
idoc.SoIneedtofoolthemappingruntimethatMaterialGroupiscomingintheheadernodeofthesource.
removeContextexactlydoesthat.

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

1/15

7/15/2015

MessageMappingSimplifiedPartII|SCN

Wearemakingthegrandchild&#147MaterialGroup&#148asachildoftheheadernodeandfoolingthemapping
runtimetoparseaccordingly.
2.SplitByValue&#147Ineedadifferentparentforeveryinstanceofme&#148
Iwilltrytoexplainthefunctionwiththesamemappingasreaderscancorrelatewell.EachinstanceofItemnointhe
sourcestructureshouldgenerateatargetitemNoanditemunderadifferentinstanceoftheheadernodeinthetarget.
Aswecanobservethatoccurrencesofiteminthesourceandtargetstructurearedifferentwecannotmapthe
elementsoftheitemnodedirectly.WeusesplitbyValuetoachievethesame.

splitbyValuegeneratesItemnointhetargetforeveryvalueofitemNointhesourceunderadifferenttargetinstanceof
itemnodewhichinturnbelongstoadifferentheadernode.
3.collapseContexts&#147Thereisjustaslightdifferencebetweenmychildrenorgrandchildrenorgreatgrand
children&#148.SimilartoremoveContextbutcontextchangeisreplacedwith&#147&#148.Ifweneedtocreate
emptytagsinthetargetforeverycontextchangeinthesourcewecanuseit.IdidnotfinditusefulsoIdon&#146tlike
toexplainindetail.
4.copyValue&#147HowmanyevertimesIoccurIamcopiedjustonce&#148.ThisisnotanodefunctionbutIam
explainingitasitisusedveryfrequentlyinrealtime.
Letustakeaninstanceofmaterialgroup,whichcanoccurasmanytimesastheitemnode.Butsincewearemapping
ittotheheaderinthetargetnodeIjustwanttocopythefirstoccurrenceofmaterialgroupandmapittotheheader
node.copyValueexactlydoesthat.

5.createif&#147Ihaveacriteriaforexisting&#148.Itisusedwhenyouwanttocreatetargetnodeorelementbased
onsomecondition.

Weneedtogeneratethematerialtypetaginthetargetxmlforonlypencilmaterial.ThiscanbedoneusingcreateIf.
6.exists&#147DoIexist?&#148
Thisisthemostfrequentlyneededwhenmappingidocstructuretofilestructure.Lotoftimeswecomeacrossa
scenariowherethefields(occurrence=0)arenotmandatoryintheidocsarenotpopulatedinthesourcexmlandthey
arerequiredinthetargetxml(occurrence=1)whichgivesamappingruntimeexceptionthattargetelementcannotbe
created.Wecanhandletheerrorbycheckingwhetherthesourcetagexistsandifitdoesnotwecanpassanempty
value,whichgeneratestherequiredtargetfield.

MaterialPlantisoptionalinthesourcestructurebutthetargetfieldexpectsablankifidocdoesnotpopulatethe
materialgroupfield.existstakestheheadache.
7.useOneAsMany&#148Ioccuronlyoncebuthavetobereplicatedasmanytimesasmysiblingsornephews

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

2/15

7/15/2015

MessageMappingSimplifiedPartII|SCN

occur&#148.
Thisisreallyanicefunction,whichwillbeusedveryoften.Asshowninthefigureabovethemaximumoccurrenceof
theheadernodeinthesourceis1andthetargetisunbounded.Sowehaveonlyoneoccurrenceofmaterial
description,whichhastobereplicatedforeverylineitem.Bingo!useOneAsManyexactlydoesthat!Checkitout.

IassumethatthisinformationisuptotheexpectationsofthereaderswhoareeagerlywaitingforthepartII.Iprovided
arealtimeexampletoelucidatetheconceptsinabetterfashion.

7355Views

AverageUserRating

MyRating:

(5ratings)

Share

Tweet

0 Like

98Comments
MichalKrawczykDec8,20053:12PM

>>>Ialwayslovedtosolvethemostdifficultandconfusingproblemsencountered
keepdoingitwiththeXI:)
Regards,
michal
Like(0)

SameerShadabDec16,20055:14AM(inresponsetoMichalKrawczyk)

Sravyawealwayslovereadingyourblogs.Andihavebeenfollowingyourblogsclosely,
andhavenoticedthatyoutrytoaddresstheproblemsunansweredontheforums.Keepup
thegoodwork.
Onesmallsuggestion,providealinktoyourmessagemappingPartIinthisblog.Thiswill
makeiteasierforpeopletoaccessit.
Like(0)

SravyaTalankiDec16,20055:39AM(inresponsetoSameerShadab)

Youcanseesomemorestuffsoon..:)
Like(0)

kamleshkumarJan9,200810:13PM(inresponsetoSravyaTalanki)

Ialwayslovedtosolvethemostdifficultandconfusingproblems
encountered
keepdoingitwiththeXI:)

Regards,
(kamleshkumar)
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

3/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
assad@crest.com.my
+60163734179
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

SravyaTalankiJun8,200611:40PM(inresponsetoAssadSM)

ASSAD,
Pleasepostontheforumforanyproblemsorissues..Therearemanyto
solute!..Goodluck!
Like(1)

MichalKrawczykDec8,20053:12PM

>>>Ialwayslovedtosolvethemostdifficultandconfusingproblemsencountered
keepdoingitwiththeXI:)
Regards,
michal
Like(0)

SameerShadabDec16,20055:14AM(inresponsetoMichalKrawczyk)

Sravyawealwayslovereadingyourblogs.Andihavebeenfollowingyourblogsclosely,
andhavenoticedthatyoutrytoaddresstheproblemsunansweredontheforums.Keepup
thegoodwork.
Onesmallsuggestion,providealinktoyourmessagemappingPartIinthisblog.Thiswill
makeiteasierforpeopletoaccessit.
Like(0)

SravyaTalankiDec16,20055:39AM(inresponsetoSameerShadab)

Youcanseesomemorestuffsoon..:)
Like(0)

kamleshkumarJan9,200810:13PM(inresponsetoSravyaTalanki)

Ialwayslovedtosolvethemostdifficultandconfusingproblems
encountered
keepdoingitwiththeXI:)

Regards,
(kamleshkumar)
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

4/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

SravyaTalankiJun8,200611:40PM(inresponsetoAssadSM)

ASSAD,
Pleasepostontheforumforanyproblemsorissues..Therearemanyto
solute!..Goodluck!
Like(0)

MichalKrawczykDec8,20053:12PM

>>>Ialwayslovedtosolvethemostdifficultandconfusingproblemsencountered
keepdoingitwiththeXI:)
Regards,
michal
Like(0)

SameerShadabDec16,20055:14AM(inresponsetoMichalKrawczyk)

Sravyawealwayslovereadingyourblogs.Andihavebeenfollowingyourblogsclosely,
andhavenoticedthatyoutrytoaddresstheproblemsunansweredontheforums.Keepup
thegoodwork.
Onesmallsuggestion,providealinktoyourmessagemappingPartIinthisblog.Thiswill
makeiteasierforpeopletoaccessit.
Like(0)

SravyaTalankiDec16,20055:39AM(inresponsetoSameerShadab)

Youcanseesomemorestuffsoon..:)
Like(0)

kamleshkumarJan9,200810:13PM(inresponsetoSravyaTalanki)

Ialwayslovedtosolvethemostdifficultandconfusingproblems
encountered
keepdoingitwiththeXI:)

Regards,
(kamleshkumar)
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

AssadSMJun8,20068:38PM(inresponsetoMichalKrawczyk)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

5/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
Like(0)

SravyaTalankiJun8,200611:40PM(inresponsetoAssadSM)

ASSAD,
Pleasepostontheforumforanyproblemsorissues..Therearemanyto
solute!..Goodluck!
Like(0)

KavitaLaddhaDec9,200512:48AM

Youhaveexplainedallnodefunctionsverynicely.Itsveryhelpfulandeasytounderstand.
Like(0)

AssadSMJun8,20068:37PM(inresponsetoKavitaLaddha)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

KavitaLaddhaDec9,200512:48AM

Youhaveexplainedallnodefunctionsverynicely.Itsveryhelpfulandeasytounderstand.
Like(0)

AssadSMJun8,20068:37PM(inresponsetoKavitaLaddha)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

KavitaLaddhaDec9,200512:48AM

Youhaveexplainedallnodefunctionsverynicely.Itsveryhelpfulandeasytounderstand.
Like(0)

AssadSMJun8,20068:37PM(inresponsetoKavitaLaddha)

hi,
iamcurrentlyworkingonXI,needguidancetoovercomeregulardifficulties.
Hopetohearapositiveresponse.
assad@crest.com.my
+60163734179
Like(0)

KevinPintoDec16,20057:35AM

BeinganewbieatXI,Ifoundyourblogs(Part1and2)veryhelpfulindemystifyingcertainaspectsof
messagemapping.Thankyou!
Like(0)

SravyaTalankiDec16,20058:31AM(inresponsetoKevinPinto)

ThanksKevin
Like(0)

KevinPintoDec16,20057:35AM

BeinganewbieatXI,Ifoundyourblogs(Part1and2)veryhelpfulindemystifyingcertainaspectsof
messagemapping.Thankyou!

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

6/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
Like(0)

SravyaTalankiDec16,20058:31AM(inresponsetoKevinPinto)

ThanksKevin
Like(0)

KevinPintoDec16,20057:35AM

BeinganewbieatXI,Ifoundyourblogs(Part1and2)veryhelpfulindemystifyingcertainaspectsof
messagemapping.Thankyou!
Like(0)

SravyaTalankiDec16,20058:31AM(inresponsetoKevinPinto)

ThanksKevin
Like(0)

HRajkumarDec19,20053:43PM

Exceptingmoreseries..keepgoahead!GoodLuck..!
Regards..rambarki1
Like(0)

HRajkumarDec19,20053:43PM

Exceptingmoreseries..keepgoahead!GoodLuck..!
Regards..rambarki1
Like(0)

HRajkumarDec19,20053:43PM

Exceptingmoreseries..keepgoahead!GoodLuck..!
Regards..rambarki1
Like(0)

NarayanaRajuSampathiraoDec22,20051:30AM

HiSravya
TheBlogisreallyexcellentandisveryhelpfulforabegginerlikemetogetaclearideaaboutthe
messagemapping.
AndIhaveasmallqueryforyouthatInoticedinyourBlog.Whileexplaining"removeContexts"you
mentionedaline"WearemakingthegrandchildMaterialGroupasachildoftheheadernodeand
foolingthemappingruntimetoparseaccordingly".Iambitconfusedwiththis.Because,hereHeader
nodeandItemnodeareatthesamelevel.AndIfeelifHeadernodewouldhavebeentheparentof
ItemnodethenthechildofitemnodebecomesthegrandchildofHeadernode.Butthatisnotthe
case.bothareatthesamelevel.
Mydoubtiswhether"removeContexts"removesthecontextofthenodeaboveit(samelevel)orthe
contextoftheparentnode.
Sorryifthisdoubtdoesn'tmakeanysense.butitwasconfusingmeabit.Iwillbegladifyoucould
clearmyconfusion.
ThanksinAdvance.........
regards,
Raju...
Like(0)

SravyaTalankiDec22,20052:37AM(inresponsetoNarayanaRajuSampathirao)

Thematerialgroupisundertherootnodeorucansayitisevenundertheheadernodeasit
doesnotmakeanydifferenceastheoccurenceoftheheadernodeisjust1..1.
Like(0)

NarayanaRajuSampathiraoDec22,20051:30AM

HiSravya
TheBlogisreallyexcellentandisveryhelpfulforabegginerlikemetogetaclearideaaboutthe
messagemapping.
AndIhaveasmallqueryforyouthatInoticedinyourBlog.Whileexplaining"removeContexts"you
mentionedaline"WearemakingthegrandchildMaterialGroupasachildoftheheadernodeand
foolingthemappingruntimetoparseaccordingly".Iambitconfusedwiththis.Because,hereHeader
nodeandItemnodeareatthesamelevel.AndIfeelifHeadernodewouldhavebeentheparentof
ItemnodethenthechildofitemnodebecomesthegrandchildofHeadernode.Butthatisnotthe

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

7/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
case.bothareatthesamelevel.
Mydoubtiswhether"removeContexts"removesthecontextofthenodeaboveit(samelevel)orthe
contextoftheparentnode.
Sorryifthisdoubtdoesn'tmakeanysense.butitwasconfusingmeabit.Iwillbegladifyoucould
clearmyconfusion.
ThanksinAdvance.........
regards,
Raju...
Like(0)

SravyaTalankiDec22,20052:37AM(inresponsetoNarayanaRajuSampathirao)

Thematerialgroupisundertherootnodeorucansayitisevenundertheheadernodeasit
doesnotmakeanydifferenceastheoccurenceoftheheadernodeisjust1..1.
Like(0)

NarayanaRajuSampathiraoDec22,20051:30AM

HiSravya
TheBlogisreallyexcellentandisveryhelpfulforabegginerlikemetogetaclearideaaboutthe
messagemapping.
AndIhaveasmallqueryforyouthatInoticedinyourBlog.Whileexplaining"removeContexts"you
mentionedaline"WearemakingthegrandchildMaterialGroupasachildoftheheadernodeand
foolingthemappingruntimetoparseaccordingly".Iambitconfusedwiththis.Because,hereHeader
nodeandItemnodeareatthesamelevel.AndIfeelifHeadernodewouldhavebeentheparentof
ItemnodethenthechildofitemnodebecomesthegrandchildofHeadernode.Butthatisnotthe
case.bothareatthesamelevel.
Mydoubtiswhether"removeContexts"removesthecontextofthenodeaboveit(samelevel)orthe
contextoftheparentnode.
Sorryifthisdoubtdoesn'tmakeanysense.butitwasconfusingmeabit.Iwillbegladifyoucould
clearmyconfusion.
ThanksinAdvance.........
regards,
Raju...
Like(0)

SravyaTalankiDec22,20052:37AM(inresponsetoNarayanaRajuSampathirao)

Thematerialgroupisundertherootnodeorucansayitisevenundertheheadernodeasit
doesnotmakeanydifferenceastheoccurenceoftheheadernodeisjust1..1.
Like(0)

RekhaLatherDec22,200510:01AM

GoodjobSaryva,
ButIwouldliketosharemyexperiencewithyouusingfunctionexistinthemapping.Iusedfunction
existinmymappingbuttomysurpriseresultsweresomethingreallydiffernt.Icansendyouall
detailsonyourmailasitwouldbedifficulttoexplainwholescenariooverhere.
Rekha.
Like(0)

SravyaTalankiDec22,200510:03AM(inresponsetoRekhaLather)

ThanksRekha.Postitintheforum.
Like(0)

RekhaLatherDec22,200510:25AM(inresponsetoSravyaTalanki)

HiSarya,
ItwillbedifficuttoexplainthemwithoutscreenshotandIwontbeabletopaste
screenshotonforum.
Rekha
Like(0)

SravyaTalankiDec23,20052:28AM(inresponsetoRekhaLather)

SureRekha.dropinaemailto

sravya.talanki@wipro.com.Iwillsolveitout.
Like(0)

RekhaLatherDec22,200510:01AM

GoodjobSaryva,
ButIwouldliketosharemyexperiencewithyouusingfunctionexistinthemapping.Iusedfunction

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

8/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
existinmymappingbuttomysurpriseresultsweresomethingreallydiffernt.Icansendyouall
detailsonyourmailasitwouldbedifficulttoexplainwholescenariooverhere.
Rekha.
Like(0)

SravyaTalankiDec22,200510:03AM(inresponsetoRekhaLather)

ThanksRekha.Postitintheforum.
Like(0)

RekhaLatherDec22,200510:25AM(inresponsetoSravyaTalanki)

HiSarya,
ItwillbedifficuttoexplainthemwithoutscreenshotandIwontbeabletopaste
screenshotonforum.
Rekha
Like(0)

SravyaTalankiDec23,20052:28AM(inresponsetoRekhaLather)

SureRekha.dropinaemailto

sravya.talanki@wipro.com.Iwillsolveitout.
Like(0)

RekhaLatherDec22,200510:01AM

GoodjobSaryva,
ButIwouldliketosharemyexperiencewithyouusingfunctionexistinthemapping.Iusedfunction
existinmymappingbuttomysurpriseresultsweresomethingreallydiffernt.Icansendyouall
detailsonyourmailasitwouldbedifficulttoexplainwholescenariooverhere.
Rekha.
Like(0)

SravyaTalankiDec22,200510:03AM(inresponsetoRekhaLather)

ThanksRekha.Postitintheforum.
Like(0)

RekhaLatherDec22,200510:25AM(inresponsetoSravyaTalanki)

HiSarya,
ItwillbedifficuttoexplainthemwithoutscreenshotandIwontbeabletopaste
screenshotonforum.
Rekha
Like(0)

SravyaTalankiDec23,20052:28AM(inresponsetoRekhaLather)

SureRekha.dropinaemailto

sravya.talanki@wipro.com.Iwillsolveitout.
Like(0)

SudharaniManneMay29,20066:23AM

Thanksforthepreciousinfo.
Like(0)

SudharaniManneMay29,20066:23AM

Thanksforthepreciousinfo.
Like(0)

SudharaniManneMay29,20066:23AM

Thanksforthepreciousinfo.
Like(0)

GilRitterJun7,20062:16AM

WhilereadingyourblogInoticethattheIBisofadifferentcolor.Iwouldliketousethisfeatureto
differmysystemsbycolor.HowcanIchangethecoloroftheIB?Isthereanotherwaylikethis:
HowtoapplythemesinExchangeInfrastructure

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

9/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
Like(0)

GilRitterJun7,20062:16AM

WhilereadingyourblogInoticethattheIBisofadifferentcolor.Iwouldliketousethisfeatureto
differmysystemsbycolor.HowcanIchangethecoloroftheIB?Isthereanotherwaylikethis:
HowtoapplythemesinExchangeInfrastructure
Like(0)

GilRitterJun7,20062:16AM

WhilereadingyourblogInoticethattheIBisofadifferentcolor.Iwouldliketousethisfeatureto
differmysystemsbycolor.HowcanIchangethecoloroftheIB?Isthereanotherwaylikethis:
HowtoapplythemesinExchangeInfrastructure
Like(0)

AnaLimaJun28,20061:51PM

Sravya,
Thishelpedmealot!
Please,keepposting!
Like(0)

SravyaTalankiJun28,20068:38PM(inresponsetoAnaLima)

ThanksAna..:)..Ihavetostartpostingagain:)
Like(0)

AnaLimaJun28,20061:51PM

Sravya,
Thishelpedmealot!
Please,keepposting!
Like(0)

SravyaTalankiJun28,20068:38PM(inresponsetoAnaLima)

ThanksAna..:)..Ihavetostartpostingagain:)
Like(0)

AnaLimaJun28,20061:51PM

Sravya,
Thishelpedmealot!
Please,keepposting!
Like(0)

SravyaTalankiJun28,20068:38PM(inresponsetoAnaLima)

ThanksAna..:)..Ihavetostartpostingagain:)
Like(0)

SundararamaprasadSubbaramanNov6,20063:05AM

HiSravya,
ThereisnoneedofRemoveContextb4CopyValue.IrrespectiveofContextchangesoccuringinthe
input,copyvalueconsiderseverythingundertherootcontextandgetsthevalueatthespecified
index.:)
Regards,
Sundar
Like(0)

SravyaTalankiNov6,20063:17AM(inresponsetoSundararamaprasadSubbaraman)

ButsinceIusedthesameexampletodemonstrateremovecontextthediagramisthere.You
donotfindanyprerequisitethatremovecontextshouldbethereforCopyValueinthe
definitionIgave.Itisjsuthatdiagramisreused.
Like(0)

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

10/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
SundararamaprasadSubbaramanNov6,20063:05AM

HiSravya,
ThereisnoneedofRemoveContextb4CopyValue.IrrespectiveofContextchangesoccuringinthe
input,copyvalueconsiderseverythingundertherootcontextandgetsthevalueatthespecified
index.:)
Regards,
Sundar
Like(0)

SravyaTalankiNov6,20063:17AM(inresponsetoSundararamaprasadSubbaraman)

ButsinceIusedthesameexampletodemonstrateremovecontextthediagramisthere.You
donotfindanyprerequisitethatremovecontextshouldbethereforCopyValueinthe
definitionIgave.Itisjsuthatdiagramisreused.
Like(0)

SundararamaprasadSubbaramanNov6,20063:05AM

HiSravya,
ThereisnoneedofRemoveContextb4CopyValue.IrrespectiveofContextchangesoccuringinthe
input,copyvalueconsiderseverythingundertherootcontextandgetsthevalueatthespecified
index.:)
Regards,
Sundar
Like(0)

SravyaTalankiNov6,20063:17AM(inresponsetoSundararamaprasadSubbaraman)

ButsinceIusedthesameexampletodemonstrateremovecontextthediagramisthere.You
donotfindanyprerequisitethatremovecontextshouldbethereforCopyValueinthe
definitionIgave.Itisjsuthatdiagramisreused.
Like(0)

ChristophGerberMar3,20073:40PM

Hi,
firstofallthanksforthisblog.
IamanabsolutebeginnertoXImessagemapping.Iamjusttryingtounderstandthebasics.Ihavea
questiononyourfirstexampleforRemoveContext.
Idonotunderstandwhy"removeContext"isneededtocreateMatGroupineverytargetHeadernode.
Youcreateatargetheadernoteoutofeverysourceitemnode.SoMatgRoupinthesoucreexistsas
oftenasMatGroupinthetargetheadernode.ItrieditwithoutRemoveContextanitseemstowork.
DidImisunderstandsomething?
Thanksinadvance.
Christoph
Like(0)

ChristophGerberMar3,20073:40PM

Hi,
firstofallthanksforthisblog.
IamanabsolutebeginnertoXImessagemapping.Iamjusttryingtounderstandthebasics.Ihavea
questiononyourfirstexampleforRemoveContext.
Idonotunderstandwhy"removeContext"isneededtocreateMatGroupineverytargetHeadernode.
Youcreateatargetheadernoteoutofeverysourceitemnode.SoMatgRoupinthesoucreexistsas
oftenasMatGroupinthetargetheadernode.ItrieditwithoutRemoveContextanitseemstowork.
DidImisunderstandsomething?
Thanksinadvance.
Christoph
Like(0)

ChristophGerberMar3,20073:40PM

Hi,
firstofallthanksforthisblog.

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

11/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
IamanabsolutebeginnertoXImessagemapping.Iamjusttryingtounderstandthebasics.Ihavea
questiononyourfirstexampleforRemoveContext.
Idonotunderstandwhy"removeContext"isneededtocreateMatGroupineverytargetHeadernode.
Youcreateatargetheadernoteoutofeverysourceitemnode.SoMatgRoupinthesoucreexistsas
oftenasMatGroupinthetargetheadernode.ItrieditwithoutRemoveContextanitseemstowork.
DidImisunderstandsomething?
Thanksinadvance.
Christoph
Like(0)

RavMandalNov3,20076:01PM

Greatexplanation...thanksSravya...
Like(0)

RavMandalNov3,20076:01PM

Greatexplanation...thanksSravya...
Like(0)

RavMandalNov3,20076:01PM

Greatexplanation...thanksSravya...
Like(0)

AshokBabuKumiliDec4,200711:50PM

Theblogisveryusefullandplayedavitalroletoaccomplishmyneeds.Thankyouwishyouagreat
future.
Like(0)

AshokBabuKumiliDec4,200711:50PM

Theblogisveryusefullandplayedavitalroletoaccomplishmyneeds.Thankyouwishyouagreat
future.
Like(0)

AshokBabuKumiliDec4,200711:50PM

Theblogisveryusefullandplayedavitalroletoaccomplishmyneeds.Thankyouwishyouagreat
future.
Like(0)

vijayalakshmiynOct18,20087:29AM

HiSravya,
Gr8blog..quitealotofinfoincompactform..ihavejustjoinedXIteamsometimebackandurblogs
arereallyhelpingmeout..iamtryingoutonemessagemappingbutinvain.hopeucanhelpme
out.pleasereply.
Like(0)

vijayalakshmiynOct18,20087:29AM

HiSravya,
Gr8blog..quitealotofinfoincompactform..ihavejustjoinedXIteamsometimebackandurblogs
arereallyhelpingmeout..iamtryingoutonemessagemappingbutinvain.hopeucanhelpme
out.pleasereply.
Like(0)

vijayalakshmiynOct18,20087:29AM

HiSravya,
Gr8blog..quitealotofinfoincompactform..ihavejustjoinedXIteamsometimebackandurblogs
arereallyhelpingmeout..iamtryingoutonemessagemappingbutinvain.hopeucanhelpme
out.pleasereply.
Like(0)

miritamistryNov23,20082:27PM

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

12/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
HiSravya,veryniceanalysis!!!
Ithasmademyviewclear!!
Moreovertheveryfirstparagraphsofyourblogsareveryinspiring!!!
Thanks
MiritaMistry
Like(0)

miritamistryNov23,20082:27PM

HiSravya,veryniceanalysis!!!
Ithasmademyviewclear!!
Moreovertheveryfirstparagraphsofyourblogsareveryinspiring!!!
Thanks
MiritaMistry
Like(0)

miritamistryNov23,20082:27PM

HiSravya,veryniceanalysis!!!
Ithasmademyviewclear!!
Moreovertheveryfirstparagraphsofyourblogsareveryinspiring!!!
Thanks
MiritaMistry
Like(0)

MeghaHawareJan5,20091:42AM

Beautifulblog...veryhelpful.
ButiamstillnotveryclearabouttheuseOneAsManyfunction.Ifpossible,canyoupleaseexplainin
details?
Regards
Megha
Like(0)

MeghaHawareJan5,20091:42AM

Beautifulblog...veryhelpful.
ButiamstillnotveryclearabouttheuseOneAsManyfunction.Ifpossible,canyoupleaseexplainin
details?
Regards
Megha
Like(0)

MeghaHawareJan5,20091:42AM

Beautifulblog...veryhelpful.
ButiamstillnotveryclearabouttheuseOneAsManyfunction.Ifpossible,canyoupleaseexplainin
details?
Regards
Megha
Like(0)

JuanJanseDec16,20091:10AM

RealNice
Like(0)

JuanJanseDec16,20091:10AM

RealNice
Like(0)

JuanJanseDec16,20091:10AM

RealNice
Like(0)

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

13/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
padminiudayakumarJul14,20102:37AM

HiSravya,
Thanksforyourwonderfulblog.IhavearequirementwhereintargetsideIDocneedstobecreated.
Inthesourcesideforeverynewheaderelement(Type,Ref,Data,Time)anewIDochastobe
generatedinthetarget.
SOURCENoofOccur|TARGETNoofoccur
MT_GLACCBAL1..1|YCAQUERY1..1
>ROW0..unbounde|>IDoc1..1
|>BEGINrequired
|>EDI_DC401..1
|>Z1Header0..1
|>Segmentrequired
>Type1..1|>Type0..1
>Ref1..1|>QRef0..1
>Date1..1|>QDate0..1
>Time1..1|>QTime0..1
|>Z1ITEMLevel0..9999
|>Segmentrequired
>Field0..1|>Field0..1
>Sign0..1|>Sign0..1
>Option0..1|>Option0..1
>Low0..1|>Low0..1
>High0..1|>High0..1

Pleasehelpinimplementingthisscenario.
IusedSPLITBYVALUEbutitdoesnotcreateanewIDoc.
Like(0)

padminiudayakumarJul14,20102:37AM

HiSravya,
Thanksforyourwonderfulblog.IhavearequirementwhereintargetsideIDocneedstobecreated.
Inthesourcesideforeverynewheaderelement(Type,Ref,Data,Time)anewIDochastobe
generatedinthetarget.
SOURCENoofOccur|TARGETNoofoccur
MT_GLACCBAL1..1|YCAQUERY1..1
>ROW0..unbounde|>IDoc1..1
|>BEGINrequired
|>EDI_DC401..1
|>Z1Header0..1
|>Segmentrequired
>Type1..1|>Type0..1
>Ref1..1|>QRef0..1
>Date1..1|>QDate0..1
>Time1..1|>QTime0..1
|>Z1ITEMLevel0..9999
|>Segmentrequired
>Field0..1|>Field0..1
>Sign0..1|>Sign0..1
>Option0..1|>Option0..1
>Low0..1|>Low0..1
>High0..1|>High0..1

Pleasehelpinimplementingthisscenario.
IusedSPLITBYVALUEbutitdoesnotcreateanewIDoc.
Like(0)

padminiudayakumarJul14,20102:37AM

HiSravya,
Thanksforyourwonderfulblog.IhavearequirementwhereintargetsideIDocneedstobecreated.
Inthesourcesideforeverynewheaderelement(Type,Ref,Data,Time)anewIDochastobe
generatedinthetarget.
SOURCENoofOccur|TARGETNoofoccur
MT_GLACCBAL1..1|YCAQUERY1..1
>ROW0..unbounde|>IDoc1..1
|>BEGINrequired
|>EDI_DC401..1
|>Z1Header0..1
|>Segmentrequired
>Type1..1|>Type0..1
>Ref1..1|>QRef0..1
>Date1..1|>QDate0..1

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

14/15

7/15/2015

MessageMappingSimplifiedPartII|SCN
>Time1..1|>QTime0..1
|>Z1ITEMLevel0..9999
|>Segmentrequired
>Field0..1|>Field0..1
>Sign0..1|>Sign0..1
>Option0..1|>Option0..1
>Low0..1|>Low0..1
>High0..1|>High0..1

Pleasehelpinimplementingthisscenario.
IusedSPLITBYVALUEbutitdoesnotcreateanewIDoc.
Like(0)

DomenicoNeriMar14,20127:45PM

thankyouSravya...veryclearandveryusefull.
bye
Domenico
Like(0)

ArunKumarReddyJangaJan14,201310:14PM

Veryniceblog..easytounderstandforbeginnerslikeme..
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/messagemappingsimplifiedpartii

FollowSCN

15/15

Das könnte Ihnen auch gefallen