Function builder
Hi experts
please tell me in SE37 function builder ther we have 7 tabs ,what is the importance of Input Parameretrstab and Output Parameters tab
please tell help me
Hi Ajay,
Function module:
Input Parameretrstab : These are the input parameters for the function module. In other words its the import parameters based on which you want to manipulate the data. These acts as the input for the function module.
Output Parameters tab: The fields in output parameter tab are the output or the manipulated data after the execution of the function module.
Regards,
Satyam
Similar Messages
-
What are the different types of parameters available in function builder an
What are the different types of parameters available in function builder and where do we use them.
The different type of parameters available in FM are
Import - They are used to pass the values to the function module.
Export- They are used by FM to pass the result back to the calling program.
Changing - The variables are passed to the FM and can be changed during the FM processing.
Tables - Internal tables can be passed to the FM (it works similar to changing parameter). -
Transaction: F-03
Error: System erro in routine FI_TAX_GET_MWSKZ_EXISTENCE error code 12 function builder TAX2
please let me know .how to fix this error
Regards
SujanHi Vinay
I applied SAP note for that problem. I now am in new project donu2019t remember exact note number .....but pls check the below note
1162241
Regards
Sujan -
Significance of "LIKE" and "TYPE" typespec in Function Builder
Hi all,
Can anyone tell me the significance of "TYPE" and "LIKE" in the Type Spec field of Function Builder?
How does it differ for IMPORT/EXPORT and TABLE?Hi,
TYPE
The type can be one of the predefined types, one of your own that you defined in the same program using TYPES, or a global type stored in the ABAP Dictionary The default length SL of the field f depends on its data type type.
LIKE
The TYPE addition is designed to be the only construct that enables references to data types, whereas the LIKE addition is used only for data objects. The repository objects in the ABAP Dictionary are data types but not data objects. Outside of ABAP Objects the LIKE reference to database tables and flat structures in the ABAP Dictionary is still allowed for reasons of compatibility with previous releases
In classes only the TYPE reference can be used to refer to data types in the ABAP Dictionary. The LIKE reference is allowed to local data objects only. In local classes this includes the attributes of the class and the data objects of the main program. In global classes only the class attributes can be referenced. This applies both to data declarations and to type assignments of interface parameters and field symbols
cheers,
sasi -
As the HsDescription function only works with HFM is there anyway to get the Essbase alias into a function builder.
According to the SmartView docs only HsvGet and HsvSet are supported with Provider Services so it sounds like you are out of luck.
Regards,
John
http://www.metavero.com -
Creatinga Work Order from Function Builder
Hi
I am trying to create a work order using BAPI_ALM_ORDER_MAINTAIN in Function Builder. I have filled out the IT_METHODS the IT_HEADER and the IT_OPERATION values and I am getting back results in the RETURN field when I execute the BAPI in Function Builder, but when I go into the SAP R/3 GUI and do a search for the new Order # I created it says that the Order 814741 does not exist.
Is it that Function Builder is purely for testing and dose not fully write back to SAP when you execute the BAPI or am I missing something in one of the methods/Objects I am calling to.
Please review my values below.
Thanks, Donagh
[1 ]IT_METHODS
REFNUMBER = 000001
OBJECTTYPE = HEADER
METHOD = CREATE
OBJECTKEY = %00000000001
[2] IT_METHODS
REFNUMBER = 000001
OBJECTTYPE = OPERATION
METHOD = CREATE
OBJECTKEY =%00000000001
[3] IT_METHODS
REFNUMBER = 000001
OBJECTTYPE =
METHOD = SAVE
OBJECTKEY =%00000000001
IT_HEADER
ORDERID = %00000000001
ORDER_TYPE = PM02
PLANPLANT = 1000
BUS_AREA = 9900
MN_WK_CTR = WXDEF001
FUNCT_LOC = PF1-EL1-SB1
EQUIPMENT = 6600MSB001P02
RETURN (after executing the BAPI in Function Builder)
TYPE = S
ID = IWO_BAPI2
NUMBER = 110
MESSAGE = Order %00000000001 saved with number 814741
LOG_MSG_NO = 000000
MESSAGE_V1 = %00000000001
MESSAGE_V2 = 814741
SYSTEM = CE8CLNT850
(the rest of the fields are blank)
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc GowanThese statuses stand for the quality notifications which you can check in QM03 tcode.
Nabheet -
I am getting error "System error in routine FI_TAX_GET_TXJCD_LEVELS error code 2 function build" when I am doing release to accounting throught VF02 this error I am getting.Out client is USA client.TAX is picking up from the Veterx interface.Can anybody help regarding this.I checked the Tax prodeuure and also the tax classification everything is assigned properly.
Good Evening,
The reason why you are getting an error when passing the document to
accounting is because your ship-to partner does not have a jurisdiction
code. The error is correctly triggered since the jurisdiction code is
required when shipping to a jurisdictional country. You can't
post this transaction without a jurisdiction code.
If you maintain a tax jurisdiction code on the customer master,
cancel the invoice and rebill, the document should pass to accounting.
The tax jurisdiction code is maintained on the address data screen.
Please check if there is a jurisdiction code maintained in
the customer master data. If that is not the case, check, if the
tax pricing procedure for the country of the customer is set relevant
for jurisdiction code. If the country of the customer is relevant
(entry for pricing procedure) and the customer master has no jur. code
maintained, the error tells exactly that situation. Then, either the co
should be set to not relevant for TXJCD or the customer should get
that customising entry.
Please be aware that if shipping from the US to a non juristiction
country the system should take a dummy jurisdiction code from the OBCL
transaction.
If you have access to OSS notes then please see:
400766 Changes in accounting interface for Rel
112609 How are tax codes transferred to condit
I hope this helps!
Kind Regards,
Martina McElwain
SD Forum Moderator -
Smartview Issue in Function Builder
Hello Guys,
We are upgrading our Smart view from 11.1.2.1.103_PSE13709867 to 11.1.2.2.310. But while testing the function builder, I found some strange behaviors.
When I try to modify an existing formula it throws error in the function builder window. Although the existing formula fetches the correct data from HFM in both the versions.
While editing if I replace any member selection with a cell reference, it will show the correct member there, but once you click "Ok" and again re-open function builder, you will find an extra double quotes (") in the syntax.
Eg: Existing Formula: *"Scenario#AC"*
Edited and Validated Formula: *"Scenario#"&BK140*
After reopening Function Builer: *"Scenario#"&BK140*"*
The extra double quotes at the end fails the validation.
Did you face any issues like this? Any Workaround or it's just a annoying bug....
Thanks in advance.
//SandipWhat version of MS Office do you have? Earlier versions of Office (2003 for example) is a bit buggy with System 11.
-
Open new class or function builder window per program
Hello,
in my program I've got a string variable <b>a</b> that either holds the name of a class or of a function module. Besides there is a variable <b>b</b> that tells me whether <b>a</b> is the name of a class or a function module.
Now I would like to open a new sapgui window that either shows the class named by <b>a</b> in the class builder or the function module namend by <b>a</b> in the function builder depending on the value of <b>b</b>.
I experimented with sap's cl_wb_startup and cl_wb_request but calling the start method of cl_wb_startup gives an error stating that I've got no permission to access transaction wb_new_window.
Question is now if there is another way to open the desired sapgui window or if my experiments went into the right direction but I need to get the required transaction permission.
Thanks in advance and best ergards,
Patrick BaerDefinitely not the best way, but a solution none the less.
report zrich_0003 .
data: bdcdata like bdcdata occurs 0 with header line.
data: messtab like bdcmsgcoll occurs 0 with header line.
parameters: p_fmname(50) type c,
p_clname(50) type c.
start-of-selection.
perform call_transaction.
* Form CALL_TRANSACTION.
form call_transaction..
data: session_name(30) type c.
data: tcode type sy-tcode.
clear bdcdata. refresh bdcdata.
clear messtab. refresh messtab.
clear: session_name.
concatenate sy-uname sy-datum sy-uzeit into session_name.
if p_fmname <> space.
tcode = 'SE37'.
perform bdc_dynpro using 'SAPMS38L' '1009'.
perform bdc_field using 'BDC_CURSOR'
'RS38L-NAME'.
perform bdc_field using 'BDC_OKCODE'
'=SHOW'.
perform bdc_field using 'RS38L-NAME'
p_fmname.
elseif p_clname <> space.
tcode = 'SE24'.
perform bdc_dynpro using 'SAPLSEOD' '1000'.
perform bdc_field using 'BDC_CURSOR'
'SEOCLASS-CLSNAME'.
perform bdc_field using 'BDC_OKCODE'
'=CIDI'.
perform bdc_field using 'SEOCLASS-CLSNAME'
p_clname.
endif.
* Call the transaction in another session
call function 'ABAP4_CALL_TRANSACTION'
starting new task session_name
destination 'NONE'
exporting
tcode = tcode
mode_val = 'E'
update_val = 'S'
tables
using_tab = bdcdata
mess_tab = messtab
exceptions
call_transaction_denied = 1
tcode_invalid = 2
others = 3.
endform.
* Start new screen *
form bdc_dynpro using program dynpro.
clear bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
append bdcdata.
endform.
* Insert field *
form bdc_field using fnam fval.
clear bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
append bdcdata.
endform.
Regards,
Rich Heilman -
At the company I'm currently at...they have HFM and Essbase 9.3.1. All Function Builder formulas are present if going through HFM. However, only HsGetValue and HsSetValue are present when connecting to Essbase. Are the other not supported via Essbase?
Many of the HFM functions are not available for Essbase . For example HSDescription. In the documentaion on Smartview there is a list of functions and what is supported it can be found at http://download.oracle.com/docs/cd/E12825_01/epm.111/sv_user_help/frameset.htm?launch.htm, but a quick snapshot of the table is
Function Feature
Data Source Providers
Use HsGetValue Essbase, Financial Management, Hyperion Enterprise
Use HsSetValue Essbase, Financial Management, Hyperion Enterprise
Use HsDescription Financial Management, Hyperion Enterprise
Use HsGetText Financial Management
Use HsSetText Financial Management
Use HsCurrency Financial Management, Hyperion Enterprise
Use HsLabel Financial Management, Hyperion Enterprise
Refresh active worksheets or workbooks Essbase, Financial Management, Hyperion Enterprise
Migrate Financial Management spreadsheet add-in functions to new syntax Financial Management, Hyperion Enterprise
Display functions by using smart tags Essbase, Financial Management, Hyperion Enterprise -
Define our own Exceptions in th function builder
hi
how to define our own Exceptions in th function builder in the Exception tab and how to use them in functon definiton.
regards
ravishHi,
<b>Exceptions</b>
The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
<b>Note</b>
For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
Regards,
Padmam.<b></b> -
Executing BAPI_BCONTACT_CREATEFROMDATA via Function Builder fails
Hi All,
I'm trying to execute a function module BAPI_BCONTACT_CREATEFROMDATA via Function Builder(SE37) to create contact. The function seems to be executed properly since the return code is 000. But I can't find any corresponding record from cic0. Any ideas?
Regards,
Edited by: Ken Lam on Apr 11, 2008 5:24 AMWith most BAPIs you need an explicit commit. Instead of just testing this BAPI from SE37, add this BAPI and BAPI_TRANSACTION_COMMIT to a test sequence and test.
Go to SE37 initial screen, in the menu 'Function Module --> Test --> Test Sequences '. Enter BAPI_BCONTACT_CREATEFROMDATA in the first line and BAPI_TRANSACTION_COMMIT in the second line and execute. You will get the execution of the first BAPI, enter values and execute it. See the results, go back, you will be prompted to execute the second BAPI. Simply execute it and check your results. -
Use of "Open FPGA VI Reference" function --- Build Specification vs VI vs Bitfile
When using the "Open FPGA VI Reference" function in a LV2012 cRIO application, there are 3 options: Build Specification, VI, or Bitfile. What would be the reasons for selecting one over the others? Does it affect the resulting startup.rtexe when the cRIO application is built? I searched through the help and in these forums, but I don't see criteria for selecting one over the others; maybe I missed it.
Hello Chris,
Apologies in advance for a long reply.
The reference method won't change the functionality of your rtexe.exe. They all end up dropping a bitstream, based on a bitfile, onto the cRIO's FPGA.
To a degree, the method used to reference the FPGA code is a matter of taste, but there are situations where one method is better suited than the others.
Reference by VI:
Setting the configuration options to open reference by VI is helpful during development when you are making changes to an FPGA VI often and building/testing using the same spec. When this option is used, a bitfile is selected based on the default build specification for the project. A project may have only one default build specification. You can make any build the default by checking the option under the Source Files category in the build properties. The default build is indicated in the project explorer by the green box around the builds icon.
Reference by Bitfile:
This option references a bitfile directly. Through the configuration window, you can select one specific bitfile to open a reference to (this is not dynamic and does not change unless you physically go make a change to that path). If you're using this method, it helps to give your bitfiles more meaningful names than the ones that are automatically generated by LabVIEW. When you run subsequent compilations off of the same build specification and do not change the bitfile nname or path in the build configuration, the old bitfile is overwritten and replaced with the new one. When you are using this option, it is critical that you keep up with which bitfile is the one you want to be using. There is an option now that will help alleviate any problems referencing by bitfile through the Open FPGA VI Reference function. There is a new VI called Open Dynamic Bitfile Reference. It is typically used when you want to chose a specific bitfile to load depending on something in your host code (a configuration option etc) - but it allows you to dynamically reference a bitfile on the block diagram by path.
Referency by Build Specification:
This option is good for when you want to always use a bitfile that is associated with/compiled with the same build configuration. Say you have two options for top level FPGA VIs in your project (each with its own build spec). Both of these VIs have the same interface (read/write controls, DMA) but they run different algorithms or something. This is nice because you can easily switch your host application between them by picking the build spec associated with the FPGA VI you want to use. In this type of sutation, referencing by VI is no good because you can only have on default build spec.
cheers.
Matthew H.
Applications Engineer
National Instruments -
What is this function building block??
Hi I am new to labview. I have a basic example that resets a source measure unit, sources voltage, takes a current measurement, and then again resetting the meter. I am just unsure of what the three yellow blocks are that I made a green box around?? If anyone can point me in the direction of where I can find them in lab view so I can read about them to understand what they are trying to do at those points. Also I am wondering if after you have finished your design in lab view if you can make it into a .exe file that can be opened and run by an operator like you can in C or VB, or do you need the full software package installed on every PC?? Thanks alot for your help.
I am just unsure of what the three yellow blocks are that I made a green box around?? If anyone can point me in the direction of where I can find them in lab view so I can read about them to understand what they are trying to do at those points.
When looking at the diagram, hit CTRL-H and the help window will appear. Move your cursor over one of the functions (the "yellow blocks") and the help window will offer a short description of the thing you're hovering over.
Right-click on a function and choose HELP from the menu and you get a more detailed explanation.
Also I am wondering if after you have finished your design in lab view if you can make it into a .exe file that can be opened and run by an operator like you can in C or VB, or do you need the full software package installed on every PC??
Yes. You need to have it in a project (if you labVIEW is newer than 8.0, I think), and make a build specification.
When you BUILD the build spec, you get an EXE file.
This EXE needs what's called the LabVIEW RunTime Engine installed on any machine that it runs on.
No fees or anything, but it has to be there.
It does NOT need the whole LabVIEW DevSys .
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks -
Ideas about non-functional build/iPhone
I have an iPhone app that functions perfectly in the following builds: iPhone simulator (Debug + Release) and iPhone device (Debug + Release). However, the App store feedback that Apple sent is that the app hangs on the startup screen. Since I cannot install the App Store distro on my device, I can't identify the problem. Every other build with the same code functions flawlessly.
Has anyone else encountered such an issue? Apart from getting out Instruments again and looking for leaks, etc. any tips someone can share?Everything is up-to-date (latest iPhone OS and SDK.) Nothing 3G specific. The first page (on which they say it seems to hang) is a table with several controls - textfields, a segmented control and a UISwitch. I'll go back and look at the object allocations etc. and make sure I haven't done something dumb; but I can't think of why builds from identical code would hang in one case and not in another.
Maybe you are looking for
-
Getting ORA-22805 when trying to load XML file using SQLLDR
I'm trying to learn the basics of XML since we'll be getting XML files in the near future. I'm using one of the sample schemas that comes with XMLSPY. I loaded this schema into an 11g Oracle DB using XMLSPY: <?xml version="1.0" encoding="UTF-8"?> <!-
-
Question: Is it always harmelss to re-install a VM Server?
I'm thinking about disaster scenarios, and what I'm going to do about them. One scenario is that one server in a cluster dies, or even is just suspected of being corrupted in some way. Question: What is the procedure for replacing a VM server? Let's
-
How to regenerate output in XML format after having assigned RTF Template
1. I created a concurrent request to get the output in XML data format 2. Having created RTF File and assigned Data Definition and Template through XML Administartor Responsibility 3. Now I want to make changes in Data Definition XML File, However I
-
Hi all , i want to read mail from pop3 server in to abap, for this i m using a php FM by which i am able to read text of mail but i am not reading attachement of mail , plz help me for that reading attachement. /people/anton.wenzelhuemer/blog/2006/05
-
Hi, We have an issue in that all documents are not being retrieved with the search. Both Content server, and TREX server are installed and all are green We have set up the configurations for Create SSR via SRMO DC10, DC20, DC30 are set up. Inst