Execution of a planning function with the used dimension values in a crosstab
Hello,
would like to execute planning functions within Design Studio but I don't really know how I combine this execution with the used dimension values in a crosstab for the .
Here the requirement:
3 Planning functions which should use the same filter (all values of all dimensions in the crosstab) and which should run one after another:
// open data slice
PF_1.execute();
// generate combinitions
PF_2.execute();
// close data slice
PF_3.execute();
Many thanks in advance.
Kind regards,
Tobias
Hi Arun,
in general it is not possible to nest planning functions. The inner function would update the data in the plan buffer without the outer function knowing about it. Also the inner function might be on a different aggregation level which would make things very tricky.
Alternatively you can include ABAP logic into a FOX formula:
http://help.sap.com/saphelp_nw70/helpdata/en/47/94eb78b6394befe10000000a42189d/frameset.htm
Or just create the complete logic in one ABAP planning function type.
Regards,
Marc
SAP NetWeaver RIG
Similar Messages
-
Integrated Planning: Planning Functions in the Web - Issues with Binding
Hi
We are on SPS 11 and are having some difficulties getting our Planning Functions to execute corerctly in the web templates.
I have created a simple planning function that performs a distribution.
The Planning Function works as expected using the plannning wizard and ristricts the data based on the Filter that I have created on the Aggregation Level as well as the Planning Function Selections.
I have created a query and web template that contains the same restriction as the filter in my aggregation level. The Agg Level filter / planning function and Query Filter all contain the Hierarchy Node Variable ZN_CC1 for the standard Cost Center Hierarchy.
I have created the following 4 Planning Buttons to test the execution of the Planning Function in the Web:
1. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1.
2. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Variable Input String Default ZN_CC1, Planning Function ZDistrib1.
3. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1. Display variable property selected.
4. Planning Function Simple. Binding ref to the DP_1 (Query), Cost Center Characteristic Data Provider Selection Default, Planning Function ZDistrib1.
When the query is executed and a node representing a group in the hierarchy is selected the query is executed and is input ready for the selected group. This is a subset of the hierarchy.
When the above planning fucntions are executed the following results display.
1. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user. The planning function is executed for the entrire hierarchy. It is not restricted by the cost center hierarchy node variable value.
2. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user. The planning function is executed for the entrire hierarchy. It is not restricted by the cost center hierarchy node variable value.
3. The variable popup displays and a hierarchy node is selected. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user. The planning function is executed for the entrire hierarchy. It is not restricted by the cost center hierarchy node variable value, that was entered when prompted.
4. The planning function is executed however it is not restricted to the cost center selection based on the query DP1. The planning function is not restricted by the cost center selections.
HOWEVER,
If I goto to the filter web item and edit the cost center filter by selecting and adding all available cost centers to the filter. (This list of cost centers is restricted to the cost centers subordinate to the hierarhcy node selected in the variable)
When the above the planning functions are executed the function is now restricted to the cost centers added to the filter as explained above.
If anyone has had a similar issue with Planning Functions executing for data outside of the Dataprovider Selections I would be interested to know how you managed to get the planning function to retrict to the DP Selections that include hierarchy node variables.
If anyone from SAP can comment before I raise this as an OSS issue it would be much appreciated.
Thanks in advance.
IanHi
Just wondering if this is the correct forum to post BI IP questions?
Any comments if this the right forum.
Thanks
Ian -
Error while executing planning function with reference data
Hi,
I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
Following data is uplooaded
Company code | Profit_ctr | calmonth | Amount
1000 | 50000 | 01.2011 | 150
Cube data
Field1 | Company code | Profit_ctr | calmonth | Amount
| 1000 | 50000 | 01.2011 | 150
Z1 | 1000 | 50000 | 01.2011 | 150
Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
Company code | Profit_ctr | calmonth | Amount
1000 | 50000 | 01.2011 | 200
Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
Field1 Company code | Profit_ctr | calmonth | Amount
# 1000 | 50000 | 01.2011 | 150
Z1 1000 | 50000 | 01.2011 | -150
Z1 1000 | 50000 | 01.2011 | 150
Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
Thanks in advance
Edited by: peppy on Aug 3, 2011 5:00 PM
Edited by: peppy on Aug 3, 2011 8:37 PMHi Peppy,
C_TH_DATA is hashed table! According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
ASSIGN l_r_data_wa->* TO <s_data_wa>.
CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
ASSIGN l_r_new_wa->* TO <s_new_wa>.
LOOP AT c_th_data INTO <s_data_wa>.
<s_new_wa> = <s_data_wa>.
now the SAP code changes the values, you can do it your way here
and than write the changes back
MODIFY TABLE c_th_data FROM <s_data_wa>.
ENDLOOP:
Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
READ C_TH_DATA from <s_data_wa> transporting no fields.
if not sy-subrc EQ 0.
INSERT <s_data_wa> into table C_TH_DATA.
else.
MODIFY TABLE c_th_data FROM <s_data_wa>.
endif.
Depending on your requirements you can also use the collect statement.
If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
Hope this helps.
Best regards
Matthias Nutt
SAP Consulting Switzerland -
Database link from Oracle to MySQL with the use of unixODBC
Hi,
I have 2 servers.
Server A:
- CentOS_5.1 x386
- MySQL 5.1
- unixODBC
- mysql-connector-odbc
Server B:
- CentOS_5.1 x86_64
- Oracle 11g
- unixODBC
- mysql-connector-odbc
I've configured ODBC, so I am able to do "isql <DSN> oracle oracle -v" sucessfully with "root" and "oracle" user on Oracle server. I've configured listener.ora and tnsnames.ora
I added below lines to listener.ora
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=mysqlware)
(ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/hs/lib:/usr/lib64/:$ORACLE_HOME/lib)
and lines below to tnsnames.ora
mysqlware=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=<server's FQDN>)
(PORT=1521)
(CONNECT_DATA=
(SID=mysqlware))
(HS=OK))
The content of $ORACLE_HOME/hs/admin/initmysqlware.ora is
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = mysqlware
HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc3.so
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
# Environment variables required for the non-Oracle system
set <envvar>=<value>
tnsping mysqlware returns.....
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=<server's FQDN>)) (PORT=1521)) (CONNECT_DATA= (SID=mysqlware)) (HS=OK))
OK (10 msec)
when I login to oracle and create PUBLIC DATABASE LINK with command....
create public database link link2mysqlware connect to
2 "oracle" identified by "oracle" using 'mysqlware';
Database link created.
THIS IS WHAT I GET.....
SQL> select * from "emp"@link2mysqlware;
select * from "emp"@link2mysqlware
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from LINK2MYSQLWARE
There is "emp" table in MySQL, from where I can even select with the use of isql command and from this Oracle server.
I would really appreciate some help here.
Thanks in advance.
Tomaz BracicEvening Ed,
I changed to debug and repeated the select ....... The output below is for one select that I did. (select * from "emp"@link1)
Oracle Corporation --- WEDNESDAY MAR 19 2008 21:50:51.371
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "mysqlware"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:mysqlware
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=873
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=110000
Entered hgolofn at 2008/03/19-21:50:51
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2082a0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a208330
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a208af0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a209d60
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2117d0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a211c70
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a214480
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a215930
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a216130
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a217b50
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a217b70
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a219270
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a21c410
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a21c7b0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a21e250
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a21eea0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a21f1a0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a220fd0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2213a0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a222ee0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a222d30
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a227dc0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2295b0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a229be0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a22b030
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a22b8f0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a22d550
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a22daa0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a22e2f0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a230c30
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a231770
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a232190
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a232c20
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a233110
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a233a10
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a233f20
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2344c0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a234b10
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2350a0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a236640
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a236380
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2374e0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Entered hgolofns at 2008/03/19-21:50:51
symbol_peflctx=0x6a2380b0
hoaerr:0
Exiting hgolofns at 2008/03/19-21:50:51
Exiting hgolofn, rc=0 at 2008/03/19-21:50:51
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2008/03/19-21:50:51
Entered hgolgon at 2008/03/19-21:50:51
reco:0, name:oracle, tflag:0
Entered hgosuec at 2008/03/19-21:50:51
Exiting hgosuec, rc=0 at 2008/03/19-21:50:51
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2008/03/19-21:50:51
HS_FDS_CONNECT_INFO = "mysqlware"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2008/03/19-21:50:51
dsn:mysqlware, name:oracle
optn:
##>Connect Parameters (len=35)<##
## DSN=mysqlware;
#! UID=oracle;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2008/03/19-21:50:51
Entered hgopoer at 2008/03/19-21:50:51
hgopoer, line 159: got native error 0 and sqlstate I; message follows...
Exiting hgopoer, rc=0 at 2008/03/19-21:50:51
hgocont, line 1903: calling SqlDriverConnect got sqlstate I
Exiting hgocont, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgocont.c LINE:1923 FUNCTION:hgocont() ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2008/03/19-21:50:51 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
Entered hgoexit at 2008/03/19-21:50:51
Kind regards,
Tomaz -
To function with the format VTR. Can anyone help?
ok i have final cut pro but i use a dvd recorder to record all of my shows and I was trying to figure out if Final cut Pro has a way to function with the format VTR. Can anyone help?
If you want to record directly to the DVD recorder, you'll most likely find that most DVD recorders with a Firewire input will NOT record directly from your Mac. I'm only aware of a couple of models (long since discontinued) that would allow it. So what you have to do it to connect your Mac via Fireiwre to a digital-to-analog converter (most any DV camcorder, VTR or DV converter box), then connect the converting device to your DVD recorder using the analog connections.
If you want to capture from the DVD recorder (hard drive or disc), you can usually do that via Firewire directly to your Mac: in FCP, set Device Control to "Non-Controllable Device" and use Capture Now. Do not expect FCP to control the DVD recorder like it can with camcorders and VTRs.
-DH -
I cannot print on my Canon i550 printer with the used Win7 computer I just bought. I downloaded a driver update from Canon that is supposed to fix the incompatibility issue, but it does nothing. Can anyone help? Can't afford a new computer or printer!
Hi cjvandeveer, The Windows 7 operating system has a mini-driver built-in for the printer. You can plug in the USB cable of printer into the computer and then turn the printer on. If Windows 7 automatically recognizes the printer, it will appear in your DEVICES AND PRINTERS window, and you will be able to print. You will then need to download the Windows 7 printer driver add-on module from our website. The add-on module will give the printer its full capability, but only after the printer is already recognized by Windows 7. First, to see if Windows recognizes your printer, please follow these steps: 1. Plug in the printer's USB cable into the computer and then turn on the printer. 2. Go to your START MENU on the computer and select DEVICES AND PRINTERS. 3. See if your printer is located in the DEVICES AND PRINTERS window. If it is not, we may need to run Windows Update on your computer in order for the printer to be initially recognized. Please follow these steps to install the latest driver for your printer from Windows Update: 1. Turn the printer on and ensure it is connected to the computer with the USB cable. Please note that your computer will also need to be connected to the internet before performing the next step. 2. Click on your START menu button, and in the text box that appears, type in 'WINDOWS UPDATE', then click on START SEARCH. The Windows Update window should open. 3. Click on the 'SEARCH FOR UPDATES' or 'CHECK FOR UPDATES' link. The computer will search for updates and then display the updates it has found relevant to your operating system and devices connected to it. 4. View the CRITICAL UPDATES and OPTIONAL UPDATES that appear; if you see an update for your printer, select that one and then install it. 5. Once the driver is installed, please restart your computer. Once Windows 7 recognizes your printer, you can then install the printer add-on module from our website to give the printer its full functionality. Hope this helps! This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
-
Wield char with the use of matnr
Hi All,
my requirement is like:
I need 1 selection option which seems like parameter type mara-matnr.
when I put any material with the using of "*", it sud be fetch all the material with combination.
I did the code for that but somtime it fails..
TABLES: rqm00.
TYPES : BEGIN OF tp_matnr,
matnr TYPE mara-matnr,
END OF tp_matnr.
DATA: w_text TYPE string.
CONSTANTS: c_wild TYPE c VALUE '*',
c_per TYPE c VALUE '%'.
DATA: t_matnr TYPE STANDARD TABLE OF tp_matnr,
wa_matnr type tp_matnr.
SELECT-OPTIONS : s_matnr FOR mara-matnr NO INTERVALS NO-EXTENSION.
IF s_matnr-LOW CA c_wild.
W_TEXT = S_MATNR-LOW.
REPLACE ALL OCCURRENCES OF c_wild IN s_matnr-LOW WITH c_per.
ENDIF.
SELECT matnr
FROM mara
INTO TABLE t_matnr
WHERE matnr LIKE S_MATNR-LOW.
IF SY-SUBRC = 0.
loop at t_matnr into wa_matnr.
write: wa_matnr-matnr.
endloop.
ENDIF.
What should I do? what is the right solution which should not be fail in any condition.
Thanks & Regards,
Jaten Sangal
Edited by: Jaten.sangal on Nov 18, 2009 11:26 AMHi
I just Executed this Code and working Fine
TABLES: rqm00.
TYPES : BEGIN OF tp_matnr,
matnr TYPE mara-matnr,
END OF tp_matnr.
DATA: w_text TYPE string.
CONSTANTS: c_wild TYPE c VALUE '*',
c_per TYPE c VALUE '%'.
DATA: t_matnr TYPE STANDARD TABLE OF tp_matnr,
wa_matnr type tp_matnr.
parameters : s_matnr type mara-matnr. " Replace this Parameters and proceed further
*IF s_matnr-LOW CA c_wild.
*W_TEXT = S_MATNR-LOW.
REPLACE ALL OCCURRENCES OF c_wild IN s_matnr WITH c_per.
*ENDIF.
SELECT matnr
FROM mara
INTO TABLE t_matnr
WHERE matnr LIKE S_MATNR.
IF SY-SUBRC = 0.
loop at t_matnr into wa_matnr.
write:/ wa_matnr-matnr.
endloop.
ENDIF.
Did you try this one
Cheerz
Ram
Edited by: Ramchander Krishnamraju on Nov 18, 2009 11:41 AM -
By default, does AME render an AE project with the "use no proxies" setting?
By default, does AME render an AE project with the "use no proxies" setting? I use lots of proxies in my files and I want to make sure they are being ignored when I'm rendering in AME.
Adobe Media Encoder encodes After Effects compositions using their current appearance. There is no control the appearance of the composition, with one exception; there is no equivalent to the Render Settings controls in the After Effects Render Queue. If you want proxies to be used, or not, set up your composition for the desired configuration before you encode in Adobe Media Encoder.
The exception to this rule is Guide Layers. In Adobe Media Encoder, right-click on an After Effects composition and choose Source Settings, from this dialog you can control whether or not the Guide Layers in the composition are rendered. -
How to create a webservice in Tomcat with the use of Axis
I am very new to webservices. I am suppose to create a webservice in Tomcat with the use of Axis. I have downloaded all the required jars.
Please help me how to start.
Thanx in advance.
[email protected]Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html
-
I would like to know if there a way to use window (via bootcamp) and use a dual screen with the use of thunderbolt?
There are very specific requirements for using an iMac as an external display.
From Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
What are the requirements for TDM?
A Mac notebook or desktop with a Mini DisplayPort or Thunderbolt connection
A Thunderbolt or Mini DisplayPort cable
A supported iMac with OS X 10.6.1 or later. The table below shows iMac computers that support TDM, the required cables, and the port of the computer to which you are connecting the iMac.
iMac Model
Cable Supported
Port on Source Computer
iMac (27-inch Late 2009)
Mini DisplayPort to Mini DisplayPort
Mini DisplayPort or Thunderbolt
iMac (27-inch Mid 2010)
Mini DisplayPort to Mini DisplayPort
Mini DisplayPort or Thunderbolt
iMac (Mid 2011)
Thunderbolt to Thunderbolt
Thunderbolt
iMac (Mid 2012 and later)
Thunderbolt to Thunderbolt
Thunderbolt
Note that the iMac (Retina 5K, 27-inch, Late 2014) does not support Target Display Mode. -
How to create the planning function through the process chain
Hi guys,
currently i am running some planning function in fortend so it is time consuming now customer want the run the planning function through the process chain any body having the idea please give me.Hi,
this is standard functionality, cf.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/946677f8fb0cf2e10000000a114a6b/frameset.htm
Regards,
Gregor -
Name cannot begin with the '\"' character, hexadecimal value 0x22
I am trying to create Calculated Column in SharePoint Document Library using Client Object Model.
However getting following error while executing FieldSchema:
Name cannot begin with the '\"' character, hexadecimal value 0x22
Code:
var calculated = "Calculated";
var displayName = "Effective Date";
var internalName = "Effective Date";
var formula = "=IF(ISBLANK(Col_DocumentEffectiveDate),\"\",TEXT(Col_DocumentEffectiveDate,\"DD-Mmm-YYYY\"))";
List lib = clientContext.Web.Lists.GetByTitle(docLibName);
clientContext.Load(lib);
clientContext.ExecuteQuery();
string fieldSchema = "<Field Type=\"" + calculated + "\" DisplayName=\"" + displayName + "\" Name=\"" +internalName+ "\" Formula=\"" + formula + "\"
/>";
lib.Fields.AddFieldAsXml(fieldSchema, true, AddFieldOptions.AddFieldInternalNameHint);
clientContext.ExecuteQuery();
Code does't work if i replace quotation marks("\) in Formula with """
Could someone help with issue?Hi,
I suggest you take the code below which works in my environment to do the test again:
ClientContext clientContext = new ClientContext("http://sp/");
List list = clientContext.Web.Lists.GetByTitle("List2");
FieldCollection fields = list.Fields;
clientContext.Load(fields);
clientContext.ExecuteQuery();
var displayName = "Cal2";
var formula = "=IF(ISBLANK([Created]), \"\" , TEXT([Created], \"DD-Mmm-YYYY\"))";
var fieldSchema = "<Field Type='Calculated' DisplayName='" + displayName + "' ResultType='Text'><Formula>" + formula + "</Formula></Field>";
fields.AddFieldAsXml(fieldSchema, true, AddFieldOptions.DefaultValue);
clientContext.ExecuteQuery();
Feel free to reply if the issue still exists.
Best regards
Patrick Liang
TechNet Community Support -
New measurement starts with the last measurement value before program stop
New measurement starts with the last measurement value before program stop. This is very embarrassing because we finish at a high measured value and start with small value, which can not be seen on the autoscale screen due to the memorized high first value. We use NI PCI-6220 DAQ board and software written in LabView 7.1 using Express VIs and running in the LabView environment. The program (attached) every half second measures 3 AI channels, filters and scales the data, visualizes, averages and saves it in a file. Please advise me how can I avoid this problem. Please note that I am not very experienced in LabView.
Attachments:
OLED_Monitor2.vi 785 KBI can not run your vi, but if you initialize your controls you should be ok.
Look at the picture
Attachments:
Clipboard-2.jpg 16 KB -
GL account balance not matching with the total stock value
Hi,
The GL account balance is not matching with the total stock value in report RM07MBSTfor stock in transit, Can anyone please let me know, where should, I look into to verify the reason for difference.
Quick response will be appreciated.
Thanks & RegardsI am able to solve this issue. My client has a customized report, which helped me to look into the details of stock in tranisit account. Stock in transit account actually include PPV and TPV alongwith standard cost.
-
Need help with the session state value items.
I need help with the session state value items.
Trigger is created (on After delete, insert action) on table A.
When insert in table B at least one row, then trigger update value to 'Y'
in table A.
When delete all rows from a table B,, then trigger update value to 'N'
in table A.
In detail report changes are visible, but the trigger replacement value is not set in session value.
How can I implement this?You'll have to create a process which runs after your database update process that does a query and loads the result into your page item.
For example
SELECT YN_COLUMN
FROM My_TABLE
INTO My_Page_Item
WHERE Key_value = My_Page_Item_Holding_Key_ValueThe DML process will only return key values after updating, such as an ID primary key updated by a sequence in a trigger.
If the value is showing in a report, make sure the report refreshes on reload of the page.
Edited by: Bob37 on Dec 6, 2011 10:36 AM
Maybe you are looking for
-
How to call ejb from Forms?
Hi. I have an existing form (version 11.1.2.0.0) and an existing ejb. Both are running on a WebLogic server version 10.3.5.0. I want to call the ejb from the form (I know that this is not recommended, but in this case it is the only sensible solution
-
Is it possible to use a variable value
with pop up message. Like that: message 'Already recorded. Please type another number. The next possile number is ' PossibleNUmberVariableName type (I). is such a thing possible? Please help. I neen it. Thanks. deniz.
-
DBConsole not starting after reboot.
I am having issue with starting of dbconsole service . This has been working for a long time . We did a reboot of the server. After the reboot , the DBConsole is not starting.... Any help is appreciated .... Thanks in Advance. D:\>set ORACLE_SID=ORDB
-
HTML Snipper Widget only for visual content?
When I heard about the HTML Widget, I thought, great no more going into iDisk and manually changing the HTML code. I read the help article about how it can be for visual content such as youtube etc. But what about non-visual content, such as a counte
-
Library.css gets loaded multiple times
Hey folks, I've noticed that on every rendering of a chart f.e. the sap/viz/themes/sap_bluecrystal/library.css gets loaded. Is there a way to cache the thing? Or why does it get called everytime? Thanks in advance Tags edited by: Michael Appleby