Execute function before layout display
Hi.
I created planning folder where I assigned function to layout and set its Function attributes equal to
Execute function before layout display.
When I execute my planning folder from SAP GUI everything works fine.
But when I generate Web interface on base of planning folder and execute that one, function is not performed and
corresponding to function button appears.
What should I do in order that function is automatically executed from web?
Hi Marc,
The planning function is supposed to do that i.e. based on certain other variables change the data in the layout. After the data is locked obviously there should not be any changes.
What I was trying to achieve is somehow to be able to access the Planning Folder even though the pre-function is run. Else we would have to go with the way you suggested i.e. create either a separate folder or create a separate layout with no Planning Functions attached. The issue becomes the user has to first get the error message.. realise that the data is locked and then go to another layout / folder.
Similar Messages
-
Web Interface - "Execute function before displaying the layout" issue
Hi Experts,
In my project we have converted some BPS planning folder to Web interface. The steps are as below:
1) Open the BPS planning folder using upspm. Copy the web interface as Web Enabled folder.
2) Generate the web interface by clicking on go to --> Generate web interface
3) Run transaction bps_wb. Open the web interface. Then generate web interface again
4) Run the web interface by clicking on 'Display perview'
5) In the web interface there are some some functions which get executed before displaying the layout.
6) For such functions, push button gets created.
7) I have set the visible property of such push button as false.
8) Most of the time, when I am running the web interface, it
is getting executed successfully.
9) Some times, the web interface is not displaying the layouts successfully.In such cases I have observed that "Execute function before displaying the layout" is not working. Due to this some values like Fiscal Year is not getting set. So, the layout is not getting displayed.
10) I understand that it may be due to compilation error.
For example, I might have made some changes in the web interface. It must be saved and web interface must be regenerated before I diplay the interface again. Can you please help me in understanding the reason of this problem.
11) Can you please help me understand the cause of point no 9. Is it a non-issue? What may be the reason that "Execute function before displaying the layout" does not work every time.
ThanksWill a function that runs, before the data gets saved, work for you? You can configure such a function to run before the save command behind the save button you create in the planning application.
-
About BPS Automatically executed function before the WEB display.
First i has already create the layout and parameter group and assigned the parameter group in "automatically plng funct." of layout.
i want to execute the parameter group before the layout display in web set.
but it never do it. help me please!The configuration you have maintained has no influence in Web. Take a look at how to document "How to Run Planning Sequences on Save and Other Events -WEB.pdf". There you can find detail step by step guide. Good luck!
-
Error when executing function in MSS launchpad report ???
In MSS lanchpad report, we have the following problem:
Error in Manager Sef-Service
When calling the report, the following error occurred:
System: HRP
Error when executing function
Basically in MSS report, I select employees in the first iView which calls another ABAP query in back-end to display back-end t-code inside iView of portal through ITS service. What could be the reason for it? please advice.
Thanks,
AnthonyPlease try converting the standadrd-delivered scenario RPT0, then check
out the things.
Also problem may be that your function code names contain
the character '&'. This causes a problem when the selected function
code is passed to the ITS-WebGUI as a URL parameter. Please use only
standard characters (A..Z and _) when you define a function code.
Then it should work.
Please go through the following link also
http://help.sap.com/saphelp_erp2005vp/helpdata/en/3a/
3198408d953154e10000000a1550b0/frameset.htm
Please test in backend using Se38 > PWPC_RPT_START_REPORT_TEST
The Reporting Iview in the portal has the Report category type, by
the report category type is set to "RPT0". Therefore, when the
application is launched, the reporting category type is also sent as URL
parameter to the backend system. As of ECC 6.0 only the reporting
category type "RPT0" is supported. ensure this is set for your custom reports if you are using own scenarion
then set in the Iview property of reports as well
ie example
1)Change the Iview property "Scenario" of the Reporting iview from
"RPT0" to your own "ZRPT", than this set of reports will work. however,
the standard reports will not work.
pwpc_convert_mdt_to_lpa >>
The following list of reports have been converted. -
Could not execute auto check for display colors using command /usr/
I am trying to Install Oracle 10g R2 on Solaris X86 32 bit
I am connecting to system from my windows vista laptop through putty... I get the following error...
$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5.10. Actual 5.10
Passed
Checking Temp space: must be greater than 250 MB. Actual 1214 MB Passed
Checking swap space: must be greater than 500 MB. Actual 1799 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/openw
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,at which time they will be rechecked.
Continue? (y/n) [n] n
User Selected: No
Exiting Oracle Universal Installer, log for this session can be found at /tmp/Or
I have done the following:-
# DISPLAY=192.168.1.133:0.0; export DISPLAY
# echo $DISPLAY
192.168.1.133:0.0
# xhost+
xhost+: not found
# xclock
xclock: not found
I know that I have to do the following:-
1. Install SUNWxwplt package ========> Is already Installed
2. Set DISPLAY variable
3. Execute xhost + on target (set in DISPLAY) computer
# pkginfo -i SUNWxwplt
system SUNWxwplt X Window System platform software
Some sites claim xming and some xwindows etc.... Plz give me a step by step instruction as how to overcome this..
bash-3.00# /usr/openwin/bin/xclock
Error: Can't open display:
bash-3.00# DISPLAY=192.168.1.133:0.0; export DISPLAY; echo DISPLAY
DISPLAY
bash-3.00# echo $DISPLAY
192.168.1.133:0.0
bash-3.00# /usr/openwin/bin/xclock
Error: Can't open display: 192.168.1.133:0.0
bash-3.00# pwd
bash-3.00# find . -name xhost
./usr/openwin/bin/xhost
^C
bash-3.00# /usr/openwin/bin/xhost +
/usr/openwin/bin/xhost: unable to open display "192.168.1.133:0.0"
bash-3.00#
# echo $PATH
/usr/sbin:/usr/bin
I have also gone through the below ... but was not of much help
Unable to execute runInstaller: Check if the DISPLAY variable is set
Plz help
Edited by: [email protected] on Feb 11, 2009 5:16 AMbash-3.00# echo $SHELL
/sbin/sh
bash-3.00# echo $DISPLAY
bash-3.00# DISPLAY=192.168.1.133:0.0;export DISPLAY
bash-3.00# echo $DISPLAY
192.168.1.133:0.0
bash-3.00# /usr/openwin/bin/xclock
Error: Can't open display: 192.168.1.133:0.0
bash-3.00# man xclock
No manual entry for xclock.
bash-3.00# /usr/openwin/bin/xhost +
/usr/openwin/bin/xhost: unable to open display "192.168.1.133:0.0"
bash-3.00# -
Could Not execute auto Check for DISPLAY
Aloha!
I'am about to install 11g R2 on OLE5 and i set the display variable using "DISPLAY=<machine-name>:0.0; export DISPLAY". Upon installation " ./runInstaller " im having this error "Could not execute auto check for display..."
Can i undo the command mention above?
Thanks for the help.
hadesAloha!
"2. echo $DISPLAY << what it returns?"
value is 0.0
Having the same error..or i can still continue with the installation?
[oracle@ole5 database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 34646 MB Passed
Checking swap space: must be greater than 150 MB. Actual 5087 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Continue? (y/n) [n]
Thanks,
Hades -
Powershell error while importing module and executing function from module
powershell error while importing module and executing function from module
Function called in uncertain order..
VERBOSE: The 'Function1' command in the MyModule module was imported, but because its name does not include an approved verb, it might be difficult to find. The
suggested alternative verbs are "Clear, Install, Publish, Unlock".
VERBOSE: Importing function 'Function1'.
VERBOSE: The 'Function2' command in the MyModule' module was imported, but because its name does not include an approved verb, it might be difficult to fin
d. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Function2'.First of all those errors look more related to HBR, though if it worked before I would restart services then log into the planning app and then try again.
Have you tried a different form as well one without an ampersand &.
Cheers
John
http://john-goodwin.blogspot.com/ -
Could not execute auto check for display colors using command /usr/bin/X11/
Hello,
In a work trying to install ORACLE 11gR2 software in AIX 5.3,
export DISPLAY=local_IPXXX:0.0
xclock
it works, can see the clock.
then go to dowloaded oracle, run
/xxx/11g203_AIX64_5L/database-> ./runInstaller
Your platform requires the root user to perform certain pre-installation
OS preparation. The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation. rootpre.sh can be found at the top level
of the CD or the stage area.
Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
Has 'rootpre.sh' been run by root? [y/n] (n)
y
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 190 MB. Actual 7470 MB Passed
Checking swap space: must be greater than 150 MB. Actual 6144 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/X11/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Continue? (y/n) [n] n
User Selected: No
any idea to fix?
thanks a lot in advancethank you for response
in log, it shows
Using paramFile: /xxx/11g203_AIX64_5L/database/install/oraparam.ini
Checking Temp space: must be greater than 190 MB. Actual 7194 MB Passed
Checking swap space: must be greater than 150 MB. Actual 6144 MB Passed
Checking monitor: must be configured to display at least 256 colors Failed <<<<
>>> Could not execute auto check for display colors using command /usr/bin/X11/xdpyinfo. Check if the DISPLAY variable is set.
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,Continue? (y/n) [n]
User Selected: No
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2012-09-17_04-08-40PM/installActions2012-09-17_04-08-40PM.log
~
--so nothing new as screen shows.
--ok, anonther way, say yes, shows..
continuing with the installation,
Continue? (y/n) [n] y
Ignoring required pre-requisite failures. Continuing...Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-09-17_04-00-30PM. Please wait ...xxxx:/xxx/11g203_AIX64_5L/database-> Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.motif.MToolkit (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.Toolkit$2.run(Toolkit.java:864)
at java.security.AccessController.doPrivileged(AccessController.java:192)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:847)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1812)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:510)
at oracle.install.commons.util.Application.startup(Application.java:780)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:124)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:155)
Edited by: 951932 on Sep 17, 2012 2:12 PM -
Error "Unable to execute function. (USER_ID=1087)"
Hi,
I got the error message when I access the R12 login link. I tried to restart the application but it doesn't help. Do anybody know how to fix it? Thanks.
"Unable to execute function. (USER_ID=1087)"
Edmond
Edited by: Twenty4billy on Sep 13, 2012 6:30 PM
Edited by: Twenty4billy on Sep 13, 2012 6:30 PMPlease post the details of the application release, database version and OS.
I got the error message when I access the R12 login link. I tried to restart the application but it doesn't help. Do anybody know how to fix it? Thanks.
"Unable to execute function. (USER_ID=1087)"
EdmondWas this working before? If yes, any changes been done recently?
Can you find any details about the error in Apache log files?
Any errors in the database log file?
Please run AutoConfig and make sure it completes successfully.
Thanks,
Hussein -
Trigger ComboBox change handler before application displays
I have a ComboBox in a foods catalog, with has a list of categories, say, like this:
All Categories
Meats
Fish
Pasta
All categories are loaded at first, then, on the change event in the ComboBox, the food catalog is filtered and only foods in the selected category are displayed.
I want to eliminate the "All Categories" choice and just have the other three options in the ComboBox – On initial display, the ComboBox selectedItem would be Meats (selectedIndex = 0) but all the catalog items appear because the entire catalog is created on Application creationComplete.
The ComboBox is in a custom component.
The change handler is defined in that same component.
So, what I really need is to trigger that change handler before the display appears.
How do I achieve this?
Any ideas would be greatly appreciated.
CarlosIf this post answers your question or helps, please mark it as such.
Greg Lafrance
www.ChikaraDev.com
Flex Development, Training, and Support Services
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.events.ListEvent;
private function changeFunc(evt:ListEvent):void{
switch(evt.currentTarget.selectedLabel){
case "All Categories":
vs.selectedChild=all;
break;
case "Meats":
vs.selectedChild=meats;
break;
case "Fish":
vs.selectedChild=fish;
break;
case "Pasta":
vs.selectedChild=pasta;
break;
]]>
</mx:Script>
<mx:ComboBox id="cmbx" change="changeFunc(event);"
creationComplete="cmbx.selectedItem='Meats';cmbx.dispatchEvent(new ListEvent(ListEvent.CHANGE))">
<mx:dataProvider>
<mx:String>All Categories</mx:String>
<mx:String>Meats</mx:String>
<mx:String>Fish</mx:String>
<mx:String>Pasta</mx:String>
</mx:dataProvider>
</mx:ComboBox>
<mx:ViewStack id="vs">
<mx:VBox id="all" width="300" height="200" backgroundColor="0x000000"/>
<mx:VBox id="meats" width="300" height="200" backgroundColor="0xFFFFFF"/>
<mx:VBox id="fish" width="300" height="200" backgroundColor="0x0000FF"/>
<mx:VBox id="pasta" width="300" height="200" backgroundColor="0xFF0000"/>
</mx:ViewStack>
</mx:Application> -
Error while executing the report to display on the web in BI 7.0?
Hi All,
In BI 7.0, Getting Error while executing the report to display on the web?
The error message displayed is:
" Network Access Message : The website cannot be found ".
Source: DNS error.
Why this error is coming.
Wht needs to be done.
Thanks in Advance.Hi Kishore,
All the configurations are in proper shape.
We need to change any IP adresses or proxy settings in the Internet explorer (Tools -> Internet options -> Connections -> LAN settings -> etc.,)
Do We need to configure any server address for getting the output to display on web pages in BI 7.0.
EP is not configured over here. Is that causing the problem.
Thansk in Advance. -
Jco exception thrown while executing function "BICS_PROV_OPEN" against syst
Hi,
Am implementing SAP EP, BI Integration. The BI Querys are running fine, but when i try to run a BEx Application Query am thrown with this exception in portal.
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at
I've done all the configuration for the integration and the BI Diagnostic tool is showing all the configurations to GREEN.
Please help me on this...
Regards,
mcsekarException caught: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516) at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1514) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3980) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Proxy.executeFunction(Jco640Proxy.java:362) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Function.executeRfc(Jco640Function.java:75) at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:46) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.variableprocessor.RfcServiceWithVariables.executeCreationFunctionForVariableHandling(RfcServiceWithVariables.java:64) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.isApplicable(ProviderSelectionObject.java:339) at com.sap.ip.bi.base.application.impl.Application.checkAndCreateService(Application.java:709) at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:634) at
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:48) at com -
Alv grid layout display in 2 pages
Hi All,
I am presently working in ALV programming.
The client requierment is "GL line items and summary sheet will be listed in separate pages."
i am dispalying the output using ALV grid layout display.
Can you please conform that how to write logic for summary sheet.that will display after the line items and also saparate page.
Thanks,
SridharHi ,
Use event END OF PAGE .
Write a Form for end of page
then do calcualtions.
Reward if useful. -
How to make the first row selected before the display of ALV grid
Hello Experts,
I created a ALV grid using custom container in a screen . Now i want do the follwing:
1. i want that, the <b>first line must be selected before the display of ALV.</b>
2. I have selection buttons . But i dont want the multiselect button and the
standard toolbar in the ALV grid.
Could any one please help me regarding the above?
Thanks & Regards
Sudhansucan u pls explain in more details with an example?
I am telling u the scenario.
1. i have a screen(Modal dialog Box) containing ALV grid with selection buttons for each row (top part) and a subscreen(second part).
Now when i click on a selection button, it will display the corresponding values in the subscreen.
When this screen will display for the first time , then first row of the ALV grid should be selected and the corresponding values should be displayed in the subscreen.
i wrote the following code in the PAI. But when i select a record its not triggering the PAI.
DATA:
gi_index_rows TYPE lvc_t_row, " Internal table for indexes of selected rows
g_selected_row LIKE lvc_s_row, " Information about 1 row
l_lines TYPE i.
CLEAR g_wa_vdmeko.
*get selected row
CALL METHOD g_alv_grid->get_selected_rows
IMPORTING
et_index_rows = gi_index_rows.
DESCRIBE TABLE gi_index_rows LINES l_lines.
LOOP AT gi_index_rows INTO g_selected_row.
READ TABLE g_int_vdmeko INDEX g_selected_row-index INTO g_wa_vdmeko.
SELECT SINGLE *
FROM vdmepov
WHERE bukrs = g_wa_vdmeko-bukrs AND
styp = g_wa_vdmeko-styp AND
sbez = g_wa_vdmeko-sbez AND
svym = g_wa_vdmeko-svym AND
svnr = g_wa_vdmeko-svnr.
ENDLOOP.
I am displayinng the ALV using method "set_alv_for_first_display".
Please help if u have any idea..................
Thanks
Sudhansu -
Function module for displaying the location
Hi,
Could anyone tell the Function module for displaying the location in our system without a file name while downloading, when the user press f4.
thanks* read the default pathname on application server
call function 'FILE_GET_NAME'
exporting
* CLIENT = SY-MANDT
logical_filename = lc_logical_filename_ftappl
operating_system = sy-opsys
* parameter_1 = ' '
* PARAMETER_2 = ' '
* USE_PRESENTATION_SERVER = ' '
* WITH_FILE_EXTENSION = ' '
* USE_BUFFER = ' '
importing
emergency_flag = l_emergency_flag
file_format = l_file_format
file_name = l_file_name_ftappl
exceptions
file_not_found = 1
others = 2.
Maybe you are looking for
-
ICal sends multiple emails for invites and updates to event attendees - HELP!
Every time I create or send an event in iCal, it sends multiple emails to each attendee (2-3 duplicate emails) with the same event. So if I have 3 event invitees, they get 3 emails each. All the emails are sent from the correct account in Apple Mai
-
How to get padlock icon in iphone 4
how to get padlock icon in iphone 4
-
help
-
Oracle form query mode does not change color to blue
Hi, I have created a custom form and using query mode in it. However on hitting F11, the record does not change to blue, instead it turns white. Can someone please guide me as to what I should be doing to get this right? Thanks for your responses.
-
Dear Friends, I am new in E-Recruitment, and after generating the URL's through the report 'RCF_GENERATE_URLS', I try to test all the URLS. When trying the URL to create the profile, I get the following error on page: The following error tex