Convert date on user specific settings

Hi all,
I want to convert date on user specific settings
Example i have seetings like dd/mm/yy and another user has settings mm/dd/yyyy.
If i login any client i want to convert date to yyyyddmm.
How can i do this.
Thanks

Hi,
*   Convert date 1/3/9999 into 99990301
    CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT'
      EXPORTING
        input  = w_inputfile-endda
      IMPORTING
        output = w_inputfile-endda.
*   Convert date 99990301 into 01/03/9999
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
        input  = w_inputfile-endda
      IMPORTING
        output = w_inputfile-endda.
or try this..
Key = sy-datum.
  SELECT SINGLE * FROM usr01 WHERE bname = sy-uname.
  CASE usr01-datfm.
    WHEN 1.
      WRITE key  TO formatted_date DDMMYY.
    WHEN 2 OR 3.
      WRITE key  TO formatted_date MMDDYY.
    WHEN OTHERS.
      WRITE key  TO formatted_date YYMMDD.
  ENDCASE.
Prabhudas

Similar Messages

  • User specific settings for message ME161

    All SAP Gurus,
    Is it possible to have user specific settings for message like ME161?
    We want the message ME161 to be displayed as warning message to one user and the same message to be displayed as an erorr message to another user.
    Is it possible?
    Regards,

    hi,
    In addition to the above data:
    Messages are defined like this:
    Version     AG      No.      Text     TYPE
    Normally, in std case,
    Version will be always 00 for system defined messages....
    Now if you wanna make the the same message as authorised,
    then copy this exsisting message....
    While copying system will ask for version, here enter it it Z*
    Now on the other hand make the other settings for user/user grp in SU01 and here set the user parameter as MSV(THIS IS MUST)....
    and then try...
    Regards
    Priyanka.P

  • Transaction SE16: Field selection (User-Specific Settings) is NOT working for ALL tables

    Hi Guru’s,
    I have an issue in Transaction SE16, Field selection (User-Specific Settings) is NOT working in Tables (ALL tables).
    Following is the screenshot attached for your kind reference,
    That is in the initial screen of transaction SE16 if I choose Filed Name or Filed Label only the technical details (Field Names) are appearing and not the descriptions like Client, Purchasing Doc, and Company Code Doc. Category Document Type etc…
    Right now I am using ECC6 and EHP7 SAP system.
    Please help me to resolve this issue by implementing any OSS note or User Role creations or any technical changes required in system.
    Hope the requirement is clear and in case need any clarification please revert back.
    NOTE: Right now in Development System we don’t have any successful user to compare the settings.
    Regards,
    Kumar.S

    Thanks Patra.
    Even I searched in SAP portal and couldn't able to find the relevant OSS note.
    Following is my BASIS team response,
    "Only you can view Table Field values from higher release"
    Can you suggest / guide on this comment as well.
    Looking forward to your speedy response.
    Regards,
    Kumar.S

  • User specific settings in SSM_CUST table

    Dear experts,
    i know it is not a right forum for post this thread but i am not able find to right forum for such problem
    My problem is that i disable favorites by adding parameter ALLOW_TCODE_START in SSM_CUST table
    and it disble all the user to add tcode in favorites but i want user specific that i (administrator) am able to add tcode
    in favorites but my client(subuser) not able to add tcode in favorites in sap easy acess .is it possible
    please help.......................

    THANKS FOR REPLAY SIR,
                          but i know all the configuration of USERS_SSM table
    where follwing configuration to hide for particular user  is given:-
    1 user menu
    2 sap menu
    3 web menu
    4 compny menu
    but i want to disable favorites for specific user which i think is only possible by table SSM_CUST  with parameter
    allow_tcode_start but it disable favorites of me (admin) as well as my client but i want i am able
    to add tcode in favorites  but my client not able to add tcode in favorites
    please help...............

  • User specific settings through SHD0

    Hi
    I have make some fields disabled for editing. I have done this through SHD0. Now i have to keep this setting for some specific users.
    Please guide for this .
    Regards
    Raksha

    Hi,
    After you have created a transaction variant in SHD0,
    assign a transaction for that transaction variant in SE93 or from SHD0->Goto-> Create variant transaction.
    Once you have created a transaction, assign the authorization object to the transaction. This will restrict only the users to view this transaction varriant...others will not able to execute this transaction...
    Hope this suffices your requirement...
    Let me know icase of issues
    Reward if useful
    Regards
    Shiva

  • User specific settings

    Hi Gurus,
    I have configured the displayed fields in the Table area of Planning board though Planning board profile configuration. The desired columns are visible in table area in CJ2C. But then I have change the displayed fields from field selection in Planning board and have saved the user settings.
    Can some one let me know how to remove this user setting ?

    Hi,
    Open the project in the Planning board and use the option "Undo User setttings". This should solve your issue.
    Check this and revert.
    Regards,
    Gokul

  • ABAP Editor. Flag meanings from: User-specific settings - 'pattrn' tab

    If you go through this path once you are in the ABAP editor (ECC 6.0):
    utilities -> settings
    Does anybody know how the flags from the 'pattrn' tab work? They are about patterns in Function modules and Class generators.
    I cannot find anything through F1 help or SDN.
    Best,
    Cristian

    You might be aware of the "Edit -> Pattern" functionality in the ABAP editor. The settings you are referring to influence some details, e.g. whether OTHERS will be included in the exceptions list when inserting function module patterns.
    Play around with the settings to see the effect.
    Thomas

  • Deploying Printers with User Specific Settings via Group Policy

    Good Morning All,
    We are getting ready to switch our print server over and would like to find an easier way to update everyone's printer list.  The issue we are running into is that we have a few large copiers that use a user id number to validate any print jobs.  Is
    there a way to set that up in GPO so that it will give the correct code directly?  I cannot find anywhere that I can adjust the printer preferences.
    Thanks,
    Brent

    Hi
    So you just want to update the TCP port with the new IP instead of deploying new drivers from the server?
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Convert the date into user default date formate

    I am wrinting a bdc and i want to convert the date into user default date farmate ..please suggust the functiom module should i use...

    actually by using dats or d type you can get the user specific date itself.
    but if u have different dates format that need to be converted to the user specific date then you can follow below procedure
    1. retrieve the user format from usr01
        SELECT SINGLE datfm
          INTO w_datfm
          FROM usr01
         WHERE bname EQ sy-uname.
    pass w_datfm to the below FM (4th import parameter)
    2. create Z - FM and retrieve the user secific date
    FUNCTION ZFXX_USER_SPECIFIC_DATE.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IW_DAY) TYPE  CHAR2
    *"     VALUE(IW_MONTH) TYPE  CHAR2
    *"     VALUE(IW_YEAR) TYPE  CHAR4
    *"     VALUE(IW_DATFM) TYPE  USR01-DATFM
    *"  EXPORTING
    *"     VALUE(EW_USER_DATE) TYPE  CHAR0008
    *1  DD.MM.YYYY
    *2  MM/DD/YYYY
    *3  MM-DD-YYYY
    *4  YYYY.MM.DD
    *5  YYYY/MM/DD
    *6  YYYY-MM-DD
    CASE iw_datfm.
      when '1'.
        concatenate iw_day iw_month iw_year
               into ew_user_date.
      when '2'.
        concatenate iw_month iw_day iw_year
               into ew_user_date.
      when '3'.
        concatenate iw_month iw_day iw_year
               into ew_user_date.
      when '4'.
        concatenate iw_year iw_month iw_day
               into ew_user_date.
      when '5'.
        concatenate iw_year iw_month iw_day
               into ew_user_date.
      when '6'.
        concatenate iw_year iw_month iw_day
               into ew_user_date.
      when others.
        clear ew_user_date.
    endcase.
    ENDFUNCTION.

  • User specific currency printing

    Hi ,
      Could any one of you help me in getting the user specific commands ?
    I have tried to change the user specific settings ..but it didnot work.
    Request you to let me know the code such that the currency is automatically printed according to  user specific settings

    Hi Sindhuri,
    Try the command SET LOCALE , it sets currency, date format nad number format to the current user settings.

  • FM for Convert Date

    Hi
    I need to convert dates from user format to internal format.
    Does some body knows wich FM can i use for convert text field  '15.3.2010'   to  date field  '20100315'   ?
    Regards
    Frank

    Moderator message - Please see How to post code in SCN, and some things NOT to do... before posting (date question) - post locked
    Rob

  • ALV Grid Layouts - Setting them user-specific

    Hi everybody -
    I am using the ALV grid layout for a report using function module REUSE_ALV_GRID_DISPLAY.  There are a number of fields that are not immediately viewed on screen - they are in hide mode within the field catalog.  We want to allow the users to add them / remove them from the report using an ALV variant.
    I can allow the users to add/remove with a layout variant no problem - but I am having an issue allowing them to save the variant that they are using to view the data, as user-specific.  For whatever reason, they are only allowed to save their layout variants as global - the "User-specific" box is grayed out.
    Does anyone know how I can get the "User Specific" box to be NOT grayed out within an ALV grid?
    Thanks!
    Abby

    Set the I_SAVE parameter to 'U' in your function call.
    Regards
    Rich Heilman

  • Setting user specific contract data while creating sales order using BAPI

    Hi all,
    I am creating sales order using BAPI - BAPI_SALESORDER_CREATEFROMDAT2.
    Now my problem is that there is no structure for contract data (i.e. VEDA), system automatically set contract data using customization values.
    I am doing some validations on cotract data in MV45AFZZ which fails, because these validations are performed on standard values, user specific values r not set.
    How to handle this issue, your small clue may help a lot.
    Regards,
    S@meer

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • How to show specific data for user on redirected page once they logged in

    I and fairly new, but have a general understanding of Dreamweaver. Using CS3 or CS4, how do you get the redirected page after the user logges in to show only the data for that user? I have creater the login page and it works fine but i dont know what needs to be on the redirected page for it to show only the data for the user that just logged in.
    I am not very good with the coding part so if it requires it any help with that would also be helpful.
    thank all.

    I should be able to get the understanding if explained.
    As for scripting i believe its PHP. at lease thats the page i created the login page with.
    As for user-specific information: basiclly there account information.
    As for database i have dreamweaver linked to a MySQL database. it pulls from 2) tables
    1st table has the following: ID - User Names - Password  - account number
    2nd table has the following: ID - account number - names - address - ect
    So basiclly i want when a user loges in for it to redirect them to a page which then only shows the data for that users. if i can link the data the pulls up by the account number that would be ideal
    Thank you Murry

  • User specific layout settings

    Hi
    We are assign the specific lay out for specific user the system is not allowing to save the data the following is the error description
    User-specific layouts must start with a letter (A-Z)
    kinly let me know if this is the authorisation issue
    the functional consultant can able to do the setting
    please provide the solution
    thanks in advance
    Regards,
    Jyothi

    hi
    thanks for solution
    i am followed the same 
    but still the problem is same
    exactly what iam doing is
    once we entered the screen there is some standard layout is picking the system that is 0SAP
    Than iam selecting the  choose button and selectin gthe  layout 3SAP
    than iam saving the data
    system ids giving the pop up and there iam selecting the reqired layout and selecting the check mark user specific and saving the data . removed the even after 3 in 3asp
    but still the problem is same
    kindly explian me the procedure if iam wrong
    thanks in advance

