Common report name for all Function modules??
Hi.....
If we check the value of the SY_CPROG in the sourse code of the any function module we can get
RS_TESTFRAME_CALL as value.
From SE38, if we excute this report we can get one selection screen-> there we can give the FM name and we can excute it.
But, What is the purpose of this report...why SAP build this report?
In which senario we can utilize the SY-CPROG value with FM??
Thanks,
Naveen.I
Hi Soma,
I posted this question when I am working with remote system(Dot Net), to debugg the function module.
So you can get same , even for seibel system..
If you need any other assistance you can reach out here, with you rrequirement.
I will try to answer it.
Remeber , I tried with Function group(which we can find at attributes tab of function module), while debugging with External Debugger.
Thanks,
Naveen Inuganti.
Similar Messages
-
Find Triggered report name in the function module.
Hi All,
A function module is being called by many Reports say (100). Now the question is, I need to find out the Triggered report name in the function module where I can do required logic change based on the report. I cannot include an import parameter in the function module to capture the Report name, for this solution I need to change 100 reports. Is there any better way to find the Triggered report name in the Function Module?
thanks in advance.
raviTry system parameter SY-CPROG.
-
Name fo table whcih stores names of all function modules
I want to create list of all the Z function modules in the system present in an excel file...Can u tell me the name of table where all the names of fucntion modules are stored in SAP..I found that the names of funtion groups and Z programs are stored in table TADIR..but i did not find function modules name there....
Hi
TFDIR is the table that contains all the FMs.
TRDIR is the table that contains all the Reports.
Regards,
Sreeram -
How to search for a string in ALL Function Modules source code
Hello,
I want to search for the string "HELLO" in all FUNCTION MODULES source code(FM, no reports/programs).
Is this possible? How?
Cheers,
Andyhi,
Execute RPR_ABAP_SOURCE_SCAN to search for a string in the code ... Press where-used-list button on the program which takes to the function group or the function module where it is used ..
Regards,
Santosh -
Editing the Query name for all reports in PRD.
Dear All,
I have created 25 reports using Query Designer.We have moved all the reports to BI Production. And Clients are using these reports using the Tool Bex Analyser.
Every time they are navigating through open Query -> Info Areas -> Data targets and Query.
Instead of going this way, is there any other way to Open a query easily.
And they wants to modify the Report name and the Technical name for all the reports. Can we able to edit the Query name for all reports, or do i need to go for SAVE AS for all querys.
Pls Suggest.
Thanks,
RamHi Ram,
1. For the first question; if it user specific query then ask the users to save them at the FAVORITES so that there is no need to go to the dataprovider specific.
Or they can create the reports as favorites user menu screen of that particular user.
2. In order to change the technical name and description of the queries goto RSZC t-code> give the source and target infoprovider as same> select queries>click on the reports>click on transfer selections-->
Then you get a screen to change the description and technical name.
But this is pertained to Infoprovider level.
You can see all the reports on the infoprovider (cube/ods).
Hope you understood.
Regards,
Ravi Kanth -
For a function module how can I find its assigned data source name?
Hi BW Gurus,
If i know the data source name then the assigned fn. module/Table/Infoset I could find from RSO2. But for function module How do I know its assigned data source name?
Thanks a lot for the response.
Regards
VenHi Ram,
In SE16, enter the table name as ROOSOURCE and in contents choose field EXTRACTOR for selection and enter the name of the function module.
It will return the list of datasources where the function module has been used.
Best Regards,
Ankit Agrawal -
I want bapi process for bap_goodsmvt_create function module
hai this is siva
i want bapi process for bap_goodsmvt_create function module,Hi ALL,
I am new to ABAP.
I have created function module ZMM5 , no syntax error is there.
but while activating i am getting error,
PROGRAM SAPLZSKG REPORT / PROGRAM STATEMENT MISSING, OR PROGRAM TYPE IS I ( INCLUDE).
I WANT TO CHECK THE SYNTAX FOR UNICODE.
i am not able to check the syntax as i tried by giving FM name, FG name and include name.
can you please help me.
Thanks in advance.
best regards,
zubera -
Name of the function module to logon to other server
Dear All
i would like to know the name of the functional module through which user can logon to other server ex: from DEV to PRD for debug the programs . i tried through st03N i am able to get only used tcode but not functional module from which they are logon to prd server
is there any way to get logs for particular user to get log for last 10 days used tcodes all my traces are not active and audit also not active..
RegardsDear
I need the name of the FM through which we can log on to any other server
there is S_RFC authorization object now i disabled that but i need the name so i can manually restrict the FM
Regards -
How to add Test data for a function module
Hi experts,
i want to add test data for a function module . i don't know how to proceed on it . please help me...
with regards,
James...
Valuable answers will be rewarded...Hi,
- Go to SE37 and execute your FM
- Enter the data you want to pass to FM
- Hit 'Save' button. Enter the meaningful name for your test scenario and save. That's it you have saved the test data.
You can also enter some other test data and save that also. In short, you can save multiple test scenario. Also, you can give multiple test scenario a same name and they do not overwrite each other ( but normally you give different name to differentiate them)
Next time you come to execute the FM again, hit the "test data" button and it will show you all the test scenario you have stored before. Select the one you want to use and it will load the data in FM parameters.
Let me know if you need any other information.
Regards,
RS -
Dangers for full S_RFC authorization - for all function groups
Hi,
I have recently received a stern warning about all the bad things that can happen if you give users full authorization for S_RFC. This allows the user to use all function modules that use RFC (remote function calls).
As all our standard reporting users need at least some RFC function modules, I simply awarded them all of them. Tracing this (running, changing, creating, deleting queries, planning, consolidation) in Excel and Web would have been too tedious.
Apparently, full authorization together with the table browser transaction (SE16) would allow a user to read all available data!?
The same result is said to be possible if you create some special excel macros which would in turn call an RFC function module.
Is this true?
How could it be done?
Has anybody a complete list of all the RFC function modules needed for reporting an planning in SAP BI?
Any advice on these issues will be very much appreciated.
MartinHi Martin,
I am not sure of my answer will help you or not. But if you are talking abt the S_RFC authorizations needed for a reporting user in BI 7, here it is..
Authorization Check for RFC Access S_RFC
RFC authorization for function group:
RFC1
RFCH
RRMX
RRXWS
RRY1
RSAH
RSBOLAP_BICS
RSBOLAP_BICS_CONSUMER
RSBOLAP_BICS_PROVIDER
RSBOLAP_BICS_PROVIDER_VAR
RSFEC
RSMENU
RSOBJS_RFC_INTERFACE
RSRCI_LOCAL_VIEW
RSR_XLS_RFC
RSWAD
RSWRTEMPLATE
RS_BEX_REPORT_RFC
RS_IGS
RS_PERS_BOD
RZX0
RZX2
SDIFRUNTIME
SM02
SMHB
SRFC
SUNI
SUSO
SYST
SYSU
Type of RFC object to be protected FUGR
This is the minimum RFC authorizations required for a reporting user to exicute the report in BI. I am not sure abt the Excel macros stuff.
Reward points of my my answer helped.. -
Hi Friends
I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
exporting "Publishing to global memory
option_string = option_s "string of sel org fields
trig_string = trig_s "string of req data
alemp_flag = sw_alemp "all employee req
infot_flag = space "split per IT neccessary
sel_modus = sw_apa
importing
org_num = fdpos_lines "number of sel org fields
tables
fieldtab = fdtab "all org fields
field_sel = fieldnametab_m. "sel org fields
To Read all infotypes from Absences type.
RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
central function unit to provide internal tables: abse orgs empl
call function 'HR_TIM_REPORT_ABSENCE_DATA'
exporting
pernr = pernr-pernr
begda = pn-begda
endda = pn-endda
IMPORTING
SUBRC = SUBRC_RTA
tables
absences = absences_01
org_fields = orgs
emp_fields = empl
REFTAB =
APLTAB =
awart_sel_p = awart_s[]
awart_sel_a = awart_s[]
abstp_sel = abstp_s[]
i0000 = p0000
i0001 = p0001
i0002 = p0002
i0007 = p0007
i2001 = p2001
i2002 = p2002
i2003 = p2003.
Thanks & Regards
Reddyguessing will not help you much, check with SE30 to get a better insight
SE30
The ABAP Runtime Trace (SE30) - Quick and Easy
what is the total time, what are the Top 10 in the hitlist.
Siegfried -
How to check for a function module with its description and functionality
Hi all,
How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .Hi,
You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
Say for example you need to search something regarding converstion.
Search for * CONVERT * and press F4.
If there is something specfic like converting date to something you can give
DATE * CONVERT *
OR
CONVERT * DATE * and press F4.
Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
Regards,
Pramod -
Need name of a function module or BAPI to update the Tax Classification val
Hi Guru's
Need name of a function module or BAPI to update the Tax Classification value for Material master.
Thanks in advance.Hi
U can try to use BAPI_MATERIAL_SAVEREPLICA
Max -
Search for a function module for deleting document originals (DMS)
Hi,
I'm searching for a function module to delete originals in documents (like manually with transaction cv02n). I'm only able to set an delete mark with the module 'BAPI_DOCUMENT_DELETE'.
The module 'BAPI_DOCUMENT_CHANGE2' can only add new originals to an existing document. I need a possibility to delete all originals in an document without deleting the document itself.
Has anyone an idea?
Thanks.
Jan-Christian TreuschMany thanks!
That's especially the method I've searched for so long....
best regards.
Jan-Christian Treusch -
Need help for the Function Module 'PFL_GET_PARAMETER_INFO'
Hi Experts,
The FM 'PFL_GET_PARAMETER_INFO' returns the value for Profile Parameters for a system .
The inputs required for this FM are :
1. Parameter name : ( eg . login/min_password_lng etc. )
2 . Parameter Type
I am not sure about what the value of Parameter Type should be .
Its a mandatory field.
I have tried to search but could not find anything.
Can you please help me on this?
Thanks in Advance,
Harshit Rungta
Edited by: harshit rungta on May 27, 2011 8:15 AMWhat exactly is the use-case for this?
Many developers "c-call" the params and neglect this feature of the type - also whether it is static or dynamic. Some params are even dynamic as system profiles in one direction but static as instance parameters in the other direction when changing the value.
As you cannot create your own system profile parameters, I do not see the use-case for why you are wanting to check it in advance, because the application APIs should do this.
What you are possibly looking for is function module SUSR_GENERATE_PASSWORD in this case. It will respect "the rules" in the params.
Do not use the legacy function RSEC_GENERATE_PASSWORD directly.
Cheers,
Julius
Maybe you are looking for
-
I updated my iPod Touch, and now the App Store won't stop crashing?
I just got a new update for my iPod touch. I had to delete a few apps to make space. Then, I proceeded downloading. I have the 4th generation and my iPod is about 6 months old (I had to get another one from my warranty because my other one got broken
-
Can't drag app to other page on iTunes 12
I tried to drag the app to other page but I can't, though It works before a week. iTunes version is 12.1.0.50 and I'm using to backup to the iCloud backup and Yosemite. Plz help me.
-
Export import in sql developer data modeling tool
I tried sql developer data modeling tool but i have a proble i select file> import > data dictionary then created a connection to db and selected some tables and got the er digram successfully then i goto file > export>to data modeling design and sav
-
Problem Running Hello.java
Hi All, I am facing problem to run Hello.java. The following exception accurs when I try to run it. java.lang.RuntimeException: RegOpenKeyEx: The system cannot find the file specified. (2) at com.ibm.speech.recognition.RecoImpl.initialize(Native
-
I just bought my son a 4g (8gb) nano and have been trying to get it to register and up date the software. Will not connect to istore and gives message "itunes could not connect to the iTunes store. The network connection timed out." I have made sure