This website is not affiliated with, sponsored by, or approved by SAP AG.

Adding a Microsoft Word document to PO SAPScript

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Adding a Microsoft Word document to PO SAPScript

Postby Alicealice » Mon Oct 03, 2011 12:24 am

Hi All,

Could you please guide me how to add the separate word document in the PO sapscript?
We have a document that needs to print out at the end of a PO.

Thanks.
Alicealice
 
Posts: 72
Joined: Sun Oct 02, 2011 11:52 pm

Re: Adding a Microsoft Word document to PO SAPScript

Postby YuriT » Mon Oct 03, 2011 1:03 am

You will not get it as part of your Sapscript, meaning it will not appear in print preview for instance, but you can crate a routine that uses OLE to print it. So what you need to look into:

1) How to call a routine from Sapscript
2) How to use OLE to print a document
YuriT
 
Posts: 885
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga

Re: Adding a Microsoft Word document to PO SAPScript

Postby Alicealice » Mon Oct 03, 2011 4:30 pm

Hi All,

Could you give me an example to add the documentation into the sapscript?

Thanks.
Alicealice
 
Posts: 72
Joined: Sun Oct 02, 2011 11:52 pm

Re: Adding a Microsoft Word document to PO SAPScript

Postby YuriT » Mon Oct 03, 2011 10:49 pm

Is something wrong with what I have described above and with links?
YuriT
 
Posts: 885
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga

Re: Adding a Microsoft Word document to PO SAPScript

Postby Alicealice » Mon Oct 03, 2011 11:07 pm

Hi,

Is that I only can make a changes in print program to add a word document to the PO?
Can you please provide an example for
- use OLE to print a document
- call a routine from Sapscript

Thanks.
Alicealice
 
Posts: 72
Joined: Sun Oct 02, 2011 11:52 pm

Re: Adding a Microsoft Word document to PO SAPScript

Postby YuriT » Mon Oct 03, 2011 11:12 pm

Links that I provided have those examples.
YuriT
 
Posts: 885
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 1 guest





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.