Trying to do date field greater than a specified date in condition editor
Hi All,
I am trying to build the XML predicate in the expression editor to check that the posting date sent is greater than a specified date to determine the reciever. I can get it to validate posting date is = to specified date, but when I change the = to > it fails to properly determine the receiver, when I send a valid document.
Below is the expression build
(/p1:ServiceAcknowledgementConfirmation/ServiceAcknowledgement[CreationDateTime>'2007-02-03'] EX )
has anyone done this type of check. I have it set as a date type for the expression.
Regards,
Chris
Hey all,
I tried >= 2007-02-04 and sent in that exact date. It failed. I removed > so that it is just = 2007-02-04 and it was successful. So, is >= an allowable operator?
Thanks,
Chris
Similar Messages
-
Maintaine error message if posting date is greater than Sch del date in PO
I have maintained a delivery schedule in a PO for a material
Say PO qty 100
Del Schedule
10.04.09 - 60
20.04.09 - 40
While GRN, for 60 qty, if posting date is greater than 10.04.09, system needs to throw error.
I want to do it for selected materials only.
Is there a way to do this.
Regards,
RakeshThanx for reply
If I use OMCQ message , it will be applicable for all GRNs and I want for a particular set of materials.
Can one please suggest User exits / BADi for the same. I have checkd BADIs but those are based upon MSEG and EKBE table.. and i dont have any material doc no before posting the document.
requiement is to check the delivery sch date and posting date befor posting the document is posted.
Any suggestions welcomed.
Reagrds,
rakesh -
GR posting date always greater than PO document date.
Dear SAP Gurus,
Am working on below requirement in a support project..
Need to ensure GR posting date always greater than in PO creation date. Only current month is open for GR posting and at present as a standard system allows to post GR any date in the current open period.
Is there any way, we can control the same via messages without implementing any exits or badis.
Appreciate immediate response.
Regards,
GMthere is no std sap for this
you can use user exit to ful fill ur requirement
in that u can write a code where is u can check all PO dated in GR must be eq to or less than GR posting and document date
hope this helps -
Date Field Greater than today?
Ok, i've been trying to figure out how to compare a date to today. Basically i have a field which is a Valid To field. I want to know if this is still valid by comparing it to todays date.
The idea is fairly simple. However, it seems that comparing dates is beyond the normal query capabilities for some reason?
So i did some digging around, looking at what other people have tried.
I ended up creating a customer exit variable with the following code:
WHEN 'ZVAR_WHATEVERJUSTWORK'.
CLEAR l_s_range.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'GE'.
L_S_RANGE-LOW = SY-DATUM.
append L_S_RANGE to E_T_RANGE.
When i set up the variable in Bex Query Designer, i call it ZVAR_WHATEVERJUSTWORK (technical).
I set it to be a customer exit, however in the Details tab, i'm not sure what the variable represents. i've tried single value (query short dumps) and i've tried Interval (query short dumps). When i'm testing it, i'm restricting a DAT object to my variable.
Quite frankly, i'm amazed something so simple is as complex to set up? I honestly believe i'm making some mistake somewhere and theres really an easy way to go.
So i'm asking the powers that exist in the SDN forums.
Any ideas? what am i doing wrong? Please help
If i've not provided enough info, please ask.Bryan,
you can do it this way....
In your query you can have
Valid To Date|Formula Variable 1 | Formula Variable 2 | Formula 3
Formula Variable 1 - replacement path Valid To Date - dimension should be Time
Formula Variable 2 - Customer Exit - Sy Datum
write the exit as
WHEN 'ZVAR_WHATEVERJUSTWORK'.
CLEAR l_s_range.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
L_S_RANGE-LOW = SY-DATUM.
append L_S_RANGE to E_T_RANGE.
Formula 3 - difference between 1 and 2
here in the query you can put a condition on Formula 3 to get the desired result.
Arun -
Trying To Insert XML String Greater Than 4000 Characters in PHP Fails
Dear Sir,
Subject:-Trying To Insert XML String Greater Than 4000 Characters in PHP Fails ORA-01704.
In an attempt to design web app in PHP and inserting data into "CLOB" field of "articles" table associated with it, returning ORA-01704: string literal too long error.
Platform: OEL5
Database 11g(11.0.7.0)
php : 5.2
I refer to oracle document ID: [ID 336888.1] it is asking to contact support.
Please help us in this regards.
Many Thanks,
mkyazdaniHi,
I appreciate you, yes it is similar i have referred that manual and also inform to our php developer about the changes we need to make in our php script.
Regards,
mkyazdani -
Count statement for fields greater than 10 characters
Hi,
I am trying to write a query to select results from a database table where the results are only fields greater than 10 characters in length.
e.g.
Table
Employee----
Andrew
Jennifer Smith
Jamal
the query would only show the result Jennifer Smith because this field exceeds 10 characters in length.
Any help is appreciated....Have you tried coding anything yet for this homework assignment?
HINT: Use the LENGTH() function. -
Date is greater than current time plus 24 hours
Hi,
may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
I want to do something like this
select * from table_A where date_field > (sys_date_time) +24h
as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
Thanks>
may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
>
No - a DATE column does NOT have a value in a format like that. The value is stored in an internal binary format. The format you posted might be your NLS_DATE_FORMAT or just a format you provided to display that date value.
>
I want to do something like this
select * from table_A where date_field > (sys_date_time) +24h
as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
>
As others have said to add 24 hours to whatever value SYSDATE has at the time the query is executed just use 'SYSDATE + 1'.
But there are at least two caveats:
1. You can't really run a query '@4 PM'. You don't have ANY control over exactly WHEN the query will begin execution. The only way to control the date used is if you provide it yourself as part of the query.
2. Your 'date_field > SYSDATE + 1' query will NOT see inserted/updated data that has not been committed. So a similar query later may return a different result set even if it appears to cover the same time period. In other words you can't reliably use a DATE column like that to pull sequential sets/batchs of data unless there is no DML occuring on the data that might affect the results. -
Doc Date is Greater than Posting Date in Migo
Hi ,
Document Date shouldn't be greater than Posting date in MIGO .How can I restrict it ??
BiswajitHi
We can restrict through Define Attributes of system messages
Settings for SYSTEM MESSAGES - Doc Date is Greater than Posting Date in Migo in that in that Message Type we can make the Warning Message to Error Message
regards,
senthil. -
Exit or BAdi for Validating GR posting date Greater than PO creation date.
Hi all ,
Is there any Exit or BAdi for restricting users to post GR date greater than PO creation date.
Regards
Gibi PhilipGibi,
check this:
MB_CIN_LMBMBU04 posting of gr
Amit. -
From Date is greater than End Date of a BBP document.
Hi,
There is a BBP document created in the system which has From Date (BBP Start Date) greater than End BBP Date.
Have any one come across this type of issue.
Can any one tell what can be the reasons for this to happen?
Also in this case there are no entries for the items in this BBP document in database table DFKKMOP.
Thanks in advance,
HrushikeshHi Hrushikesh,
Could you please check the details at billing document level if any of them is having the bad data.
Also, please check the data passed and the importing data for the below FM's in debug mode.
1. START_TIME_DETERMINE
2. END_TIME_DETERMINE
I am not sure, but have heard about the similar issue in one of the project, but it was related with invoicing not specific to BBP.
Let me know the data received for the above FM's, also, will check if I can get any specific details for the same.
Regards,
Rajesh Popat -
Date field not working like a date field
We have quite a few date objects in the Universe but only some seem to function as a date field whereas some do not.
The easiest way to tell whether a date field is functioning as a date field seems to be to add the date fields as a filter in a query. If it is a proper date field a Calendar option appears. If it is not, no Calendar option appears.
In the screenshot below, the Latest Approved Date functions like a proper date object and shows a calendar option. The other field does not even though it is a date field too.
I'm checking with this forum as the Universe designer didn't have any answer for this.HI Vivek,
Go to Universe Designer
click on object (Latest Approved Date)
click on definition
go to TYPE scroll down and select type as DATE
and export now check the filter it will work
try once
Regards,
Ranjeet -
How to make Birth date field (GBDAT) under IT0002 Personal data editable
Hello Consultants,
We had initially Birth date field (GBDAT) under IT0002 Personal data editable ...But after upgrade is made non editable...
We want to make it editable again..
Kindly suggest how we can proceed abt this....Hi Anju,
1. Go to PA30 >> Infotype 0002 >> On Date of Birth Field >> Enter F1 and find the Technical Parameter and idenfity which Screen is being Used... say for Eg: MP000200 / 2010
2. Go to Feature P0002 in PE03 and then identify the Return code for the Molga and Co. Code.
This Return feature is nothing but the Variable Key. Say for Example: 10
3. Now Go to SM30 >> T588M.....
3. Idenfity the Screen that you found in the step 1 and Variable Key you found in Step 2.
i.e. MP000200 / 2010 / 10
5. Double Click on that record and Find the Screen Field P0002-GBDAT... this has been set to Output Field... change it to Standard and it will work.
Hope this helps !!!
Kumarpal Jain. -
Restrict date field in vf01 to system date .
hi gurus,
my requirement is to restrict date field in vf01 to system date .
i have changed the 011 routine in vtfa .
do I need any extra effort
debajyotiHi debajyothi
First of all which date field you want to restrict to systems date can you be more specific debajyothi
But In VOV8 , there is a pricing date field , if you customize it as per your requirement , like if you keep it blank then it will be systems date , or billing date , delivery date etc this can be one input if it is related to pricing
Even as you said in copy controls if you change the sub- routine then it will work
Regards
Srinath -
Production finish date is later than order finish date?
In my company, most of the plan orders in MD04 have an exception message "64 Production finish date is later than order finish date". The plan strategy of the materials are 40. The plan orders are created from Scheduling Agreements or Independent Requirements. We set 'Scheduling' as 2(lead time) in the MD01/MD02. The self-production time in material master data is 0. The schedule margin code is 000 which all the parameters are 0.
For a example, we create a requirement on 2007.04.24. After MRP run, plan order generate. It's basic date will be 2007.04.24, but the production date IS 2007.04.25. All the plan order like that, the production date are always later than the basic date for one day.
Could someone tell me why? and how to settle this problem?
Thank you in advance!Hi,
check scheduling parameters for planned orders and scheduling parameters
for production orders.In that set the various indicators like
adjust basic dates to order start date
do not adjust basic dates to order start dates and try.
Tcode opu3 / opu5
Thanks,
s.nandhakumar -
Warranty Date field in the equipment master data
Hi everyone!
I wanted to display the warranty date field in the equipment master data (IE01). I have already made the configuration and added the additional tab and screen thru this path:
Plant Maintenance and Customer Service > Master Data in Plant Maintenance and Customer Service > Technical Objects > General Data > Set View Profile for Technical Objects
But still, the tab is not added and the warranty date field is not found in the "Define Field Selection for the Equipment Master Record". please help me with this. We need this data because we are not using serial numbering and warranty master data that's why a way to track the warranty date is thru this adjustment in the equipment master data screen.
Thank you very much.Marlon,
Make sure that you have assigned this specific profile to the Equipment category of the associated equipment that you are creating under SPRO > PM> Master data> tech object > Equipment > Equip category.
Regards
Narasimhan
Maybe you are looking for
-
Adobe Creative Cloud has stopped working- can't open or uninstall creative cloud- windows 7
Hi! I am having issues with my Adobe Creative Cloud Desktop App. It wont open. A window pops up saying that Adobe Creative Cloud has stopped working. I've already tried the Adobe Creaive Cloud cleaner, and it doesn't work. What should I do to uni
-
Good morning all, I know Ubuntu 8.04 is not listed as a supported OS for SSGD, but I had had good success under 7.10 (not listed either) and upgraded. Now whenever I run `ttwebtop` is responds with "Aborted" and ends without any other messages. I thi
-
HT204053 i need to know how to separate different devices on the same itunes account
I need to kow how to seperate different devices on the same itunes account
-
Different N95 in Europe and China?
I am Dutch and working in Shanghai for the coming years. I recently bought a N95 in Shanghai to replace my N70 which I bought in Holland. Great, BUT: 1. I cannot get any maps from China downloaded? 2. Latest firmware according to Nokia is 20....., bu
-
I am having issues with my Window 7 on boot camp. My hardware is Macbook Pro Mid 2010 model and working on OS X 10.9.5. Recently I went to windows 7 to do a system upgrade but failed and was told to update the bootcamp drivers. I installed boot camp5