Smartform (printing plural result at once)
Hello Experts
I'm working on smartform programming at the moment.
I call the function module to call smartform in LOOP like
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
LOOP AT itab into WA.
CALL FUNCTION function_name.
ENDLOOP.
and I want to see plural result at once.
I think it's related to the option 'SELECT_OPTIONS' which is one of the default option of smartform.
Does anybody know how to use this option?
What I want to achive is that
I call the same smartform function more than 1 time in Loop.
and want to get the result at once.
Similar Messages
-
How can I print multiple files at once
I have to print construction plan sheets on 11x17 paper. All of the files are generally .tif or .pdf. How can I select all of the files at once and print them all at once instead of having to open each sheeet and print them one by one?
Oner way is to drag and drop the files into your print queue. You can open the queue from System Preferences - Print and Scan, click on your printer and click Open Queue.
Matt -
Print Multiple PDFs at Once?
I have a folder filled with 900 PSDs. I want to print them all at once, in order preferably, without having to open up each PDF one at a time and selecting print.
I tried creating a batch action by recording print. However, once it opens too many tabs (around 280 or so within photoshop) the program creates an error stating "could not complete your request because too many files were selected for opening at once"
See image to illustrate the issueGive the Action a Close command at the end of its processing so each document of the batch will be closed before the next is opened.
-
I am trying to print a color photo on my MacBook Pro from iPhoto (not using Photoshop) using Epson 2200 printer, and everything I do in the Color Matching and Print Settings results in a photo with a pink cast to it. What am I doing wrong?
Have you checked the ink cartridges and made sure the nozzles are clear? Are you able to print from outside of iPhoto with the correct color?
Try the following: make temporary copy of the library and do the following:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
User/Home()/Library/ Preferences folder.
2 - delete iPhoto's cache file, Cache.db, that is located in your
User/Home()/Library/Caches/com.apple.iPhoto folder.
3 - launch iPhoto and try again.
NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto. You'll also have to reset the iPhoto's various preferences.
OT -
Sharing Win 7 Printer on Mac - Works Once, Not Twice - Why?
Hi! I'm have a strange problem setting up printing from a MacBook Pro running OS X 10.6.8 to a shared printer connected via USB to a Win 7 PC. Here are the details of the issue. Any advice would be appreciated.
I have an HP PSC 2100 printer connected via USB to a Win 7 PC. I followed the instructions found via the link below to create 2 copies of the printer. I have one "printer" set to print in grayscale (BW_Printer) and the other set to print in color (Color_Printer). The BW_Printer is the default printer.
http://superuser.com/questions/2504...
I then set up sharing for both copies of the printer so that my daughter can print to them from her MacBook Pro running OS X 10.6.8.
Next I followed the steps at the link below to set them up as LPD printers. Note: There are a couple of different suggestions at that site based on what OS the MacBook is running, so I'll include the steps I followed below the link.
http://answers.microsoft.com/en-us/...
On the Windows 7 PC:
1. In Windows 7 Control Panel
2. Select "Programs and Features" pane
3. Click "Turn Windows Features on or off"
4. Click on the "LPD Print Service", under "Print and Document Services"
5. Ensure printer(s) are shared
On the Mac:
1. Open "System Preferences" - "Print & Fax"
2. Click "+" to add a printer
3. Right hand button tool bar to customize and add "Advanced" button
4. Select "Advanced"
5. In the "Type:" field select "LPD/LPR Host or Printer"
6. In the "URL:" field enter lpd://IPserver/PrinterShareName; (e.g., lpd://10.0.1.4/mp800)
Using lpd://ServerName/PrinterShareName does not work, the IP address must replace ServerName
The IP address is the address of your PC, the one assigned by your router
7. Click the "Add" button
Note: The one Mac step that is not listed above is the ability to chose the driver for the specific printer you are sharing. I chose the HP PSC 2100 driver for both copies of the printer.
OK, so I added both printers to the Mac using:
lpd://192.168.1.9/BW_Printer
lpd://192.168.1.9/Color_Printer
So after all that, here's the problem:
When I print to Color_Printer from the Mac, everything works fine. The documents print and they print in color.
However, when I try to print to BW_Printer, the print monitor on the Mac says that it is copying the print data but then it pauses the printer and nothing prints. If I click "Resume Printing" in the Mac's print monitor window, it once again says "Copying Print Data" and then, once again, it pauses the printer.
I tried deleting the BW_Printer on the Mac and adding it again but it didn't help.
Can anyone explain why the above process would work for the printer named "Color_Printer" but not for "BW_Printer"? The only difference between 2 printers, besides the name, is that on the Win 7 side one copy is set to grayscale and the other is not.
Thanks!I finally have time to read this forum to see if I can find a solution to what appears to be the same problem BrooklynBlueEyes has. In my case, I brought home an extra PC we had from work for my wife to use (to keep her off my mac). It had been upgraded to Windows 7. I just had bought an Airport Extreme, which works wireless and also through the wires we have running to all of the rooms. I have tried to get the PC to work (wired) through the Airport Extreme, but nothing I tried seems to work. I called the IPS (Comcast), which said it was an Apple problem. short of uninstalling Windows 7, is there anything I can do? I am not very techno-literate, so if you could keep any explanation on the simple side, it sure would help.
Thanks. -
Smartform printing on Dot Matrix printer for continuous stationery
Hi Friends,
I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
Settings in SPAD are as follows:
Output device : Lp01
Device type : SWIN
and page format : LINE_21
Format Type : LINE_21
What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is : wipro WEP 800 DX)
Thanks and Regards,
Sachin SoniHi,
Change the page settings in the form
-> under the form attributes you can find the page format there you can set up your required format
Thanks,
Nethaji. -
Automatic print of the variant once per week
Hi All,
In Alv Report.
How to set automatic print of the variant once per week on Monday morning on the mentioned printer.
Please let me know how to do the abouve requirement.
Regards,
KumarThanks
-
Smartform print program for order confirmation
Hi experts.
I am looking for a smartform print program for order confirmation.
The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
If any body written the program already please provide me or provide the link to check.
Thanks in advance
Saithis is the processing form.
form processing.
data: lf_fm_name type rs38l_fnam.
data: ls_control_param type ssfctrlop.
data: ls_composer_param type ssfcompop.
data: ls_recipient type swotobjid.
data: ls_sender type swotobjid.
data: lf_formname type tdsfname.
data: ls_addr_key like addr_key.
data: document_output_info type ssfcrespd,
job_output_info type ssfcrescl,
job_output_options type ssfcresop.
perform get_data.
check retcode = 0.
perform set_print_param using addr_key
changing ls_control_param
ls_composer_param
ls_recipient
ls_sender
retcode.
*Get the Smart Form name.
if not tnapr-sform is initial.
lf_formname = tnapr-sform.
else.
message e001(/smb40/ssfcomposer).
endif.
determine smartform function module for invoice
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = lf_formname
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
error handling
retcode = sy-subrc.
if sy-subrc = 1.
message e001(/smb40/ssfcomposer).
endif.
if sy-subrc = 2.
message e002(/smb40/ssfcomposer) with lf_formname.
endif.
perform protocol_update.
endif.
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
importing
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
tables
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
retcode = sy-subrc.
perform protocol_update.
get SmartForm protocoll and store it in the NAST protocoll
perform add_smfrm_prot.
endif.
endform. "processing -
BEx Map in Excel: Print only result area
Hi experts,
I am in BEx Map - Excel, and I am trying to print the result area ONLY, without key figures, legend and so on...
Print Preview in Excel shows the key figures on the left, the legends on the right and a little version of the map (as if way too zoomed out) in the middle.
I know there is a post dedicated to the "print only result area" but its solution is "web only"
Thx,
OlivierArun,
Attaching a map in BEx-Excel is different from attaching a chart. When attaching a map, you can't choose in which sheet/workbook the map will be displayed. A new sheet is automatically added to the workbook holding the BEx query, period.
But thx anyway. I did try your thought -
How do you change the FILE "print code" resulting printed font size?
I would like to adjust the "Print Code" resulting printed document font size. Though the changes can be made in display font for the Code window via a file or the Preferences Menu, I cannot find the style information to change the Print Code.
ThanksThanks again for your reply.
I would like the code print out font to be a smaller size. Currently, it ls printing at 12 pt Monaco ( I can emulate this exactly by printing the same document in an editor set as Monaco 12pt ). However, the settings (see below) are set at Monanco 9pt. This works on the screen, but not for printing.
http://goo.gl/eXhnz > screenshot of Setting show "smallest".
Yet the code:print gives me more characters per line, resulting in many more pages per printout. The "print preview" shown in my last message is exactly what the printed page looks like as well.
NOTE: with the same settings ("smallest Monaco 9pt), Dreamweaver CS3 on OSX *does* code:print the smaller size, though without color coding. Dreamweaver CS 5 on my system does not.
Thank you.
Jay -
Smartform printing & sending multyple table data
Hi All..
I designed a smartform & print Pgm.( for Invoice not SAP standard)
How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? & how can i declare that internal table in smart form & in print pgm?
And it is also not printing.even i set it in NACE.
Plz any one can help me asap..
Thanks & Regards
RajHi Raj,
You must have to create a new Structure and a new TABLE TYPE in program to send multiple data.
Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.
TYPES: BEGIN OF ty_cus,
F1,
F2,
F3,
F4,
END OF ty_cus.
so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.
Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).
Now, in your print program, create internal table with the type of Z_CUS as below.
DATA: it_cus TYPE TABLE TYPE z_cus,
wa_cus TYPE z_cus.
And in the Layout, Form interface - Tables section give it as below
IS_CUS TYPE ZT_CUS.
In your print program, assign your internal table to IS_CUS for generated function module.
CALL FUNCTION fm_module.
EXPORTING
IMPORTING
TABLES
IS_CUS = it_cus
EXCEPTIONS
Let me know if you hav any quesions -
Hello All,
I´m developing a smartform to print information in a label that has 6cm height.
My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.
How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?
Thanks in advance.
Best regards,
Marcelo PerineMatt,
The smartform receive information in Form interface -> Tables -> ZTB0014
Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.
Main window
-Loop
--Table
---Text1
---Text2
--Command
Main - Output options
Left margin 0,00 CH
Upper margin 0,00 LN
Width 82,00 CH
Height 15,00 LN
Loop
Internal table ZTB0014 INTO EST0014
Table
Table width 80,00 CH
Horizontal alignment Left 0,00 CM
Minimum Height 0,00
Line1 50,00 CH | 30,00 CH
Text1
(1) Recebedor das Mercadorias.
&EST0014-NAME1&
&EST0014-STRAS&
&EST0014-ORT01& - &EST0014-REGIO&
&EST0014-ORT02&
CEP &EST0014-PSTLZ&
(4) Transportadora
&EST0014-TRANS&
Text2
Volume
&EST0014-VOLUM&
Command
X Go to new page %PAGE1
Reset paragraph number P1
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine -
Smartform Printing on both sides
Hi.
I am fasing an issue in smartform printing.
we are printing the Invoice.this invoice data is dynamically comming on the front side of the page.
and printing normally.
but back side of the page they want to print the comapany rules(on every page back side).(these rules are comming with in one page only).
so on the front side this invoice data and back side Comapany rules shouls come.(we don't know how many pages of invoice data will come).
Plesae help me to solve this issue.
Thanks in advance,
Regards,
EswarHI Eswar,
If you have only one page made in your smartform you can make one more page with just the main wiindow.This window will have all the rules of the company.Now make the first page point to this page and make this page point to the first page.
Select duplex printing in the page attributes and print.This will solve the issue.
Reward if useful.
Thanks,
Dishant -
PLD - print several documents at once
Hi.
Can anyone tell me if it's possible to print several documents at once in SAP B1 2007A.
When creating sales order, I would like to print both order confirmation and a second document used as pick list.
Thanks and regards, Runar.I do not believe that it is possible to print two different layouts at once except for special cases such as printing batch information along with a marketing document. You will see these special cases in Print Preferences.
The usual techniques for printing two documents from one layout are:
1. Repeat the repetitive area etc.
OR
2. Specify two copies of the layout.
In both cases, you would use formula fields that would react to which print you were producing. For example, printing a different page heading on copy 1 and copy 2.
Regards,
Douglas -
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
-
Someone please settle this problem once and for all! (Duplicate Tracks)
I had an iPod about two years ago and ended up getting a different mp3 player. I now have a new 5G iPod and am having the same issue I had 2 years ago for the short time I had my old iPod. Duplicate tracks showing up in my iPod's library. I searched
-
I cant download apps from i tunes to my i pod touch..
please help me .... i cant download the apps which i purchased in itunes to my i pod touch ... my i touch version is 3.1.3 (7E18) please help me......................
-
Have a very short fim-almost finished-but program crashes everytime it is opened. I tried restating=no help. I clean the system-no help. The movie, just over one minute w/sound, consist of several hundred drawings that were photographed w/ Vixia and
-
HOW TO FIX WARNING "SELECT QUERY"
CAN SOMEBODY SUGGEST ME AN EASY SOLUTION............EXCEPT FETCH OR FIELD GROUP ONE. I AM SELECTING 6 FIELDS FROM FEBEP TABLE INTO AN INTERNAL TABLE ,BUT THE PROBLEM IS THAT WHILE INSPECTING CODE I AM GETTING AN ERROR WARNING THAT FEBEP "TABLE IS TOO
-
None of the available endpoints supports authentication methods user/pass
Dear All i create a destination in the ce7.1.but when i test the destination in the ws navigator ,but it cant not run , the error is: The destination [YHSendMessage02] supports the following authentication methods [User Name/Password (Basic)], bu