How to export a Webdynpro java DC, for reuse in another system
Hi Everybody,
I am having a Webdynpro Java DC, i want to give that DC to another person to import into his system and work. i am doing a export of that DC and creating a zip file. But when we are trying to import it in another system, it is giving errors. When trying to build, its not showing DC options at all, DC-> buid or deploy options are not visible, when right clicked over the DC.
Am i doing it in a wrong way. Can anybody help me.
thanks & regards,
Ravi
Hi Ravi,
Are you working with local DC?
Then you can take ur dc in the following way..
Find where the dcs are stored in ur system..
<Some File Path> .dtc\LocalDevelopment\DCs\<your dc package>\
There will be a folder with your project name.
Copy that folder and Paste in the other system under the same folder structure.
ie., the copied folder need to be pasted here
<Some path> .dtc\LocalDevelopment\DCs\<your dc package>\
Once you copied,Open your NWDS and go to DC perspective.In the Local DCs.
Go to Local Development -- > My Component
Right Click on 'My Component' and click on 'Refresh'.
Your new project will appear under the 'My Component' hierarchy.
Right Click on your project and Choose 'Create Project'.
Now Proper dc will be available for you to work on.
If you are facing any problems, let me know.
Best Wishes
Idhaya R
Similar Messages
-
Could anyone provide sample of WebDynpro Java TableFilter for Dynamic Table
Hi
I have a dynamic table I have given a context node as a data source and it executes a Web Service and populates itself based on the resultset of query this node contains no of columns and rows
The table changes dynamically everytime the user selects different table type
When I created a TableFilter I used IWDTableColumn from the current view and looped though the context elements and binded the values of attributes of each context element to this column inside a loop. TableSort works, But I am not able to get the Filter working for the Dynamic Table , when I click on Filter Button the Filter does not filterand just sorts.
Not sure what is wrong but if someone can give some inputs,leads I will highly appreciate if some one has a sample of WebDynpro Java TableFilter for Dynamic Table
Thanks in advance,
Ragu.Hi Ragu,
Please check the link for table filtering.
http://wiki.sdn.sap.com/wiki/display/WDJava/GenericTableFilter+Code
since your dynamic table uses webservice I assume it has fixed context attributes, just put the filter into wdDoModify method everytime you execute/trigger the webservice.
Regards, -
How can i apply this java program for a jsp page?
import java.io.*;
import java.util.*;
public class FileProcessing
//create a vector container for the input variables
Vector variables = new Vector();
//create a vector container for the constants
Vector constants = new Vector();
/*create a string expression container for the equation
as read from the file */
String expression = " ";
//create double result container for the final result
double result = 0;
public boolean processFile(String filename,String delim)
//index for values vector
int num_values = 0;
//index for constants vector
int num_constants = 0;
//current line being read from the external file.
String curline = " ";
//start reading from the external file
try
FileReader fr = new FileReader(filename);
BufferedReader br = new BufferedReader(fr);
while(true)
curline = br.readLine();
if(curline == null)
break;
//determine the type of current interaction
boolean variable = curline.startsWith("input");
boolean constant = curline.startsWith("constant");
boolean equation = curline.startsWith("equation");
boolean output = curline.startsWith("result");
//on input variables
if(variable)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count=0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==1)
byte b[]= new byte[100];
System.out.println(temp);
System.in.read(b);
String inputval = (new String(b)).trim();
variables.add(num_values,inputval);
num_values++;
count++;
// on constant values
if(constant)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count = 0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==1)
byte b[]= new byte[100];
System.out.println(temp);
System.in.read(b);
String cons = (new String(b)).trim();
constants.add(num_constants,cons);
num_constants++;
count++;
// on equation
if(equation)
StringTokenizer st = new StringTokenizer(curline,delim);
int num = st.countTokens();
int count = 0;
while(st.hasMoreTokens())
String temp = st.nextToken();
if(count==2)
this.expression = temp;
count++;
// now we are ready to evaluate the expression
if(output)
org.nfunk.jep.JEP myparser= new org.nfunk.jep.JEP();
myparser.setAllowAssignment(true);
for(int i=1;i<variables.size()+1;i++)
String name = "arg"+Integer.toString(i);
myparser.addVariable(name,new Double(variables.get(i-1)
.toString()).doubleValue());
for(int i=1;i<constants.size()+1;i++)
String name = "arg" +Integer.
toString(i+variables.size());
myparser.addConstant(name,new Double(constants.get(i-1).toString()));
//output is obtained as follows
myparser.parseExpression(expression);
result = myparser.getValue();
System.out.println("Assay value: "+result);
catch(Exception e)
System.out.println(e.toString());
return true;
public static void main(String[] args)
FileProcessing fp = new FileProcessing();
fp.processFile("input.eqn",":");
}//my text file name is: "input.eqn" (given below)
input:Enter Value1:arg1
input:Enter Value2:arg2
input:Enter Value3:arg3
constant:arg4
constant:arg5
Equation:arg1+arg2+arg3
result:how can i apply this java program for a jsp pagewhy do you want to do this ?
Your program reads from a file on the disk and formats based on a patterm.
Jsp is not intended for such stuff.
ram. -
How can I debug webdynpro java application?
hi,
How can I debug webdynpro java application?
ThanksCheck this document
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
/padmanaban
Edited by: Padmanaban on Sep 26, 2008 1:55 AM -
How to EXPORT a concurrent program from one instance to another
Hi,
I am new to EBS.
How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
Thanks
AsisHi;
What is EBS version? Why you dont use FNDLOAD?
Pelase see below thread
Move concurrent program to prod
Move concurrent program to prod
Regard
Helios -
I am Fedora 13x64 bit. I just installed FF v6.0.2 from the FF download site. I backed up the existing FF 3.6 as firefox_old
I need to have a Java plugin to access company site, how do I configure the Java Plugin ?
At the Plugin area in FF6 there is no Java Plugin available, even after a search.
I have Java 1.6.0 installed in the OS at:
/usr/lib/jvm/java-1.6.0/jre/lib/amd64/libnpjp2.so
I googled how to configure Java Plugin for FF 6 for Fedora 13 and the trick was to create a soft link from /home/<userID>/.mozilla/plugins to the above libnpjp2.soAVtech wrote:
. . . If a person can't get an answer here I don't know where else to turn since Sun certainly wouldn't offer tech support for a free product . . .These forums are user forums, and only occasionally visited by Sun employees. Sun does provide Java technical support options, although (of course) at a charge.
See:
http://developers.sun.com/services/
. . . I guess we'll just use JRE 5 until it's unsupported, whenever that will be. I'm still waiting for an answer on that question, too. See:
http://java.sun.com/products/archive/eol.policy.html
http://www.sun.com/service/eosl/
This document (part IV and Appendix) has some debugging and troubleshooting information that may allow someone involved in the problem to resolve the cause:
See:
http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.htm
Any steps that you can take to isolate the problem to specific Java versions, browsers, applets, web sites, operating systems (and versions), etc, would enhance the possibility of getting help.
You can try the applets at this Sun location and see if any of them are "slow".
See:
http://java.sun.com/javase/6/docs/technotes/samples/demos.html -
How to: export 4:2:0 MPEG2 for Visual Circuits Firefly MC
I am trying to make a series of videos for a multi-channel media player called FireFly MC by Visual Circuits. It plays on 3 monitors and I am trying to make a multi screen presentation to give the illusion that it spans all 3 at times and the goes back to individual montors and back or whatever.
Every time i export and MPEG2 from Premiere Pro and play it on the system, there are tons of artifacts. and color changes to B & W and back to color.
There is a manual online, but the encoding requirements are not really something i am altogether familiar with.
Here are some:
1. Files must be program stream MPEG2 or system stream
MPEG1 of audio/video, or elementary stream MPEG2 or
MPEG1 of video only or audio only.
2. Use 4:2:0, not 4:2:2 encoding.
3. In MPEG-2, both audio and video fields should be encoded.
This is the normal default.
4. Audio only (Dolby Digital or MPEG Layer 2) files cannot be
mixed with files containing videos (MPEG, MPEG2 program
stream, video only).
5. Firefly – Standard IDE Hard Drive): The total bit rate of a
Firefly player must not exceed 40 mbps across four channels
(i.e. averaging 10 mbps per channel). Channels may be
encoded at different bit rates (up to 15 mbps on a given
channel) as long as 40 mbps is not exceeded across a single
hard drive (4-channel player).
6. The presentation time stamp (PTS) values contained in the
audio and video streams in a file must be continuous and
increasing. In particular, the PTS values should not reset to 0 at
any point in the file. The time between the first and last time
stamps in a file should reflect the actual duration of the file.
7. Files should be no less than 4 megabytes in size. If some of
your files are smaller than 4 megabytes, use an editor to
combine the files to create a single file at least 4 megabytes in
size.
8. Files should be no larger than 2 gigabytes in size.
Anyone ever work with this system or know how to export this type of file?
Thx in advance.Hi Jim, I too am confused!
Why should the video codec for Option 1 be V210? Isn't this reserved for 10-bit video?
http://www.fourcc.org/yuv.php#V210
http://help.adobe.com/en_US/premierepro/cs/using/WS398C372B-B748-4ef6-BA0D-396D2E360707.ht ml
I would have thought that the UYVY option was the correct choice for 8-bit video.
http://www.fourcc.org/yuv.php#UYVY
Videos exported using Option 2 definately do not play correctly in Windows Media Player - I get no video, just audio. I have tried many different computers running different versions of Windows and Windows Media Player. I'm running Premiere CS5 v5.03 if that makes any difference.
I don't understand why videos from Option 1 play fine in Windows Media Player even though the systems don't have AJA hardware installed (or any video I/O device) - they are just plain vanilla office PCs -
How to keep the generated java classes for compiled jsp in WL9.2 Workshop
Hi all,
<p>
It should be a very simple question for most of you, however, it seems a bit tricky to me: how to configure the Weblogic 9.2 workshop so that we could keep the generated java files for the compiled jsp when we ran the application within WL 9.2 workshop?
<p>
I try some configurations, but not working. Also, where are the generated java files stored?
<p>
Thanks for the help!
<p>
Agnes
Edited by wingagnes at 03/21/2008 7:51 AMHi yzeng,
<p>
Thanks for the reply. If I change the jsp-descriptor into the following:
<p>
<jsp-descriptor>
<p>
<keepgenerated>true</keepgenerated>
<p>
<working-dir>D:\temp\golGenerated</working-dir>
<p>
<debug>true</debug>
<p>
</jsp-descriptor>
<p>
I will get the following error message:
<p>
cvs-complex-type.2.3.d:Invalid content was found starting with element 'precompile'. No child element is expected at this point.
<p>
Thanks,
<p>
Agnes -
How to Export Non-Administrators Local GPO for import on a different PC
How to export Non-Administrators Local Group Policy and import on another PC?
All articles for exporting local GPO say to copy the C:\Windows\System32\GroupPolicy and C:\Windows\System32\GroupPolicyUsers folder to another PC however that only works for changes done to the "Local Computer" or "User" (if you
alter the SIDs to match), respectively. It doesn't work to import Non-Admin Local GPO.
There are several requests for this you can find when searching and no solutions provided.Hi,
For manage local GPO, we could take use of the LocalGPO tool included in the SCM.
LocalGPO allows you to manage the local group policy objects (LGPO) on non-domain joined computers. You can use LocalGPO to backup the LGPO from a stand-alone machine. You can also use it to apply the settings from a GPO backup to other computers, this includes
GPO backups created by LocalGPO, SCM, or the Active Directory Domain Services GPO backups created with the Group Policy Management Console.
Here is a good article talking about it:
SCM v2 Beta: LocalGPO Rocks!
And here is a thread for reference:
Using LocalGPO.wsf for standalone PC's
Best regards
Michael Shao
TechNet Community Support -
Description of how to export and import add-on for SAP B1 by steps
hello every body, I had created sap b1 form using sap b1 studio and I don't know how to export it as add-on and import it to sap b1, could any one please describe to me in steps how to export it and import it to sap b1 as add-on?
Hi moustafa ,
Connection timed out means that your add-on is not
connecting back to the UI.
Try this code for DI Company Connection..
Private Sub SetApplication()
'// Use an SboGuiApi object to establish connection
'// with the SAP Business One application and return an
'// initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// Statment should be suficient for either development or run mode
'sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
sConnectionString = Environment.GetCommandLineArgs.GetValue(1) '
'sConnectionString = "5645523035496D706C656D656E746174696F6E3A59313931303035313531383699469FA92C3C9A964A219C5862952A90D911E9" 'Environment.GetCommandLineArgs.GetValue(1)'
Try
SboGuiApi.Connect(sConnectionString)
'// connect to a running SBO Application
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
Catch ex As Exception
MsgBox("Make Sure That SAP Business One Application is running!!! ", MsgBoxStyle.Information)
End
End Try
SBO_Application.StatusBar.SetText("DI is Connecting now", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
End Sub
Regards,
Sandeep Kr. -
How to edit a webdynpro JAVA application of ESS portal
Hi,
I have to work on a webdynpor JAVA app configurged in ESS portal,the app shows the salary slip of the employees,but don't have logo in it,so i am suppose to put logo there,but not able to understand how to start work on it.
i have fair idea of Webdynpro ABAP,but not able to undertand what to do in this case,also have to show few more text fields on its smartform/adobe form too,not even sure,the form which is generating in salry slip is based on smartfoms/adobe forms.
pls advice...
regds
vipinDear Vipin,
What I will suggest you is to first find out the component name,
then from the component find out the Model (RFC) which is used, I believe that HR forms or SAP Script is used to display the
PDF, and if this is the case then it should be changed by your ABAPer.
You can find the component name from the Iview Property "Application Namespace" (I hope you can find the iview),
Now go to Content Administration>>Web Dynpro >>Deployed Content. Here you can find your Model, Now you can go to R3. Type T-CODE se37, here type the name of your model,now you can see whether its a SMART FORM, HR FORM, SAP SCRIPT or ADOBE FORM(SPF). In case its none, then definately It would be a interactive form UI in your webdynpro Application.
Now when you have got the name of the Component, you can make your changes.
Hope it helps.
Warm Regards
Upendra Agrawal -
How to deploy the custom java application for self regaistration in portal?
hi,
I have created a custom java application in NWDS for Self Registration of new users.I am working on EP 7.02 and the standard self registration application is a Web dynpro java application.
How can i deploy my custom java application built as a par file in place of the Web dynpro java application?
Thanks,Hi Amarys,
If you have developed the PAR file in NWDS then you can deploy the PAR in the server with NWDS ( [Check Required Settings |NWDS 7.0 does not deploy PAR;) or in server directly (system administrator > support >> portal runtime >> administration console)
Best Regards
Arun Jaiswal -
How to export and import java class?
-- OS: RHEL5, Oracle 10.2.0.5
Dear!
I've got one schema contains only java and java-source, with some table object.
Now, I'd like to find the way to export java class and import into the other database, however, I can not find the best way without datapump. My purpose is only export java class (not include java source, the other object). I tried to use dbms_metadata, but not worked with java.
May you show me some thing about that?
Thank you!Thank you for your reply!
As I posted below, I tried to get from dbms_metatdata, but could not. So, please view an example:
system@CLOUD> col object_name format a15
system@CLOUD> col object_type format a15
system@CLOUD> select object_name, object_type, status from dba_objects
2 where owner='CLOUD_ADMIN'
3 and object_type like 'JAVA%'
4 and object_name like 'Ba%'
5 /
OBJECT_NAME OBJECT_TYPE STATUS
Base64 JAVA CLASS VALID
Base64 JAVA SOURCE VALID
system@CLOUD> select dbms_metadata.get_ddl('JAVA CLASS','Base64','CLOUD_ADMIN
2 from dual;
DBMS_METADATA.GET_DDL('JAVA_CLASS','BASE64','CLOUD_ADMIN')
BEGIN NULL; END;Well, the dbms_metadata did not get ddl from java class, but only Java-Source!
Example:
system@CLOUD> ed
Wrote file afiedt.buf
1 select dbms_metadata.get_ddl('JAVA_SOURCE','Base64','CLOUD_ADMIN')
2* from dual
system@CLOUD> /
DBMS_METADATA.GET_DDL('JAVA_SOURCE','BASE64','CLOUD_ADMIN')
CREATE JAVA SOURCE NAMED "CLOUD_ADMIN"."Base64" AS
// To modify this template, edit file JavaS.txt in TEMPLATE// directory of SQL
Navigator//// Purpose: Briefly explain the functionality of the procedure//// MO
DIFICATION HISTORY// Person Date Comments// --------- ------ --------
-----------------------------------//import java.lang.*;import java.io.Unsupport
edEncodingException;public class Base64 { //private static int FACTOR =6;
private final static String LANGUAGE = "ISO8859_1"; public static String
cvt = "opqrstEFGHIJKLMNOPQRSAB3456CDTUVWXYZabcdefghijklmnuvwxyz012789-_";
private static int fillchar1 = '.'; private static int fillchar2 = '.';
public Base64(){}; public static String byteArrayToString(byte[]
input)
throws UnsupportedEncodingException{ if (input != null) return new String
(input, LANGUAGE); else return null; } public static byte[]
stringToByteArray(String input) throws UnsupportedEncodingException{ if
(input != null) return input.getBytes(LANGUAGE); else return null;
} public static String encode(String s) { try {
byte[] data = stringToByteArray(s); int c;
int len = data.length; StringBuffer ret = new StringB
uffer(((len / 3) + 1) * 4); for (int i = 0; i < len; ++i) {
c = (data[i] >> 2) & 0x3f; ret.appe
nd(cvt.charAt(c)); c = (data[i] << 4) & 0x3f;
if (++i < len) c |= (data[i] >> 4) & 0x0f
; ret.append(cvt.charAt(c)); if (i
< len) { c = (data[i] << 2) & 0x3f;
if (++i < len) c |= (data[i] >> 6) & 0
x03; ret.append(cvt.charAt(c));
} else { ++i; ret.append
..... -
How to export a transparent image background for the web
Hi Everyone
I have made a mock up webpage in adobe fireworks 5. I am now in the process of using the slice tool to cut up the seperate parts and export them to dreamwever.
My question is this: how do i slice the images in such a way that the background is transparent .
Also, when exporting the image that i have just made trasparent, what do i need to do to expot it as a transparent background.
warm regards
AndreeaWhen you're ready to transfer your Fireworks layout to DW select FILE > Image Preview. In Options select Format PNG8 and beneath the color grid change the No Transparency dropdown to Alpha Transparency.
Click the Export button, name your file, choose the destination location, and in the dropdowns select Export > HTML and Images, HTML > Export HTML File, Slices > Export Slices, Pages > All Pages. (Also some choices may be handy for you in the Options button including Background Image for the exported file.)
PNG can be used, just as JPG, TIFF, PICT, BMP and GIF, all of which are in your Options > Format dropdown list.
Generally JPG is better for files that have gradients, GIF for simple images and text, but they don't do transparency so the larger PNG file is necessary for that. -
How to export clips to After Effects for Compositing
I want to export clips from my timeline into After Effects to add some compositing of clouds and sky replacement.
FCP 7
AE CS5
OS 10.6.8
I dragged the clips from my timeline back into the Browser into a new bin but when I export from there, the dimensions aren't the same as my project.
My project is 1920x1080 and when I export the edited (spliced) clips from the browser, they're 720.
I don't want to go into my raw files and try and eyball where I spliced the clips b/c each video file is about 2 gigs and I'm only using a small section of each clip.
Any suggestions on how to do this?It is much easier just to use Automatic Duck's Pro Import AE which will allow you to send your timeline to AE.
AE will use the existing media that is called for by the FC timeline, you don't have to copy/export the media files.
Used to cost several hundred dollars, now FREE as the creator has gone to work for Adobe.
http://www.automaticduck.com/products/piae/
P.S. The site says it is compatible up to CS5.5 which was current when development was stopped, but I use it in CS6 with no problem.
MtD
Maybe you are looking for
-
How to restore the OS when your hard drive fails...
So I recently bought a Y50-70 from Newegg. Being that I hate Windows 8/8.1 with a passion I made sure to find a laptop that runs Windows 7. Lucky for me (and one of the reasons I bought this laptop) is that I should be able to run Windows 8.1, 7, a
-
Dear All, We want to maintain a date when the material is lifted at Vendor's place against each schedule in the PO. There is one field by name "EX-FACTORY DATE" but if I enter the same it is disappearing from the PO. Basically it's not getting saved.
-
Setup did not find any hard disk drive in your computer
I have an old Compaq Presario 7598 Desktop (Windows XP) which I use as a backup machine. Recently when I tried to start it I am getting "Unable to access hard disk,. Operating system not found on any devices". Then when I tried to start with XP Boot
-
My speakers won't turn on.
My output speakers won't turn on, every time I attempt to raise or lower the sound, the sound icon pops up and says it is at full volume. But then below the sound bar is a little white circle with a cross through it. But every time I plug in my headp
-
8.0.4 & jdk1.2.x ? yes : no
I'm looking to use oci8 driver with oracle 8.0.4 and jdk1.2.2. I've heard this may not be possible due to use of NMI rather than JNI. Is there a suitable driver for this configuration? Also, 8.0.4.0.6 drivers are not available from http://technet.ora