Mapping part
Hi,
problem in maping.
i mapped all elements.i could not mapped one element.
Deletionflag value mapped with decription.
hear we used valumapping.
The requirement is If delete flag is on à u201Cstatus = Inactiveu201D else u201Cstatus = activeu201D.
i mapped as the requirement but while i do testing in mapping...have to get the inavtive.. but i could not get inactive.
have to change any thing in mapping part.
Thans and regards,
Kesava.
Hi,
I have just checked and it will for sure work the following way:
1. Use "if" function of Boolean group.
2. Use your source field (delete flag) passed to "exists" function from Node Functions as the left-side value of your "if".
3. Use a constant "Inactive" as the top-side value.
4. Use a constant "Active" as the bottom-side value.
5. Map the "if" function result to your result field.
6. Save and activate to test, or test in your message mapping directly.
Hope this helps,
Greg
Similar Messages
-
Owb mapping parts execution order
Hello.
Let's imagine that we have a owb mapping with two independent parts (or threads or chains of operators, etc) inside it. Is it possible to investigate which one will be executed first?
Sorry for my English :)There's a Target Load Order property of the mapping
-
As stated in my question XI mapping TEXT the answer is to make use of the CopyValue, which works.
However, I now have to condition this to a IF THEN ELSE in other words if the TEXT from above does not exist then use another variable which again is conditioned. It appears that the IF THEN ELSE is not working as I cannot produce a Target element when making a selection from the ELSE condition.
I have tried changing contexts, added removecontexts etc. but this still isn't working
Any advice would be appreciated.
Thanks
MarkHi Mark,
Thats good news that you have resolved your probem.
But you have wrong concept regarding the Node function "exists".
this function does not check for the value of Feild but it check if the field is present.
In your case feild TDID was always there irrespective of the value in it.
So the input to the ifthenelse was always "true".
in such case your else part will never get executed.
Thanks
Sunil Singh -
XSLT Related to the mapping part.
Hello all ,
Can You send me the Details related to XSLT for Mapping and Links Related to the same.
Thanks,.
SrinivasaHI Srinivas
Go through these
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
Some scenarios
/people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
see the below links
XSLT Mapping
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
XSLT Mapping with java enhancement
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
XSLT - /people/dirk.roeckmann/blog/2006/07/26/grouping-xml-with-xslt--from-muenchian-method-to-xslt-20
Dynamically sending a mail to the PO creator using XSLT- ABAP Mapping -
/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
xpath functions in xslt mapping -/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
Using XSLT Mapping within the J2EE Adapter Framework -https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
Cheers..
Vasu
<i>** Reward Points if found useful **</i> -
Need help with 3d mapping, part of design is showing up transparent
Here is the image I am working with http://25.media.tumblr.com/92fba886d84a9438c9520726b24a8fb3/tumblr_mm5oljeLJ31r848lxo1_128 0.png
The words coca cola are in red in my design and whenever I add it to 3d mapping it red it no longer red but transparent. The stroke is grey on the bottle.
Can anyone help me? What settings should I look for?That might of course happen. You could try and rasterize the scribbled object, then apply the raster image as a map.
-
Mapping parts of a simple message array
Hi,
Suppose i have the flowing MT:
Root: 1..1
Item: 1..Unbound
Row: 1..1
Which contain the following message:
<Root>
<Item>
<Row>My flat file header...</Row>
</Item>
<Item>
<Row>My flatfeet row 1...</Row>
</Item>
<Item>
<Row>My flatfeet row 2...</Row>
</Item>
<Item>
<Row>My flatfile trailer...</Row>
</Item>
</Root>
And i want to map it to the following MT:
Root: 1..1
Header: 1..1
Row: 1..1
Body: 1..Unbound
Row: 1..1
Trailer: 1..1
Row: 1..1
So the result will look as folows:
<Root>
<Header>
<Row>My flatfile header...</Row>
</Header>
<Body>
<Row>My flatfile row 1...</Row>
</Body>
<Body>
<Row>My flatfile row 2...</Row>
</Body>
<Trailer>
<Row>My flatfile trailer...</Row>
</Trailer>
</Root>
What is the most simple way to do this?Hi Chila,
By doing the last thing you said "...map the item to body" i get a mapping error.
<i>Cannot produce target element <b>/p2:ExchangeFile_MT/Record/Body[2]/Row</b>. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd</i>
What i' did exactly is:
Created UDF with the option of queue and input are Row
Maped <b>Empty Constant to Heder</b>
Mapped Item/Row to Header/Row like this:
<b>Row - removecontext -- UDF-- Header: 1..1.-Row: 1..1</b> here UDF
result.addValue(row(0));
Maped <b>Item to Body</b>
Mapped Item/Row to Body/Row like this:
<b>row - removecontext -- UDF -- Body: 1..Unbound.-Row: 1..1</b> here UDF
for (int i=1;i<row.length-1;i++){
result.addValue(row(i));
Maped <b>Empty Constant to Trailer</b>
Mapped Item/Row to Trailer/Row like this:
row - removecontext -- UDF--Trailer: 1..1-Row: 1..1 here UDF
result.addValue(row(row.length-1));
If this is not what you ment please let me know.
Regards,
Yigal -
Dear friends,
I have one scenario as below:
Sender system: Will have MATMAS05 IDoc structure with many segments.
Receiver Systems: There will be say 4 R/3 receiver systems.
The IDoc segments should be distributed to some (all R/3 Receiver system)
i.e Based on plant and Logical system some segments of the IDoc MATMAS04 from sndr system should move to particular receiver R/3 system and like wise some other segments to another Rcvr R/3 System and so on.
Could you please help me in this regard how to start with this..
Is BPM required for this scenario..?
If so then is BPM able to call the Table name which resides in the ABAP stack..?
then how to proceed for this ..?
Eagerly waiting for you valuable solutions/approach
Thank youHi Friend,
The Source structure MATMAS04.
I think we need target structure :Many MATMAS04 IDocs is required because some segments of the IDoc MATMAS04 from source system should move to particular receiver R/3 system and like wise some other segments to another Rcvr R/3 System and so on.
Can I go for Duplication subtree in the target or shall I have to go to message tab in the mapping editor andf enter the IDoc of required numbers...? so that I can have multiple say 4 IDoc structure( if receiver is four).
Please tell me how to distribute the source IDoc particular segment to particula receiver based on plant num and logical system details in ABAP stack.
If I map the control record EDIDC_40- RCVPOR of the target structure to the receiver (in the Constant standard function) will it work..?
Points will be awarded...
regards
Sampada -
PI 7.11: Mapping inside or outside PI??
Hi,
We have an IDoc to SOAP scenario.
Currently we have many issues with that interface, because the message mapping is very complicated (various entries per infotype have to be mapped to one target field etc.).
Wouldn't it be easier (especially for me as an ABAPer) to do the mapping in a user exit on SAP ERP side and call the PI WS from there?
Then we would have only to bypass the data through PI, because the inbound/outbound message type would be the same.
For me it always takes ages to find out what's wrong inside the mapping.
And the graphical mapping becomes very confusing even for easy mappings.
In ABAP the mapping part would be much easier!
What is here the best practice?
Do PI developers have always the aim to do all the mapping inside PI?
Thanks in advance!Hi,
my problem is still not solved
I've extended Idoc HRMD_A06 now.
The problem is, that it works only if i put the Z segment under segment E1PITYP, which is always linked to an Infotype (currently I put '0000' as Infotype).
E1PITYP contains the following fields:
PLVAR PLVAR
OTYPE OTYPE
OBJID HROBJID
INFTY INFOTYP
SUBTY SUBTYP
BEGDA PD_BEGDA
ENDDA PD_ENDDA
LONG_INFTY LONG_INFTY
I tried to put my segment under header segment E1PLOGI, but then SM58 gives me the following error:
Segment 'ZHRMD_A06', segmentnumber '000084' not correct in structure
E1PLOGI has the following fields:
PLVAR PLVAR
OTYPE OTYPE
OBJID HROBJID
PROOF CHAR1
OPERA HROPERA
SERIAL_COUNTER CHCOU
FILTER1 HRMD_FILTER1
FILTER2 HRMD_FILTER2
I don't really understand why I cannot do it that way...
My question:
Is there a way to include my data without linking it to an HR Infotype??? -
hi to all,
whether we can use two different type of mapping (ex : abap,xslt or java & xslt ),in single message mapping.
thanx in advance.
kumar.hi,
for abap mapping see this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
for XSLT mapping see this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
XSLT mapping and XSD definition
XSLT MAPPING
xslt mapping
java mapping
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
hope it helps
Roddrigo
ps:reward points if useful
Thanks -
Give me description for ABAP and XSLT and JAVA Mapping
i want detailed description for XSLT AND ABAP,JAVA Mapping and where they require coding and some examples for this items and differences for these mappings and message mapping and some examples which shows difference between these items
Hi,
Java mapping:
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
ABAP Mapping:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
XSLT mapping
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
ABAP XSLT mapping
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
Regards
Vijaya -
Mapping preferences between ABAP, JAVA, XSLT...?
Hi,
How do i choose between,
ABAP Mapping
Java Mapping
XSLT Mapping..?
Any pointers welcome..
--DJHI,
JAVA Mapping :If you have complex mapping in your scenarios and also some times if you have more than 100 field tomap then better to choose the JAVA MApping.
XSLT Mapping : Simple and if you have large size of messages then choose this type of XSLT mapping.
ABAP Mapping : If your scenario is deals with ABAP / R3 related transactions , then choose ABAP Mapping ..
Performance wise XSLT ,JAVA, ABAP order..
Please see the below links , it may helps you
Java Mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
XSLT Mapping
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
XSLT Mapping with java enhancement
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
Abap mapping test - /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Regards
Chilla..
<i>Points rewarded if it is usefull..</i> -
Hi,
i am doing a XSLT mapping. i have a field which has fixed values(can be performed using graphical mapping). but the same i am not able to implement for XSLT. can anyone give me a idea about this
<removed by moderator>
Thanks
Deepika
Edited by: Mike Pokraka on Jul 24, 2008 12:57 PMStep u2013 By u2013 Step Simple Approach for XSLT Mapping
Step By Step Simple Approach for XSLT Mapping
generic xslt mapping part 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
generic xslt mapping part2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
xslt recursive templates
XSLT: Recursive Templates
regards
kummari -
Hi,
Can I use a UDF in XSLT mapping. If yes, can anyone please guide me in the issue. When I searched the forum there is a discussion related to the attachment of Java classes to the XSLT mapping. Does this replace the use of a UDF ? Instead, can we opt for a Java Mapping. Which will be of more help? Kindly suggest your opinions with relevant explanation. Thank you very much for your time.
Krishna.Hi krishna,
check this links
http://www.topxml.com/rbnews/XML/re-55178_Remove-empty-nodes-in-BizTalk-by-using-XSLT.aspx
http://www.topxml.com/rbnews/XML/re-55176_XSLT-performance-when-mapping-large-documents-in-BizTalk.aspx
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
XI: New features in SP14
http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping.
What is UDF
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd
Java Mapping (Part I)
Difference in using java,xslt,message mapping
Java Mapping (Part I)
Java Mapping (Part II)
Java Mapping (Part III)
Testing and Debugging Java Mapping in Developer Studio
Using JAXP to both parse and emit XML in XI Java mapping programs
"JAVA MAPPING", an alternate way of reading a CSV file
Think objects when creating Java mappings
Regards
srinivas -
XSLT Mapping with Java Enhancement
Hi All
I am working on XSLT Mapping with Java Enhancement.
To do this scenario i have followed the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
As per the above link I have created Source and Target Data Types , Message Types , Mesage Interfaces, XSLT Mapping (using the transaction XSLT_TOOL) and Interface Mapping part and configred a simple file to file scenario in the ID part.
Apart from this I have wirte the java code, compile the java code, create the jar file using .java and .class file and after creating the jar file import the .jar file in the imported archive of the IR..
when I am trying to execute the scenario I am getting the successful message in SXMB_MONI but the target file is having the payload as given below.
<?xml version ="1.0" encoding="UTF-8"?>
<name xmlns:javamap="java:com.company.group.MappingClass"/>
And as per the XSLT mapping the payload should be as below
<?xml version ="1.0" encoding="UTF-8"?>
<person>
<name>Rinku Gangwani</name>
</person>
I have also followed the following blog link but still i am getting the same issue
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
could you please tell me what can be the reason that i am getting the blank targt field values in the payload.
Thanks
Rinku GangwaniHi,
The Transaction code XSLT_TOOL for ABAP xslt mapping.But the Java Enhancement is used for normal xslt mapping which we created using Stylus Studio.You can not access the Java Enhancement in ABAP xslt mapping.
If you want to use Java Enhancement in xslt mapping then create a xslt mapping using Stylus Studio and save the file as .xsl and zip the .xsl and import to import archive.
Regards,
Prakasu.M
Edited by: prakasu on May 28, 2009 1:46 PM -
hi,
could any one please forward me java and xslt mapping step by step screen shots.
I would be thankful to you ,if you do this.
with regards,
[email protected]Java Mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
XSLT Mapping
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
/people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios
Regards,
Prateek
Maybe you are looking for
-
Use Dropbox as iPhoto library location?
I need access to my image files from several computers, and am wondering whether I could simply locate my iPhoto library on Dropbox, and access it as needed. I am, and would continue, backing up to a remote hard drive, so the Dropbox would not be the
-
I have a text overlay which is one line long. when I swap the cast member with another text that wraps to a second line, the text on two lines is squished to the same height as the orignal text. It looks like it is trying to fit the wrapped text into
-
My iTunes is only showing music in the cloud.
This just started happening last night. All of a sudden, all of my playlists are gone and iTunes is only showing music from the cloud. All of my music is on my local computer but it doesn't appear in iTunes. I've turned off the cloud functionality an
-
Slow Screen Updates - MacPro, Nvidia 8800, and 30" Cinema HD
I've noticed some truly odd behavior from my rockin' box. The cursor update is really sluggish as I draw over an image. The lasso, paintbrush... well every tool chugs along at about 10-15 fps as I edit an image. It feels incredibly laggy (I'm using C
-
Display iView/transaction in tabstrip
Hi... First, I'm running ep5.0 patch5.0. I am modifying the Unversal Worklist iView right now. I have added another tab in the tabstrip at the end and I want to display an iView/transaction inside that tab when it is selected. Now since this iView