Exchange rate, plan exchange rate Programs & Function modules in SAP ....
Hi Friends,
Could anybody please tell me what are the " Exchange rate " & Plan exchange rate " standard programs, function modules avaialble in SAP .
Thanks in advance,
Ramesh.
Check via transaction OB07 (or SPRO - General Settings - Currencies - Check exchange rate types) usually you will find a "M" average exchange rate (which is used operationally everywhere in Logistics) and a "P" planned exchange rate (used for cost planning)
Exchange rates are maintained via transaction OB08 (or SPRO, same tree - last node - Enter exchange rates)
When programming, use tables TCUR* or FM of function groups like SCUR "Translation of Currency Amounts etc." (CONVERT_TO_FOREIGN_CURRENCY, CONVERT_TO_LOCAL_CURRENCY and READ_EXCHANGE_RATE among others)
Regards,
Raymond
Similar Messages
-
Hi Friends,
Could anybody please tell me what are the " Exchange rate, & Plan exchange rate " Programs & Function modules.
If any customized also , I can do modify and i will use it.
Thanks in advance,
RameshHi there
Exchange rates are used for currency conversion rules in queries, data loads, etc.
You can export exchange rates from R/3 (or other system) to SAP BI, and change them or define your own exchange rates.
For planning, you can create exchange rates specifically for that purpose.
In currecny conversion rules you can tell the system which exchange rate to use (for example EURX from EUR->USD)
To view/mantain exchange rates go to transaction SPRO->SAP Reference IMG->SAP Netweaver->General Settings->Currencies->Enter Exchange Rates
Diogo. -
Finding number of lines in a program/function module
Hi Expets,
I would like to know is there any way to find the number of code lines in a ABAP program/function module.
Additionally, can i extend this to a package such that the utility will find the number of codelines in all the programs/function modules/include programs in that package.
Any hints regarding the same would be appreciated.
Regards,
Ramanath1. First using Read report to load the source code to your internal table.
2. Using SCAN statement to do analysis about the source code. pls refer to the sap keyword help about "SCAN".
Syntax Diagram
SCAN
Note
This statement is for internal use only.
It cannot be used in application programs.
Variants:
1. SCAN ABAP-SOURCE itab1 ...TOKENS INTO itab2
...STATEMENTS INTO itab3.
2. SCAN AND CHECK ABAP-SOURCE itab1 ...RESULT INTO itab2.
Variant 1
SCAN ABAP-SOURCE itab1 ...TOKENS INTO itab2
...STATEMENTS INTO itab3.
Parts marked with " ..." are interchangeable
Extras:
1. ... FROM n1
2. ... TO n2
3. ... KEYWORDS FROM itab4
4. ... LEVELS INTO itab5
5. ... STRUCTURES INTO itab6
6. ... OVERFLOW INTO c1
7. ... WITH ANALYSIS
8. ... WITH COMMENTS
9. ... WITH INCLUDES [IMPLEMENTATIONS FROM itab]
10. ... WITH TYPE-POOLS
11. ... WITH LIST TOKENIZATION
12. ... PRESERVING IDENTIFIER ESCAPING
13. ... WITHOUT TRMAC
14. ... [INCLUDE] PROGRAM FROM c2
15. ... INCLUDE INTO c3
16. ... MESSAGE INTO c4
17. ... WORD INTO c5
18. ... LINE INTO n3
19. ... OFFSET INTO n4
20. ... WITH EXPLICIT ENHANCEMENTS [IMPLEMENTATIONS FROM itab]
21. ... FRAME PROGRAM FROM c2
22. ... ENHANCEMENTS INTO itab -
ABAP program/Function module to assign the roles in SU01
Hi,
Is there any ABAP program/function module to assign the roles in SU01. And program/function module which does all teh SU01 related activities.
Thanks and Regards,
RashmiHello,
Check the function modules that start with BAPI_USER*
To assign roles :
BAPI_USER_ACTGROUPS_ASSIGN
To assign profiles :
BAPI_USER_PROFILES_ASSIGN
To change user's metadata (name, settings, ... other SU01 functions) :
BAPI_USER_CHANGE
Success.
Wim -
How to code a predifined function module in sap ,in se37.
can any one tell me how to code a predifined function module in sap ,in se37.it's an immediate requirement.if u give a brief description it'll do.
Hi Henry,
There are two possible ways in which I can interpret your question.
1. You want to create a new Function Module in SE37. you will have to refer to the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm">Function Builder</a> tutorial for that.
2. You want to use an existing function module in your program. In the code of your program in SE38, click the button <i>Pattern</i>. On the pop-up, give the name of the function module that you wish to use in your program.
Regards,
Anand Mandalika. -
Can we call function module in sap script
hi
can we call function module in sap script
i want to use function module HR_TMW_GET_EMPLOYEE_NAME in sapscript
to get Empname by using personal no
pernr no is coming from bseg-pernr table
so how i can use it .
please help me
thanks in advanced.hi,
You can use like this:
PERFORM FUNCTION_MODULE IN PROGRAM SUBROUTINE_POOL
USING &FIELD1&
USING &FIELD2&
CHANGING &FIELD3&
ENDPERFORM.
where function_module is the func. module name defined in program SUBROUTINE_POOL , field1 n field2 are the fields to be passed, and field3 is the value which you want to display...
You have to read field1 & field2 in the pool, process them & get the value of field to be output.
Reward helpful answers.
Regards,
SIddhesh Sanghvi. -
Using Function Module in SAP Script
Dear Friends,
how can i use function modules in sap scripts?. i want to use call function SPELL_AMOUNT in sap script?
in text element using perform statement hw can i use?
Regarding i search related articles but, i am not getting any solution.
Plz help Me.
Regards,
K.S.KannanDear Kanan,
You can do it in two ways:
Way1
your Amount will be in some variable say VAR_AMT1 and want in words in field say VAR_SPELL.
In your report program you can use the function module SPELL_AMOUNT and pass the VAR_AMT1 to it and you will get the words in VAR_SPELL.
So now in your sap script you can use the variable VAR_SPELL to print the amount in words.
we normally use this above method.
WAY2
You are inside Sap script and you can write the following code in the sap Script window.
/: PERFORM AMT_TEXT IN PROGRAM ZF_REPORT USING &VAR_AMT1& CHANGING &VAR_SPELL&
/: ENDPERFORM
In the Tag Column when you press F4 you can see various symbols like
/: = ( / /= /( /: /* /E
. Select
In the program ZF_REPORT (any report) you should have the perform AMT_TEXT where you should use the function module SPELL_AMOUNT to convert the amount into words.
Hope its Clear. -
How to develope custom function modules in SAP R/3 system to maintain c...
How to develope custom function modules in SAP R/3 system to maintain cross
referencing tables for sales order number.Hi Raja,
Steps to crate FM..
Follow these steps..
Go to the T: code SE37
First You Create Function Group
On That u specify
Function Group Name..............
Short Text..............................
save...
Go to SE 37
Specify the Function Module Name: Eg: Z_Bapi_Materialmaster
Short Text.......
Save...
Next Go to Attributes..
Select Radio button : Remote enabled model
Go to Parameters..
Click Import...
Give Parameter Type Associate type S.t
next Click Export...
Give Parameter Type Associate type S.t
Next Click Tables Button..
Specify tables..
Next click source code button..
Write Source code here..
Eg : Select statements Etc..
Finally we should be select the Radio button Enable remorely
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bapi%2bstep%2bby%2bstep
Hope this information is useful to you..
Reward points if it is usefulll....
Thanks ,
Satya Kumar.. -
Can i call a function module of SAP?
Hi, i have a question... Can i call a function module of SAP... I need print a document from a device, can i call the function module of SAP in order that me it prints it?
Thanks,Hi Victor,
you can use the GenericSync Example of the MDK. This calls the Module to verify the user directly. Generic Sync is exactly for that purpose: call a BADI directly and no usage of SyncBO. Be aware, that you - out of the box- sync your app data as well at that moment, because a sync runs both - generic and smartsync. Even worse: even when you have nothing to sync in Generic Sync - so nothing to print - it will call the function module for generic sync as long as it is registered.
Well, anyway, this is the way to call a function module separate.
If it works with you rparticular print module? I have no idea, but if this is a normal function module - well, it should be ok.
Hope this helps.
Regards,
Oliver -
Wants to find out customise function module in SAP
Hi all There,
I want to find out Customize Function Module in SAP,
I am not able to find out though SE03.
Pl provide the detail solution
Regards
Sagarhi,
Custom function module start with Z or Y.So go to table TFDIR and enter z* and y* on input screen field function module name and then check number on entries by pressing tab number of entries on application toolbar.
So number of custom function module = z(number of entries) + y(Number of entries) .
Thanks
Mohit -
Can we call function modules in SAP query or ADHOC query
Hi ,
Can we call afunction moudule in sap query or ADHOC query ?If yes How
An early responce is greatly appreciated
Thanks and best regards
Rajeev ChhabraHello Rajeev Chhabra,
Yes; you can call function module in SAP Query. In InfoSet definition (SQ02), you can create additional field. In this field definition, you can add code snippet where you can function module.
However, this is not possible in Quick Viewer (SQVI) Query.
Thanks,
Venu -
Hi Experts
how to use function module in sap pi using soap adapter?
My senario is soap to soap using function module?
can you tell me any one step by step procedure
REGARDS
SAGARAs this looks like a mapping error - please check if the error has been thrown before reaching the SOAP receiver and format of the input data you are posting. You may want to check at he following link for exposing rfc as webservice.
http://scn.sap.com/docs/DOC-38805
Regards -
How to Developed user defined functions to call function modules in SAP R/3
how to Develope user defined functions to call function modules in SAP R/3 system
Hello Raja,
Go through this V.imp Link...
http://download.oracle.com/docs/cd/B10464_05/integrate.904/b10408/rfc.htm
Steps to crate FM..
Follow these steps..
Go to the T: code SE37
First You Create Function Group
On That u specify
Function Group Name..............
Short Text..............................
save...
Go to SE 37
Specify the Function Module Name: Eg: Z_Bapi_Materialmaster
Short Text.......
Save...
Next Go to Attributes..
Select Radio button : Remote enabled model
Go to Parameters..
Click Import...
Give Parameter Type Associate type S.t
next Click Export...
Give Parameter Type Associate type S.t
Next Click Tables Button..
Specify tables..
Next click source code button..
Write Source code here..
Eg : Select statements Etc..
Finally we should be select the Radio button Enable remorely
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bapi%2bstep%2bby%2bstep
Re: User Defined Functions Tutorials
Hope this information is useful to you..
Thanks ,
Satya Kumar.. -
Calling a normal function module in SAP system .
Hi Experts,
I have the requirment like -->
I want to call a normal function module in SAP system which will perform a data look up. The module will be called by SAP-XI and the response will come to SAP-XI . That means i want to make a synchronous call to a Normal function module (not Remote module) which can perform the data look up and send me the result.
Can anyone help me in this.
ThanksHi Ajay,
Lookups in XI made simpler -
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
How to check JDBC SQL Query Syntax and verify the query results inside a
User Defined Function of the Lookup API -
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
Thanks,
Satya Kumar -
Difference between a programe&function module in R/3 & BW
Hi Gurus
i would like to know differenece between programe and function module in R/3
and BW, so can some one give me a brief idea about it cheers thanks .....Hi,
Function modules are ABAP routines that are administered in a central function library. They apply across applications and are available throughout the system. You must assign function modules to a function pool that is called a function group. A function group is nothing but a container for the function modules. Now create a function group and then a function module.
it is a kind of standrad program where u can use it in differnt local programes .
take an example standrad function module "REUSE_ALV_CHECKBOX_SET" suppose u want to create a checkbox in output screen u dont need to write a program for that u can use above mentioned function module in ur programe.
hope this information helps u
Regards,
Gurudatt Bellary
Maybe you are looking for
-
I just got a brand new iPhone 4S on a contract from my local Three store. When I used the cloud restore to put the data from my old 3GS onto the device, it's prompting me for an Apple ID login with an email address (hotmail) that isn't mine! My old p
-
Hi I would like to show a presentation written on my macbook air on my television what is the best way to connect the two ?
-
Using Home Share to move a library
I am in the midst of transferring music, tv shows, and movies from an old laptop to a newer desktop. I am using the Home Sharing feature of iTUnes to do this. There is about 20GB worth of content transfering. Is Home Sharing a good way to do this tra
-
Which version of Snow Leopard to buy for a clean, non-upgrade installation?
I have a MacBook Pro 13"3, Mid 2009, I am the second owner. The computer was originally bought with OS X Leopard and later upgraded to Snow Leopard. The previous owner does not have any installation discs, so I have to start from scratch. My question
-
Help with organizing my library
I have just imported MANY MP3 radio shows and most of them either show no title/genre or the wrong ones. I have found many places that tell me how to edit each track individually, but what I'd like to do is to select all of them and change them globa