How to add Field in Page Title or repeat header on each print page.
Hi Guys,
We are using Application Express 4.1.0.00.32 on Wondows XP and Oracle version is 10g.
I've created a report in APEX and the user is insisting on putting a header on each page in PRINT of the report which should contain the "from date" and "to date", which are present on the select criteria on top.
Now I'm wondering, how can I implement this request?
Can I somehow add from_date and to_date items in Title so that when they print the report, they'll see the from and to dates in the title?
Or is there someother way to do this.
The report is an interactive report with a control break and user prints the report with file->print.
Please help me. I'd really appreciate your help.
Thanks in Advance.
Hi Guys,
Nobody responded, so seems like there is no soluion for this in APEX.
Similar Messages
-
How to add new tab page to equiment ?
Dear Guru's
i created the new equipement category K by coping the standard S.when i am creating the equipment while using equipment category S i am getting tab pages General,Location,organization,structure,Sales and Distribution.
But while using the equipment category K for creating the new equipment i am getting the tab pages General,Location,organization,structure 4 only.
why the 5 one Sales and Distribution is not coming ?
how to add new tab page like Partners ?In that fields like sold to party,ship to party ?
Could anybody help me in this regards
Thank you
suribabuIn Equipment category creation config in IMG, check for the View Profile for both the equipment category S & K.
For adding new tab, follow the IMG path.
PM & CS => Master data => Technical Objects => General Data => Set view profiles for Technical objects
Select the View profile which has been assigned to your equipment category & click Activity & layouts of views. In that screen, under seq.no, select the Partners.
Do the same for other requried tabs based on your requirement.
If there are same profile assigned to both equipment category, go to equipment creation creation => Edit => view selection. There you will find the required tabs. -
Reg:How to add fields to the scripts in detail
How to add fields to the scripts in detail.
Plz give me one example help me out.Hi
add fields to the scripts by sending that field between two &s.
for example if u want to add lifnr of lfa1 table then pass field like this.
&wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
if name1 then &wa_lfa1-name1&
in this way you can add fields to the script under any window.
i am sending one example program for scripts.
&--structure declaration--
TYPES:BEGIN OF ST_LFA1,
LIFNR TYPE LFA1-LIFNR,
NAME1 TYPE LFA1-NAME1,
LAND1 TYPE LFA1-LAND1,
ORT01 TYPE ORT01,
REGIO TYPE REGIO,
END OF ST_LFA1.
TYPES:BEGIN OF ST_EKKO,
EBELN TYPE EKKO-EBELN,
BUKRS TYPE EKKO-BUKRS,
AEDAT TYPE EKKO-AEDAT,
ERNAM TYPE EKKO-ERNAM,
BSTYP TYPE EKKO-BSTYP,
LIFNR TYPE EKKO-LIFNR,
END OF ST_EKKO.
TYPES:BEGIN OF ST_EKPO,
EBELN TYPE EKPO-EBELN,
EBELP TYPE EKPO-EBELP,
LOEKZ TYPE EKPO-LOEKZ,
AEDAT TYPE EKPO-AEDAT,
MATNR TYPE EKPO-MATNR,
NETWR TYPE EKPO-NETWR,
END OF ST_EKPO.
&--internal table,work area declaration--
DATA:WA_LFA1 TYPE ST_LFA1,
IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
WA_EKKO TYPE ST_EKKO,
IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
WA_EKPO TYPE ST_EKPO,
IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
&--data declaration--
DATA:TOTAL TYPE EKPO-NETWR,
V_EBELN TYPE EKKO-EBELN.
data: v_item(20) type c.
&--parameter for purchase document number--
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS P_PURDOC LIKE V_EBELN.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
PERFORM GET_DATA_FROM_EKKO.
PERFORM GET_DATA_FROM_LFA1.
PERFORM GET_DATA_FROM_EKPO.
&--grand total--
LOOP AT IT_EKPO INTO WA_EKPO.
TOTAL = TOTAL + WA_EKPO-NETWR.
CLEAR WA_EKPO.
ENDLOOP.
&--open form--
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
FORM = 'Z_50886_VENDOR'
LANGUAGE = SY-LANGU
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for header details--
READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HEAD'
WINDOW = 'HEADER'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for item details--
LOOP AT IT_EKPO INTO WA_EKPO.
concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
&--write form for vendor details--
READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'VENDOR'
WINDOW = 'ADDRESS'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--write form for grand total--
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'TOTAL'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
&--close form--
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form get_data_from_ekko
FORM GET_DATA_FROM_EKKO .
SELECT EBELN
BUKRS
AEDAT
ERNAM
BSTYP
LIFNR
FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
ENDFORM. " get_data_from_ekko
*& Form get_data_from_lfa1
FORM GET_DATA_FROM_LFA1 .
IF NOT IT_EKKO[] IS INITIAL.
SELECT LIFNR
NAME1
LAND1
ORT01
REGIO
FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
LIFNR = IT_EKKO-LIFNR.
ENDIF.
ENDFORM. " get_data_from_lfa1
*& Form get_data_from_ekpo
FORM GET_DATA_FROM_EKPO .
IF NOT IT_EKKO[] IS INITIAL.
SELECT EBELN
EBELP
LOEKZ
AEDAT
MATNR
NETWR
FROM EKPO INTO TABLE IT_EKPO
WHERE EBELN = P_PURDOC.
ENDIF.
ENDFORM. " get_data_from_ekpo -
How to add fields to already loaded cube or dso and how to fill records in
how to add fields to already loaded cube or dso and how to fill it.can any one tell me the critical issues in data loading process..?
This is sensitive task with regards to large volumes of data in infoproviders.
The issue is to reload of data in case of adjusted structures of infoproviders.
Indeed there are some tricks. See following:
http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
https://service.sap.com/sap/support/notes/1287382 -
How to ADD field in iview ?
hi,
in portal-iview i want to add a field.
when i go to 'portal-content -> open the iview with right click -> preview' and then
do ctrl-alt-right-mouse click i got to the customizing of the fields.
i know how to HIDE fields there, but i don't know how to add fields ? in the list
of the fields the necessary fields are available, BUT i only have to options:
hide -> YES or NOT PERSONALIZED
any ideas ?
reg, MartinGopal,
the root element of this fields does NOT have the option 'decorate'.
it is the quoata overview of ESS : sap.com/ess~quotas
the top of the tree has option 'decorate', but this is above the necessary table where
i select the data.
my adrl is
martin.svik(at)denzel.at
maybe we can 'change' some screenshots where you can send me yours and i can
send you mine to explain it in a better way
reg, Martin -
How to add/create additional page in Crystal Report Layout SAP B1
Hi,
I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
Pls help me to find the solution.
Br,
Thomas MarsetyoHi,
In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
Check this Link
http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
Regards,
Manish -
How to add two different page numbers in a single page
How to add two different page numbers in a single page? One is for page number of the whole article, the other one is for page number for each chapter in the article.
It's quite complicated, see
Two Page Numbering Schemes in the Same Document.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Does anyone know how to add a preface page at the beginning of the book in ibooks author once the book is written? No matter how I try to add a Preface page, it goes to the end of the book.
Thanks. I've tried this and apparently the template I'm using is one of those where it doesn't work. I've tried dragging it as well as cutting a pasting but it always travels back to the end of the book. Maybe I can try changing the template temporarily, move the preface page, and then convert back to the original template. I'll experiment a little.
-
How to add an extra page to the index.html page on dreamweaver CS6?
How to add an extra page to the index.html page on dreamweaver CS6?
Index.html = your domain's home page. There is only one home page per site.
To create a new page from your index, go to File > SaveAs > filename.html. Repeat for other site pages. Add links on your index page that lead to other site pages.
See Creating your first web site in DW CC (5-part tutorial)
https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
Nancy O. -
How to add another Chapter Page for more then 6 chapters & add right arrow?
Hello,
I created a project via the Magic iDVD option and it worked great and added multiple chapter pages for more then 6 chapters. Now, I manually added a submeno off of main and added 6 chapters but I need multiple pages since I have 40 chapters... I can't figure out how to add another chapter page and create a RIGHT ARROW navigation button for the next pages...
I also looked at the map view and see that on the working pages there is page connected to page... I also cannot find a way to add a page connected vi map view...
I have searched the forum but none of the answers were clear on how to do this... any help would be appreciated...
Thanks! T.Adding the submenu is easy...making the button for it a "right arrow" is not.
You can keep adding submenus to other submemus by navigating to the appropriate menu and then choose the "add submenu" command from the iDVD project menu. This can be done in either normal or map view.
However, this creates a "folder" button, (or other things in some themes) not a right arrow. I agree it should be a choice! My 2nd best solution is to chage the folder button to a "text only button" and label it "More Chapters > >"
Another solution (3rd best??) is to use command-shift-4 when you are one one of your other menus that DOES have a right arrow, and take a mini picture of the arrow. Then choose one of the oval menu buttons on the button pane, and drag this tiny picture onto the button. Re-size it to make it close to the same size as your other buttons. It will have a funny edge on it from the button style, but it will look like a right arrow.
John B -
How to add field value to the standard table
Hi,
How to add field value to the standard table?
for example:
when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.Hi Asif,
I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
Hope this is clear for u.
Thanks,
Vinod. -
HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T
hi frnds.
currently iam working on SD MODULE I NEED the NET DUE DATE SO HOW TO DO THAT
1 problem plz:
HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T
TOGETHER
one is date & other is numeric value so how?
one is date & other is numeric value so how to add this 2 fields
& finally i want to display the o/p in date format dd/mm/year
THANKS IN ADVANCE.Hi Mahesh,
one of the nice features of ABAP is that it takes care about month/year changes when adding days/month on a date.
ADD lv_zbd1t TO lv_zfbdt.
This should work fine. If not, try to convert zbd1t into an integer first.
To get you preferred date output format try this:
DATA: lv_datestring TYPE string.
CONCATENATE lv_zfbdt+6(2) '/' lv_zfbdt+4(2) '/' lv_zfbdt(4)
INTO lv_datestring.
This isn't tested, but should give you a clue.
Regards,
ok -
How ro Add or remove page numbers?
How ro Add or remove page numbers in Numbers?
Hi Michael,
In Numbers 3.2, Menu > File > Print... to go to Print Preview.
Hover the cursor over the page display until the page footer appears. Select the page number.
and press delete. Gone!
Regards,
Ian. -
Hi,How to add field to sap Liquidity calculation module tables?
Hi Experts,
How to add field to sap Liquidity calculation module tables?
and how to add a field to a particular transaction code using a customer exits.
please tell me in detail.
thanks inadvance,
Regards,
RekhaHi Pranab,
Please follow the below steps to create an extra field and write code for that field through Infoset.
1-->Change in Infoset
u2022Go to SQ02 , enter Infoset name and click on Change Button
u2022Go to Extras (F5) button displayed on application bar.
u2022In Extras tab, click on 'Create' icon to create additional field E_NAME1, give as type C (character) and give desired length and. Enter header description as 'ShipToName'
u2022Select this field i.e E_NAME1 in one of the field group of Infoset.
u2022Go to Code section (Shift+F8) of infoset, Select Record Processing Event and write your logic code (condition) in this code section:
if vbpa-adrnr = space.
E_NAME1 = kna1-name1.
else.
E_NAME1 = adrc-name1.
endif.
2-->Generate the Infoset.
3-->Change in Query
u2022Go to SQ01(in a new session), give your query name (by selecting your user group) and click on change button.
u2022Check the field group in which you have added E_NAME1 field, then check E_NAME1 from Fields screen
u2022Click on 'Basic List' button; give line (row no.) and sequence (column no.) for extra fields.
u2022Execute/Test the Query, you will get desired result.
Please let me know, if you need more information.
Regards,
Dinesh
Edited by: Dinesh Tiwari on Oct 29, 2009 7:13 AM -
How to add fields in subcreen in MM01 in purchasing viewu0092
HI experts,
How to add some fileds ie check boxes in the MM01 transcation wht is the procedure to add the fields and how to give the functionality to tht checkbox.
The added screen will be appearing in the view purchasing only for the conditions WERT materials. example.Hi,
Try Screen Exit................
Cut and paste the below code in se38 and type the Tcode you will find the Exit and refer table MODSAP
TCODES SMOD, CMOD.
*& Report ZVBUSEREXIT *
REPORT ZVBUSEREXIT .
TABLES : TSTC, "SAP Transaction Codes
TADIR, "Directory of Repository Objects
MODSAPT, "SAP Enhancements - Short Texts
MODACT, "Modifications
TRDIR, "System table TRDIR
TFDIR, "Function Module
ENLFDIR, "Additional Attributes for Function Modules
TSTCT. "Transaction Code Texts
*& Variables
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK A01 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK A01.
*& Start of main program
START-OF-SELECTION.
* Validate Transaction Code
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
* Find Repository Objects for transaction code
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME = ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
* Find SAP Modifactions
SELECT * FROM TADIR INTO TABLE JTAB WHERE PGMID = 'R3TR'
AND OBJECT = 'SMOD'
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT JTAB.
SELECT SINGLE * FROM MODSAPT WHERE SPRSL = SY-LANGU AND
NAME = JTAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 JTAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE JTAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
* Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Regards,
V.Balaji
Reward if Usefull...
Maybe you are looking for
-
OS X Mavericks won't update Adobe Flash Player
Since I updated my MacBook Pro's OS Mountain Lion to OS X Mavericks I can't update all other third party software specially my Adobe Flash Player. Is there a way how to do it because the moment I click on the "Install Adobe Flash Player" it's just cl
-
I upgrade my software how to restore my data from itunes
i upgrade my software how to restore my data from itunes
-
Altenate work centers in production order
Hi, we have 2 different work cneters and any one work center can be selected in the prod order when we process. please advise how to create a routing that will allow to enter 2 work centers for one operation (alternate to each other) so that when we
-
Where can I find PCI E Series RLP Manual companion disk?
I got the PCI E Series RLP Manual, which keeps talking about the companion disk. How can I obtain this disk?
-
Drawing a rectangle on an Image embedded in a JLabel
hey everybody, I'm trying to implement a program that can select parts of an image using a rectangle that's formed while the mouse is dragging. The image is embedded within the JLabel and I have already overriden the paintcomponents method. So far, I