New Page in NR19 transaction
In alv list display of the NR19 transaction, how to trigger new page automatically depending of the order type.
By example: a new page every time that change the attending physician.
Hi Alberto,
the report RNLAPPDL (transaction NR19) does not offer an automatic refresh. Two solution ideas come to my mind:
1. Check to use the Clinical Workplace (NWP1) which offers automatic refresh of views. Depending on the information your users need you may configure a respective view.
2. Enhancing the functionality of RNLAPPDL so that the list is refreshed automatically. In SDN there are some examples for ALV in general how this can be done. Using the SDN search I found
[this thread.|Autorefresh dialog with ALVs; There is also a code sample in the Wiki https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/autorefreshalv+Program.
One of my development colleagues told me they were using the SAP timer control (CL_GUI_TIMER) in the Clinical Workplace and that you could probably create a little wrapper program which calls RNLAPPDL using a selection variant in respective cycles.
Regards
Claudius
Similar Messages
-
Hello
i want to create new page format in sap script
can any body guide to crate this & how to assign this
thnks in advanceHi Nitin,
You can create a new page format by transaction code SPAD. Here you will have to create a cutomised page format for ex: 'ZPAGE'.
After this you will have to create a format type 'ZPAGE'. Assign the page format 'ZPAGE' to format type 'ZPAGE'. Pls make sure that both the names are identical.
Once you do that you will have to assign the format type ZPAGE to the printer which you want to use.
Now you can use this page format in your script.
Hope this helps.
Sushil -
REUSE_ALV_HIERSEQ_LIST_DISPLAY and new Page
Hi all,
I am using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY to display ALV List. Now, i want to print a New page on every Header record , is it possible?if Yes, then how?
thanks in advance.Hi VIpin,
Please find the code and function module ..
*& Report Z8AS_PROGRAM_ALV
REPORT Z8AS_PROGRAM_ALV.
TABLES : STKO,STPO,MAKT,MAST.
TYPE-POOLS : SLIS.
DATA : BEGIN OF ISTKO OCCURS 0,
STLNR LIKE STKO-STLNR,
DATUV LIKE STKO-DATUV,
MATNR LIKE MAST-MATNR,
BMENG LIKE STKO-BMENG,
BMEIN LIKE STKO-BMEIN,
END OF ISTKO.
DATA : BEGIN OF ISTPO OCCURS 0,
STLNR LIKE STPO-STLNR,
IDNRK LIKE STPO-IDNRK,
MENGE LIKE STPO-MENGE,
MEINS LIKE STPO-MEINS,
MAKTX LIKE MAKT-MAKTX,
END OF ISTPO.
DATA : BEGIN OF IMAKT OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF IMAKT.
DATA : BEGIN OF IMAST OCCURS 0,
MATNR LIKE MAST-MATNR,
STLNR LIKE MAST-STLNR,
END OF IMAST.
DATA : IFIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WFIELDCAT TYPE SLIS_FIELDCAT_ALV,
ILAYOUT TYPE SLIS_LAYOUT_ALV,
IKEYINFO TYPE SLIS_KEYINFO_ALV,
IEVENT TYPE SLIS_T_EVENT,
WEVENT TYPE SLIS_ALV_EVENT.
PARAMETERS : P_NUM TYPE I .
START-OF-SELECTION.
PERFORM GETDATA.
PERFORM GETHEADERMAT.
PERFORM GET_MAT_DESC.
PERFORM BUILD_FCAT_HEAD.
PERFORM BUILD_FCAT_ITEM.
PERFORM BUILD_KEYINFO.
PERFORM BUILD_EVENT_TAB.
PERFORM BUILD_LAYOUT.
PERFORM DISPLAY_DATA.
*& Form GETDATA
text
--> p1 text
<-- p2 text
FORM GETDATA .
SELECT STLNR DATUV BMENG BMEIN INTO CORRESPONDING FIELDS OF TABLE ISTKO
FROM STKO UP TO P_NUM ROWS.
IF NOT ISTKO[] IS INITIAL.
SELECT STLNR IDNRK MENGE MEINS INTO TABLE ISTPO FROM STPO FOR ALL ENTRIES IN ISTKO
WHERE STLNR = ISTKO-STLNR AND POSTP = 'L'.
ENDIF.
ENDFORM. " GETDATA
*& Form BUILD_FCAT_HEAD
text
--> p1 text
<-- p2 text
FORM BUILD_FCAT_HEAD .
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'STLNR'.
WFIELDCAT-SELTEXT_L = 'BOM no'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'DATUV'.
WFIELDCAT-SELTEXT_L = 'BOM date'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'MATNR'.
WFIELDCAT-SELTEXT_L = 'Header mat no'.
WFIELDCAT-OUTPUTLEN = 18.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'BMENG'.
WFIELDCAT-SELTEXT_L = 'Base qty'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'BMEIN'.
WFIELDCAT-SELTEXT_L = 'UOM'.
WFIELDCAT-OUTPUTLEN = 3.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
ENDFORM. " BUILD_FCAT_HEAD
*& Form BUILD_FCAT_ITEM
text
--> p1 text
<-- p2 text
FORM BUILD_FCAT_ITEM .
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'IDNRK'.
WFIELDCAT-SELTEXT_L = 'Material no'.
*WFIELDCAT-HOTSPOT = 'X'.
WFIELDCAT-OUTPUTLEN = 18.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MAKTX'.
WFIELDCAT-SELTEXT_L = 'Material desc'.
WFIELDCAT-JUST = 'C'.
WFIELDCAT-OUTPUTLEN = 30.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MENGE'.
WFIELDCAT-SELTEXT_L = 'Item qty'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MEINS'.
WFIELDCAT-SELTEXT_L = 'UOM'.
WFIELDCAT-OUTPUTLEN = 3.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
ENDFORM. " BUILD_FCAT_ITEM
*& Form BUILD_KEYINFO
text
--> p1 text
<-- p2 text
FORM BUILD_KEYINFO .
IKEYINFO-HEADER01 = 'STLNR'.
IKEYINFO-ITEM01 = 'STLNR'.
ENDFORM. " BUILD_KEYINFO
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM DISPLAY_DATA .
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COM'
IS_LAYOUT = ILAYOUT
IT_FIELDCAT = IFIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = IEVENT[]
IT_EVENT_EXIT =
I_TABNAME_HEADER = 'ISTKO'
I_TABNAME_ITEM = 'ISTPO'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
IS_KEYINFO = IKEYINFO
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB_HEADER = ISTKO
T_OUTTAB_ITEM = ISTPO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_DATA
*& Form GET_MAT_DESC
text
--> p1 text
<-- p2 text
FORM GET_MAT_DESC .
IF NOT ISTPO[] IS INITIAL.
SELECT MATNR MAKTX INTO TABLE IMAKT FROM MAKT FOR ALL ENTRIES IN ISTPO
WHERE MATNR = ISTPO-IDNRK.
ENDIF.
LOOP AT ISTPO.
READ TABLE IMAKT WITH KEY MATNR = ISTPO-IDNRK.
IF SY-SUBRC = 0.
ISTPO-MAKTX = IMAKT-MAKTX.
ENDIF.
MODIFY ISTPO.
ENDLOOP.
ENDFORM. " GET_MAT_DESC
*& Form BUILD_LAYOUT
text
--> p1 text
<-- p2 text
FORM BUILD_LAYOUT .
ILAYOUT-ZEBRA = 'X'.
ILAYOUT-COLWIDTH_OPTIMIZE = 'X'.
ENDFORM. " BUILD_LAYOUT
*FORM USER_COM USING PUCOM LIKE SY-UCOMM PSELFIELD TYPE SLIS_SELFIELD.
*CASE PUCOM.
*WHEN '&IC1'.
SET PARAMETER ID 'MAT' FIELD PSELFIELD-VALUE.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
*ENDCASE.
*ENDFORM.
*& Form BUILD_EVENT_TAB
text
--> p1 text
<-- p2 text
FORM BUILD_EVENT_TAB .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = IEVENT
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE IEVENT INTO WEVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC = 0.
WEVENT-FORM = 'TOPOFPAGE'.
MODIFY IEVENT FROM WEVENT INDEX SY-TABIX.
ENDIF.
ENDFORM. " BUILD_EVENT_TAB
*& Form TOPOFPAGE
text
FORM TOPOFPAGE.
DATA : ILISTHEAD TYPE SLIS_T_LISTHEADER,
WLISTHEAD TYPE SLIS_LISTHEADER.
WLISTHEAD-INFO = 'Its a test hierarchical sequential alv dispaly'.
WLISTHEAD-TYP = 'H'.
APPEND WLISTHEAD TO ILISTHEAD.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = ILISTHEAD
I_LOGO = ''
I_END_OF_LIST_GRID =
ENDFORM.
*& Form GETHEADERMAT
text
--> p1 text
<-- p2 text
FORM GETHEADERMAT .
IF NOT ISTKO[] IS INITIAL.
SELECT MATNR STLNR INTO TABLE IMAST FROM MAST FOR ALL ENTRIES IN ISTKO
WHERE STLNR = ISTKO-STLNR.
ENDIF.
LOOP AT ISTKO.
READ TABLE IMAST WITH KEY STLNR = ISTKO-STLNR.
IF SY-SUBRC = 0.
ISTKO-MATNR = IMAST-MATNR.
ENDIF.
MODIFY ISTKO.
ENDLOOP.
ENDFORM. " GETHEADERMAT
What more you can do is go to that function module in se37 , and inside that function module you can use At New
command , like at new matnr or ebeln .
Reward points if helpful
Regards,
Amber S
Message was edited by:
Amber Soni -
... Hi everybody !!!
I need to create a new page forma for a checkt: Width 165 / MM, Height / Unit 67 / MM
i created it in spad transaction,
Full Administration -> Extended admin -> Device Types
But when i execute the program in order to print the format the system send a message
Device type HPLJ5 does not support page Z165X67, where z165x67 is a format that i created.
I think the problem is in the the definition format Z165X67 associated to devide type, in the actions
( printer initialization, reset after exit, cover page, end of page, etc ), here uses a hexadecimal code and i don'r undestand
this, someone can give me any suggestion.
Thanks
Best Regards.. Hi !!!
I can asociate the new format page, i can print a check, but i have a little problem, when I send to print more than 1 check,
the jump of page is not equal, so the output for the other checks is nor rigth.
Do you have any suggestion ??
Thanks
Noemí Huerta -
Values of fields cleared when navigating to a new page
Hi
In a transaction, I am giving values to the mandatory fields and other fields. From that page, i am navigating to other page for creating a relation or a new contact for that transaction. When i come back to the main page, values in 2 assignment blcoks and 1 field in 'Details' section of the assignment block are displayed as blank. When i save this transaction, those fields are saved with the values which were previously entered. If i follwo this process for an already saved transaction, this problem does not come. I am not able to identify why is this happening. Please provide your inputs.
Regards,
Radhika
Edited by: Radhika Chuttani on Dec 23, 2009 12:39 PMHmmm I have read also about the Internet Explorer and Fingerprint Authentication Software issue.
Found this
http://support.toshiba-tro.de/kb0/TSB6701I80004R01.htm
An update of the Fingerprint Authentication Software helped to solve the IE freezing.
But as you said, this software was not installed on your Satellite.
In your case I would recommend reinstalling the Internet Explorer on you computer. Maybe it helps.
PS; Did you try to use the Firefox internet browser??? -
Hi all,
I created a new page and create an update functionality in which the fields can be updated on click of a button. Everything is working fine but when i use a OADialogpage for confirmation of the click of the update button, i am not getting any error but the data is not getting saved.
Can anyone has any idea why this is happening??
Thank you
PKKumar,
What do u mean by using "commit" in dialog page?? the user is talking about OADialog page, and prior using OADialog page, the data was getting saved, so naturally transaction.commit(), is there in his code.
PK,
The only possible reason I can see the data is not saving can be because of two facts :
1)In process request this code is missing
if (!vo.isPreparedForExecution())
//your method is invoke the vO query
vo.executeQuery();
The reason for inserting the above check upon executeQuery() is because if a post (form submit) action occurs on a page that is different from the page where the last request was issued, OA Framework tries to re-enter the processRequest() phase to synchronize the state on the middle tier with the state on the client browser. The logic above handles cases where the request is redirected to another JVM as well. In such cases, processRequest() is entered to rebuild the web bean hierarchy.
2)
setPostToCallingPage(true) is missing in your code.
If you have done both still your code is not working ahre the code, we will review and let you know the error.
--Mukul -
Smartforms Dump at Command - New Page
Hi Experts,
I have to create a Smartforms Layout. I have to print the first page as Landscape and the rest of the pages as portrait.
The first page will contain the summary. Other will contain different details related to the summary.
I have created 3 pages.
The first page in Layout. The next page here is first page.
The second and third pages as portrait.
On the first page after the summary table I have given a command. I have selected the checkbox, go to new page and specified the next page.
If I give the other pages as Landscape and the main window with the same size as the window on the first page, I am able to print correctly. If I specify as portrait I get a dump.
Any body can let me know how do I create different pages with different layout. Where am I going wrong
Regards,
AbuShort text
Exception condition "ERROR" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls. -
Regarding - add a new field in migo transaction
Hai guys,
i need to add one field in MIGO transaction, can u pls tell me the step by step procedure for adding the new field in migo transaction.
Regards,
N.selvamuthukumar.Hi Selvamuthu,
It is possible using the BADI MB_MIGO_BADI to add Additional tabs in header and/or item as required
MB_MIGO_BADI -> BAdI in MIGO for External Detail Subscreens
See the documentation below...........
With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the interface of the goods movements transaction ( MIGO) with additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips). It is possible for an external application
to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
to display an additional header tabstrip with own subscreen (max. 3 lines) in MIGO
The program name, screen number and tab page text can be determined dynamically. Different screens can therefore be controlled according to the mode (for example, change mode, display mode, goods receipt, goods issue).
To read the complete documentation --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
inside click on "DOCUMENTATION" button and there is a complete documentation step by step
in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
on the top menu -> "GOTO" -> sample code -> "Display"
in will get the "methods" tab..see the description
Initialization and Registration of Ext. Detail Screens
PBO of Detail Screen
PAI of Detail Screen
Add / Change a Line (GOITEM)
Delete a Line (GOITEM)
MIGO Reset (Delete All Internal Data)
Post Goods Movement
Check Item Data of Goods Movement
Mode of Transaction MIGO (Action / Reference Document)
Status Information and Header Data
Save Held Data
Load Held Data
Delete Held Data
PBO of Header Screen
PAI of Header Screen
Check Header Data of Goods Movement
Publish Item Data After Processing
sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
PBO of Header Screen
PAI of Header Screen
PBO of Detail Screen
PAI of Detail Screen
Pls take some time to analyse the code or flow but we can have the tabs in the header/item level
Hope it helps
Regards
Byju -
Could not allocate new page for database 'TEMPDB'
Dear All,
When I try to fill up the aggregate of a cube, the job is cancelled after 16484 Seconds due to runtime error .
I couldnt do fillup though I tried lot of times. The system log information is given below.
Database error 1101 at EXE
Could not allocate new page for database 'TEMPDB'. There are no more pages available in filegroup DEFAULT. Space can be created by dropping objects, adding additional files, or allowing file growth
Database error 1101 at EXE
Perform rollback
Run-time error "UNCAUGHT_EXCEPTION" occurred
Short dump "080101 025044 Eapsapp1 POTARU91" generated
Transaction Canceled 00 671 ( UNCAUGHT_EXCEPTION 20080101025044Eapsapp10021 POTARU91 0011 )
Perform rollback
System Details:
BW Version : 3.5
Support Level: 19
Datebase : MS SQL Server 2000
Cube's E Table Details:
Total Rows : 318,230,953
Data Szie(KB) : 121,358,760
Index(KB) : 55,241,264
Min. Row Size: 371
Max Row Size: 393
TEMPDB database information:
DB Size(MB): 139,999
Size Used(MB): 3
Free (MB): 139,996
Log Size(MB): 342
Log Used(MB): 117
TEMPDB is having 9 Database files. Out of nine, three database file information is given below.
Logical File Name: tempdev
File Size(MB): 20,000
Used Space(MB): 0
File Size Limit(MB): 20000
File Growth Step: 250MB
Free on Disk(MB): 459,204
Logical File Name: tempdb_1_Data
File Size(MB): 14,999
Used Space(MB): 0
File Size Limit(MB): 15000
File Growth Step: 550MB
Free on Disk(MB): 2,674
Logical File Name: tempdb_2_Data
File Size(MB): 15,000
Used Space(MB): 0
File Size Limit(MB): 15000
File Growth Step: 0MB
Free on Disk(MB): 2,674
Collectively for all the 9 database file size is 140GB.
Please let me know what has to be changed in above TEMPDB size settings to avoid the issue in future.
Advanced Thanks for your solution for this issue.
Regards
Guna.Hello,
as the message stated correctly is the tempdb full:
Logical File Name: tempdev
File Size(MB): 20,000
File Size Limit(MB): 20000
Logical File Name: tempdb_1_Data
File Size(MB): 14,999
File Size Limit(MB): 15000
Logical File Name: tempdb_2_Data
File Size(MB): 15,000
File Size Limit(MB): 15000
All files of the tempdb are restricted in size and already expanded to their maximum size. You now can either
- add another file on a disk with free space and let the file grow
- let the existing files grow to an higher amount
Best regards
Clas -
New page in browser window on event trigger
Hello Experts,
I have created webdynpro abap application which generates pdf interactive forms on pressing a button in UI. I want pdf to be generated in the new page of browser instead of the current page.
Any suggestions how can I implement this?
Thanks & Regards,
ViralHello Viral,
Anky is helping you to open a new browser window tith 'Google' website.
In your case, could you do the below steps:-
Step1 : create a new window, add your view containing Adobe interactive form into this window.
Step 2: Open this window on button action event. Following snippet of code might be helpful for you.
DATA lo_nd_tabnode TYPE REF TO if_wd_context_node.
lo_nd_tabnode = wd_context->get_child_node( Name = '<Node_Name>' ).
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_this->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = '<Window_Name>'
message_display_mode = if_wd_window=>co_msg_display_mode_selected
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
lo_window->open( ).
Explanation:
Line 1 & 2. A reference to the context node is created This context node(Node_Name) which is mapped to the UI elemenents on the adobe interactive form.
Line 3,4 & 5: reference to the window manager, component and window are created(all those starting with 'if' stands for interfaces, if you want details about these interfaces, goto transaction SE24 and insert their name and search for parameters and methods.- putting all these details as you said you are new to Wd ABAP).
rest of the lines: creating window API and assigning mandatory parameters to this window.
last line: opening window whenever this particular(wd window) is getting called.
for more details goto SE 24 search with 'if_wd_window".
Cheers,
Jakes. -
New page creation in sap scripts
Hai
some one can give me the path for creation of new page in sap script(forms).
pl giove me the complete path
thank u in advancehi
Goto SAPSCRIPT transaction code se71.
open your sap script.
goto pages button
right click
create element
a new page element gets created
fill in required details of this new page like page name next page
next page is the page that comes after the current page
if you have no next page - give the current page name in next page.
you can further create windows in this page and continue
Regards,
Richa -
Triggerring new page in the script
Hi
can anybody tell me how to trigger a new page in the script on condition.
my problem is i want to print material & its discription based on the MRP controller using scripts.
if the MRP controller changes then it has to trigger a new page in the script.
page 1.
MRP controller 102
material1 material1-discription.
material2 material2-discritpion.
new page shoud trigger here
page 2
MRP Controller 103
material1 material1-discription.
material2 material2-discritpion.
Thanks in advanceHi,
First Call That text Element Were U Used New-page Coomand.
SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).
The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.
Syntax:
/: NEW-PAGE page_name
/: NEW-PAGE
The current page will be completed and the text in the following lines will be written to the page specified in the form.
/: NEW-PAGE S1
As above, except that the page S1 will be taken as the next page.
If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.
2.it can be set in two way
1 using SE71 ur Script transaction
u can create new page by clicking page tab in Se71 and goto edit->create Element.. that will create a new page..
2 Using ur SE38 itself by setting a flag variable = X u can create a new page..
if page = ' X '.
new-page.
endif.
reward if helpful
Shiva Kumar -
Post Author: tadj188#
CA Forum: Formula
Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
Background:
1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using subreports. A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report with their respective detail lines). I had multiple subreports and each subreport became one union.
Created and tested, already:
1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
Issue:
1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
Other Ideas Appreciated:
1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
Thank you.
Tadjexport all image of each page try like this
var myDoc = app.activeDocument;
var myFolder = myDoc.filePath;
var myImage = myDoc.allGraphics;
for (var i=0; myImage.length>i; i++){
app.select(myImage[i]);
var MyImageNmae = myImage[i].itemLink.name;
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
app.jpegExportPreferences.exportResolution = 300;
app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
alert(myImage[i].itemLink.name) -
Open Jasper Report in new page using servlet
Guys,
Looks very simple but i am having problem making this process work. I am using 11.1.1.4
This is my use case:
- From a employee page, user clicks on a menu item to open report for current employee. I need to pass appropriate report parameters to servlet and open report into new page.
I can successfully call servlet using commandmenuitem and set request parameters and call servlet from backing bean.... but that doesn't open report in a new page.... any way i can do this?
Another option i tried was that using gomenuitem and setting target=blank but in that case i need to pass the parameter using servlet url which i like to avoid.(in case i need to pass many parameters in future) (also values will be set on page so i need to generate url when then click the menuitem...... so there are some hoops and loops i need to go through) I don't know a way to pass the request parameter using backing bean to servlet... i don't think it is possible.
Those are the two approaches i tried.
If you have any better approach...I would appreciate if you can let me know. (i have searched on internet for two days now.... for the solution)
-R
Edited by: polo on Dec 13, 2011 7:22 AMHi,
Hope following will useful
http://sameh-nassar.blogspot.com/2009/10/using-jasper-reports-with-jdeveloper.html
http://www.gebs.ro/blog/oracle/jasper-reports-in-adf/ -
I'm really struggling with the new pages, having used the old version so much I just can't get the hang of this one - so much has changed:( Really wish I hadn't bothered but now have too many documents created in it that I can't open on old version as it doesn't let you (mump mump - well I am scottish).
So in the old version I used thumbnail view to move about the order of the pages (really useful when making up artwork for magazines etc). Anyone know how to do it on the new version?
Also can't seem to view document in '2 up' - 2 pages side by side (also very handy for magazines etc).
Also the tables facility doesn't let you move borders of individual cells - you can only move the whole column - I can't even select them.
I could go on but will go before I start the 'pages shake'.Hilary,
Scottish or not, your best option is to retreat to the last good version of the app, Pages '09.
Cut your losses.
Jerry
Maybe you are looking for
-
HOW MANY HOURS DID YOU CHARGE YOUR iPHONE FOR THE 1ST TIME OUT OF THE BOX?
As the title says. And how soon does the battery start to finish when watching YouTube after a FULL CHARGE? I can watch abt 3 or 4 videos (between 2 to 10 mins long each) + searching youtube for a minute or two before I notice the FULL BATTERY starts
-
BAPI_MOSRVAPS_SAVEMULTI3 creating unwanted Dependent Demand
We are using the BAPI function BAPI_MOSRVAPS_SAVEMULTI3 to create Production Orders to integrate WIP from a legacy system. The presence of PDS for the product on which the production order is created, makes the PDS assignment to the production order.
-
Hi All, Currently i am developing RTF template for standard RDF, 'INVOICE PRINT SELECTED INVOICES' in AR module. After we registered template in oracle applications we tried to run the xml output concurrent program (this gives input to template) whic
-
Upward swipe is not registering in iOS7 to bring up control center
Hi there. Basically, I just recently installed iOS7 on my iPhone 4. So far everything has been working really well, except for the control center. This is not related to that other security bug. My problem is, swiping upward on the phone works less t
-
Hi, I'm working with Adobe Illustrator CS3 for Mac and suddenly the software started to prompt "The operation cannot complete because of an unknown error. [CANT]". I deleted my prefs and the problem is still present. Some times the machine freezes af