Export Documents - Smart Forms - Print program
Hello,
I searched the sap notes to find standard print programs from SAP for the export documents with message type:
FECO
FETR
FEEU
The smart forms are easy to find.
They are FT_COM_FEEU, FT_COM_FETR, FT_COM_FECO.
But I don´t find the print programs belonging to the forms.
Greetings
Mark
If you look at the SMARTFORMS they are all blank.
I would create your own SMARTFORMS and call them in a similiar way as the example programs listed below :
SF_EXAMPLE_01
SF_EXAMPLE_02
SF_EXAMPLE_03
Hope this helps.
Cheers
Colin.
Similar Messages
-
Smart forms - print program rvaddn01
Hi
Kindly some one let me know how to do smart forms for packing list layout using the standard print program
RVADDN01.Expecing a quick answer.
Thanks in advance.
RegardsHi Surya,
The standard Smartform Layout is the <b>LE_SHP_DELNOTE</b>
And the standard Driver program is <b>RLE_DELNOTE</b>.
You can use these things for a Packlist.
Hope this works very well...
Cheers,
Sampath.... -
hi,
im using version ECC 6.0.these standard programs /smb10/fm06p & /smb40fm06p
doent exist in my SAP.please help how to extract those programs,im working on purchase order.Please refer note no 852250. Some workaroud is there. Some bugs are there you have to fixed the same download instruction given in zip file [attached in the note]
-
Regarding Smart Form Printing, Print Preview issues
Hi,
I have couple of issues regarding Smart Form Printing, Print Preview.
In my program i am passing below parameters to smart form function module:
t_control-device = c_printer.
t_control-no_dialog = space.
t_control-preview = space.
t_control-no_dialog = c_x.
t_output-tddest = g_spld.
t_output-tdimmed = c_x. " Print Immediately
t_output-tddelete = space. " Don't Release spool after output
g_user_settings = c_x.
Issue#1: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.
Here how can i go directly to layout output without preview screen.
Issue#2: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.
How can i solve these issues!
Thanks in advance.
Thanks,
Deep.Hi,
In the SAP menu screen goto <b>System->User Profile->Own data</b>
There in the defaults tab, for the output device give the value you had maintained for <b>g_spld.</b> This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.
Tushar -
SAP Vendor Master Communication Details for SMART FORM Printing.
Hi
Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
Thanks in Advance.
Regards
RaviHi Ravi,
I don't know about a function module, but the vendor master table LFA1 has a field ADRNR pointing to the general address table with the fields for e.g. language and to the tables ADR2 for phone numbers, ADR3 for fax numbers and ADR6 for e-mail addresses.
BR
Raf -
Communication Details Vendor Master SMART FORM Printing.
Hi
Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
Thanks in Advance.
Regards
RaviHi,
class VMD_EI_API_EXTRACT with method GET_DATA could make it.
There are also some eSOA services that could make it fine. See services starting with Supplier*.
Otherwise, this is more complicated.
BR
Alain -
related to smart form printing :
I have to print the data using template , but i dont want to fix the line in template ,
i want to take the data in template , and how much data is accessed that much space
must be occupied on the page, i dont want to fix the area in template
Hope you have got me.
Edited by: rihano7 mansoori on Jul 13, 2011 2:48 PM
Edited by: rihano7 mansoori on Jul 13, 2011 2:49 PM
Moderator message: please choose more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Jul 13, 2011 3:53 PMHi,
Do you intend to say , that template cell size should vary depending on your data.
I doubt that is possible.
You should look for a workaround.
Why dont you be more specific in your exact requirment, so that an alternate soln can be found. -
hi!
I am trying to print one smart from through print program.
the name of smart form is ztestform.
and the name of the function module is /1BCDWB/SF00000099
I am writing following print program.
REPORT ZSMARTFORM.
data fname(30).
CALL FUNCTION '/1BCDWB/SF00000099'
EXPORTING
formname = 'ztestform'
IMPORTING
fm_name = fname.
call function fname.
and it returns with the error " function parameter form name is unknown"
so what should i do?
points will be awarded.
Cheers
Troy.Hi Troy,
Use FM SSF_FUNCTION_MODULE_NAME.
pass smartform name . it will give u SF function name. u call that fm.
Please refer this code :
data : p_form type TDSFNAME.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = P_FORM
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = P_FUNCTION
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION P_FUNCTION
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
D_VBRK = IT_VBRK
D_VBRP = IT_VBRP
D_LIKP = IT_LIKP
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Reward points if helpful.
Regards,
Hemant -
Smart Form printing witout dialog box
Hi Experts,
I want to print the smart form when i execute the print program witout any dialogbox asking for printer name or other details.
I am using the following code. By using this i am not getting any dialog box, but its not printing anything.
DATA wa_outputoption TYPE ssfcompop.
DATA wa_controlparameters TYPE ssfctrlop.
wa_outputoption-tddest = 'INFO' .
wa_outputoption-tdnoprev = 'x'.
wa_outputoption-tdimmed = 'X' .
wa_controlparameters-no_dialog = 'X' .
wa_controlparameters-no_open = 'X'.
wa_controlparameters-no_close = 'X'.
wa_controlparameters-device = 'PRINTER'.
CALL FUNCTION '/1BCDWB/SF00000116'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = wa_controlparameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wa_outputoption
USER_SETTINGS = 'X'
v_whno = 'WN1'
v_sttyp = 'ND1'
v_plant = 'WN01'
v_invrec = '1068'
v_page = '3'
v_invdt = sy-datlo
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
Please suggest a solution.hi pankaj,
it looks fine, u r passing correct parameters only but just try..
just pass these parameters:
DATA: ST_CONTROL_PARAMETERS TYPE SSFCTRLOP
st_control_parameters-device = 'PRINTER'. "Output device
st_control_parameters-no_dialog = 'X'. "SAP Smart Forms: General Indicator
I am using the same, it is working fine,
can u plese tell wht exactly happening.. is the dialogue is displaying or smethig else. r u calling this from only once or many time base on any conditions check once..r u passing right values..
call this FM before calling samrtform because u will face problems in PRD and Quality.. if u r already then ignore this.
c_formname = 'xxxx ut form name'.
v_fm_name is type rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION v_fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = wa_controlparameters
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* output_options = wa_outputoption
* USER_SETTINGS = 'X'
v_whno = 'WN1'
v_sttyp = 'ND1'
v_plant = 'WN01'
v_invrec = '1068'
v_page = '3'
v_invdt = sy-datlo
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5 -
Smart forms print with EPSON LQ-2500
HI all,
I have a problem that my EPSON printer can not print all the lines of the table in Smart-forms. And always the same lines can not be printed. If I output the form with PDF Printer first, then, I print the PDF file with my printer, it would be quite well. So I think there should be sth. wrong with my programe or settings in SPAD. Is there someone can help me to solve this problem? Many thanks!Hi Anji and Ravi,
thank you for your reply; in Quality and PRD the character format "H" exists
and in effect the format of text type A is correct.
Also the angular brackets are correct <\>.
Regards. Paolo
Message was edited by:
Paolo Cavallini -
Hi All,
I have created a driver program and I have two smart forms , The thing is like from one driver program i want to executed two smart forms where logic is almost same for the both the forms.So put me some code lines if possible .
with regards,
Swathi.KHi swathi,
Yes based on conditions you can print the smartform in the driver program.
SELECTION-SCREEN BEGIN OF BLOCK block WITH FRAME.
PARAMETERS:
p_vintag RADIOBUTTON GROUP rad1,
p_contag RADIOBUTTON GROUP rad1,
p_rmctag RADIOBUTTON GROUP rad1,
p_rfrtag RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK block.
IF sy-subrc EQ 0.
*"For Vintag smartform................................................
IF p_vintag EQ 'X'.
w_form = 'Y_HFA_VINTAG'.
*"For Containertag smartform..........................................
ELSEIF p_contag EQ 'X'.
w_form = 'Y_HFA_CONTTAG'.
*"For Remanufacturedtag smartform.....................................
ELSEIF p_rmctag EQ 'X'.
w_form = 'YH_HFA_REMAC'.
*"For Reefertag smartform.............................................
ELSEIF p_rfrtag EQ 'X'.
w_form = 'YH_HFA_REEFER'.
Regards,
Sravanthi -
Smart forms print control pop box (no required) when run report
Dear All Expert Guru,
how to control printing pop box when execute transaction code ,Report are make in smart form format
because while run our report then come printing pop box select out put device the will come report
. but our user required no should be come printing pop box they are required when run report direct come report
Pls help me any one.
Thanks & Regars.
Sudhir SrivsatavaHi,
Pass the parameter no_dialog = 'X' while calling the smartform.
data: wa_ctrlop type ssfctrlop.
wa_ctrlop-no_dialog = 'X'.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX = ARCHIVE_INDEX
* ARCHIVE_INDEX_TAB = ARCHIVE_INDEX_TAB
* ARCHIVE_PARAMETERS = ARCHIVE_PARAMETERS
CONTROL_PARAMETERS = wa_ctrlop
* MAIL_APPL_OBJ = MAIL_APPL_OBJ
* MAIL_RECIPIENT = MAIL_RECIPIENT
* MAIL_SENDER = MAIL_SENDER
* OUTPUT_OPTIONS = OUTPUT_OPTIONS
* USER_SETTINGS = 'X'
* IMPORTING
* DOCUMENT_OUTPUT_INFO = DOCUMENT_OUTPUT_INFO
* JOB_OUTPUT_INFO = JOB_OUTPUT_INFO
* JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
Regards,
Srini. -
Smart form printing without dialog box
Hi,
Thanks to eveyone for reading this post.
I want to print a form thru smartform. I am able to do that now by calling that smart form and passing the data. Now i wanted to print multiple docs using smartform so that the dialog box printer doesnt apppear and all printing is executed without any user intervention.
I tried to call smart form in the following way so that data is printed to the printer without any thing appearing on the screen (dialog box).
I did consult the forums here and when i try it I either see the dialog box or see other sy-subrc.
Code -
Data: w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop.
W_COMPOP-tdnewid = 'X'.
W_COMPOP-tdFINAL = 'X'.
W_COMPOP-tdimmed = 'X'.
W_COMPOP-tddelete = 'X'.
W_COMPOP-tdcopies = 1 .
*W_COMPOP-TDNOPREV = 'X' .
W_COMPOP-TDDEST = 'LP01'.
*W_COMPOP-tdnoprint = 'X'.
W_ctrlop-DEVICE = 'PRINTER'. " Here we dont give printer name 'KX-P3696'.
w_ctrlop-no_dialog = 'X'.
w_ctrlop-preview = ''.
CALL FUNCTION '/1BCDWB/SF00000135'
*CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
i would be glad if anyone can help me. I did a few RND in the code above to make it work but it dosent.
Moreover when the dialog box appears then there is a text in the bar below which says please maintain printer master data. (something like that). Is that creating a problem ?
Thanks,
JGREPORT ZANNTEST.
Data Declarations
DATA : control TYPE ssfctrlop,"Smart Forms: Control structure
output_options TYPE ssfcompop,"Smart Composer (transfer) options
v_fm TYPE rs38l_fnam."Form Name
control-preview = 'X'."Preview the output of Smartform
control-no_dialog = 'X'."Don't show Dialog
output_options-tddest = 'LOCL'."Spool: Output device
output_options-tdnoprint = 'X'."No printing from print preview
Function Module to get Generated Fucntion module of Smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZCONEXTNLETTER' " your created zform
IMPORTING
fm_name = v_fm
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION v_fm
EXPORTING
user_settings = ' ' " don't forget this option
control_parameters = control
output_options = output_options
PR_PERNR = '00001019' " it wil come from ur form parameters
PR_BEGDA = '19940101' " it will come from ut form parameters
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
this is the best answer for ur requirement..
lets njyyyyyyyyyyy.. -
Dunning form print program and process
Hi Experts...
Pls. can one help me in finding the dunning form(script) F150_BE_DUNN_02 print program.
And also pls. can any one explain me about hw i need to modify the dunning form for different level.
my que. is do i need to modify form each level or i need to modify only in one form..
and also pls. can any one explain me hw dunning form will be printed.. (through f150 i know) but i cound not find any selection screen parameter as dunning level...
.....PLS. DO NOT GIVE ME THE LINKS......i have been most of the links..
Full rewards will awarded..
Thanks
Yugi...If you're lucky you can find the print program by entering the form in SE71, then Form -> Check -> Texts, Enter. The print program should be listed there. It could be SAPLF150. You'll need to get one of your Accounts Payable people to set up a test case for you in F150.
-
Issue Regarding Chinese characters In Smart Form Print preview..
Hi All,
I am working on a smart form development for chinese users. The requirement is the user will login using English & when the delivery will be issued for output, a check will be done on the country of user. If that comes as china then the international version (C) maintained for that customer will come as output.
Now the problem is even if I login using EN or ZH the below issue I am facing always.
In the database I can view the details in chinese properly by logging in as ZH. During debugging also i checked the data from table ADRC & MAKT is coming in chinese properly. But when i gave the values to be output in SmartForm, it is showing the characters like how it will look if I login using EN & view the table contents.
When i view the data by changing character set as Simplified Chinese then in table i can see chinese texts properly. But when the same data goes to print preview it shows the chinese characters like as it would appear when character set is Unicode or West European..
Please help..
Thanks in advance.
Edited by: malayanayak123 on Jun 1, 2011 5:48 AMDear,
print preview and physical printout are two different things.
PrintPreview:
The data stream will be sent to the frontend and rendered with windows-fonts etc (for backend prints a simulation).
Printout:
Frontend: You need a printer, that maps the character, you have to use SAPWIN or SAPWINCF when using cascading fonts. The rendering will be done in the windows spooler.
Backend: Your printer needs also a mapping (look like something with UTF8). Also the printer needs the fonts installed because the rendering will be done in the printer!
If you use the pdf-printer in SAP, you need to upload all necessary fonts (TTF) for the pdf-composer. Also you need a unicode pdf printer for that.
Regards,
Christian
Maybe you are looking for
-
Reporting Services Cube Status
Hi all, I am newbie to reporting service of team foundation server 2013. I just want to know what is the use of cube in reporting services in team foundation server environment. please clear my doubts. Thanks for help.
-
No HUs have been transferred for material
All, after successfully confirming a TO for a outbound delivery using HUs am trying to do a post goods issue. But post goods issue fails for the outbound delivery and error log is saying: E L9 605 No HUs have been transferredfor material xxx. Any hel
-
Hi All The last time l used Premiere cs4 was 4 days ago, without any problem. Today l went to start PP, a message popped up saying Ädobe Premiere Pro was unable to communicate with the process Ïmporter Process Service"restarting your computer may fix
-
Maybe this is a silly question but I just cannot get an answer. Is it possible to define a footer area which will always appear at the bottom of the window (page) independently of the size of the window? When this is possible how do I make / create s
-
Hi all, iam trying to create Z data source by using view . first i created view name Z_VIEW. next when iam creating data source (ZVBAK_VIEW) by that view iam geting error like this invalid extract structure template Z_VIEW of