LSMW - one source structure - 2 targets
Hi everyone,
I'm trying to create a LSMW for the upload of customers. The client wants to link 2 contact persons to one vustomer.
The flat file will have two lines with the same data, only the contact person will differ. Do you know how the difference can be made ?
thanks in advance !
Hi,
if you have only one line you can do the same as mentioned below:
First map the contact name1 to traget source. In 5th step u can map all the comman fields along with the contact person name and from the global variables u can write transfer_record. then again map all the fields along with the secound contact name and again write transfer_record.
So u are trying to pass two customer contact records. It will work try this. Let me know if u have any issues.
Similar Messages
-
Message mapping---1 source structure and n target structures
I would like to know how many message mappings we need if we are mapping one source structure to 3 different target structures of a single receiver. I am assuming its just one message mapping.
Depending on the above answer how many interface mappings do we need.Kalyan,
you need multi-mapping that maps one source structure to multiple target structures. Just search multi mapping in SDN and you will find many good posts.
Basically, in MM editor, go to signature tab and in the target messages add additional message types. Simple. --> Only one MM and one IM
Jayson -
How to handle 1 Source Structure and N ( multiple Target Structure
Hi I have One source structure , Which is Source1 and mulitple target structure which Target1 , Target2 and Target3
I need Map this Source1 to Target1 and Target2 and Target3 based on the condition of one field of source1
ianyone please tell me how to do it
Thanking you
SridharHi Sridhar,
Yes Multimapping is possible without BPM from SP14 and above. But there are certain limitation on that as well. You can do only 1:N multi mapping and N:1 is not possible without BPM. In the case of 1:N mapping you would need to go for Enhanced Interface Determination and you will have a full advantage of that mapping if you use a adapter other than IDOC, HTTP and XI. In otherwords this holds good for adapters that runs on Adapter framework and not on Integration Engine.
BPM involved:
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Without BPM:
http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/content.htm
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Thanks
Ravi -
Multiple source files to 1 source structure
Hi Gurus,
Is grouping of multiple souce files to create one source structure possible?
EX.
AAA.csv
BBB.csv
CCC.csv
Then the contents of these files will be merged into one source structure. Can this be done without BPM?
Thanks!Check the wiki page below in addition to above replies.
http://wiki.sdn.sap.com/wiki/display/XI/MessagemergeusingtheBPM -
Problem in work flow of PE while mapping 2 source structure into 1 target
We have scenario in BPM where in we have to mapp 2 source structure's into target.
To be more specific one structure occurance is 0 to unbounded and other one is of single occurance.
We have done the mapping with target structure and tested it manually in mapping . its working fine..
While testing it in Configuration scenario, In the workflow process i.e PE process flow, we were not able to get one of the source message structure as the input Message. Instead of two source messages, it is seen only one. Please guide us in this issue.actually we are receiving only one message, henece we do not need a correleation. But once we receive this message we are splitting into multiple messages in the transformation step. and we use these split messages in different transformation steps. but in one of the transformation steps we are unable see one of the split messages in the transformation step(though we have used the proper container element.). Please let me know if any ideas on this.
-
How to map multiple source structures to single target structure
Hi all,
I have the scenario of 2 input files so i am using BPM for it. I have created the message types of the 3 input files. I have to finally generate an XML file which will contain the data of all the 2 files. That is i have to do 3:1 mapping.
Source Structure of File 1:
<b>DT_PWC_Customer</b>
<i>RECORDSET</i>
<u>CUSTOMER</u>
<i><b>REF_NO</b></i>
<i><b>CUSTOMER_NO</b></i>
Source Structure of File 2:
<b>DT_PWC_Customer</b>
<i>RECORDSET</i>
<u>METER</u>
<i><b>REF_NO
METER_NO</b></i>
Target Structure of Final Output File:
<b>DT_PWC_CustomerMeterData</b>
<i>RECORDSET</i>
<u>CUSTOMER_METER</u>
<i><b>REF_NO
CUSTOMER_NO
METER_NO</b></i>
Above nodes i have shown in a heirarchical order..nodes with same indentation are at same level.
Can anybody tell me how to do this mapping in IR in graphical editor.
RAJEEV GUPTAHi,
To elaborate my requirement, I want to tell that since i will be having 2 input files- one for Customer & one for Meter. I want to finally generate one XML file which will have data from both these 2 input files. That is, if Customer file has 3 records(3 REF_NO, 3 CUSTOMER_NO) and Meter file has 4 records(4 REF_NO, 4 METER_NO), the final output XML file will have 7 records(7 REF_NO, 3 CUSTOMER_NO,4 METER_NO).
Thanks,
Rajeev Gupta -
Mapping 2 source structures to a single target database
Hi Experts, My scenario is a Proxy to JDBC in which I need to send data from 2 source structures to 1 target table.
Source structures : Target:
ABC XYZ
row1 InsertStatement
Item1 DBTable
Action
(Fields) Table
acess
DEF -
row2 -
item2 -
(Fields)
(Fields)
Please let me know how to map the 2 source nodes to the target access node to transfer data from the source tables to target database.
Regards,
KrishnaYou should make use of BPM to collect the two source structures.
One of the BPM examples mentioned in IR --> SAP BASIS ---> SystemPatterns can be referred for this purpose.
Once the messages are collected, perform a 2:1 mapping (two Proxies as source message and one JDBC message as target).
If you want the mapping logic then please provide a proper format of both your Source and Target messages and the expected mapping, so that someone from SDN can help you out.
The target structure provided is a bit confusing.
Are you going to receive two different proxy messages (i.e. two different calls) or just one Proxy call and there you will have two different nodes within the same message??? ...... me confused
Regards,
Abhishek.
Edited by: abhishek salvi on Sep 25, 2009 11:51 AM -
PI Message Mapping One Source to create two of the same Target Nodes.
Hi,
I have a source node that contacts the following.
"1234-5678".
When there is a "-" in the source node then I need to create two target nodes.
When there is no "-" in the source node then only create one node.
Since the source structure is a flat structure by on the target side as you can see I am trying to achieve a diep structure.
Please can you assist in how to do this with PI message mapping.
Regards
Willie HugoHi,
"1234-5678" only occurs once in the source. There is no source xml node that will occur more that once. The whole structure only occurs once. But on the target side I need one of the node to occur more than once if a hyphen is found in the source field.
Source Message - Always only one data node.
==============
<root>
<OnceOnlyNode>1234-5678</OnceOnlyNode> [1..1]
</root>
Target Message - Only two text node when "-" in source, else only one text node.
=============
<msg>
<text>1234</text>
<text>6789</text>
</msg>
How can this be done using standard PI message mapping functions. Can it be done?
Regards
Willie Hugo -
Same source structure and different target structure without BPM
Hi Experts,
I am using PI 7.11.My requirement is at sender side the source structure is same.Basically invoice data coming from ECC to PI as a proxy message.
Receiver side adapter is JMS.At target side ,PI has to send the invoice data to 2 receiver systems.Payment node is coming in source XML,which always comes from ECC.For one of the business system ,Payment node should be sent.For the other BS,this node should be supressed.how to achieve this with single mapping?Payload based routing is not possible in my case as i dont have any field which differentiate the receiving system name.
Regards,
KarthigaHi,
In receiver determination, just input the two receivers (no conditions). In message mapping, you can use the constant function called receiver to suppress or create the node. You can only test it by editing the parameters in test tab e.g
At runtime, this value (receiver) will be filled out by the entries in receiver determination. So only one mapping is needed.
Hope this helps,
Mark -
Multiple Source Structure in single flatfile using lsmw idoc method
Hi Abapers,
we have a requirement for Business partner Data mIgration into CRM system using LSMW idoc method,I got a flat file
which has multiple source structures like(header structure,Tax structure,Mailstructure,Identification structure,bankdetails structure,card strcuture........etc of 12 structures) with identification for each structure. can any one help me how to handle this in lsmw or any link of this kind of scenario will be helpful for me .
Thanks and Regards,Hi Saeed,
For example if you want t create bom through lsmw then we will *** two files one header and other item one.In the same way .In lsmw start by keeping the idoc method i will only propose at second step how many files it need. Just map the idoc and see. Post if need more help.
Regards,
Madhu. -
Hi Expert,
I have requirement to upload Internal Order with settlement rule.
I want to make use of LSMW using Batch Input Recording method.
The thing is, settlement rule can be more than one, hence, I plan to have 2 structure, similar like header and item. I can make the main IO structure and the child settlement rule structure in maintain source structure section. However, I don't know how to link it with recording because when I try to map it, I can only create one structure relation with the main recording.
Do i need to create 2 separate recording?
Anyone has idea how to build LSMW for such requirement? Thank you.
Regards,
Abraham
Edited by: Abraham Bukit on Feb 5, 2009 11:11 AMyou cab achaive this by transfering the same strucure data again.
you can do transfer reord multiple times.
http://help.sap.com/saphelp_nw04/helpdata/en/10/6400c0ee3711d1b406006094b944c8/frameset.htm -
Hi everyone,
Recently ,I have one publishing site template that has a lot of sub sites which contain a large amount of content.
On root publishing site, I have created custom list including many custom fields
and saved it as template in order that
any sub sites will be able to reuse it later on . My scenario describe as follows.
I need to apply Site Content and Structure Tool to copy a lot of items
from one list to another. Both lists were created from same template
I use Site Content and Structure Tool to copy data from source list
to target list as figure below.
Once copied , all items are completed.
But many columns in target list have been duplicated from source list such as PublishDate ,NumOrder, Detail as
figure below .
What is the huge impact from this duplication?
User can input data into this list successfully
but several values of some columns like “Link column”
won't display on “AllItems.aspx” page
. despite that they show on edit item form page and view item form page.
In addition ,user can input data into this list as above but
any newly added item won't appear on
on “AllItems.aspx” page
at all despite that actually, these
item are existing on database(I try querying by power shell).
Please recommend how to resolve this column duplication problem.Hi,
According to your description, my understanding is that it displayed many repeated columns after you copy items from one list to another list in Site Content and Structure Tool.
I have tested in my environment and it worked fine. I created a listA and created several columns in it. Then I saved it as template and created a listB from this template. Then I copied items from listA to listB in Site Content and Structure Tool and it
worked fine.
Please create a new list and save it as template. Then create a list from this template and test whether this issue occurs.
Please operate in other site collections and test whether this issue occurs.
As a workaround, you could copy items from one list to another list by coding using SharePoint Object Model.
More information about SharePoint Object Model:
http://msdn.microsoft.com/en-us/library/ms473633.ASPX
A demo about copying list items using SharePoint Object Model:
http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-copy-list-items-in-a-generic-way/
Best Regards,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Mapping problem with source structures in LSMW thru idoc
Hello,
I am using crmxif for bp saving. I have flat file with one line. But it has many segments. do i need to mapp all segments with different source structures.
Even for any other transactions with crm xifs, how to fill the segments . do i need to create source structures for all the segments.
do i need to create different flat files for all the segments filling. plz suggest with flat file, and source sturctures.
thanks
ramHi RAM,
Please refer notes 554635 and see if this helps.
regards,
Muralidhar Prasad Chatna -
Hope you all are doing good.
I have a business issue to be implemented in ODI 11G. Here it is. I am trying to load a target table from two sources having same coulmn names. But one source is in file format and other is in Oracle Database.
This is what i think i will create two mappings in the same interface using Union between the sources. But i am not sure how the interface would connect to different logical architecture to connect to two different sources.
Thanks,
SMYou are on the right track, this can all be done in a single interface. Do the following
1) Pull your file data model into the source designer and and your target table model to the target pane.
2) Map all the relevant columns
3) In the source designer create a new dataset and choose the UNION join type (this will create a separate tab in the source designer pane)
4) Select the new dataset tab in the source designer pane and pull your source oracle table data model into the source designer. Map all the relevant columns to the target
5) Make sure that your staging location is defined on a relational technology i.e. in this case the target would be an ideal candidate as that is where ODI will stage the data from both file and oracle source and perform the UNION before loading to the target
If you want to look at some pretty screenshots showing the steps above take a look at http://odiexperts.com/11g-oracle-data-integrator-part-611g-union-minus-intersect/ -
Determining Source Structure u0096 for LSMW to upload Purchasing Info records?
I am trying to use program RM06IBI0 through LSMW to upload Purchasing Info records. While configuring LSMW, how do I determine the source structure? Can anybody please help me with an example?
Thanks,
Ketanhi dear
first of all record all the fields which you require through shdb including your vendor code and esokz.
now
generate a structure for mapping the fields through table maintainence generator option.you can add any number of fields there.
actully this must include all the fields which are being fetched from the your flat file.
please revert back if u find problem.
reward points if it find useful
regards
amit singla
Maybe you are looking for
-
Apex 3.1.2 Development Environment typo
<ol> <li>On the Report Attributes tab of a report...</li> <li>in the Layout and Pagination section...</li> <li>the field label "Report Attributes Substituion"</li> </ol> I'm thinking there's a 't' missing there. Yet how many times have we all gl
-
Video stutter, etc with Adobe Premiere Elements 8
Have had the the program for few days, and actually was excited about using it. I have Windows Vista. The video that I am trying import is on a Western Digital storage. The playback in the work area is stutteringm fuzzy and not clear. I am bangin
-
Ok I am really getting sick of this. I have an apple tv on a time Warner Internet connection. ( 15-25 megs down ) I rent a movie and start to watch it and it just stops. Then I see your movie will be ready in 15 min or something like that. It was so
-
my pc config is in my signature ok.. i got crashed and blue screens when i run games and some softs.. it apears nv4_disp.dll on the blue screen... it's some problem with the video driver, isnt? someone can help me?
-
HELP~!!!I currently running on Windows 8.1. If I upgrade to Windows 10 "now" and factory reset my pc "after one year" of Windows 10 released, (that means Windows will go back to Windows 8.1??)Am I still able to upgrade to Windows 10 that time? Thank