Can I execute a function module in my Webdynpro App ?
Hi,
Can I execute a function module in my Webdynpro App ? I mean, it's not a BAPI.
Is it possible ? which is the procedure to follow ? (comparing to a bapi procedure).
Thanks for your help !
Regards from Mexico. =)
Diego
Hi Diego,
the warning icon indicates that you're using a function module that has not been externally released. If the corresponding function module has been defined by SAP, its interface might be changed in an incompatible way within one of the next releases, e.g. removing / renaming a parameter or structure field. Stability is only guaranteed for BAPIs or external released function modules.
From the point of view of the model import it does not make any difference. If import does not work, there seems to be some other problem. Maybe the function module has not been activated in the R/3 system. Or check the log file or the import log page which will be the last page of the import wizard.
You might want to import some other none external released function module in order to verify that model import of these kind of function module works.
Kind regards,
Lothar Bender
Similar Messages
-
Execute a function module from sapportal without to create the users in R/3
I have a pdk application in sapportal. This pdk application will be execute for any sapportal users which don't have R/3 users. The problem is the follow.. in this pdk application there is a R/3 function module that must be execute, ¿how can i execute this function module without to create the users in R/3?
Hi Michael,
Create a JSP dyn page application. Hope you have the table name and in R/3 there will be Function modules already available which we also can reffer.
Then from this JSP dyn page application, call this particular function table.
wE DON'T have to create a user for this.
Regards
Arun Jacob
P.S please award points for helpful suggestions. -
Calling and executing a function module in the Portal iview development
Hello Portal development gurus...
I am very new to portal iview development and am learning a lot of stuff.. I now have a requirement to do the following:
1. I need to use the NWDS to create java code in developing an iview
2. I need to call and execute a function module and display the parameters pulled in from the function module onto a Jsp.
3. I need to create an iview based on this deployed component.
Could anybody please explain me how to do the coding on this front?
I appreciate if anybody can share documentation about this kind of a development.
As always, points galore for useful and helpful suggestions.
Regards,
~~~LBHi,
Firstly Have you searched in SDN for the same, anyhow please go through the link to work on the requirement
[/docs/DOC-8061#15|/docs/DOC-8061#15]
Go through the thread which will talk in detail
[https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955|https://forums.sdn.sap.com/click.jspa?searchID=19551584&messageID=6348955]
Hope this helps.
Cheers-
Pramod -
How to execute a function module?
I am new to SAP and I need to execute a function module, per OSS Note 894279.
It says I need to run a function module with a certian parameter. Well I see how I can modify function modules in SE37 or SE80, but how do I run/execute them?
I am sure this is something simple that I am not aware of. Thanks.Hi,
Go to SE37--> Give the FM name --> press F8 --> Give the values for Import parameters --> Press F8 or exection button on application tool bar.
Thanks,
Sri. -
Can we call a function module in ADHOC query
Hi
Can we call a function module in ADHOC query if yes how.
Also we ned to know how to call a function module in SAP query.
An early responce is appreciated.
Thanks and best regards
RajeevOkay as far as I understand your aim is:
To fill a field in the output list with a value that is based on the current line information and calculated by a function module
So go to SQ02 and create an additional field in the InfoSet.
You can refer in the coding to the technical names you can see in the left tree window like P0000-PERNR.
More information is avaiable in the Help part look for additional field in SQ02.
Regards,
Michael -
How can i use reuse_alv_fieldcatalog_merge function module
I am using below steps for populating the final internal table.How can I use reuse_alv_fieldcatalog_merge function module in the place of declaring all these fields.How canI put title of the report in reuse_alv_fieldcatalog_merge function module.
FORM BUILD_FIELDCATALOG .
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'KUNNR'.
FIELDCAT-SELTEXT_M = 'Customer Name'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VBELN'.
FIELDCAT-SELTEXT_M = 'Invoice Reference'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VKBUR'.
FIELDCAT-SELTEXT_M = 'Sales Office'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'VKGRP'.
FIELDCAT-SELTEXT_M = 'Sales Person'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FINAL'.
FIELDCAT-FIELDNAME = 'POSNR'.
FIELDCAT-SELTEXT_M = 'Item No'.
FIELDCAT-JUST = 'L'.
FIELDCAT-KEY = 'X'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.
FIELDCAT-TABNAME = 'IT_FIANL'.
FIELDCAT-FIELDNAME = 'ARKTX'.
FIELDCAT-SELTEXT_M = 'Item Description'.
FIELDCAT-JUST = 'L'.
FIELDCAT-DATATYPE = 'C'.
APPEND FIELDCAT TO I_FIELDCAT.
CLEAR FIELDCAT.Hello,
It is very easy to use reuse_alv_fieldcatalog_merge.
You try this it will work.
example
data:
DATA : gv_repid TYPE syrepid VALUE sy-repid . " Report id
PERFORM set_field_catalog USING gst_struct CHANGING lst_fieldcat.
FORM set_field_catalog USING uv_tab TYPE slis_tabname
CHANGING xt_fieldcatalog TYPE slis_t_fieldcat_alv.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = gv_repid
i_internal_tabname = uv_tab
i_inclname = gv_repid
CHANGING
ct_fieldcat = xt_fieldcatalog
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " set_field_catalog_spec -
Error while executing the function module BAPI_RE_CN_CREATE
Dear All
I was using the the function module BAPI_RE_CN_CREATE. When I am trying to execute the function module I am getting the error message u201CBusiness transaction RECN doest existu201D. While inputting the parameters for the function module I have given RECN In the input field TRANS. Requesting you to please kindly suggest.
Regards.
VaraprasadHi Varaprasad,
please try the following.
1. Create a contract manually in the system
2. Use BAPI_RE_CN_GET_DETAIL to show how the fields and structures are filled.
3. Check and change the parameters for BAPI_RE_CN_CREATE accordingly.
Hope that helps.
Regards, Franz -
How can i use this function module
Hai
How can i use this function module /SAPHT/SALES_ORDER_READ, already apply the some parameters in this function module, but it shows the error , please tell me, how to declare the parameters in this function module ,
thanks
neelimaHi
For a particular sales order,you have to pass the order number and the item number in the sales order.
It will display the rest of the values which u can capture them using internal tables.
Regards,
Vishwa. -
Can we Creare a Functional Module in Our BW side?
Hi friends,
Can we Creare a Functional Module in Our BW side?
Thanking you.
i would appriaciete if you share my issue.Hi,
You can create FM in BW side, it is like normal ECC FM.
Eg: Goto SE37 and give /OSP/SCHEDULE_WEEKDAY_JOB and see the details, like that you can create your own FMs in BW.
Thanks
Reddy -
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.
-
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 -
Can one call a function module in Calculated Key Figure?
Can one call a function module in Calculated Key Figure? If yes how, if not, what is the solution if formula does not suffice?
I want to convert duration which is in seconds to Duration in Hours and Minutes. There is a function module for doing it. Not sure how to do it in a formula.One option you have is a Virtual Key Figure and User Exit to use the Function Module to convert the time from seconds to HH:MM. Here are two documents on this subject to help you create them, based on the technology your comfortable with:
[Implementing Virtual Key Figure/ Characteristics Makes Query More Dynamic|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c&overridelayout=true]
[Step By Step Process for Virtual Key Figures and Characteristics through BAdi|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c&overridelayout=true] -
Can we call a Function Module with in a loop
Hi,
Can we call a Function Module within a loop . Does it reduces the performance.
Can you please guide regarding this.
With Best Regards
Mamatha.hi Mamatha,
You can call .. but it is better to avoid calling it within a loop...
Loop at it_tab.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = it_tab-vbeln.
importing
output = it_tab-vbeln.
endloop.
Regards,
Santosh
Message was edited by:
Santosh Kumar Patha -
Can I Execute a function whose name is stored in a string variable?
Can I execute a function whose name is stored in a string variable?
Like
Depending on the condition I will stroed the name of the function in a string variable. Then using that string variable i want to execute the function.
String str=��
iVal an int can take ne value
Switch(iVal)
Case 1:
str=�test1()�;
Case 2:
str=�test2()�;
I want whatever function name is in str to be executed.
----------------------------------------------------------------------------------For just executing a method or two, reflection might be easier than beanshell (or it might not). For executing entire scripts, beanshell will be preferable over reflection.
(I assume beanshell uses reflection under the hood, but I've never bothered to peek.) -
Can anybody send the function module to read inspection characteristics ?
Hi friends
can anybody send the function module to read inspection characteristics ?
(rate routings).
thanks in advanceHi,
Use the BAPI,
<b>BAPI_INSPCHAR_GETRESULT</b> to get the deatils.
also look at this BAPI <b>BAPI_INSPOPER_GETCHAR</b>
Regards
Sudheer
Message was edited by:
Sudheer Junnuthula
Maybe you are looking for
-
I bought an iPod touch 4th genertion in August 2013. About 3 weeks ago, iTunes told me an update was available for my iPod so I clicked update. It then said it had detected an iPod in recovery mode and I had to restore my iPod. I tried to restore it
-
How to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?
how to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?
-
How to move lob segment in partitioned table
On my Oracle 11.2, I have a partitioned table wich I would like to move to another tablespace After invoking script, there's still unmoved lob segment withing table CREATE TABLE BONGO.AAA_3 ID NUMBER, DATUM DATE, OBJEKAT BLOB TABLESPA
-
TestPool method of data source is returning some strange value!!
Hi All I am trying test a data source connection using the mbean api: testPool. It is giving me some weird output like: <method $Proxy18.testPool of $Proxy18 instance 5> My code: connect('weblogic', 'weblogic1', 't3://localhost:7101') serve
-
Why can't I check my plugins at Firefox Plugin Finding Service ?
Every time I visit this site to check and upgrade my plugins I encounter the same Plugin Finding Service Error saying " We've encountered an error. Please try your request again later." I have used Firefox for 2 years but I could never check my plugi