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
Hi, I'm using arch (kernel 3.16.0-2-ARCH #1 SMP PREEMPT x86_64 GNU/Linux), a TechnoTrend USB IR Receiver and my custom remote (not covered by existing configs). I installed lirc and lirc-utils via testing repo (lirc-0.9.1). My problem is that I can a [More]
I'm trying to transfer iTunes and it's based off an old email account. How can I transfer to my new email account.In addition I don't remember my old password.Read other 2 answers [More]
I am not entirely sure what happened, but I know I have been having more problems with this phone then success. Tonight, I just happened to change the skin of my Incredible 2. Now, I don't know if this caused the problems, but I don't see why it woul [More]
Hi please forword this massage I have a problem whith paid registration When i did check and bought 2 ringtones  i paid her Yesterday but amount taken off my card and i do not know why  If you have  a subscrition to someting please delete ann just qh [More]
We have 190 APs in two buildings on the same campus connected to 2 5508 controllers.  Would it be better to put these APs in flexconnect mode with local switching?  My thought is that traffic would be better to have traffic switched at either the acc [More]
Hi everyone, Just made the switch to Mac on the weekend, and everything is running smoothly on my new SR Macbook so far. The only thing I'm having trouble with is getting the right printer driver set up. I got the Canon MX310 with the rebate that cam [More]
Hello! I have a view object. I put in "order by clause" some sort(In query tab of this view object). I created jsf page and dropped this view object like table. I also dropped a Commit operation as button. When I change some value in row and pre [More]
I am just learning about Collections, discovering that a Collection preserves all of the work I done in the collection. I am assuming then, that the images in a collection are virtual copies that can be adjusted in the Develop Module to be different [More]
I'm using the "process multiple files" command to converts folders of tiff files to jpeg. I routinely hide extension names of my files. All my files are being converted with the ".tiff" extension added as part of the name, and I can fi [More]
Hi guys, and good morning all Oracle table is defined: CREATE TABLE KUPCI POZIVNI        VARCHAR2(3 BYTE), MSISDN         VARCHAR2(6 BYTE), I need to check some field on oracle table. I want to do this as part of my abap include code: IF itab-dat = < [More]