Can I customize the Standard OA Pages provided by Oracle...?
Hi,
Can I be able to customize the standard oracle application framework pages provided by Oracle ?
If so, May I request you to let me know the process ?
And Can I find the source java files for the class files and xml files that are present on teh server ?
Thanks
Hi,
Jave files you can get from JAVA_TOP under specified path and XML files for pages you can get from APPL_TOP>product_top>MDS folder.
While customizing the seeded objects make sure you are not going to modify any seeded object, try to extend it.
Regards,
Reetesh Sharma
Similar Messages
-
When searching for emails I would like to adjust the columns in the search results list view, e.g. add the sender's address. This I would like to save as standard columns specifically for the search results list view, since in other contexts I do not need it. However, I can only set standard columns for existing folders, not for the context of "search results".
re :When searching for emails
what method are you using?
Are you talking about 'Quick filter' or 'Global Search' or via 'Edit' > 'Find' > 'Search Messages' ?
'''If you used the Global Search:'''
Typed in a word: eg: Birthday and selected 'Messages mentioning birthday'
Then a search is returned in a new tab.
You click on 'open email as list' - to open in a new tab.
Is this the search results list view that you are refering to?
the default columns should be:
From, Subject, Date, Location
If you only want to see eg: From and Date
click on the icon 'select columns to display' located to far right of header column name.
deselect Subject and Location
next time you run a global search then only those columns appear in the 'open email as list' view.
'''If via 'Edit' > 'Find' > 'Search Messages' ?'''
enter search parameters and click on 'Search'
Is this the search results list view that you are refering to?
the default columns should be:
From, Subject, Date, Location
Subject and Location cannot be edited.
Other column headers can be selected in the same way using the far right 'Select columns to display' icon.
Any column headers you select will not be remembered if you close and later peform another search.
If you click on 'Save as Search folder'
This will create a folder in your Folder Pane and you can select column(s) you wish to display.
Any Column headers you choose to display are selected for that saved search folder.
The column headers only change if you select to reset defaults on that folder or from another folder you select to apply to other folders for either the search folder or all folders in the account.
'''If using Quick Filter:'''
The QuickFilter type of search is done on the folder that is selected.
You are still in the same folder, it has simply ''filtered'' what it is displaying, so it will obviously still display the same column headers. -
How can i Customize the UIShell Global Area ? Please provide some steps to Customize the UIShell Global Area ?
Actually I need to manipulate the Sign Out link and put my own Sign out link there...If you want to customize the UI Shell you need to download the code from UI Shell - ADF UI Patterns - Dynamic Tabs UI Shell Template Functional UI Pattern ; modiffy and use the updated code
-
How to Customize the Standard UWL component
Hello Experts,
We have a requirement to customize the standard UWL component.
But I am not sure how to get standard UWL source code in NWDS and how to create a custom DC from the standard component with different namespace.
Can anyone please guide me how to achieve this requirement?
Regards,
Sambaran ChakrabortyREPOST with proper format:::
HI Amar,
Thanks for you input.
But we have no option except to go with this customization of UWL; we are in middle of SAP upgrade (NW 7.01 SP07).
Previously we were in NW 7.0 SP10) and that time we were customized the UWL component.
But after upgrade it is not allowing us to deploy the old UWL custom component.
Therefore we have decided to customize the UWL component again with current version.
Now for NW 7.01 SP07 SAP is not providing the source code(SRC>ZIP) for UWLJWF.sac file. But we are able to get the source code for NW 7.01 SP00.
Now we have successfully able to build and deploy a local DC from the SRC.ZIP file from UWLJWF.sac of NW 7.01 SP00.
Then we have created an iview and call the UWL Substitution Application from the custom UWL DC. But when we checked in the UWL Substitution screen we get few issue:
1. In the UWL Substitution screen there is not text available for any of the button.
2. When we clicked on first button (should be Create Rule button, though no text available for our case) we got an error message of incompatibility, below is the error:
java.lang.ClassCastException: com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLPeoplePickerInterface$External incompatible with com.sap.netweaver.bc.uwl.ui.pp.wdp.IExternalUWLCustomPicker at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdGetUWLCustomPickerInterface(InternalSubstitutionRuleView.java:362)
at com.sap.netweaver.bc.uwl.ui.subst.SubstitutionRuleView.wdDoInit(SubstitutionRuleView.java:179)
at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdDoInit(InternalSubstitutionRuleView.java:255)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Can you please provide your valuable input on this condition?
Any help from anyone on this issue will be highly appreciated.
Regards,
Sambaran Chakraborty -
i have one requirement in which i have to customize a standard OAF page.
i have downloaded all .class files and im able to run standard page on local.
But as per the requirement we need to develop the custom page similar to standard page
and then add the additional functionalities to it . Is there any way so that we can use the existing VO's,VL's,AM's ?
Thanks & regards
Aniketthanks gyan
but when im trying to create a new same VO im able to create it but what about java & xml files ?
should i copy the code from xml and java files and paste into newly created java & xml files by changing the package names?
Thanks
Aniket -
Oracle MSCA: Customization in Standard ShipLPN page
Hi,
I am trying to extend the standard ShipLPN page in Oracle MSCA, but when I am trying to run this page, after entering the value of organization id it is redirecting it to menu.
Error in log file is:
SM_EXCEPTION: Exception occurred with user KD34209
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.apps.mwa.container.StateMachine.loadPage(StateMachine.java:1405)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1056)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:898)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1185)
at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:743)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:849)
Caused by: java.lang.NullPointerException
at oracle.apps.inv.wshtxn.server.ShipLPNPage.initPrompts(ShipLPNPage.java:143)
at oracle.apps.inv.wshtxn.server.ShipLPNPage.<init>(ShipLPNPage.java:55)
at oracle.apps.inv.wshtxn.server.ShipLPNPageXX.<init>(ShipLPNPageXX.java:17)
... 10 more
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) SM_EXCEPTION: Exception occurred with user KD34209
java.lang.NullPointerException
at oracle.apps.inv.wshtxn.server.ShipLPNPage.initPrompts(ShipLPNPage.java:143)
at oracle.apps.inv.wshtxn.server.ShipLPNPage.<init>(ShipLPNPage.java:55)
at oracle.apps.inv.wshtxn.server.ShipLPNPageXX.<init>(ShipLPNPageXX.java:17)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.apps.mwa.container.StateMachine.loadPage(StateMachine.java:1405)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1056)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:898)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:1185)
at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:743)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:849)
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) handleEvent: entering new page (pageIx = 2)
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) callListeners: executing 1 listeners, action = 0
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) callListeners: PageBean
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN8
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN7
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN6
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN5
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN4
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN3
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN2
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN1
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN0
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) removeFieldBean: fieldName = oracle.apps.mwa.beans.MenuPageBean.MENUITEMBEAN-1
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) Parent page type 1 is unacceptable in pageEntered handler of MenuPageBean!
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) callListeners: AHException
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) handleEvent: backing off (pageEntered)
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) setCurrentPagePtr: ptr = 1
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) (KD34209) purgePageStack: purging at pageIx = 1
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - After switch action
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - curtSession not null
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - initialize new page
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) in initializePage...
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) Start getCustomPage, page=oracle.apps.mwa.beans.MenuPageBean at Mon Sep 17 16:16:45 IST 2012
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - newPage
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - initializeArrays
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - check for PageBean
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - updateObject
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - checkRefireEnter
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PM - renderScreen
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - after PM handle
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true PM.m_drawScreen
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true PM.m_upArrow
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true PM.m_isNormalText
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true PM.m_highlightedList
[Mon Sep 17 16:16:45 IST 2012] (Thread-15) PH.run - while true PM.m_highlightText
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) PH: User KD34209 got disconnected...
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) PH: caught IOException Connection reset
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) PH: caught IOException
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.readChar(ProtocolHandler.java:1370)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.enterHighlight(ProtocolHandler.java:2045)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:753)
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) PH: session is not null and session is not killed session...calling markSessionDropped()
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) KD34209 connection has dropped. Session will be saved temporarily.
[Mon Sep 17 16:16:52 IST 2012] (Thread-15) PH.run - exit
In ShipPLNPageXX on line number 17 code is:
super(ses);
(Inside page constructor ).
Please provide the solution ASAP.
Thanks,
KopalHi Kristofer,
When the Employee pressed the Save button and if the status of timecard is Approved/Submitted , a popup should display.
I have created a page with two buttons (Yes and No) with warning "By clicking yes, all previously submitted versions of this timecard will be retracted. The Timecard will need to be resubmitted and reapproved. Are you sure you wish to continue?"..
If Employee pressed Yes...I need to save the timecard and normal process should follow..
Here even if I called the PFR of the TimecardListCO(Standard) controller, It's not working.
Is there a way to create the page dynamically with two buttons ?So that I can write the code in the extended controller itself rather than creating a new page.
Which method should I follow to implement this?
Kindly provide your suggestion...
Thanks,
Sukanya -
I change my Pc and don't found my Original DVD from my Acrobat 9 STANDARD. I have the Key and found in Internet the Pro Version, but not the Standard Version. Where can i download the Standard Version?
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 |12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.7.1| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'. -
How can I customize the URL you land on when you open a new tab
Right now when I open a new tab the URL is (about:newtab which gives me the option to search yahoo.com) and I would like to land on www.google.com (as this is more useful for me). Can I customize the landing page for when I open new tabs?
Type '''about:config''' in the URL bar and hit Enter. <br />
''If you see the warning, you can confirm that you want to access that page.''
Put BrandThunder.com in the searchbar at the top, then right-click and select '''Reset''' for any preferences that appear with BrandThunder.com. Then restart Firefox. -
Why can not catch the standard BACK event in ALV's USER_COMMAND event,
Hi expert, why i can not catch the standard BACK event in ALV's USER_COMMAND event,
Code:
DATA G_CON_UC_FORM TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_TOP_OF_PAGE = G_CON_FORM
I_CALLBACK_USER_COMMAND = G_CON_UC_FORM
IT_FIELDCAT = G_TAB_FIELDCAT
IT_SORT = G_TAB_SORT_INF
I_SAVE = G_CON_U
*<<<Liang
IT_EVENTS = G_TAB_ALV_EVENTS
*<<<Liang
TABLES
T_OUTTAB = G_TAB_OUTPUT_DATA
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
*& Form F_USER_COMMAND
ALV USER COMMAND processing
FORM F_USER_COMMAND .
IF SY-UCOMM = '&FO3'.
LEAVE TO SCREEN 0.
ENDIF.
ENDFORM. " F_USER_COMMAND
When I set breakpoint on this subrouting ,and try to click stardard BACK or CANCEL button, the callback form do not run, but if double click one of line of alv report, the callback form works well,
so why??hi
good
check this report and change your code accordingly.
THESE LINES ARE FOR THE MAIN PROGRAM ***
SAP V40B ***
REPORT Z_PICK_LIST .
TABLES: RESB.
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1.
SELECT-OPTIONS: S_WERKS FOR RESB-WERKS," Plant
S_AUFNR FOR RESB-AUFNR," Order number
S_BDTER FOR RESB-BDTER." Req. date
SELECTION-SCREEN END OF BLOCK BL1.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT DEFAULT '/STANDARD'.
DATA: BEGIN OF OUT OCCURS 10,
AUFNR LIKE RESB-AUFNR, " Order number
MATNR LIKE RESB-MATNR, " Material
BDMNG LIKE RESB-BDMNG, " Requirements in UM
MEINS LIKE RESB-MEINS, " Unit of Measure (UM)
ERFMG LIKE RESB-ERFMG, " Requirements in UE
ERFME LIKE RESB-ERFME, " Unit of Entry (UE)
MAKTX LIKE MAKT-MAKTX, " Mat. description
END OF OUT.
INCLUDE Z_ALV_VARIABLES.
INITIALIZATION.
REPNAME = SY-REPID.
PERFORM INITIALIZE_FIELDCAT USING FIELDTAB[].
PERFORM BUILD_EVENTTAB USING EVENTS[].
PERFORM BUILD_COMMENT USING HEADING[].
PERFORM INITIALIZE_VARIANT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM F4_FOR_VARIANT.
AT SELECTION-SCREEN.
PERFORM PAI_OF_SELECTION_SCREEN.
START-OF-SELECTION.
PERFORM GET_ORDERS.
PERFORM GET_MATERIAL_DESCRIPTION.
END-OF-SELECTION.
PERFORM BUILD_LAYOUT USING LAYOUT.
PERFORM BUILD_PRINT USING PRINTS.
PERFORM WRITE_USING_ALV.
FORM INITIALIZE_FIELDCAT *
--> P_TAB *
FORM INITIALIZE_FIELDCAT USING P_TAB TYPE SLIS_T_FIELDCAT_ALV.
DATA: CAT TYPE SLIS_FIELDCAT_ALV.
CLEAR CAT.
ENDFORM. " INITIALIZE_FIELDCAT
*& Form GET_ORDERS
text
FORM GET_ORDERS.
SELECT AUFNR MATNR BDMNG MEINS ERFMG ERFME
FROM RESB
APPENDING TABLE OUT
WHERE XLOEK EQ SPACE " deletion indicator
AND XWAOK EQ 'X' " goods movement indicator
AND WERKS IN S_WERKS " plant
AND BDTER IN S_BDTER " req. date
AND AUFNR IN S_AUFNR. " pr. order
ENDFORM. " GET_ORDERS
*& Form GET_MATERIAL_DESCRIPTION
text
FORM GET_MATERIAL_DESCRIPTION.
SORT OUT BY MATNR.
LOOP AT OUT.
SELECT SINGLE MAKTX
INTO OUT-MAKTX
FROM MAKT
WHERE MATNR EQ OUT-MATNR
AND SPRAS EQ 'EN'.
MODIFY OUT.
ENDLOOP.
SORT OUT BY AUFNR MATNR.
ENDFORM. " GET_MATERIAL_DESCRIPTION
FORM TOP_OF_PAGE *
FORM TOP_OF_PAGE.
DATA: L_POS TYPE P.
first line
WRITE:/ TEXT-001. " Plant:
IF S_WERKS-HIGH NE SPACE.
WRITE: S_WERKS-LOW, TEXT-TO1, S_WERKS-HIGH.
ELSEIF S_WERKS-LOW NE SPACE.
LOOP AT S_WERKS.
WRITE: S_WERKS-LOW.
ENDLOOP.
ELSEIF S_WERKS-LOW EQ SPACE.
WRITE: TEXT-ALL.
ENDIF.
L_POS = ( SY-LINSZ DIV 2 ) - ( STRLEN( TEXT-TIT ) DIV 2 ).
POSITION L_POS. WRITE: TEXT-TIT.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-011, SY-UNAME RIGHT-JUSTIFIED. " User:
second line
WRITE:/ TEXT-002. " Order:
IF S_AUFNR-HIGH NE SPACE.
WRITE: S_AUFNR-LOW, TEXT-TO1, S_AUFNR-HIGH.
ELSEIF S_AUFNR-LOW NE SPACE.
LOOP AT S_AUFNR.
WRITE: S_AUFNR-LOW.
ENDLOOP.
ELSEIF S_AUFNR-LOW EQ SPACE.
WRITE: TEXT-ALL.
ENDIF.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-012,SY-DATUM. " Date:
third line
WRITE:/ TEXT-003. " Req. Date:
IF S_BDTER-HIGH(1) NE '0'.
WRITE: S_BDTER-LOW, TEXT-TO1, S_BDTER-HIGH.
ELSEIF S_BDTER-LOW(1) NE '0'.
LOOP AT S_BDTER.
WRITE: S_BDTER-LOW.
ENDLOOP.
ELSEIF S_BDTER-LOW(1) EQ '0'.
WRITE: TEXT-ALL.
ENDIF.
L_POS = SY-LINSZ - 20.
POSITION L_POS. WRITE: TEXT-013, SY-PAGNO. " Page:
ENDFORM. " TOP_OF_PAGE
FORM END_OF_LIST *
FORM END_OF_LIST.
DATA: L_POS TYPE P.
ULINE.
WRITE:/ '|', TEXT-021. " Delivered by:
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|', TEXT-031. " Received by:
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
WRITE:/ '|'.
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|'.
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
ULINE.
WRITE:/ '|', TEXT-012. " Date:
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|', TEXT-012. " Date:
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
WRITE:/ '|'.
L_POS = SY-LINSZ DIV 2.
POSITION L_POS. WRITE: '|'.
L_POS = SY-LINSZ.
POSITION L_POS. WRITE: '|'.
ULINE.
ENDFORM. " END_OF_LIST
*& Form WRITE_USING_ALV
text
FORM WRITE_USING_ALV.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = REPNAME
I_INTERNAL_TABNAME = 'OUT'
I_INCLNAME = REPNAME
CHANGING
CT_FIELDCAT = FIELDTAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_FIELDCATALOG_MERGE'.
ENDIF.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = REPNAME
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
I_STRUCTURE_NAME = 'OUT'
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FIELDTAB
I_DEFAULT = 'A'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = EVENTS[]
IS_PRINT = PRINTS
TABLES
T_OUTTAB = OUT.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.
ENDIF.
ENDFORM. " WRITE_USING_ALV
THESE LINES ARE FOR THE INCLUDE ***
***INCLUDE Z_ALV_VARIABLES .
TYPE-POOLS: SLIS.
DATA: FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
HEADING TYPE SLIS_T_LISTHEADER,
LAYOUT TYPE SLIS_LAYOUT_ALV,
EVENTS TYPE SLIS_T_EVENT,
REPNAME LIKE SY-REPID,
F2CODE LIKE SY-UCOMM VALUE '&ETA',
PRINTS TYPE SLIS_PRINT_ALV,
TITLE(40) TYPE C,
G_SAVE(1) TYPE C,
G_EXIT(1) TYPE C,
G_VARIANT LIKE DISVARIANT,
GX_VARIANT LIKE DISVARIANT.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE',
FORMNAME_END_OF_LIST TYPE SLIS_FORMNAME VALUE 'END_OF_LIST',
FORMNAME_BEFORE_LINE TYPE SLIS_FORMNAME VALUE 'BEFORE_LINE',
FORMNAME_AFTER_LINE TYPE SLIS_FORMNAME VALUE 'AFTER_LINE'.
FORM MAIN_STATEMENTS *
THIS IS THE CODE THAT MUST BE INSERTED IN THE MAIN PROGRAM
FORM MAIN_STATEMENTS.
Declare the parameter P_VARI wherever you want it. If you don't
want it, hide it with NO-DISPLAY, but it must exist.
parameters: p_vari like disvariant-variant. " ALV Variant
You have to add the following line after the data and parameter
declaration:
include z_alv_variables.
Then, after the data/parameter declaration, add these lines:
*initialization.
repname = sy-repid.
perform initialize_fieldcat using fieldtab[].
perform build_eventtab using events[].
perform build_comment using heading[].
perform initialize_variant.
If you are using the variable P_VARI (ALV Variant), also add this:
*at selection-screen on value-request for p_vari.
perform f4_for_variant.
*at selection-screen.
perform pai_of_selection_screen.
After the "END-OF-SELECTION" statement, add these lines:
perform build_layout using layout.
perform build_print using prints.
perform write_using_alv.
You also have to create the following forms: (you can find samples
in this program)
INITIALIZE_FIELDCAT
USER_COMMAND (only if you are creating a STATUS)
WRITE_USING_ALV
ENDFORM.
*& Form INITIALIZE_FIELDCAT_SAMPLE
THIS IS A SAMPLE, DO NOT USE THIS FORM IN YOUR PROGRAM
-->P_FIELDTAB[] text *
FORM INITIALIZE_FIELDCAT_SAMPLE USING P_TAB TYPE SLIS_T_FIELDCAT_ALV.
DATA: CAT TYPE SLIS_FIELDCAT_ALV.
CLEAR CAT. " Always clear before use
CAT-TABNAME = 'I'. " Your internal table
CAT-REF_TABNAME = 'ZCUSTMAS'. " The data dictionary reference table
CAT-FIELDNAME = 'KUNNR'. " Name of your field in the itable.
CAT-COL_POS = 1. " Output position
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'NAME1'. " Next field
CAT-COL_POS = 2.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'STRAS'. " and the next
CAT-COL_POS = 3.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'LOEVM'.
CAT-SELTEXT_S = 'Del'. " You can always override the descrip-
CAT-SELTEXT_M = 'Delivery'. " tion (short, medium, large)
CAT-SELTEXT_L = 'Delivery Num'.
CAT-COL_POS = 4.
APPEND CAT TO P_TAB.
CAT-FIELDNAME = 'FKIMG'.
CAT-DO_SUM = 'X'. " You want totals calculated.
CAT-NO_OUT = 'X'. " and hidden.
APPEND CAT TO P_TAB.
ENDFORM. " INITIALIZE_FIELDCAT
*& Form BUILD_EVENTTAB
THIS IS THE SAME FOR ALL THE PROGRAMS
-->P_EVENTS[] text *
FORM BUILD_EVENTTAB USING P_EVENTS TYPE SLIS_T_EVENT.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_EVENTS.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_END_OF_LIST
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_END_OF_LIST TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_BEFORE_LINE_OUTPUT
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_BEFORE_LINE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_AFTER_LINE_OUTPUT
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_AFTER_LINE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
CLEAR LS_EVENT.
READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_EVENTS.
ENDIF.
ENDFORM. " BUILD_EVENTTAB
*& Form BUILD_COMMENT
NOT REALLY NEEDED, BUT I'LL LEAVE IT THERE, JUST IN CASE...
-->P_HEADING[] text *
FORM BUILD_COMMENT USING P_HEADING TYPE SLIS_T_LISTHEADER.
DATA: HLINE TYPE SLIS_LISTHEADER,
TEXT(60) TYPE C,
SEP(20) TYPE C.
CLEAR: HLINE, TEXT.
HLINE-TYP = 'H'.
write: text-101 to text+23.
HLINE-INFO = TEXT.
APPEND HLINE TO P_HEADING.
ENDFORM. " BUILD_COMMENT
*& Form INITIALIZE_VARIANT
VERY IMPORTANT WHEN YOU USE VARIANTS!!!
FORM INITIALIZE_VARIANT.
G_SAVE = 'A'.
CLEAR G_VARIANT.
G_VARIANT-REPORT = REPNAME.
GX_VARIANT = G_VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
I_SAVE = G_SAVE
CHANGING
CS_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 0.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDFORM. " INITIALIZE_VARIANT
*& Form PAI_OF_SELECTION_SCREEN
ALSO FOR VARIANTS
FORM PAI_OF_SELECTION_SCREEN.
IF NOT P_VARI IS INITIAL.
MOVE G_VARIANT TO GX_VARIANT.
MOVE P_VARI TO GX_VARIANT-VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = G_SAVE
CHANGING
CS_VARIANT = GX_VARIANT
EXCEPTIONS
WRONG_INPUT = 1
NOT_FOUND = 2
PROGRAM_ERROR = 3.
IF SY-SUBRC EQ 0.
G_VARIANT = GX_VARIANT.
ELSE.
PERFORM INITIALIZE_VARIANT.
ENDIF.
ELSE.
PERFORM INITIALIZE_VARIANT.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREEN
*& Form F4_FOR_VARIANT
text
FORM F4_FOR_VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = G_VARIANT
I_SAVE = G_SAVE
IMPORTING
E_EXIT = G_EXIT
ES_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 2.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF G_EXIT = SPACE.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDIF.
ENDFORM. " F4_FOR_VARIANT
*& Form BUILD_LAYOUT
STANDARD LAYOUT
-->P_LAYOUT text *
FORM BUILD_LAYOUT USING P_LAYOUT TYPE SLIS_LAYOUT_ALV.
P_LAYOUT-F2CODE = F2CODE.
P_LAYOUT-ZEBRA = 'X'.
p_layout-detail_popup = 'X'.
P_LAYOUT-TOTALS_TEXT = SPACE.
P_LAYOUT-SUBTOTALS_TEXT = SPACE.
ENDFORM. " BUILD_LAYOUT
FORM BUILD_PRINT *
STANDARD PRINT OPTIONS *
--> P_PRINT *
FORM BUILD_PRINT USING P_PRINT TYPE SLIS_PRINT_ALV.
P_PRINT-NO_PRINT_LISTINFOS = 'X'.
P_PRINT-NO_PRINT_SELINFOS = ' '.
ENDFORM. " BUILD_PRINT
FORM PF_STATUS_SET *
NAME YOUR STATUS ALV. IF YOU NEED IT.. *
FORM PF_STATUS_SET USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'ALV' EXCLUDING EXTAB.
ENDFORM. " PF_STATUS_SET
FORM USER_COMMAND_SAMPLE *
--> UCOMM *
--> SELFIELD *
FORM USER_COMMAND_SAMPLE USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN 'MSXL'. " Export to Excel
perform set_excel_export.
CLEAR UCOMM.
WHEN 'MM03'.
set parameter id 'MAT' field selfield-value.
call transaction 'MM03' and skip first screen.
CLEAR UCOMM.
WHEN 'BGR1'.
perform fill_available.
perform graph_available.
CLEAR UCOMM.
WHEN 'DOCU'.
call function 'Z_HELP' exporting repname = repname.
ENDCASE.
ENDFORM. " USER_COMMAND
*& Form WRITE_USING_ALV_SAMPLE
*THIS IS A SAMPLE AND MUST BE WRITTEN DIRECTLY IN THE MAIN PROGRAM
FORM WRITE_USING_ALV_SAMPLE.
YOU CAN MERGE WITH A DATA DICTIONARY TABLE USING THIS:
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = repname
i_internal_tabname = 'I'
i_inclname = repname
changing
ct_fieldcat = fieldtab.
if sy-subrc <> 0.
write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_FIELDCATALOG_MERGE'.
endif.
OR JUST DISPLAY IT USING THIS:
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = repname
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
i_structure_name = 'I'
is_layout = layout
it_fieldcat = fieldtab
i_default = 'A'
i_save = g_save
is_variant = g_variant
it_events = events[]
is_print = prints
tables
t_outtab = i.
if sy-subrc <> 0.
write: 'SY-SUBRC: ', sy-subrc, 'REUSE_ALV_LIST_DISPLAY'.
endif.
ENDFORM. " WRITE_USING_ALV
thanks
mrutyun^ -
How do I customize the forum retrieve page?
How do I customize the forum retrieve page? Thanks in advance.
Hi,
All available forum pages/layouts can be access via site manager -> module template -> forum layouts.
Kind regards,
-Sidney -
Can I customize the Spell Checker?
I am new to Pages coming from Office...
In Office, I can customize the Spell Checker to do many things. It will let me have it "auto-correct" any misspellings I commonly make... like if I type "dont" it will automatically change it to "don't".
Does the Mac let you customize the spell checker?Neighborhood Office wrote:
In Office, I can customize the Spell Checker to do many things. It will let me have it "auto-correct" any misspellings I commonly make... like if I type "dont" it will automatically change it to "don't".
Does the Mac let you customize the spell checker?
Launch Pages.
Go to the Pages menu then:
Preferences > Auto-correction
Check the Symbol and text substitution checkbox, then check any substitutions you want made and uncheck any you don't want Pages to do for you. You can add other errors you commonly make and their corrections using the + button below the list.
Auto - Correction is discussed on page 113 of the Pages '09 User Guide, a pdf document that you can download using the link in Pages's Help menu. Searchable, generally well written, and loaded with excellent information, it's highly recommended for anyone new to Pages.
Regards,
Barry -
How can I customize the stylesheet of webdynpro applications?
Hello experts,
how can I customize the Look & Feel (e.g. background color) of webdynpro applications?
I refer e.g. to UWL which is opened by a task link in an email and opens as as webdynpro application in a separate window. It appears in the typical SAP blue. I would like to change the color.
The portal´s customization does not affect webdynpro applications.
Thanks in advance for any hint.
ThomasHi Avi
Yep, that's what you get with AIR output. You have to live
with the skins the AIR layout provides. I suppose if you are a FLEX
developer you might be able to change the skins. But it is what it
is.
You might consider submitting a Wish Form to ask the
development team to allow us more flexibility with AIR skins. Or to
even create a way for the AIR app to use elements of the WebHelp
skins.
Click
here to visit the Wish Form.
Cheers... Rick -
How can i replace the standard ESS iview with my own iview
I want to replace standard ESS addr iview with my own WD developed by ABAP
I added the iview(my WDA) into standard ESS addr page.
(pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.cn/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr)
And make it visible.
But I got this error in ESS PA addr :
WebDynpro Exception: Application PER_ADDRESS_CN Does Not Exist
Here is the error code :
Error code:ICF-IE-http-c:100-u:AC_WANGFZ-l:1-s:CE1-i:SAPCE101_CE1_01-w:0-d:20070514-t:172301-v:RABAX_STATE-e:UNCAUGHT_EXCEPTION
So , how can i replace the standard ESS iview with my own iview?
ThanksCan you see any Javascript EPCF code in the old iView ? You are surely just going to have to find it (if our hunch is correct) and analyse it and copy it into your new iView so that it functions in some way that at least does not error
-
How can I open the EP login page in the same pop-up window?
is it possible for me to using / only one window(Browser) pop-up to EP Page(Login or iView...).
In the firs general html page I create a EP login page link action[eg. "window.open('url', 'target_name')"],
but always launching new pop-up window(Browser).
How can I open the EP login page in the only one window(pop-up)?
Could anybody help me by giving suggestion and codding?
Thanks,
jin.Hi,
if you want to redirect the root of portal system (http://portal/) to the login page, edit the
file and change the body tag as follow:
\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
<body onload="location.replace('irj/portal' + document.location.search)"></body> -
PDFs create great, unless they should be over 10 pages and then it appears the data was converted to PDF by viewing the page numbers at the bottom of the PDF but you can only view the first 10 pages in the pdf file.
Hi stephaniec0103,
Could you please let me know what exact dot version of Acrobat 9 and OS you are using.
Have you tried repairing Acrobat from the Help menu?
Acrobat 9 is an older version and incompatible with new OS versions, so I would suggest you to try using Acrobat XI (latest version) and check for the same.
You may download a 30-day free trial version of Acrobat from the below mentioned link:
Download Adobe Acrobat free trial | Acrobat XI Professional
Let me know how it goes.
Regards,
Anubha
Maybe you are looking for
-
Adobe Media Encoder CS4 Error: WinFile.cpp-754
When encoding video from one format to another (no matter what is source and what is result file format) I have an error after some time or in the begining of the process. "Adobe Media Encoder has encountered an error ..\..\Src\Win\WinFile.cpp-754" V
-
Our Purchasing & Payments centre have raised a change request for a SAP solution to the current manual process for investigating Vendor Debit Balances. To summarise they are looking for an interactive transaction in SAP that will allow them to ident
-
Macbook pro stuck on grey apple logo screen - HELP! I've tried everything
I've looked through the forum for help and I think I've tried everything short of erasing and reinstalling mac os x - - I've done an fsck (got "invalid volume count", "invalid node structure", "volume check failed" errors) - booted from install disk
-
Sapscript-PDF-Mail error: Insufficient data for an image
Hi, I've made a function module that takes a Purcharse Orden from spool, converts to PDF file and then send the form via mail. Everything work fine but the corporative logo in the form can't be seen... When I try to open the attachment, Acrobat Reade
-
WebLogic searches for DataControls.dcx in wrong package. (JBO-25002)
Hi, I've just started a simple Fusion Web Application in JDeveloper (11.1.1.3.PS2_GENERIC_100408.2356.5660) and am running on the Integrated WebLogic Server (10.3.3.0 ). I created a POJO in my Model project that contains a method that I want to call