Sy-ucomm value for print preview
Hi friends,
Can any one tell me the sy-ucomm value for the print preview..?
Hi,
If you are asking the function code of Pop-up you get while printing ..then answer is no..even if you get the fcode you cannot handle it in your program.
What exactly you are looking for ?
Similar Messages
-
Hi,
Can anyone plz help me with the sy-ucomm value for enter key.
Thanks..Hi Renu,
The OKCODE or SY_UCOMM value is not same for 'ENTER' in all the cases. So its better to go for debugging .
Whenever you want to know the ok code or sy-ucomm value of a key , type '/h' in the command box and press enter. It shows a message on the status bar 'Debugging Switched On'. Now if you press any key , it switches to debugging mode and type sy-ucomm in the fields list then you will get the SY-UCOMM or OK CODE.
Incase of ALVs also you can get the SY-UCOMM. But in some cases the SY-UCOMM value may be NULL.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:50 PM -
Getting Error While Going For Print Preview in ALV Report
Hi,
We doveloped a new report based on client requirment while going for print preview all the fields are shufling.Can you please guide me I am unable to solve this problem.
Regards
SureshDo you use a field for coloring a column or cell?
If the coding is not too large it could be helpfull to post the coding as well.
Regards,
John. -
How to set the default values for print options
Hi all,
We can set the default value for print options, just like Logical destination、numbers of messages、print immediately and so on, so where we should to maintain these default?Hi Sandy,
This can be done by an abaper by making changes in the driver program. The Driver program feeds all the data which u have mentioned for printing.
if the driver program is standard. copy to an z type and make modification on printer settings on the driver program code.
this will surely solve the issue.
Regards
Gunaseelan -
How to find out the driver program and script for print preview for PO
Hi All,
We are getting some text output on the print preview of a purchase order.
How can we determine the driver script and the corresponding print program for this.
Can you please guide on this.
Thanks in advance.
Regards,
SanjeetHi,
check with below table
TNAPR --- Processing programs for output
and NACE Transaction code
NACE -- out types
Regards,
Madhu -
Ho to find script and the related print program for print preview of PO
Hi All,
We are getting some text output on the print preview of a purchase order.
How can we determine the driver script and the corresponding print program for this.
Can you please guide on this.
Thanks in advance.
Regards,
SanjeetU Can check Driver program and form related to that program table is TNAPPR
Goto NACE t.code
Selct Application ---> click on output types
then u wil get one window there select proper output type and
double click on processing routines u wil get form name and related driver program name also
Plz try this....
Edited by: Upender Verma on Feb 9, 2009 1:33 PM
Edited by: Upender Verma on Feb 9, 2009 1:37 PM -
How to go for print preview option for locked/blocked items in PO.
Dear all,
Can we view PO even all the line items or some items in that PO are locked or blocked, by clicking Print preview button. If not by that button, is there any other way to view locked/blocked items in Print Preview format.
Can anybody suggest me on this ?
Thanks
HemanthHi,
Its not possible to see the line item in the print preview if it is blocked...
You can only display in the PO only...why do you need Print preview of blocked items??
Added on :
You can check these locked details in the EKKO and EKPO table in the SE16 tcode for the respective PO and can also download the details if req. from the same table..
Hope it helps..
Regards
Priyanka.P -
Authorization object for print preview
Hi
I am looking for the authorization object to restrict print of the document.
Please help me.
Regards
RajuYou can restrict with this object S_SPO_ACT (Spool: Actions)below mention activity
ATTR Change order attributes
AUTH Change authorization field
BASE Visibility
COMP Use as components of composite request
DELE Delete
DISP Display contents
DOWN Download
EDIT Change contents (currently only for composite requests)
PRNT Print once
REDI Divert to same printer type
REPR Print several copies
SEND Send to SAPoffice
USER Change owner
You can restrict device name & type under the object S_SPO_DEV(Device authorizations)
You can restrict Restriction on Maximum Number of Pages under this object S_SPO_PAGE(Restriction on Maximum Number of Pages) -
Fonts are not displayed properly when Book assembled for PRINT Preview
I am having an issue with fonts not being displayed correctly within Aperture Book design application. I have used a script font (Snell Roundhand) for the cover of my book that has quotations marks around the title. However the quotations marks that are displayed after the book is assembled, go to the default Times Roman not Snell. They do not match the Snell Roundhand font quotations that are supplied with that font. What gives? Also . . . after they the dust cover is displayed the next page is the hard bound foil page which displays Times Roman for the title . . . not the font I have selected (Snell Roundhand). What gives with that? Is there a way to change the font before it goes to the printer. Any work around ideas. I have tried several different fonts to see if anything else comes close. Everything looks like a variation of Times. HELP . . . trying to hit PURCHASE BOOK . . . . hopefully without flaws!!
I kind of remember the foil letters might be fixed - cannot remember but here is a related conversation that might help (or not)
[Aperture Cover Fonts|http://photo.rwboyer.com/2009/04/16/aperture-books-hardcover-title-font>
RB
Ps. I have not done this through the Apple book printing service myself - I always order soft cover as give aways and use another service for other printing but live vicariously through others withe the Apple hardcover books.
Message was edited by: rwboyer -
Regarding Sy-ucomm value for Enter.
Hi All, In PAI of screen i have the following code, BUt when i press enter , the conttrol did not go in the following case .
case sy-ucomm
WHEN 'ENTR' OR ''.
IF b_unit IS NOT INITIAL.
CLEAR wa_tbgl.
SELECT SINGLE * FROM zf112409gl_map INTO wa_tbgl
WHERE b_unit = b_unit.
glaccount = wa_tbgl-l_gl_acc .
gldesc = wa_tbgl-desc_lgl .
b_unit = wa_tbgl-b_unit .
sapglaccount = wa_tbgl-saknr .
SELECT SINGLE txt50 FROM skat INTO txt50
WHERE saknr = sapglaccount
AND spras = 'EN'.
sapgldesc = txt50.
else .
MESSAGE 'Please enter the required field' type 'I'.
endif.
Please give me the step to follow.
rgds,
PremrajTry as;
When 'ENTER' OR SPACE.
Regards
Karthik D -
How can I change the values for print parameters
Hi all,
There is a program which prints the documents every time the t.code is executed. I want the output to be stored in spool and NEVER wants it to be printed.
A spreadsheet which has the details of articles is uploaded and a background job is created through ABAP SUBMIT statement to upload the article numbers to the table.
GET_PRINT_PARAMETERS function module is used. Is there any way to pass the print parameters so that output will not be printed and only stored in the spool?
Help me out and points will be rewarded.Hi Rathi,
I am more or less giving as you mentioned. Here is the piece of code.
Y_XXXX is my report.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
MODE = 'BATCH'
NO_DIALOG = 'X'
REPORT = 'Y_XXXX'
IMPORTING
OUT_ARCHIVE_PARAMETERS = ls_ArchivePrintParms
OUT_PARAMETERS = ls_PrintParms.
SUBMIT Y_XXXX
AND RETURN
USER sy-Uname
VIA JOB lw_JobName
NUMBER lw_JobNumber
TO SAP-SPOOL
WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS ls_PrintParms
ARCHIVE PARAMETERS ls_ArchivePrintParms
WITH p_Matnr = ps_CreateArticleDatum-Article
WITH p_MrchCt = ps_CreateArticleDatum-MerchCat
WITH p_ArtTyp = ps_CreateArticleDatum-ArticleType
WITH p_ArtCat = ps_CreateArticleDatum-ArticleCat
WITH p_UOM = ps_CreateArticleDatum-UOM
WITH p_ArtDsc = ps_CreateArticleDatum-ArticleDesc
WITH p_ValCls = ps_CreateArticleDatum-ValueClass
WITH p_PurGrp = ps_CreateArticleDatum-PurchGrp
WITH p_StLsPr = ps_CreateArticleDatum-StoreListProc
WITH p_DCLsPr = ps_CreateArticleDatum-DCListProc
WITH s_RefStr IN lr_RefStoresRange
WITH p_BackGd = yartc_BooleanFalse
WITH p_Test = yartc_BooleanFalse.
But the o/p gets printed everytime I run the t.code. -
Print preview need to hide for Adobe form
hi frineds
I have created a function module which converts the adobe form in pdf using the function module FP_FORMOUPUT, When ever i execute the function module it ask for print preview. I dont want print preview. Since i need to use this custom function module in my worklfow. If its a smartform i can hide the print preview nodialogue = 'X'. But there is no such option in Adobe form. How can i achieve this. Am using ABAP not webdynpro.
Regards
vijayAnswer there is a function module FP_JOB_OPEN which is used to hide print preview, dialog and so on. This function module only i was looking on. I got by myself.
-
Delivery challan print preview for transaction j1if01 problem
hi , i have problem with print preview of delivery challan. after creating it from j1if01 im unable to get a print preview of it
as i dont find any tab or button for print preview .
plz guide me how can i get an output . also plz give form name for it . thanks !!In u2022 SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Subcontracting Attributes maintain the Output type. Other attributes are as under fyi
Excise Group XX
Excise TT 57FC
Subtransaction Type 01
Subtran Type Text 57FC CHALLAN
Subc. Period 180
Rate-subcontracting
Mvt Grp Issues 0001
Mvt Grp Receipt 0002
Filter Non exise X
EI Items 10
No. range no. 01
***. Val. /Exc Inv
Subcon Output Type J1IF -
WebUI Print Preview (Action Definition - Print) for Adobe Interactive Forms
Hi All,
As mentioned in subject, how to define an CRM Action Definition (with or without Action Condition) to Print an Adobe Interactive Forms. We know how to define a setting for Print Preview function in CRM WebUI via Action Definition - Smartforms Print. Now we want to print preview from CRM WebUI document on Form designed in Adobe Interactive Forms (tx SFP).
We have tested using Action Definition - External Communication, we can set the AIF form here. We tested in GUI (tx crmd_order) and it works. But when testing preview on CRM WebUi it shows "Error in Smartforms".
Somehow it still detect as Smartforms instead of Adobe Interactive Forms.
We prefer if this preview can be done via Action, because it is straight forward function for printing.
Should we use Action - Method Call instead ? How is the approach to do it in Action - Method Call ?
Any one try this before? Appreciate your sharing here.
Thx & Rgds,
Gun.Hi Gunawan,
if I got you right, what you want is: Call your AIF when someone clicks on the "print preview" button in CRM WebClient. This should all work using a print action like with normal SmartForms.
I faced this problem some months ago on CRM 6. The problem here was quite simple: The SmartForm interface and the one of AIF are not compatible. Thus the service used for calling the print action from WebClient failed.
For handling this problem I enhanced the print service to call AIF correctly.
In customizing I used print actions that call a method.
As mentioned this lays back some months already. Maybe SAP came up with a better solution by now. I saw AIF to have multilple interface types. One is an interface compatible with SmartForms. Probably you can use this one and the print service will work without any enhancements or modifications.
cheers Carsten -
Restrciting NAST entries while 'print preview' of VA02/03 sales order
Hi experts,
While doing 'printing preview' for the displayed VA03/02 sales order, an entry is created in the NAST table.
The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
Finally the main aim is to differentiate between print preview vs actual print based on NAST entry.
I tried debugging but the parameters for print preview vs actual print are same.
How can the print preview action be distinguished from actual print in such cases.
ThanksHi,
The requirement is to not create(or diffrentiate based on some flag) this entry in NAST table while doing 'printing preview' ..but for actual print the entry in NAST table should be created.
For your requirement to differentiate, you can use the field VSTAT in NAST table, this has possible values of 0, 1 and 2.
0 Not processed
1 Successfully processed
2 Incorrectly processed
So as and when an output type for printing is attached, the status of the output remains '0' until the form is actually printed, so in case of print preview it will remain to be '0'. This will change to '1' once the Print command is actually issued.
Regards,
Chen
Maybe you are looking for
-
Hey guys, Could you please tell me that which standard RFC is being called to change the user password?
-
How come there is no ios7 for an ipod touch 4
Why is there no ios7 for ipod touch 4th generation i mean most people that have ipod touches have the 4th generation so now everyone wants to chuck it in the bin cause there is no ios 7 for 4th generation ipod touch
-
I have macbook pro 15", 2,6 ghz, 8gb, osx 10.9 but the pop up window says that maverics can not be installed on this computer. why is that? thank you
-
ITunes only opens when shift key is held
Last week iTunes started acting up and would not open. The service starts but that is it. I have tried just about everything I have found here in the forums. The difficult part is I don't get any pop up messages to help. The only way I have managed t
-
Applications Won't Open and Generic Icons
Odd problem: the computer (PowerMac G4 Dual 450 with 10.3.9) boots up fine, but all icons have reverted to their generic form and no applications actually open - every app either bounces once and then stops or doesn't even bounce. I tried to use Disk