Any event for Print?
I am implementing a Print functionality for charts. Currenly
I am calling a method on the click of a button which does the
PrintJob. But I would like to get rid of this button and use the
default option for Print on the right click of a chart. Is there
any such event of anything else from where I could call the
function for print (which I have impemented) & get rid of this
Button?
Thanks in advance.
Gordon:
On page 11 of the How to Customize Printing Templates with Print Layout Designer document, this is what it says about the PLD Document Properties window, tab "Extension":
To add DLL files to the template in order to enhance the functionality of the template, select the Extension tab.
EXAMPLE: You can e-mail the document in addition to sending it to the printer.
As far as I could see, the SDK documentation does not have any information about this feature... Any idea on where to look?
Thanks,
Joerg.
Similar Messages
-
Does Apple have any event for Black Friday this year?
I'm planning on buying a Macbook Pro Retina this holiday season. I'm wondering if Apple are gonna have any event for this Black Friday as they usually have.
Thanks.Anyone here with any more information than what is already published in the general press is under non-disclosure agreement, and can't say.
Best Buy has been pushing the phones BIG TIME.
Buying AppleCare at the same time? Check B&H Photo for great bundles (closed Saturdays).
Watch the news, or check the Apple Store site. -
Any fixes for printing inserts
any fixes for printing cd inserts?
hey , 911 my 1200 mac b pro will not stop loading after holding power button to shut off. it comes on fine guest account boots up, but my personal acnt seems to get stuck on apple screen white> im on guest now
-
Any fix for printing issue on Mac?
Hi,
I've seen several posts on this and other boards, many suggested fixes but none that work. What are we supposed to do if we have Captivate 8 for Mac (Yosemite) and an Office 365 account and Word isn't physically installed on the computer???
I'm thinking Adobe needs to rethink how printing is handled. Any suggestions for resolution is appreciated.
Thanks in advance.You are asking the wrong people, if you need to know about Acrobat, you need to talk to Adobe. Adobe Acrobat Pro X for Mac is US$449.00;
http://www.adobe.com/products/acrobat.html -
Any event for getting Wi_id no from table Swwwihead
Hi ,
I am getting wi_id using interface if_swf_ifs_workitem_exit using method after creation but during this time workitem is not saved to table swwwihead. Is there any event or any other alternative to get the workittem from that table after saving the data and before it goes to the sap inbox.?
Regards,
ShwetangHi ,
I am getting the needed data from the paramenter but my problem is i had made one user decision activity which is going to sap inbox and i have to send thid decision box to lotus notes inbox which i am doing with a program rswuwfml2.
I am writing this program exit to run this program when the workitem is created and these are getting from the method but the program rswuwfml2 requires work id and other details from table swwwiead as when method is populaed this details are not commited o the table.
I don't want call his program explicity.
Hope this will clear your doubts regarding my question.
Thanks
Shwetang -
HT4356 I have a HP 4500, anyone have any suggestions for printing.
I would like to use my iPad to print from my wireless HP 4500 printer.
Rufus Cat-
Even if it was compatible, AirPrint does not work through a USB link, only Ethernet or WiFi.
I do not see your HP 4500 listed on Apple's list of AirPrint compatible printers. <iOS: AirPrint 101> Therefore you need to take another approach. To start, I suggest you download the free HP App, ePrint Home & Biz. It has limitations, but should get you printing with your existing setup.
There are other printing Apps with more features such as Print n Share and PrintCentral, but they can only be accessed from within other Apps that have the "Open In" option.
Your best option may be to share your computer's printer as AirPrint over WiFi. Programs that are reported to do that well are Printopia and FingerPrint. Your computer must be on and awake any time you want to print. <Printopia for Macintosh> <FingerPrint for PC and Mac>
Fred -
Hi Guys
Just wondering if someone can give me some guidance with regards to printing documents on my Epson desktop printer. After producing a test print the colours and contrast weren't very accurate - at least nothing like what i'm seeing on my screen which I calibrated earlier in the day with my X-Rite adapter. I know indesign likes to handle the colour calibration, etc - I think I must be doing something wrong.
Any tips on the best settings, etc?
Many thanks
spur07You may consider using View: Proof Colors. By default this will render colors in Document CMYK.
Then when you print, Composite RGB (it should default to this with Epson ink jet, I believe). Under Color Management in Print Dialog, Select "Proof". Color Handling "Let ID determine colors" Then in the printer profile you must choose the proper Epson profile that corresponds to the paper you are using. You might want simulate paper color, too.
What happens is this: any RGB data gets converted to CMYK, then converted again to the printer RGB. The source RGB depends on the Document RGB, but images can have embedded RGB profiles that are different from your document RGB (as long as your RGB policy in color settings is "Preserve Embedded", which I recommend)
Any CMYK data will by default be converted to the printer RGB, using the Document CMYK as the source color space.
The printer itself is not RGB, but accepts RGB input. The final conversion to CcMmYKk is the internal workings of the printer.
Of course color matching to the monitor depends greatly on the monitor calibration, and the print profile and calibration.
This is a brief explanation, it can become pretty complicated. Good luck! -
Hey all! I am attempting to write a script that will collect information about print jobs on a print server and write the data to a database. I am trying to get data on print job owner, printer name, whether it was color or grayscale, number of pages and
number of copies.
I am running into a problem finding a method to collect events for print jobs. I have attempted to subscribe to creation and modification events of the Win32_PrintJob class, which is ok but doesn't seem very accurate about details like pages printed
and color/grayscale. I next attempted to respond to these events by using Get-WinEvent each time the event fires and then using the JobId property of the event to scan the PrintService log for matching 307 and 805 events. However, I have found that the Win32_PrintJob
JobId does not seem to match the document id in the event log entries.
I scrapped that idea and instead attempted to collect .NET events for the NTEventLog class but this only seems to work with the traditional logs such as system, security and application.
I suppose I could just scan the event logs on a regular basis and collect print job information that way, but I was really looking to collect and log this info in real time rather than just looping every so often. Has anyone else tried eventing for any of
these classes? Is it possible there is another .NET class I could subscribe to that would provide me with details of incoming print jobs? Am I going about this entirely the wrong way?
Thanks!Hi Matt,
Maybe you can try the .NET class for printing:
Function Get-PrintJobs
<#
.SYNOPSIS
Return the list of jobs on the current printer
.DESCRIPTION
This function returns a list of pending jobs on the specified print server for a given queue
.PARAMETER ComputerName
Name of the print sever
.PARAMETER Name
Name of the print queue
.EXAMPLE
Get-PrintJobs -ComputerName ps -Name HPLJ5000
.LINK
http://scripts.patton-tech.com/wiki/PowerShell/PrintServerManagement#Get-PrintJobs
#>
Param
$ComputerName,
$Name
Begin
$Host.Runspace.ThreadOptions = "ReuseThread"
if ((Get-WmiObject -Class Win32_OperatingSystem).OSArchitecture -eq '64-bit')
$SystemPrinting = Get-ChildItem "$($env:systemroot)\assembly\GAC_64\System.Printing"
$SystemPrintingFile = Get-ChildItem -Name "*system.printing*" -Recurse -Path $SystemPrinting.FullName
$SystemPrintingFile = "$($SystemPrinting.FullName)\$($SystemPrintingFile)"
else
$SystemPrinting = Get-ChildItem "$($env:systemroot)\assembly\GAC_32\System.Printing"
$SystemPrintingFile = Get-ChildItem -Name "*system.printing*" -Recurse -Path $SystemPrinting.FullName
$SystemPrintingFile = "$($SystemPrinting.FullName)\$($SystemPrintingFile)"
$ErrorActionPreference = "Stop"
Try
Add-Type -Path $SystemPrintingFile
$PrintServer = New-Object System.Printing.PrintServer("\\$($ComputerName)")
$PrintQueue = $PrintServer.GetPrintQueue($Name)
$PrintJobs = $PrintQueue.GetPrintJobInfoCollection()
Catch
Write-Error $Error[0].Exception
Break
Process
End
Return $PrintJobs
Refer to:
A print management library
If there is anything else regarding this issue, please feel free to post back.
If you have any feedback on our support, please click here.
Best Regards,
Anna Wang -
How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?
I have a HTML extension running in In-design CC 2014 version.
I want to perform some required set of actions before my extension window is closed(by clicking on the cross button on top right corner).
Does In-design throws any event for it? Or can we capture it using C++ plugin in some way?Naah.......haven't got any event for that yet.
Although, since HTML extensions are using chromium browser, as a workaround, u can attach listener to HTML onClose event, but it won't solve any purpose if you
are looking to logout session or do some business login in your code. -
Event for the List Box in ALV Grid Control
Hello,
I have the below urgent requirment.
I have an ALV Grid Control built using ABAP Objects. In the grid, I have few fields and one of these fields is a List Box. Depending on the values selected, I need to enable or disable some fields. So, is there any event for the List box in ALV Grid Control.
For ex: I have 2 Fields, Designation and Commission. The designation field is a List Box field having 'Software Engineer' and 'Manager' as values. When I select 'Software Engineer', the commission field should be disabled. When I select 'Manager', the comission field should be enabled.
Early reply is hightly appreciated.
PriyaREPORT ZTEST1234 MESSAGE-ID ZZ .
DATA: G_GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: L_VALID TYPE C,
V_FLAG,
V_DATA_CHANGE,
V_ROW TYPE LVC_S_ROW,
V_COLUMN TYPE LVC_S_COL,
V_ROW_NUM TYPE LVC_S_ROID.
DATA: OK_CODE LIKE SY-UCOMM,
SAVE_OK LIKE SY-UCOMM,
G_CONTAINER1 TYPE SCRFNAME VALUE 'TEST',
GS_LAYOUT TYPE LVC_S_LAYO.
DATA:BEGIN OF ITAB OCCURS 0,
VBELN LIKE LIKP-VBELN,
POSNR LIKE LIPS-POSNR,
COMISN(10),
CELLCOLOR TYPE LVC_T_SCOL, "required for color
DROP(20),
<b> HANDLE_STYLE TYPE LVC_T_STYL,</b>
END OF ITAB.
* CLASS lcl_event_handler DEFINITION
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION .
METHODS:
**Hot spot Handler
HANDLE_HOTSPOT_CLICK FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW_ID E_COLUMN_ID ES_ROW_NO,
<b>**Handler to Check the Data Change
HANDLE_DATA_CHANGED FOR EVENT DATA_CHANGED
OF CL_GUI_ALV_GRID
IMPORTING ER_DATA_CHANGED
E_ONF4
E_ONF4_BEFORE
E_ONF4_AFTER,</b>
**Double Click Handler
HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW E_COLUMN ES_ROW_NO.
ENDCLASS. "lcl_event_handler DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
*Handle Hotspot Click
METHOD HANDLE_HOTSPOT_CLICK .
CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
V_ROW = E_ROW_ID.
V_COLUMN = E_COLUMN_ID.
V_ROW_NUM = ES_ROW_NO.
MESSAGE I000 WITH V_ROW 'clicked'.
ENDMETHOD. "lcl_event_handler
*Handle Double Click
METHOD HANDLE_DOUBLE_CLICK.
ENDMETHOD. "handle_double_click
<b>**Handle Data Change
METHOD HANDLE_DATA_CHANGED.
DATA: X_CHANGE TYPE LVC_S_MODI,
X_FINAL TYPE ITAB,
L_FLAG,
LS_OUTTAB LIKE LINE OF ITAB.
DATA: LS_EDIT TYPE LVC_S_STYL,
LT_EDIT TYPE LVC_T_STYL.
LOOP AT ER_DATA_CHANGED->MT_GOOD_CELLS INTO X_CHANGE.
IF X_CHANGE-FIELDNAME = 'DROP' AND X_CHANGE-VALUE = 'S/W ENGINEER'.
LS_EDIT-FIELDNAME = 'COMISN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 8.
INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY ITAB INDEX X_CHANGE-ROW_ID FROM LS_OUTTAB TRANSPORTING
HANDLE_STYLE .
else.
LS_EDIT-FIELDNAME = 'COMISN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 8.
INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY ITAB INDEX X_CHANGE-ROW_ID FROM LS_OUTTAB TRANSPORTING
HANDLE_STYLE .
ENDIF.
ENDLOOP.
CALL METHOD G_GRID->REFRESH_TABLE_DISPLAY
EXCEPTIONS
FINISHED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMETHOD. "HANDLE_DATA_CHANGED</b>
ENDCLASS. "LCL_EVENT_HANDLER IMPLEMENTATION
*& Global Definitions
DATA: G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,"Container1
G_HANDLER TYPE REF TO LCL_EVENT_HANDLER. "handler
*- Fieldcatalog for First and second Report
DATA: IT_FIELDCAT TYPE LVC_T_FCAT,
X_FIELDCAT TYPE LVC_S_FCAT,
LS_VARI TYPE DISVARIANT.
* START-OF_SELECTION
START-OF-SELECTION.
SELECT VBELN
POSNR
FROM LIPS
UP TO 20 ROWS
INTO CORRESPONDING FIELDS OF TABLE ITAB.
END-OF-SELECTION.
IF NOT ITAB[] IS INITIAL.
CALL SCREEN 100.
ELSE.
MESSAGE I002 WITH 'NO DATA FOR THE SELECTION'(004).
ENDIF.
*& Form CREATE_AND_INIT_ALV
* text
FORM CREATE_AND_INIT_ALV .
DATA: LT_EXCLUDE TYPE UI_FUNCTIONS.
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER1.
CREATE OBJECT G_GRID
EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
* Set a titlebar for the grid control
CLEAR GS_LAYOUT.
GS_LAYOUT-GRID_TITLE = TEXT-003.
<b>GS_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.</b>
GS_LAYOUT-ZEBRA = SPACE.
GS_LAYOUT-CWIDTH_OPT = 'X'.
GS_LAYOUT-NO_ROWMARK = 'X'.
GS_LAYOUT-CTAB_FNAME = 'CELLCOLOR'.
<b> CALL METHOD G_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.</b>
CREATE OBJECT G_HANDLER.
SET HANDLER G_HANDLER->HANDLE_DOUBLE_CLICK FOR G_GRID.
SET HANDLER G_HANDLER->HANDLE_HOTSPOT_CLICK FOR G_GRID.
<b> SET HANDLER G_HANDLER->HANDLE_DATA_CHANGED FOR G_GRID.</b>
DATA: LS_CELLCOLOR TYPE LVC_S_SCOL. "required for color
DATA: L_INDEX TYPE SY-TABIX.
"Here i am changing the color of line 1,5,10...
"so you can change the color of font conditionally
LOOP AT ITAB.
L_INDEX = SY-TABIX.
IF L_INDEX = 1 OR L_INDEX = 5 OR L_INDEX = 10.
LS_CELLCOLOR-FNAME = 'VBELN'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
LS_CELLCOLOR-FNAME = 'POSNR'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
ENDIF.
ENDLOOP.
* setting focus for created grid control
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
EXPORTING
CONTROL = G_GRID.
* Build fieldcat and set editable for date and reason code
* edit enabled. Assign a handle for the dropdown listbox.
PERFORM BUILD_FIELDCAT.
PERFORM SET_DRDN_TABLE.
* Optionally restrict generic functions to 'change only'.
* (The user shall not be able to add new lines).
PERFORM EXCLUDE_TB_FUNCTIONS CHANGING LT_EXCLUDE.
**Vaiant to save the layout
LS_VARI-REPORT = SY-REPID.
LS_VARI-HANDLE = SPACE.
LS_VARI-LOG_GROUP = SPACE.
LS_VARI-USERNAME = SPACE.
LS_VARI-VARIANT = SPACE.
LS_VARI-TEXT = SPACE.
LS_VARI-DEPENDVARS = SPACE.
CALL METHOD G_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.
**Calling the Method for ALV output
CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
IS_VARIANT = LS_VARI
IS_LAYOUT = GS_LAYOUT
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = IT_FIELDCAT
IT_OUTTAB = ITAB[].
* Set editable cells to ready for input initially
CALL METHOD G_GRID->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
ENDFORM. "CREATE_AND_INIT_ALV
*& Form EXCLUDE_TB_FUNCTIONS
* text
* -->PT_EXCLUDE text
FORM EXCLUDE_TB_FUNCTIONS CHANGING PT_EXCLUDE TYPE UI_FUNCTIONS.
* Only allow to change data not to create new entries (exclude
* generic functions).
DATA LS_EXCLUDE TYPE UI_FUNC.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_DELETE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_APPEND_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_INSERT_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_MOVE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_CUT.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE_NEW_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_UNDO.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
ENDFORM. " EXCLUDE_TB_FUNCTIONS
*& Form build_fieldcat
* Fieldcatalog
FORM BUILD_FIELDCAT .
DATA: L_POS TYPE I.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Delivery'(024).
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-NO_ZERO = 'X'.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-HOTSPOT = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Item'(025).
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Drop'(025).
X_FIELDCAT-FIELDNAME = 'DROP'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-DRDN_HNDL = '1'.
X_FIELDCAT-DRDN_ALIAS = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Comissn'(025).
X_FIELDCAT-FIELDNAME = 'COMISN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-EDIT = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
ENDFORM. " build_fieldcat
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'MAIN100'.
IF G_CUSTOM_CONTAINER IS INITIAL.
**Initializing the grid and calling the fm to Display the O/P
PERFORM CREATE_AND_INIT_ALV.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form SET_DRDN_TABLE
* text
FORM SET_DRDN_TABLE.
DATA:LT_DRAL TYPE LVC_T_DRAL,
LS_DRAL TYPE LVC_S_DRAL.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = 'S/W Engineer'.
LS_DRAL-INT_VALUE = 'S/W Engineer'.
APPEND LS_DRAL TO LT_DRAL.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = 'Manager'.
LS_DRAL-INT_VALUE = 'Manager'.
APPEND LS_DRAL TO LT_DRAL.
**Setting the Drop down table for Reason Code
CALL METHOD G_GRID->SET_DROP_DOWN_TABLE
EXPORTING
IT_DROP_DOWN_ALIAS = LT_DRAL.
ENDFORM. " set_drdn_table
Regards
vijay -
Event for Table rows deselection
Hi Guys,
I have created a Table and created a method for event 'OnSelect'.I am capturing row values into an internal table when user select a value from the table.Here my problem is once deselected after selecting the row ,the selected data is still appearing in the internal table but deselected value should get deleted from the table.How it can be acheived.Is there any event for deselection.
Thanks
Nandana.Hi nandana,
If i am understanding your query correctly, on Row select you are appending the row value to an internal table.
Now on deselect you want the row to be removed.
So do one thing in that event method before appending the row into table check if the row value previously exist.
If it exist then remove the row from internal table otherwise append it into the table.
Check it works or not.
If it is not working with onSelect event try to use onLeadSelect event. -
Setting a global margin for any documents to print
Hello,
On a Mac running OS X, I have a ruby/java script allowing me to open a Microsoft Word document and print it as a PDF (and extra stuffs, but that's not part of the problem). During the conversion from Word to PDF for most of my documents I get a dialog saying 'A footer of section X is outside of the printable area of the page...'. What I would like to do is not to write a script to click 'yes' when a dialog open but to try to set the default margin for printing to 0. In the 'page setup', there is an option to create customized 'paper size', with a giving width, height and margins (that I can set to 0). By default the paper size is selecting A4, but I would like to find a way to set this paper size as a default to my customized paper size for any document opened on Microsoft Word or printed as PDF! If I select manually the customized paper size after I open the document on Word, I can print it without having the dialog.
So my question is to know if there is a way to set a global margin for printing to 0 (let me know if I need to use Acrobat Pro, Distiller etc.), whatever the way is.
Thank you very much!
VincentAlan,
There is nothing specific with the SDK that you have to print a marketing document such as a Sales Order, PO, etc. What you may want to look at in the 2005A SDK is the "PrintEvent" object. This event lets you catch a print event in the SAP Business One application, get the relevant data that is sent to the printer and then edit it using a third-party editing tool such as Crystal Reports. The PrintEvent event provides an exit point that allows you to integrate third-party tools for reporting and document editing.
You can look at the sample code for the PrintEvent here ...
..\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\20.PrintEvent
HTH,
Eddy -
i have question about hooking up an external hdd to a time capsule and still have my printer hooked up as well. Anyone got any tips for me, how to do it and what brand of harddrive that will work best for me 1 or 2 TB
You just need a powered hub.. if you already use one then fine.
Plug in just about any external hard disk will work fine. Format has to be readable by the TC.. ie fat32.. or much better HFS+.. plug it into a Mac to prepare the drive.
Pick whatever size suits.. nowadays 2TB are most economical.
WD, Seagate have goobled up all the minor players.. so pick one.
Whatever suits your budget and asthetics.
NOTE.. The USB on the TC is fine for printers.. IMHO it is the wrong way to go with USB disks.. use the internal disk of the TC.. USB is less than half the native speed plugged into a Mac.. TC to USB is slow.. far slower than internal drive.. or using external drive as external. -
I am trying to crop a portrait photo into 6x4 portrait ready for printing. I am using Iphoto on a Macbook Pro. Everytime I try and crop the photo, it crops in Landscape which cuts out most of the photo. Is there any way of resolving this? I am new to Macs as I am currently switching from MS. It is very easy to do this in MS photo editor so I can't believe it can't be easily done in Iphoto!
These are the two steps that Larry describes:
#1
#2 -
I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project/photos from iphoto.
Is there any way to see my print order history and reorder the same book for print ?No. Apple only keeps the pdf file for a book for 30 days. Without the library and book project you won't be able to reorder the same book.
Even though the horse is out of the barn the following tutorial might be of help for future books, i.e. create a new library for each book): iP08 - Archiving an iPhoto Book for Editing and/or Ordering at a Later Date
OT
Maybe you are looking for
-
No voice on tracks. Please help
Hello community. I have the strangest problem when I'm playing music. I have an iphone 2g 16 Gb, and since I update (long time ago) to firmware 3.0, all the music I play has the same error: NO VOICE ON TRACKS. It sounds like a Karaoke. When I play th
-
I have a imac G5 17" flat panel and a samsung lcd 26" tv with 1xhdmi, 1xscart, 1x s-video and rca audio connections, what i dont understand is how to connect the two. Iv'e heard that s-video sacrifies on quality but is the chaepest option. Please hel
-
Configuring Soution Manager Diagnostic
Hi All, We have Sol Man 4.0 with ECC 6.0....can anyone guide on configuring Solution Manager Diagnostic in our landscape? Please give info in details. with regards, Amit
-
why is it not working
-
I am used to working with database control in Oracle 10g and Oracle 11g. Now I have an Oracle 12c and created em express as part of db creation. I foind that EM express does not have all the functionality of DB Control; i.e.. I cannot see awr report