Function modules in scripts and sf
hi experts
in sap standard print prog, they use FUNCTION MODULES to
get data from database. how to search for these function modules
in se37.
thanks in advance
chandra
There is no standard defined way to know them.
You can either just go and search with some key fields in SE37.
OR, you can check any known standard program for the functionality you are looking for.
OR, you can use a BAPI if existing, for that just explore Tcode BAPI.
Regards,
Amit
Similar Messages
-
Hi Gurus,
can any one inform me,how to use SX_OBJECT_CONVERT_OTF_INTO_PDF function module in script..
how can we convert the script output into pdf file format....
i need your help......plz
my mail id : [email protected]
Thanks,
Rajkumar.A
Edited by: rajkumar annadurai on Feb 19, 2008 10:25 AMHi, Dear
In XI 3.0 we are tyring to setup SAPconnect;
1 Step; Create RFC connection for Mlunxsnd file, anyway!!! we download thease file and create RFC connection; fine working no error
2 Step: Create Nodes T-code SCOT => connection INT => and support address type like Internet its just show only "PDF, HTM, TXT" thats it its not show some others format
3. Step; When check email T-code SOST Getting an error messages: "Connot process message in node, parameters cannot be converted"
4. In R3 RPD and Others system when I check format its ok its show some others format which is support to be such as "ALI, OBJ, OTF, SCR, URL" ...
How may install these format in XI 3.0
Please Advice I will be really appriciated
Thanks a lot
Travis -
Function Modules for Data and Time
Hi all,
I need 2 function modules for date and time. when we pass current data(sy-datum) and current time (sy-uzeit) into function modules, shoud get date in <b>dd/mm/yyyy or dd.mm.yyyy</b> and time in<b> HH:MM:SS</b> formats.
Thanks in advanceHi Ranjith,
i think this will b usefull for you..
SAP Bar Chart Function Modules and what they are used for
Function module
Used for
BARC_GRAPHIC_PBO
Starting bar chart at PBO time, using a graphic profile (parameter PROFILE)
BARC_GRAPHIC_PAI
Analyzing data returned by the graphic
BARC_SET_TIME_AXIS
Setting start and end of time axis
BARC_SET_OPTIONS
Setting options
BARC_ADD_CHART
Creating a chart
BARC_SET_CHART_ATTRIB
Setting chart attributes
BARC_ADD_SECTION
Creating a section on the time axis
BARC_SET_SECTION_ATTRIB
Setting section attributes
BARC_ADD_RIBBON
Adding a ribbon to the time axis
BARC_SET_RIBBON_ATTRIB
Setting attributes for ribbons in the chart
BARC_ADD_GRID
Adding a time grid
BARC_SET_GRID_ATTRIB
Setting grid attributes
BARC_ADD_LAYER
Adding a layer (graphic elements)
BARC_SET_LAYER_ATTRIB
Setting layer attributes
BARC_ADD_LINE
Adding a line
BARC_ADD_CALENDAR
Creating a calendar
BARC_SET_CALENDAR_ATTRIB
Setting attributes for a calendar
BARC_ADD_TIME_PROFILE
Creating time profiles
BARC_SET_TIME_PROFILE_ATTRIB
Setting attributes for time profile
BARC_ADD_INTERVAL
Adding a time interval
BARC_SET_INTERVAL_ATTRIB
Setting time interval attributes
BARC_ADD_TIME_OBJECT
Creating a time object
BARC_CONVERT_DATE
Creating a date string in bar chart format
BARC_REVERT_DATE
Converting a date string in bar chart format to date and time
BARC_ADD_DATELINE
Creating a date line
BARC_SET_DATELINE_ATTRIB
Setting dateline attributes
BARC_GET_PROFILE_CONTENTS
Obtaining profile contents for customizing a chart
BARC_GET_COLUMN_WIDTH
Selecting new column width
BARC_SET_COLUMN_WIDTH
Setting the column width
BARC_GET_TEXTINDEX
Obtaining the text index of a field
BARC_SET_LABELS
Positioning the chart display
BARC_SET_COLUMN_ATTRIB
Setting column attributes
BARC_SET_ROW_ATTRIB
Setting row attributes
BARC_SET_ROW_HEIGHT
Setting the line height
BARC_SET_MAXCHARTS
Setting the maximum number of charts sent
<b>If its usefull reward points
</b> -
Function modules for material and description
Hi,
Pls let me know the function module for material and description.
Regards,
BalaHi,
Please use FM: MD_MATERIAL_GET_TEXT
Reagrds
Raju -
Function module like ENQUEUE and DEQUEUE for function location.
Hi All,
I should be highly appreciate if any one help me for locking function module like ENQUEUE and DEQUEUE
for function location.
Thanks
ShawHi,
You can either use the standard way of locking by using :
data:lv_varkey TYPE rstable-varkey.
concatenate functional_location sy-mandt into lv_varkey .
* Lock table
CALL FUNCTION 'ENQUEUE_E_TABLEE'
EXPORTING
mode_rstable = 'E'
tabname = 'IFLOS'
varkey = lv_varkey
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
* Unlock table
CALL FUNCTION 'DEQUEUE_E_TABLEE'
EXPORTING
mode_rstable = 'E'
tabname = 'IFLOS'
varkey = lv_varkey.
Or,
As mentioned above create a lock object via transaction SE11.
Go to transaction se11:
--> Enter lock object name e.g EZ_IFLOS
--> Click on create
--> Enter description
--> Click on tables tab
--> Enter 'IFLOS' as table name
--> select lock mode
--. click on save and activate.
2 function modules will be created as DEQUEUE_EZ_IFLOS and ENQUEUE_EZ_IFLOS .
Regards. -
Function module to create and change delivery
Hi,
I need to create a function module to create and change delivery using the same function module.
For this I want to call the bapi's BAPI_OUTB_DELIVERY_CREATE_SLS
and BAPI_OUTB_DELIVERY_CHANGE.
So what are the variables I need to declare in source code of my function module.
Can anybody please suggest me.
thanks,
SudheerHi Sudheer,
Check this out
In the BAPI BAPI_OUTB_DELIVERY_CREATE_SLS
You need to provide
SHIP_POINT - Goods receiving point for the returned goods.
DUE_DATE - Delivery creation date selected as december 12
9999 unless specified.
DEBUG_FLAG makes analysis of the process earlier .
call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
DESTINATION logsys
EXPORTING
SHIP_POINT = 'MD01'
DUE_DATE = sy-datum
DEBUG_FLG = 'X'
importing
*delivery = lf_vbeln
*num_deliveries = lf_num
*tables
*sales_order_items = lt_order
*extension_in = lt_extin
*deliveries = lt_deli
*created_items = lt_itm
*extension_out = lt_extout
*return = lt_return
For the BAPI_OUTB_DELIVERY_CHANGE.
Please read the documentation of the function provided there.
A Wiki To support your need.
Link: [Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP/Changeoutbounddelivery+%28VL02%29]
hope your query resolves soon.
Have a best day ahead. -
Call ABAP function module from script?
Hi,
I have an ABAP function module, which works fine when I call it in a transformation.
Since I don't need to execute this function for each record but rather for each file I process, I would like to move the call from the DataFlow to a script in the WorkFlow. When I click on the 'functions' button the ABAP FM is available in my SAP Datastore, so I drag and drop it into my script. I also make sure to populate all required variables.
There are no error messages or warning when I check my job definition.
When I execute it, I get the following RFC error:
Function call <xxx ( abcd ) > failed, due to error <150413>: <RFC CallReceive exception <FUNCTION_NOT_FOUND>.>.
Is it just not possible to call an RFC enabled function module in SAP from a script or am I doing something wrong here?
Thanks,
Jan.Could you please let me know how I can call an abap function module from a transformation? (from abap xslt program). I know how we can call methods of a class from the transformations, but no idea how we can call function modules. Any suggestions or a sample code snippet towards this will be very useful for me.
Thanks,
Shashi. -
Reg function modules in scripts
Hi,
<b>wat happens if we dont use open_form , start_form , close_form...
which is mandatory function module and which optional functional module ???
wat happends if we dont use close_form?</b>pls tel me its really urgent
pls
Thanx in Advance..Hi,
wat happens if we dont use open_form , start_form , close_form...
For open the form open form should be there other wise we can't run the script.
which is mandatory function module and which optional functional module ???
Start-form is optional and opne_form and lose_form is manditory FMs. same as write_form also.
wat happends if we dont use close_form?
If you don't use close_form then while running the script you will get error.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. . -
Function module to hold and release lock on MARD table entry
Hi Gurus,
Can you please tell me Function module to HOLD lock on MARD table and the Function Module to release lock on MARD table entry.
Thanks and Regards,
SudiptoLook via SE11 lock objects, use F4 for tables MAR*, the best for your request is on MARC table with object EMMARCS, so use FM ENQUEUE_EMMARCS and DEQUEUE_EMMARCS.
Regards,
Raymond -
Call Function Module in UDF and return Value
Hi All,
Does anyone have Michal's PDF located at the following url:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf
Everyone references this for Mapping Lookups but the link has been broken for some time.
I am looking at calling a function module in my SAP system during mapping to check some values. I have SP14 and wanted to use the LookupApi.
Cheers,
JoeHi Joe,
Please go through the following Blogs which also includes the Blog you were searching for... They all talk about mapping lookups...
/people/michal.krawczyk2/blog/2005/09/15/xi-rfc-mapping-lookups-from-bc-to-xi
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/francesco.bersani/blog/2007/03/05/data-lookup-optimized
Regards,
Abhy Thomas -
Function module(first name and last name as a parameter with table)
hi,
i just want to know how i match input value in function module with the self created ztable first name and last name as a parameter in function module(import).
regards
Ankurthanks for your help actually i am concatename first_name last_name into full_name
import parameter
FIRST_NAME like ZANKUR-FNAME first name
LAST_NAME like ZANKUR-LNAME last name
export parameter
full_name like zankur full name
excaption
error if name not matched
source code
concatename first_name last_name into full_name -
Function Module for Excise and VAT Calculation
Dear All,
I required one Function module for calculation of Excise % and amount of Invoice Verification Document.
We are use TAXINN tax procedure. I am try to make Purchases Register where we required the Break up of Full tax amount as basic excise duty, Education Cess, S&H Education Cess and VAT Amount.
Thanks
MukeshHi,
Locks are usually appliend on Tables. So you could find the table names affecting.
Then you could goto SE11 and n Lock objects search for table name
Once you identify the lock object. Display. Goto->Lock Modules.
You will get 2 module names one for enqueue and 1 for dequeue.
e.g. Lock object EBKK_ACCNT.
and FMs are DEQUEUE_EBKK_ACCNT and ENQUEUE_EBKK_ACCNT
Hope this helps.
Regards
Megha -
Function modules for F881 and F889
Hi,
is there some function module ( or ? ) to create records by F881 and F889, i don't want to use batch input method...
thanks for your help.
PedroHi Ranjith,
i think this will b usefull for you..
SAP Bar Chart Function Modules and what they are used for
Function module
Used for
BARC_GRAPHIC_PBO
Starting bar chart at PBO time, using a graphic profile (parameter PROFILE)
BARC_GRAPHIC_PAI
Analyzing data returned by the graphic
BARC_SET_TIME_AXIS
Setting start and end of time axis
BARC_SET_OPTIONS
Setting options
BARC_ADD_CHART
Creating a chart
BARC_SET_CHART_ATTRIB
Setting chart attributes
BARC_ADD_SECTION
Creating a section on the time axis
BARC_SET_SECTION_ATTRIB
Setting section attributes
BARC_ADD_RIBBON
Adding a ribbon to the time axis
BARC_SET_RIBBON_ATTRIB
Setting attributes for ribbons in the chart
BARC_ADD_GRID
Adding a time grid
BARC_SET_GRID_ATTRIB
Setting grid attributes
BARC_ADD_LAYER
Adding a layer (graphic elements)
BARC_SET_LAYER_ATTRIB
Setting layer attributes
BARC_ADD_LINE
Adding a line
BARC_ADD_CALENDAR
Creating a calendar
BARC_SET_CALENDAR_ATTRIB
Setting attributes for a calendar
BARC_ADD_TIME_PROFILE
Creating time profiles
BARC_SET_TIME_PROFILE_ATTRIB
Setting attributes for time profile
BARC_ADD_INTERVAL
Adding a time interval
BARC_SET_INTERVAL_ATTRIB
Setting time interval attributes
BARC_ADD_TIME_OBJECT
Creating a time object
BARC_CONVERT_DATE
Creating a date string in bar chart format
BARC_REVERT_DATE
Converting a date string in bar chart format to date and time
BARC_ADD_DATELINE
Creating a date line
BARC_SET_DATELINE_ATTRIB
Setting dateline attributes
BARC_GET_PROFILE_CONTENTS
Obtaining profile contents for customizing a chart
BARC_GET_COLUMN_WIDTH
Selecting new column width
BARC_SET_COLUMN_WIDTH
Setting the column width
BARC_GET_TEXTINDEX
Obtaining the text index of a field
BARC_SET_LABELS
Positioning the chart display
BARC_SET_COLUMN_ATTRIB
Setting column attributes
BARC_SET_ROW_ATTRIB
Setting row attributes
BARC_SET_ROW_HEIGHT
Setting the line height
BARC_SET_MAXCHARTS
Setting the maximum number of charts sent
<b>If its usefull reward points
</b> -
How to createWebservice from Functional Module inECC system and how to test
Hi all
i have one functional module in backend system i.e BAPI_GL_ACC_GETLIST. now i want to create a Webservice from the above functional module. once the webservice is ready in ECC system then how do we access in webdynpro thru model. i want to test the same webservice in ECC system itself, what is the procedure??
can any body send the clear steps on starting from create of webservice and till to access the same in webdynpro.
if we want to access from webdynpro thru model for the same webservice which did in ECC system, is it require to deploy on J2ee engine by creating the same webservice or we can access that directly in Webdynpro??
can you please tell me clear steps on the same rather than documents??
Regards
Suresh babuHi Suresh,
refer This ppt link will help you.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
Supraja -
Standard Function Modules, BAPIs, BADIs and User Exits in OM
How do I check what are the Standard Function Modules / BAPIs in OM or any HR sub modules like PA, Comp, TEM etc..
use Tcode <b>BAPI</b> and navigate to relevant module.
for FM go to se37 and search with HR* or RH*
Maybe you are looking for
-
Bpm:message being sent and wait for event
Hi,gurus: My scenario is about BPM.In the integration process I used a loop and correlation.The scenario worked successfully yesterday,but after I changed some thing,it did not work.The outbound status of the message in sxi_monitor said "message bein
-
Problem staring KJS after redeploying application in IAS6SP2
After redeploying an application to IAS6SP2 several times, I suddenly get the following errors when trying to start KJS: Starting Java Engine Engine running on Solaris VM 1.2.2 JVM supplied by Sun Microsystems Inc. Connected to LDAP server Initializi
-
depends on the parameters related with group, I want to get a different total amount; the following code does work in oracle reports but too long code. I want to improve the function as simple using Loop statement. would you help me? function CF_9For
-
Convert date format YYYYMMDD to DD.MM.YYYY
hi i was wondering is there a FM which convert date format YYYYMMDD to DD.MM.YYYY instead of u know cutting the YYYY and MM and DD and concatement them again
-
Datapump exp with network_link generated crashed dump file
Hi Experts, I am using oracle 10.2.0.4 DB at 32 bit window. I try to exp full source db in target db by data pump with network_link. But I got a dump file as a crashed dump type under window explorer. syntax as expdp system/test@targetDB FULL=y DIREC