Restrict some function module from SE37
Dear all
i would like to know how to some restrict function module like call_transaction_from_table,authority_check_tcode bcaz with this our func create mess
of our system
and steps how to restrict any function module from se37
Regards
dear
which aurthorization objects
i checked S_develop,s_programe with DEBUG object in s_develop in prd but people are login through
function module from DEV to PRD
call_transaction_from_table
Regards
Similar Messages
-
Can we call Function Module from Process Chain?
Hello experts,
I have a small question.
Can we call Function Module(SE37) from Process Chain?
If yes can you please provide some example link?
I m new to BI world.
regardsHi,
Create one ABAP program and call the function module from that program. Check the link to know how to call a function module from an ABAP program.
http://help.sap.com/saphelp_wp/helpdata/en/d1/801edb454211d189710000e8322d00/content.htm
http://help.sap.com/saphelp_wp/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm
Then use process type "ABAP Program" in your process chain and add the program you have created. So then this program will be executed via process chain and this program will call the function module.
Indrashis -
CNTL_ERROR while calling a function module from Java webdynpro
I am calling a RFC function module from javawebdynpro app
which inturn calls a function module performing BDC on CAPP transaction. When I run this from SE37 of the same system or a different system everything works fine. But when called from Java webdynpro app, it raises a CNTL_ERROR exception and creates a short dump.
Any help on this is highly appreciatedGood catch, BI Learner. This was exactly it: when assigning the values from SOURCEFIELDS directly to the import/export parameters, you have to make sure that the types are EXACTLY the same, otherwise it will not work (the routine stops with an error when calling the FM, but there is no dump).
Therefore, to solve my problem, I created the declarations precisely as expected by the FM and assigned the values to these fields:
DATA:
SOURCEVAL TYPE /BIC/OIINVQTY,
SOURCEUOM TYPE /BIC/OIUSUOM,
USITM TYPE /BIC/OIUSITM,
TARGETUOM TYPE /BIC/OIUSUOM,
CONVERTED_COST TYPE /BIC/OIINVQTY.
DATA PRODUCTION_UOM TYPE /BIC/OIUSUOM.
" get the Production UOM
SELECT SINGLE I~/BIC/USPRDUOM
FROM /BIC/PUSITM AS I
INTO PRODUCTION_UOM
WHERE I~/BIC/USITM = SOURCE_FIELDS-/BIC/USITM AND I~OBJVERS = 'A'.
IF ( SY-SUBRC = 4 ). " no records found
"RAISE PARTNO_NOT_FOUND.
RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD.
ENDIF.
" load the parameters
SOURCEVAL = SOURCE_FIELDS-/BIC/USFRZMFC.
SOURCEUOM = SOURCE_FIELDS-BASE_UOM.
USITM = SOURCE_FIELDS-/BIC/USITM.
" then you can call the FM
CALL FUNCTION 'Z_CA_CONVERT_US_COST'
EXPORTING
PSOURCEVAL = SOURCEVAL
PSOURCEUOM = SOURCEUOM
PUSITM = USITM
PTARGETUOM = PRODUCTION_UOM
IMPORTING
PTARGETVAL = CONVERTED_COST
EXCEPTIONS
CONVERSION_NOT_MAINTAINED = 1
PARTNO_NOT_FOUND = 2
OTHERS = 3.
" ... [do the rest]
Thanks for your help,
Dennis -
How to find function module in se37
hello friends,
i am supposed to extract revesion level, matnr, plant from sap to an excel sheet.
matnr and plant we can get from marc or mara, but i could not find revision level on these tables.
the technical name is REVLV
i searched for function modules in se37 i got 3 function modules, but there was no documentation,
how does anyone get tpo know which function module works for them , with out having documentation.Hi,
What is your requirement actually and what purpose I did't get you
any how I got these below FMs which is having the field REVLV
you can go through below FMs.
/SAPHT/DRM_MAT_BOM_READ
API_DOCUMENT_MAINTAIN2
API_DOCUMENT_SAVE_BOM
BAPI_DOCUMENT_CHANGE2
BAPI_DOCUMENT_CHECKIN2
BAPI_DOCUMENT_CHECKIN_REPLAC
BAPI_DOCUMENT_CHECKOUTCANCEL
BAPI_DOCUMENT_CHECKOUTMODIFY
BAPI_DOCUMENT_CHECKOUTSET2
BAPI_DOCUMENT_CHECKOUTVIEW2
BAPI_DOCUMENT_CREATE2
BAPI_DOCUMENT_CREATEFROMSRC2
BAPI_DOCUMENT_CREATENEWVRS2
BAPI_DOCUMENT_GETLATEST
BAPI_DOCUMENT_GETLATEST2
BAPI_DOCUMENT_GETSTRUCTURE
BAPI_DOCUMENT_WHEREUSED
BBP_PROD_REVLV_CHECK
C14SX_BAPI_DOC_CREATE2
C14SX_BAPI_DOC_CREATE2_EXIT
CAD_DISPLAY_BOM_WITH_SUB_ITE
CAD_ECM_READ
CDESK_CALL_CHECKOUT_WIZARD
CDESK_CHECKOUT_WIZARD
CDESK_CHECKOUT_WIZARD_RFC
CDESK_GET_STRUCTURE
CDESK_WHERE_USED
CM_DI_PROCEED_MAT_PROV
CO_SD_BOM_SELECT_DIALOG
CSAP_DOC_BOM_CREATE
CSAP_DOC_BOM_DELETE
CSAP_DOC_BOM_MAINTAIN
CSAP_DOC_BOM_READ
CSAP_MAT_BOM_CREATE
CSAP_MAT_BOM_DELETE
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_OPEN
CSAP_MAT_BOM_READ
CSEP_MAT_BOM_READ
CS_RT_DIALOG_CALL
CV115_ECN_CHECK
CV115_ECN_REVLEVEL_SET
CVAPI_DOC_CHANGE
CVAPI_DOC_CREATE
CVAPI_DOC_MAINTAIN
DMU_DOC_BOM_EXPLODE
DMU_DOC_BOM_READ
DMU_MAT_BOM_EXPLODE
DMU_MAT_BOM_READ
EXIT_SAPLQAAT_002
EXIT_SAPLQBCK_001
EXIT_SAPLQBCK_003
EXIT_SAPLQPL1_001
MB_CHECK_MPN_RELATION
MB_CHECK_MPN_VALIDITY
MB_MPN_CHANGE_READ_DATA
MB_SEARCH_HTN_MATERIAL
MEPO_CONFIRMATION_PAI
MEPO_CONFIRMATION_PBO
MEX_CHECK_REVISIONSSTAND
ME_CONFIRMATION_MAINTAIN
ME_SEARCH_REVISION_LEVEL
MMPUR_Q_INFORECORD_DISPLAY
QAAT_CHECK_QM
QBCK_INSP_TYPE_LIST
QBCK_INSP_TYPE_NEXT
QBCK_QINF_LIEF_ZAEHL
QBCK_QINF_QUANTITY_CHANGE
QBCK_QINF_READ
QBCK_QM_DOCUMENT_TEXTS
QBCK_QM_GR_CHECK
QBCK_QM_PUR_CHECK
QBCK_QM_PUR_MNG_UPD
QBCK_QM_SYSTEMS_COMPARE
QBCK_VB_QINF_PLOS2_POST
QBCK_VE_QINF_STATUS
QELA_QINF_SELECT
QPAP_PLAN_SELECT
QPL1_CHECK_CREATE_POSITION
QSS1_QINF_SHOW
QSS2_REVLV_F4
RFC_DISPLAY_BILL_OF_MATERIAL
ZQM_CREATE_05_INSPECTION_LOT
Regards
Ganesh -
How to invoke RFC function module from XI interface
Hi all,
I am having one question, How to invoke RFC function module from XI interface.
Please reply me as soon as possible.
Thanks in advance,
RadhikaHi,
To call the RFC in mapping u need to create the RFC lookups...check these links.
How we have to create the lookups?
Check this weblogs with some screenshots on how to achieve this:
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
/people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
lookups in xi
XI Design Guidelines
Re: RFC Lookup API
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
Regards,
Phani -
How to call a function module from the Web Template?
Hi all,
how can I call a function module from a BI 7.x web template and then show the result of the FM on the web template?
Many thanks for your hints.
Regards, NilsHi!
I am too working on a similar issue.
Probably this helps:
Re: Calling a function module from a Web Template
Regards,
Sri -
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. -
How to call a function module from a transformation
Hi,
Could somebody please let me know how I can call an abap function module from a transformation (abap xslt program). I know how to call the class methods from transformation, but how do i call a function module..?
Thanks,
Shashi.
Edited by: Shashi Kanth Kasam on Apr 8, 2010 12:45 PMYa. I can do that. But I don't want to use a class and a method to call that function module. Want to directly call function module from transformation. Is that possible..?
Thanks,
Shashi -
Calling Z function module from BSP page
hi,
i am calling a z function module from BSP application ROS_SELF_REG ,The z function module is inside a z function group,It does not give any sytnax error..but while running BSP application ,it is going into dump saying that Z function module is not found..Any idea why this is happening???Hi,
Check whether the Z function module is spelled correctly. Also try activating the whole function group and function module in se80 transaction.
Check whether the BSP application is calling the Z FM from the correct server/client where it is available.
Regards,
Harish -
Can you call a function module from within a smartform?
I was told that yu can not call a function module from a smartform - that does not make sense to me because you can do tons of ABAP within a smartform.
Well - can you?
Thanks.
ScottYes, you can call function modules.
-
Call an ABAP program or a function module from command prompt/python script
Dear All,
I want to call a function module/ABAP program from command prompt or a python script.
Let me explain with an example.
There is a function module "z_add" that takes two integers as input parameters and generates their sum.
the sum is the output parameter.
Now i want to call this function module from command prompt / python script and pass parameters to this function module.
In return i must get the sum(i.e. the output of function module).
I tried using STARTRFC ,was able to call the FM but could not get the return value(output) from FM.
Can you please provide me the code of such a function module and the method to call it thereby passing parameters and getting the sum.
Thanks and regards,
Gaurav
Edited by: gauravkec2005 on Mar 4, 2010 7:41 AMthank you both! helpful answers! :o)
anyway!
i have written the program which is called from the SAPScript:
/: PERFORM GET_VATNUMBER IN PROGRAM ZFI_F140_OPERATIONS
/: USING &BKPF-BUKRS&
/: CHANGING &VATNUMBER&
CE VAT Registration No : &VATNUMBER&
REPORT zfi_f140_operations.
FORM get_vatnumber TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
DATA: lv_co_code TYPE bukrs,
lv_vat_no TYPE stceg.
READ TABLE in_par WITH KEY name = 'BKPF-BUKRS'.
MOVE in_par-value TO lv_co_code.
SELECT SINGLE stceg FROM t001
INTO lv_vat_no WHERE bukrs = lv_co_code.
out_par-name = 'VATNUMBER'.
WRITE lv_vat_no TO out_par-value.
CONDENSE out_par-value.
MODIFY out_par INDEX 1.
ENDFORM.
it is not working and i cannot work out why...
i have not been ABAPing for very long but have had a go....
any thoughts as to what i have done wrong?
or point me where i should be looking? thank you! -
We installed a new system and imported the syncbo definitions to this new system.
After the import and generation of all T01 SyncBOs we get an error. E.g. for MAM25_016:
Function modules from the function pool Z_MEREP_GEN_T01_MAM25_016 contain syntax errors
Message no. MEREP_00530
After investigation the following syntax error is shown:
Source code LZ_MEREP_GEN_T01_MAM25_016U04 Line 641
The FORM "MAM25_016_CONV_NAME" does not exist, but there is a FORM with the similar name "MAM25_016_I_CONVERSION".
"MAM25_016_I_CONVERSION".
We are already using three systems D -> Q -> P. The export/import of files between these systems work okay. But not with the new system. All are on NW04 SPS 18. In the other systems the form is available.
Does someone have an idea how to solve this?
Thanks in advance,
Benjamin de RijkeHello Rahul / Karthick,
Thanks for the tip, I already reimported these with no effect. Next to this I deleted the function modules for a Z-syncbo (our own developed one). But this didn't help as well. The MAM-SyncBO function group can not be deleted because the system is not a developement system. We are not allowed to develop things in this environment.
I have the feeling that it has something to do with the initial setup of this system. All the others were first on SPS15 were we developed the SyncBOs. At a certain time we updated the systems to SPS18 and developed further. No issues so far regarding the import / export of the files from D to Q and P.
Now we initial installed a new system on SPS18 and on this one the generation failes with the mentioned syntax error.
Kind regards,
Benjamin -
HOW TO CALL FUNCTION MODULE FROM ABAP4 EDITOR
HI !
friends
I want to call function module from abap 4 editor.
is there any shortcut key from edit menu through which if give a function module name then it calls the function automatically?
points will be awarded.
Cheers
troycommand will be like this
<b> call function 'YW2_GET_MNW_PERIOD'
exporting
w_budat = v_datum
importing
w_period = i_date-period
w_period_desc = i_date-p_desc.</b>
Regards
prabhu -
How to call a ECC 6 Function module from BI 7 process chain
Hi BI Gurus
I wann to push the data from infocube to ECC 6 ( Tcurr) table on a daily basis, and we have a function module written in ABAP and this FM is in ECC 6 sytem and we need to call this function module from BI inorder to update the TCURR table.
I used ABAP programm in Process chain but i failed as i dint see any functionality for FM. i could see only abap programm.
I need any you advise on this.
thanks in advanceHi,
If you are able to see the ABAP report of ECC 6, this ABAP report will inturn call this function module.
Call the report in process chain. -
How to call a function module from a workflow ? ?
hi all,
i have to call a function module from an workflow, i got a hint from someone that i have to enhance an object and then write and methode, in this methode i can call that function module. I dont know even how to go for it.
Can anyone suggest that how to go for it ?
thanks.
raman khurana.Hi Raman Khurana,
Please go through the links it might be helpful , notsure
http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/content.htm
http://www.abapcode.info/2007/07/standard-function-module-text.html
http://it.toolbox.com/wiki/index.php/SAP_Workflow
Regards,
Sreekar.Kadiri.
Maybe you are looking for
-
Hello. I am running Photoshop CC 2014 on a MAC with OSX LION. I also have Photoshop CS6 installed. When I double-click on a file in Bridge CC, it always opens in CS6. If I say "OPEN WITH Photoshop CC 2014", or if I drag the file directly to CC 20
-
Trying to find the app preference for Final Cut Pro 7
Upgraded from Snow Leopard to Mavericks running Final Cut ver7.03 Black Magic Design Intensity Pro card in PCIe 26 gigs RAM Normally if I had an issue in Snow Leopard, I could TRASH the FCPplist and re instate my preferences from the start. Im having
-
I suspect the answer is simpler than I expect, but it has been eluding me none the less, so I've been wondering how to draw a continuous dashed line, as per the title. I'm cleaning up a photo I made a while back and would to create a flowing line and
-
Is it possible to buy macbook air with russian keyboard?
Is it possible to buy macbook air with russian keyboard?
-
A few basic questions by a FCP switcher
Hello, I'm doing the switch. FCP has been my platform for 13 years and (yes, sadly) I decided to leave it. I'm working for TV and channels like National Geographic, so I need power and modern software. I then have a few questions... and many suggesti