How find program to smartform
Hi,
If I have given smartform how could i check which program w se38 is connected with it and in which it is created?
Regards,
Joanna
Hi,
If ur smartform attached to some Y or Z driver Program, then it is difficult to find out. Becauce FM for Smartform is changed at runtime. Our Y or Z Program get current FM for SmartForms by FM 'SSF_FUNCTION_MODULE_NAME'.
In table TPANR, U can find those smartforms & Program names which are attached with some output type.
And also look at the transaction code NACE, there you can find the Driver program and also the samrtform name under the output type
Regards
Sudheer
Similar Messages
-
How 2 find program for smartform
how 2 find program for smartform
Hi,
go to TNAPR table and find the driver program for the layout.
give the layout name, if you know the output type also give it.
OR
go to se71 and go to the layout , check the text elements syntax then it will show the possible driver programs in the window to choose.
that way you can find..
Or else...
Go to the Tcode -> NACE
OR
Go to the T-code 'SMARTFORMs'
Give your form name
go to the general attributes.
Check the Package name.
then go to T-Code-> SE80
there check the program name for a package wise
Regards,
KK
Message was edited by:
Kishore Kumar Karnati -
How to find the standard smartform,sap scripts and theur driver programs
Hi friends,
can any one tell me how to find the standard smartforms and their driver programs and same for scripts also.
bye
sasiHi sasidhar,
1. Either standard or Y sapscript layouts,
we can check their standard programs
in this manner also.
2. goto se71
open the layout in DISPLAY mode.
3. FORM------> CHECK -
> TEXTS
4. a small window will come.
click ok (tick button)
5. Again a new window will come
which will list out all the DRIVER programs,
which use this layout.
regards,
amit m. -
To find print program for smartforms.
pls tell me how to find print programs for smartforms.pls tell me with all steps.clearly.i tried with tanpr table but unable to find
hi,
Please take a look at the NACE transaction where all the output conditions will be configured. Drill down into you specific application and you should be able to find the print program as well as the smart form name.
Steps..
Use NACE and follow procedure as follows
1)Choose Application from list(eg PO)
2)Click OP type
3)Chose one OP type from Right pane.
4)Click on processing routines
and you got it
regards,
keerthi -
How do we call smartforms in abap program or web services
how do we call smartforms in abap program or web services
How many types of smartforms are there?
points will be rewardedHi
See this sample program
Using the fun module smartform is called from the program
Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
<b>call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'</b>
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function <b>FM_NAME</b>
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
GS_MKPF = INT_MKPF
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.
<b>Reward points for useful Answers</b>
Regards
Anji -
How can we find out how many programs are stored in a percticular package
Hi,
I need to find out how many programs are stored in aperticular package.
For example we are having one package in our project. I need to give all saved programs details into this project. How can we find this.
Thanks in advance.Hi,
From TADIR table we can find out.
Regards,
Jyothi CH. -
How to write print program for smartforms
Hi all
I need to develop new smartform and its print program.
But Im not experience in writing print program for smartform.
Ive gone through the simple print program sample that use only one table as input and one table for output.
But my smartforms require few tables for input and output.
How should I define the Data?
Can anyone guide me on how to write it.
Thanks & Regards
azTransaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
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
GS_MKPF = INT_MKPF
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.
Reward points... -
How to get standard program ,script,smartforms all from sap
hi friends
how to get standard program ,script,smartforms all from sap.
thanks®ards
BabasishHi,
reports:
goto se38
all programs not starting with y or z will be sap std programs only
same for se71 scripts
samse for smartforms
but the use of those will be known when you see the documentation
for each programme
for std programs there will be documentation available so that you can understand
why they have developed that object
thanks & regards,
Venkatesh -
How to get source programe for smartform
hi
i want to know source programe for smartform.
thanks .hi,
1. Go to the smartforms transaction.
2. Chose from menu Environment->Function Module.
3. Note the name of the fm.
4. Go to se37.
5. Place the cursor on the Fm name and do a where-used-list.
6. You will find the programs which use that fm.
or you can find it in NACE transaction
or in the table tnapr.
Rgds
Reshma -
How ti find the correspoding smartform?
hi experts,
I have an FM /1BCDWB/SF00000139 like this .How to find the corresponding smartforms name for it?
regards
maniHi
I understood your problem in your system generated Function module this is your smartform number 00000139 which represents to the particular smartform which u have created now. The system will identifies with this number 00000139 so in your report while calling for a smartform u can use this
Check in this tables U will get solution
STXFADMI
RS38L_FNAM
TCMS_SMT_FRM
Regards
Pavan -
How to find Printprogram for Smartform.
Hi,
I want to see the print program(Executable program) of the Smartform. We have one Smartform, when we activate smartform it will generate one FM. that function module is called Dynamically. How can i know which program is calling that function module.
Regards,
Nagesh.Hi
You can't do it.
If your print is std, you can try the link in TNAPR table if you know the message type.
If your print is custom, you should know the program.
The print program for smartform has usually a code like this to run SM:
DATA: formname type tdsfname value 'ZMY_SMARTFORM',
fm_name type rs38l_fnam.
Here get out the mane of fm of sf
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = formname
importing
fm_name = fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
exit.
endif.
Here run the sf
call function fm_name
Max
Message was edited by: max bianchi -
How to find Program Name by Recording name
Hi,
How o find program name ? for example i have recording(SHDB) name is:ZVA01REC.
i want to find the respective porgram for that recoring?
Thanks and Regards,
Anu.Hi Anitha,
"No it's showing standard program name like:SAPMM06E
but actual program name is:ZBDCME22."
SAPMM06E is the program the recording runs
ZBDCME22 must be an additional program that someone must have created for running the recording.
There is no way for u to find a program for a given recording (this is only a one way trafic; recording -> program create; not visa versa)
your best bet would be that search in se38 for programs starting with ZBDC* and then check the short text. may be the person who made it was kind enough to update the short text with teh recording name.
Hope this was of some help.
Regards,
Sagar.
Edited by: Sagar Mehta on Nov 12, 2008 10:00 AM -
How to design a smartform with below tables and table-fields??
How to design a smartform and driver program using this tables and table fields
FIELD DESCRIPTION TABLE-FIELD
Tax Invoice No: vbrk-vbeln
Code vbpa-kunnr where parvw = RG
Ship To vbpa-kunnr where parvw = WE
PAN No J_1IMOCUST-J_1IPANNO for WE
ECC ,,
Range ,,
Div ,,
Excise Reg No ,,
LST No ,,
CST No ,,
Invoice No: vbrk-vbeln
Do No: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZDO'
Sales Doc Num: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZSO'
PO: vbkd-bstkd where vbeln = sales doc no
Delivery No: select vbelv from vbfa where vbeln = inv no and vbtyp_v = J
Goods Removal Dt&Time: select vbeln from vbfa where vbelv = dlv no and vbtyp_v = R Put this vbeln in mkpf and get BUDAT and CPUTM
Selection screen parameter should be : vbrk-vbeln.Hi,
First design your form interface, this is the set of fields that you need to display in your form and create this as a structure in SE11. In your print program code the logic to extract the data into this structure, this is just regular ABAP, nothing special here.
When you have your data call function module SSF_FUNCTION_MODULE_NAME to determine the name of the generated smartform function module. Then call this function module, passing the data collected into your structure. If necessary you will need to find the print parameters required and pass these too.
In your smartform you will need to use the data structure you created in SE11 as the smartform interface and design the layout required to display these fields.
Regards,
Nick -
STANDARD PROGRAM FOR SMARTFORMS
hi all,
i have problem in finding standard program for <u>std. PO Smartforms</u> i.e /SMB40/MMPO_A (purchase order).
i have checked in table TNAPR. i dint find. can anyone help finding the std. program name.
regards,
thanks in advance.Hi,
Yes, there is standard smartform for PO (pre-configured forms) but you have to import package :/SMB40
PO Form: /SMB40/MMPO_L
Print Program: /SMB40/FM06P
See the note 595812: it explain how to download the preconfigured smartforms.
Anyway this is an extract of that note:
Detailed information can be accessed at the site:
http://service.sap.com/preconfiguredforms OR
http://service.sap.com/smb/development/preconfiguredforms.
To download preconfigured smartform package, please:
1. Go to http://service.sap.com/installations, select tab "download".
2. On the right hand side screen, locate navigation tree node
SAP Software Distribution Center->Download->Installations and Upgrades->
Entry by Application Group.
3. In the main window (right hand side), follow the path
SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
SMART FORMS, you can find available preconfigured smartform versions.
Here you can also download the PO smartform.
Hope this will help.
Regards,
Ferry Lianto -
How to Attach a Smartform to a BOR method
Hi Friends,
I had a query How to Attach a Smartform to BOR method.To attach a customized Smartform to a Customized BOR Object.Hi,
In the BOR object, create a method say display_SF. Now in the ABAP properties for that method give "OTHER" option.
Now in the BOR object, you can find the program which is used. Inside that program, You need to write the code to fetch the required data (ONLY BASIC REQUIRED DATA WILL BE ENOUGH) and call the smartform by passing all the print parameters and all the required data for that smartform.
Now inside the smartform, with imported required data, you can write all the logic and data fetch etc for the printouts.
The following sysntax can be used to fetch the required data into the method and can use to pass the same while calling the smartform.
SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.
Regards,
Harish
Maybe you are looking for
-
This is probably covered somewhere else in this forum, but I couldn't find my particular problem after searching several posts I tried solutions given for similar problems, but they haven't solved mine. Like many users, I tried to move my itunes fold
-
Using a backed-up iPhoto Library - HELP!!
Hi all. I'm looking for some guidance on how to recover photos that were recovered from a failing hard drive. My wife had a collection of digital photos that were originally imported in to Aperture 2.0. A while later, she started using iPhoto 09 for
-
Macbook pro "breaks" wireless network
greetings, whenever i'm home, i use my macbook pro to connect to our wireless network, a network that is usually only used by PCs (one running Network Magic). However, whenever i connect, it works great but sporadically it will "break" the network, c
-
Is it possible to align output text to the console? I'm printing a UI to the console which gives users the ability to select an option System.out.printf("*********************%n"); System.out.printf("Welcome to the system%n"); System.out.printf("Plea
-
Need to refreshing/clear browser cache after every updating of my site???
Is it some feature in Muse that could force browser to check if site was updated? Always after updating site, visitors who were on site before, getting blanding pictures of old&new site. Its not pleasantly to always ask clients to press F5