Creating output for smartforms in VF02.
Hi,
I am working on billing invoice Smartform through VF02.
Now, to define outputs I am going to VF02->GOTO->header->Output.
There I am trying to define a output say ZS00 which I initially defined in NACE transaction output type.
But I am not able to define some outputs in VF02, it says ZS00 not defined.
Is there some method to do that (something like genrating output before putting it there)
Hi Tushar,
I think you have not assigned ur O/P(ZS00) to the O/P procedure.
Do the following :
T/code "NACE"--> Application V3-Billing >Procedure> Select your procedure (Ex: V40000)>ControlAssing your O/P ZS00 here.
<u>IF You have not assigned ur O/P(ZS00) to the O/P procedure
then this O/PZS00) is not avialable for O/P selection.</u>
Hope this will help you.
Lanka
Please assign the reward points to those answers helped you.
Message was edited by: Lanka Murthy
Similar Messages
-
Creating pageformat for smartform
hi everyone,
i want to create a new page format for smartform,can any one help me out inthis.
thanks.Hi ,
In smartforms we can switch between Portrait and Landscape formats in the tab "OUTPUT OPTIONS"
In the FORM ATTRIBUTES, "OUTPUT OPTIONS" tab we can select the type of page format, Characters per inch, lines per inch etc.
Hope this solves your query.
Reward points if useful.
Thanks,
Mohammed -
BAPI to create output for invoice
Hi
I want to create an output (or repeat output) for an invoice, and been looking in SAP, on SDN, Google etc. for finding a BAPI that can manage that.
I have not been able to do that, so I have created a Batch Input - but it is really slow.
Does anybody know if there is a BAPI to do that - and maybe an example.
Thanks,Hi ,
To create a Output or Send data to external system thorugh BAPI is not easy.
Through application we can trigger output.
On this cases we have changes pointers concept try to check it.
This is the BAPI 'BAPI_INCOMINGINVOICE_CREATE' to create a Invoice.
Prabhudas -
T code for creating font for smartform
Hi All,
please give the transaction for creating <b>FONT</b> which is to be used in smartforms.
Regards
Anil Kumar Khi anil,
goto transaction 'SMARTSTYLES' from the control bar .
in here u an set the font family , font size ,font style like bold, italic etc.
after setting the font use the same in smart forms .
note: assign the same in the transport request of the smart form cause if the release status is gone wrong then the font will cause problems.like if u r familiar with scripts u will understand..
vijay. -
How can i get belo output for smartform
i want output like this for servise tax
item at 50 servise tax 10.20%
but i m getting output like this
item at 50 servise tax 10.00%
if ( t_komv-kschl = 'JSRE' OR t_komv-kschl = 'JSRF' OR
t_komv-kschl = 'JSER' OR t_komv-kschl = 'JSVD' OR
t_komv-kschl = 'JSRC' OR t_komv-kschl = 'JSRD') .
IF t_komv-kschl = 'JSRE'.
g_percentage = t_komv-kbetr / 10.
ELSE.
g_percentage1 = t_komv-kbetr / 10.
ENDIF.
add t_komv-kwert to l_stax-amt.
l_stax-item_no = t_komv-kposn.
l_stax-amt = t_komv-kwert.
l_stax-per = t_komv-kbetr / 10.
append l_stax to it_stax.
ENDIF.
IF ( ( g_percentage IS NOT INITIAL AND
g_percentage1 IS NOT INITIAL ) AND
( t_komv-kschl = 'JSRE' OR t_komv-kschl = 'JSRF' OR
t_komv-kschl = 'JSER' OR t_komv-kschl = 'JSVD' OR
t_komv-kschl = 'JSRC' OR t_komv-kschl = 'JSRD') ).
g_mul = g_percentage * g_percentage1.
g_percentage3 = g_percentage + ( g_mul / 100 ).
l_stax-per = g_percentage3.
append l_stax to it_stax.
clear : g_percentage, g_percentage1.
ENDIF.
thanks in advanced.Hi,
You take Tax as
Data: Tax type P(c.2).
Then you will get as per your requirement.
Thannks,
Rani. -
Creating output type for issuing print
hello friends
can anybody tell me the process or steps to create output type to issue printHI.
Goto NACE transaction.
Select the application for whch you want to create the output type. For ex. select v3 for invoice.
Click on 'Output Types' button on application toolbar.
Click on 'New Entries'.
Click on Processing Routines on the left-side to enter the driver program and SAPscript/Smartform name.
Regards.
Jay -
How change smartform standard output for SC?
Hi gurus!
I've created a new smartform ZBBP_SC as copy of standard smartform. I need display Z Smartform when the users click on print button. I know to customize PO, BID, ... outputs but i don't find for SC in SPRO.
Would it be necessary customize output in SPRO? Do i have to create a new its (BSP) for transaction bbpsc01?
Thank you very much in advance,
MenenaHi Menena,
Go through the following links:
Re: BADI to call SMARTFORM
Customizing BBP_SC smartform
Custom Shopping Cart Smartform..
Hope this helps.
Thanks,
Pradeep -
Can i Create Output Variable for DB Polling in BPEL 11g?
Hi Team,
I want to create the Output Variable for DB Polling,But when i double click on Reply Activity-->Create New Variable it is giving error message like "Can't Create output variable.The Selected operation doesn't have an Output Message".
My Question is Can we create Output Variable for DB Polling, if Yes tell me the procedure to create the Output variable ?
Regards,
KiranHi Kiran,
In these scenario generally runtime faults occurs so you can use the CatchAll activity and rethrow activity to complete the instance in error state. Also before the completion of the process if exception occurs you can rollback all the transaction.
or
you can use the Fault handling framework:
Using Fault Handling in a BPEL Process - 11g Release 1 (11.1.1.7)
Regards,
Anshul -
Create coustom page size for Smartforms
Dear All
How to create coustom page size for smartforms.
rgds
pramodHI
To define a new page format, choose
Administration -> CCMS -> Print->® Spool Administration.
Choose Full Administration and then Page Formats on the Device Types tab page. On the next screen choose Change and Create or Create with Reference. Fill out the fields on the next screen.
Activating a New Page Format
Before using a new page format, you must specify it as a page format in a SAPscript form. Be careful when replacing a page format in a standard SAPscript form as the form may not necessarily fit on the new page format.
You also have to define a format and device type format for the new page format before you can use it.
Thanks and Regards
Santosh Kate -
Creating output type for MB01,MB1B & MB1C for IDOC
Dear Exoerts,
Here scenarion is client using interface at front end.Which provides backup data from SAP.
Can anybody guide to Create output type for transactions MB01,MB1B & MB1C.It is going to use for IDOC creation.Client wants Inventory program at front end system.
Waiting for your reply.Hi,
Please check below link in this regard. Thanking you.
http://help.sap.com/saphelp_45b/helpdata/en/52/16ac64543311d1891c0000e8322f96/frameset.htm
Edited by: Padmasri Garapati on Nov 30, 2011 3:14 PM -
Configuration output type for VL02N - creating output type
Dear Sapguru,
I want to configure output type for VL02N transaction for IDOC creation,Here scenario is to connect SAP to third party system in IS retail.
VL02N- Output type configuration In only return delivery case.
Can anybody guide step by step cycle configuration for output type.Looking forward for your quick reply.
Note: Output type required for IDOC,to communicate with third party system,not for print function.
Thanks.Dear Anup,
If my understanding is correct,
This seems to be a outbound Idoc scenario where Idoc will be sent by SAP to third party for a return delivery notification.
Output type configuration steps are as follows :
1) Identify the standard output type (Application - V2, Transmission Medium - 6 ) for e.g. LAVA which is very close to your requirement.
2) Use this output type as a reference & create a copy output type of your own.
3) Use a suitable access sequence or create your own access sequence as per your requirement.
4) Assign access sequence to the output type.
5) Maintain output determination procedure (connect your output type to a suitable procedure )
6) Assign output determination procedure. (to your delivery document type)
7) Maintain required output condition records through T Code - VV21 against your newly created output type.
8) Set up the partner profiles as per your requirement (T code - WE20)
9) Check the reflection/ effects of your new output setup at the delivery document level (VL02N).
You may quickly access these settings through T codes - NACE.
Tables - TNAPR, NAST
Hope it will help you in the set up.
BR,
Anubhav -
12.1.1 PO Output for Communication errors all POs created after upgrade
Hi All -
We are in the middle of upgrade testing and have encountered a critical issue with "PO Output for Communication (POXPOPDF)." All POs created after the upgrade are completing with error. We are able to generate pdf output for POs generated in 11.5.10.2 before the upgrade. This error is occurring even with seeded "PO_STANDARD_XSLFO.xsl" template as well.
The log file has the following message towards the end.
getArchiveOn(): APPROVE
getArchiveOn()=APPROVE m_viewOrCommunicate=Communicate
getArchiveOn(): APPROVE
After calling genDocThu Jan 28 12:51:47 EST 2010
Adding the blob to vector
java.lang.NullPointerException
rolling back the complete program
PO is getting archived properly, so it is definitely an issue with document generation. We have had a SR logged for over three weeks, but there has been not much progress on this. Support has logged a new bug for this. We are unable to view bug transcript, so I am not certain as who is working this bug.
Any help or pointers will be much appreciated.
Thanks
AbhishekPl see if MOS Doc 433600.1 (PO Output for Communication Fails When Item Description Contains Special Characters) is relevant in your case. The error message is similar to your case.
HTH
Srini -
PO Output for Communication doesn't work for POs created from a requisition
Hi gurus,
When I create a PO using the standard PO form, I have no problem generating the xml tags in the log file when I run the PO Output for Communication (using Debug option).
When I create a requisition from Iprocurement, it automatically generates a PO. If I run the PO Output for communication for this PO, it gives me a bunch of gibberish data in the log file. like little squares and symbols.
Can anyone help me on this. We are using R12.
Thanks in advanced!This Program "PO Output for Communication" does effects in other parts.
I mean that this program actually sends an email (or fax or print) along with the PO in PDF attachment or in the TEXT format.
This program does other part than the above mentioned point also.If yes then provide me the information in which other parts this program effects.I believe it is only the part you mentioned above.
PO Output for Communication
http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443960.htm#srs.poxpopdf
PO Output for Communication Search
http://www.oracle.com/pls/ebs121/search?word=PO+Output+for+Communication&format=ranked&remark=quick_search
Thanks,
Hussein -
Convert spool (which is for smartform output) to PDF?
how to Convert spool which is for smartform output to PDF?
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF' is not working for smartform output,
if i use this there will be error spool not contain list output?
than whats the function module or way to convert spool contain smartform output to pdg?
regards,hi,
use this instead
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZNAK_SMARTFORM_CORRESPONDENCE'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = func_name
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.
printer-getotf = 'X'.
printer-no_dialog = 'X'.
CALL FUNCTION func_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = printer
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
validity = ls_smart-validity
lifnr = ls_smart-lifnr
name1 = ls_smart-name1
pstlz = ls_smart-pstlz
regio = ls_smart-regio
stras = ls_smart-stras
smtp_addr = ls_smart-smtp_addr
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = printer1
JOB_OUTPUT_OPTIONS =
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.
t_otf[] = printer1-otfdata.
DATA gt_tline like TABLE OF tline occurs 0 with header line.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
bin_filesize = w_file
TABLES
otf = t_otf
doctab_archive = gt_docs
lines = gt_tline
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 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. -
How to Convert spool which is for smartform output to PDF?
how to Convert spool which is for smartform output to PDF?
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF' is not working for smartform output,
if i use this there will be error spool not contain list output?
than whats the function module or way to convert spool contain smartform output to pdg?
regards,<b>Procedure</b>
When we activate the Smartform the system generates a Function Module. The function module name we can get from Smartfrom screen from menubar
Environment => Function Module_Name . In a report we can get this Function module name by calling a Function Module standard SSF_FUNCTION_MODULE_NAME. This function module at runtime calls the FM generated by smartform, which in turn is then used to pass data from the report to Smartform. In the report given below the FM generated is /1BCDWB/SF00000152 . In this FM we can see CONTROL_PARAMETERS in import tab. This is of type SSFCTRLOP. We need to set the GETOTF of this to be X. Setting this field will activate the OTF field in smartform.
In export tab of the FM generated by smartform we can see a parameter JOB_OUTPUT_INFO which is of type SSFCRESCL. The SSFCRESCL is a structure of having one of fields as OTFDATA. OTFDATA in turn is a table of type ITCOO. ITCOO has two fields TDPRINTCOM and TDPRINTPAR. TDPRINTCOM represents command line of OTF format data and TDPRINTPAR contains command parameters of OTF format data.
In every Smartform output in OTF format, TDPRINTCOM begins and ends with //. EP represents the end-of-page value for TDPRINTCOM field.
In addition we need to set few fields at the place where we call this FM(generated by smartform) in our program. While calling this FM we should set control_parameters, output_options, user_settings and job_putput_info fields as shown in program.
Once these settings are done we can call Function Module CONVERT_OTF to convert the OTF data of smartfrom output to PDF data format. Once these are done we can call method cl_gui_fronted_services=>file_save_dialog to specify the directory path where we want to save the output PDF file. After this we can call Function Module GUI_DOWNLOAD to download the PDF file on our local system.
<b>Here is a sample code of program to perform the function.</b>
SAMPLE CODE
[code]*&---------------------------------------------------------------------*
*& Report ZAMIT_SMART_FORM_PDF *
REPORT ZAMIT_SMART_FORM_PDF .
data: carr_id type sbook-carrid,
cparam type ssfctrlop,
outop type ssfcompop,
fm_name type rs38l_fnam.
DATA: tab_otf_data TYPE ssfcrescl,
pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE,
file_size TYPE i,
bin_filesize TYPE i,
FILE_NAME type string,
File_path type string,
FULL_PATH type string.
parameter: p_custid type scustom-id default 1.
select-options: s_carrid for carr_id default 'LH' to 'LH'.
parameter: p_form type tdsfname default 'ZAMIT_SMART_FORM'.
data: customer type scustom,
bookings type ty_bookings,
connections type ty_connections.
start-of-selection.
***************** suppressing the dialog box for print preview****************************
outop-tddest = 'LP01'.
cparam-no_dialog = 'X'.
cparam-preview = SPACE.
cparam-getotf = 'X'.
select single * from scustom into customer where id = p_custid.
check sy-subrc = 0.
select * from sbook into table bookings
where customid = p_custid
and carrid in s_carrid
order by primary key.
select * from spfli into table connections
for all entries in bookings
where carrid = bookings-carrid
and connid = bookings-connid
order by primary key.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting formname = p_form
* variant = ' '
* direct_call = ' '
importing fm_name = fm_name
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.
exit.
endif.
* calling the generated function module
call function fm_name
exporting
* archive_index =
* archive_parameters =
control_parameters = cparam
* mail_appl_obj =
* mail_recipient =
* mail_sender =
output_options = outop
user_settings = SPACE
bookings = bookings
customer = customer
connections = connections
importing
* document_output_info =
job_output_info = tab_otf_data
* job_output_options =
exceptions formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
* error handling
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
tab_otf_final[] = tab_otf_data-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
IMPORTING
bin_filesize = bin_filesize
* BIN_FILE =
TABLES
otf = tab_otf_final
lines = pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 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.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
* EXPORTING
* WINDOW_TITLE =
* DEFAULT_EXTENSION =
* DEFAULT_FILE_NAME =
* FILE_FILTER =
* INITIAL_DIRECTORY =
* WITH_ENCODING =
* PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = FILE_NAME
path = FILE_PATH
fullpath = FULL_PATH
* USER_ACTION =
* FILE_ENCODING =
* EXCEPTIONS
* CNTL_ERROR = 1
* ERROR_NO_GUI = 2
* NOT_SUPPORTED_BY_GUI = 3
* others = 4
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*************downloading the converted PDF data to your local PC********
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin_filesize
filename = FULL_PATH
filetype = 'BIN'
* APPEND = ' '
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
IMPORTING
filelength = file_size
TABLES
data_tab = pdf_tab
* FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
IF sy-subrc <> 0.
ENDIF.
[/code]
Thanks and Regards,
Pavankumar
Maybe you are looking for
-
Why can't I download Photoshop CC(2014) to my Mac Pro desktop running OSX 10.9.3. My Creative Cloud app shows updates for all apps that I have as CS6 on my desktop but I have only subscribed to Photoshop CC. Lightroom shows Install but it is instal
-
What happened to list view?
The new iTunes doesn't give me list view anymore without album covers. I know have to scroll about ten times more screen space to get through my track list. Arrrgh! How do I get it back to the normal list view?
-
Select tag not working in portal
hi all, i have a dynamic select (drop down) in my jsp page flow portlet.when i run the portlet the page is rendered perfectly,but when i run it with the portal ,it is not rendering the jsp page.what could be the problem... code of dynamic select is a
-
Database can't be started (Error coming)
Hello to all Forum Members, I am using Oracle 9i Database. My database is not starting and unknown error is coming and not any user can login. When any user log in this mesage appears: ERROR: ORA-01033: ORACLE initialization or shutdown in progress W
-
Anyone know the best Flash version for the Samsung t210 tablet?
I'm trying to load in an archived version and there a lots of choices. Thank you