Graphical mapping for IDOC
Hi All,
Can i use the same IDOC (from same SWsame Name Space) in source and target side ?
Iam trying one scenario like that but iam unable to map them at root level or to be precise its the icon withthe description (MAP Selected fieldsand substructures if names are identical ). All other icons near it are also disabled
Why is it so ?
PLease advice
Iam trying one scenario like that but iam unable to map them at root level or to be precise its the icon withthe description (MAP Selected fieldsand substructures if names are identical ). All other icons near it are also disabled
-->
This usually happens because of JDK version installed in your machine
Refer
XI mapping button disabled
Similar Messages
-
Hi,
I am doing mapping for IDoc to file scenario.
Idoc is INVOIC02.
Source field is KRATE from segment E1EDP05
Target field is Rate.
Mapping rule is as follows.
zero when Condiditon type (E1EDP05-KSCHL ) = YCSE ( enter total 15 digits without any decimal in it. The last 2 digits will be treated as digits after decimal )
Can someone explain the mapping?
I have to map KRATE and Rate but where does KSCHL comes into this?
Please explainTAKE HELP FROM THESE LINKS : These links can be helpful for you.
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5d/db0e83e8e74202a5bff527055ab7e5/content.htm
Regards,
Sandeep Kaushik -
Questions to a Mapping for IDOC-to-File Scenario
Hi all,
I want do develop a Message-Mapping for an IDOC-to-File Scenario. A SAP System sends an IDOC to the XI-System and the XI-System should make a mapping an send a XML-File to a FTP-Server. The Strukture of the target message is very easy:
<xdoc>
<Invoice>
@purno
<HeaderInfo>
<invno/>
<shipdate/>
<extvalue/>
</HeaderInfo>
<DetailInfo>
<LineItem>
@lineno
<vpartno/>
<descrip/>
<qtyord/>
<cost/>
<vendmemo/>
</LineItem>
</DetailInfo>
</Invoice>
</xdoc>
The source message is an IDOC. This IDOC can contain one or more positions (E1EDP01). Those different positions should be mapped into different LineItem's (see target structure) -> so in the target file one or more LineItems can appear.
Is it possible to implement this process with a common message-mapping or have I to implement a business process?
Thanks
with best regards
ChristopherHi Christopher,
<i>Is it possible to implement this process with a common message-mapping or have I to implement a business process?</i> - This thing is possible with common message mapping......you dont need business proces for it.......in msg mapping after taking the source IDOC and target xml struc, map the E1EDP01 field to LineItem field.......just check the occurance of these nodes.....it should be 0..unbounded.........so as many E1EDP01 nodes will be there in idoc, that many LineItem nodes in target will be created.......
Thanks,
Rajeev Gupta -
Fields to be mapped for Idoc/Xi interface
For customer collaboration we need to map the Idoc/Xi interface for following things
In FS what field should be mentioned for following
u2022 Integration SNC with R/3:
u2022 ORDERS (PI) (Order Creation)
u2022 ORDERSP (PI) (Order Confirmation)
u2022 DESADV (PI) (ASN)
u2022 Integration with the customer
o PROACT = new integration with SNC (PI)
o Product Forecast Notification
o ( Order ID Notification ) - To be evaluated for PO nrs.
o ORDERSP = AS IS
o DESADV = AS IS
o Proof of DeliveryI am closing this Thread
Thanks -
Use RFC Lookup in Graphical Mapping for Database Update
Hello,
I am wondering whether the RFC Lookup function in graphical mapping provides the same functionality as a general RFC function call.
In detail I would like to update a database table using a RFC which just takes some input parameters but does not use any output parameters. Would this work too as the name "lookup" implies that it might just be possible to read something?HI,
Refer these links:
RFC Lookup by michal
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
Regards,
Nithiyanandam -
Error in Operation Mapping for Idoc to File Scenario
Hi Experts,
I am doing Idoc to File Scenario for Timesheet IDoc "HRSM_C" and following step are through,
Sender agreement --> Receiver Determination --> Interface Determination
got stuck in Operation mapping, it sahows error
"Unable to find resource 193c0e01-bd37-11dd-850c-d879ac131b1f in the following software component versions: http://clarityPOCcom/sap/xi/tf/_MM_Timesheets_iDocToFile_.class-1"
Also not all the fields of IDoc HRSM_C are transferred to the XI server as I am unable to see all the fields in xml file using transaction idx5, as I suppose the reason behind may be there are no values in those fields.
Please suggest how to resove the issue and transfer all the fields from R3 to XI in Idoc eventhough it doesn't contain any value.Hi
Refresh CPA cache using user PIDIRUSER.
Look Note 951318 for Mapping Cache Refresh. -
Route of the operator.... while creating mapping for idoc to file
Hi,
Scenario is IDOC to File but certain rules are there while creating a mapping in XI.
This is the description for my scenario :
Within XI this Idoc message needs to be translated into 2 text files:
1 file for the route of the operator
- Read the idoc data.
- When reading a new order first get the customer. This will be a new line in the file.
The customer number will be set into the filed u2018CustomerIDu2019.
- Then read the items. For every item create a new line in the file. The machine number will be mapped to the field CustomerID
- The field RouteOrder should get a sequential number. Starting at 001 and updated by 1 for every new line.
Could you please guide me how can i implement this above scenario.
Regards,
Y.RajWithin XI this Idoc message needs to be translated into 2 text files:
this can be done using multimapping i.e. defining your target messages at mapping tabs in your message mapping.
When reading a new order first get the customer. This will be a new line in the file.
The customer number will be set into the filed u2018CustomerIDu2019.
If there is some condition for identifying new order then you should put condition based on input field.
if customer no doesnot exists in order then RFC lookup can fetch customerno
The field RouteOrder should get a sequential number. Starting at 001 and updated by 1 for every new line.
for this declare varaible in global section and use the same or some builtin function can be used for the same.
Rajesh -
Conditions on Mapping for IDOC
Hi,
I has the following structure of an IDOC
- <E1EDKA1 SEGMENT="1"> 1..........Unbounded
<PARVW>XXXX</PARVW>
<PARTN>YYYYY</PARTN>
where E1EDKA1 occurs 1......Unbounded at the sender side .
Based on the Values of PARVW
PARVW =RG,AG,WE
Receiver fields :
RECEIVER1
RECEIVER2
RECEIVER3
If PARVW = RG i need to map the value of PARVW to RECEIVER1
If PARVW = AG i need to map the value of PARVW to RECEIVER2
If PARVW = WE i need to map the value of PARVW to RECEIVER2
Request you to please give me the suggestions
Thanks & Regards,
Y.Raj1. Check whether u hv changed the context of PARVW to IDOC in all the three mappings.
2. u hv to use equalsS function of text category.
PARVW----------->equalsS---->if------->receiver1
Constant[a]------> then<---PARVW
Similarly change constants for receiver2 and receiver3.
Edited by: malini balasubramaniam on Oct 16, 2008 7:30 AM -
Why control records disable in mapping for idoc communication?
Hi, In the mapping we disable conrol records in file to idoc ...why is their any specific reason..>? plz respond me soon..accurate question reward more..thanq
Hey,
EDI_DC40 contains the data about control records.
Before the message leaves the Integration Server, the message header contains values that are exported and used later to complete the IDoc control record.
Adapter populates it runtime.
Correct me if i am wrong
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b> -
Multi Mapping - Receiver IDOC & Mail with BPM
Hi,
Is it possible to use BPM with Multi Mapping for IDOC & Mail receivers sent parallely..
Appreciate your help ..
Thanks,
vasanth.Hi Michal,
Thanks Michal,
We are using PI 7.1, Our Scope to do File to IDOC & Mail scenario in between we have to do RFC Lookups..
Could you pls guide me thru the steps fo BPM,
1 SA -> OB to AA
2 ID -> OB to AA & AA to Recv
3.RD -> OB to AA & AA to Recv
4.RA -> AA to IB & AA to IB
Correct me if i'm wrong..
Clarification : Is there is any way out to implement this scenario with out BPM.
We already implemented this scenario with 2 MM & 2 OM, Scenario works fine...but we have to use 1 Mapping..
Appreciate your help in advance..
Thanks,
vasanth. -
Message Mapping of IDOC "MATMAS.MATMAS05"
Hi!
I would like to execute the following message mapping for IDoc
MATMAS05 <--> MATMAS05.
What are the recommended fields to map?
Is the a button to automatically map the fields with the same names?
Thank you very much!
regards
ThomHi,
you could use the button "Map Selected Fields and Substructures if Names Are Identical"
it's explained here:
http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
Or if you do it without a mapping:
simple IDoc to IDoc scenario with SAP PI
Regards
Patrick -
Is graphical mapping best for a large IDoc mapping to file?
Hello,
I have to map an IDoc to a file and 450+ lines are mandatory or needed to go a file output. A lot of the lines need some value mapping. Is XSLT or Java mapping better for this task?
John XiHi,
If you require to do a lot of lookups and for large payloads, it would make sense to go for a Java mapping as in this case it would improve performance to some extent.
For large messages, please refer the follwong link to improve system performance.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2016a0b1-1780-2b10-97bd-be3ac62214c7?quicklink=index&overridelayout=true
Regards -
Graphic Mapping:IDOC to File-Avoid Error in Adapter Engine
Hi all,
I'm using Graphic Mapping in my IDOC to File scenario in which each segment in source IDOC will generate a ROW in target File with the condition: DATBI >= currentdate (and some other conditions)
I have a UDF and use the mapping function CREATEIF for this purpose:
DATBI -> UDF -> CREATEIF -> ROW
Problem scenario: In the source IDOC if all the segments have DATBI < currentdate then there is no ROW created, and I get the error in Adapter Engine
Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure ...
How can I avoid this?
I've tried to put this condition using XPATH in Interface Determination and got the error.
There is a way to use function current-date() in XPATH condition?
Thanks for your help,
ElaineHi all,
How can I "suppress the row node if condition fails"? I'm new in PI, so please give more details.
My FCC as follows:
Record Structure: Record, Row
Row.addHeaderLine 0
Row.fieldSeparator ,
Record.fieldSeparator 'nl'
Row.endSeparator ; 'nl'
It works fine if the condition satisfied.
In Message Mapping, I've use Test to double check my mapping, and in the scenario that conditions fails, there is no Row in the target message.
Please advise.
Thanks,
Elaine -
Help needed for Graphical mapping.Tag only once produces
Hello experts,
I have a problem in my graphical mapping.This is the example:
from each segment A in IDOC has to be made Tag A or Tag B in output XML.
Segment A has a field USER_STATUS and if it is X than Tag B has to be made otherwise Tag A.
Segment A is 0..9999999. occurence
Tag A 0..unbounded
Tag B 0..unbounded.
I made a mapping
mapping for Tag A:
USER_STATUS -> mapwith default(empty)->length->EqualsA (with Constant =0)-> createif->Tag A
for Tag B as following:
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)-> createif->Tag B
The problem is that in output XML, I have only one Tag A or B (depending on field USER_STATUS in first occurence of the segment) while in inbound IDOC 5 segments are with different value of the field: USER_STATUS.
Does anyone idea to solve this problem!
Thank you very much for your effort.
King regards,
Danijela ZivanovicHI,
CAn you try this way,
Use Maping Node UseOneAsMany for Tag B
and pass 3 inputs as
Constant[]----
>
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
>
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
>
Same way try for Tag A also.
Thanks
Swarup -
Hi! All
It would be of great help if you provide your suggestions on:
Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
I tried multi-mapping and received the following error:
"Messages in multi-message format can only be sent to one Adapter Engine"
Looks like IDOC adapter does not support multi mapping...
Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
Thanks a lot!!
Regards,
PatrickHey
its not possible to do Multimapping over IDOC's without BPM.
other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
without BPM you cant do multimapping for IDOC or HTTP
Thanx
Aamir
Message was edited by:
Aamir Suhail
Maybe you are looking for
-
[JS CS5]How to get Custom Page size
I've been searching the answer of this simple question but looking no way around. I have an InDesign document with different page size e.g. left page width is 621 pt. and on the same document right page width is 837 pt. Now I need to get the width of
-
Acrobat X Pro - Problem mit dem PDF-Add-On im IE8
Ich habe Acrobat X Pro (deutsche Version)auf meinem Rechner (Win 7 Ultimate x64) installiert. Wenn ich als Admin-User angemeldet bin, erscheint das Adobe-PDF Add-On im Internet Explorer 8 in deutscher Sprache. So sollte es ja auch für die Standar
-
Why doesn't Sun ONE Web Proxy Server support full replication?
Sun believes caching on-demand is a much more appropriate model for either the World Wide Web or an intranet. Common indexes should be distributed, but data can (and should) be stored wherever is most appropriate on the network. If Proxy Servers are
-
ITunes library lost after update 10.4.1
I just updated my home computer (uses Window Vista) with iTunes 10.4.1, and now all 35GB of my music and playlist are not to be found on my computer. I tried "Add a folder to library" but the iTunes folder in my music folde is also devoid of music. H
-
hi Friends, I have 2 Queriy Block Q_1 and Q_2 in the Data Model of the Report. Now These 2 Query are Linked by a Data Link by using one Column Department and These 2 Query Block also Have one Common Column Namely *VALUe I want to create a Third Query