‎2007 Jul 05 11:54 AM
Hi SDN Friends!
I had this question.
Given a SAP Script or SMART Form ... how do we identify (table names?)
The Print program associated with them? Also, how does that concept differ from PDF forms?
Any body can answer please........
Markiv
‎2007 Jul 05 11:59 AM
Hi Mark,
We can findout the program names by using TNAPR and TTXFP tables.
If we want to display the output in PDF fomrs then by using the FM 'CONVERT_OTF' it is possible.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.
‎2007 Jul 05 11:59 AM
Hi Mark,
We can findout the program names by using TNAPR and TTXFP tables.
If we want to display the output in PDF fomrs then by using the FM 'CONVERT_OTF' it is possible.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.
‎2007 Jul 05 11:59 AM
Hi
In different modules different types of assignment is there for printing these outputs
IN SD and MM we use the Tcode NACE to assign the Output type , Program and Script/smartform for which we find the entries in TNAPR table
So we copy the scripts/smartforms and attach them in the NACE and execute the output from the respective transaction
SALES ORDER
Output type : BA00
ScriptForm Name : RVORDER01
Driver Program Name : RVADOR01
smartform name
DELIVERY NOTE
Output type : LD00
ScriptForm Name : RVDELNOTE
Driver Program Name : RVADDN01
smartform name : LE_SHP_DELNOTE
Smartform Driver Pgm: RLE_DELNOTE
INVOICE
Output type : RD00
ScriptForm Name : RVINVOICE01
Driver Program Name : RVADIN01
smartform name : LB_BIL_INVOICE
Smartform Driver Pgm: RLB_INVOICE
MM
PUCHASE ORDER
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
smartform driver program: /SMB40/FM06P
FI Forms
Account Statement : F140_ACC_STAT_01
Cheque Printing : F110_PRENUM_CHEK
Balance Confirmation: F130_confirm_01
Reward points for useful Answers
Regards
Anji
‎2007 Jul 05 12:14 PM
Hi
Can Any body tell about more on Adobe Forms..
Thank you,
Mark..
‎2007 Jul 05 12:23 PM
hi,
Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
It is impossible to make a blanket statement on what needs to be done in each of the applications using a form for output. Despite the same underlying technology, forms handling has always been a decision for each SAP application: Some do it through customizing, some through coding, some in yet anither way.
What I CAN say from a technology pespective is that all applications are in the process of creating their forms based on Interactive Forms so that by 2007 pretty much all SAP forms will be PDF-based. Obviously, each application does it within the framework of their application - but they all use Interactive Forms.
By the way, be aware that in ERP 2004 this forms solution is subject to a limitation for high-volume printing scenarios as we cannot ensure that ALL customers will be content with the performance in ALL scenarios with this release. (see SAP Note 863893).
creating :
To get an overview idea about Adobe forms ,
Using SFP , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
Create the context and layout in the form.
The layout generated can be previewed and saved as PDF output.
Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
On activating and executing the form you will get a function module name just similar to smartforms.
The driver program needs to call this FM.
Refer to the below sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 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.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
use link
http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
regards,
Prabhu
reward if it is helpful
‎2007 Jul 05 12:45 PM
I need to know mainly the given SAP Script or SMART Form ... How do we identify (table names?) related to that..... And How The Print program is associated with them? Also, the same how does that concept differ from PDF forms based Adobe Forms?
Any body can answer please........
‎2007 Jul 05 1:07 PM
2nd question:
- Sapscript
Print program is associated with sapscript by calling that sapscript 'elements'.
- Smartforms
Print program will call FM
SSF_FUNCTION_MODULE_NAMEto get the form name, and then call that smartform as function module.
Like this:
[code]
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lc_form_name
IMPORTING
fm_name = l_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.
ENDIF.
CALL FUNCTION l_fm_name
EXPORTING
header = g_header_manifest
non_productive_banner = g_non_productive_banner
TABLES
summary_tab = t_summary
detailed_tab = t_detail
hazard_tab = t_hazard
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.
‎2007 Jul 05 1:15 PM
for smartforms:
Table Name Short text
STXB SAPscript: Texts in non-SAPscript format
STXBITMAPS SAPscript Graphics Management
STXFADM Smart Forms: Administration
STXFADMI Smart Forms: Administration - Interal Info
STXFADMT Smart Forms: Administration - Textual Desc
STXFCONT Smart Forms: Form Subobjects (Active)
STXFCONTR Smart Forms: Runtime Objects
STXFCONTS Smart Forms: Form Subobjects (Saved)
STXFCONTV Smart Forms: Form Subobjects - Versions
STXFIMP Smart Forms: Generate at Upgrade
STXFOBJT Smart Forms: Subobject Long Texts
STXFSTDPAR Smart Forms: Default Parameters
STXFTXT SAP Smart Forms: Texts
STXFTXTA SAP Smart Forms: Texts - Administration
STXFTXTV SAP Smart Forms: Texts - Versions
STXFVAR Smart Forms: Variants
STXFVARI Smart Forms: Variants - Internal Informati
STXFVART Smart Forms: Variants - Textual Descriptio
STXH STXD SAPscript text file header
STXITFD SAPscript Verification: ITF data table
STXITFR SAPscript Verification: ITF reference tabl
STXL STXD SAPscript text file lines
STXOTFD SAPscript verification: OTF data table
STXOTFR SAPscript verification: OTF reference tabl
STXRDID SAPscript: Raw Data Interface - Data Table
STXRDIR SAPscript: RDI - Reference Table for Test
STXSADM Smart Styles: Administration
STXSADMT Smart Styles: Admimstration - Description
STXSCHAR Smart Styles: Character Formats
STXSFPATT Smart Forms: Pattern for Tables
STXSFREPL Smart Styles: Replace Font
STXSHEAD Smart Styles: Style Header
STXSOBJT Smart Styles: Texts for Paragraph and Char
STXSPARA Smart Styles: Paragraph Formats
STXSTAB Smart Styles: Tabs
STXSVAR Smart Styles: Variants
STXSVARL Smart Styles: Language Assignment of Varia
STXSVART Smart Styles: Variants - Textual Descripti
STXTRACE Smart Forms: Trace (Data)
STXTRACEHD SAP Smart Forms: Trace (Administration)
STXTRCUSR SAP Smart Forms: User-dependent Trace Sett
STXXFILTER Filter for Logging SAP Script Texts
nothing go to se11 , enter STX* press F4 , all the tables are related to smartforms,SAP script texts and smart styles.
hope it will help.
regards,
Prabhu
reward if it is helpful.