JAVA API AND ABAP API SIMPLE SCENARIO
Hello MDM gurus
I have never used any Java API or ABAP API to leverage and present MDM functionalities on front end systems like portal,etc...
Could you please give me all the required to play around with JAVA api and ABAP api's.
Points will be given to every valuable answer.
Thanks
Hi Nazeer,
In order to use Portal you need Java APIs and to start with refer the MDM Java docs to get the basic idea of various classes and methods to be used in developing the simple java application and access it using portal.
http://help.sap.com/saphelp_mdm550/helpdata/en/47/9f23e5cf9e3c5ce10000000a421937/frameset.htm
Sample code for Duplicating Repository
public class TestDuplicateRepository
public static ConnectionPool simpleConnection;
public static RepositoryIdentifier repIdentifier,repIdentifier1;
public static String session;
public static String connection = "MDMServer_Test";
public static String repository1 = "Test_Repository";
public static String repository2 = "Test_Duplicate";
public static DBMSType dbmsType = DBMSType.MS_SQL;
public static void main(String[] args)throws CommandException, ConnectionException
//Creating Connection.
simpleConnection = ConnectionPoolFactory.getInstance(connection);
//Establishing connection with Repository.
repIdentifier = new RepositoryIdentifier(repository1, connection, dbmsType);
repIdentifier1 = new RepositoryIdentifier(repository2, connection, dbmsType);
//Creation Sever Session.
CreateServerSessionCommand createServerSessionCmd = new CreateServerSessionCommand(simpleConnection);
createServerSessionCmd.execute();
session = createServerSessionCmd.getSession();
//Authenticating Server Session.
AuthenticateServerSessionCommand auth= new AuthenticateServerSessionCommand(simpleConnection);
auth.setSession(session);
auth.setUserName("Admin");
auth.setUserPassword("Admin");
auth.execute();
session = auth.getSession();
//Duplicate Repository Command
DuplicateRepositoryCommand duplRepCmd = new DuplicateRepositoryCommand(simpleConnection);
duplRepCmd.setDBMSUserName("sa");
duplRepCmd.setDBMSUserPassword("abc");
duplRepCmd.setSession(session);
duplRepCmd.setSourceRepositoryIdentifier(repIdentifier);
duplRepCmd.setTargetRepositoryIdentifier(repIdentifier1);
duplRepCmd.execute();
Similarly you can try with Getting server version, Archive repository and then move on to adding,modifying records etc.
For ABAP APIs refer the below link
http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6e31381053e10000000a422035/frameset.htm
Regards,
Jitesh Talreja
Similar Messages
-
How could JAVA API and ABAP API useful to MDM.
Hi Experts,
How could JAVA API and ABAP API useful to MDM, and any coding in Java or ABAP is required in MDM.Hi Reema,
Java API and ABAP API are verry usefull to MDM to integrate MDM with other SAP componants like SAP R\3, EP etc. :
It dose not required any coding in MDM infact in JAVA API coding can be done on NWDS(Netweaver Developer Studio).And for ABAP API coding is done on SAP R\3 System in ABAP editor.
JAVA API:
By using Java API MDM client operations can be performed.For one need to install NWDS and to deploy some .jar files and with the help of standard classes and interfaces it can be connected to MDM server and various operations like create repository ,connect to repository ,Data mainuplation etc.
ABAP API:
Suppose you have an Expert abaper and you want him to perform MDM operations.In that case he need not to learn MDM basic Data types infact by doing some settings on R\3 and MDM server side an ABAPer can perform
MDM Cnsole and MDM Data Manager level operations.
you can go through these links
http://help.sap.com/javadocs/MDM/SP06/overview-summary.html
/people/bv.pillai/blog/2006/11/28/installing-mdmtech-add-on-and-configuring-the-mdm4a-mdm-for-abap-api
Here the coding is done on SAP R\3 system.
hope it will give you some idea about Java API and ABAP API
Reward if helpful
Thanks ,
Vinay Yadav -
BPM 11g: JAVA API and Webservice API
Who knows BPM 11g: JAVA API and Webservice API?
Customer want to call BPM 11g between Heterogeneous systems, such .net framework. One way is use webservice API, I think, but where can find it? thank youWhen you create a BPM application in 11g, you're actually creating a SOA composite application with a BPMN component in the composite. From within the BPMN editor, you can specify the interface (parameters) of each start node in the process. If you select a start node, look at the implementation tab, you'll see a properties group that lets you define the interface one property at a time, or by selecting an interface from the catalog.
By defining these properties you're also defining the shape of the Web Service interface that will automatically be created in the composite. If you switch to the composite view, you'll see your BPMN process with a wire to it from a Web Service that's generated from the interface defined in the BPMN editor. The naming convention is the BPMN process name with ".service" appended. When you deploy the BPMN process, the web service will also be deployed, since it's also part of the composite. From Enterprise Manager (EM) you can test the service and get the WSDL, which could be used by other applications (e.g. .NET) to start and interact with a process instance.
This is one of the advantages of the 11g architecture. The composite exposes services to consumers/clients. The implementation could have been BPEL, BPMN, a Mediator, Java/EJBs, or any combination working together. To the consumer, it's just a web service.
In case your next question was about security ... you won't see properties about security in the BPMN editor. You use Web Service Manager to apply security or other constraints to the web service endpoint. -
Hello,
Pls let me know about Java Maping and ABAP Mapping
Also pls provide good simple scenario blogs for Java Maping and ABAP Mapping.
RegardsHi Ranchit,
Check these links for Mappings
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://websmp102.sap-ag.de/~sapdownload/011000358700003604872004E/MappingXI30.pdf (Need Service Makrket place ID)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
JAVA Mapping BLOGS
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
ABAP Mapping Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Sachin
Message was edited by:
Sachin Dhingra -
Hi Experts,
i am now confused about these two stacks: Java Stack and ABAP Stack.
for IR objects, like DT, MT, SI, MM, SM, Action, Process Integration Scenario
for ID objects, like profile agreements, receiver determination, interface determination,
1. where are these objects stored in? Java or ABAP stack?
and i know Adapter Engine is run on JAVA Stack while Integration Engine is on ABAP Stack.
2. how do they call the objects stored in different stack during processing?Hi,
1. where are these objects stored in? Java or ABAP stack?
These objects are basically developed on the JAVA stack, when they are activated their runtime version is created on ABAP stack, which you can check in SXI_CACHE transaction.
2. how do they call the objects stored in different stack during processing?
Runtime versions of these objects are responsible for the execution of the interfaces.
-Supriya. -
Revision: 20695
Revision: 20695
Author: [email protected]
Date: 2011-03-08 13:32:45 -0800 (Tue, 08 Mar 2011)
Log Message:
Tomcat 7 Valve/LoginCommand changes due to the ValveBase API and Realm API change.
rename valve name as Tomcat7Valve
will need to merge the build.xml after the build machine can fork a JDK 1.6 build
Checkintests pass
Modified Paths:
blazeds/trunk/modules/opt/build.xml
Added Paths:
blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java
Removed Paths:
blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/TomcatValve708.java -
Difference between CE_BANK_PUB API and iby_ext_bankacct_pub API
Hi All,
Could you please tell me what is the difference between CE_BANK_PUB API and iby_ext_bankacct_pub API?
Which scenario we have to use those API's?
Thanks in Advance
Thanks
LakshminarayanaHi Hussein
Thanks for your replay.
Yes I have followed the Note but getting error. Using the note I have created Bank and Branch but when I am going to create account getting error message that I have putted the error message earlier.
Thanks
Makshud -
How is the interface between the Java Stack and ABAP stack is achieved?
How is the interface between the Java Stack and ABAP stack is achieved?..Please send me the answer to [email protected]
Hi,
By interface, I assume you mean the connection between the ABAP and the Java stacks in a double stack system.
The connection from Java to ABAP is through JCo connections defined in the WebDynpro section of the J2EE start page. So Java to ABAP requests are processed through JCo.
The connection from ABAP to Java is through RFC connections defined in TA SM59. The ABAP to Java requests are processed through RFC.
Refer https://dsd.esco-salt.com/StartPage/documents/integration/3.html for detailed explanation.
The UME can be maintained in either ABAP or in JAVA depending on the persistence.
Refer: http://help.sap.com/saphelp_nw70/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm
Check UME data source configuration.
Some quick FAQs can be found at:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad47eb90-0201-0010-7cb2-ddfa5ed879ec
Hope this helps.
Best Regards,
Srividya.R -
Installing Java Stack and Abap Stack, same machine.
Hi all:
Does anybody installed Java Stack and Abap Stack on the same machine?
I installed ABAP stack first, and am trying now to install Java stack but it seems like at the end of the process, ABAP stack. (is not working now).
Any idea?Not sure about installing both as I haven't tried either!
Anyway, in theory if the SIDs and instance numbers are completely different, then you should be OK. If you ahev the same SID or instance number, I can see possible problems,
Portal only runs on Java, so in theory any Java system will be OK. NWDW would be a good choice. -
Difference java stack and abap stack
hello experts,
Difference between java stack and abap stackHi
ABAP Stack
The application data in the SAP system is accessed in
the ABAP stack via platform-independent ABAP programs.
ABAP stack is used to run ERP applications mainly MM,SD,FICO etc
Currently in most of the installation you can found mixed stack(ABAP+JAVA)
JAVA Stack
The Java side of the SAP Web AS is often referred to as SAPWeb AS Java or
as the Java stack.
This central SAP Web AS Java instance consists of two separate
instances plus one special application, the Software Deployment Manager (SDM).
These two separate instances that build the central SAP Web AS Java instance are
a standard SAP Web As Java instance, offering a Java dispatcher process and one
or more Java server processes and the so-called SAP Central Services instance
(SCS). The SCS instance offers two processes, exclusively used by the Java side
of the SAP Web AS: the enqueue services and the message service. These two
services only work for the Java side of the SAP system.
Java Stack is mainly used for SAP Portals and you can host Internet/Web based application written in JSP/EJB ,Java Stack uses Java Threads to run application,
Also, Xi requires Double stack
ABAP + JAVA Stacks
Bcoz some components are developed on JAVA
Some components are developed on ABAP Based.
JAVA:
Integration Builder
SLD
Adapter Engine
Runtime Workbench
ABAP:
BPE
Integration Engine
Integration Engine and the Integration server reside on the ABAP Stack. All the Execution of the IS part will be done on ABAP Stack. we can monitor the processed XML messages also in SXMB_MONI( ABAP Stack)
Adapter Engine will reside on the JAVA Stack. All the IR, ID, SLD, RWB Application are developed on JAVA Stack, so thats why we need JAVA Webstart to run these Applications
All the Adapter related Errors we can see in RWB, Communication channel monitoring( Developed and sits on JAVA stack)
Hope this clears your doubts
Thanks
Saiyog -
JAVA Stack and ABAP Stack not in Sync
Hi,
when i logged into the MI Server(7.0) gonr thru the following navigation :
Administration-->Mobile Infrastructure---->Mobile components
which i click on the search button i am getting the following error
"JAVA Stack and ABAP Stack not in Sync"
Already i redeployed the sapjra.rar, still i find the error unchanged.
Any help on this would be great........
Thanks,
vijay.Hi
Refer this link
Need to Configure MI Server 7.0
As explained by veeraragavan in this link follow these steps
Following are in brief the roles required, just forward the same to your BASIS administrator.
In the ABAP Stack -Under Transaction SU01:
End User:
SAP_MI_SERVICE
Administrator / Critical Developers:
SAP_J2EE_ADMIN
SAP_MI_ADMIN
In the J2EE Stack - Under Identity Management:
End User:
No role required. You can give a role for display: SAP_JAVA_NWMOBILE_ADMIN_READONLY
Administrator / Critical Developers:
SAP_JAVA_NWMOBILE_ADMIN_SUPER
regards
Manohar
Edited by: Gouri Manohar Gadhamsetty on Jan 19, 2009 7:17 AM -
What is the difference between private API and public API??
Hi,
I came accross the terms private API and Public API ?
what are these APIs and what is the difference between them??
Thanks and Regards,
SohamSoham,
Publicly Callable Business Process APIs are the list of supported and published APIs. Direct calls to any other routines are not supported, unless explicitly specified, because API validation and logic steps will be bypassed. Many other packages include procedures and functions, which may be called from the API code itself.
Note:216838.1 - Oracle HRMS Product Family Publicly Callable Business Process APIs (A Reference Consolidation)
Regards,
Greg -
Not Showing the UI API and DI API reference
Hi Experts,
I have SAPB1 8.81 pl 5. I have also installed the sdk 8.81 pl5 but when i am opening my .Net project in visual studio 2008 the older refence to ui api and di api is showing some warning so i have just remove both the references and try to add new reference to ui api and di api.
My problem is that when i am clicking on add refernce it is not showing the 8.81 versions in the list and if i am taking the reference of 8.8 only then it's again giving the warning symbol as previous .I am assuming that when you try to add the Reference in VS, that for SAP Business One you are choosing the COM tab. You should see the Component Name as SAP Business One DI API Version 8.81, but the TypeLib Version will still say 8.8 ... this would be the same for the UI API.
Possibly you want to uninstall the SDK, make sure the directories are removed and then re-install.
Eddy -
What is the difference between private API and public API??
Hello,
from a technical point of view, a private API is normally embedded in a public API.
The NON ORACLE specialist developpers have to use public API as an interface to control ORACLE APPLICATIONS.
Normally, the functions/procedures of private API must be hidden to the NON ORACLE specialist developper.
Roméo. -
What is the difference between private API and public API??
Hello,
from a technical point of view, a private API is normally embedded in a public API.
The NON ORACLE specialist developpers have to use public API as an interface to control ORACLE APPLICATIONS.
Normally, the functions/procedures of private API must be hidden to the NON ORACLE specialist developper.
Roméo.
Maybe you are looking for
-
Load error code 3 unable to load front panel
Hi all, Wrote a vi in 8.6 and saved it for 8.5 for collaborators. When they run it up pops the error code 3 unable to load front panel. Memory full. see attached picture. Has anyone any suggestions as to how to fix this? Regards, leeser Attachments:
-
[SOLVED] Invalid URL scheme
Any ideas folks? root@kangaroo ~ # pacman -Syu :: Synchronizing package databases... stable32 is up to date stable-any is up to date error: failed retrieving file 'core.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme error: failed to update c
-
Updating itunes is taking round in circles! HELP!
I have attempted to update itunes but everytime I open it, it prompts me to go through itunes set-up, choose language etc. no idea what i am doing wrong. i've tried to uninstall it but it will not let me as says that i have the latest version of itun
-
When I open a new document in Pages, the text I type appears white instead of the default black color. I can highlight the text, once I find it, but it will not change to anything other than a light purple.
-
Hi All, I need OKP documents for PPM 5.0 - cProjects and RPM, can some one please share with me.... Thanks & regards Yasar