How to Display Print Preview Using GET_PRINT_PARAMTERS
Hello,
My requirement is to provide Print Preview Option in the Print box.
In my program am using Get_Print_Parameters to display the Print window.It is having some of few Opetions like Print and Properties.Similarly I want Preview Option in the same window.
Please tell me which parameter i need to to set for the same.
Hi
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = LS_PRIPARAMS-ARMOD
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = LS_PRIPARAMS-PRCOP
COVER_PAGE = LS_PRIPARAMS-PRSAP
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
DESTINATION = LS_PRIPARAMS-PDEST
EXPIRATION = C_NUM1_UNKNOWN
IMMEDIATELY = LS_PRIPARAMS-PRIMM
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
LAYOUT = LS_PRIPARAMS-PAART
LINE_COUNT = C_INT_UNKNOWN
LINE_SIZE = C_INT_UNKNOWN
LIST_NAME = C_CHAR_UNKNOWN
LIST_TEXT = LS_PRIPARAMS-PRTXT
MODE = L_PRINT_MODE
NEW_LIST_ID = LS_PRIPARAMS-PRNEW
PROTECT_LIST = C_CHAR_UNKNOWN
NO_DIALOG = 'X'
RECEIVER = C_CHAR_UNKNOWN
RELEASE = LS_PRIPARAMS-PRREL
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = LS_PRIPARAMS-PRSAP
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = LS_PRIPARAMS-PTYPE
USER = SY-UNAME
USE_OLD_LAYOUT = ' '
UC_DISPLAY_MODE = C_CHAR_UNKNOWN
DRAFT = C_CHAR_UNKNOWN
ABAP_LIST = ' '
USE_ARCHIVENAME_DEF = ' '
DEFAULT_SPOOL_SIZE = C_CHAR_UNKNOWN
WITH_STRUCTURE = C_CHAR_UNKNOWN
SUPPRESS_SHADING = C_CHAR_UNKNOWN
PO_FAX_STORE = ' '
NO_FRAMES = C_CHAR_UNKNOWN
IMPORTING
OUT_ARCHIVE_PARAMETERS =
OUT_PARAMETERS = ES_PRIPARAMS
VALID =
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Populate the values to the above Function Module as per your requirement.
Regards,
Sreeram
Similar Messages
-
How to find print preview for purchase order like what we find in va03
hi guru's
how to find print preview for purchase order like what we find in va03
let me share ur information
thank uHi
You can see the Print Preview/printout etc using the Transaction ME9F for Purchase Order
Execute the ME9F tcode and execute you will get lot of PO's select any Po and press display message
you will see the print preview
Similarly for RFQ output use the Tcode ME9A
for Contrat use ME9K
for GR output use MB90
Reward points for useful Answers
Regards
Anji -
Print Preview using crystal report in SAP B1 slow.
Dear all,
I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
Thanks in advance
bodhi86Hello,
How do you answered to this question ?
Malika
Edited by: Malika Sanoune on May 13, 2011 1:48 PM -
Print preview using crystal report in SAP B1 is very slow.
Dear all,
I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
Thanks in advance
Kamlesh NawareHi,
Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
Thanks
Kevin
Edited by: Kevin Shah on May 27, 2011 4:21 PM -
How to display a pdf using outlook
How to display a pdf using outlook
You would normally right click on the PDF and select to open it with Acrobat. You have to have Acrobat or Reader installed on the machine.
-
How to enable Print Preview with the Envy 5530
How to enable Print Preview on the Envy 5530
Hi,
A print preview is not offered by the current HP software as older software versions provided.
A preview is only available if the application you are printing from include a such, it is not provided by the printer driver itself.
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
How to tack print out use with Query ?
Hi
I have to tack purchase order print out (print details- PO date, BP code, name, item name, Quantity and Amount . System Print Layout means from Purchase Order layout designer) use with Query
How to tack print out use with Query (system print layout means from Purchase Order layout designer) ?
Regards
Aravind MHi
I have to take purchase order print out and I created 3 templates for that purchase order in layout designer (Because as per the MIS requirement I created 3 templates, its cover more information). I have to take print out 3 templates at a time. So i try to take print use with Query.
Regards
Aravind M -
How to display today date using formcalc
Hi all,
how to display today date using formcalc, eg April 20, 2009?
ThanskksNum2Date(Date(), "DD/MMM/YYYY", "de_GB")
-
How can I print without using Airprint
How can I print without using Airprint - Can I assign a printer to the Ipod touch
Go to the App store and purchase an appropriate app. There are many apps that are for specific printer/printer manufacturers and general ones like Print Central.
-
Hi, I am working on 3.1 version. I created plants, PO and did assignments. Uploaded master data. Everything is okay, but when I want display or print Preview PO through Transaction ME90 (ME9F in 4.7) it simply does nothing. It is not showing anything. Do I forget to do any configuration like assigning PO layouts to Company code.
Please help me. Thanks in advancehi swetha,
Please check if you have set up the following ;
1) Define the PO Output Type (NEU, for instance) in spro .
2) Assign your PO Form and PO Print-out Program in spro.
3) Define Message Schema for Purchase Order. This step consists of two sub-steps -
3a) Maintain Message Determination Schema: Purchase Order. In this case use the Procedure RMBEF1.
3b) Assign Message Schema to your PO.
4) Maintain the Condition Record for your PO Message Type via Transaction MN04.
regards
Bijoy -
How to display print icon in alv block display
hi all,
in my alv block display i have to display some icons as print, print preview, find, sort,change layout e.t.c
if any one knows do let me know, if possible send the code.
i have searched the forum for this query but i could'nt get the answer.Hi,
check the link.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/how%252bto%252bkeep%252ban%252beye%252bon%252baggregates%252bin%252byour%252bsystem
Regards
Rajesh Kumar -
How to realize "print preview" in Flex?
I checked the sample in Flex Help on printing with Flex. How can I realize "preview" function?
Thanks!Many websites offer a "printer friendly" version of a certain page. That IMO is the only way to solve your problem, next to using CSS to use a different style for printer output. Here is a tutorial that covers this:
http://www.alistapart.com/stories/goingtoprint/ -
Dear All,
can any body have any idea about how to view the ARE-1 form print preview
regards
hari kumaru can view by vf03 billing document--issue output to screen and give the req details and display it
Cheers
Shalsa007........ -
How to Sow Print Preview by Presssing a Button
I have a button on a form. When the user click this button he is redirected to a Print Friendly page. He can then print that by using standard internet explorer tools like
File ---- Print Preview ( To preview it)
Or
File------- Print (to Print it)
I want that when the user click this button he directly goes to the print preview of the said page. How is it possible.I would start with Print Button
It has a couple of different suggestions that should get you started in the right direction. -
How to trigger print preview like ME23N ?
Hello,
I got a requirement like in ME23N in the applicatin tool bar Print preview. I have to keep a button in my screen painter and when i click print preview automatically the script has to trigger.
For this i have got the data stored in the table and i have designed the script and its working fine. But my problem is how to call the script automatically when i click prinr preview. Wheather i have to call function 'Transaction' "Txcode" or can any give me the idea for this to achieve?
ThksHi Friend,
Use the function module:
OPEN_FORM for opening form
WRITE_FORM to pass data to script
CLOSE_FORM to close the script
at the time of opening the form pass the printer information.
It will give the print preview.
Regards
Krishnedu
Maybe you are looking for
-
Single Sign-On intergration with 3rd party website portal
A client of ours for whom we have developed a Business Catalyst (BC) website wants their website's users simultaneously authenticated on their own site and also on a MemberSuite member management website portal, which essentially amounts to a Single
-
This worked the day before I got the "Gettting Started" screen when I started the browser and still works for co-workers who have not gotten the new version of Mozilla firefox.
-
Need help reverting back to SL from Lion. MacBook won't boot up!!!
I am hoping someone can help with this issue. I am trying to revert back to Snow Leopard after upgrading to Lion on my MacBook, but it doesn't seem to be working. After upgrading to Lion, I found out the hard way that Quicken 2007 no longer works. S
-
hi experts , i need to execute DOS command from SAP . earlier we have 'GUI_EXEC' WS_EXECUTE , 'WS_DOWNLOAD' etc which are Obsolete now. as we are using ECC6.0. kindly guide how to do this. best regards, Rahul
-
Hi guys, I'm having an issue with some thumbnail buttons that are part of my own folio site. I've already built the site but have been going back over it and improving it. I'm currently updating my gallery section which simply consists of thumbnails