on 10-17-2008 7:34 PM
Hi, i have found a Bug in XI and SAP said to me that the only solution is to execute an ABAP mapping after my java mapping.
I have an IDOC to FILE scenario
Could anyone orient me on what do i have to configure, so after my java mapping i can execute an abap mapping ?.
Do i have to use process integration?
thanks
Mariano.
When you define your Interface mapping. Add your Java Mapping and then the Abap Mapping from the drop down, when you read the interface in the order you want to execute the mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can add Java mapping and ABAP mapping in Interface mapping in sequence.
The target generated by Java mapping will be passed to ABAP mapping.
Refer this for ABAP mapping
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mariano,
Can you pls. provide more details about your rek. I mean why you need to call abap as well as java mapping?
You can call them one after other in Interface Message ( Java and then Abap) and should not be a problem.
Let us know more about your rek.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have developed a Java mapping originally, but XI has a bug. When you do not write anything to the outputStream XI instead of writing an emtpy file writes a file containing one byte ( 0x00 ) and this is a problem.
SAP said to me that they will not fix this issue so they recomend me to create an abap mapping after my java mapping that will send no information if it receives this byte (0x00) and if not it will write all the information as received.
My doubt regarding putting several mappings in the interface mapping configuration is this...
Actual configuration:
SOURCE MSG A -> ORIGINAL MAPPING -> TARGET MSG B
Proposed configuration
SOURCE. MSG A -> ORIGINAL MAPPING -> TARGET MSG B
SOURCE. MSG A -> PATCH MAPPING -> TARGET MSG B
I dont understand what receives de "patch mapping" it receives the structure from TARGET MSG B?
regards
mariano
Yes. You are correct.
Mapping "patch mapping" will receives the structure from TARGET MSG B.
Let me check the java mapping...I has used java mapping few days back to create file.
I'm still wondering whether calling abap mapping after java mapping will solve your prrblem.
How are you creating/ writing file? Is code is written inside java mapping to create file?
Nilesh
Edited by: Nilesh Kshirsagar on Oct 17, 2008 4:25 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.