Define Inbound Interface for Interface Mapping with Java functions
Hi,
we are developing an R/3-XI-ITK-SBO system. We realized our SOAP component as custom java functions and we installed it on ITK.
We need to import and configure these functionality in XI because we need to reference to it when we define the Message Interface and the Interface Mapping in Integration Builder Design.
Someone is able to tell us how we can import and configure these java function or definition in XI?
Thanks in advance.
Best regards.
Hi,
INBOUND:
Step 1. EDI Subsystem creates an IDoc file from EDI Messages
2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.
3. Data in Control Record is validate against the Partner Profile.
4. IDoc is generated in Database and syntax check is carried out.
5. IDoc file is deleted once file read.
6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow.
7. Check for Process Immediately.
If NO
Execute RBDAPP01 Program
Else
Read Process Code from Partner Profile
Process Code Points to Function Module
Application Document Posted.
further help:
check url
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
Similar Messages
-
How to define exit plug for interface view?
hi experts,
I am trying to define exit plug for interface view , but i am not able to make interface view into change mode. it doesnt allow me. what should be done/
Thanks,
saurin shah.Hi ,
Check the Interface in the Window this will reflected in the Interface Window
Regards
Vikranth -
XSLT Mapping with Java Enhancement
Hi All
I am working on XSLT Mapping with Java Enhancement.
To do this scenario i have followed the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
As per the above link I have created Source and Target Data Types , Message Types , Mesage Interfaces, XSLT Mapping (using the transaction XSLT_TOOL) and Interface Mapping part and configred a simple file to file scenario in the ID part.
Apart from this I have wirte the java code, compile the java code, create the jar file using .java and .class file and after creating the jar file import the .jar file in the imported archive of the IR..
when I am trying to execute the scenario I am getting the successful message in SXMB_MONI but the target file is having the payload as given below.
<?xml version ="1.0" encoding="UTF-8"?>
<name xmlns:javamap="java:com.company.group.MappingClass"/>
And as per the XSLT mapping the payload should be as below
<?xml version ="1.0" encoding="UTF-8"?>
<person>
<name>Rinku Gangwani</name>
</person>
I have also followed the following blog link but still i am getting the same issue
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
could you please tell me what can be the reason that i am getting the blank targt field values in the payload.
Thanks
Rinku GangwaniHi,
The Transaction code XSLT_TOOL for ABAP xslt mapping.But the Java Enhancement is used for normal xslt mapping which we created using Stylus Studio.You can not access the Java Enhancement in ABAP xslt mapping.
If you want to use Java Enhancement in xslt mapping then create a xslt mapping using Stylus Studio and save the file as .xsl and zip the .xsl and import to import archive.
Regards,
Prakasu.M
Edited by: prakasu on May 28, 2009 1:46 PM -
XSLT Maps with Java enhancements - JCO_SYSTEM_FAILURE
Hi,
I have reviewed several postings regarding XSLT Maps with Java enhancements. I followed instructions and build a jar file and the XSLT document. I built one imported archive with the .jar and .xsl. For the class, The path get loaded properly.
However, I still have a problem when and execute the interface.
My xslt has the following information
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns="http://xyz.abc.sap.def.com"
xmlns:javamap="java:xyz.Date_Time">
<xsl:param name="inputparam" />
<xsl:template match="/">
<test><xsl:value-of select="javamap:getDateValue($inputparam)"/></test>
</xsl:template>
</xsl:transform>
In SXMB_Moni I get the following error...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
<SAP:P1>Exception in method processFunction.</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>"SYSTEM FAILURE" during JCo call. Exception in method processFunction.</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
If i remove the line
<test><xsl:value-of select="javamap:getDateValue($inputparam)"/></test>
The map ends successfuly.
Comments would be appreciated.
Regards,
SergioStefan,
Find the class and method definition below. The method is static and it returns the string.
==========
package xyz;
import java.util.Map;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import java.util.*;
import java.text.*;
public class Date_Time {
private static AbstractTrace trace = null;
public static String getDateValue(Map inputparam)
trace = (AbstractTrace)inputparam.get(
StreamTransformationConstants.MAPPING_TRACE );
Date now1 = new Date();
SimpleDateFormat formatter = new SimpleDateFormat ("yyyyMMd");
String dateString = formatter.format(now1);
return dateString; -
XSL mapping with Java enhancment PI 7.1 - Dynamic configuration
Scenario - IDOC -> File
XSL Mapping using dynamic configuration to set file name.
1. Ive included
xmlns:javamap="java:packageName.DynamicFunctionClass">
in the XSL header
2.Ive call this method javamap:transform($input, $output)
In the Java code.
1. Package = packageName
2. Class Name = DynamicFunctionClass
3. Class Compiles and I have uploaded into the ESR for a particular scenario. (source and class)
4. extends AbstractTransformation and implements the transform method.
public class DynamicFunctionClass extends AbstractTransformation{ .....
public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {
ISSUE -
Essentially it looks as though PI cannot see the class file or is not able to reference it. I have created a static method in the class as well to access and this does not work.
TRACE -
Resource not found META-INF/Services/javax.xml.parsers.SAXParserFactory Thrown:
com.sap.aii.ib.server.mapping.execution.MappingClassNotFoundException:Ive stumbled across the fact that JDK 1.5 does not allow for Mapping with Java enchanment it is a feature only in SAPXMLTOOL kit, I shall tick the little box in the Operational mapping ...
-
"Inbound deliveries for PO reciepts with confirmation control keys"
Hi Gurus,
Can somebody tell me the detailed configuaration steps " Inbound deliveries for PO reciepts with confirmation control keys".
Thanks
RajHi,
Del. type is identified in
OLME-Confirmations-Define Internal Confirmation Categories
Del. item catogery is defined in TCode 0184.
Based on Del. type & item cat. grp in Material master
Goods Recieving point (shipping point) against Plant & SLOC is defined in
Logistics Execution-Shipping-Basic Shipping Functions-Shipping Point and Goods Receiving Point Determination-Assign Goods Receiving Points for Inbound Deliveries -
Define Clearing Accts for Payment Diff. with Altern.Currency
Dear SAP Gurus,
Please suggest difference between Define Clearing Accts for Payment Diff. with Altern.Currency & Define Accounts for Payment Differences with Altern. Currency.
I am not able to understand what the use of defining Accounts for Payment Differences with Altern. Currency in two activities.
Early reply would be appreciated.
Regards,
Prafful kansalHi,
For this Scenario payment clearing is based on the exchange rate currencies for that purpose we configure that 2 setup accounts.
Briefly: If Invoice is raised as per date feb 1st (1 us dollar = 45 rupees)and payment received on that 1 mar ( 1 us dollar=40 Rupees)for this the exchage rate values are may be different for that purpose.
For this scenarios it will be loss or gain.
Hope you will understand.
Regards,
Kanike -
How can I write unit tests for BizTalk Maps with multipe inputs?
I want to bring all my maps under unit test coverage, but can't seem to find a way to test maps with multiple inputs. Maps with multiple inputs are first merged into a single schema by biztalk and then the map actually uses that inline schema as source.
What I tried is- produced a generated instance of source schema by clicking "Test Map", and then modified the skeletal instance by stitching together the multiple input files into it. There are two problems I am facing going forward that way- 1#
It takes a lot of time to craft a mock input of inline schema and 2# the mock input fails input validation although the input works just fine in the orchestration.
So is there a better or standard way to test such Maps?For testing maps with multiple inputs, follow the below steps-
Lets assume you have a map with two input schemas A and B and output as C.
1) To create the required schema just reverse the inputs i.e. make a map with C as input and A & B as output. Later do a test map. This will generate an XML File with schemas A & B.
2) Now you just to need to replace OutputMessagePart_0 to InputMessagePart_0
and OutputMessagePart_1 to InputMessagePart_1
Later you can use this xml for testing your original map.
Refer the below article
Developing and Testing Maps which have Multiple Source and Destination Schemas
Thanks,
Prashant
Please mark this post accordingly if it answers your query or is helpful. -
Web Interface for Bex Maps in WAD 7.0
Hi Everyone,
I have a requirement to be able to display values in a table when an area on a map is clicked.
This functionality is supported in 3.5 WAD where a property for a map layer could be set to affect values in corresponding tables within a template .The name of the property is 'Map Interaction Controls' ; value 'Click on Map to filter data providers'. Once this value is chosen, in another property 'Affected list of data providers' you specify the dataprovider (of the table) which will be affected by a user clicking on the area of a map.
In WAD 7.0, the only property I see is 'Affected list of data providers' for a specific map layer. I do not see the 'Map Interaction Controls' property. I have tried working with the other settings(properties) available for a layer, but none of them seem to work for invoking the interaction between the map and the table
Does anyone know if the functionality offered in 3.5 is still supported in 7.0? Or if there is a workaround for the function to work?
Any help would be greatly appreciated and points would be rewarded!
Thanks,
ManshaAnyone with any ideas/suggestions?
Thanks!! -
Hi
I have a web application with java. I need to show all counties of the state as a map and the user can select a county to go on to next page. Where can I find interactive maps to use in this java application? Any help is appreciated.
SueTry looking into SVG:
http://www.adobe.com/svg/main.html
SVG is a graphics language with XML-based syntax. It's user interface can be defined using javascipt and the SVG code itself can be generated by some combination of static SVG and JSP. I remember seeing a map example somewhere as you describe on the web, but this URL has a couple of good examples. -
XSLT Mapping with Java Enhancement - how to pass Java Errors
Hi all,
I plan to build a XSLT-Mapping and do a RFC-Call out of it. (Client order!) So, I have to call my selfwritten Java class from the XSLT mapping and therefore report Connection errors back to the XSLT mapping (from Java). Is there a definition for the interface between Java and XSLT I can use?
Thanks and regards.
Danielhi,
hope this one will be more appropriate link
http://help.sap.com/saphelp_nw04s/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
and this link will also be useful
http://help.sap.com/saphelp_nw04s/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/frameset.htm
regards,
sundararamaprasad -
BC-XI V3.0 Message Mapping with Java Class
Hi all
In the Integretion Builder Design i try to import a Java Class in order to convert a source to a target field. I have created an tested the class with the eclipse V3.0.
If i import the source in a customized mapping function i always get the error:
"OFFMANNONLINESHOP_ORDER2SAP_ORDERS05_MSGMAP01 hat keinen Quellkode." (...message..has no source code)
I have also imported the import classes in the "Imported Archives".
This message always appear if the import line for the classes is filled.
Do somebody knows this problem
Message was edited by: Christoph Borst
Message was edited by: Christoph Borst
Message was edited by: Christoph BorstHi ,
select XMLTOOLKIT option in Operation mapping and execute it.
I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
Regards,
Raj -
When do we go for ABAP mapping and Java mapping
Hi friends,
At present I am working on graphical mapping in XI ,can you guys give me with an example or scenario when do we use ABAP mapping , Java mapping or XSLT mapping.
Thanks in advance
Sud<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums</a>
I have standard XSLT mapping programs available for my scenarios, so use XSLT mapping. Similarly with Java mapping, For most scenarios, message mapping does the job too well. Abap mapping similarly is used to leverge existing ABAP base. If message mapping becomes confusing and hard to follow with too many functions, I go for Java mapping (just my way). I havent used ABAP mapping thus far.
Discussing ABAP mapping
ABAP mapping is developed in ABAP work bench. ABAP mapping needs to be transported to integration server and XI does not support this transport and have to do with ABAP transports.
Customers who can develop mapping program on SAP web AS and can transport them there can use ABAP mapping
*ABAP mapping programs cannot access the value table
*Since ABAP mappings are executed on ABAP stack SAP does not provide any ABAP mapping programs
*ABAP mapping programs must exists with one single version in IS, unlike JAva and XSLT mapping that can have multiple versions of mapping program
Regards,
Priya
priya k
null -
XSLT Mapping with Java class not working in Integration Repository
Hi,
I have an XSLT mapping program with Java enhancement and I was able to successfully tested it in Stylus Studio. However, when I imported the Java class and the xslt program in Enterprise Service Builder and tested it, my program does not compile.
Here is the error message: "Transformer Configuration Exception occurred when loading XSLT mapping_temp.xsl; details: Could not compile stylesheet".
My java program is in a zip file containing SOAPHeaderHandler.java and SOAPHeaderhandler.class. My Java has a package com.nga.xslt.
Here is the declaration of my Java class in the XSLT: xmlns:javamap="java:com.nga.xslt.SOAPHeaderHandler"
It seems that it could not read the java class. Can you please advice what is wrong?Hi ,
select XMLTOOLKIT option in Operation mapping and execute it.
I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
Regards,
Raj -
Create inbound delivery for same material with multiple batches
Hi Experts,
An ASN( advanced shipping notification) contains multiple batch numbers for same material or line item.An IDOC has different segments with batch numbers but in SAP while creating Inbound delivery(VL31N) only batch number ( segment) get posted automatically in SAP other batches are need to post manuaaly.
I am using IDoc type : Delivery03 ,Message type: DESADV
How to resolve this problem?
Thanks,
AnilHi Anil,
Welcome to SCN for your first post. Did you check with your functional people about this.
Regards,
Madhu.
Maybe you are looking for
-
Will Avid MC 6.5 run on Mac OS X 10.6.8?
I'm buying a student version of MC and have OS X 10.6.8. Is it going to run on my computer?
-
Can't get APX to work after a reset and reprogramming
i did areset of two APX's and only got flashing yellow after airport setup assistant said the programming was sucessful. Any Ideas?
-
Can't get NLS_DATE_FORMAT from windows regedit
My windows version is xp, and I do set NLS_DATE_FORMAT = 'YYYY/MM/DD HH24:MI:SS' in register table, and I use oracle SQL*worksheet, when I query select sysdate from dual, it will get the date which format exactly like 'YYYY/MM/DD HH24:MI:SS' ; But Wh
-
iPad hacked from Words With Friends. Game suddenly appears in control. Not responsive. Suddenly my tiles change, then the points quadruple. I deleted the app, but would really like to continue playing with my family. How can I get rid of this hacke
-
Urgent:First create the jurisdiction code at state level
when i enter the details in MIRO transaction and save , i am getting the above error. i have maintained the tax jurisdiction code. still it shows an error.