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
First time on forums - hope Im not asking a questions that has been asked several times before.  I purchased a mac mini not even a year ago, and its was plenty fast until I updated to Yosemite.  I also found a link to Etresoft from another questions [More]
A few weeks ago i tried to clear up some space on my laptop and deleted all my music from my computer (I didnt think about backing it up), and while i was trying to do this i messed up my itunes and had to reinstall it. When i did this i lost all of [More]
My hard drive crashed and I need to know how I can retrieve my adobe acrobat X pro?Hi leon12joyce Download Acrobat X Pro from below link : http://prodesigntools.com/adobe-cs6-direct-download-links.html Follow the instructions on the website to initia [More]
For days now I've been getting a message dialog whenever I try to make purchases. It says: "The Itunes Store is unable to process purchases at this time." and, "Credit card processing is temporarily unavailable. You may continue to browse t [More]
I continue to have weird and random issues syncing iPhone 4 with iTunes 9.2. I will not have issues for days and then it will start. This morning, I had to do 4 syncs before it would complete. The prior attempts just ended in lockups: locked up sendi [More]
I think the new textbooks and iAuthor are great.  But I have noticed that most books that are enhanced and require iBooks 2.0 or later or created in iAuthor are not in the textbooks section of the store.  This is confusing to me as if I am searching [More]
when I try to review in the app store with a third-party keyboard , the page turns white , and I can not see what I writeReset your phone - no data loss Restart or reset your iPhone, iPad, or iPod touch - Apple SupportRead other 2 answers [More]
Yesterday I bought macbook pro with retina display 2.4GHz, 8Gb RAM, 256Gb flash storage ( 2088 SG$ ) from Challenger , Singapore. If I watch online steaming ( e.g youtube.,etc ) , my macbook pro's fan start noisy and increase body temperature because [More]
Can I create an Oracle report definition programmatically using XML and to build up a report definition on the fly based on user input? If I can, could anyone tell me where I can find more information about HOW? nullYes. Please read chapter 7 of the [More]
How do I get rid of this message that  keeps popping up on certain apps saying Connect to iTunes to use push notifications?Connect the device to iTunes.Read other 2 answers [More]