Reagrding Display
I written the following query
select case
when
extract(month from CLM_CREATE_DATE)=4 then
'APR'
else
extract(month from CLM_CREATE_DATE) end from wwowner.CLAIM
But It show me Error Like
[Error] Script lines: 1-7 --------------------------
ORA-00932: inconsistent datatypes: expected CHAR got NUMBER
Please Suggested me My requirement is When the Month Number is 4 then I want to diaplay APR if it is 5 then MAY
Thanks,
Mohan
user12275872 wrote:
I written the following query
select case
when
extract(month from CLM_CREATE_DATE)=4 then
'APR'
else
extract(month from CLM_CREATE_DATE) end from wwowner.CLAIM
Use TO_CHAR to convert number into character in the else part.
Like this
else
to_char(extract(month from CLM_CREATE_DATE)) end
Similar Messages
-
Urgent: reagrding output display preoblem
Hi,
I had made dis report adn when i execute it does not display the all changes made to a purticular material. As i made the report reagrding the changes made to a purticular material in a purticular period. here is d code:-
REPORT ZNEW01 no standard page heading LINE-SIZE 310.
TABLES: CDHDR,CDPOS.
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
OBJECTID LIKE CDHDR-OBJECTID,
USERNAME LIKE CDHDR-USERNAME,
UDATE LIKE CDHDR-UDATE,
UTIME LIKE CDHDR-UTIME,
TCODE LIKE CDHDR-TCODE,
CHANGE_IND LIKE CDHDR-CHANGE_IND,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0,
OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
OBJECTID LIKE CDPOS-OBJECTID,
FNAME LIKE CDPOS-FNAME,
CHNGIND LIKE CDPOS-CHNGIND,
VALUE_OLD LIKE CDPOS-VALUE_OLD,
VALUE_NEW LIKE CDPOS-VALUE_NEW,
END OF ITAB1.
SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE,
U_ID FOR CDHDR-CHANGE_IND.
SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
TABLE ITAB
FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL' AND UDATE IN M_DATE AND CHANGE_IND IN U_ID.
Check not itab[] is initial.
SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
ITAB1 FROM CDPOS
FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
*SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
*ITAB1 FROM CDPOS
*WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
ULINE.
LOOP AT ITAB.
WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID.
WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
ENDLOOP.
ENDLOOP.
PLZZ HELP ME OUT AS HELP WILL BE DEFINATELY REWRDED.
Edited by: ric .s on Jan 31, 2008 9:11 AMhi,
i give u example of that ,if there is material 10000014 and it had been changed by 3 differrent users whic is disaplaying correct but when i click it in MM04 it also displays the correct value dat dese are changed by 3 persons but when i double click that for 1 st user it shows details that these are changes made but when i check my report it is not displaying allthe fields which had been changed.
plzz help me out as it is really urgent.
TABLES: CDHDR,CDPOS.
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
OBJECTID LIKE CDHDR-OBJECTID,
USERNAME LIKE CDHDR-USERNAME,
UDATE LIKE CDHDR-UDATE,
UTIME LIKE CDHDR-UTIME,
TCODE LIKE CDHDR-TCODE,
CHANGENR LIKE CDHDR-CHANGENR,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0,
OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
OBJECTID LIKE CDPOS-OBJECTID,
FNAME LIKE CDPOS-FNAME,
CHNGIND LIKE CDPOS-CHNGIND,
VALUE_OLD LIKE CDPOS-VALUE_OLD,
VALUE_NEW LIKE CDPOS-VALUE_NEW,
CHANGENR LIKE CDPOS-CHANGENR,
END OF ITAB1.
*SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE.
U_ID FOR CDHDR-CHANGE_IND.
SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
TABLE ITAB
FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL'.
AND UDATE IN M_DATE.
AND CHANGE_IND IN U_ID.
Check not itab[] is initial.
SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW CHANGENR INTO TABLE
ITAB1 FROM CDPOS
FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid AND objectclas = ITAB-OBJECTCLAS.
*SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
*ITAB1 FROM CDPOS
*WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
ULINE.
LOOP AT ITAB.
WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID AND CHANGENR = ITAB-CHANGENR.
WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
ENDLOOP.
ENDLOOP.
DATA: BEGIN OF ITAB OCCURS 0,
MATNR LIKE MSTA-MATNR,
LAEDA LIKE MSTA-LAEDA,
AENAM LIKE MSTA-AENAM,
STATM LIKE MSTA-STATM,
WERKS LIKE MSTA-WERKS,
PSTAT LIKE MARA-PSTAT,
END OF ITAB.
SELECT AMATNR ALAEDA AAENAM ASTATM AWERKS BPSTAT INTO TABLE ITAB
FROM MSTA AS A INNER JOIN MARA AS B ON BMATNR = AMATNR.
LOOP AT ITAB.
WRITE: / ITAB-MATNR,ITAB-LAEDA,ITAB-AENAM,ITAB-STATM,ITAB-WERKS.
ENDLOOP.
Edited by: ric .s on Jan 31, 2008 10:59 AM -
SAP Fields not getting displayed on the BDT screen
Hello Gurus,
I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
5. Attach the section to the Subclaim Overview Screen.
6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
Reagrds,
ShivaHi Shiva,
did you create your own Z BDT application? Is it set to be active?
I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
Regards,
Frank
Message was edited by: Frank Vieregge -
Issue with display of view attributes via page personalization
Hi,
We are having the standard search region whose VO we are extending to display additional columns.
For this we did VO Ext, migrated the code to the instance. We added new columns in the ‘Result Region’ via personalization and mapped the corresponding view attribute to it.
The issue is that, in spite of the mapping being correct, it is trying to display the value of previous view attribute from the same view instance.
Example:
Std Query fetches say Employee Name, Employee Id and we have extended the VO to include say DeptNo, DeptName.Now on doing Personalization for displaying the new fields we are getting Employee Id in DeptNo column and DeptNo in DeptName column.
In short, we can say like, the newly added columns are displaying the values of the previous view attribute columns.
Kindy provide your inputs for resolving this issue.
Reagrds,
AshaHi,
i think u need to import jpx also .
Thanks
Raju -
How to display the balance of a g/l account day by day?
Hi All,
I need to display the balance of a g/l account day by day.
Is there a report in SAP for this?
Thanks
GandalfHi,
I think that t-code FAGLL03 should help you
Reagrds
Alberto -
Line Item Display Variant MIRO-column position needs to be changed..
Hi,
What is the possible way of setting the column position in line item display variant in MIRO screen.
I need to change the positions of couple of columns so need to have one layout as per my requirement.
Does this involve only confiuration or it also needs ABAP changes?
Request to suggest in detail if any one has done it already.
Thanks in advance.
Reagrds,
BMHi Charlie,
Thanks for this help.However I have couple of doubts.
When I save the new variant it asks me for package or local object.
Cutrrently I have selected n saved as local object but what is the real time scenarion.Do we need to select any package on this screen.I am not aware of these things in detail so nwant to know the difference between a local object and a package and is it functional consultant's task to do this or developers should do this since they can select the package
Please advise on this.
Thanks in advance.
Regards,
BM -
How to display Image as Error instead of Error Message from Resource Bundle
hi,
I want to display images as error instead of error message from Application Properties in struts1.1
Ex:
I want to prompt a user to type password length min. of 6 char. If failed, need to show simple image as error rather
"Length should be min. 6".
reagrds
parthiban.BalusC wrote:
RahulSharna wrote:
in the respective resource bundle modify the value by something was below
error.password.length=<img src="/images/password-Length.gif" alt="Password Length Issue" align="center"/>
OK, it apparently allows HTML in error messages.Yes struts allows it :) -
How to display the dynamic text in the selection screen
Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st it has to show message like " today date is 31 like some thing " when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
BharaniWhere would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
concatenate 'Today is' date into text.
message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
if date is not initial.
concatenate 'Today is' date into pa_text.
enidf.
at selection-screen output.
"show it as read only
loop at screen.
if screen-name = 'PA_TEXT'.
screen-input = abap_false.
modify screen.
endif.
endloop.
Regards
Marcin -
Display pdf file using webdynpro abap
Hi Friends,
My requirement is to display pdf file in the second page with the input text entered in the fisrt page when clicked on action
button( in the first page) using webdynpro abap.
Can anybody explain the step by step procedure as I am new to this area.
Thanks in advance.
Reagrds,
NagarajuHi,
Check this.,
Creating a PDF file in webdynpro abap.
Web Dynpro ABAP display pdf
hope this helps u.,
Thanks & Regards
Kiran -
Displaying a PDF for a form on web browser in Web Dynpro Abap
Hey
I have a form (a set of input elements) on a view
Now i want that as soon as i press execute , a pdf form is displayed with the values entered on the view.
Thanks
Shivi GoelHi ,
you can refer below links for interactive forms.
[http://www.sdn.sap.com/irj/scn/logon?redirect=https%3a%2f%2fwww.sdn.sap.com%2firj%2fscn%2finteractiveforms-elearning]
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
[http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf]
[http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm]
Reagrds,
Priya -
Display of operations not showing in iw39
Dear All ,
I am facing one problem
when I want to see list of operations for 1000 orders
I go to iw39 list of orders is displayed
Now I select all the orders & go to operation tab they are showing nothing blank
We have two plants say When I put for one plant say X it is showing but when I put for Y plant it isshowing nothing
Reagrds
pratapHi Pratap,
Check if any settings made in OIWL.
If everything is ok in OIWL with no reference to plant, then choose one Order from each plant and get it debugged by an ABAPer, it would help you.
MLN Prasad -
Activities are not gettign displayed
Hello Guru's
When we click on the activity which were created earlier in crm 4.0 ..it should get displayed, but it is not happeing.......can u tell me how to over come that......this issue is in all the systems....(Dev,QA,PDN)
It was working fine before applying the Patches.........
Reagrds
SreeramHello
We have applied the following Support Packs
S/W Com Release Level Support Package
Sap Basis 620 64 -SAPKB62064
SAP_ABA- 620 64 SAPKA62064
BBPCRM- 400 13 SAPKU40013
PI_BASIS 2005_1_620 13 SAPKIPYJ5D
ST_PI- 2005_1_620 8 SAPKITLQG8
CRMIS- 400 8 SAPK-40008INCRMIS
ST-A/PI 01J_CRM400 0000
Ihope this will help u out in getting the soloution
(When ever we search for any activity for ex 320, it will get displayed once we double clik on that we need to get all the details, but in my case it is not happening)
Reagrds
Sreeram -
Display of current date as keyfigure
Hi all,
i have to display system date as keyfigure in my query.so i have created 1 formula variable and edited and added (SAP EXIT ) 0F_ADAY.when i am executing m,y query in BI 7 its giving me error saying that query couldnot b executed.but when i am creating the same query with same variable in BI 3.5 its executing fine.so is there any settings has to b done in BI 7 r is there any way how can i achieve my requirement current date in keyfig
Thanks
vidHi Anand,
I have maintained format as YYYYMMDD and loaded data in PSA iam getting correctly but in cube level iam not getting correctly.
I tried as surendra mentioned but in PSA level only iam not getting data in correct format.
Next I have maped same field to ocalday infoobject and loaded data and checked both at PSA and Cube level data is comming in correct format .
The problem is comming when iam mapping info object char tupe dats to info object keyfigure dats.
Reagrds
Albaik -
Reporting IAC - Internet Explorer cannot display the webpage error
Hello
We are working on ECC 6, EHP 3, MSS Reports using LaunchPad.
When we try to see the report results, it gives us following error at below URL:
http://domain.com:50000/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.sap.pct%2Fline_manager%2Fcom.sap.pct.erp.mss.bp_folder%2Fcom.sap.pct.erp.mss.roles%2Fcom.sap.pct.erp.mss.manager_self_service%2Fcom.sap.pct.mss.hcm.rpt.iac&ApplicationParameter=S%3DMSS0%26F%3D*HISRETQTA++5%26B%3D20100329%26E%3D20100329%26V%5B1%5D%3DMSS_RPT_SEL_PD1%26OV%3DMSS_RPT_SEL_PD%26R%3D4365AF4B40472508E10000000A000326&CurrentWindowId=WID1269788098656&NavMode=1
Internet Explorer cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
- I am connected to Net very well.
- Not sure abt website problems
- address shown in the address bar is mentioned above
Any idea what is wrong? We were earlier getting IAC exception, and added the permissions to overcome it.
Reagrds
YashHI Yash,
Please follow this link http://help.sap.com/saphelp_erp2004/helpdata/en/0c/c28c4024d26e1de10000000a1550b0/frameset.htm.
It will solve your problem. Also make sure that you will give READ access to the end user on this folder.
In case you are still facing with issue, do let us know.
Cheers,
AB -
How to display data in ODS?
Hi Friends,
I have a very basic question that how to see the data in ODS. Like in case of infocube we have a transaction code called "LISTCUBE" to see the data in infocube. is there any similar Tcode for ODS too?
Thanks,
manmitShri,
ODS contains 3 tables which table data you want to see...
acive table data:
1.SE11
2. LISTCUBE
3. ODS> Manage scren> Contents--> Display Active table data push button
change log & New table:
1. SE11
2. ODS> Manage scren> Contents--> Display New table data/ Changelog table data push button
all the best.
Reagrds,
Nagesh Ganisetti.
Maybe you are looking for
-
Voice memos on phone will not transfer to iTunes.
A little help. I recently updated my iPhone 4 to the iOS6 software and my iTunes to 10.7. Since I did this I can not sync my voice memos on my phone over to iTunes. I have a Macbook Pro. "include voice memos" is checked. Desired voice memos to be tr
-
My iTunes library is on an old PC that no longer works. I purchased a new iPod Touch. How can I get the contents of my library to the new iPod?
-
Does Lion support Pages '06?
I get a string of error code when trying to open Word docs in Pages.
-
Configuring database connection (metadata repository) from jsp
anybody could help me to configuring database connection from portal schema from jsp page. i dont have idea. Thanks.
-
SALV Object Model - Info needed
Hi All, I want to create a screen as per below mentioned using SALV Object Model I am looking some tutorial how to do this use SALV. Your help will be appreciated Node |No:______ Date: ________ a |Desc: _______________________