Need print popup to display only once
Hi Experts ,
I have a customer account statement in smartform . For multiple customers the clients wants the print dialog to be displayed only once and the options mentioned in the first display to be carried for other customer accounts . Please any suggestions for the same .
Hi,
If using a custom print program you can achieve this using functions SSF_OPEN and SSF_CLOSE:
[Printing Several Forms in One Print Request|http://help.sap.com/saphelp_nw70/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm]
This way the print dialog will be displayed only once no matter how many times the smartform is called.
Che.
Similar Messages
-
Ship-to Address" screen in SRM browser need to change to display only
Hi Freinds,
Ship-To Address" screen in SRM browser needs to change to "Display" only. The users shouldn´t have the possibility to change the delivery address in the screen to their own private address.
Is it possbile to do any changes in SRM itself or else its purely JAVA HTML work.
Kindly i need you guys help to resolve the above development.
Regards
VivekHello Vivek,
Solution given by Suneel should be OK.
Nevertheless, if Ship-To must be only in display mode for all users (independently of their role) and only for particular document types, you can manage it with partner schema:
SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Define Partner Schema
Then maintain this partner schema ID to your concerned document type:
SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Define Transaction Types
Regards.
Laurent. -
Need to run start routine only once
I understand that for every data package from ODS to Cube, the start routine is run. But I need to run it only once. Is there anyway to achieve this? As the programming logic doesn't really do anything to the data package, I don't need it to be in the start routine. But as I populate a database table using that routine, which in turn is used in update routines, I need to kick it off before the load from ODS to cube happens. I think an ABAP routine variant can be kicked off in process chains. Did anyone use the variant and know how to kick off the routine? Do I have to write this logic in a function module and then kick it off using ABAP variant in Process chains?
I would prefer a way to limit my start routine to run once for every data load rather than kicking it off through process chain. Can someone discuss which is a good approach and how I go about it? Thanks for your inputs.
SamHi Sameer,
Let me recap you req. You want to populate a database table in your start routine and need to do it once for a load.
There is no possible way to limit the no. of times a Start routine is run, but you can find some worksaround.
Is there anyway you can identify that your DB table is updated with new records, i.e.
1> You delete and refill table every time
2> You have some kind of time stamps.
If one of the above case is true, then you can use that as a check in the Start routine to limit the no. of times the DB table is being populated.
Regards,
Sree -
Report ALV printing in background -display only 1 line for header
Hi,
We are running a ALV report (transaction code ME2N) in background and when we get the Graphical display of the spool request, the number of columns of the header are limited and divided in 3 lines. It means that when exporting the report to excel, is quite hard to arrange it, as we get 3 lines for the same record. We need to have it directly in the same line.
When we are programming the job, in the u201CSpool Request Attributesu201D we are using as format u201CX_65_255u201D. What can we do?
Thanks in advance,
Lígia Moreira
Edited by: Lígia Moreira on Sep 20, 2010 6:35 PMHi,
We are running a ALV report (transaction code ME2N) in background and when we get the Graphical display of the spool request, the number of columns of the header are limited and divided in 3 lines. It means that when exporting the report to excel, is quite hard to arrange it, as we get 3 lines for the same record. We need to have it directly in the same line.
When we are programming the job, in the u201CSpool Request Attributesu201D we are using as format u201CX_65_255u201D. What can we do?
Thanks in advance,
Lígia Moreira
Edited by: Lígia Moreira on Sep 20, 2010 6:35 PM -
Help needed for Graphical mapping.Tag only once produces
Hello experts,
I have a problem in my graphical mapping.This is the example:
from each segment A in IDOC has to be made Tag A or Tag B in output XML.
Segment A has a field USER_STATUS and if it is X than Tag B has to be made otherwise Tag A.
Segment A is 0..9999999. occurence
Tag A 0..unbounded
Tag B 0..unbounded.
I made a mapping
mapping for Tag A:
USER_STATUS -> mapwith default(empty)->length->EqualsA (with Constant =0)-> createif->Tag A
for Tag B as following:
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)-> createif->Tag B
The problem is that in output XML, I have only one Tag A or B (depending on field USER_STATUS in first occurence of the segment) while in inbound IDOC 5 segments are with different value of the field: USER_STATUS.
Does anyone idea to solve this problem!
Thank you very much for your effort.
King regards,
Danijela ZivanovicHI,
CAn you try this way,
Use Maping Node UseOneAsMany for Tag B
and pass 3 inputs as
Constant[]----
>
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
>
USER_STATUS -> mapwith default(empty)->EqualsS (with Constant =X)----
>
Same way try for Tag A also.
Thanks
Swarup -
Need to display records only once for that particular group
Hi,
I have a requirement like displaying repeated records only once for that particular group.
For eg, in the emp table, I need to display repeated deptno only once for the particular group of job.
And for the above requirement I have used the below query,
SELECT empno, DECODE (LAG (job, 1) OVER (ORDER BY job), job, NULL, job),
DECODE (LAG (deptno, 1) OVER (ORDER BY deptno), deptno, NULL, deptno)
FROM emp;
Output:
EMPNO JOB DEPTNO
7782 10
7934 CLERK
7839 PRESIDENT
7876 20
7788
7902 ANALYST
7566 MANAGER
7844 30
7900
7654 SALESMAN
7698
But in the above output you can find that, say deptno 10 is getting displayed only once, whereas I want that deptno 10 to be checked whether it is getting repeated within the group of JOB and than hide the deptno 10 only if it is repeated within that job group. If not, deptno 10 should be displayed again.
Please help me in this.
Regards,
ShivaHi,
Hope the below helps.
SELECT emp_id, job, deptno,
CASE WHEN LAG(deptno, 1) OVER (partition by job order by deptno) = deptno THEN null else deptno end
FROM empRegards
Ameya -
How to display field value only once in REUSE_ALV_GRID_DISPLAY
hi experts,
i am using REUSE_ALV_GRID_DISPLAY, for alv outpur display.but i want one of the field in output ,not to display the value which is of same, it have to be displayed only once, I mean i have a number which contains multiple line items corresponding, here i want to display the field value only once when it is repeating , for the same header number, how can i achieve itHi,
check the sample code,
REPORT Z_ALV.
Database table declaration
TABLES:
sflight.
Typepool declaration
TYPE-POOLS:
slis.
Selection screen elements
SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME TITLE text-000.
SELECT-OPTIONS:
s_carrid FOR sflight-carrid.
SELECTION-SCREEN END OF BLOCK blk_1.
Field string to hold sflight data
DATA:
BEGIN OF fs_sflight ,
carrid TYPE sflight-carrid, " Carrier Id
connid TYPE sflight-connid, " Connection No
fldate TYPE sflight-fldate, " Flight date
seatsmax TYPE sflight-seatsmax, " Maximum seats
seatsocc TYPE sflight-seatsocc, " Occupied seats
END OF fs_sflight.
Internal table to hold sflight data
DATA:
t_sflight LIKE
STANDARD TABLE
OF fs_sflight .
Work variables
DATA:
t_fieldcat TYPE slis_t_fieldcat_alv,
fs_fieldcat LIKE
LINE OF t_fieldcat.
*START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_data_sflight. " Getting data for display
PERFORM create_field_cat. " Create field catalog
PERFORM alv_display.
*& Form create_field_cat
Subroutine to create field catalog
There is no interface paramete
FORM create_field_cat .
PERFORM fill_fieldcat USING 'Carrier Id' 'CARRID' '2'.
PERFORM fill_fieldcat USING 'Connection No' 'CONNID' '1'.
PERFORM fill_fieldcat USING 'Flight Date' 'FLDATE' '3'.
PERFORM fill_fieldcat USING 'Maxm.Seats' 'SEATSMAX' '4'.
PERFORM fill_fieldcat USING 'Seats Occ' 'SEATSOCC' '5'.
ENDFORM. "create_field_cat
*& Form fill_fieldcat
Subroutine to fill data to field column
-->p_seltext Column label
-->p_fieldname Fieldname of database table
-->p_col_pos Column position
FORM fill_fieldcat USING
p_seltext LIKE fs_fieldcat-seltext_m
p_fieldname LIKE fs_fieldcat-fieldname
p_col_pos LIKE fs_fieldcat-col_pos.
fs_fieldcat-seltext_m = p_seltext.
fs_fieldcat-fieldname = p_fieldname.
fs_fieldcat-col_pos = p_col_pos.
APPEND fs_fieldcat TO t_fieldcat.
CLEAR fs_fieldcat.
ENDFORM. " fill_fieldcat
*& Form get_data_sflight
Subroutine to fetch data from database table
There is no interface parameter
FORM get_data_sflight .
SELECT carrid
connid
fldate
seatsmax
seatsocc
FROM sflight
INTO TABLE t_sflight
WHERE carrid IN s_carrid.
ENDFORM. " get_data_sflight
*& Form alv_display
Subroutine for ALV display
There is no interface parameter
FORM alv_display .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = t_fieldcat
TABLES
t_outtab = t_sflight
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " alv_display
End of code -
Problem with a Display Only field based on a dynamic LOV
I have a field/item which is based on a dynamic LOV:
select DESCRIPTION display_value, STATUSID return_value
from CTCXFRREQS_STATUS_LOV
order by 1
...and I need it to be display-only on the page. However, if I make it a display-only field, the return value is displayed, not the display value. If I change it to be a select list field, the display value is shown, as I expect and need.
The field was based on a static LOV before, and it worked perfectly then.
Has anyone seen this before, and have any suggestions on how to work around it?Hi,
In edit item
Display As: Display Only
Save Session State: Yes
Based On: Display Value of List of Values
Named LOV: YOUR_LOV
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Hi Friends,
We have the following problem: our application should print some document (a Smartform) for all selected
documents in an ALV Grid control. So the application does a loop over an internal table and calls every time
the function for the Smartform, passing it some data to print.
For every function call the user sees a popup screen where he/she can choose the printer, whether or not to
print directly, print preview etc. The problem is - if the user selects 20 documents to print he/she will see
that screen 20 times, and that's not nice. It would be better if the user saw the popup screen only once and
the settings he chose were passed to all the calls of the smartform in the loop.
Any idea how to do it?
Thanks a lot in advance.Hi,
Thanks a lot.. i have used in the below way....
wa_cparam-no_open = 'X'.
wa_cparam-no_close = 'X'.
wa_output-tdnoprev = 'X'.
wa_output-tddest = printer.
AT FIRST.
wa_cparam-no_open = ' '.
ENDAT.
AT LAST.
wa_cparam-no_close = ' '.
ENDAT.
it is working fine but only one problem. I want to supress the pop up to enter printer name there.. i mean i want print directly, dont want that pop up to enter printer i will send that printer in my program.
What option i have to use in the output option parameters, do i need to use control parameters option?
Thanks, -
How to report print to the printer immediately and display the popup?
Dear friends,
I am running my report in background and displaying the confirm results on popup window and sending the results to printer,
but now i want to send the results page to printer then want to display the popup.
i have writen my popup perform after printer perform only but its not working...when i am clossing the popup or came back from that popup then only the results sending to printer...
How to report print to the printer immediately and display the popup?
Thanks in advance
SridharHi Sudheer,
I am using my print parameters like this :
NEW-PAGE PRINT ON DESTINATION ws_printer
IMMEDIATELY 'X'
KEEP IN SPOOL 'X'
NEW LIST IDENTIFICATION 'X'
SAP COVER PAGE 'X'
ARCHIVE MODE '1'
LINE-COUNT 64
LINE-SIZE 170
NEW-SECTION
NO DIALOG.
Then also its not printing immediatly.
here one thing for displaying the popup i am using submit report(calling another report for popup purpose)
before trigering the submit programe i need to print this.
Thanks
Sridhar. -
Print Selection Screen Parameters in ALV report only once
Does anyone know how to print the selection screen within a ALV report.
I've tried everything. I have the code to capture the selection parameters into a internal table. I can use top_of_page but I only want it printed once.Hi,
If you have captured the selection screen entries in an internal table, then you could display it once by using the BLOCK LIST ALV.
Check the function module.
REUSE_ALV_BLOCK_LIST_DISPLAY
Using this function module more than 1 alv could be display in the report.
In our case ..there will be two alvs ...one for the selection screen n other for the main report output.
Check the following example on the block List ALV....
<b>BALVBT01</b>.
Regards,
Vara -
Purchase Order printed only once
Hello.
I need to print the PO automatically when I create it.
But if the PO is changed or release it sholdn't printed again automatically.
How can I configure the message for this purpose?
Is it possible print only once?
Thank you in advance.
Regards.Hi,
In Standard only PO Printing is possible after PO release.But if business needed, you can develop a DRAFT COPY OF PO PRINT OUT with help of ABAPer before PO release.
After release if you needed automatic PO print then need to set Dispatch time as 4 {Send immediately (when saving the application)} in NACE t.code in application EF & in condition record t.code:MN04 for PO message type.
As you needed ,only once print and no further PO print , then do not select" Multiple Issuing" check box in General data TAB for your required PO output type in NACE t.code in application EF .
Regards,
Biju K -
Display Select list only once in the report
Hi,
select
CLS.NAME "Name",
CLI.SECTION "Section",
CLI.DESCRIPTION "Description",
htmldb_item.select_list(5,R.REVIEWER_CONFIRM,'YES;YES,NA;NA,NO;NO') "Reviewer Confirm",
htmldb_item.text(6,R.REVIEW_COMMENT,60,60) "Reviewer Comment",
R.ID "ID"
from
CHECK_LIST_SUB CLS,
CHECK_LIST_ITEM CLI,
RCL R
where
CLS.CHECK_LIST_SUB_ID = CLI.CLS_ID
and
CLI.CLI_ID = R.CLI_ID and
R.RI_ID = :P21_RI_ID
The above query will return set of rows there is also a select list displayed for each row
I need to restric this select list for each name wise in the result of the report.
select list should not repeat it must be report only once
Please suggest me how to do this
Thanks
SudhirSudhir,
Try this query.
SELECT
CLS.NAME "Name",
CLI.SECTION "Section",
CLI.DESCRIPTION "Description",
CASE WHEN ROWNUM = 1 THEN
htmldb_item.select_list(5,R.REVIEWER_CONFIRM,'YES;YES,NA;NA,NO;NO')
ELSE NULL
END "Reviewer Confirm",
htmldb_item.text(6,R.REVIEW_COMMENT,60,60) "Reviewer Comment",
R.ID "ID"
FROM CHECK_LIST_SUB CLS,
CHECK_LIST_ITEM CLI,
RCL R
WHERE CLS.CHECK_LIST_SUB_ID = CLI.CLS_ID
AND CLI.CLI_ID = R.CLI_ID
AND R.RI_ID = :P21_RI_IDThanks,
Manish -
Display SQL listings only once with a count next to the number
I am building a vacation rental website (like there needs to
be another one LOL) I am building my SQL database right now but i
believe it will be easier if we display it better. What I want to
do is display the rental listings only once in a list. Example:
Listing 12345 with pool in Orlando Florida
Listing 34567 on golf community in Orlando Florida
Listing 98765 Waterfront in Ft Lauderdal Florida
I want a page to show before the listings so you would see
Ft. Lauderdale (1)
Orlando (2)
When you click Orlando (2) then you would just get just
Orlando listing to make navigating more simple.
You can see a sample on
http://www.vacationrentals.com/vacation-rentals/Florida.html
(hope the sample link is ok to use)
Thanks for the HelpThat's a simple GROUP BY with a COUNT. Take a few minutes and
familiarize
yourself with the essential capabilities of SQL - it may even
give you some
ideas. :)
www.sqlcourse.com
www.sqlcourse2.com
"rustykat" <[email protected]> wrote in
message
news:ei63ds$dv9$[email protected]..
>I am building a vacation rental website (like there needs
to be another one
> LOL) I am building my SQL database right now but i
believe it will be
> easier
> if we display it better. What I want to do is display
the rental listings
> only
> once in a list. Example:
>
> Listing 12345 with pool in Orlando Florida
> Listing 34567 on golf community in Orlando Florida
> Listing 98765 Waterfront in Ft Lauderdal Florida
>
> I want a page to show before the listings so you would
see
>
> Ft. Lauderdale (1)
> Orlando (2)
>
> When you click Orlando (2) then you would just get just
Orlando listing to
> make navigating more simple.
>
> You can see a sample on
>
http://www.vacationrentals.com/vacation-rentals/Florida.html
(hope the
> sample
> link is ok to use)
>
> Thanks for the Help
>
> -
Redirected printers using Remote Desktop Easy Print driver work only once during session
Hello all
We are running Windows Server 2012 R2 Remote Desktop Services Sessions hosts with printer redirection allowed using only the Easy Print Driver, we have no other drivers installed on the servers. All client printers are redirected and can print fine, but
only once per session! We have tested with several different client printers and they all work a single time in each session. After that the user needs to log off and then back on again to be able to print once again, but only once. Needless to say, our users
are annoyed. If I look at the c:\windows\system32\spool\printers folder while jobs are printing, but failing, I can see the spool files appearing and disappearing as jobs are spooled. No errors in the event logs accompany the behaviour. Our clients are running
Windows 7, 8 and 8.1. All exhibit the same problem. The error looks a little like what is described here:
http://support.microsoft.com/kb/2925429
While similar, this problem describes a scenario where Easy Print is not used, but XPS is, and since Easy Print is based on XPS and the behaviour is very similar, I am tempted to make a connection.
I have checked all the usual stuff with permissions etc, and no manufacturer provided drivers are present. The problem appears on newly installed systems as well as one that have been running for some time. Restarting the spooler services does not resolve
the problem. Actually I do not think it is related to the spooler service or driver framework at all, but rather is an Easy Print driver issue that is occurring much later in the process, if not I would see some errors in the logs and no jobs would print at
all.
Anyone ever heard of something like this?
Thanks
MorganHi Morgan,
Based from your description, users can only print once during single RDP session, I suggest you check if this issue also happens locally.
In addition, after the first print attempt, does any other issue exist on the RDP session?
Is the server fully patched? If there are any available driver updates, please also apply them. If there are any third party software installed, try disable/uninstall them to see if the issue persists.
You can also enable print auditing to get more detailed information about this issue.
More information for you:
Auditing Printing Events
https://technet.microsoft.com/en-us/library/cc976774.aspx
Logging Spooler Events
https://technet.microsoft.com/en-us/library/cc976746.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Maybe you are looking for
-
Office Web App Prompting For Credentials Externally Only
We deployed an office web app server and it works great internally, but whenever we try to access documents externally, we are prompted for credentials. Even if we put our credentials in, we always get a 401 forbidden error. Also note that we can a
-
Adding Custom Field to Shopping Cart and PO, Classic Scenario
We are running SRM 7.0 with ECC 6.0 as the backend and using the Classic scenario. I want to add a custom field to the shopping cart and have the data transfer over to a custom field (of the same name) on the purchase order to the ECC side. I have al
-
Attachments to SUS confirmation
Hi all, While creating service confirmation (BUS2233), Attachment View is not appearing on confirmation screen. So we are not able to attach any documents to Service confirmation(similarly for ASN also, attachment screen is missing) I have tested EB
-
Story CC plus isn't working with CC subscription
Hello, I recently obtained a subscription to Creative Cloud. I have been able to get everything to work except for Story plus. Every time I sign in to story it just puts me on the free version even though my account has the subscription activated on
-
Mail does not work with ONLY ONE e-mail address
I am using mail with 6 different e-mail addresses all using godaddy as my mail server. Some(4) are imap, some(2) are pop3. All of my e-mails work great except for 1 (which is imap). My iPhone and iPad as well as entourage all work for this e-mail add