How to Display the Report Based on The Page Number
Hi All,
I just have a requirement like this
The User wants to see only the odd numbers of Report pages in the Total Report
For Ex. If the Report consist of 10 Pages the user wanna see Pages 1,3,5,7,9...........
is it attainable in WebI..............
Please help on this
Thanks in advance.............
I wonder...how do you think user should navigate through document.... ? If I want to see only odd pages - I will either create separate report or I am ok with setting the correct number to actual displayed page.You may also consider using links - it depends how is report structure created...
Similar Messages
-
How to display the Page Numbers in AP Check Print Report
Hi
I am using <?for-each@section:G_CHECKS?> at form field. But It did not works for me.
Please guide me inthis regard.
Thanks
NamithaIn your case,
<?for-each@section:G_CHECKS?>
Table (A word table)
Put the Form-Fields that you want to display
Just type 1 of 1 where you want to display the page number.
End Table
<?end for-each?>
Now on Microsoft Word
Go to Insert -> Page Number -> Format
Select Number Format: 1,2,3.....
Under Page Numbering: select Continue from previous section
That should do it.
Thanks,
Shaf -
How to display the page no in script
HI,
Can any one tell how to display the page no's as follows in Scripts.
current page/total no.of pages(ex:1/10)Hi,
For Smartforms:
Just insert fields: &SFSY-PAGE& and &SFSY-FORMPAGES&.
Page: &SFSY-PAGE& of &SFSY-FORMPAGES&
For Sapscript:
Just add: &PAGE& and &SAPSCRIPT-FORMPAGES&
Page: &PAGE& of &SAPSCRIPT-FORMPAGES&
Regards,
Edited by: Jatra Riwayanto on Jun 4, 2008 9:33 AM
Edited by: Jatra Riwayanto on Jun 4, 2008 9:34 AM -
How to get the page number in the break section?
Hi expert,
The user wants the page number came right after the Break group name if the break section contains more than 1 page. E.g.
ABC Compnay
XXXXXXXXXXX XXXXXXXX
XXXXXXXXXX XXXXXXXXXXXX
BCD Company, p 1
XXXXXXXXXXX XXXXXXXX
XXXXXXXXXX XXXXXXXXXXXX
BCD Company, p 2
XXXXXXXXXXX XXXXXXXX
XXXXXXXXXX XXXXXXXXXXXX
CDE Company
XXXXXXXXXXX XXXXXXXX
XXXXXXXXXX XXXXXXXXXXXX
How to get the page number in section break level?Hi Wes
* Create a Field on the margin.
* Set its "Source" to "Page Number"/"Physical Page Number".
* Click "Page Numbering" button.
* In "Reset At" list box, choose the Repeating frame that surrounds your detail group in the layout.
This should cause Reports to increment the page number until the "Company" repeating frame resets.
Regards
Sripathy -
How to clear the page number in the Script
Hi Guys,
I have developed a Script, the same output I need to display with three times with different heading, right now I am able to display the three time with different heading, but the pages are displaying like 1,2,3,4,5,6.
I need to display the page number 1,2,1,2,1,2, once the heading changes, I need to display page number from I, but I could not able to clear the Page number, could any one please suggest how to create the page number in LAYOUT.
Thanks,
Gourisankar.Sloved
-
How to get the Page Number in CS3 with VB?
Hi, Everybody
I use the Visual Basic to read the words and their page number where the Words are at. I want to do it according to Story. Some TextFrame of the Story waw placed in other pages: How can I get the Page number according to the Word that is selected?
For myStoryCounter = 1 to Document.Stories.Count
Set myStory = Document.Stories.Item(myStoryCounter)
For myWordCounter = 1 to myStory.Words.Count
Set myWord = myStory.Words.Item(myWordCounter)
myWordContents = myWord.Contents
Rem ** How to Get the Page Number according to the Word ***
Next
Next> But I don't understand why Item(1) are set.
because Word can have more than one parent TextFrame - when split across TextFrames
only Character have one ParentTextFrame accessed also by ParentTextFrames.Item(1)
> why Story.TextFrames.Count alway is 0, Is it bug?
no - it's not bug
in older IDs - Story.TextFrames collection refer to all TextFrames as containers for Story text
but in CS3 - collection Story.TextFrames contain all TextFrames inserted as InLine/Anchored objects - same like Story.Rectangles or Story.Ovals
in CS3 - when you want to refer to TextFrames as containers for Story text - you need to use Story.TextContainers - because now you can link TextFrame and Text-On-Path as Story - Text-On-Path isn't TextFrame
robin
www.adobescripts.com -
How to get the page number according to MarkerID?
I want to get the page number according to the marker element in fdk. I can get the marktext and markid,How to get the page number according to MarkerID in fdk?
zhaopeng,
You need to first get the ID of the paragraph containing the marker (with FP_TextLoc), then get the top-level frame containing the FO_Pgf object (FP_InTextFrame), then get the page containing the FO_TextFrame object (FP_PageFramePage). Here is a function that you can send various objects to in order to get the page ID, including paragraphs (this courtesy of Rick Quatro, originally posted to the Yahoo Framedev list):
F_ObjHandleT GetPage(F_ObjHandleT oDoc, F_ObjHandleT oObj)
F_ObjHandleT oFrame = 0;
IntT iObjType;
F_ObjHandleT oRow, oCell;
while(oObj)
oFrame = oObj;
iObjType = F_ApiGetObjectType(oDoc, oObj);
switch(iObjType)
case FO_SubCol:
oObj = F_ApiGetId(oDoc, oObj, FP_ParentTextFrame);
break;
case FO_Tbl:
oRow = F_ApiGetId(oDoc, oObj, FP_FirstRowInTbl);
oCell = F_ApiGetId(oDoc, oRow, FP_FirstCellInRow);
oObj = oCell;
break;
case FO_Row:
oCell = F_ApiGetId(oDoc, oObj, FP_FirstCellInRow);
oObj = oCell;
break;
case FO_Cell:
case FO_Pgf:
case FO_AFrame:
oObj = F_ApiGetId(oDoc, oObj, FP_InTextFrame);
break;
case FO_TextLine:
case FO_TextFrame:
case FO_UnanchoredFrame:
case FO_Arc:
case FO_Ellipse:
case FO_Group:
case FO_Inset:
case FO_Line:
case FO_Math:
case FO_Polygon:
case FO_Polyline:
case FO_Rectangle:
case FO_RoundRect:
oObj = F_ApiGetId(oDoc, oObj, FP_FrameParent);
break;
//endless loop prevention, stops the process when the top-level frame is reached
default:
oObj = 0;
break;
//if we found the top-level frame, return its page ID, otherwise null
if(oFrame)
return (F_ApiGetId(oDoc, oFrame, FP_PageFramePage));
else return(0);
...so, you would do something like this if you have the marker ID:
F_TextLocT textLoc;
F_ObjHandleT pageId;
textLoc = F_ApiGetId(docId, markerId, FP_TextLoc);
pageId = GetPage(docId, pageId.objId);
Note: I'm not sure how this handles the case where a paragraph extends across two pages and the marker is located on the second page. My thought is that it might erroneously return the page where the paragraph begins. I don't know how to handle that.
Russ -
How to display the rows number of times by giving the column values?
Hi All,
I want to display the rows number of times as the value exists in num column in the below query
with t AS
( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
UNION ALL
SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
UNION ALL
SELECT 'krishna' NAME, 'hyd' LOC, 1 NUM FROM DUAL )
SELECT T.* FROM T
CONNECT BY ROWNUM <= NUM
Expected output:
venkatesh hyd 2
venkatesh hyd 2
prasad hyd 3
prasad hyd 3
prasad hyd 3
krishna hyd 1Edited by: Nag Aswadhati on Nov 1, 2012 12:34 AMNag Aswadhati wrote:
Hi All,
I want to display the rows number of times as the value exists in num column in the below query
Expected output:
venkatesh hyd 2
venkatesh hyd 2
prasad hyd 3
prasad hyd 3
prasad hyd 3
krishna hyd 1Using Connect By:-
with t AS
( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
UNION ALL
SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
UNION ALL
select 'krishna' name, 'hyd' loc, 1 num from dual )
select t.name, t.loc
from t
connect by level <= num
and name = prior name
and (prior sys_guid() is not null);
NAME LOC
krishna hyd
prasad hyd
prasad hyd
prasad hyd
venkatesh hyd
venkatesh hyd
6 rows selected -
How to get the page number's i nthe xml output
Hi All,
Greetings!!!!!!!!!!!!!!!!!!!!!!
Need help to show the page number in this format 1/1 & 1/2.
How to get this by defining a variable and getting it randomly.
Please help...
Thanks
Rajesh
Edited by: Badsha on Mar 26, 2010 12:20 AMHi,
Thanks for your reply.
code works fine but it calculates total pages and shows page number as 1/2...
But my requirement is i am converting AR remittance report to xml. and output will have diff outputs for a check date based on the supplier.
For Ex..pdf output for check date '01-jan-2010' will have 5 pages firts two pages belong to same supplier(for this i want page number to be shown as 1/2 & 2/2) and rest of the pages belong to different supplier(for this i want page number to be shown as 1/1..)
Please help to achieve this in my output.
Thanks
Rajesh -
How to print the page number in a background processing program
HI All,
I have requirement where i need to print the page number in x of y format and the program is getting executed in background and csv file will be downloaded at application server.
i tried using sy-pagno but it is not working.csv file will be downloaded at application server --> How u are downloading this ? have u coded in ur program ? in tht case u will not get.
Regards
Prabhu -
How to get the page number when click the(Next page) Icon on Tableview
Hi all,
I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
Let us assume when we execute the BSP and a table view got 11 pages.
How I can keep track of the page number when we click the (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that corresponding page number of the tableview when we click the corresponding Icon's??
I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
Any help will be appreciated.
Thanks in advance.
Thanks,
GreetsonHi Greetson,
I was thinking to write a weblog about that.
But now I would like to have your opinion:
I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class me->firstvisiblerowlist (that is a table)
DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
DATA: ff TYPE ihttpnvp,
ffs TYPE tihttpnvp.
me->request->get_form_fields( CHANGING fields = ffs ).
LOOP AT ffs INTO ff.
IF ff-name CP 'f*visiblefirstrow'.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
CASE sy-subrc.
WHEN 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
WHEN 4.
IF sy-tabix = 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ELSE.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
ENDIF.
WHEN 8.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ENDCASE.
ENDIF.
ENDLOOP.
Than you have to provide a generic method to read the firstvisiblerow for each tableview
GET_FIRSTVISIBLEROW
*IM_TABLENAME
*RE_VALUE
DATA: l_firstvisiblerow TYPE zmmsp_tableview_1st_visi_row.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
IF sy-subrc = 0.
re_value = l_firstvisiblerow-value.
ELSE.
re_value = 1.
ENDIF.
And in the DO_REQUSET of each controller you could write something like:
* Paginator
DATA: l_tab1_visiblefirstrow TYPE sytabix.
l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow' ).
As usual pass the value to the view via:
o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
Did you get it? -
How do remove the page number using java script.
Thank you.
Hello,
Where you want remove the page number? If you delete the page number in the first page of the document, that is no way to do. Becasue, first you have to try manually remove the page number 1st page of pages panel, its shown the error "Invalid entry".
Can you please post your query briefly.
thx
csm_phil -
How to display the RFQ Number as the Document Name in the E-Mail output.
Hi All,
I want the Document Name of the E-Mail Notification of RFQ to be the RFQ Number itself.
For eg. RFQ E-Mail-60000015096.pdf
How can this be configured?
Thanks,
Muneer.Hi,
I have done the changes for PO. Its working fine.
But its not working for RFQ.
For eg, for PO its displaying as "PO E-Mail 45000xxxxx".
But for RFQ its just displaying "RFQ E-Mail" - Number is not coming.
I have used the text as "PO E-mail &EKKO-EBELN" for PO.
And for RFQ, I'hv used "RFQ E-Mail &EKPO-ANFNR".
Thanks,
-Muneer. -
How to display the Check number during manual check clearing - FEBAN
Hi all experts,
Hope you can help me on this one. We recently changed our house bank. Because of this change, when we try to post our bank statement, the checks issued from the old bank do not clear. However, when we try to manually clear them through FEBAN transaction, there is no reference to the check number. This becomes a problem, especially when we have about 150 open items for $100 each - we do not know which one to clear against. It is not practical to have to drill down into each document number to find the check number. Is there a way to bring in the check number in the FEBAN open items screen? Has any one else experienced this issue? Any comments / suggestions will be very helpful.
Thanks,
MJHi Chandra,
I tried to add the field through O7R3 (your suggestion) as well as through O7F4. I still cannot see the check field displayed. I tried the FBL1N transaction as well - no check number field there either.
Can you help me? Is there anything else in the config that could cause this?
Thanks,
MJ -
How to change the page number of the existing PDF during assembling?
Hi All,
I am going to assemble two PDF's. Both the PDF's are having page no. So i am assembling two pdf's using invokeDDX method. I am setting page number in the DDX. Assembled PDF is having both the page no's, old page no and the newly generated page no. How to get ride of the old page no? If one PDF is of 2 pages and other PDF is of 3 pages.It should show only 1 of 5,2 of 5,.....5 of 5. It showing this along with 1 of 3,...3 of 3.
Thanks in advance.
Lavanya.Hi
Please declare the line count for report page length.
When you do not declare it is taken as default 0 and this is dynamic page lenght of SAP ( limit is 60,000 lines).
Use statement REPORT <rep> LINE-COUNT <length> [(<pf>)].
Where <length> is line count. Use as per your requirement. <pf> is line reserved for footer if you require.
Additional you can use LINE-SIZE <width> to determine width of page.
Please reward if helpful.
Regards,
Sunil
Message was edited by: Sunil Sawaiker -
How to populate the page number to a Spool request
Hi all,
I use the function RSPO_OPEN_SPOOLREQUEST
RSPO_OPEN_SPOOLREQUEST
to create a spool request, but this spool show
as 0 page, but this can be printed normal. but failed in convert to PDF. Anybody know how to solve this?
Many thanks.Hi,
Try this make a note of the spool request number and goto SE38 and give the program name as RSTXPDFT4 and execute(F8) will ask you for spool number give the spool number and execute. will ask you to give the location give and save.
Check whether the form is generated into PDF or not if it is generated then there might be problem in your code.
Hope my answer helps you.
Cheers!!
Maybe you are looking for
-
Hi I currently have three devices sharing one Apple ID. Ipad (Work) Iphone (Wife) & Ipod Touch (Son) I have purchased an iPhone for Christmas and want to migrate the ipod to a new Apple ID. I haven't created the an ID for the phone yet but just wonde
-
Deleting Cookies... Security OPane on Preferences no longer working "properly"
My Preferences panel seems to have reset itself, with the Security pane no longer listing several options (Location services, Accept Cookies, Databases, Non-secure forms). As a result, I don't have an option to "show" and then "delete" cookies or dat
-
How to transfer songs from ipod to library
I am trying to transfer songs from my old ipod to my library and get them on a new ipod. How do I do this? I am so confused
-
Portal 4.0 switch to Oracle yields ORA-24327
I'm switching from the cloudscape database to an Oracle 8.1.7 database for the Portal 4.0 pools (commerce and dataSync) and the realm under the portalDomain. I followed the directions enumerated in http://e-docs.bea.com/wlp/docs40/deploygd/oraclnew.h
-
When i make a call i cant hear the other person or its super quiet
when i make or recieve a call i cant really hear the other caller, its super quiet and they have to shout! i can hear them fine! theres no case on the phone and its not on silent, volume is at maximum, any ideas guys why its like this? cheers x