Maybe you are looking for

  • MSVCR80.dll  Error 7  Windows Error 126

    This post concerns error message MSVCR80.dll and Error 7, Window error 126.  I got these error messages after installing the latest version of itunes.  The errors excaped thru my virus protection softwares, so I assume many other windows users got th

  • Power Mac and Display - power surge?

    I hope someone can help even if it's common sense... I had my Power Mac on for a while and all of a sudden a pop/click sounded and the power went off for the apple mac and the display/monitor. Neither turned back on and there's no sign of power so I

  • Adjust query data in binding

    Hi, Can someone tell me how I can "play with" the binding of a list/table with the GW query service? E.g. if attribute "status" = "open", I want to show a specific icon, if "status" = "closed", I want to show another icon. Till now I solved this issu

  • InfoObject is missing in report after upgrade

    Hi, My InfoObject Statistical ID is missing in Report after Upgrading from 3.5 to 7.0. I did comparison of report before and after upgrade and found this issue. the data content is the same but only this infoObject cannot be seen in the report how do

  • Go URL && SQL through POST-method

    Hello! To create reports, I use asynchronous queries like this (GET-method): saw.dll?Go&SQL=select+Region,Dollars+from+SupplierSales&format=xml But sometimes there are queries for which the length of the URL is too long. In this case I want to use th