Code for creating secure envelope
Hi,
We have a pdf document, but we need to create a secure envelope around it, programatically.
Can we create a secure envelope through a java program?
If yes, can you pls share the code to do it?
Thanks.
What kind of "secure envelope" are you looking for?
You can send me a PM or email to discuss it further.
Similar Messages
-
I need the code for creating popup windows and code for open and close
I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
Can anybody help me in that pls ?
Regards
Sreeni.Hi
For pop up window
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
wdContext.currentYourNodeElement().setPopupAttribute(window);
For closing window code
IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
window.hide();
window.destroyInstance();
For more infornation refer this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
This link is very useful for you.
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM -
T-code for creating new payment term
Dear All,
What is the T-code for creating new payment term in PO.
Pleaze reply it soon.
Thanks
Prasant Sekharuse /NOME2.here u can create or copy as u wish.
regards,
indranil -
What is the T-Code for creating Cost center - profit center standard hierar
Hi,
What is the T-Code for creating Cost center - profit center standard hierarchy.Please provide me the T-codes.
ThanksHi Supriya,
Create / Change Cost Center Standard Hierarchy - OKEON
Display Cost Center Standard Hierarchy - OKENN
Create Profit Center Standard Hierarchy - KCH1
Change Profit Center Standard Hierarchy - KCH5N
Display Profit Center Standard Hierarchy - KCH6N
Srikanth Munnaluri -
Resources for creating secure Flash content?
I am looking for any articles, tutorials or other resources
for creating secure Flash content. Maybe even a "best practices"
article? I am looking to create a login, I need to store users,
register users and secure the content.
Thanks in advance for any time of help with this.
|rossimo|Hi again Nick
I dunno, perhaps I'm too practical and that holds me back. But I see things this way. If you are just trying to come to terms with Captivate, why complicate matters further by tossing Flash into the mix. I mean, I'm assuming that Flash itself has its own nuances and ways of working. So you really have to first have a real tight handle on how it works. THEN you want to mix in Captivate. And Flash seems to have it's own way of dealing with the Captivate stuff. Inevitably Captivate seems to impose it's own "weirdness" on things. So my goal is to stay as simple as I can unless I really need to step beyond what the basics offer. Then I am keenly aware that the road I'm choosing to travel is fraught with pitfalls that won't be easy to discern or overcome.
I have to ask myself if the possible benefit warrants the extra effort involved.
Cheers... Rick
Helpful and Handy Links
Begin learning Captivate 5 moments from now! $29.95
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcererStone Blog
Captivate eBooks -
When creating a security envelope to be mailed from an organization's dedicated email address, must one enter the real password for that address?
Accessing the client's microphone is considered a violation of the applet security design. Sun doesn't want people able to write applets that can eavesdrop on others. Therefore, you need either a change in the java.policy file allowing the proper security (see Sun's "JavaSoundDemo" readme.txt for further details) or you need to sign the .jar containing the applet.
-
Sample Bapi code for creating orders
HI all,
ive been working on creating an order using idoc_input_orders and couldnt do it because of 2 fields. now changed my decission and thinking of writing a bapi to do the same. has anybody got the sample code for mapping and filling in the bapis before calling bapi for creating an order. Could somebody help me with a sample code and i could use it as a reference before starting coding.
thanks,
KiranSee if this helps.
one order with total sum of effort
clear: l_order_header,
l_salesdocument,
l_order_partners,
l_order_items,
l_order_schdl.
refresh: it_order_items,
it_order_partners,
it_order_schdl,
it_return.
???????? get from material ...
Order header
l_order_header-doc_type = 'ZQBV'.
l_order_header-distr_chan = '10'.
l_order_header-division = '00'.
if g_qals-werk eq '1100'.
l_order_header-sales_org = '1000'.
else.
if g_qals-werk eq '3100'.
l_order_header-sales_org = '3000'.
else.
message i001(00) with text-005.
endif.
endif.
l_order_header-purch_no_c = g_qals-prueflos. " <= lot
Partner data
l_order_partners-partn_role = 'AG'.
l_order_partners-partn_numb = g_qals-kunnr.
append l_order_partners to it_order_partners.
Order items => only one
l_order_items-itm_number = 10.
l_order_items-material = g_qals-matnr.
l_order_items-target_qty = 1.
append l_order_items to it_order_items.
Schedules for quantity
l_order_schdl-itm_number = 10.
l_order_schdl-req_qty = 1. " <= only 1 !
append l_order_schdl to it_order_schdl.
Conditions for value
l_order_conditions-itm_number = 10.
l_order_conditions-cond_type = 'PR00'.
l_order_conditions-cond_value = g_effort_sum.
l_order_conditions-currency = g_effort_unit.
append l_order_conditions to it_order_conditions.
BAPI to create sales order
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = l_order_header
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = l_salesdocument
TABLES
RETURN = it_return
ORDER_ITEMS_IN = it_order_items
ORDER_ITEMS_INX =
ORDER_PARTNERS = it_order_partners
ORDER_SCHEDULES_IN = it_order_schdl
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN = it_order_conditions
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
if not l_salesdocument is initial.
order successfully created
message i001(00) with text-001 l_salesdocument.
endif.
endif. -
Source code for "Creating an Extended Web Dynpro Application"?
Hello!
I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
Following text is cut out of this page:
http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
Creating an Extended Web Dynpro Application
You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
How hard I try I can't find the specific source code on sdn.sap.com
Does anyone have a clue where it is?
Thanks!
Best regards
/Johan Månsson LindströHi!
I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
I am running a newer version of NWDS:
SAP NetWeaver Developer Studio
SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
Maybe that's why things don't look the same? -
ABAP code for creating a report variant
Hi,
I would like to create parameter on selection screen type SLIS_VARI. I would like that the program will start with pre-defined variant in ALV grid, the same as it is on standard stock report (MB52)...
Can someone tell me how to do this, and where to put the code?
Thanks in advance,
SasoHi,
This is the code for variant as parameter and F4 help.
DATA: g_repid LIKE sy-repid,
g_dynnr LIKE sy-dynnr.
DATA: g_save(1) TYPE c VALUE 'A',
g_exit(1) TYPE c,
gx_variant LIKE disvariant,
g_variant LIKE disvariant.
PARAMETERS: p_vari LIKE disvariant-variant.
INITIALIZATION.
g_repid = sy-repid.
g_dynnr = sy-dynnr.
PERFORM variant_init.
*Get default variant
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
AT SELECTION SCREEN *
AT SELECTION-SCREEN.
*--PAI of selection screen
PERFORM pai_of_selection_screen.
*---F4 option for report variant
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant.
SUB-ROUTINES *
FORM variant_init.
CLEAR g_variant.
g_variant-report = g_repid.
ENDFORM. " variant_init
FORM pai_of_selection_screen.
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
PERFORM variant_init.
ENDIF.
ENDFORM. " pai_of_selection_screen
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
AND pass this gx_variant to ALV Function module.
Rewards points if helpful.
Regards,
Srinivas ch -
T Code for "Create Purchasing Groups"
Hi,
Does anyone know a T-code shortcut for "create Pur Grps." other than the spro path?hi
OMGS and OMGQ are available for 4.6
Path
SPRO>Materials Management>Purchasing>Purchase Order>Release Procedure for Purchase Orders-->Define Release Procedure for Purchase Orders
SPRO>Materials Management>Purchasing>Purchase Requisition>Release Procedure>Procedure with Classification>Set Up Procedure with Classification
Vishal... -
Needed a code for Creating a Log File in java so that its size is limited
Hi
I need the code for developing a log file using threads so that the log file size is limited
and if the size of the log file is increasing above 1Mb,another log file has to be created automatically and the log have to be printed into that new file.
Thanks in advancepackage cms.web.log;
import java.io.*;
import java.util.Calendar;
import cms.web.WebUser;
* Log is generated by JEditor 1.0.0
* @Project : cms
* @Version : 1.0.0
* @Created date : 11:07:40 PM Thursday, 25/07/2002
* @Author :
* @Organization :
* @Copyright : (c) 2002
* An utility class used to write information, especially error messages, to
* log file so that they can be viewed at later time by administrators.
* Extra information such as date & time they occures & where they are thrown...
* are automatically included and append to the end of log file.
* Log files will increase with the format "name_n" where n is file counter
public class Log implements Serializable
* logs marker
static final String START= "\n\0";
* parent directory that contains log files
private static File parent;
private PrintStream out;
private String name;
* to count how many log for the current stream
int counter;
* maximum number of logs for each log file
int max;
public static void init(File parent)
if (!parent.exists())
parent.mkdirs();
Log.parent= parent;
public Log(String name, int max)
this.name= name;
this.max= max;
file= getLastFile();
counter= countLogs(file);
out= openStream(file);
public synchronized void appendLog(String log)
if (log == null || log.length() == 0)
return;
count();
try {
out.println(START+ counter+ " | "+ getCurrentTime()+ " | "+ log);
out.flush();
} catch (Exception e) {}
* Append the given log to log file.
synchronized void appendLog(String msg, WebUser user)
if (msg == null || msg.length() == 0)
return;
count();
try {
out.println(START+ counter+ "----------------------------------------------------------");
out.println(getCurrentTime());
out.println(user != null? "User:"+ user.getFullName(): "User: public user");
out.println(msg);
out.println("\n----------------------------- end -----------------------------\n");
out.flush();
} catch (Exception e) {}
* Append the given exception to log file
synchronized void appendLog(Throwable error, WebUser user)
if (error == null)
return;
count();
synchronized (out)
try {
out.println(START+ counter+ "----------------------------------------------------------");
out.println("Exception occured at "+ getCurrentTime());
out.println(user != null? "User: "+ user.getFullName(): "User: public user");
error.printStackTrace(out);
out.println("----------------------------- end -----------------------------\n");
out.flush();
} catch (Exception e) {}
private String getCurrentTime()
Calendar c= Calendar.getInstance();
return
parse(c.get(Calendar.HOUR_OF_DAY))+ ":"+ // 0 --> 23
parse(c.get(Calendar.MINUTE))+ ":"+ // 0 --> 59
parse(c.get(Calendar.SECOND))+ " "+ // 0 --> 59
parse(c.get(Calendar.DAY_OF_MONTH))+ "/"+ // 1 --> 31
parse(c.get(Calendar.MONTH)+ 1)+ "/"+ // 1 --> 12
c.get(Calendar.YEAR); // yyyy
private String parse(int n)
return n< 10? "0"+ n: ""+ n;
private void count()
counter++;
if (counter> max)
incrementFile();
counter= 1;
private void incrementFile()
File file= null;
int n= 0;
while ((file= new File(parent, name+ n+ ".log")).exists())
n++;
if (out != null)
out.close();
out= openStream(file);
private PrintStream openStream(File file)
try {
if (file.exists())
return new PrintStream(new FileOutputStream(file.getPath(), true));
else
return new PrintStream(new FileOutputStream(file.getPath()));
} catch (IOException e) {
throw new RuntimeException(e.getMessage());
private int countLogs(File file)
int count= 0;
InputStream in= null;
try {
in= new FileInputStream(file);
int n;
while ((n= in.read()) != -1)
if (n == '\0')
count++;
} catch (IOException e) {
} finally {
if (in != null)
try {
in.close();
} catch (IOException e) {}
return count;
private File getLastFile()
File file= new File(parent, name+ "0.log");
File curr;
int n= 1;
while ((curr= new File(parent, name+ n+ ".log")).exists())
file= curr;
n++;
return file;
protected void finalized()
if (out != null)
out.close(); -
Suggest plsql code for form security during runtime
Hi
I made a project using forms 6I . I created 4 forms in all. I created a Menu item too like create,insert, delete,modify records, reports print etc. Now What I want is if user want to enter a particular form he should select appropriate menu item from the menu But what I my exact need is if user attempt to enter a form a small popup dialogue box should be displayed in the middle of the screen and asks for a password . So I want a pl&sql function or procedure which creates a default password and match the same when the user enterered the same in popup dialogue box and allow or reject the user request. Please suggest me a full DETAILED PL/SQL CODE FOR THIS PURPOSE. OR ANY FORM 6I FEATURE.
thanks in advance
prasanth as.The dialog box is part of the ftandard Forms functionality. What you need to do is set up the user account with the password set to EXPIRED and no grace logins. The Admin Guide tells you how to do this.
Cheers, APC -
T code for creating font for smartform
Hi All,
please give the transaction for creating <b>FONT</b> which is to be used in smartforms.
Regards
Anil Kumar Khi anil,
goto transaction 'SMARTSTYLES' from the control bar .
in here u an set the font family , font size ,font style like bold, italic etc.
after setting the font use the same in smart forms .
note: assign the same in the transport request of the smart form cause if the release status is gone wrong then the font will cause problems.like if u r familiar with scripts u will understand..
vijay. -
Can anybody help me with the transactions codes required to create BP and contract account, etc. using CRM. It will be replicated in IS-U.
Thanks in advance.Hi,
since SAP CRM 2007, the WinGUI for the business application is no longer officially supported. You create business partners and business agreements (equivalent to contract accounts in the backend) in the SAP CRM WebClient. There are several roles delivered in standard SAP to support different sets of business requirements, for example UTIL_IC for the utilities interaction center agent or UTIL_SALES for the utilities key account manager.
Based on the pre-defined roles, you can customize your own roles.
In SAP CRM, the WinGUI is supported only for customizing/development.
Best regards,
Franziska -
Finding material codes for creating process orders ??
Dear Experts,
How can we get the list of material for which the process orders can be raised .In other words from a list of materials ,how one can know the material code ,relevent for raising the proces order & maintaining recipe.
Pls update
RegardsDear Dennis,
It's difficult to answer your query with the given information.But in general for the in-house manufactured materials
(procurement type E in MRP2 view) which has a BOM,which can be checked through CS03-->F4 display serach using the
materials by Bill of materials,mention the plant,BOM usage and remove the maximum no of entries and you can download this
data) and get an idea for which materials the BOM exists.
Further to this you can identify for which materials the master recipe exists in C203 and based on these data or else for the
plant check in C223,for which materials a production version exists for a combination of BOM and master recipe.
For all these materials you can create a process order.Also if your process order type is configured in such a way that
without a BOM and master recipe the order can be created means,then for the in-house manufactured materials the process
order can be created.
Similarly for all the in-house manufactured materials the master recipe can be created.For to this in config in SPRO-->production
planning for process industries->settings for task list types->assign material types--->check for which material type the task
list type 2 is linked,only for the materials created with these material type you can create the master recipe.
Regards
Mangalraj.S
Maybe you are looking for
-
We are evaluating a vendor whose software product will be loading large numbers of records (10,000 to 250,000) into an Oracle database running on an NT server. Can anyone give me an idea (ASAP) as to how long we should expect this to take? For exampl
-
Hi All, My map has following structure -<envelope> -- root element and also level -<gdsnItemRegistryResponse> --Level -<docException> --Level -<docAcknowledgement> --Level <docException> and <docAcknowledgement> are siblings I dont have any dtd's ass
-
Is there a place to submit bug reports for iTunes 11?
I was wondering if anyone knows of any communities, or ways in which we can submit errors, or bug reports for the new version of iTunes, version 11.0? The 2 issues so far that I am seeing, is: 1. My account information: iTunes shows I have hidden pur
-
Web Services Wrapper Error : License Does Not Exists
Hi, We are trying to connect to SAP Business One via the Web Services Wrapper. We installed the "B1WS: B1 Web Services wrapper " on the same machine running SAP. When we try to connect, by either using the WSDL Generator provided with the B1WS applic
-
For some reason my ipad won't send emails. It constantly tells me that the senders address is wrong. I have checked and checked and double checked those settings and all are correct. They are the same as on my iphone and home computer. There is no pr