Can AnyOne Explain Parameterized View with Example
Explain the parameterized view with example
Cathrin wrote:
Hi ,
I have created a view...
CREATE OR REPLACE VIEW V_UNITS_UNITMOVEMENT_AMTEST(fromdate varchar,todate varchar)
... 127 more lines (no kidding)
Group By A.Code,A.UDate,B.Scheme_Description,A.DividendOption,C.DividendType_Name,A.NAV,A.Units
when i execute i get this error ...
ORA-00907: missing right parenthesis
what should i do?First, indent your code to show the extent of structures that extend over several lines, such as subqueries, CASE expressions, or function calls that have nexted arguments.
Make parentheses line up so that, if a ) has to be lines away from its matching (, then are indented the same amount, with nothing except white space between them.
When posting code (or any formatted text) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Note that "ORA-00907: missing right parenthesis" doesn't always mean you have unbalanced parentheses. Often, it just means that something (such as an Oracle keyword) appears at a point where it doesn't make sense, but where a ) would make sense.
Second, develop code in very small increments. Take baby steps. Start with a very small, simple query, test it, then add one or two more lines. When you get a mysterious error like "ORA-00907: missing right parenthesis", chances are there was a mistake in the one or two lines you just added.
Similar Messages
-
Can anyone explain nonpredefine exception with real world example
Can anyone explain nonpredefine exception with real world example
Is this what you mean?
i.e. When others catches all errors - so it is not predefined
Predefined errors are things like no rows, too many rows etc - meant to catch specific errors
It is the difference between tolerating one 'bad' thing specifically and tolerating all 'bad' things.
DECLARE
v_text varchar2(1);
BEGIN
v_text:= 'THIS STRING IS TOO LONG FOR THIS VARIABLE';
EXCEPTION
WHEN OTHERS --this is non error specific and generally VERY BAD practise as it suppresses all errors
dbms_output.put_line('Whatever you want to do when an unknown error manifests here');
END; -
I have an icloud account and I view my mail with Mail V5.2. I recieve my email but the senders get messages saying the delivery failed. Can anyone explain this or help me.
Thank you for replying. Yes I deleted the old email address..
-
Can anyone explain A2A & B2B AND BPM & ccBPM with an example..
Hi All..
Can anyone explain me <b>A2A & B2B</b>
and <b>BPM & ccBPM</b> with an example....
<b>NOTE: i dont need definitions but examples..</b>
i am bit confused with this stuff....
Thanks in advance....
Cheers,
raghaveshHi ,
<i>A2A & B2B</i>
This thread explains you the difference between A2A and B2B.
Re: A2A Vs B2B
<i>BPM & ccBPM</i> both are same....
BPM is used to implement work-flow spanning across multiple application system against embedding the parts of work-flow in application system. Apart from this it also help achive other scenarios like, bridging synch and asynch systems, alert mechanism, multi mapping etc. Check the BPM overview document in SDN download section.
Check out the use cases discussed at http://help.sap.com/saphelp_nw04s/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
BPM is mainly used in senarios where extra functionalities are to be done with the source message which cannot be done using the normal mapping and user-defined functions, like
-->Collecting of messages till a certain count or for a specific criteria.
-->Merging messages
-->Spliting messages
-->Processing of error files and sending to specific location and sending alerts.
-->Parallel processing of two criterias at the same time can also be done using BPM.
some weblogs on BPM...
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Sekhar -
Can anyone explain the integration of sd and mm with fico
Hi all,
Can anyone explain with an scenario how fico integrates with sd and mm.
thanxs
regds
harithe following organisation units are to be set up to integrate SD with FI.
1. Sales organisation
2. Plant
3. Storage location (under material management)
4. Shipping point
5. Distribution Channel
6. Division.
In addition u can also create sales office, sales group but it is optional.
In order to integrate, follow the following steps:
1. Assign sales organisation to co code.
2. Assign plant to company code.
3. Assign distribution channel, division to sales organisation
4. Determine sales area (it is a combination of sales organisation, distribution channel and division)
5. Assign SO - Distribution channel - Plant
6. Assign sales area to credit control area.
7. Assign shipping point to plant (under logistics execution).
After defining and assigning the organisation units, u can view the properly integrated structure under Tcode EC01.
Having created the above SD organisation units, there are only a few more to create for FI-MM integration.
1. Purchasing organisation.
2. Valuation level ( generally plant)
3. Location (optional and need to be created only when required by client)
On creating the above,
1. Assign Purchasing org to co code.
2. Assign purchasing orgn to plant
3. Assign business area to plant / valuation area ( in this state the business area against your plant).
Hope this solves your query.
Assign points if useful. -
Can anyone explain with senairio for formula variables with replacement pa
can anyone explain with senairio for formula variables with replacement path?
See the below link
An Example for Replacement path
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
Document Count using Replacement path
I've explained the steps in this thread.
Query formula-Counter???
Example for Replacement Path: Characteristic Variable.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
Variable Replacement Example
http://help.sap.com/saphelp_nw04/helpdata/en/af/809528939d5b4fbff7e16a5bdc0d85/content.htm
Formula Variable.
http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/content.htm
Regs
Gopi
Assign points if it helps -
.can anybody explain the bdc with help of an example
i am new to bdc .can anybody explain the bdc with help of an example
Hi,
BDC is method to transfer legacy data into R3 system.
Data transfer can be done in any one method below:
BDC
LSMW
Direct Input method
BAPI
Of these BDC is subdivided into 2 types,
Call Transaction and Session method (TCode: SM35)
Let me give the sample prg for Call Transaction method.
tables ZMATMASTER.
DATA : itab like TABLE OF ZMATMASTER WITH KEY DESCRIPTION with header line.
DATA : IT_BDC LIKE TABLE OF BDCDATA WITH HEADER LINE.
DATA : IT_MSG LIKE TABLE OF BDCMSGCOLL WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Material.txt'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = itab.
LOOP AT ITAB.
PERFORM BDC_HEADER USING 'ZFILE_DOWNLOAD' 9001.
PERFORM BDC_DATA USING 'BDC_OKCODE' 'SAVE'.
PERFORM BDC_DATA USING 'ZMATMASTER-MNO' ITAB-MNO.
PERFORM BDC_DATA USING 'ZMATMASTER-DESCRIPTION' ITAB-DESCRIPTION.
PERFORM BDC_DATA USING 'ZMATMASTER-PLANT' ITAB-PLANT.
PERFORM BDC_DATA USING 'ZMATMASTER-SLOC' ITAB-SLOC.
PERFORM BDC_DATA USING 'ZMATMASTER-ROL' ITAB-ROL.
PERFORM BDC_DATA USING 'ZMATMASTER-UOM' ITAB-UOM.
PERFORM BDC_DATA USING 'ZMATMASTER-PRICE' ITAB-PRICE.
PERFORM BDC_DATA USING 'ZMATMASTER-DDAYS' ITAB-DDAYS.
PERFORM BDC_DATA USING 'ZMATMASTER-FLOT' ITAB-FLOT.
ENDLOOP.
CALL TRANSACTION 'ZTRANSCODES'
USING IT_BDC
MODE 'A'
UPDATE 'S'
MESSAGES INTO IT_MSG.
FORM BDC_HEADER USING PROGRAMNAME SCREENNO.
IT_BDC-PROGRAM = PROGRAMNAME.
IT_BDC-DYNPRO = SCREENNO.
IT_BDC-DYNBEGIN = 'X'.
APPEND IT_BDC.
ENDFORM.
FORM BDC_DATA USING FNAME FVALUE.
CLEAR IT_BDC.
IT_BDC-FNAM = FNAME.
IT_BDC-FVAL = FVALUE.
APPEND IT_BDC.
ENDFORM.
In session method, log file can be viewed.
Foll. is the example for session method.
REPORT ZBDC_BATCH1 .
TABLES: ZEMPREC.
DATA : BEGIN OF STR1,
EMPNO(3),
EMPNAME(15),
SALARY(9),
DOJ(10),
END OF STR1.
DATA: FNAME(100) TYPE C VALUE 'C:\EMPLOYEE.TXT.,
DATA : BDCITAB LIKE TABLE OF BDCDATA WITH HEADER LINE,
MSGITAB LIKE TABLE OF BDCMSGCOLL WITH HEADER LINE.
OPEN DATASET: FNAME FOR INPUT IN TEXT MODE ENCODING DEFAULT.
perform open_group.
DO .
READ DATASET FNAME INTO STR1.
IF SY-SUBRC <> 0 .
EXIT.
ENDIF.
perform bdc_dynpro using 'ZBDC_BATCH' '9000'.
perform bdc_field using 'ZEMPREC-EMPNO'
STR1-EMPNO.
perform bdc_field using 'ZEMPREC-EMPNAME'
STR1-EMPNAME.
perform bdc_field using 'ZEMPREC-SALARY'
STR1-SALARY.
perform bdc_field using 'ZEMPREC-DOJ'
STR1-DOJ.
ENDDO.
CLOSE DATASET FNAME.
perform bdc_transaction using 'ZTCODE'.
perform close_group.
CLOSE DATASET FNAME1.
CALL TRANSACTION 'SM35'.
FORM open_group
FORM open_group .
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'sample'
HOLDDATE = SY-DATUM
KEEP = 'X'
USER = SY-UNAME.
ENDFORM. "open_group
FORM bdc_transaction
--> TCODE
form bdc_transaction USING TCODE.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'ZTCODE'
TABLES
DYNPROTAB = BDCITAB.
ENDFORM. "bdc_transaction
FORM close_group
FORM close_group.
CALL FUNCTION 'BDC_CLOSE_GROUP'.
ENDFORM. "close_group
FORM BDC_DYNPRO
--> PROGRAM
--> SCREEN
FORM BDC_DYNPRO USING PROGRAM SCREEN.
CLEAR BDCITAB.
BDCITAB-PROGRAM = PROGRAM.
BDCITAB-DYNPRO = SCREEN.
BDCITAB-DYNBEGIN = 'X'.
APPEND BDCITAB.
ENDFORM. "BDC_DYNPRO
FORM BDC_FIELD
--> FNAM
--> FVAL
FORM BDC_FIELD USING FNAM FVAL.
CLEAR BDCITAB.
BDCITAB-FNAM = FNAM.
BDCITAB-FVAL = FVAL.
APPEND BDCITAB.
ENDFORM. "BDC_FIELD
Hope now u get an idea abt BDC.
Regards,
Router -
I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???
If your iPhone is locked to a wireless provider, only that wireless provider
can unlock it. Contact the wireless provider in Hong Kong to see if they
offer unlocking and if you qualify.
If your iPhone is locked to an AppleID that you do not know, return it for
a refund as it is useless. Only the person whose AppleID was used for
activation can remove the lock. There is no workaround for Activation Lock.
If neither of the above is what you are facing, provide more detail so someone
may offer a solution. -
My ipod 60gb classic is showing as fully charged until I connect it to my pc when it comes up with the error message, 'please wait very low battery' and the little wheel goes round and nothing happens, can anyone explain why this is and what i can do?
I have worked my way through the assistant and nothing works. I have tried connecting in disc mode but although the screen on the ipod is showing that the device is charged and that it is in disc mode as soon as I connect it to the computer it comes up with the error message 'please wait very low battery' and stays like that until I disconnect when it appears to be OK again. I have tried on both pc and mac.
BTW the ipod is an ipod video not classic if that makes any difference.
Thanks -
I am working on a chart in pages with 7 columns.
Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks JaneTry posting in the Pages forum
https://discussions.apple.com/community/iwork/pages -
I am trying to connect my Samsung Bluetooth device to my new Iphone 4s. Can anyone explain how this is don?
Which Samsung Bluetooth device?
Please note that the iPhone will not pair with other phones, tablets, etc for purposes of file transfer. -
Can anyone explain how to download and upload TROY ECF fonts with SAP
Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..
Hi,
You can use the SE73 Transaction and upload your TTF files.
Please check the link here for more details:
http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/frameset.htm
Regards,
Siddhesh -
Can anyone explain with senairio for textvariables with replacement path?
can anyone explain with senairio for textvariables with replacement path?
Hi
your query contains 3 columns...
column1(year executed by user) column2(year-1) column3(year-2).
when user enter 2006 key figures headings should appear like this
2006 2005 2004...
How can you solve this??
so create a text variable of replacement path..replace with object year..
so you will get the above out put..
you can concatenate like
actuals 2006 actuals 2005 actuals 2004...
Hope it clears...
please assign points if useful
Thanks
Teja -
Can anyone explain error: can not access a member .. with modifiers ""
Can anyone explain why this would occur:
javax.faces.FacesException: Can't instantiate class: 'com.package.MyBean'.. class com.package.MyBean : java.lang.IllegalAccessException: Class java.beans.Beans can not access a member of class com.package.MyBean with modifiers ""also if the class is not defined as public
myClass()
public myClass()
i got this when building my custom class loader and it took me sometime to figure this out since my editor generates my class templates I didn't even think to check something as basic as not having a public class - hopefully this saves someone else some trouble -
Can anyone explain how to download videos from iPhoto to view on my apple tv?
can anyone explain how to download videos from iPhoto to view on my apple tv?
Welcome to the Apple Community TKBsr.
Add them to iTunes and view them through Computers > Home Video.
Maybe you are looking for
-
Business Process Management use cases within an SAP Environment
Check out the [BPM use case wiki |http://wiki.sdn.sap.com/wiki/display/BPX/BusinessProcessManagementUseCases]to learn how many SAP customers are profoundly transforming their companies by leveraging the discipline of Business Process Management to op
-
Transfer normal balance sheet accounts to PCA
Hi All, Following 4 T-codes are available for transfer of balance sheet accounts from FI to PCA 1KEH EC-PCA: Transfer Material Stocks 1KEI EC-PCA: Transfer Assets 1KEJ EC-PCA: Transfe
-
What's the trigger of the FDM Task Manager
I need help on that one. I'm not too familiar with FDM Task Manager. One thing about our process. The FTP process copy the files to the \Inbox\Batches\OpenBatch. The copy process of a file is done when it's got the extension .txt instead of the .dat.
-
P6N SLI Plat & Bios 1.31, what's the verdict?
For you guys who've already flashed to bios 1.31 how's it running? Has it corrected any issues that you had with previous bios versions? Will your machine allow the keyboard to start on a cold boot? I almost did it however I just couldn't make mys
-
View won't switch while in mail setting.
My view won't switch in my mail setting, but will in all other settings. Any suggestions?