Mapping shipment 05 idoc
hi experts,
we have a scenario to map shipment 05 idoc to delivery 05 idoc. there will be one or more handling units in source idoc.for every handling unit in shipment 05 we should map respective article information to seperate delivery 05 idoc. this means foe every e1edl37 segement in source idoc we need to create seperate delivery05 . but the occurence of the imported delivery 05 idoc is 1. so how to map this.. do we need to go for bpm. can anyone please suggest.
Hi,
1)Double Click on the imported IDOC
2)Export the WSDL file to your desktop.
3)Change the max occurrence of the IDOC Segment.
e.g.
Original
<xsd:element name="IDOC" type="CAP_PRIMCOST.CAP_PRIMCOST01" />
Change
<xsd:element name="IDOC" type="CAP_PRIMCOST.CAP_PRIMCOST01" minOccurs="0" maxOccurs="999999999" />
4)Import the new WSDL as an external definition and use it insted of IDOC.
Regards,
Himanshu
Edited by: Himanshu Mohan on Oct 7, 2008 1:55 PM
Similar Messages
-
Mapping shipment idoc with XI internal structure.
Hi,
we are sending shipment idoc to PI system, there mapping is required like
for each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure
where material number and Item description field is at same level but in idoc it is not.
Regards,
Mayankfor each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure
where material number and Item description field is at same level but in idoc it is not
If i try to make out some sence out of your post ..it would be like you have an idoc to file scenario ,where you are trying to map a particular IDoc field under subsegments and for each occurance of the segment you need to create a field in target.
you can handle this easily if you try understanding context handeling in mapping.
http://www.riyaz.net/blog/xipi-introduction-to-context-handling-in-message-mapping/
specify your requirement clearly or frame a question.
Regards,
Anika -
BPM - doubt in N:1 mapping of IDOCs
Is there any DETAILED document on Mapping multiple Idocs into a single Idoc package using BPM.My doubt is in the latter part in this process(During Receiver Determination) :
Scenario : CRM->XI->R3
We will download the CREMAS03 and then make changes in the xml so that it can hold multiple IDOCs.
and then we will be collecting the Idocs(say 3 idocs at a time)...that is, appending the IDOCS(CREMAS03) into a multiline container of type CREMAS03.
In the transformation step, the multiline container containing CREMAS03 IDOCs is transformed to IDOC PACKAGE(N:1 Mapping).
In Integration Directory,We will create 2 RECEIVER DETERMINATIONS :
1.CRM->BPM :
Receiver Service :BPM Object
Inbound Interface :CREMAS
Interface Mapping :Maps the Outbound interface (vendor_out_interface) to CREMAS(Abstract Asynchronous)
2.BPM->R3 :(I have my doubt here!)
Sender Service : CREMAS_COLLECT_PACKAGE(BPM Object)
Outbound Interface : CREMAS_package(Abstract Async, Message is the modified Multi-CREMAS PACKAGE)
Receiver Service : R3
Inbound Interface : CREMAS.CREMAS03
Interface Mapping : NONE (WHY is that No Interface mapping is needed ???...Please elaborate)
1.HOW will the XI engine MAP the CREMAS_package to CREMAS.CREMAS03 at the end of BPM PROCESS ?
2.In BPM we have Transformed the individual Idocs into a IDOC Package BUT then at BPM->R3 Receiver Determination WHY are we mapping the CREMAS Package into Individual CREMAS Idoc ??
3.Does the R3 receive the IDOCs as a Package OR does it receive it as individual Idocs ?And when we say a Package does it mean it will contain 1 Control record & multiple Data Records(EDID) ??
4.If the R3 receives the IDOCs as a PACKAGE, THEN How does the R3 System separate the Idocs into Individual Idocs ??
Is there any specific configuration in the partner profile at the R3 side to process A IDOC package ??.
5.Also when I compare Posting Function Module IDOC_INPUT_CREDITOR and IDOC_OUTPUT_ORDERS , It seems that IDOC_INPUT_CREDITOR can process multiple Idocs at a time while IDOC_OUTPUT_ORDERS CAN process only ONE IDOC at a time.Am I right ?)
It would be great if someone has the patience to give a detailed reply.Looking forward to the reply !!
Thanks,
Arun.Hi Arun,
You dont need a BPM for ur requirement. All you need to do is IDOC Message pacakages. where the IDOC are sent as a single package. here is the link to the page that details on hwo to do idoc packaging.
http://help.sap.com/saphelp_nw04/helpdata/en/99/2653429392ab53e10000000a1550b0/content.htm
you also refer to Michals weblog on IDoc pacakaging. But the approach i have jsut mentioned to you is more efficent and the one suggested by SAP. Michel was supposed to write one more weblog describing this approach.
Cheers,
Naveen -
Multi-Mapping in IDOC without using BPM ?
Hi ,
Please check ..
Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards
PSSolved .. Thx every one .
Approache Used :
1. Created mapping with Change signature on target Message type(idoc) with 1..N Occurence.
2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity). -
Mapping problem: IDOC - XI - File
Hi,
in my scenario (Z-IDOC - XI - File) I have problems with the mapping:
Z-IDOC :
ZFIBUCH1
_IDOC
___Begin
___EDI_DC40
___Z1L061 (0..999999999)
_____Z1L062 (0..999999999)
example
L061 18000 DE 0101 23236318 050605 EUR
__L062 18000 XXX XXX
__L062 18000 XX1 CCC3
L061 87000 DE 0101 050605 EUR
__L062 87000 XXX XXX
__L062 87000 XX1 XAA4
the result should look like this :
L061 18000 DE 0101 23236318 050605 EUR
L062 18000 XXX XXX
L062 18000 XX1 CCC3
L061 87000 DE 0101 050605 EUR
L062 87000 XXX XXX
L062 87000 XX1 XAA4
I tried the following (target)-data types in the mapping but nothing didnt work very well :
MT_ZIFUCH_FILE
__ row
_____L061
_______L062
or
MT_ZIFUCH_FILE
__ row
_____L061
_____L062
or
MT_ZIFUCH_FILE
_____L061
_____L062
Do I need here a BPM? Or should I use XSLT-Mapping??
Or knows somebody a easyer way?
Regards
ChristophHi,
As per my understanding to have a flat file struture you would require a flat structure at the target side.One similar to the second structure mentioned by you.
DT_Target
|_Header
|______L61.....segment (child of header)
|______L62.....segment (child of header)
Using the mapping we convert the idoc structure to flat structure and then use content conversion like this :
Recordset structure : L61,L62
L61.fieldSeparator = ,(for you this value should be space)
L62.fieldSeparator = ,
I have not been able to convert the Target hierarchial structure to a flat file via content conversion.
when i tried I got the values as
L61,1800,...EUR,L62,8700,......
Hope this helps,
Regards,
Sulakshana -
Advanced mapping from IDOC to SOAP with reversed 3 level context change
Hi everyone.
I am having a though time mapping the HRMD_A01 IDOC into a SOAP message. The reason is that the reciever expects an xml structure where the root node is cost center instead of employee which is the case in the IDOC.
Mapping from:
IDOC (1..1)
E1PLOGI (1..unb)
SEGMENT (String)
OBJID (String)
E1PITYP (1..unb)
E1P0001 (1..unb)
SEGMENT (String)
KOSTL (String)
To this structure:
List (1..1)
CostCenters (1..unb)
KOSTL (String) ----> Mapped against KOSTL above
Employees (1..unb)
OBJID (String) ----> Mapped against OBJID above
I expect several occurances of E1PLOGI which states multiple employees sent in the IDOC. I also expect several occurences of E1P0001 containing cost centers.
My conclusion is that I need an advanced mapping and I have created one which collects all KOSTL for the IDOC context, deletes duplicates, and creates the CostCenters segment. This is now working. But my problem is that I can't create the employees segment in the right place. They are only created once under the first CostCenters node.
Here's the java-code for mapping between KOSTL and CostCenters/KOSTL:
public void costCenters(String[] var1, ResultList result, Container container) throws StreamTransformationException{
Set set = new HashSet(Arrays.asList(var1));
String[] array2 = (String[])(set.toArray(new String[set.size()]));
Arrays.sort(array2);
for (int i = 0; i < array2.length; i++) {
result.addValue(array2<i>);
Any ideas on how to proceed?
Best RegardsHi,
Do the mapping like below.
UDF should be select as context.
List (1..1)
CostCenters (1..unb)
KOSTL (String) ----> Mapped against KOSTL above
Employees (1..unb)
OBJID (String) ----> Mapped against OBJID above
Mapping:
KOSTL(RightSelectChange the context to E1PITYP)--UDF--Removecontext--CostCenters
KOSTL(RightSelectChange the context to E1PITYP)--UDF--SplitbyValue(Each Value)--KOSTL
constant---Employees
OBJID----------------------------------------------Use One As Many---SplitByValue (EachValue)----------OBJID
KOSTL(RightSelectChange the context to E1PITYP)--UDF---
KOSTL(RightSelectChange the context to E1PITYP)--UDF---
Regards,
Prakasu.M
Edited by: prakasu on May 20, 2009 3:28 PM -
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. -
Payload in String need Java mapping to IDOC structure
Hi
I have a payload in a field and that payload needs to be mapped to IDOC sturcture. As per my understanding I will have to write java mapping for the same.
I don't have any background of java, can anyone help me do this stuff or give me some inputs for the same.
Regards
RiaDear Ria,
Does the Source field consists of payload, then there must be original payload for which you have created Source Structure in XI right.
I think your source structure look like this if I'm not wrong:
<Data Type>
< Field>
<Field>
<Field-Payload>
</Field-Payload>
</Field>
</Field>
</DataType>
If this is so, you can split the values in the field by FCC. If your field consists of simple payload you can use String functions to extract the value and map it to IDOC field.
Best Regards
Praveen K -
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 -
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 -
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 -
How To Process Inbound Shipment IDOC of IS-OIL ?
Hi Expert,
We are on 4.7E IS-OIL. We have one requirement thru which we are getting the Shipment IDOC from SCM system which is coming to R/3. The IDOC Message Type Which is Flowing From SCM To R/3 is OILSH1 & Basic Type is OILSHI01.
I want to Know how to Process this IDOC as InBound IDOC in R/3 & create the Shipment Doucment from it in R/3.
What is the Process Code & Function Module I should use.
Kindly give me the Step By Step Settings if Possible. like Partner Profile etc.
Regards,
UmeshHi,
Idocs Works on tRFC Queues.
Check this Report to Process Inbound Idocs with Specified Status.
RBDAPP01
Regards
Seshagiri -
Header Mapping in Idoc scenarios
What is the use of Header Mapping in IDOC based scenarios?
Hi,
Header maping can be used to determine the destination in the interface based upon any particular field .If the field is populated with the value then that value can be used for receiver determination to send message for example you have one file that can be mapped to any one pf the multiple IDOCs then based upon the header value you can determine the destination or the IDOC goin to be used
Ckeck this link this will help you a lot
reg:HEADER MAPPING
Check these links also
Header Mapping in File to IDoc
Header mapping while using IDoc as receiver communication
Thanks
Vikranth
Edited by: Khimavath Vikranth on May 28, 2008 9:30 PM -
I facing one situtation in mapping Custmosied IDOC a new segment is add t
HI Gurus
I facing one situtation in mapping Custmosied IDOC a new segment is add to that IDOC.... i want to display values in queues in mapping test.. but queue is empty it showing ,,,
already i have checked IDX2 .. in that it is updated about the segement .. let me know solutiuon y it is not populate in that segemnt ..\
thanks in advance.Hi ,
Have you imported the IDOC into ESR after the changes were done in the ECC side?
Is the mapping done for the new segment/fields properly?
Please check what values are passed in the segment from ECC?Try triggering a message from WE19 with test values and check if you are receiving the same?
Please explain little more on this...
Regards,
Srinivas -
Hi Idoc gurus,
Where to find this shipment idoc SHPMNT05 specification/documents explaining each segment fields? Please direct me to the site/url link, thanks.I know the tcode WE30. I am searching for the a single point document explaining each segment fields in details. Any sites or link to bring me to this document/specification.
Maybe you are looking for
-
Edit Font in Text Field in Acrobat X Pro
I have a PDF that was created and I need to change the font in a text field. I am using Acrobat X Pro and I have been unable to get the typewritter to become active and have not found a way to change the font in this text field.
-
Unable to read french characters
Im trying to reach data from an excel (using the Apache software's excel reader code) but my java code is not recognizing words like "D�cor". It is replacing '�' with '?'(All my columns are in English , it is just a couple of data entires like D�cor
-
How I Got WYSIWYG TLF Text To PDF from Flex
Awesome results read more here: http://hybridmindset.com/blog/How-I-Got-WYSIWYG-TLF-Text-To-PDF-from-Flex-Part-1
-
I own Creative Suite Design Premium CS3 (and all the earlier versions). I downloaded DW CS4 Beta back during the Beta cycle, took it for a whirl and decided against upgrading. I've now received the Design Premium CS3 to CS4 Upgrade as a gift (lucky m
-
How to install my unreviewed app in Browser
I've submitted my application to Marketplace and it's not reviewed yet. I want to install it on my Android device through Browser and when I am logged in, I can see my application page. When I hit `install` button, spinner spins and then stops. Nothi