RH_PM_GET_STRUCTURE not remote enabled
Hi All,
I want to use the function RH_PM_GET_STRUCTURE to get the supervisor of an employee bu using the SAP JCo 3 toolkit.
But it is seen that this function module is not remotely enabled.
IS there any other function module which would be remotely accessible form Java code to fetch the supervisor details.
Best Regards
Manoj
>
manoj caisucar wrote:
> I tried creating a wrapper ,but while saving gives problem for the OBJID parameter.
> The OBJID does not have nay associated type with it.
>
> Hence it gives error for Remote enabling
>
> Best Regards
> Manoj
Don't do Abhil's first suggestion - it isn't a good idea.
In your wrapper, give the OBJID parameter a data element. If there isn't a suitable one, define on in SE11 and use that.
matt
Similar Messages
-
DD_DOMA_GET not remote enabled but system is 4.7
Backend system is 4.7 that i try to connect from web dynPro project (portal)..It gives error say that
"RFC_ERROR_SYSTEM_FAILURE: The function module "DD_DOMA_GET" not released for 'remote' calls."
I have searched forum beceuse of the function is not remote enabled 4.6 and proposing to implement 717836,718320 snotes...But my system is 4.7 and these snotes are not suitable for my backend (4.7) system.
What can i do?
Best regards..Hi Tuncer Gorgun,
Check whether your JCO Connections are active or not. If they are active, then the problem is with RFC only. If you need to activate the RFC , you can contact the BASIS team to do it.
Thanks
Suresh -
Function module DD_DOMA_GET not remote enabled in miniSAP system
Hi Experts,
I've succesfully installed miniSAP system (from ABAP Objects book).
The problem is that when I try to import the Meta Data of any BAPI in the Web Dynpro for Java model, it throws an error that "DD_DOMA_GET is not remote enabled".
When I try to change the function module DD_DOMA_GET, it does not allow me to do so.
As a result, I cannot import the metadata for any of the available BAPIs.
Please advise.
Regards,
NitinHi,
Create a custom wrapper FM which is Remote enabled & call the FM DD_DOMA_GET inside your custom Remote FM. Changing the std. FM would be a core code mod. hence above approach would be safe.
Thanks,
Best regards,
Prashant -
BAPI_GET_PAYSLIP_PDF not remote enabled
Hey All,
I would like to use BAPI_GET_PAYSLIP_PDF through a web service, but the BAPI is not remote enabled. Anyone know why? I tried copying it to a 'Z' version and set the remote enabled option, but it still does not work when testing the web service.Don't copy it. Create a wrapper like this and give it a try and don;t forget to make it REMOTE enabled.
FUNCTION zbapi_get_payslip_pdf.
*"*"Local Interface:
*" IMPORTING
*" VALUE(EMPLOYEENUMBER) LIKE BAPI7004-PERNR
*" VALUE(SEQUENCENUMBER) LIKE BAPI7004_RL-SEQUENCENUMBER
*" VALUE(PAYSLIPVARIANT) LIKE BAPI7004-PAYSLIP_VARIANT
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
*" VALUE(PAYSLIP) TYPE XSTRING
*" VALUE(PDF_FSIZE) TYPE I
CALL FUNCTION 'BAPI_GET_PAYSLIP_PDF'
EXPORTING
employeenumber = employeenumber
sequencenumber = sequencenumber
payslipvariant = payslipvariant
IMPORTING
return = return
payslip = payslip
pdf_fsize = pdf_fsize.
ENDFUNCTION. -
Standard Remote-Enabled Function Module to display data.
Good afternoon,
Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
May someone help me in this?
Thanks in advance for your answers.
Best regards,
Paul d'ORIGNYHi,
Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
FUNCTION Z_EM_INVOICE.
*""Local Interface:*
*" IMPORTING
*" VALUE(I_FKDAT) TYPE FKDAT OPTIONAL
*" TABLES
*" E_VBRK STRUCTURE VBRK
*select * from vbrk into table*
e_vbrk where fkdat = i_fkdat.
ENDFUNCTION.
From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
data : v_dest_system TYPE char255.
data: l_vbrk type table of vbrk.
v_dest_system = 'DRDCLNT010'
CALL FUNCTION 'Z_EM_INVOICE''
destination v_dest_system
EXPORTING
i_fkdat = <passing variable>
e_vbrk = l_vbrk.
Regards,
Anjana. -
Remote-Enabled Function Modul G/L Accounts
Hi!
I am looking for remote-enabled function moduls (or BAPIs) to create and change G/L Accounts. There are two function moduls which seems perfect (GL_ACCOUNT_INSERT and GL_ACCOUNT_UPDATE) but these two are not remote-enabled.
Does anyone know some alternatives that i missed?
Thanks in advance,
Frank!Hi.
Look at this function module
BAPI_ACC_GL_POSTING_POST -
Remote enabled function modules IN R/3
hi,
i posted this question before but i didnt get a convincing answer to move forward
when data is sent to bw from r/3 there should be some remote enabled function modules which are getting fired.
so people told me to find fm for each data source in 'ROOSOURCE' table.
and to debug to get the function module IN RSA3.
i got those function module but these r 'NORMAL FUNCTION MODULE' but not
'REMOTE ENABLED FUNCTION MODULES'
IF REMOTE ENABLED FM'S ARE NOT GETTING TRIGGERED THEN HOW IS DATA GOING TO BW
PLEASE SUGGEST ME I AM WAITING FOR LONG TIME FOR A GOOD ANSWER.OK,
this is a big project.... You want to simulate a BW system.... I think don't think it is not possible but R/3 is a pair exchanging a lot of information and a lot of settings have to be done.... this seems to me very complex....
This will depend on what kind of datasource you want to extract....
- Master data: I would directly go the you SAP database and extract the info form the tables directly (we are actually doing that)
- LO datasources would be a bit more complex since you'll have to initialize your datasource from a BW system.... Or figure out how this is working, meaning reverse engineering of the whole stuff! You could even think about using the exits for the business events, e.g. when an article doc is created, write the data in a flat file and/or write it directly to the DB of your DW....
Also I would setup a BW system anyway; it is so easy then to manage all this data... You could then stick to load the data to the PSA and extract it very easily to your external DW. Even BW provide much more extraction capabilities once the data is stored there....
They're a lot of solutions like always... the challenge is to choose the best one.
hope this helps...
Olivier. -
Remote enabling a function module
Hi all,
I need to use function module WFMC_MESSAGE_SINGLE to allow printing with PDA. However it is not remote enabled.
How can I make it remote-enabled? What are the possibilities?
Thankscopy the function module WFMC_MESSAGE_SINGLE to a ZWFMC_MESSAGE_SINGLE function module and keep the same function group and click copy icon.
Now in the attributes of the new function module select the Processing Type "Remote_Enabled Module"
Save and activate.
Reward Points if useful. -
Creatve IR remote will not stay enabled (RM1500) SB audig
The RM500?remote control will not stay enabled in ENT. settings. After rebooting PC I have go to settings and enable it. Does anyone have any Ideas? Thanks.SBaudigy 4
@ Ok, 2.5 years later but here's the solution: in C:\Program Files (x86)\Creative\Shared Files\Module Loader\RC System there's a file called RCSystem.CFG
You can set default options here. You need to set:
RunAtStartUp=
SupportWinApp=
And there you go, it's enabled by default! -
Calling a remote enabled function module which does not exist in caller sys
Hi,
I have a a system ABC from which I am trying call a rfc enabled fm(Test) present in system XYZ.
The fm(Test) does not exist in the system ABC so I am getting generation errors and dumps.
Is there a way for me to call these remote enabled function modules which does not exist in the caller system without the obvious errors etc.
Is there any special way.
ThanksHi,
please check this sample:
REPORT zcallfm .
DATA: xv_return TYPE sysubrc.
CALL FUNCTION 'DOESNOTEXIST'
DESTINATION 'NOWHERE'
EXPORTING caller = sy-sysid
IMPORTING return = xv_return
EXCEPTIONS system_failure = 1
communication_failure = 2
OTHERS = 4.
It shouldn't throw any generation errors in your system!
Regards,
Klaus -
Remote-enabled function module could not be imported
Hello all,
I have a problem. In so called Enterprise Services Builder I want to import a remote-enabled function module. But I got the following error:
Could someone tell me how to fix the problem? thx.
Best regards,
Fanglin YeHi,
I hope I already answered.
"You can transfer his changelist to your name for activation"
Goto--> changelist tab --> right click on your colleague's changelist --> transfer
then activate under your name -
What would be the effect of %_RFC in a custom remote enabled FM.
Hi,
I have a requirement where there already exists a customized Remote enabled function module which contains the code for retreiving the production order number range based on the selection criteria(workcenter,plant) as follows:
CALL FUNCTION 'ZPRODORD_WORKCENTER' %_RFC
EXPORTING
COLLECTIVE_ORDER = COLLECTIVE_ORDER
I_ARBPL = I_ARBPL
I_WERKS = I_WERKS
IMPORTING
RETURN = RETURN
TABLES
ORDER_NUMBER_RANGE = ORDER_NUMBER_RANGE
ORDER_HEADER = ORDER_HEADER
This function is used in an INCLUDE program.Here I would like to know the significance of %_RFC.Im not able to locate the actual program where this include is used using the where used list to find out the value which may be passed during debugging as this may be called from another server.
Edited by: Vineela S on Oct 1, 2011 7:22 PMHi Naimesh,
Thanks for your reply.
But here if I check the function group in which the RFC is defined im able to find the following Includes:
* System-defined Include-files. *
INCLUDE LZPRODORDRFCTOP. " Global Data
INCLUDE LZPRODORDRFCUXX. " Function Modules
* User-defined Include-files (if necessary). *
* INCLUDE LZPRODORDRFCF... " Subprograms
* INCLUDE LZPRODORDRFCO... " PBO-Modules
* INCLUDE LZPRODORDRFCI... " PAI-Modules
INCLUDE LZPRODORDRFCF01.
But in not able locate the include LZPRODORDRFCV07 which i have mentioned above.
I would also like to know what would happen if the %_RFC is removed.Would the addition of %_RFC affect the performance of the program in any manner.
Im not able to execute the program myself as it is linked with another server.
Regards,
Vineela. -
How to make function module remote enabled?
I am trying to make the RSCRMBW_GET_CELL_DATA_BAPI function remote-enabled by choosing remote-enabled in the attributes tab in the function builder. When I try to activate the function, I get an error telling me that Reference parameters are not allowed with RFC. In order to get around this, I set each of the import parameters to pass value. This time, I get an error for Generic types not allowed in RFC. I change the I_NO_TEXTS type from C to CHAR50. Finally, I get an error for Type RSCRM_BAPI6111CD_LARGE_T is unknown. I am able to see this type in both the RSCRM type pool (to which the 'unknown' type belongs) and CL_RSCRMBW_BAPI>GET_CELL_DATA_V2 method (which calls the function). However the function builder still tells me that the Type RSCRM_BAPI6111CD_LARGE_T is unknown.
Hi,
You need do this in a work around way. My suggestion is you need to create wrapper function module (RFC enabled) with same paramters of fm RSCRMBW_GET_CELL_DATA_BAPI and inside this function module pass these parameters and call fm RSCRMBW_GET_CELL_DATA_BAPI, then there is no need to change fm RSCRMBW_GET_CELL_DATA_BAPI
a® -
Message handling in remote enabled function module .
Hello experts ,
I am creating a remote enabled function module which must return a warning message based on certain condition . Inorder to meet the requirement I have added this line in the Fm's source code :
" Message Wxx(message class) with a ."
But when I am trying to use it , the above given message is dispalyed as an error message . Could you please let me know where am I going wrong . TIA.
Regards,
Prakrita Kapoor.Hi Prakrita,
Try building below code within the RFC after you have added return structure in your RFC parameters.
IF sy-subrc NE 0.
CLEAR message.
message-msgty = 'E'.
message-msgid = 'ZMI'.
message-msgno = '001'.
message-msgv1 = ID.
PERFORM return_message USING message
CHANGING return.
Endif.
form return_message USING VALUE(P_MESSAGE) LIKE MESSAGE
CHANGING P_RETURN LIKE BAPIRETURN.
CHECK NOT MESSAGE IS INITIAL.
CALL FUNCTION 'BALW_BAPIRETURN_GET'
EXPORTING
TYPE = P_MESSAGE-MSGTY
CL = P_MESSAGE-MSGID
NUMBER = P_MESSAGE-MSGNO
PAR1 = P_MESSAGE-MSGV1
PAR2 = P_MESSAGE-MSGV2
PAR3 = P_MESSAGE-MSGV3
PAR4 = P_MESSAGE-MSGV4
IMPORTING
BAPIRETURN = P_RETURN
EXCEPTIONS
OTHERS = 1.
endform. -
DD_DOMA_GET - remote enable?
While importing any RFC from R3 to IR getting error -> The function module "DD_DOMA_GET" not released for 'remote' calls.
I got solution from forum.
1. Is FM DD_DOMA_GET remote enabled.Please change the DD_DOMA_GET to remote-enable.
2. Then Try to import the IDOCs in your Integration
Repository.
3.Please also have a look in note 718320
It was not clear if both (step1-developer key/change FM, step 3-apply OSS notes) are required? For step 3 basis help is required, hence confirming thanks.Hi,,
<i>Symptom
When you work with the MetadDataInterface (referred to below as the mdi), you receive different results depending on the R/3 back end from which the information is extracted.
You also notice a difference in performance.
Other terms
MetaDataInterface, mdi, Adaptive RFC, access to R/3 back end
Reason and Prerequisites
Among other things, the Java API MetaDataInterface allows you to access R/3 data types from a Java environment. A prerequisite for receiving o the complete type information is that the necessary function modules in the back end are remote-enabled.
Increasing demands on the mdi resulted firstly in function modules in the back-end system being remote-enabled or in the creation of new modules. For earlier releases, these function modules were created or changed in Support Packages. Therefore, they do not always exist in these releases.
This may lead to different results, for example, if you use mdi in the context of Adaptive RFCs. This may also result in a loss of performance.
Solution
If you have not already done so by importing the relevant Support Package, you should make the DD_DOMA_GET module remote-enabled.
You should also refer to the related note with regard to the new modules.</i>
Regards
Bhavesh
Maybe you are looking for
-
Deskjet 710/720/810/820/1000 Series printers - Patch for 64 bit Vista and Windows 7
There is an issue with the 64 bit Vista, Windows 7 and Windows 8 or 8.1 drivers that causes the spooler to crash with the following HP Deskjet printers: Deskjet 710 Deskjet 712 Deskjet 720 Deskjet 722 Deskjet 810 Deskjet 812 Deskjet 820 Des
-
Text wrapping in Mail and print of grahics in messages
I have seen a number of questions from users asking about how to make text wrap in MAIL - but so far I have not observed any answers! Is there a way to make text in incomming messages wrap - so the window not becomes 50 cm wide? I do not know why thi
-
Hi, I'm using a sequence in INSERT ALL statement. I want to insert multiple rows using a sequence number which will be generating the unique values for my table. But as far as i know, Oracle treats all occurances of a seq.nextval as a single referenc
-
Hello, I'm hoping someone can assist. I have an image that was working but the builtin admin account was disabled. I went into the image and enabled the account and set a password. I ran sysprep and capture. Now, when i try to deploy either image
-
[SOLVED] Csmash, can't build the app.
Can't build the game, well i know the PKGBUILD was submited pretty long ago, but want to build Well i got this on ./configure checking for glLoadIdentity in -lGL... yes checking for gluPerspective in -lGLU... yes checking for gzdopen in -lz... yes ch