Help regarding optimizers
In the following example
set serveroutput on
DECLARE
CURSOR cur_test IS
SELECT col1, col2, col3, col4
FROM table1
order by 1,2,3,4;
vncount NUMBER(6) := 0;
BEGIN
DBMS_output.put_line('***Starting***' || ' Time : ' || to_char(sysdate, 'dd/mm/yyyy hh24:mi:ss'));
For rec in cur_test LOOP
vncount := vncount + 1;
IF (MOD(vncount, 1000) = 1) THEN
DBMS_output.put_line('***'||vncount||'***' || ' Time : ' || to_char(sysdate, 'dd/mm/yyyy hh24:mi:ss'));
END IF;
-- Begin processing
-- End processing
END LOOP;
DBMS_output.put_line('***Ending***' || ' Time : ' || to_char(sysdate, 'dd/mm/yyyy hh24:mi:ss'));
END;
The table "table1" has almost 2 lakh rows. It takes almost two minutes to print the first output statement inside the loop when i specify either rule based or a cost based optimizer (with statistics).
My question is when i use some cursors like the one above with the FIRST_ROWS(10) optimizer_mode, will the loop processing will start processing before the cursor fetches all the rows?
If you are talking about the time it takes for the output messages to appear on your screen and not the elapsed processing time the following quote from Oracle Documentation applies:
Note:
Messages sent using DBMS_OUTPUT are not actually sent until the sending subprogram or trigger completes. There is no mechanism to flush output during the execution of a procedure.
You are doing a full table scan with 4 levels of sorts in a procedure so a FIRST_ROWS hint is not going to help.
Similar Messages
-
Need help regarding Java decoding of IMAP attachment (IOStream related ques
Hi ,
I need some help regarding the processing of an IMAP attachment , It is a basic IOStream related question I guess.
I have some attachment to a mail , I try to fetch it using javamail and read the content and write it to a file , I was able to do it successfully when I was using stream.read( tempBuffer) function but when I started using stream.read( tempBuffer, 0, m_maxDataSize ); it is giving me following exception
java.io.IOException: Error in encoded stream: needed at least 2 valid base64 characters, but only got 1 before padding character (=), the 10 most recent characters were: "/59PT/eXQ="
at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:259)
at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:148)
***Here is the snippet of code that is running this:***
m_contentObj = m_message.getContent();
if(m_contentObj instanceof InputStream)
System.out.println(" Content is type of InputStream");
InputStream stream = (InputStream) m_contentObj;
byte[] tempBuffer = new byte[m_maxDataSize];
stream.skip( m_currPos );
int bytesRead=stream.read( tempBuffer, 0, m_maxDataSize );
System.out.println(" Read the following no of bytes from the Object::"+bytesRead);
m_currPos+= bytesRead;
Please suggest what to do.
Thanks & Regards
SaurabhBUMP, just incase its been missed by a new board member
-
My iPad mini was working very fine from last 9 months....but suddenly today I found it discharging from 100% to 34% though I didn't use it at all...and also found my mini is slightly heated up at the bottom..any help regarding this would be greatful
Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"
-
Help regarding :Video Segmentation & Summerization
hello friends,
I am doing my project on above topic and I am trying it with Java.
Is it possible doing it in Java.
What Techniques I'm using are:
1.Java(JMF)
2.Oracle 9i(Inter-Media)
3.Matlab
This project concludes of four parts
1.Segmentation (Video to Image conversion)
2.Comparison (Copare frame using algo.)
3.Extraction (remove duplicate frames based on algo)
4 Summarization (Collect frames and form a new content based video)
Is It possible in Java? How?
Seeking for help regarding this .
Thank you.This project concludes of four parts
1.Segmentation (Video to Image conversion)
2.Comparison (Copare frame using algo.)
3.Extraction (remove duplicate frames based on algo)
4 Summarization (Collect frames and form a new content based video)So, compressing that into a simple question instead of a convoluted one... you just want to remove duplicate frames from a video and save it to file? -
Help Regarding Xi integrating with Seibel System.
HI @,
I have to intergrate a seible system with R/3 but I haven't worked on the same before.
I need help regarding seibel inetrgartion scenarions and various adapters that can be used in that conditions.
Documents on Seible Integration will b really helpful.
RegardsIt would be better to go for the iway adapter for this integration requirement. The other documents can be obtained direclty from iway
Regards,
Prateek -
Help regarding MBeanServerConnection queryName function
Hi guys, i recently start using JMX and i need some help regarding queryName function. I want to get a specific set of objectNames, not all of them.
I have the following List of Beans
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=14b69d-eee40f3d6467,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=40-a0b2-f1dfb314406f,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=98-4af4-9147-bf45fb49c044,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=c-4bf6-9c42-d5c3acea6662,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerListener
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerRedirector
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=IOPerformance
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=MediaCache
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingReadAheadRequestTracker
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingWriteRequestTracker
ObjectName = WowzaMediaServerPro:name=Connections
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Connections
ObjectName = WowzaMediaServerPro:name=HandlerThreadPool
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=HandlerThreadPool
ObjectName = WowzaMediaServerPro:name=IOPerformance
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOPerformance
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOScheduler
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=chat,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=default,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=file,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-origin,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-origin,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=netconnection,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtpout,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Properties
ObjectName = WowzaMediaServerPro:name=Server
ObjectName = WowzaMediaServerPro:name=ServerNotifications
My question is that , how can i get those rows that contains "WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers"?
Please helpHello ,
There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
For your usecase, you should do the following.
lo_fdt_function TYPE REF TO if_fdt_function,
lo_fdt_result TYPE REF TO if_fdt_result,
* Get function handle
CALL METHOD lo_fdt_factory->get_function
EXPORTING
iv_id = lv_function_id
RECEIVING
ro_function = lo_fdt_function.
where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
* Set function context
TRY.
CALL METHOD lo_fdt_context->set_value
EXPORTING
iv_id =
ia_value =
This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
* Execute BRFPLUS function
TRY.
CALL METHOD lo_fdt_function->process
EXPORTING
io_context = lo_fdt_context
IMPORTING
eo_result = lo_fdt_result.
* Get result output
TRY.
CALL METHOD lo_fdt_result->get_value
IMPORTING
ea_value =
Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
Regards,
Indranil. -
Need HELP regarding installinfg CR2008/Visual Advantage
I need help regarding installing CR2008/Visual Advantage. I had the evaluation copy of cr2008. My compnay purchased the CR2008 Visual Advantage. Upon calling your customer service, I was told that I had to UN-install the CR2008 evaluation copy then install the CR2008. I did the unstall HOWEVER, when I try to install the CR2008 that we purchased, i get the following error..HR
HR -2147024770-"c:\program files\business objects enterprise 12.0\win32_x86\REPORTCONVTOOL.DLL FAILED TO REGISTER"..
I get more that just that one...I have received this before and based upon this formum, i have delted the regristry in the following using regedit.exe
HKEY_LOCAL_MACHINE\SOFTWARE\BUSINESS OBJECT ;
HKEY_CURRENT_USER\SOFTWARE\BUSINESS OBJECTS..
Afeter i deleted the keys, I re-boot my pc and try to install the coftware again...BUT I GET THE SAME ERRORS...I have tryied this several times....what am i missing/not doing correctlyHi Shamish
Actually you were on the right track, i think you just have to increase PSAPTEMP a bit and you will be fine. 358 MB seems just too small, i suggest you increase it to at least 2GB.
1. what will be the difference in use of PSAPUNDO and PSAPTEMP while copy is running. ( i.e. what will be entered in PSAPUNDO and what will be filled in PSAPTEMP.)
PSAPTEMP: is needed for large sort operations, as mentioned when you have a select with an ORDER BY clause, or if you do join two tables. During the client copy some sorting might be needed for special tables (cluster tables) where data is stored sorted.
PSAPUNDO: undo space is only needed for DML (data manipulation), if data is changed undo is generated. This obviously is heavily the case during a client copy.
2. the target client already has a copy taken 1 month before. so I think while importing it first delete existing data and then copies the new one.
So If I first delete the target client and then take import on it; will it have advantage in regards of getiing UNDO or TEMP segments getting filled ?
Deleting the client first might help for the undo problem, but you already solved that. I cannot imagine, it will help for the PSAPTEMP issue. As i said i would just increase PSAPTEMP and restart the copy.
One more add: if you are doing the client copy with parallel processes, this will influence your requirements on temp and undo space, because of the concurrently running processes.
Best regards
Michael -
Help regarding ABAP and ABAP Objects
Dear all,
I am very new in abap and abap objects. But i have some expr. in other language..specialy development. Right now i am working for srm module...So i want to move my self into abap object and specialy in workflow...Please provide me help regarding this...along with the starting point for this.
Best Regards
Vijay Patilhi
Object Oriented prg
A programming technique in which solutions reflect real world objects
What are objects ?
An object is an instantiation of a class. E.g. If Animal is a class, A cat
can be an object of that class .
With respect to code, Object refers to a set of services ( methods /
attributes ) and can contain data
What are classes ?
A class defines the properties of an object. A class can be instantiated
as many number of times
Advantages of Object Orientated approach
Easier to understand when the system is complex
Easy to make changes
Encapsulation - Can restrict the visibility of the data ( Restrict the access to the data )
Polymorphism - Identically named methods behave differently in different classes
Inheritance - You can use an existing class to define a new class
Polymorphism and inheritance lead to code reuse
Have a look at these good links for OO ABAP-
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com.
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
check the below links lot of info and examples r there
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
these links
http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
For funtion module to class
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
for classes
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
for methods
http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
for inheritance
http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
for interfaces
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
For Materials:
1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
1) http://www.erpgenie.com/sap/abap/OO/index.htm
2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
Hope this helps
if it helped, you can acknowledge the same by rewarding
regards
ankit -
Need help regarding converting text to Lines and Arcs.
In my program i have text.Lets say the text is JAVA.
Now i need to group that text(JAVA) in the form of line and arcs.
Its like organizing lines and arcs and make it looks like a text(JAVA).
Can we have such a possibilities to do that?
Please help regarding this!!
Thanks in Advance.
Boopathy.Have a look at TextLayout class (http://java.sun.com/javase/6/docs/api/java/awt/font/TextLayout.html)
Graphics2D g = ...;
Point2D loc = ...;
Font font = Font.getFont("Helvetica-bold-italic");
FontRenderContext frc = g.getFontRenderContext();
TextLayout layout = new TextLayout("This is a string", font, frc);
Shape shape = layout.getOutline(null);
Edited by: AlexeyUshakov on Sep 29, 2008 8:46 AM -
Need Help Regarding Enabling The Matrix
Hi All,
We have got one user form and we have got one choose from list and one matrix, on click of choose from list the value will be displayed in the text box and at the same time matrix should get enabled. But it;s not happening in our case. The value is coming in the text box through choose from list but matrix is not getting enabled. We are able to change the back ground color of the matrix, make first column invisible and all but not able to enable the matrix. We need help regarding this one.
Regards,
JayanthHey first bind the columns of matrix to any user datasource
and then you can enter any thing into your matrix
following code may help
suppose you have one column
oForm = SBO_Application.Forms.Item("URFRM")
oUserDataSource = oForm.DataSources.UserDataSources.Add("URDSName",
SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
oMatrix=oForm.Item("URMATRX")
oMatrix = oItem.Specific
oColumns = oMatrix.Columns
oColumn = oColumns.Item("URCOLName")
oColumn.DataBind.SetBound(True, "", "URDSName")
oMatrix.Addrow()
hope this will help
additionally you can look at this sample
.....SAP\SAP Business One SDK\Samples\COM UI\VB.NET\06.MatrixAndDataSources -
Is any one tell me that JAVA BEAN only used in WEB or also you in Desktop applications???? and aslo tell how i implement Java class and use JAVA BEAN. I need help regarding above matter
thanks in advance
Rehan MIrzaHere is a good link that indicate that JavaBean is not only for applets
http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html
quote:
The JavaBeans API makes it possible to write component software in the Java programming language. Components are self-contained, reusable software units that can be visually composed into composite components, applets, applications, and servlets using visual application builder tools. JavaBean components are known as Beans.
Francois -
Need help regarding the dunning form
Hi,
I have to display all the sales and payments of a cusomter for all the periods that are older than the run date in a dunning form. (i.e) if the run date is 04-aug-05 and if the slaes are there in 3 months(april, May, july) then i have to display three line items with sales and payments for that corresponding three months in the line items. As this is a dunning form i cannot change the print program. any table which have all the sales for a period which i can access directly in the script. can anyone suggest how to handle this.
regards,
AshaHi,
You can call a subroutine within a program (your z program)
/: PERFORM ADD_AMOUNT IN PROGRAM SAPLZFTP_F150
/: USING &W_AMOUNT&
/: ENDPERFORM
In the z program create this subroutine.
Form ADD_AMOUNT
-->FT_INVAR Text Symbol table for input variables
-->FT_OUTVAR Text Symbol table for output variables
FORM add_amount TABLES ft_invar STRUCTURE itcsy
ft_outvar STRUCTURE itcsy.
STATICS:
w_value_l TYPE f150d-salfw.
READ TABLE ft_invar INDEX 1.
IF sy-subrc IS INITIAL.
you can check all this part of the code how you want to
process your data whether its numeric or character or
whatever
w_value_l = w_value_l + ft_invar-value.
ENDIF. "IF sy-subrc IS INITIAL.
ENDFORM. " ADD_AMOUNT
TO BESPOKE THE PRINT PROGRAM FOR THE DUNNING
Dunning outputs use the function module FI_DUNNING_PRINT_NOTICE. You can copy this to a Z function module and make some changes to the data selection. You will have to look into the code and decide what changes you need.
The process to use a bespoke program to do the dunning print is as follows:
UNDER FI GLOBAL SETTINGS in the configuration,
There are Business Transaction Events. Within that you can configure the same to enable a Z function module in place of the standard function module (from the FUNCTION GROUP F150)
Create function group ZFTP_F150
Copy standard function module FI_PRINT_DUNNING_NOTICE of function group F150 to ZFTP_FI_PRINT_DUNNING_NOTICE in function group ZFTP_F150
Copy standard function module PRINT_DUNNING_NOTICE of function group F150 to ZFTP_PRINT_DUNNING_NOTICE in function group ZFTP_F150
Within the function module ZFTP_FI_PRINT_DUNNING_NOTICE, change function module call for PRINT_DUNNING_NOTICE to ZFTP_PRINT_DUNNING_NOTICE
Create a new include ZFTPI_ROUTINES within the function group and copy the subroutines LOG_MSG, LOG_MSG_TAB, & LOG_SYMSG from the function group F150 to this include
AS AN ALTERNATE, YOU CAN COPY THE WHOLE FUNCTION GROUP
Maintenance view TBE31 (SM30). Change the function module from FI_PRINT_DUNNING_NOTICE to ZFTP_FI_PRINT_DUNNING_NOTICE against the event 00001720 FI-FI entry
Hope this helps.
regards,
Satya -
I need help regarding setting my mail accounts on macbook pro
I need help regarding resetting my mail accounts on macbook pro
What kind of accounts do you need to reset? IMAP or POP accounts using one of the many web-based messaging systems? An Exchange server account? Were they working and now just not working any longer?
You're going to have to be a little more specific in what you need...
Clinton -
I need help regarding installation of Netweaver 2004s
Hi,
I need help regarding installation of Netweaver. When ever i am running setup.exe, i am getting a page asking for local host and port number as 21212. When I enter my local host name and the port number as 21200 i am getting the error message given below and the installation stops. I am not able to proceed further. can any one help me what i need to do here. I created MS lookupadapter and entered my static ip address in 'host' file after 127.0.0.1 localhost and i disabled port number 3201 in system file. I verified system variables also. Everything is fine. I dont have firewall or antivirus installed in my system. Is there any thing else i need to do. please help me. Thanks in advance.
" SAPinst is getting started.
Please be patient ...
starting gui server process:
sapinstport: 21200
guiport : 21212
guistart : true
command : "C:\j2sdk1.4.2_09/bin\javaw.exe" -cp "C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.6496.1162659801\jar\instgui.jar;C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.6496.1162659801\jar\inqmyxml.jar" -Xmx256M -Dsun.java2d.noddraw=true SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true
load resource pool G:\SAP\Softwares\IDES mySAP2005\51031898\IM_WINDOWS_I386\resourcepool.xml
guiengine: no GUI connected; waiting for a connection on host (local hostname) , port 21200 to continue with the installation
guiengine: login in process...............................
guiengine: login timeout; the client was unable to establish a valid connection
Exit status of child: 1"
Regards,
Farooq Shaik.Hi
Run the sapinst.exe with the port 21212.This port 21212 is the default port used during the installation of netweaver. -
Need Help regarding text Output
Dear gurus.
I need help regarding formatting of a text.
I want to format a employee sub group text.
im getting a text workers (7) from a table t503t having field ptext.
i want to show only (7) in the output not the whole text how can i do this ?
Please help
regards
Saad.NisarDATA: BEGIN OF itab_odoe OCCURS 0,
department_text LIKE t527x-orgtx,"Holds the short text for department
department_no LIKE pernr-orgeh,
pernr LIKE pernr-pernr,
ename LIKE pernr-ename,
grade like t503t-ptext, "THIS AREA GET ME TEXT OF EMPLOYEE SUBGROUP"
* department_text LIKE t527x-orgtx,"Holds the short text for department
current_year LIKE sy-datum,
wt0001 LIKE q0008-betrg,"Basic Pay
wt1101 LIKE q0008-betrg," COLA
wt3002 LIKE p0015-betrg,"Overtime
per_basic type p DECIMALS 2,"Overtime percentage on basic
per_basic_sum type p decimals 2,"Overtime Sum Division
overtime_sum LIKE p0015-betrg,"holds sum of overtime
basic_sum like q0008-betrg,"holds sum of basic
END OF itab_odoe.
Im using the select statement to get the employee subgroup from the table
select single ptext
from t503t
into itab_odoe-grade
where persk eq pernr-persk
AND SPRSL eq 'EN'.
now in itab_odoe-grade the values comes is Workers (7) , Snr Mgt (M3)
i want to show only the text in Brackets.
Maybe you are looking for
-
I'm trying to figure out if somehow I've messed up a setting or something in my Photoshop CS4. I had done some mockup screens for a project and after implementation noticed that my font size and the font being used in the developed course were notice
-
New iPhone 3G Problem, Please Help!
I just got my iPhone 3G two days ago. It is running strangely. There is often a delay between the pressing of something (application, name to call, etc.) and the activation of the intended action. There are also other glitches that occur. It just run
-
Adding the year to the date in the menu bar
Is there any way to show the year in the menu bar?
-
Is there a jdbc driver or a library of some sort that allows me to enlist file system operations in the same transaction with database operations? I have a weblogic 8.1 ejb application that generates some files to be ftped by clients, and I want the
-
Problem with viewing videos on iPod
When I select 'Video' category, the movies are not listed. Instead, songs are displayed. I tried searching one particular movie then played it. The movie is playing (sounds only) but no display. Why can't I view my video listing?