SAP MDM Connection with WebDynpro Java
Hi,
I am working with SAP WebDynpro Java (UI) and SAP MDM (Database). I had added the respective jars-
a) I want to test whether I am able to make a connection to the MDM server. Let me know input parameters (sample source code required) which I need to pass from SAP WebDynpro Java (UI) to make a successful connection to MDM (DB). Please let me know this in details.
b) After making connection to MDM, I need to write a query where I need to pass Lot No1 & Lot No2 from WebDynpro Java (UI) & check in a MDM table numbers of records existing and later display the corresponding records details (sample source code required) in the screen.
Your inputs will be highly appreciated.
Thanks.
Anmol,
Depending on what version of WAS you are on...you might have WDJ components available that you can use. Just to offer a different view on your question.
Otherwise follow the links above or the following link to get sample code.
Read MDM ItemDetail Record in WDJ
You should get lots of sample code on SDN.
Thanks,
Praveen.
Similar Messages
-
Connection between webdynpro java and ECC.
Hi experts,
I am very new to webdynpro java, I want to learn webdynpro java since I know little bit of java.
So here is my question,
I want to connect my webdynpro java to ECC to get data from ECC and display it on front end and as well i want to send data to ECC, can anyone help me to resolve this one.
Thanks and Regards,
Santoshkumar.Hi Santosh,
This is pretty basic stuff in the world of Web Dynpro Java - I'd suggest you search SCN, read content on help.sap.com and then come back here with more specific questions. All anyone can do to answer your current question is search for you and post links to documents that you could find for yourself.
Cheers,
G. -
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Calling RFC with webdynpro java (in NetWeaver Developer studio)
Hi,
I want to call only one parameter RFC with webdynpro.
Flight example is very complex.
I want to push a button and pass parameter to RFC input and call RFC.
After execution some message must appaer on the screen.
Is there a step by step .pdf?
Thanks.Hello Cemil,
There's a seperate Web Dynpro forum for such posts, you should take a look there.
Nonetheless, the classic tutorial is the FlightList. If I was you, I would make sure to do this tutorial step-by-step as it should give you the fundamentals for understanding aRFC. On top of that, it's most likely already available to you on your SAP system...
Here's the link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
Cheers,
Hermann -
How to make SAP B1 connection with Windows Sharepoint Service 3.0
how to make SAP B1 connection with Windows Sharepoint Service 3.0 through asp.net web part code.. I get the security error when i run that web part......
public bool ConnectToCompany()
oCompany = new SAPbobsCOM.Company();
oCompany.Server = "192.168.1.58";
oCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005;
oCompany.CompanyDB = "SBODemoUS";
oCompany.DbUserName = "sa";
oCompany.DbPassword = "abc";
//oCompany.UseTrusted = true;
oCompany.UserName = "manager";
oCompany.Password = "manager";
oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English;
oCompany.LicenseServer = "192.168.1.58:30000";
int i = oCompany.Connect();
if (i != 0)
return false;
return true;
protected override void RenderContents(HtmlTextWriter writer)
if (conn.ConnectToCompany() == true)
writer.Write("Hello" + this.Context.User.Identity.Name);
Edited by: bikalg on Nov 28, 2010 9:43 AMHi.......
Welcome to SAP Business One Forum.....
Unfortunately this is the wrong forum you posted here.
I would suggest you post it in SDK or System Administration Forum and definitely you get the solution and close this thread from here......
Regards,
Rahul -
Trigger MDM workflow from Webdynpro Java
Hi All,
After updating records in MDM, I want to trigger an MDM workflow from Webdynpro Java and pass those updated records to workflow. Any inputs on how to accomplish this. Workflow has already been developed using MSVISIO by the MDM team.
Thanks,
TomBy following steps, it is possible to integrate workflow (or any workflow designed in MDM) within portal:
1. UWL (Universal Worklist): The UWL gives users unified and centralized way to access their work and the relevant
information in the portal. It collects tasks and notifications from multiple provider systems. One can expose MDM
workflow functionality on Portal using UWL.
2. JAVA APIu2019s: MDM Java API consists of set of classes related to MDM workflows through which one can create an
application that provide the MDM workflow functionality and expose the application as an iView in the portal. -
Build gui for existing oracle database tables with webdynpro java?
hi
i want to build a GUI to maintain existing oracle tables
so far we used oracleFORMS to do so
is there a good approach for webdynpro java? or do you recommend other sap tools?
can we generate the gui with a wizard based on the fields in the table?
do we have to generate sql statements or type in manually?
regards
joergHi Joerg,
generally that is possible, but you'll have to implement the data access by yourself, by means of EJB or another Java persistance framework such as JDO, SQLMaps, Hibernate, whatever...
Web Dynpro allows to build a GUI based upon a model - in this case this could be some POJOs (DTOs) representing your database tables, which are communicated to the GUI by your data access layer. Consider a model as a simple Java bean representing database data.
This approach would require to build a data access layer which incorporates manually generated sql statements, so you'll have to have expert database and java knowledge.
There might be other approaches, this is just to demonstrate one working possibility.
regards,
Christian -
Calling RFC with webdynpro java (in NetWaver Dev.Studio)
Hi,
I have a RFC like below
FUNCTION ZSAP_X.
*""Local interface:*
*" IMPORTING
*" VALUE(USNAM) TYPE USERNAME
*" EXPORTING
*" VALUE(PWD) TYPE CHAR8
1-I want to write webdynpro java application to call RFC
2-Call RFC with USNAM parameter
3-Get PWD output parameter and write it's value into View TextInput field.
I wrote application but I did not get PWD (output parameter) value. I checked RFC running poreperly.I did not achieve to get PWD.
How can I do that?
Thanks.Hi Bala,
I checked RFC, it is running properly and getting the output value.
And I used command below, but it produces error
String X = wdContext.currentPWDElement().getpwd().toString();
Error:
java.lang.ArrayIndexOutOfBoundsException: -1
Thanks. -
Integrating flex with webdynpro java
hi,
iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.Hi
This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
Follow the link below for details :
http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
Regards,
Sayan Ghosh -
SAP company connection with DI only
Hello,
I am developing a asp.net application that uses DI to connect to a SAP Company. Now, I need to get the user password to connect to the company and then post a purchase Order.
thanks
JuliaPerhaps the best way would be, if you are using .NET, to use app.config file, store user names/password in it. The first time your add-on is installed, pop off the dialog asking for SAP user name and password (even DB username and password if don't want to use .UseTrusted = true). Subsequent Add-On startups would not need those pop-ups because Add-on would rather pick it up from app.config file.
Use System.Configuration.ConfigurationSettings.AppSettings[] to pull off encrypted values, then decrypt it using any of the .NET libraries e.g. Symmetric.Provider.TripleDES before establishing connection with DI.
For simple ready to go downloadable snippets, I think check :
http://www.codeproject.com/dotnet/SimpleEncryption.asp
For in-depth coverage, of course, visit MSDN -
Regards with Webdynpro Java in ESS
Hi,
i wanted to know whether we can use webdynpro abap in a J2EE server.
I have the issue that at the client, all the objects are customized and what i came to know that
we can use webdynpro only on the standard packages but not on the customized ones.
so here my issue is that can we use Webdynpro ABAP for the customized ones (objects)
if yes then how do we proceed further.
and how do use webdynpro ABAP in J2ee server
please reply me at the earliest possibleWeb Dynpro ABAP is SAP's strategy to build Web Applications in ABAP environment.
Web Dynpro ABAP is run on ABAP Engine not on Java Engine. ECC 6.0 by default has the ABAP Web Application Server. You can develop Web Dynpro ABAP Applications in the ECC itself and can be integrated into Portal via iViews.
Web Dynpro Java is a tool to develop Web Applications in Java Environment. Jco is the medium through which it connects to R/3 system and calls the RFC Function Modules.
I hope it is clear.
Abhi -
Oracle 9i lite connection with a Java Client
Hi,
I would like to connect a Java Client developed using PersonalJava edition for PDA with an Oracle 9i lite version which is also on PDA.
I would like to know is it possible to connect such a client (Java) using some JDBC drivers on PDA.
if yes please do suggest a suitable driver and some input tips as to how to connect a GUI developed in Java directly to Oracle on PDA.
I am not too sure whether some web/application server is required in the whole setup.
because in N-Tier Architecture we have a middle layer of Application /Web servers in between a client screen(usually a Browser) and Database.
but I am not aware weather it is possible to directly connect Java Swing or Client application as I mentioned above developed using Personal edition with a database using only some driver software but no other middle ware component in between.i.e forming a 2 tier client server model.
please do let me know your valuable suggestions at [email protected]
thanks,
AshishI connect to the database through the same user that created those tables. Do I still need a public synonym ?
-
SAP ALE connection with EDI sub-system
We are using the SAP ALE functionality to connect to the EDI sub-system, rather than the traditional way (creating IDoc flat files). For this setup also, the RFC type is TCP/IP type. But I'm not sure of the various other details to complete the setup. Rather I guess, I don't know which is the correct program to run on the Application Server.
Look at the error text below, and tell me if this is not working because I cannot connect to the program on the application sever?
RFC connection type: T (TCP/IP)
Activation type: Start on Application server
Program: /usr/sap/D05/SYS/exe/run/rfcexec.sec
Test connection error:
ERROR timeout during allocate
LOCATION SAP-Gateway on host jua-sap-dev / sapgw02
DETAIL no connect of TP /usr/sap/D05/SYS/exe/run/rfcexec.sec from host jua-sa
COMPONENT SAP-Gateway
COUNTER 6321
MODULE gwr3cpic.c
LINE 5774
RETURN CODE 242
SUBRC 0
RELEASE 640
TIME Thu May 3 17:01:32 2007
VERSION 2Hi Vinodh,
I am facing the same issue right now with GIS. Did you get the solution for this please?
Regards,
Deepesh Datt. -
Database connection with a Java applet
I am having trouble figuring out what I am doing wrong.
I am able to connect to the remote database from inside JDeveloper 9.0.3 and execute some simple SQL statements.
The problem is when I try to run this applet on a web page to test it I get some exceptions.
with e.message()
access denied (java.util.PropertyPermission oracle.jserver.version read)
java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.jserver.version read)
I know from within the IDE I assume the security settings are lax or non-exsistant.
any ideas?
Thanks,
MartinJava applets can only access their host machine. If your database is located on a different server than the web server then you get these errors. To access a database located on a different machine you can use the so callled Applet - Servlet tunelling. You actually use a servelt as a proxy. The applet calls the servlet and the servlet accesses the database.
There is a lot of info on these issues in java.sun.com.
hope this helps! -
Sap Oracle Connection with other oracle
Dear Experts ,
I am trying to connect other oracle machine through database enterned necessary entries in TNS and listerner ora , but i not able to connect
oracle veriosn is 9.2 and on sap server oracle is 10.2 , is there any prblm with version
Please adviseHi Fidel.
My requirement is i want to connect to other oracle database with my sapsystem oracle database .
i am trying to connect thru SQL prompt .i am able to ping the Ip of system , TNSping is also working .
had made entries in TNS and lister.
but when i am trying to connect from SQL iam getting error
ORA-12170: TNS:Connect timeout occurred
please advice
Thanks and regards -
SAP BOBJ connection with SQL server 2008
HI Gurus
I want to install bobj server on a server that already have SQL server 2008 installed on it, I have few confusions as this is my first time installation, I hope you can help me.
1. Since SQL server is installed on the same machine where I have to install bobj, do I need to create an ODBC connection. Note that O/s is windows server 2008.
2. What kind of other softwares or tools do I need to istall on the server to connect bobj server to sql server in order to crate universe on sql database, for example, Microsoft IIS and ASP.NET, .NET frame work etc etc or are these installed by default automatically when sql server or bobj server installed on the machine.
3. is there any checklist I need to go through before I start with the installation of bobj server.
4. Last but not the least but very important, does anyone has step by step guid with screen shot to thjis installation connectivity.
I would appreciate your feedback and respoce.
Regards.> what do you exactly mean my set---next next and finish, I think if eveything is setup already such as database server, app server, dev qa and prod and sizing , users etc etc then i guess installing bobj is pretty simple
> , all i need is a odbc connection to set up, i am not sure what kind of problems should i be anticipating.
Read the installation guide - and figure yourself if you consider it "easy".
> Also I am not talking about admin part, universe design and report development ,its totally seperate issue, I was just concerned about installing a bobj tool on the server and to connect it to sql server.
> Do you have any thoughts on this, would appreciate
As said - read the installation guides
There's a reason why they are there and why they are so big.
All I can say that it is not as easy as doubleclicking a "setup.exe", pres "next", "next" and "finish".
Did you check the guides?
Markus
Maybe you are looking for
-
Data not available in Multiprovider
Hi Guys, I have a multiprovider which is built on 3 different infocubes. When I do the LISTCUBE on the mutliprovider, it doesnot display the data avaialble from one particular cube but does display data from the 2 other cubes. Could anyone suggest wh
-
I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the conten
-
Can i send a fax with my iphonec
Hello
-
How to suppress click sound on click boxes
We are trying to suppress the click sound when user clicks on a click box. We see how to suppress the sound on the mouse , just not on the click box. Has anyone been able to do this? Thanks.
-
I'm so lost!!!!