Functional module name of smartform
Hi,
I have created a smartform and generated it.
what will be the name of the Functional module?
how to use it in abap
Thanks,
Mounika.
hi,
Use
You trigger form printing by calling as few as two function modules. The first module uses the name of the form to determine the name of the generated function module. Then you call this module.
The name of the generated function module is unique only within one system. Therefore, you must always call that function module first that uses the form name to determine the current name of the generated module.
Prerequisites
You defined the form interface in your form and activated the form.
Procedure
In the Form Builder call the function Environment ® Name of the function module and use STRG-Y and STRG-C to copy its name.
In the application program define a variable of type RS38L_FNAM for the name of the generated function module:
data fm_name type RS38L_FNAM .
You can call the Smart Form in other parts of the application program as well. However, in that case you must make sure that the system can access the data to be passed from that location. We recommend to encapsulate the data retrieval in a function module as well.
If desired, you can call the function module SSF_FIELD_LIST . It returns a list of the form parameters actually used in the form. You can use this information to limit data selection, if necessary.
Call function module SSF_FUNCTION_MODULE_NAME . It returns the name of the generated function module:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = '
ENDIF.
If the form is not active, SSF_FUNCTION_MODULE_NAME triggers the exception NO_FORM . There are two cases in which the function module generates an active version by itself:
After a transport into another system
After you changed the form interface of a previously activated form
Call the generated function module. To do this, use the Insert Statement function for CALL FUNCTION in the ABAP Editor and use the name you copied in step 1 (to avoid having to copy all interface parameters manually). Then replace the function module name with the variable fm_name defined in step 2.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
G_CARRID =
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GT_SBOOK =
ENDIF.
In this example, three variables and an internal table are passed. The parameters G_CARRID , G_CONNID , G_FLDATA , and GT_SBOOK have been defined before in the form interface.
In the interface, pass all data you want to transfer to the form.
Result
The generated function module processes the form logic defined in the Smart Form. Its output is sent to spool processing.
As long as you do not change the form interface, you can make any changes to the form. When you activate it again, the system generates the current version of the form as soon as you call the function module. Only if you change the form interface, you must adapt the interface in the application program.
plzz reward if this information is usefull to u....
plzz dont forget to reward
Similar Messages
-
Function module name for routing fom production orders
Function module name for routing fom production orders
Hi
There are lot of fun modules related to routing
like
BAPI_ROUTING_CREATE
BAPI_ROUTING_EXISTENCE_CHECK
goto SE37 Tcode
enter routing press F4
you will get a lot out of that use the required one
Reward points for useful Answers
Regards
Anji -
Function Module Name for Graph
HI,
Can any body tell me Function Module name for creating graph with horizontal scrollable.I dont want standard graph button.
Thanks,
RakeshHello,
Check this standard programs they are using the same FM
RFDOPR20 Customer Payment History
RFVD_COMPRESSION_01_I01
RPRSTA01 Travel Expense Reporting by Period
RPSTA100 Time-Related Statistical Reporting
RPSTA200 Time-Related Statistical Reporting
RPSTA2GR
RQALVF16
RQETBI10 Inspection lot selection
RSDB4007 iSeries: Display Wait Statistics by SAP Instance
RSHOST10 Monitor for OS Collector (ST06)
RSORA003 Statistics of Physical Accesses to Oracle Data Base
RSORA007 Statistics of Data Base Wait Situations
RSORA138 IO Stat for Each User Session (ORA7 V$SESS_10)
Check this 3 FM
GRAPH_2D Calling up the 2D business graphics
GRAPH_2D_MENUE DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
GRAPH_MATRIX_2D Calling up the 2D graphics (user-friendly version) -
Need Appointment Function Module Name to Read any Opportunity No.
Hello Gurus
Can anyone tell me the Appointment type Function Module Name where Header_guid and Appt_type are to be supplied .
Means i want to only read(not to change or create) an opportunity no for a particular Appointment type(Date_type). I tried for the following FMs:
1.CRM_APPOINTMENT_READ_OW
2.CRM_APPOINTMENT_DETERMINE_OW
3.CRM_APPOINTMENT_CHECK_OW
thanks in advance
MadhusudanHello Madhusudan,
for the activities you can use the following coding (example):
-Beginn-
CALL FUNCTION 'BAPI_ACTIVITYCRM_GETDETAILMULT'
TABLES
guid = lt_guid
header = lt_header
date = lt_bapibus20001_app_dis.
CALL FUNCTION '/DKVES/SM_ACTIVITY_GETFROMBUPA'
EXPORTING
iv_partner = lv_partner
TABLES
et_contacts = lt_sm_activity_simple.
LOOP AT lt_sm_activity_simple INTO ls_sm_activity_simple.
CLEAR ls_bapibus20001_app_dis.
READ TABLE lt_bapibus20001_app_dis INTO ls_bapibus20001_app_dis
WITH KEY ref_guid = ls_sm_activity_simple-activity_guid appt_type = 'ORDERPLANNED'.
ls_order_aktiv-date_from = ls_bapibus20001_app_dis-date_from.
APPEND ls_order_aktiv TO lt_order_aktiv.
ENDLOOP.
-end-
If you want the other 'one order Objects' you can perhaps modify the selection.
I hope that helps
Torsten -
Hi Experts,
I would like to do initial load of Business Objes (BUPA_MAIN) from R/3 to CRM. How to find the functional module name.
Thanks in AdvanceHi,
I"m sorry but I didn't get your question. If your question was about the extractor function module which will be called on the R/3 when the initial laod takes place,you can goto the table CRMSUBTAB on the R/3 and check for the respective Function module name for BUPA_MAIN.
Furthermore you can go to the transaction R3AC1 in CRM and look for the details of the adapter object BUPA_MAIN<see all tabs>
Regards, -
Where to define remote function module name in RFC adapter
R/2(IDOC) <->XI <-> R/3 (RFC)
I can only define remote server information in RFC receiver adpater, but where to define the function module on remote server?Hi,
the communication channel need the request in an specific xml format.
Part of this format is the function modul name.
when you use an imported rfc module you have automaticly the right xml format which the communication channel understand.
the Communication channel need as root tag the function module name
like:
<ns0:Z_MY_FUNCTION xmlns:ns0="urn.sap-com:document:sap:rfc:functions">
so it is with xslt mappings (for example) as well possible to call a rfc modules without importing it into your repository.
regards,
Robin -
Tell me the function module name
Hi ,
By using material in MSEG table I need to get BOM field from MAST table. Then using that BOM I have to retrieve BMENG from STKO table and POSTP (item category) in STOP table and here I need to search table STPO with BOM#; retrieve component quantity from field STPO/MENGE for all materials with Item category N
I can do the above things by using select for all entries
But One function module is there to do all these things..
Can any one tell me the function module name
Thanks,
Navaneethcheck this BOM related
CSAP_BOM_ITEM_MAINTAIN
CSAP_DOC_BOM_CREATE
CSAP_DOC_BOM_DELETE
CSAP_DOC_BOM_ITEM_SELECT
CSAP_DOC_BOM_MAINTAIN
CSAP_DOC_BOM_READ
CSAP_MAT_BOM_ALLOC_CREATE
CSAP_MAT_BOM_ALLOC_DELETE
CSAP_MAT_BOM_CLOSE
CSAP_MAT_BOM_CREATE
CSAP_MAT_BOM_DELETE
CSAP_MAT_BOM_ITEM_SELECT
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_OPEN
CSAP_MAT_BOM_READ
CSAP_MAT_BOM_SELECT
CSAP_ORD_BOM_CREATE
CSAP_ORD_BOM_DELETE
CSAP_ORD_BOM_ITEM_SELECT
CSAP_ORD_BOM_MAINTAIN
CSAP_STOCK_TYPE_CREATE
CSAP_STOCK_TYPE_DELETE
CAVC_I_CHANGE_BOM_ITEM_DATA
CAVC_I_DELETE_BOM_ITEM
Check Above function modules which all related to BOM
And also Check function groups CSAP, CSAI, CSAR, CSBD etc...
Check out the following:
http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
regards,
prabhu
reward if it is useful -
Why we use function module SSF_FUNCTION_MODULE_NAME in smartform driver program?
Forum Search
Use the form below to search the forum content. You can choose to search all content or restrict it to certain forums or dates. Also, you can filter the results by a username or user ID.
Search Forum Content
Search Terms: Search Tips
Category or Forum:
Date Range:
Results Per Page:
Welcome, Clemens Li Help
Your Control Panel Your Control Panel
Your Reward Points Your Reward Points
Your Questions Your Questions
Search Results » Messages: 271 - Search Terms: why we require form interface section in smartform? Sort by:
Pages: 19 1 2 3 4 5 6 7 8 9 10
1. Why we require FORM INTERFACE section in smartform?
Posted on: Sep 12, 2007 10:47 PM, by user: p d -- Relevance: 100% -- Show all results within this thread
Why we require FORM INTERFACE section in smartform?
2. What is the driver program & why we require driver program?
Posted on: Sep 12, 2007 10:48 PM, by user: p d -- Relevance: 17% -- Show all results within this thread
What is the driver program & why we require driver program?
3. Re: form interface in smartform
Posted on: Feb 21, 2006 11:51 AM, by user: Hasmath -- Relevance: 14% -- Show all results within this thread
hard-coded driver program in the tables section. for this u have to define the same structure in the form interface of the smartforms and can use the same structure for sending the data to the smartform ...
4. Smartform: Form Interface
Posted on: Aug 24, 2007 2:34 PM, by user: vivek pandey -- Relevance: 13% -- Show all results within this thread
Hi, If we want to use a workarea/internaltable in the form interface of Smartform of a user defined structure ...
5. Form Interface in Smartforms ?
Posted on: Oct 27, 2006 5:32 PM, by user: SAP BEE -- Relevance: 12% -- Show all results within this thread
ztest ) on the table and print the value : &gs_vbap-total&. I activate the form ...it is fine ...as well as program !! Now , when i do the print preview of the form , It gives an error : Reference ...
6. SmartForms form interface - tables
Posted on: May 18, 2005 2:44 PM, by user: Diliip Gupchup -- Relevance: 12% -- Show all results within this thread
Hi All, In smart forms how to declare our internal table in form interface? By using types in global itried but it is ...
7. Calling thru Form Interface of Smartforms
Posted on: May 4, 2007 3:03 AM, by user: Subhasish Ganguly -- Relevance: 11% -- Show all results within this thread
In a Smartforms, how can I call a internal table thru 'Form interface' which has been declared in the driver program? ...
8. Form Interface in SMARTFORMS
Posted on: Jun 1, 2006 10:56 AM, by user: Rams V -- Relevance: 11% -- Show all results within this thread
Hi There, Is it mandatory to create a custom structure in ABAP dictionary to use it in SMARTFORM interface? regards, Rams. ...
9. Line Types and Table types & Smartform form interface
Posted on: Sep 21, 2005 3:38 PM, by user: Aadarsh K -- Relevance: 10% -- Show all results within this thread
types ?? 2. In smartforms form interface, in the importing parameter, can tables be passed ?? [we use tables parameter generally, but even if passed in export parameter, no error is being given and ...
10. regarding complex section in smartforms
Posted on: Aug 25, 2007 7:49 AM, by user: ravi -- Relevance: 10% -- Show all results within this thread
learning smartforms on 5.0ecc and i got the documents which is showing the complex section but in 5.0 ecc we have no complex section cud u plz let me know where sud i add the contents of the complex section ...
11. why is it that some function module require an endselect
Posted on: Aug 8, 2007 3:40 PM, by user: mathias Mbizvo -- Relevance: 10% -- Show all results within this thread
why is it that some function module require an endselect and some can work without the endselect...
12. Complex section in smartforms
Posted on: Aug 11, 2007 7:29 PM, by user: narendra veduru -- Relevance: 9% -- Show all results within this thread
Hi I am practicing smartforms in 4.7. I have a tutorial based on 4.6c and they have complex section in the nodes. How do i ...
13. form interface using currency fields - smartforms urgent!!!!
Posted on: Aug 17, 2005 1:11 AM, by user: skmysore -- Relevance: 9% -- Show all results within this thread
called function module. what is the error here? How can i correct this to display data into the form? Please help me it is urgent!!! Thanks Santhosh ...
14. why do we activate a program
Posted on: Feb 28, 2007 5:50 AM, by user: Rose -- Relevance: 8% -- Show all results within this thread
hi, why do we activate a program or tables in sap.Though there is a option known as save why do we activate? ...
15. Re: what is form interface and global definitions
Posted on: Jun 5, 2007 8:25 AM, by user: Venkatesh -- Relevance: 8% -- Show all results within this thread
Function modules. and global definitions are the variable or tables declared with in the smartform. we can pass values to the smartform from the driver programme through the form interface. if helpful ...
Pages: 19 [ 1 2 3 4 5 6 7 8 9 10 | Next -
How to change the name of function module ,generated by SMARTFORMS
Dear All,
As you all know, SMARTFORMS generates one function module.
The default name is somewhat like /1BCDWB/SF00000099
instead of, i want to give some specific user defined name.
how to do???Hi,
I think its not possible to give it a user defined name, but you can assign it to a variable and use that variable name instead.
Please see the code below
Data: V_FMNAME type RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = V_FMNAME
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_FMNAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
wa_itab1 = wa_itab1
wa_itab2 = wa_itab2
wa_itab3 = wa_itab3
wa_itab4 = wa_itab4
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
i_itab1 = i_itab1
i_itab2 = i_itab2
i_itab4 = i_itab4
i_itab3 = i_itab3
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.
Regards,
Manish -
Function module / name spaces
Hello all,
I was asked to create a function module with the prefix "ZIST_" in its name. Unfortunately this name is part of the SAP namespace, as the system tells me during FM creation (it would be ok to use "Z_IST_" though). Technically it is possible to ignore the error/warning message and create the "ZIST_" function anyway.
My question now is: can this issue have any bad impact, for example during a release upgrade? If not, if it's ok to use "ZIST_" as prefix, why does the SAP system then popup this warning at all?
Thanks in adavance for your help!
Kind regards, MatthiasTheoretically, SAP could introduce function modules starting with ZIST_ in the future.
I'd say the probability is only slightly larger than zero though, and even smaller for an entire duplicate function name collision by any chance. Your server might rather get struck by lightning. And even if it happens, then you are forced to change your names, should not be the end of the world.
But it remains your risk
Thomas -
How can I debug a Function Module used by smartforms
Hello everyone,
i have a problem with the function module /1BCDWB/SF00000040.
It's a module executed from a smartforms form. I need to debug this
function module while printing an invoice. While printing it should jump
to the place of the function module.
Would be grateful if someone could help me.
Best regards
F. HoppeThis is exactly what i have done last time.
The problem is that the breakpoint does not stay at the same place
when i activate it in the module itself.
Isn't there a transaction you can put breakpoints specific to a FM? -
BAPI function module name and mandatory fields
Give the name of BAPI function module for pricing change into the transaction VA05 ?
What are the mandatory fields ?
Please give a exemple code to do this.Hi,
VA05 is for list of sales order. But if you want to change pricing of material stocks go for follwoing fn module.
BAPI_SALESORDSTCK_PRICE_CHANGE
If you want other BAPI for sales related, just go to SE37, give BAPISALE and press F4, you will get all the BAPI fn modules.
Rewards points if helpful.
Regards,
CS. -
Names of function module names which are useful in credit card payment
can anybody tell me names of function modules present in SAP which are useful in credit card payment processing.......pls its urgent
Hi Ashutosh,
Please check these Function Modules :
CREDIT_CARD_CHECK_CUSTOMERCARD
CREDIT_CARD_COMPLETE_DOCUMENT
CREDIT_CARD_DOCUMENT_SHLP_EXIT
CREDIT_CARD_FIND_DATA
CREDIT_CARD_GET_INSTITUTE
CREDIT_CARD_GET_RCODE_TEXTS
CREDIT_CARD_POST_REFUSAL
CREDIT_CARD_REFUSAL
CREDIT_CARD_CONVERT_FOR_SETTLE
CREDIT_CARD_SETTLEMENT
CREDIT_CARD_SETTLEMENT_RSP
FITP_CHARGE_CREDIT_CARD
FITP_VERIFY_CREDIT_CARD
FITP_READ_PERSONAL_CREDIT_CARD
Hope it helps.
Reward with Points if Helpful.
Regards
Hemant Khemani -
Report to find function module names
Hi all,
My requirement is to get generate a report with the list of obsolete function modules and the SAP recommended function module equivalent to it. i have identified the table to get the obsolete function module . I m not able to get the function module equivalent to tithe obsolete function module.
Thanks
sivaHi Sivaprasath,
U might have referred RODIR table for finding out function modules which are obsolete.
To find the replacement of obsolete function modules check OSS notes in service.sap.com with search string as the name
of the function module.
U will get Related notes where u can get the alternative FM.
Also check the documentation of obsolete FM,Else check the short description.It might be mentioned there itself for Alternative Function Module.
Regards,
Lakshman. -
CALL_FUNCTION_NOT_FOUND, garbage in function module name
Hello group
We had a Disaster/Recovery test this weekend.
We have a sync-ed SAP database on a second server which we activated.
SAP starts OK, normal functionality within SAP works fine, however incoming RFC calls seem to fail consistently.
Dumps CALL_FUNCTION_NOT_FOUND occur, with following details :
Function module "ÃÖmÆæmÇÖÖÄâmÔÖåÅÔÅÕãâmÂèmÁÆÆæ" not found.
So, the function module that needs to be called contains garbage in the name.
Any hints on this one ?
I already replaced the kernel with a copy if the Productive kernel, but no change.
Thanks
JoHi Jo,
I converted ÃÖmÆæmÇÖÖÄâmÔÖåÅÔÅÕãâmÂèmÁÆÆæ from EBCDIC back to ASCII and saw the following:
CO_FW_GOODS_MOVEMENTS_BY_AFFW
=> I'm pretty sure, that you did this on a sysem where you had EBCDIC before and either IFS files or profiles are still "somehow EBCDIC" or whatever ...
at least it is surely an EBCDIC-ASCII issue ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Maybe you are looking for
-
HP LaserJet 5550 does not print A3
I have rMBP (Maverics 10.9.5) and network HP LaserJet 5550 (driver 19.8). After last update my priter refuses to print A3. I reinstall printer drivers. I reconnect my printer, but this does not solve my problem. How to setup trey paper? This questi
-
Best practice in dreamweaver based web design
Hi DW Gurus I have been learning dreamweaver at work and at home for a while now and I am very interested in getting some details about best practices. I am aware that my designs are still quite simple and don't expand dreamweaver anyway near its abi
-
XML Data template. Using the SUM() function
Hi there, I have a data template where I want to create a summary column based on the child group. *<group name="G_RO_ESTIMATES" source="Q_RO_ESTIMATES"> <element name="ESTIMATE_TOTAL" value="G_RO_ESTIMATE_LINES.CHARGE" function="SUM()" /> <group nam
-
Permanent, stable networking for kvm machines with vde
I have an /etc/rc.local that looks like this: #!/bin/bash # /etc/rc.local: Local multi-user startup script. /sbin/ip addr add 10.0.2.1/24 dev tap0 /sbin/ip link set dev tap0 up vde_switch -tap tap0 -mod 660 -group kvm -daemon sysctl -w net.ipv4.ip_fo
-
Hello Expert, I want to know, how we can request the needed instillation number for "BA&T SAP BObj BI, Edge edit." in steps. because i'm enter to the link http://service.sap.com/inst-data https://websmp108.sap-ag.de/contracts but i don't kno