Routine to control the format of date

Hi experts,
When loading the ODS from a datasource in Oracle database, some date data contain format which are not allowed. Actually; these date data are not very important for me but the error formats failed the activation of the request in the ODS.
So I have two questions:
1, I would like to implement a routine in the transfer rules level on these date infoobject. This routine will control the format of the date, if they are not "YYYYMMDD", the routine will set empty for this zone. As I am not good at ABAP, is there any informatioin about this ABAP code?
2, Is there any configuration which allow the activation of the requets in the ODS no matter the date format is correct or not?
Thanks very much in advance.

in that case a conversion exit won't work, you'll have to code it... how you are going to code that, is quite up to yourself...
how are you going to decide whether 13/12/2008 is December 13th 2008 or invalid (in case you're using American dates - 'cause then it would have to be 12/13/2008)? I strongly suggest sending "correct" data towards BI and not trying to solve all the "legacy system" mistakes in BI.
(conversion exits could be assigned in the general tab of the InfoObject maintenance)

Similar Messages

  • When I call nifGetObjectDictionary on a Domain Index, what is the format of data returned

    hello,
    When I call nifGetObjectDictionary on an Active Schedule Domain Index (450) of NI Card, retrieved from S-OD -> DLL Link Schedule OD Index, what is the format of data returned? I received 0801C202FFFF000000 as data and it is not matching with FF-Spec (Field Device Access Agent, page 95).
    Could you please let me know the format/structure of the data i received, so that i can parse them and understand?
    Also let me know is there any API available in NI API to upload/read Schedule Domain?
    Thanks
    Shankar.

    Sorry for replying late!
    We don't have the nifGetObjectDictionary function, so may I make a guess that you mean nifGetObjectDescription? If I'm right, there will be some trouble.
    To be honest, basically we don't support the APIs which are not included in the "NI-FBUS CM Function Reference Manual". In further, would you please let me know how you find this kind of internal functions? We cannot support it until we verify the customer has bought the complete version of APIs package and this package is still in the support period. If it matches your case, would you please help me in the verification? And then we can support the details for your question later.
    On the other hand, we don't have the APIS to upload/read Schedule Domain now.

  • Controlling the TIME or DATES with GP in a workflow

    Hi,
    It is possible to control the time or dates with GP in a workflow? If is able, with which CO this opcion is implemented, and that way? 
    Many thanks
    Regads
    David

    Hi Mahesh,
    Thanks for the answer, but I have a doubt on "due date" functionality, and is ¿that CO I can utilize in the notificacion?
    Thanks.
    Regards
    David

  • How to control the default Reverse Date at VL09

    Hello,
    At VL09 (reverse goods movement) screen, the default Reverse Date is today.
    If users want to modify the Reverse Date,
    users have to select a line, click on define date button and input date into the local date field at pop-up screen.
    I want the default Reverse Date at VL09 screen to be the same as the Actual GI date of delivery.
    Please tell me how.
    Thank you.

    1. There is no standard BADI and userexit which can fulfill your requirement.
    2. You can try to do the modification in RVV50L09.
    Before
    "CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'"
    You can add  "Move XLIKPUKWA-wadat_ist to  XLIKPUKWA-STDAT. "

  • Problem with the format of dates in a select

    I'm doing a select like this
    spool /home/oracle/install_'&&1'.txt
    select * from &1;
    spool off
    it's receiving as a parameter de name of the table, that I get from a text file with another shell script
    The problem is that I'm getting all the output in just one column, Here is part of the output
    PORTTYPE
    MACLIMITDEFAULT
    FastEthernet
    10
    GigabitEthernet
    200
    TenGigabitEthernet
    200
    As you see it has two fiedls for each row, but instead of getting it in two diferent columns, I get it just in one.
    I'll like to know if there is any option to specify another format to the select to get the data in columns.
    Thanks in advanced for your help
    Javi

    I particularly like how your problem is totally unrelated to the heading of your post...

  • How to change the format of date that i am displaying in a table

    Hi everyone,
    I have a table in my jsp page that display records from a table and want to format a field that is the date to "dd-MMM-yyyy"...
    How can i do that please help me.
    I am using EJB 3.0
    Regards
    Lutchumaya
    Message was edited by:
    Lutchumaya

    Hi Lutchumaya,
    If it's only for display in a table, you can use <f:convertDateTime>.
    For example:
    <af:column sortable="false">
    <af:outputText value="#{row.DateEnd}">
    <f:convertDateTime pattern="#{SystemState.dateFormat}"/>
    </af:outputText>
    </af:column>
    And the dateFormat is being set in a backingbean.
    public String setDateFormat() {
    return "dd-MMM-yyyy";
    I hope this helps.
    Luc Bors

  • How to control the format(e.g.align-right) in popup of LOV with Jdev 11g

    Hi all,
    I want to make the column which is found in the popup dialog of LOV to aling right.
    But I found nothing could be done with it.
    Is there anyone can help me?
    Alex

    Hi,
    there is no option on the LOV for this. So I guess trying skinning is an option to go for.
    Frank

  • How do I fix the format of plot lines for an arbitrary number of sets of data plotted on the same x-y graph?

    I have written a VI to control an LCR meter and perform sweep functions. I have two x-y graphs on my front panel (one for each of 2 measured parameters). The VI is designed with a button to take a measurement, plot the data, and then wait for another event (like write data, clear plot, or measure again). The user can take simultaneous measurements and these are plotted on top of the data already there in the same x-y graphs (using an array of clusters with shift registers). There is no limit on how many sets of data can be on the x-y graph. 
    Now, my issue is in formatting the plot lines (color, thickness, marker type). I can fix the first plot line by adjusting the parameters of the x-y graph. However, I also want to control the format of all consecutive plot lines. How can I do this for an arbitrary number of lines? The main thing I want to do is to have all of them show the square marker type (the default is no marker type, just a line). 
    Thanks!

    Hi maximum23,
    You can use properties of plot to format the plot lines. You just have to select Active plot using property and then select color and line width etc..
    You can define color and width etc parameter by asking user or you can just make them default.
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • Format of date and numbers

    Hi,
    in Italy the format of date is DD/MM/YYYY e the formato of numbers is NNN,DD (DD means Decimal).
    I use Excel for IPAD but when I write for instance 28/03/2015 the field shows 03/28/2015, the same problem is for numbers where the comma and the dot are inverted.
    How do I change the format of date and numbers?
    Thank you in advance.
    Max

    The general format of the date is tied to the language...use US english, get US date formatting.
    You may want to poke around in excel's settings. I know the desktop version allows you to alter the date formatting, but I'm not sure if the iPad app has that. Look for 'cell formatting' in the settings and see if it's alterable.
    If not, you can try to make your template on a PC, then put that excel onto your iPad and see if it honors the cell formatting already in place.

  • Formatting a date that is inserted into a text object

    The on-line documentation for inserting a date into a form letter instructs a user to insert a Print Date into a text object.  To format the date, the user is instructed to double-click on the date object and then right click and select Format {Print Date} from the menu.
    This works when using Crystal Reports 2008 without any service packs.
    However, after installing SP1, this feature no longer works.  The Format {Print Date} is grayed out and not available for selection.
    I am using VISTA Enterprise.
    Are there any reasonable reasons why this functionality was removed with SP1.

    You have a brilliant work around.  Thanks!
    However, it is still a work around.
    I hope someone within the Crystal Reports organization sees this post and either provides an explaination as to why SP1 does not allow you to directly edit a field or that someone realizes that this is a bug and starts the process of providing a fix.
    By the way, I duplicated the problem on both VISTA and XP machines.

  • Pulling my hair out: Change format from date to number format?

    I was recently sent a formatted Excel spreadsheet in which to enter my own numbers.  The format is date and duration, but the last column is the total number of hours and minutes converted into decimals, e.g. 3hrs. 30mins. = 3.5 hours.
    It was going fine until last night when I tried to enter 5:73 as a number, not a duration, but Numbers keeps changing it to 6m 13s.  I've tried changing the format from Duration to Number but although the cell will say 0:00, when I enter the number 5:73 it automatically switches back.
    The weird thing is that it's only happening on about one-third of the cells.  I even cut-and-pasted a section of the spreadsheet that didn't have this problem, cleared the contents and then typed my info into the same lines and rows and it's still doing the same thing.
    How can I see the hidden formatting in Numbers cells to see if I can figure what needs to be changed?
    Thank you.

    Hi Jane,
    dragging on bottom right corner but all that does is increase the range, not the size of the actual cell itself.
    Hover the cursor over the right of a column (Column B in this example) until the cursor becomes a cross with arrows pointing East and West. Drag right to widen the column.
    Or use the Format Panel > Table > Row & Column Size
    (You may have to drag the panel up to see this)
    I really miss in Numbers is being able to edit cell contents in a formula bar.
    Here is the formula bar in Numbers 3.2 after clicking twice on a cell
    The formula bar is moveable. Hover over the left of the bar until the cursor changes to a 'hand' and you can drag it.
    Resize the formula bar by hovering over any edge and drag
    Tricky with a trackpad, easier with a mouse .
    Also, the cell contents appear at bottom left of the Numbers window
    If you prefer Numbers 2.3, I agree it is much more user-friendly version.
    Regards,
    Ian.

  • Is it possible to control the number of elements read from queue

    The data write into the queue follows the format of
    (Data Length) + Data Block + (Data Length) + Data Block + (Data Length) + Data Block
    When I read the data, need to read the Data Length first, then can read one Data Block.
    Is there any function  in queue to do it?
    Thanks
    Solved!
    Go to Solution.

    Hi turbot,
    "Is there any function  in queue to do it?"
    No, but there is the FOR loop to fetch datalength elements from the queue.
    Or use the "flush queue" command the empty the queue - but you have to parse the element array afterwards...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Goods receipt date should be greater than the P.O. date

    Hi
    Is there any option to control the Goods receipt date should not be lesser than the P.O.Date??
    Eg: P.O. is raised in 10.1.9, User should not do the GRN before 10.1.9. In which way we can control  this???
    Regards
    Ravi

    Dear,
    You have to include User exit in MIGOwhich will trhrow an error at the time when Goods receipt date is greater than the P.O. date.
    Regards
    Utsav

  • SAP FC sending task to SAP DM : format of data sent

    Dear SAP specialists,
    I'd like to open a discussion regarding several issues I face when sending the data from SAP FC to SAP DM using the RunReportBundle task.
    Actually, the exact issue is with the format of data sent, as everything is appearing to come in text format.
    To be even more specific, when sending the data in date format (DD/MM/YYYY), the value is not recognized as date, but as text. The same applies when a boolean TRUE/FALSE values are sent, but SAP DM is not able to read them as such.
    When playing with Excel formula with converting formats it works only when a datacache receiving chapter is open. I suppose, this triggers the automatic evaluation of excel formulas.
    Has anyone already faced these issues
    Thank you very much!
    Nicolas

    We were able to transfer the messages upto 70 MB using the webservice. The performance improved with the change in the hardward configuration. Our production system supports the message transfer of upto 95 MB. But to be on safer side, to avoid potentional issues in production we have restricted to 70 MB file size.

  • Format "shot date (yyy mm dd) + custom name"

    While creating subfolders with de advanced photo downloader from my camera i want to use the format "shot date (yyy mm dd) + custom name". This format seems not available in the Dutch version of the program. The format should be available as it seems in the "Adobe Photoshop Elements 11 - Classroom in a book".
    How to organize my format?
    Fons

    If you have a string like 2008-12-15 and you want to interpret it as a date and format it as 12/15/2008, then you need two DateFormat objects.
    One to parse the String in the first format into a Date, -------> i could do this
    try {
              String begin_date = "2008-12-15";
              System.out.println("The begin date is :"+begin_date);
              DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
              Date d1 =  df.parse(begin_date);
              System.out.println("the Date value is d1 :"+d1);
    catch() {
    }Output is :The begin date is :2008-12-15
    the Date value is d1 :Mon Dec 15 00:00:00 EST 2008
    Pls help me with the second part :- ?????/
    and one to format that Date into a String in the second format. MM/dd/yyyy --- how to do this ..after i tried several times with different statements , i am asking this piece of code to achieve this

Maybe you are looking for

  • Sharepoint 2013 + Windows Server 2012 as reverse proxy

    Hello All - I'd like to ask if anyone has any experience with the new Windows Server 2012 (reverse) proxy, in providing a single sign-on service to Sharepoint 2013. Scenario: My client has a Sharepoint 2013 with 3 web applications (portal, teamsites,

  • Browse animation effects causing Bridge to freeze

    Every time I select browse effects from the animation menu, Adobe Bridge launches (as expected). When I navigate to the "Text/Blurs" folder and open it, Bridge freezes. I know I can add an effect to my text without resorting to Bridge, but I'm follow

  • Using two external USB drives in RAID 1?

    Is this acceptable? I initially set it up, copied files over only to see one slice degraded. Now I've been trying to rebuild the RAID but it's taking 40 +hours. Seems it would be easier/less time consuming to delete, recreate the RAID and recopy the

  • Headerless Portal window - Same window

    Hi ALL, I want to open a headerless portal window on clicking on a hyperlink in the application . But I want this to opened in the same window.  I do NOT want this window to be opened in a new window. Please let me know your thoughts. Thanks in Advan

  • Corrupted file with new Pages

    I have used Pages for about 3 years and found it to be a good editor for documents.  I have recently upgraded to Mavericks which brings a new version of Pages.   I have the latest level of pages and OS installed.  When I opened a pages document, it a