How to change the format of a date field inheriting format from subclass.
Currenctlty date filed is inheriting the format from a property class. The date format in my property class is 'dd/mm/rrrr'.
Now my requirement is to change the format mask according to my applications user from 'dd/mm/rrrr/ to 'dd/mon/rrrr'.
Some may use 'dd/mm/rrrr' and some may use 'dd/mon/yyyy'.
Thanks.
Some may use 'dd/mm/rrrr' and some may use 'dd/mon/yyyy'.
I want a generic solution to change the date format at runtime These two seem to conflict. How will you decide which one to change and which not?
Similar Messages
-
How to extract the R/3 Contracts data to CIF format
HI,
Please help me out for how to extract the R/3 Contracts data to CIF format.
Regards,
VenkatHi,
Thanks for the reply.
We do not have any APO system, our aim is to send the all R/3 contracts should be extracted as CIF and further need to be send to third part system(Quadrem).
Any inputs plz..for our new requirement
Regards,
Venkat -
How to change the status of test cases in Test Plan from Design to Ready using Excel VBA
HI,
How to change the status of test cases in Test Plan from Design to Ready using Excel VBAThanks Florin,
Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
Points have been rewarded for your help.
Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
Note: The Exit will be executed if "exit_cancelled" statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
Please check the link for adding the code in Work Item Exits.
http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
Please find the Code:
method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
Get the context of the workitem
me->wi_context = im_workitem_context.
After execution of the workitem call the method AFTER_EXECUTION
if im_event_name eq swrco_event_after_execution.
me->after_execution( ).
endif.
endmethod.
METHOD AFTER_EXECUTION.
This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
DATA: LCL_L_WID TYPE SWW_WIID,
L_STATUS TYPE SWR_WISTAT-STATUS,
L_NEW_STATUS TYPE SWR_WISTAT,
L_SWR_MESSAG TYPE STANDARD TABLE OF SWR_MESSAG,
L_SWR_MSTRUC TYPE STANDARD TABLE OF SWR_MSTRUC.
Get work item
CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
RECEIVING
RE_WORKITEM = LCL_L_WID.
L_STATUS = 'READY'.
CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
EXPORTING
WORKITEM_ID = LCL_L_WID
STATUS = L_STATUS
USER = SY-UNAME
LANGUAGE = SY-LANGU
DO_COMMIT = 'X'
IMPORTING
NEW_STATUS = L_NEW_STATUS
RETURN_CODE = SY-SUBRC
TABLES
MESSAGE_LINES = L_SWR_MESSAG
MESSAGE_STRUCT = L_SWR_MSTRUC.
IF SY-SUBRC EQ 0.
ENDIF.
ENDMETHOD.
Thank You Once Again,
Ajay Kumar Chippa -
How to change the Display Pattern for Decimal Fields dynamically
hi all,
Can any one help me how to change the display pattern for decimal fields dynamically???
Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
Please help me how to solve this ASAP.
Thanks,
PrabhuHi,
Alternatively you can handle it in the context.
In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
<quan field> NE initial.
So the field will not be printed if there is no value.
Regards,
Vidya Chowdhary A. -
How to change the HTML/XML test data to test my_abap_proxy in SE80?
Hello,
I am trying to test my_abap_proxy in SE80 by usng a HTML/XML file of my desk top, the test data is as below
<LoadingDate>20110422</LoadingDate>
<DocumentDate>20110422</DocumentDate>
<SDDocumentCategory>G</SDDocumentCategory>
so on.......
Now, i want to change the Loading date in this test data, so, i tried after Loading file in Test Service Provider screen of my_abap_proxy of SE80, but i could not make change ANY data in this test data, pls. let me know how to change the data?
Thank youHello ABAP_SAP_ABAP ,
Youneed to select the option "generate template data " and then on the displaying template there you will see the option for editing in the top left corner toolbar.
Then after editing you can do a XMl syntax check and test your proxy.
Hope this helps.
Thanks,
Greetson -
How to change the content dynamically by date wise
Hi,
In my application, i have a survey module.
In that i have to change the question by every week, which iam getting
from the Database.
Iam using java,and mysql DB, framework struts.
How can i update the question for every week ??
What is the procedure to attain it.
Give me suggestions and tips to startup.
Thanks,
MohanThe cron command would do that on Linux and Solaris. On Windows, use a similar command.
-
How to change the name of HFM EPMA Application while migrating from dev to
We have HFM EPMA application in Dev env on 11.1.2.2. We want to migrate aplication to production environment with different name. We are using Life cycle management to migrate the application. I know life cycle management but do not know how to change the application name during migration.
As we have EPMA application so copy utility will not work. Please helop.Hi ,
You could use the Copy app utility to migrate the application from Dev to Prod.You could have your desired app name while setting up the copy process.
The EPMA application from Dev will be converted to an Classic application in Prod after the copy.
Then you might need to use the "Transform Classic to EPM Architect" and convert it to an EPMA application.
So your Application with the data from Dev will be moved to Prod.
To Navigate ,
Launch Workspace
Navigate ->Administer->Transform Classic to EPM Architect
Thanks and regards,
Gunasekaran rayar
Edited by: Gunasekaran Rayar on Nov 28, 2012 5:04 AM -
How to change the PARTITION(P#) is replace of PYYMMDD format
hi
hi everybody, i am developing the appl is used to jsp and oracle.. i need to change # is replace of YYMMDD format in oracle.. i want to display the partition wise data (like p070220) based on the query..
how can you change the query (p#, p070220)....
pls find the above code..
Table Names(1): select * from imis_p3_report
Fields: mis_rep_id, mis_rep_name, query_description
EX: LPP0159,Deativations thru 152 Short code, SELECT
TO_CHAR(CALL_DATETIME,'DD-MON-YYYY') DEACTIVE_DATE, TIME, SUBSTR(CV1,3,10) MSISDN,SUBSTR(CV2,3,10) DEALER_NUMBER,CV3 PRODUCT_CODE,CV4 SYS_STATE, TO_CHAR(TO_DATE(CV5,'YYYYMMDD'),'DD-MON-YYYY') CREATE_DT,CV6 SERVSP_ID,CV7 DEALER_CODE,CV8 ZONE_DEALER FROM DAILY_IN_DUMP PARTITION(P#) WHERE
Upper(Nodelabel)='ID_DEACTIVATION' 2) select * from imis_p3_controls Fields:mis_rep_id, condition_id, control_type, control_label, control_content, default_value
EX: LPP0159, 1, DTP, FORDATE
COntrol_types like DTP, COMBOBOX, LISTBOX, RADIO
3) select * from imis_p3_conditions
Fields: mis_rep_id, control_id, condition_id, query
ex: LLP0159, 4, 2, select
TO_CHAR(TO_DATE('#','DD/MM/YYYY'),'YYMMDD') DT from dual
Condtion_id: 0,1,2,3,4,5..
i want to change the PARTITION(P#) replace to p070220 format
please help me....
KalyaniHi there Luke. Thanks for the answer but it has bred a new problem as good as it was. I've shrunk the second volume (E) down to 20GB exactly, however there is now around 53gb of unallocated space. When I right click on the C partition the option for extending is greyed out and it wont let me allocate the 53gb to it.
Any ideas on why this might be?
Wish I knew more about computers! :( -
How to change the execution order of data control and backingbeans
Hi,
I have a form for a BPM human workflow. It has an inputText and a selectOneChoice component in the form.
The list of value for the selectOneChoice is initiated based on the value in the inputText.
I have a data control - JavaBean, which returns a list of values based on a parameter for the selectOneChoice and the parameter is binded with the value of inputText defined in a backingBean. I also set the default value of the inputBox in the backing bean with setValue().
The problem I have is that the data control for selectOneChoice is loaded before the inputText or backingBean is loaded. Therefore, the parameter is null.
I tested the same combination in an ADF web app and it works fine. In the app, the inputText and the backingBean are loaded first and then the value of inputText is sent to the data control.
How can I change the order of the execution? I need to make the inputText and backingBean loading first before the data control for the list of values loading.
Edited by: user626218 on Oct 10, 2012 9:25 PMHi,
The inputText is pre-populated based on the user profile in the BPM instance. I tried to render the selectOneChoice if the value of the inputText exists but the data control for selectOneChoice is loaded before the backingBean so it keeps getting a null as parameter. -
How to change the column name of Data Entry View of CAT2?
Hi experts,
The requirement is to change the name of one of the columns in the Time Sheet: Data Entry View appearing on execution of t-code CAT2. What should be the procedure to do the same?I came across the thread
CAT2 Worklist enhancement.
which aims to do the same. Does this method work? How is the problem mentioned in Step 5 of the final post to be resolved? -
Using HTML,how to change the color of column data in an interactive report?
Hi,
I want to change the color of data of a column in an interactive report.
I want to do it by HTML.
I have tried the code
<style type="text/css">
#apexir_EMP_MANID{color:blue;}
</style>
But it changes the color of the heading of column only. Not the data.
Plz can anyone suggest me something ?
Thanks in advanceHi Vaibss!
Is it that what you're looking for?
Color Coding (Post number 5)
regards -
How to change the value of project data in the BPM instance?
Hi Everybody,
I have a situation that after the bpm instance was created. We found that one of the project data/variable contains the incorrection information. Is it a way we can change the value of that project data/variable? I checked the BPM workspace, as administrator, there are not function for it and we can't stop/withdraw the instance. Can we change the MDS database for it? Please advise. It is so important for us that will stop us to move on of our project.
ThanksAs per my knowledge we can not change the value of BPM project variables from outside BPM. If you look at PAPI API also you will find methods to get values from BPM but not to set to BPM.
If this is daily issue for your application then change your design to add a Edit Data Activity (Screen) and then use Grab functionality to get the control to this Edit Data Activity to change the required data.
Else if it is an issue with the only one instance then it is better to Abort this instance and re-create the instance with correct data. Changing value in the MDS database is not encouraged.
Hope this helps. -
How to change the settings for Last data update in BI
Dear All,
If you want to display that "Status of Data " field in the report... Then you need to set it at...
Run the query -> from the BEx toolbar choose LAYOUT -> Display text elements -> General.
If this is not set, then it will not show in report output.
Status of data is the time on which the latest load occured to the cube. Lets say, you have built a report on a cube which is loaded on 01/10/2007. When you run the report, the status of data will show this date 01/10/2007 until you load the cube again. In this case, if you load on 01/20/2007, the status would now show up as 01/20/2007.
If we want to display that field in the report...
Run the query -> from the BEx toolbar choose LAYOUT -> Display text elements -> General.
The above all is for BW 3.5
but i want to know for BI 7 and EP
Regards
venuHi,
First thing here is, in SM58 u r finding the entries means those are related to TRFC LUW's. we shuld never stop this unless those are not useful.
These TRFC's moves from the source system to different Target systems by their respective users.
As u said that these Entries are occupying the system resources i.e in accordance to that we have to increase our dialog process in the system not to simply stop that TRFC entries.
These trfc's move basing on the Dialog processes in the system i.e if the processes are free then these entries move freely from system to system.
Automatically system generates these LUW's when ur scheduling a load from R/3 to BI system.
This will not be generated to BI by a particular job in R/3.This depends on the volume of the data only.
So pls have a talk with BASIS team regarding the resource availability and the movement of the LUW's/TRFC's into BI system.
rgds,
Edited by: Krishna Rao on Jun 25, 2009 1:38 PM -
How to Change the default Search value for Field Role?
HI,
I went through numerous threads on how to default the search value , but does not help for my issue. Hence im posting this new thread. Please provide your suggestions on how to achieve this.
For the Ship-to party field (in item detail ) on webui when i do a F4 help i get the pop up with various search criteria and for the field Role the default value is "Ship-to party". which is visible. we need to change this default value to Prospect which is available in drop down.
The attribute is STRUCT.ROLE and view BP_HEAD_SEARCH/SearchHelp . The method GET_DQUERY_VALUEHELPS from the context node class is called to fill the value help for this attribute, but i dont understand how the ship-to party is filled as default. There is no code in this method to default the value.
The generic GET_V_S_STRUCT method also does not default the Ship-to party on this field.
I want to understand how this Ship-to party is filled by default and how can i change this to prospect..
Many Thanks,
ShaikWe had a same requirement of defaulting Sales org and division in search criteria for a specific value.
this can be doen by redefining "DO_PREPARE_OUTPUT" method in IMPL class for the respective view.
See the code:
METHOD do_prepare_output.
*CALL METHOD SUPER->DO_PREPARE_OUTPUT
** EXPORTING
** iv_first_time = ABAP_FALSE
DATA:
lr_qs TYPE REF TO cl_crm_bol_dquery_service.
* Get current query object
lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
IF iv_first_time = abap_true.
lr_qs->clear_selection_param_values( ).
lr_qs->delete_empty_selection_params( ).
* if l_sales_orgs is initial.
CALL METHOD lr_qs->insert_selection_param
EXPORTING
iv_index = '1'
iv_attr_name = 'SALES_ORG'
iv_sign = ' '
iv_option = 'EQ'
iv_low = 'O 50000514'.
* endif.
* if l_dist_chan is initial.
CALL METHOD lr_qs->insert_selection_param
EXPORTING
iv_index = '2'
iv_attr_name = 'DISTR_CHAN'
iv_sign = ' '
iv_option = 'EQ'
iv_low = '01'.
* endif.
Hope this will help..
THanks & Regards,
Amit -
How to change the required attribute of a field
Hi,
I'm using jdeveloper 10g, uix and jHeadstart to generate my application.
In my form, I have some attributes that are required and if I change a checkbox, some of these fields that was required, must now be not required.
How can I do this?
Any ideas?
Thanks!
MartinSounds like a custom validation, but you could also use a partial rendering and EL to achieve this. Lets say you could set the 'required' property of the field based on the EL expression calculating the value in the other field
Maybe you are looking for
-
Drag and Drop (re-order) Thumbnails in Organizer
I am using Photoshop Elements version 5.0.2 I would like to re-order pictures in an order that will make sense for me in my business. I suppose I can go through each pix and change the time on them, so I can then sort by time stamp. Is there an easie
-
Why does iTunes suck so bad?
I use iTunes for Windows and the program is awful. Great if I'm looking to buy music, terrible for actually playing said music. It freezes the first time I open it every time I turn on my computer. I can't change it's audio output to play through the
-
anyone knows how to connect this PC through a HD tv via HDMI? and oh, Thinkcentre e73 haven't had any HDMI port. thanks
-
Not receiving COMPLETE event in URLLoader
Hi: I'm querying a web application in a remote server through XML files and receiving answers in the same file format. Until now, sometimes I received a connection error: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://se
-
Master data extractor - Customer Number
Master data extractor for Customer number is in LO as is to be. But now I need that for finance as well - so is it usually in the Finance Process Chains or LO process chains? There are no LO chains ready yet....so how does it work usually?