Same set of data should print twice on same page in SAP SCRIPT
Hi Experts,
I come across a requirement where I need same set of data in sap script should print twice as it is on same page.
and if first page overflow, then same scenario should continue till complete data is printed. Basically main window data should print twice in two blocks on same page.
E.g.
If I have 10 line item which is to be printed on top window on first page. Now I want that same 10 lines should be printed in a block below the first block. Data should flow similarly across multiple pages.
Hope my question is pretty clear. I am expecting suitable answers from experts.
Thanks in advance.
Regards,
Vijay
Hi
I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more.
Best regards
JD
Similar Messages
-
How to set text size when printi from a web page
can't increase text size when printing a web page
If you're using IE, click on View, Text Size and then whatever size you'd like. You'll see the changes on the screen and it should print out the same way.
Hope that helps.
Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
I am an HP employee. -
I bought 3 films and none of them had subtitles or alternative languages: why? I paid full price (like a dvd) without the same options. Why should I pay the same price? What I want is to change languages or to have subtitles (Kung Fu Panda2 and Rise of the Planet of the Apes and SpongeBob).
Pease tell me.
Best RegardsYou can't change languages in any of the movies offered in the store. Some movies have subtitles but it is in the same language as the movie.
Depending on what country you are in, you may get movies in that countries native language. -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
Printing LAST page in SAP script on the back side.
Hi ,
I have a problem with the printing of the LAST page on the reverse side of the form, when done with a vendor.
At a time we print many vendors together.
So, when done with printing of a vendor it needs to print his address on last page, reverse side(address)
Next will be followed by another vendor details.
I cannot give 'D' for the first page because it would fail if the form flows more than 2 pages.
is there any way of triggering the LAST page in SAP Script when it done with printing of one vendor.
any help would be highly appreciated.
regards.Hi ,
In Script PO i have to print 'Terms and Conditions' text only on the back side of last page of the PO.
Presently script contains THREE pages ( FIRST, NEXT, TERMS).
FIRST with attributes :
next page as NEXT , Print mode T.
NEXT with attributes :
next page as NEXT and print mode T
TERMS with attributes :
next page as ' '.
I Created 'TERMS AND CONDITION' window.For TERMS page i selected 'TERMS AND CONDITION' window only.
So page window of 'TERMS' is 'TERMS AND CONDITION' and i included standard text in 'TERMS AND CONDITION' window.
If PO contains 9 pages( that means MAIN WINDOW data flows up to 9th page with footer also ).
So i have to print standard text(Terms and conditions) back side of 9th page only not on all pages.
So total PO contians 9 pages with 10 prints.
Please help to solve the issue
Thanks and Regards
Venkata swamy -
Urgent - Not able to Print back page for Last Page in SAP Script.
Hello All,
I need to Print back page in SAP Script, I am able to do it by setting print mode as D, but now the problem is, it does not print back page for last page.
For eg. if there are 3 pages it prints back page for first two. If there is only one page then it does not print back page.
Please Help.
Thanks.hi,
Yes, we can print logo as water mark in scripts
Just do as like this....
Upload your logo via SE78.
- Select 'Import' button from application toolbar of SE78, and perform upload.
and write this code in scripts
BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL
regards
Sankar -
Need to print some text only in last page in SAP script
Moved to correct forum by Moderator. General wasn't right either.
Hi All.
I need to print "Remarks" only in last page of sap script.
Can anyone please help me on this.
Thanks
Senthil kumar V.
Edited by: Matt on Nov 21, 2008 7:38 AMHi,
you have 4 possibilities.2 at non main window, 2 at main window.
at non main window.
1. /: IF &PAGE(C)& = &SAPSCRIPT-FORMPAGES(C)&
remarks
remarks
remarks
/: ENDIF
2, /: if &NEXTPAGE& ='0'.
remarks
remarks
remarks
/: ENDIF
at main window
3. Add the remarks at the last item of the main which is printed
4. add a new item to your main (/E)
put your remarks in it.
Change your program in such a way this item will print as last one.
like
/E REMARKS
remarks
remarks
remarks
and in sapscript program add logic at the end.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'REMARKS'
EXCEPTIONS
element = 1
window = 2.
I am sure this will do. Make a choice.
Gr., Frank -
I want to write data in 10th line or 20th line in sap scripts
i want to write data in 10th line or 20th line in sap scripts,how can write it
Give 10 line feeds in your Paragraph Formats
then write your Data there &DATA1&
again give 10 line feeds and write your data2 there
Reward Points if helpful .
Regards,
Ismail -
Sql query-filter if 1 set of data exists and in the same time 2 set doesnt
Hi guys,
I need to write a query where I filter on certain data being present, but in the same time other data from the same table being not present.
For example:
ProceduresTable:
Type 1
Type 1
Type 2
Type 2
Type 1
MyTable:
Name
OtherFields
JoiningTable (many to many)
ProceduresTable_Key
MyTable_Key
I need to select all records from MyTable and Procedures for which there are procedures from Type 1 but there are no procedures from Type 2 in the same time.
So far I've been only able to do that by using subqueries and I think there should be an easier way to do that.
Here is what I have:
Select * From MyTable, Procedures, JoiningTable Where JOINING_CONDITIONS AND Type = 1 AND NAME_SOME_COLUMN NOT IN (SELECT NAME_SOME_COLUMN FROM ... WHERE Type = 2 and inner.Name = outer.Name)
Hope you understand my meta code. I have Oracle 9 db.
Thanks a lot!Hi,
Welcome to the forum!
Whenever you have a question, it helps if you post a specific example. Include CREATE TABLE and INSERT statements for a little sample data, and also post the results you want from that data.
if you can use commonly available tables (like those in the scott or hr schemas) to illustrate your proble, then you don't have to post the sample data; just the results.
For example, I think you're asking something like this:
"How can I find information about people in the sciott.emp table who are in a department that has at least one CLERK ( that is, a row with job='CLERK') but no SALESMAN? That is, I want these results:
{code}
ENAME DEPTNO JOB
CLARK 10 MANAGER
KING 10 PRESIDENT
MILLER 10 CLERK
JONES 20 MANAGER
FORD 20 ANALYST
ADAMS 20 CLERK
SMITH 20 CLERK
SCOTT 20 ANALYST
{code}
One way is to use CASE expressions instead of WHERE clauses to test for the criteria, then using the reults of the CASE expressions in the WHERE clause.
For example:
WITH got_cnts AS
SELECT ename, deptno, job
, COUNT ( CASE
WHEN job = 'CLERK'
THEN 1
END
) OVER (PARTITION BY deptno) AS clerk_cnt
, COUNT ( CASE
WHEN job = 'SALESMAN'
THEN 1
END
) OVER (PARTITION BY deptno) AS salesman_cnt
FROM scott.emp
SELECT ename, deptno, job
FROM got_cnts
WHERE clerk_cnt > 0
AND salesman_cnt = 0
;The problem here is that you can't always tell, by looking at any one row, if it should be included or not; in this case, you need to know something about the department as a whole. Analytic functions can look at the department as a whole, but analytic functions are computed after the WHERE clause is applied, so to use the results of the analytic functions in a WHERE clause, we need to do the analytics first, in a sub-query, and the WHERE clause later.
Sometimes (as in the example above) analytic functions are useful; other times, aggregate functions are more appropriate, depending on the exact requirements.
Edited by: Frank Kulash on Apr 12, 2010 9:00 AM -
Hi Gurus,
I have created a PLD that is working fine but I want to take print of that PLD twice in same paper (A4 Size). Please guide if it is possible . (Though the size of PLD is not more than half of A4 size Page and we need duplicate copy of the same so its better to take a print at one time)
With Thanks,
SKhi,
goto Administration -->> System Initialization -->> Print Preferences -->> Per Document Tab, from the dropdown list select which document you wish to print twice. from the Copies (Invl. Original) put in the textbox 2. this will print 2 copies everytime you print the document
regards,
Fidel -
Set RDLC body to print in middle of page
Hi guys,
Please help me how to set RDLC body/content to print in middle of page instead of left page.
ThanksHi apangeran,
According to your description, when you preview the report using Report Viewer Control, you hope it is displayed in middle of the form. If that is the case, please refer to the following steps:
Click and select the report.
Click Format in the Toolbar.
In Format drop down list, select Center In Form, then select Horizontally.
The following screenshot is for your reference:
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu -
How to display line items twice in a single page in sap script
HI,
I am working on check printing. I copied the standard driver program and form to Zprogram and ZForm. Which are RFFOUS_C(print program) and F110_PRENUM_CHECK(Form Name).
I want to display the line items twice in the same page and sub sequent pages.
Currently I am able to display line items only once.
Example:
PAGE1.
line item1
line item2
line item3
line item4
line item5
line item1
line item2
line item3
line item4
line item5
line items 1 to 5 which are in main window.
How to achive this problem.
Regards,
vinodHi
I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more.
Best regards
JD -
How to print a Barcode VERTICALLY in a SAP Script ?
Dear Experts..
I have to print a Barcode <b>vertically</b> in a SAP Script.
Could you please help me regarding this.
Thanks in advance.Hey SR,
follow these steps :
Bar code in Smartform :
General definition of Bar code:
Bar codes are standardized characters of a symbol made up of a group of lines and spaces that can be recognized by an optical scanner. Bar codes uniquely identify article data, production numbers or transport units, for example. They can also contain additional information such as batch number, expiration date or weight.
Example
In the Logistics Execution System (LES), certain field entries can be represented by bar codes and printed on the transfer documents. This simplifies certain data entry processes such as order confirmation.
Type of bar code:
Bar codes are based on a binary principle and consist of a series of stripes/gaps of different widths. The sequence of the stripes or gaps results in an (alpha) numeric statement. Bar codes are read optically. Due to varying requirements, bar codes may differ with regard to the following aspects:
printer tolerance
decoding tolerance
character width
automatic check
number of characters
Steps to implement bar code in the smartform:
Use the transaction code smartstyle. Give a suitable name .Choose create.
In change mode of the Smart Style select the Character formats node and choose Create.
In the Character format field enter a two-character character key.
Select the desired attributes of the Bar Code on the tab Standard Settings.
Choose Activate.
Assign the character format to the field or character string in the smartform.
Activate the smartform.
Test the same.
Regards,
Kunal. -
How to print in the last page of the script..?
Hi,
I am working on a script. I have a header window and one main window. In the main window, I am printing the line items of the Invoice. Once the line items finish, I have to print the sub totals there. and also to print the company agreement details(around 10 lines of text) in the last page of the script.
So, <b>how to print the agreement details in the last page of the script..?</b>
Can anyone provide me a sample code to find the last page of the Script layout..?
And regarding writing the agreement details, is it better to hard code the text or use the standard texts..? which one is better..?
Regards,
Paddu.HI,
Just create a Standard text, if you are going to use this standard text in other layouts also... and use it otherwise you can hard code it as this its of only 10 lines.
declare one more element in the main window itselft and call it atlast it would print in the last page..
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'FOOTER'<b><- This element should contain the agreement details</b>
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1.
Thanks
Mahesh -
Dunning Notice print/email using both Smartform and SAP-Script
Hello Gurus,
I have developed the Customized SAP Sript (Copy of 150_DUNN_01) for Dunning NOtice to be send to Domestic Customer and
Cutomized Smartform (copy of F150_DUNN_SF) for Foreign Customer.
Now Issue is that when I assign the Customized script to SPRO setting and standrd setting for BTE '00001720' with function
module 'FI_PRINT_DUNNING_NOTICE', if I want to assign smartform to SPRO setting then I need to replace same FM with
'FI_PRINT_DUNNING_NOTICE_SMARTF'.
how it is possible to work with both SAP-Script and Smartforms for dunning Procedure.
Please gurus let me help for this solution...
Thanks in Advance,
Mahesh SachaniHello Gurus,
Please reply with any solution available with any...
Thanks,
Mahesh
Maybe you are looking for
-
Error when installing Solution Manager
I'm tring to install Solutionmanger 7 SR2 on a windows 2003 32bit Server. and facing this issue. I have US_export_policy.jar and local_policy.jar are installed properly. But still getting following issue... SAP Secure Store in the File System - Copyr
-
User exit in ME22N to change standard fields
Dear all, I'm trying to change the delivery date from exit EXIT_SAPMM06E_013 but the system doesn't keep my changes. I'm able to change the delivery date in exit EXIT_SAPMM06E_017 but I need to make it from exit 013 because I need know the confirmati
-
Hi All, I have a situation in which I have to post Good Receipt for a material which is not relevant for Invoice receipts. I have to create a PO and then Good Receipt. Normally when good receipt finance doc is created it hit the following accounts De
-
How to add compiled classes for EJBs in 10.1.3
Hi there, I have a problem when migrating to 10.1.3. I have a big library of EJBs which I use in everal projects just by copying precompiled classes and adding them in ejb-jar.xml In previous JDeveloper I used ant as default build procedure. My build
-
Songs slowing down when I type
I'm running iTunes 7.7.1 on a new computer. iTunes had no problem on my old one, but on my new one, the songs slow down when I type, which is rather annoying, since I listen to music while, you know, typing. I'm on WinXP Pro, and everthing else is wo