3

fm to create a printer

 7 months ago
source link: https://community.sap.com/t5/application-development-discussions/fm-to-create-a-printer/td-p/4758641
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.

fm to create a printer
icon_anonymous_profile.svg

Former Member

‎11-11-2008 2:55 PM

Hello,

I want to create a new printer but don't want to use batch input on SPAD.

Any Idea about fm / bapi?

thanks

Werner

6 REPLIES
icon_anonymous_profile.svg

Former Member

‎11-11-2008 3:03 PM

I don't believe it: to create a new printer is a typical operation for your basis, so it seems not to make a sense to create a printer automatically by a program.

matt

matt

Active Contributor

‎11-11-2008 3:09 PM

Debug SPAD from the point just before the printer is created, and see if there is a (or a few) function modules called that actually perform the action of creating the printer.

icon_anonymous_profile.svg

Former Member

‎11-13-2008 11:40 AM

can you create one more output device in same printer .

icon_anonymous_profile.svg

Former Member

‎11-13-2008 12:51 PM

i thought this was a very simple question..

@ max : yes - i know. I am programming a tool for admins. So it makes perfectly sense

@ matt : i usually debug before i post a note at sdn

@ raju: what has that to do with my question?

In the meantime i found the fm RSPO_SXOMS_I_CREATE_PRINTER which i am going to try .

Pls don't wast your and my time with answers that don't help to solve the problem.

thanks

Werner

Hello.

I already have a program for managing SAP-printers but the definition of new printers is currently executed by import of formatted .txt file via SPAD. My program fetches all printers from a given printserver and formats the file for import into SAP, in this way we can define 100 printers in seconds. However i would like to expand the functionality and make individual changes possible.

Can you please share your experience using the earlier mentioned FM and also provide a FM for fetching all attributes of an existing output device in the system ?

What i need to do is fetch one or all output devices from SAP, then do a cross-check on their attributes with those of selected printers on a set of printservers, and the result should be updated in SAP.

Any feedback is appreciated.

Best Regards Gerhard Andreassen.

Were you able to create printer using RSPO_SXOMS_I_CREATE_PRINTER. I am also trying to do the same but I don't see a field for providing destination host in this FM. Can you please suggest how did you solved the creation of printer through program?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK