Sitemap

Amicuk Programming Answers

Concern on Message Mapping - Concat function

-0001-11-30   Views:0

Advertisement

Hello Experts, We have a concern in our message mapping structure. The target field is "Sold-To id" at line level and source filed is "Customer No" which appears in the header node. We are using a series of concat functions while mappi

Hello Experts,
We have a concern in our message mapping structure. The target field is "Sold-To id" at line level and source filed is "Customer No" which appears in the header node. We are using a series of concat functions while mapping these two fields. Now,  the issue is that the second concact function's input queue does not read all the values passed from the first concat function's output queue. We have checked their respective contexts but could not find the cause of this behaviour.
Due to this the mappiing fails and the target field is not populated with the required values.
Kindly advice.
Thanks in advance,
Elizabeth Jacob.

The replay answer
Advertisement
Hi Elizabeth,
You have
1 KUNNR value
2. VTWEG values
2  SPART values
And you wan two output to be generated (1 for each concatenated value of KUNNR, VTWEG and SPART). Is this right??
If yes then use the node function useoneasmany with KUNNR, so that KUNNR get repeated twice(one for each value of VTWEG and SPART)
Your mappign shoudl be like this
KUNNR --------------------------------|
VTWEG (context line)----------------| useoneasmany---------------------------------------| concat -----------------------------------| concat
VTWEG( do not change context) --|                      VTWEG( do not change context) --|      SPART do not change context) --|
Regards
Suraj

Go to See the other 11 answers

Concern on Message Mapping - Concat function

Category:DefaultRelease time:-0001-11-30Views:130

Hello Experts, We have a concern in our message mapping structure. The target field is "Sold-To id" at line level and source filed is "Customer No" which appears in the header node. We are using a series of concat functions while mappi[More]

Message Mapping Split Function Problem

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Could somebody plz help me on this problem of splitting the messege: Source Field: -MATMAS   -Idoc      -EMARAM        -MTART: 1,                         2,                         3 Target Required: Based on the occurrence of  Mtart, the tar[More]

Message Mapping:: Java Function issue

Category:DefaultRelease time:2015-10-11Views:130

we have PI7.1 SPS 07 & JDK version as JDK15. I am using following program to calculate the Total of payments ( Put constants so it would be easy for others to test in their ESR )--> BigDecimal sum = new BigDecimal("0.00"); BigDecimal bd =[More]

Message Mapping-Node Function

Category:DefaultRelease time:2015-10-11Views:130

Dear All, This is a problem in mapping, we are facing. Source Structure Item------Occurance= 1 to Unbounded  (Level 1)            Garment--- Occurance=1 to 1     (Level2) Target Structure target_Item--- Occurance = 3 to 5 (Level1)              target[More]

Regarding Message Mapping in JDBC Scenario

Category:DefaultRelease time:2015-10-11Views:130

Hello Experts,         I got struct up in message mapping. In message mapping we can able to see different types of Functions. So I need some clarifications on it. Functions are available like... Conversions Boolean Node Functions Constants Date Text[More]

User defined function in java for message mapping

Category:DefaultRelease time:2015-10-11Views:130

I wrote the following user defined function in java for message mapping and mapped vendor with this. The aim of this function is to write a error file at defined path when i send empty Vendor value from File to RFC-Function module BAPI_PO_CREATE. The[More]

Accessing container variable of BPM in Message Mapping function

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a scenario in BPM where i have a container variable that is used as a loop counter.I want to access that counter defined , every time when i go around the loop and perform certain actions based on that counter. so how can i access that var[More]

Writing message mapping function in Java in integration repository

Category:DefaultRelease time:2015-10-11Views:130

Hi XI Pundits, I am new to XI. I was working on Message mapping in intergration repository. To map the source messages to target messages, we do graphical kind of mapping like drag and drop. There are some functions aavilable at the bottom like conca[More]

How to use functions in Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi All,        I am new to SAP XI. I don't know how to use functions in message mapping.     Can any body tell me how to use IF condition in message mapping.      Please provide me a good link where I can get the details how to use those functions. T[More]

How to use node functions in Message mapping !!

Category:DefaultRelease time:2015-10-11Views:130

Hi  Gurus, I have got one issue in message mapping, please can any one put some ideas on this !! Source Structure <Group_ZA>  0..unbound      <D02_ZA>           0.. unbound          ZA_01             0..1   - QA          ZA_02             0..1[More]

Count-Function in Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

Hey, trying to map following structures: message -m1 --m11 -m2 --m22 -m3 --m33 to message -m1 --m11 -m2 --m22 -m3 --m33 -f1 --countItems The nodes m1,m2 and m3 can appear 1..unbounded. In target structure I would like to have the numbers of all nodes[More]

Hot
I've been reading the numerous posts regarding the mooing and whining of the macbook. It's extremely important to me to have a Macbook that runs silent. I've been hearing some report there is a whining and mooing, others report no sound at all. If I [More]
I have a stored procedure that accepts a customer prefix like "abc" and returns a customer document number like "abc-0021". (Thanks V Garcia) This sp works when I call it from SQL Plus Worksheet. But I need to call it from another stor [More]
halo, i am doing a program to download a created text file into pc... the download program is just retrieve records from database and write it into a text file... then i will pass that created text file name to another program, then it will prompt ou [More]
Somehow I ended up with two apple accounts. Recently the PC I used for iTunes and syncing w/ my nano crashed  and cannot be recovered.  I also have a laptop which I had already "authorized for both apple accounts".  only a small amount of my mus [More]
Hello  Experts,                        I need to create a portal application that should connect to SAP R/3 & fetch some data in some table according to some input parameters provided at runtime & display the data in TABLEVIEW control. Anyone can [More]
Final Cut Crashed and then corrupted the file. So Final cut wouldn't open up. I tried reloading the backup, trashing the prefs file, systematically going through the 3 previous versions and opening them by themselves one by one. I found Final Cut now [More]
Dear gurus Please help me.. my problem is located on the links below [REPORT ERROR|http://www.geocities.com/saadnisarahmedkhatib/ABAP/Report.zip] Regards SaadDear Gurus I have re-attached my smart forms and my tables details on the link below [Report [More]
can we work on both xi and bi at a time independently? not on integration?Why not...you can work..but remeber we all have only 24 hours...so, manage your time. The second thing, if you are alreay working for some company, then you might not be work f [More]
here is the symptomatics: i'm using MBP 15 late '08 (Core 2 Duo 2,53 GHz with 4 GM RAM --- not sure whether it's relevant here). I had a number of uneases after my update to Lion. I was able to resolve them [partially] by following this thread: https [More]
So I have a folder on my desktop that has all of my videos and pictures in it. Only a few of the videos will import, the others will not. Does anyone know how to fix this?I am just going to import then import media from files. I have a folder on my d [More]