Help needed in report printing output
I am trying to put that line on my report out put in my procedure which customers are getting .
FOR ALL ORDERS REQUIRING A TEMPLATE PLEASE MAIL THE TEMPLATE TO THE FOLLO
WING ADDRESS
LEVEVRBROTHER
1234 BRAMER PARKWAY
ANTHENS, GA.30703
ATTN:Templates');
I have already write one proceduce with the name of
CREATE OR REPLACE procedure fax_conf_gen_files_WF_order (cur_date date default trunc(sysdate)) is
I want to put that address at the end of my procedure, & how i can test that?
Arif
It's the statement you're using to print to the console:
println() means print, then go to next line.
print() doesn't go to the next line.
So:
System.out.println("1");
System.out.println("2");
Gives
1
2
But System.out.print("1");
System.out.print("2");
Gives
12
Similar Messages
-
I need crystall report print button support insted of exporting to pdf then print
Crystal reports are the most widely used reporting software.its print button is working on active X controls. due to the i am not able to use direct print button.
so please help me to provide a plugin for crystal reportHere is C# code for print crystal report
cryRpt.PrintToPrinter(2, true, 1, 2);
check this it will help you to print crystal reports
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-print.htm
It may help you.
merca. -
Help Needed in Reports (Breaks, totals)
Hi All,
I am a fairly new user in Apex and would appreciate any help. I have a requirement to generate a report as follows:
In below reports 1001,1002 are projects and i need to obtain project totals (e.g. 500,300,150,50) displayed conditionally. At first i had to display only projects and i could do it using 1 column report break.
But how can i include the totals in the report breaks. And its more than 3 columns that i would need in breaks.
Any suggestions? I dont think i can use breaks for this as APEX does not support more than 3 columns.
Name task budget Expense commitments balance end_Date
1001 500 300 150 50 15-01-2008
1001-1-aa 1 200 100 50 50 15-01-2008
1001-2-ab 2 300 200 100 0 15-01-2008
1002 500 300 150 50 15-01-2008
1002-1-aa 1 200 100 50 50 01-01-2008
1002-2-ab 2 300 200 100 0 01-01-2008
Thanks
SumanaHi All,
Thanks Arie, your suggestion helped me to move in the right direction.
I could display the project totals as needed without using breaks, but using a combination of query and report template change. The above examples given helped to certain extent.
Now I have a requirement which is an extention to the above problem. I dont know if I must start a new thread for this.
I need the report totals to be displayed conditionally. This condition has 3 cases, out of which I am able to achecive two.
For the 3rd I would really appreciate any help/suggestions. I tried changing query/template. But it dint help.
Here is the prob:
Col1 Col2 Col3
Project_name sum(amt) sum(amt)
task1 amt amt
task2 amt amt
In above, the sum(amt) must be displayed when project_owner is person logged in.
Col1 Col2 Col3
Project_name
task1 amt amt
task2 amt amt
In above, when task owner is person logged in then I must not display the sum(amt).
I am successful in acheving both of the above, when all tasks owner is person logged in and when project owner is person logged in.
But when I have project owner = person logged in and task1 owner = person logged in and task2 owner != person logged in my display comes out as shown below.
Col1 Col2 Col3
Project_name sum(amt) sum(amt)
Project_name
task1 amt amt
*task2 amt amt
The actual display for third case must be:
Col1 Col2 Col3
Project_name sum(amt) sum(amt)
task1 amt amt
*task2 amt amt
Thanks
Sumana -
Help needed to report open orders from R/3 SD!
Hello all,
I need to report net open order value from SAP R/3 SD to BW. I'm using cube 0SD_C05 to report inquiry vs. quotation vs. orders. Is there any standard ods object in business content which can be used to report open orders? If not, will it be a good idea to create a ODS object and use it directly for reporting open orders? This BW installation is for a small IT company and we don't generate a lot of quotations or orders on a daily basis. Please guide.
Thanks and Regards,
Sumithi Sumit,
check if you can use 0SD_O01 - order item data
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/2b4f815f153014e10000000a114e5d/content.htm
other business content ods objects are 0sd_o02-05.
http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/f5cc3c7dea9006e10000000a114084/frameset.htm
(expand left side 'ods')
hope this helps. -
[HELP NEED] Delivery Note Printing
Printouts are printing in the correct device, but Delivery notes are still printing in the old device.
Can anyone suggest where we could configure the output device for the Delivery notes printing?
Checked already in SPAD/UNIX and the printer (output device) is already pointing to the correct and new IP address.
Appreciate any help on this! Thank you!Hi Mariel,
Please validate following points
1) Check the nace configuration for the output type used. you normally specially the default printer name for the output type in nace.
2) Check which printer is selected for your output type in VL02N.
3) In the driver program check which printer is passed to NAST-DEST
4) Also check which is you default printer on your computer. if you have set up locl as the printer type in nace then it will always pickup the default printer on your computer.
Hope this helps.
Thanks
Sumit -
Help needed with Report Design
Hi All,
Here is the requirement.
Period Type(holds 2 values) : Payment and Vested.
we have field 'Total Days' which is calculated based on "User Selected" Period Type.
For example, When Period Type is Payment,
If start date is less than or equal to grant date and end date is less than or equal to vest date, then calculation is (End Date - Grant Date)+1
If start date is greater than grant date and end date is less than or equal to vest date, then calculation is (End Date - Mobility Start Date)+1 (similarly 2 more if conditions) ...we have similar calculation for Period Type - 'Vested'.
This Period Type is a multiselect Prompt. How can this be achievable.
Any thoughts will be greatly appreciated.
Thanks.I simply did as i got a tip on FB to do
quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
Date: Tue, 5 Jun 2012 13:41:48 -0600
From: [email protected]
To: [email protected]
Subject: Help needed with a design!
Re: Help needed with a design!
created by in Illustrator - View the full discussion
This really isn't the place to ask for free services.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4467790#4467790
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Illustrator by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Help - need a report writer for printing labels
Hello,
I need an inexpensive and easy to use report writer that will allow me to print mailing lables from a JSP web app.
What is a good report writer?
Thanks
FrankWe've used JasperReports (open source) for this
-
Help needed for report on tables vbak and vbap
Hello,
I needed help in one of my work issues, this is my first project and Iam still learning. kindly help.
I was asked to take erdat,vbeln,posnr from selection screen and compare it with the data already in tables vbap,vbak. If the data
already exists and exception needs to be raised saying that the 'data exists',but if the data is not present in the tables the
tables have to be updated. This has to be done using function module only.
Then I have to write a REPORT calling the above function module and finally displaying the number of records updated and the
list of them.
I have started writing a function module:
FUNCTION z_tableupdate.
""Local Interface:
*" IMPORTING
*" VALUE(DATE) LIKE VBAK-ERDAT DEFAULT SY-DATUM
*" VALUE(SALESORDERNO) LIKE VBAK-VBELN
*" VALUE(ITEMNO) LIKE VBAP-POSNR
*" EXPORTING
*" VALUE(EX_VBAP) LIKE VBAP STRUCTURE VBAP
*" VALUE(SYS) LIKE SY-SYSID
*" VALUE(EX_VBAK) LIKE VBAK STRUCTURE VBAK
*" EXCEPTIONS
*" DATA_UPDATED
*" DATA_EXISTS
SELECT * FROM vbak INTO vbak_wa WHERE erdat = date
AND vbeln = salesorderno.
ENDSELECT.
SELECT * FROM vbap INTO vbap_wa WHERE posnr = itemno.
ENDSELECT.
IF sy-subrc EQ 0.
ex_vbap = vbap_wa.
ex_vbak = vbak_wa.
ELSE.
RAISE data_exists.
ENDIF.
sys = sy-sysid.
ENDFUNCTION.
How is the above code for function module, will this work??
Now can I write a report to call the above function module and update the record?? if so, how to update ??? please help...Lots of thanks in advance.Hi
Welcome to SDN forum
Whay can't you write a simple report in SE38.
why you are using Fun module
Nothing wrong in it.
But first become perfetc in reports in SE38 and then do using the fun modules
write a simple select statement like
SELECT AVBELN AERDAT BPOSNR BMATNR
INTO TABLE ITAB
FROM VBAK AS A JOIN VBAP ON
AVBELN = BVBELN
WHERE A~VBELN IN S_VBELN AND
A~ERDAT IN S_ERDAT AND
B~POSNR IN S_POSNR.
IF SY-SUBRC <> O.
WRITE: / 'No data found'.
ENDIF.
First write this in SE38 by defining a proper selection screen and internal tables
then do as fun module
see the doc for fun module
Function Modules;
Check this matter.
Function Modules are Global ABAP programs created by SAP for reusable purpose.they have IMPORT,EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.
You can create them from TCode SE37.
Go through the following doc:
Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder.
Function Module Interfaces
The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax:
Syntax
... [IMPORTING parameters]
[EXPORTING parameters]
[CHANGING parameters]
[TABLES table_parameters]
[{RAISING|EXCEPTIONS} exc1 exc2 ...]
The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete.
Interface parameters
The interface parameters are defined on the relevant tab pages in the Function Builder.
IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module.
EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for 'pass by value' is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called.
CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter.
TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
Exceptions
The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
Note
For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
RFC is a technology which is used to access a functions (Modules) from
the remote systems.
If a function module is set as remote enabled which can be access from
the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
But Normal function modules can not accessd from the remote system.
Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
CALLING A FUNCTION MODULE:
1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
--> Write the Corresponding FM name --> Hit Enter
2)The appropriate import ,export Parameters will be displayed in ur editor
3)Pass the Values Here.
Also check these links.
http://www.geocities.com/victorav15/sapr3/abapfun.html
Check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
Check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
See the following links:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
Regards
Anji -
Hi All,
I have a requirement where i have to copy standard cost center report S_ALR_87013611 and change the G/L account to Alternative account and text.
how do i copy this report painter report and modify the G/L account as required.
i haven't worked on report painter .
Points guaranteed !!!!
Thanks & Regards,
RaghavendraHi,
The Transaction code to create creating report writer it is GR31 and report painter is GRR1 and for .
Reaport Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
Report Painter fulfills a function similar to Report Writer, but is easier to use. Most of the functions found in Report Writer have been built into Report Painter; however, you do not need to be familiar with all Report Writer concepts (such as Sets) in order to use Report Painter.
When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
Advantages of Report Painter include:
Flexible and simple report definition
Report definition without using sets
Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
Hope this helps u.
Regards,
Seema. -
Help needed with existing printer for MacBook
Apologies if this question is in the wrong section of the forum - please feel free to move it!
I am new to the "Apple Experience" and have had this superb MacBook for a couple of week now. I need to connect my existing laser printer, a Samsung ML-1750 to the MacBook and so far, I have had no joy. The Samsung website is not a lot of help with regard to downloading a Mac driver and while the MacBook seems to have found the ML-1750, when printing, the printer just outputs a load of garbage! From where do I obtain the correct driver!
Please help!
Thanks, DanHi Dan,
welcome to macbook forum,
Try gimp-print as suggested by Kappy and or you can choose either the nearest model to your samsungs or generic post scripts printer.
http://gimp-print.sourceforge.net/
http://gutenprint.sourceforge.net/pSupportedPrinters.php3
Good luck -
Help needed in report programming
Hi All
I am processing some data on first screen of a report transaction and an output is displayed on second screen. My requirement is that when I press back, I have to come to SAP initial screen.
I have tried all options with 'LEAVE'. Problem is that control doesnt come even once in report, it goes into some standard code so I am unable to make changes..
Kindly help.
Thanks
Dinesh
<LOCKED BY MODERATOR - USE APPROPRIATE TITLES>
<LOCKED BY MODERATOR - URGENT, PLEASE HELP OR SIMILAR ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 18, 2008 5:17 PMHi,
Since it is a report program. U have to set PF status in ur output page (either ALV or any other output format).
In GUI status, triger the function code for BACK.
Then, inside the event AT USER-COMMAND, code LEAVE PROGRAM for the BACK function.
If it is an ALV output, the PF-status and User-command event should be called in the ALV function module.
Regards,
Prem -
****URGENT HELP NEEDED**** unable to print on metalic silver paper
I am in DESPERATE need of help.
I am trying to print on silver metalic paper using my Photomart C3180, but it wont print. It will printon white paper but not this stuff. I need urgent help as I am trying to make my own wedding invitations that i have to post out at the end of the month.
ANY help would be so greatfully received.
Thank ou
Kateplz try to download the following set of drivers from the link below :::\
http://gimp-print.sourceforge.net/MacOSX.php3
This is a new set of default drivers and mayhelp u in resolving the issue.
Plz do run disk first aid after installing the driver....might suggest even before installaing.
Thanx !! for trying. -
Help needed setting up print server
i got 2 printer:
1 usb inkjet epson 1290
1 hp5100 network
i have 1 server:
serving epson for our col proof using powerripx as driver and shared via os x print server
i have 2 network interface card on the server.
my problem is: the position of the server in the office has only one network interface port, i want to have my HP connected to the 2nd network interface of the server and the server connected to the only available network point there and thus have the server serving both printer.
have set up the en1 interface, enable NAT, dhcp, firewall, but the server itself does not recognised the hp which is connected to the 2nd ethernet interface. when i move it on top of the ethernet list in system preferences it does recegnised it but the the whole print server is not accessible on the network.
can someone with more experience help me set this up.
thxI didn't say it's impossible. I just offered an easy solution to your problem that will save you and you users some hassle in the long run (eg. when you come to troubleshoot you wn;t have to look at 2 networks and a firewall). I guess I just like easy solutions. And ,dude, 20 bucks...
If you want to go the hard(er) way you need to:
1. set up a second network address range on the second card
2. give the printer a fixed IP address within that range
3. ensure firewall is not blocking packets from/to the printer
4. config the printer on your print server & clients
hth,
b. -
Help needed in Java Printing Service
I need to print an image using the new JPS API, but with specific requirements.
I managed to find out how to get the image printed from my HD onto the printer by using the example given in the JPS user guide. But I can't seem to find out how to achieve the most important requirement.
I need to be able to control the printing position as well as the printed size of the image. Can anyone help me with it? I can't seem to find proper documentation that is related to the topic.
Thanks in advance.I tried using the MediaSize class by constructing a custom sized media. But when I compiled it, I kept getting a "cannot resolve symbol" error for MediaSize.
Then returning to the MediaSize documentation page, it said that it is not yet used to specify media. Does that mean I have to wait?
The other thing is, I tried another approach using the java.awt.print package. Can you help me out with this piece of code, how do I correct it :
Paper paper = new Paper();
PageFormat page = new PageFormat();
paper.setImageableArea(0,0,600,800);
page.setPaper(paper);
DocPrintJob printJob = pservices[0].createPrintJob(); *
printJob.setPrintable(this,page);
I am using the javax.print package on the * line, but the rest is from the java.awt.print method. However, I kept getting a "non-static variable cannot be referenced from a non-static context" error.
What's wrong? Thanks. -
Help needed in getting formatted output ?
Hi members,
I am a newbie in Java programming. I know C, C++ upto a good level. I was trying to print a pattern like:
1
12
123
1234
12345
But wasn't able to get the output in desired format. I just wanna know how can i get the above mentioned output. The code i written is shown below alongwith the output:
/* This program is used to print the Pattern of 1,12..... */
class pattern
public static void main(String args[])
int i=1,j=1;
while(i<=5)
j=1;
while(j<=i)
System.out.println("\t "+ j);
j++;
i++;
System.out.println("\n");
output:
F:\Jprograms>java pattern
1
1
2
1
2
3
1
2
3
4
1
2
3
4
5
F:\Jprograms>
Any help will be appreciated.
With regards
Real NapsterIt's the statement you're using to print to the console:
println() means print, then go to next line.
print() doesn't go to the next line.
So:
System.out.println("1");
System.out.println("2");
Gives
1
2
But System.out.print("1");
System.out.print("2");
Gives
12
Maybe you are looking for
-
Link to a URL but not using popup
I am trying to access anHTML file that loads an interactive swf file created in Flash with external links to XML and graphic files. I need to present the interactive swf file and still have access to the navigation click boxes on the slide that loads
-
Upgrade default java version in Solaris 8?
I have Solaris 5.8 running on sun blade system. Default Java version is 1.2.2 and user need it to upgraded to latest version of Java so, I installed jre1.6.0 (combination of 32-bit install and 64 bit install). Now I can't point solaris to look at the
-
Rogue lines appear on the 2D charting control
I am using a the 2D charting control in a VS 6 project for plotting a barchart/histogram for a dataset. I have been developing the application without problems until I moved to a new computer. On this new development computer I get these rogue lines
-
I need to play offline FM radio in my i phone, I need to play offline FM radio in my i phone
I need to play FM in offline too .
-
WLS 6.1 on NT4: Strange HTTP NPE
Hello, WebLogic version: 6.1 SP2 OS version: NT4 SP6 JDK: 1.3.1 We are having some problems when we try to establish a connection to our WLS server with the following code: URL url