IDoc mapping for VMI
Hello,
We'd like to store the idoc data extracted from EDI 852 inbound transaction in an infocube for DP. SAP Note 154604 suggests that trx <b>/sapapo/map_tser</b> can be used for specifying the infocube.
However, in SCM 4.1, this trx has a field for PA only, not infocube. I was wondering how to pull the data into infocube.
Any suggestions would be appreciated.
Thank you,
Malli
Hello,
I'm afraid that i can not help you.
I am witting you because i am trying to get information about VMI/ SMI implementation, for ex. IDOC mapping, best practices, etc.
I will be appreciate if you can provide me this information.
Thanks&Rgds
Angélica
Similar Messages
-
EDI Idoc Mapping For Apparel and footwear Solutions (AFS)
Hello Gurus
I am trying to map Orders sent thru EDI using message type Orders and Idoc type /AFS/ORDERS06 and process code J3AA.
I am running into problems like no item category could be found and other errors which stops me proceeding further. I have worked with after market EDI and when I use message Orders and Orders 05 Idoc. I do not run inot these issues.
Is there any specific doumentationavailable for processing AFS EDI?. Any help would be appreciated and points will be awarded.
Thanks a lot for your help in advance.
Sunnyhi,
If you want to make huge volume of updation then you should go for idoc.
otherwise you go for Bapi call from xi or RFC.
regards,
ujjwal kumar -
Hi all,
I am mapping the data into the IDOC MATAMS01 and i am filling the field EDIDD with data.
But in the IDOC i am not able to see the Segments in the heirarhical order, but i am filling the HLEVEL field in EDIDD.
Can anyone help on this .
Regards,
MadhaviHi Madhavi,
one the idoc structure is filled with data.
after posting the idoc , i mean after triggering the idoc , you can see the heirarichy of the data in the parent & child level and
sequence number and heirarichy level in the EDID4 table as well as we02 and we05 transactions.
regards,
Prabhudas -
Need to generate 2 idoc"mapping issue"
Hi Experts,
When the Purchase_order_type is coming like HIGH,REGULAR,NEW,BOUNCED. In this case i need to generate 2 idoc, based on HIGH is one and Other than HIGH is one, even though if it's REGULAR,NEW,BOUNCED.
I can't generate. pl suggest
rgds
selvamHi,
Please make sure you will sort the data in your select query.
Now, you need to have two idocs in mapping. Click on Duplicate Subtree to have second IDOC. Now lets assume, your first IDOC represents mapping when ORDER TYPE is HIGH and your second IDOC represents mapping when your ORDER TYPE is not equal to HIGH that is NEW, BOUNCED, REGULAR etc.
I have defined Source and Target data type as follows.
Source Data Type:
SDN
<Row>
<CQ_NO/>
<ORDER_TYPE/>
<LINE_NO/>
</Row>
Target Data Type:
SDNTarget
<IDOC>
<Node>
<CQ_NO/>
<ORDER_TYPE/>
<ItemNode>
<LINENO/>
</ItemNode>
</Node>
</IDOC>
Mapping for IDOC 1:
IDOC:
Order Type -->Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed) -->collapse context
Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
Output of Point 5 --> create if --> IDOC
Node:
Map with constant
CQ_NO:
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
User Format By example. Pass CQ_NO (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
Pass Output of format by example that is point no 5, to collapse context --> Split by value (Each Value) --> CQ_NO
ORDER_TYPE
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
User Format By example. Pass ORDER_TYPE (Context of CQ_NO should be at Row) as first input and second input should be output of point 4.
Item Node:
Order Type --> Fix Values --> remove context
Fix Values (This should have default u201Cfalseu201D and HIGH = true)
Concatenate Output of point 1 with CQ_NO (Context of CQ_NO should be at SDN)
Output of point 3 --> Split by value (value changed)
Output of point 4 will be first input to u201CStart withu201D function and second input will be constant u201Ctrueu201D
Output of Point 5 --> create if --> IDOC -
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 -
Sending IDoc Batches to SAP: Issue with Header Mapping for SNDPRN
We are sending batched IDocs from XI to SAP. We need the individual IDocs to reflect different SNDPRN values. Our mapping creates the different IDoc EDI_DC40 record correctly with different SNDPRN values. However, XI wipes out the SNDPRN values in the payload. When we define Header mapping to get the Sender Party as the XPath to the SNDPRN in the payload, then the header mapping errors out because the XPath returns multiple values.
I wanted to know if anyone has successfully implemented sending IDoc batches to SAP from XI with different SNDPRN values.
Your feedback is appreciated.
Jay Malla
Licensed To Code
Genentech SAP XI TeamHello,
I have the same problem. I want XI send an IDOC with the SNDPOR, SNDPRT and the SNDPRN that are in the EDIDC40.
<u><b>I find this in sap.help : </b></u>
<i>Mapping
The IDoc adapter does not make any special demands on mapping. The IDoc adapter must simply be provided with an IDoc XML structure at the Integration Server outbound channel. This either already exists or must be generated by using a mapping.
If the IDoc XML structure contains a control record, it is deleted and created again by the IDoc adapter. If you want to include additional values in the control record, you must select the Apply Control Record Values from Payload checkbox in the parameters in the communication channel and provide a corresponding mapping for the values.
You can include the values from the following fields in your IDoc control record:
MESCOD, MESFCT
TEST
EXPRESS
STD, STDVRS, STDMES
SNDSAD, SNDLAD
RCVSAD, RCVLAD
REFINT, REFGRP, REFMES</i>
http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/frameset.htm
Perhaps we must use party configuration but I don't know how do this !
Regards,
Chris<u></u> -
Need billing text field name for IDoc mapping
Hi Friends,
our users use CRM web application to send orders to SAP via IDocs. They want to have billing text (In German it is called Rechnungstext or Faktura text) so that they can enter some text here if they want to enter something. My question is, what is the field name and IDoc segment for billing text? We need this information to map in XI.
Br, Sats.The solution is:
The standard Idoc text segment can be used for the text in sales order. From SD side the text types have to be customized. This is necessary for the XI mapping.
Regards,
Sats. -
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 -
Hi Experts,
I am facing problem with mapping for standard SalesOrder Idoc ORDERS.ORDER05.
My Source Structure is: X12 EDI850
<G_SPO1> (occrance 1..100000)
<S_PO1> (occurance is 1..1)
<D_234/>
<D_234_2/>
<D_234_3/>
<D_234_4/>
<D_234_5/>
<D_234_6/>
<D_234_7/>
<D_234_8/>
<D_234_9/>
<D_234_10/>
</S_PO1>
</G_SPO1>
Target Structure is:
E1EDP01
--->E1EDP19
--->IDTNR
Functionality is passing material numbers of EDI customers to IDTNR field in E1EDP19 filed under segment E1EDP01.
From source i will get set of material numbers, for one set 10 material numbers(In source you can find 10 fields for 10 material numbers)
Requirement: I need to send those material numbers to IDTNR (One to one mapping ).
For getting 10 material numbers i just duplicated segment E1EDP19 in target side and mapped one field of source to IDTNR target in each segment. Totally mapped 10 source fields in 10 segments.
If 20 material numbers I will get two sets <G_SPO1> will repeat two times, each time 10 material numbers. So I mapped G_SPO1 to E1EDP01
S_PO1 to E1EDP19.
My out put is coming as 10 E1EDP19 segments under E1EDP01 if 10 materail numbers.
But problem is ECC team asking to get one E1EDP19 line item value under E1EDP01 line item header. They are not accepting duplicate E1EDP19 segments under header E1EDP01.
How to acheive this with my requirement.
Appreciate your hellp on this.
Thanks & Regards,
A.Neelima.There is no relation between D_234 and D_356.
I want to pass D_356 to KTEXT in all E1EDP01 segments which ever i will get based on the condition we implemented for E1EDP01.
Present its coming only for E1EDP01 first segment (for which i used condition with D_234), its not coming for remaining 9 E1EDP01 segments (for which i used conditions with D_234_2 to D_234_10)
If i pass sample input payload:
<S_ST>
<S_PID>
<D_350>Description</D_350>
</S_PID>
<G_SPO1>
<S_PO1>
<D_234>1</D_234>
<D_234_2/>2</D_234_2>
<D_234_3/>
<D_234_4/>
<D_234_5/>
<D_234_6/>
<D_234_7/>
<D_234_8/>
<D_234_9/>
<D_234_10/>
</S_PO1>
</G_SPO1>
<G_SPO1>
<S_PO1>
<D_234>3</D_234>
<D_234_2>4<D_234_2>
<D_234_3/>
<D_234_4/>
<D_234_5/>
<D_234_6/>
<D_234_7/>
<D_234_8/>
<D_234_9/>
<D_234_10/>
</S_PO1>
</G_SPO1>
</S_ST>
Coming Output Now: (KTEXT field is missing in last two segments)
<E1EDP01>
<E1EDP19>
<IDTNR>1</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>3</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>2</IDTNR>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>4</IDTNR>
</E1EDP19>
</E1EDP01>
Expected Output:
<E1EDP01>
<E1EDP19>
<IDTNR>1</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>3</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>2</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
<E1EDP01>
<E1EDP19>
<IDTNR>4</IDTNR>
<KTEXT>Decription</KTEXT>
</E1EDP19>
</E1EDP01>
Thnaks & Regards,
A.Neelima. -
Error in code page mapping for Source System
Hi All,
We are Loading data into BI system from MDM System.
It was loading fine but Yesterday we got an error " Error in code page mapping for Source System"
Message Class: RSDS_ACCESS 13.
We alreday tried to Search any IDOCs with error/unprocessed , but there isn't any.
Any pointers for this error will be Helpful.
Regards,
MayankOur SP currently SAPKW70019 , the SAP note mentioned above required to apply SP for 13, which we already beyond that...unfortunately we still face the same problem .. almost every day ..
any advice.. ?
Edited by: Edi Erwan Abu Talib on Jun 22, 2009 8:22 AM -
hello SDNers,
I am using JAVA mapping for converting FlatFlie IDoc to IDoc and i am using metadata for this.While downloading metadata from SAP system, the first segment in the data record is having level 2.
1) What is the use of Level in metadata?
2) What is the Level for first segment in data record of metadata. Is it Level 1 or Level 2?
3) I am facing an error while appending the node. Is it because of Level differs?
Plese help me out and thanks in advanceHi,
>>>I am using JAVA mapping for converting FlatFlie IDoc to IDoc and i am using metadata for thi
why do you develop is from scratch is the code is already there - just copy and paste...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
>>>1) What is the use of Level in metadata?
this shows how the nested segments in IDOC are to be understood
>>>3) I am facing an error while appending the node. Is it because of Level differs?
no, it becase your code is incorrect - the level velidation will be done at the receiver
Regards,
Michal Krawczyk -
ABAP Mapping :: for multi files
Dear Experts,
We are doing an Idoc to file interface, using ABAP mapping.
This is 1:n mapping i.e receiver message interface is 0..unbounded.
We have achieved the mapping for 1:1. But when I test for multi, i get an error in moni saying
Parsing error after multi mapping.Expected Message<i> instead of Item
Item is the name of the node that has to be created multiple times.
Has anyone done multi mapping in ABAP?? Any idea why this error....may be we are missing something.
Any idea as to how we can progress???
Thanks in advance
Regards
ShobhaHi,
Surely u can use an ABAP mapping for this.
Sounds like your problem is your not using correct output structure for multi mapping.
As with any type of multi mapping your structure should reflect this. Your target payload must thus have the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<unboundedPayload/>
</ns0:Message1>
</ns0:Messages>
The <unboundedPayload> element in above should of course be replaced with your actual payload - I believe 'Item' in your case, if that is in fact the root node of your actual payload.
Regards,
Daniel -
Require a Message mapping for this Logic.
Hi Experts,
I require a Message mapping for this Logic.
In the Source there are 4 fields and, the Target side, the fields should appear like this.
Source Structure- File
Record
|-> Header
Order_No
Date
|-> Item
Mat_No
Quantity
Target Structure-IDoc
IDoc
|-> Header
|-> Segment
Delivery_Order_No
Recv_Date
|-> Item
|-> Segment
Delivery_Order_No
Material_Num
Recv_Quantity.
The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
For example:-
we have
Source Structure- File
Order-no Date Mat_No Quantity
1 01/02/2011 A 10
1 01/02/2011 B 15
1 01/02/2011 A 10
2 01/02/2011 C 10
2 01/02/2011 C 10
3 01/02/2011 D 20
3 01/02/2011 D 10
3 01/02/2011 E 25
Target Structure-IDoc
Delivery_Order_No Recv_Date Material_Num Recv_Quantity
1 01/02/2011 A 20
1 01/02/2011 B 15
2 01/02/2011 C 20
3 01/02/2011 D 30
3 01/02/2011 E 25
So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
Thanq very much in advance..
Edited by: Prashanth Bharadwaj on Oct 17, 2011 1:29 PMHi Prashanth,
Concatinate the two fields OrderNo and MaterialNo and follow the below logic which will resolve your problem.
concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext-->IDOC
concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(0,1)-->Delivery_Order_No
formatByExample>collapseContext>SplitByEachValue-->Recv_Date
FormatByExample:
input1:resulrOfSortByKey
input2:concatination>removecontext>sort-->SplitByValuChange
sortByKey:
input1:concatination-->removecontext
input2:date-->removecontext
concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(1,1)-->Material_Num
formatByExample>sum>Recv_Quantity
FormatByExample:
input1:sortByKey
input2:concatination>removecontext>sort-->SplitByValueChange
SortByKey:
input1:concatination-->removecontext
input2:Quantity-->removeContext
Regards,
Priyanka. -
Error in codepage mapping for source system
Hi Experts,
I am getting the following error while loading data from ECC only for Account COPA datasource.
Error in codepage mapping for source system. Error text:
Message no. RSDS_ACCESS013
Regards,
Sandeep SharmaHi Sandeep,
This is a issue related to idocsRFC connections from teh sourcesystem....
U can contact ur BASIS team to solve this...
From their end they have to chk the unprocessed/errored idocs in BD87...
They have to run a report:RBDAGAIN to process the errored idoc's in the source which are in STATUS:'02'.
This is a solution for temporarilrly basis...
If this occurs regularly they have to change the settings in SM59 which is so important...
Refer exact note for this: 784381
The SAP note 613389 may also be relevant for the error message "Could not find code page for receiving system", please check the information given in the note and see if you can use it to resolve the problem.
Regards,
Marasa. -
hi,
I have a file to idoc scenario. Have a header and 5 line items segment on the source. After doing mapping when i test, the message mapping does not ouput all the corresponding nodes in the Idoc structure for each item segment on the source side. The output is only displaying the first two segment from the source. Could someone help with this?
thx,
PradipHi Pradip,
just check the cardinality of target node - which is mapped to your line item.....it should be 0..unbounded
moreover, the target node if it under some other node then check the cardinality of the above node, it should also be 0..unbounded
if you are using any condition for target node generation, then check the condition again.....
Thanks,
Rajeev Gupta
Maybe you are looking for
-
Audigy 2 ZS Platinum Pro and Inspire 5.1 Digital 5500
Hi! Why can't i connect this digital speaker system to the external connection box of the Audigy 2 ZS? I've tried the optical as well as the coax-connection. When i run the surround soundtest in the Creative software it only gives me stereo sound in
-
How to do a video gallery page
Hi everyone when you create a new page iWeb lets you choose from some preset pages like the homepage, the blog, the video and the photo gallery. But the video page lets you put one or more videos in just one page. If you have many videos and you want
-
Suggestions or comments for viewing multiple pages horizontally across multiple monitors? Would like to setup 2-3, maybe four pages horizontally.
-
This has only happened since I started using Icloud on my Ipad and Iphone!
-
Hi All, Please let me knw the table name where Appraisal raings given by suprior get stored. Please help. Regards, Aman