on 06-13-2010 5:25 AM
Hi Friends.
Need your help. I have a below requirement.
User logon to portal and fill out the Web Dynpro form with his details and then submit the form. Upon the submit this should generate a pdf file based on input vlaues and save it in one KM folder.
Please help how can i achieve this.
Thanks
Krish
closing thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, i am expecting to create a new pdf based on given info on the form. This code explains only open a new window and I am already aware of that.
Thanks for reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Here is the code help with proper comment . This will open a external window where PDF contained will be display .
try
{
if (window != null)
{
window.destroyInstance();
}
// this is code which contain your byte data which need to display in PDF
IWDResource resource = wdContext.currentGetCustomerDataElement().getO_cus_Bin();
window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal()),"Browser-description");
window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
window.removeWindowFeature(WDWindowFeature.MENU_BAR);
window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
window.setWindowSize(780, 430);
window.setWindowPosition(20, 140);
window.show();
}
BR
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
You can use interactive form for populating data in PDF form and then use KM API to upload that PDF in KM.
Please have a look at ths might help. [Click here |http://www.sdn.sap.com/irj/sdn/adobe]
Hope it will helps
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.