Standard Printing statement
Dear Friends,
Is it possible to print the statement in different printer format ? i.e I have design the voucher statement in smart forms . I want to display the statement 8 X 6 and A4 size based on user selection.
Thanks & Regard's
Saravanan R
Hi,
If you are using a custom print program the solution is quite straight, just add two radiobuttons on the selection screen and based on that selection criteria call the appropriate form.
If this form is a result of and standard tcode, then I think that might require some config so as to call your custom print program.
Regards,
Deepak
Similar Messages
-
Customer Statement using SAP Script and Standard print program RFKORD10
Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
Invoice # InvoiceDate CustomerPO Debit Amt Credit Amt Total
6 7 8 9 10 11
6 7 8 9 10 11
Totals 12 13 14
Where company code BKORM-KUKRS
Invoice BSID-BELNR
Invoice date BSID-BLDAT
Customer PO VBKD-BSTKD
For each document number selected there will be one to many records in VBRP. For each invoice item in VBRP:
u2022 Select BSTKD from VBKD where
o VBELN = VBRP-VGBEL and
o POSNR = VBRP-VGPOS
u2022 If no hits then select BSTKD from VBKD where
o VBELN = VBRP-VGBEL
If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
Debit Amt if BSEG-SHKZG = S then WRBTR ELSE 0
Credit Amt if BSEG-SHKZG = H then WRBTR ELSE 0
Total Debit Amt u2013 Credit Amt
Totals Subtotals
It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
Points will b rewarded for sure.
Thanks.Hi Suganya,
The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
Please let me know any further details on this.
Poornima -
Print out all methods in program with print statements
Does anyone know how I would be able to print out all the methods in a program. For example:
class bd220p1 {
public static void main(String args[]) {
int lightspeedi,lightspeedm;
long days;
long seconds;
long distancei;
long distancem;
// approximate speed of light in miles per second
lightspeedi = 186000;
// approximate speed of light in Kilometers per second
lightspeedm = 300000;
days = 1000; // specify number of days here
seconds = days * 24 * 60 * 60; // convert to seconds
distancem = lightspeedm * seconds; // compute distance in English system
distancei = lightspeedi * seconds;// compute distance in Metric system
System.out.print("In " + days);
System.out.print(" days light will travel about ");
System.out.println(distancei + " miles and");
System.out.print(distancem + " Kilometers ");
}This code would produce 5 print statements for the 4 methods:
1 Main method
2 Print method
3 Print method
4 Println method
5 Print method
Does anyone know I can write the could to accomplish this? Right now I am experimenting with try/catch statements. Any help is greatly appreciated.It seems to me the easiest approaches (other than using a tool someone else has already written) are:
1) Compile the source, and then use BCEL
2) Try some regular expressions; it won't be perfect but maybe you can tweak it until it's good enough.
3) Parse the source, and examine the parse tree.
1 and 3 will give you much better results, but require you to use outside libraries (or write a parser yourself).
You can do 2 using standard stuff from the JDK, but you may spend a lot of trial-and-error gettng the regexps right.
Which you choose will depend a lot on what the prof giving the assignment allows.
Also he may have some particular kind of solution in mind -- did he say anything?
If you're not sure what to do, ask your prof for clarification. -
Difference between "print" statements and "select" statements , TSQL
What is the difference between "print" statements and "select" statements when it omces to debugging and watching varibles in the stored procs .....
SELECT statement is part of the ANSI SQL language.
PRINT command is not part of the SQL language, it is used for debugging in T-SQL.
BOL:" Returns a user-defined message to the client.
A message string can be up to 8,000 characters long if it is a non-Unicode string, and 4,000 characters long if it is a Unicode string. Longer strings are truncated. The
varchar(max) and nvarchar(max) data types are truncated to data types that are no larger than
varchar(8000) and nvarchar(4000).
RAISERROR can also be used to return messages. RAISERROR has these advantages over PRINT:
RAISERROR supports substituting arguments into an error message string using a mechanism modeled on the printf function of the C language standard library.
RAISERROR can specify a unique error number, a severity, and a state code in addition to the text message.
RAISERROR can be used to return user-defined messages created using the sp_addmessage system stored procedure."
LINK: http://technet.microsoft.com/en-us/library/ms176047.aspx
The SSMS (client software) returns SELECT output to Results and PRINT output to Messages.
The SQLCMD -o (output file) option captures all outputs into one file mixed.
Kalman Toth Database & OLAP Architect
T-SQL Scripts at sqlusa.com
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Standard print program for fi invoice smartform printing
Hi friend,
Is there any standard print program available for printing FI related invoice .
I want print program for printing smartforms.
I want to know any method for searching the standard print program for printing smartform in Fi module.
Thanks & Regards,
SathishHi,
FI related Forms will be configure in SPRO.
Goto SPRO and FI related applivcation.
There you will find the related forms and programs. -
FI standard print program for invoice
Hi,
I want any standard print program and smartform avilable for Fi module to print invoice, like for example we have rlb_invoice in SD module.
Thanks & regards,
Sathish.Hi.
Check this- /SAPDII/FINC_LIST
Please search in Tcode: Smartforms , use F4, U will find all smartforms
Regards
Jana -
How to use standard print prog SAPFM06P in an ECC 6.0 environment?
Dear all,
I am working in an Upgrade proj, and I find this print prog SAPFM06P remarkably different in both the systems 4.6C & ECC 6.0. It seems the ECC 6.0 print program is configured for an Adobe form.
But the requirement I have is that of printing a custom SAP Script through either this standard print program SAPFM06P or a copy of the same. How do I go about in making this print program adaptable to calling a SAP Script instead of an Adobe form ?
Will greatly appreciate a quick response on this.
Thanks a dozen!
Aradhana.Actually there are many includes in this standard print program SAPFM06P that have been commented out by SAP in this new version ECC 6.0.
I could make it work with the configuration of the message in NACE, but my concern is whether I would be able to incorporate all the functionality that those includes have.
Do let me know your thoughts on this.
Thanks! -
Print statement in JSP page after redirection
Hi,
I have written a JSP page and in that i am redirecting it to another page. Now after redirection i am printing a statement on the console. It is getting printed whereas when i am printing the same on the browser i am not able to print that. Please can any one tell me the difference between printing the same on the console and browser.
My first JSP page(one.jsp)
<%
response.sendRedirect("two.jsp");
out.println("After redirect");
System.out.println("After out");
%>
My second JSP(two.jsp)
<%
out.println("In two.jsp");
%>
Thanks in advance
regards
PrashanthThe sendRedirect sets a code in the HTTP response being sent to the client (I believe it is a 302 code but I am not sure off hand) and then proceeds to process the rest of the JSP on the server which is why the print statement shows up in the console.
The out.println writes to the HTTP response output stream. The client gets the response and sees the HTTP Header code telling it to make a new request so it stops processing the response message and sends a new request message which is why the out.println message is not seen in the browser. -
Do I need to export multiple sizes for all standard print sizes? i.e.Say I crop the image in LR to 6'5" x 9' to fit within an 11" x 14" (overall) mat of a framed print.. Now let's say I want to reprint that same image in a 12" x 16" size ... to fit within a mat of with overall size of 20" x 24"? Or will the 1st export be "locked" at 6.5" X 9" (proportionately)?
So, for the first one Export it cropped to 6.5 x 9 - and in the Export Dialog box there is a capability to rename the file for exported output - which would allow you to add something like the crop or intention to the base name of the file. e.g. for _IMG0846.nef - setup the output filename to _IMG0846-65x9 for 11x14.jpg and output it at, say 300 or 360 dpi. So, it has a unique name and purpose in your output folder.
For best results, now, re-crop the picture in LR - just open the crop [R] dialog again, reframe the image to the new ratio, 12x16 and Export again - with an adjustment to the filename. e.g. _IMG0846-12x16 for 20x24.jpg
So, now you have two clearly identified image files in your output area and you can provide those to whomever is printing for you, etc. Discard them when you're done since you always have the original to return to to re-frame again as necessary.
This way you get output sharpening and resolution (in pixels) optimized for your output print size. Maybe not super important for smallish prints-but more important for larger ones. Output at 100 quality. -
How to find standard print programs for ADOBE forms
Hi All,
My question is how to find the standard SAP print program for a SAP provided ADOBE form. For example - how to find what is the satndard SAP provided print program for the ADOBE form for payment advice 'F110_AVIS_INT'.
As by default in the transaction F110 (where the payment advice form configuration is done), a SAP Script form is attached and the print program assigned is an SAP Script (as it contains call to function module like open_form, write_form... ) program and not an ADOBE print program.Hi Renu,
I have gone through the link provided by you but it only shows a list of standard PDF forms.
My question was how to find the standard SAP provided print program (or driver program which contains the data fetch logic and passing of the data to the interface of the ADOBE form) for these SAP provided ADOBE form.
If SAP has provided standard ADOBE form then definitely they would also have provided the standard print program too ?
@Srihari,
The path system --> Status --> program SAPLFPUIFB is the standard program for the SFP transaction and not for the payment advice form F110_AVIS_INT.
It will be same for all the ADOBE forms if we check in System --> Status --> Program. -
Standrad smartform and standard print program not available in ECC 6.0
Hi gurus,
I have a requirement like, I need to change the logo of the standrad smartform based on the company code.
The standard smartform name is '/SMBUSE/US_MMGR3'.
I have searched for the above form in ECC 6.0 and could not find one.
is the issue because of installation or configuration?
Please let me know what need to be installed or configured. so that I can give directions to the respective basis / functional guys.
please let me know the standard print program for the above smartform and how can I find the same.
Thanks & Regards
Kiran Kumar KHi ,
No standard smartform's were available because SAP Best Practises was not installed in the system.
If standard smarforms are not installed then in this case we need to need to download the forms and upload them in our system.
We need to copy paste the standard print program's as well.
Thanks & Regards,
Kiran Kumar K -
Problem with print statements in procedure
We have a stored procedure version that looks the same as this. My problem is that at the beginning of this routine, there's a print statement (right after the BEGIN keyword), and that prints out to the screen only if the print statement inside the loop is uncommented. Why is this? Does it have something with the buffer not flushing to the screen until it gets a certain amount of output. I tried copying that first statement over and over half a dozen times, but it didn't seem to help. I've tried
set serveroutput on
and
set serveroutput on 2000
and
set serveroutput on 200000
but no matter what, whether in this version or the procedure version, that first statement only prints if the second one is also in there!
declare
l_cnt integer;
l_day_num integer;
CURSOR CUR1 is
select ACCTNUMBER,
FNBR,
REP
FROM FSUMMARY;
BEGIN
DBMS_OUTPUT.put_line('Beginning daily_total and deleting CMHISTORYINDEXWORK');
delete CMHISTORYINDEXWORK;
commit;
update FSUMMARY set FNBR='999999999' where FNBR is NULL;
COMMIT;
update FSUMMARY set REP='99' where REP is NULL;
commit;
FOR C in CUR1 LOOP
select count(ACCOUNTNBR) into l_cnt from CMHISTORYINDEXWORK where FNBR=C.FNBR AND REP=C.REP AND ACCOUNTNBR=C.ACCTNUMBER;
DBMS_OUTPUT.put_line('Count: ' || l_cnt || ' for rep ' || C.REP);The output from DBMS_OUTPUT is not displayed until the procedure completes, so your first call will not show until after all the work is done.
Assuming that you actually have an END LOOP; and a final END; in the block, I see no reason why there would be any connection between the calls to DBMS_OUTPUT.
Doing SET SERVEROUTPUT on SIZE just sets the maximum number of characters that can be stored in the outout buffer before it overflows. It has no bearing on whether or when anything gets printed. If the buffer is too small, you will get partial output and an error:
ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
ORA-06512: at "SYS.DBMS_OUTPUT", line 35
ORA-06512: at "SYS.DBMS_OUTPUT", line 198
ORA-06512: at "SYS.DBMS_OUTPUT", line 139John -
Standard print program for order confirmation
Hi All,
I have created smartform for sales order confirmation,now i want to attach it to output type i need standard print program for order confirmation.Do we have any standard program for the same ?
Thanks in advance
ShrilaHi Shrila,
refer to the thread below:
Order confirmation smartform
With luck,
Pritam. -
Standard print program for Adobe Forms
Hi all -
Does anyone know if there was a standard print program delivered for the predelivered Adobe form F110_AVIS_INT? And if there is - what is it? Is there any document anywhere to determine predelivered print programs for Adobe forms?
Your help is much appreciated!
Thanks
AbbyHi
In SAP you can check for the Print Programs in Tcode <b>OB96</b>
which gives assignment of programs to script layouts
see the links related to Adobe forms
look at the Adobe page here in SDN:
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
Check these links on Adobe forms
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
Reward points for useful Answers
Regards
Anji -
What is the standard Print Program for standard Purchase order ( MEDRUCK ).
-NeoHi,
For purchase order, standard print program is : SAPFM06P.. and it is also
configured in NACE with corresponding form
You can get print programs by checking with table TNAPR.
Regards,
Ramesh.
Maybe you are looking for
-
I had to change my password and I have an error message about iCloud
I had to change my Apple ID password for some reason this morning when I was ordering my new iPhone and now when I click on Notes I get this message on my laptop-. And there is nothing in the preferences that I can see that I can correct--.iMessage i
-
BAPI for MIGO with respect to Outbound delivery or Stk trfer pur order
please let me know is there any standard BAPI for MIGO transaction with respect to Outbound delivery or Stock transfer purchase order
-
After updating to iOS-6 WiFi does not connect automatically.
After installing the new operating system, I noticed that my iPhone 4S does not automatically reconnect to my WiFi at home. I have to manually connect it each time. Anybody notice this? Any patch? Marco
-
Problem in BAPI_INSPLOT_SETUSAGEDECISION(urgent)
hi all i passed all the export parameters to this bapi.its not returning anything neither giving any error. The export parameter is passing propely.I used commit function module also regards shankar
-
Our database in Access 2000 has tables named "user" and "file". The Migration Work Bench is converting those to "USER_" and "FILE_". I'm guessing the words are reserved words in Oracle. Is there any way I can adjust the migration script to create the