Issue in Standard Function DateTrans

Hi,
I have a requirement to convert the date format from dd-MMM-yyyy to MMddyyyy.
I am using standard Function "DateTrans" for this conversion.I am getting the error  Unparseable date: "01-DEC-2011"
I am working on PI7.1EHP1.
Source Dateformat: 01-DEC-2011(dd-MMM-yyyy)
Target Dateformat:  12012011(MMddyyyy)
Can anyone help me on this?
Regards,
Sharanya

Well Saranya... Your date trans format is perfect..
But in PI 12 month is not dec  try dic .. It will work..
If you are specific about DEC then you should write an UDF..
Or use stnd fns by splitting the input date you are getting like
split date by using substrings and for months write fixvalues 0-12 and then concate the results and use std date trans fn this can also do for you...

Similar Messages

  • Standard function support for bond issueing?

    Dear all,
    Within Treasury and Risk Management, are there some standard functions to handle bond issueing?
    The requirement is mainly to record information of bond details, interest payment and repayment, and currently we don't take postings to GL and payments into consideration.
    Thanks and cheers,
    leechey

    Hi,
    Bond Issue is available as a standard in TRM.  You need to create a separate security account which is a liabilities account for issuing bonds.  Bond issues are also managed in similar way to other bonds through a security master.
    Please check the following for more info on bond issue:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/48/c1f409568f04e7e10000000a42189c/frameset.htm
    Regards,
    Ravi

  • Implicit enhancement to a standard function module.

    Hi everybody.
    I used an Implicit Enhancement to a Standard function module Customized_Message, at the starting of function module.
    Code:
    ENHANCEMENT 1  ZFK01_ENHANCEMENT4.    "active version
    If sy-tcode = 'FK01' and sy-CPROG = 'SAPMF02K' AND I_MSGNR = '230' AND i_arbgb = 'F2' AND I_DTYPE = 'I'.
      EXIT.
    ENDIF.
    ENDENHANCEMENT.
    The above is working fine, to the condition what i had given above code.
    But my question is, can i use a implicit enchancement to a Standard function module(Customized_message).

    Yes, but you should also be aware that 'F2' is a configurable message class in the IMG.  You should attempt to solve your issue in that manner first.

  • Problem in copying a standard function module!

    Hello there,
                     I need to copy the FM, RS_TABLE_LIST_DISPLAY, to a Y function Module. But I am not able to copy it as a single FM, I have copy all the FMs in that function group i.e. SETB.
                     I, then copied that standard function group SETB. I am getting a strange error message while activating the copied version. The error which I am getting is:
    The parameter "INTTAB" of the global interface has already been defined outside the function.
    INITTAB is some defined internal table.
    Also the include in which this error is getting appeared is LY.....$07 something. I have tried to many times. Not able to resolve the issue.
    Please help!
    Regards,
    Ganesh Khumse

    Hi There,
                  Thanks for your reply. I have not defined anything in the copied function module. I just copied and tried to activate it, error occurred.
    Thanks & Regards,
    Ganesh Khumse

  • Projects, is the Standard Functionality the one with COGS created?

    Korean Air manufactures AIRCRAFT components and delivers them to customers such as Boeing. It wants to implement ERP (R12) applying Oracle Projects Solution.
    Issue
    1. When Shipping Type Deliverable is created in Project Module and it is interface to Shipping Execution for Ship Confirm, COGS(Cost of Goods Sold ) for Shipping Item is created and it overlaps with cost of sales per Project/Task.
    Question
    *1. **When Shipping was done using deliverable of Shipping Type in Project Module, is the Standard Functionality the one with COGS created?*
    A. If the number 1 case is Standard Functionality, is there any option to prevent COGS creation?
    B. If the answer is no, by what kind of setup is it possible?
    C. Does Shipping of Project Module based on “non-asset based warehouse”?
    *2. What is the Integration mapping of Project Management, Shipping Execution, Inventory, AR, COGS etc?*
    The following are basic process.
    1. Quotation-> Contract -> Plan -> Production -> Delivery -> Revenue
    A. Using Deliverable in Projects
    2. Project: Agreement
    3. Task: Unit
    4. Purchasing Plan, Production Plan etc. executed based on Project/Task
    5. Cost calculation is calculated in Project/Task unit
    6. When Task (Tail Number) is completed, deliver to Boeing according to contract
    B. Interface through Shipping Execution
    C. Ship Confirm
    7. Based on cost revenue is recognized according to progression rate.
    A. Cost Collect
    B. Generate Draft Revenue
    8. Based on delivery or contract, account receivable is created and send to customer.
    A. Create Event per Task
    B. Generate Draft Revenue
    C. Interface Draft Revenue to Receivables.

    Hello Daniel,
    The PCI serial cards are not supported with LabVIEW RT for ETS targets and are not expected to work. We are looking into finding a way to add support for PCI serial devices in RT, but currently that support does not exist.
    One possible workaround would be to use a NI ENET-485-X device. The visa resource name will not be COMx in this case. Instead, you will need to enter the long name of ASRL::::::INSTR as documented in the NI-VISA help.
    I hope this helps. If you need to speak with your sales representative to resolve this issue, please follow this link. Have a great day.
    Regards,
    Kristi H
    National InstrumentsMessage Edited by Support on 01-18-2005 08:24 AM

  • Some issue with the Function Module u0093'SKWF_FIND_BY_QUERY' in a BW ECC6.0

    Hi All,
    Need some urgent help..
    Iam facing some issue with the Function Module “'SKWF_FIND_BY_QUERY' in a BW ECC6.0 system.
    As shown below, in the function module, the Table “IT_PROPERTIES_RESULT” gets populated with some values based on inputs like IT_CLASSES, IT_QUERY, and ‘L’.
    This updation of “IT_PROPERTIES_RESULT” table is happening for some of the services sent through IT_QUERY and is not getting populated for some.
      call function 'SKWF_FIND_BY_QUERY
    exporting
      CONNECTION_SPACE         =
        OBJ_TYPE                 = 'L'
      PTYPE                    =
      X_STRICT                 =
    IMPORTING
      ERROR                    =
         tables
         CLASSES                  = IT_CLASSES
         QUERIES                  = IT_QUERY
         RESULT_OBJECTS           = IT_LOIO
      PROPERTIES_REQUEST       = PROPERTIES_RESULT        = IT_PROPERTIES_RESULT.
    The values are as follows:-
    Values getting populated in IT_CLASSES – BW_LO_TRAN               Values getting populated in IT_QUERY – 1) BW_QUERY, 2) /BIC/ZSERVICE
    I would like to know whether any Standard Customizing BW transaction is present that is maintaining “IT_PROPERTIES_RESULT” table properties  and fetching through this Function Module.
    Also, suggest how this issue can be resolved
    Thanks & Regards,
    Shailesh nagar

    Thanks Suhas. That definitely helped.
    Also the following links helped.
    http://help.sap.com/saphelp_nw70/helpdata/EN/86/1c8c3e94243446e10000000a114084/frameset.htm
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Cheers,
    Preethi

  • Several Standard functions are not working properly in CRM Web

    We are working on different ABAP developments embedded on a Web environment, and we are facing some issues with different standard functions. This functions such as GUI_DOWNLOAD, GUI_UPLOAD, MS_EXCEL_OLE_STANDARD_DAT, POPUP_TO_CONFIRM which are used in the ABAP developments work fine on the GUI environment while in the WEB environment they do not work.
    This functions allow us to perform files uploads and downloads in .txt format as well as in .xls format.
    Some of the suggested solutions were to solve this by using BSP application or Web Dynpros.
    Does this WEB tool contain any update, SAP note or any function which may replace the 4 functions mentioned above is order to solve this issue?
    Thanks in advance
    Best Regards,
    Alexis Chavero.

    There are no standard functions in Web UI  that replicate what these functions do in GUI. This was discussed before [here|Read file from presentation server (like GUI_UPLOAD);. As far as I know, we have to code ourselves. One way to try is published [here|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI-UploadingdatafromExcelfiles].

  • Handling date to ADD or Substract fixed # of days using standard function

    Hi ,
    Using the standard functions in XI, is it possible to add or subtract a fixed number of days from the date i get from the input file.
    Like, from file I get the date as 25/06/2009.My output should be 05/07/2009 after adding 10 days .
    can some one guide how to handle this.
    Thanks,
    Ven..

    Hi Ven,
    Here is a  UDF code,which takes date(format:yyyyMMdd) as input and does addition or subtraction operations based on <field 1> value,return the result date(format:yyyyMMdd) as string value.
    public String GenerateDate(String date_input, String field1,Container container){
    //Here "date_input" and "field1" are inputs for this UDF
    int date = Integer.parseInt(date_input);
    Calendar cal;
    int day = date % 100;
    int month = (date/100) % 100 - 1;
    int year = date / 10000;
    cal = Calendar.getInstance();
    cal.set(year, month, day);
    /implement addition or subtraction logic here as your needs/
    if (field1 == "A")
    cal.add(Calendar.DATE, 10);
    else if(field == "B")
    cal.add(Calendar.DATE, -5);
    day = cal.get(Calendar.DATE);
    month = cal.get(Calendar.MONTH)+ 1;
    year = cal.get(Calendar.YEAR);
    date = year * 10000 + month * 100 + day;
    return (""+date);
    You can use Standard Funtion DateTrans to convert date from your format to the format used in the UDF and vice versa.
    Regards
    Pravesh

  • Keyboard "use F-keys as standard function keys" setting gets reset on system restart

    Hi all,
    I have set in system preferences -> keyboard to "use f1, f2 etc. keys as standard function keys" or rather I want to keep this setting set but unfortunately this gets reset on each restart-
    I'm wondering what happened, this used to work initially with Lion. I may have set somewhere something that resets this on each start but I have no clue what that might be.
    Machine iMac mid 2011, keyboard Apple alu keyboard with cable (pre-Lion layout).

    Thanks BDAqua...sure looked like the function had disappeared over time and appreciate the confirmaion. Hard to understand why a function like that would be taken away. The program I run uses function keys f3,f7,f11 and f23(shifted f11) and I have all working okay by turning them off in keyboard and mouse menus. The f23 is causing issued in that when I use shifted f11 the screen scrolls upward instead of passing along the f23 function. Looks like I will have to work around this since the operating system will not allow the function keys to just work "standard"...thanks by the way for the welcome...!!

  • Is it necessary to use the standard function modules always?

    Hi All,
       Suppose i can retrieve the BUSINEES PARTNER ID from the table BUT000 with the help of 'BP_GUID' field through a select query statement. 
    Now is it necessary to use a standard function module to retrieve the same data. what about the performance? which is the better solution. to implement our own code or to use the function module available.
    Please someone clarify me about this issue.
    Regards,
    Sharry.

    If you'd ask the question in general it's obvious that there is no good answer as it always would depend on the circumstance. However, as you've posted your question in the performance tuning forum, let's look at your question in this context first. I think it's fairly safe to say, that in almost 100% of the cases a standard function module will not be as fast as any well implemented and custom tailored code. If in doubt, just try reading the code of the function module you want to read; most likely you will find lots of unnecessary fluff in there, often they read data that you don't even need.
    And as far as buffering is concerned, that can also be an issue. E.g. let's say you do a massive read of distinct business partners and you only need the data once for each partner. Obviously buffering is silly in this case and it might even slow down your program, because the implemented buffering is not necessarily well implemented. I've come across a few cases, where the buffer tables where standard tables with no efficient read access (so no sorted table or hash table) and once tons of data were buffered, it actually took a moment to look up if the record already was buffered (just to find it wasn't there yet).
    Now most of the times this slowdown is not an issue as the lookup is still fast compared to the (usually) prevalent database accesses with their slower IO timing. But another factor to consider is memory consumption and why buffer data in memory (and waste it), if you can't use the buffer anyway? So when I do use standard function modules, I usually try to see what they retain in global memory, to better understand if I need to call some initialization/clearing/refresh function...
    Note also that often you need to process lots of data, but don't find a standard function module for "mass access", so you need to read your object one by one. Obviously that's another good candidate for implementing your own queries, where you can process the data in packages.
    So what might be the reason to use a standard function module? Well, often it's required because the logic is so complex that it would take you too much time to implement it (not to mention that we often simply don't know all the logic that's coded in there). Another advantage is that you might get independent of the data model. E.g. for IDoc interfaces SAP switched in some release the tables where the data is stored. So if you had coded your own queries to get IDoc data, they wouldn't have worked after this particular release upgrade. The standard function on the other hand, checks both the old and new tables, so by using it you would have been fine.
    The one major caveat I'd give though is to always check whether the function module is released or at least documented to some degree. I.e. if it's not released, SAP won't support it and does not guarantee that the interface or logic stays the same. In my experience lots of functions I do want to use are not released (or documented), but I will still use them because they seem to be the best alternative in certain scenarios.
    Cheers, harald

  • Standard Function Group TRUX missing in Client's Dev. Environment

    Hi Team
    we are currently facing the following issue in BI: A standard Function Group TRUX and a Standard Type Pool TRUXS are missing in the clientu2019s Development environment. Because of this, the ALTTS tool (which is a simple ABAP report in SE38) cannot be executed. This FM is available in our local BI environment, but it is missing in the clientu2019s BI installation.
    Any help / inputs in this matter would be very helpful. Thank you in advance for looking into this problem.
    Thanks & Regards
    Puneet

    Hi Expert
    Still i am waiting for your reply ...
    Thanks
    Puneet

  • Want to know abt standard functionality

    hey guys
    Can you tell me if there is some standard functionality avialable in R12 to achieve below functionality
    1)Shows the detail for the Sub-Lease contracts and 3rd parties. PN module
    2)To show Future open balances by Store PN module

    I cannot see this as 'Database - Upgrade' issue, so you better refer to the E-Business Suite:
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Werner

  • "Use all F1, F2, etc. keys as standard function keys" checkbox missing in System Preferences/Keyboard since upgrade to OS X 10.9.5

    Since the last update to OS X 10.9.5, I no longer have a checkbox to use all F keys as standard function keys.  I've looked for any other possible solutions but can find none.  I have the 2007 aluminum keyboard (three batteries) with the latest firmware upgrade.
    Thanks.

    Thanks BDAqua...sure looked like the function had disappeared over time and appreciate the confirmaion. Hard to understand why a function like that would be taken away. The program I run uses function keys f3,f7,f11 and f23(shifted f11) and I have all working okay by turning them off in keyboard and mouse menus. The f23 is causing issued in that when I use shifted f11 the screen scrolls upward instead of passing along the f23 function. Looks like I will have to work around this since the operating system will not allow the function keys to just work "standard"...thanks by the way for the welcome...!!

  • Help with Date transformation standard function

    Hello,
    I am using DateTransformation standard function with the following data formats.
    format of source data : yyyyMMdd
    format of target data : yyyy-MM-dd
    I was trying with different test data as inputs .
    1. input : 20080101- Output : 2008-01-01 ( No issues, its working correct)
    2. input : 20090101- Output : 2009-01-01 ( No issues, its working correct)
    3. input : 21112222- Output : 2112-10-22 ( giving wrong transformation )
    Q: I just wanted to know how do the date transformation function  works in the background? I mean how does it start tranforming after it picks up input data?
    Q : Why was it generating 2112-10-22 instead of a error message that the date format is wrong(coz month 22 doesnt exists)? (refer to case 3 )
    Regards,
    Nikhil.

    hi
    you are doing the date conversion
    that is
    format of source data : yyyyMMdd
    format of target data : yyyy-MM-dd
    the result will be the yyyy - mm- dd
    that is your two result will be right because you are giving the valid month
    1. input : 20080101- Output : 2008-01-01 ( No issues, its working correct)
    2. input : 20090101- Output : 2009-01-01 ( No issues, its working correct)
    in the 3rd result result will be wrong because you are giving the wrong month that is 22 xi do not undestand such type of month
    3. input : 21112222- Output : 2112-10-22 ( giving wrong transformation )
    xi just transform the conversion that you have given and he do not converted month in to the year
    better you give 2112-10-22
    i hope its helpfull for you
    thanks
    Regards
    vijay

  • IF statement in Standard function module PRICING

    Hi,
    In standard function module PRICING
    I found one if statement like this.
    if  xkomv-kntyp na '1$' .
    Plz tell me the meaning of thai '1$' value.
    Regards,
    Upender Verma.

    Hi,
         NA means Contains Not Any ..
         if xkomv-kntyp na '1$'  means .. xkomv-kntyp does not contain '1' or '$'.
         Read help on comparision operator 'NA'
    Regards,
    Srini.

Maybe you are looking for

  • Portal and R3 user mapping

    Experts, We are on EP6 with 4.7 backend and using AD as our data source. We implemented ESS on ITS and we have few users who have different portal user ID and R/3 ID and I want their ID to be mapped to their R3 ID.  So far, I've added my r3 usrID as

  • 1 Page(s) Deleted 1 Page(s) Added...Why?

    Hi all, this is my first post in the forum and i hope someone can help me. I'm developing a tool in Objective-C which produce pdf digital signature in the PADES format. The signature is added as as revision, redefining/creating the opportune objects

  • CS5 and Epson 3800. Prints Too Dark.

    I've seen old posts about this, but nothing recent with this configuration of software and OS: After years of printing successfully with my Epson 3800 from a PC, I  recently switched to a Mac (Mac OS X 10.6). I am using Photoshop CS 5. Despite many i

  • Call WDJ from WDA

    Hi Is is possible to call Web Dynpro Java components from Web Dynpro ABAP ones?  We currently have an SAP Portal based on NW2004 and are just upgrading to ECC6.0 and wish to use WDA.  However, it is likely we will want to integrate the WDA components

  • TDMS Maintain Table deduction: Multiple table selection for "No Transfer"

    Dear TDMS Experts, Please provide the solution for the below 2 points. TDMS SYSTEM LANDSCAPE DETAILS: DMIS 3.0 SP17, DMIS_EXT SP17 & DMIS_CNT SP10 Control System: client 200, Sender: client 125 (with prod data), Receiver: Client 300 (copy of SAP_UCSV