2006 Dec 05 3:44 PM
When using the new ABAP editor print feature there are formating options to print things like filename and current date. Current date displays in the European format of DD.MM.YYYY. I would like to change that to the American format of MM/DD/YYYY. Does anyone know of a way to do this?
Also, as a bonus question, Is there a way to add parameters like User id?
Thanks,
Larry
When using the new ABAP editor print feature there are formating options to print things like filename and current date. Current date displays in the European format of DD.MM.YYYY. I would like to change that to the American format of MM/DD/YYYY. Does anyone know of a way to do this?
Also, as a bonus question, Is there a way to add parameters like User id?
Thanks,
Larry
2006 Dec 05 3:46 PM
Check
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
&
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
Regards,
Santosh
2006 Dec 05 3:58 PM
Santosh,
Maybe I did not make my question clear. The new ABAP code editor has a print feature which is different that the standard SAP print. It is only available in the new editor. The format of the printout is defined in the options dialog. You can specify the content header and footer. There are parameters like filename, page number and current date that can be placed in the header/footer. When I select the current date parameter, it prints out the date in Euorpeon format MM.DD.YYYY. I want it ti print out in American format MM/DD/YYYY.
My question is how do I do that?
2006 Dec 05 4:00 PM
2006 Dec 05 4:06 PM
Rich,
I don't think that the SAP user settings control this. I think it is something exclusive to the new editor.
2006 Dec 05 4:11 PM
Please describe how you are getting to the screen to specify the content header and footer.
2006 Dec 05 4:27 PM
Aaron,
When using the new editor, click th small button in the bottom right corner of the editor window. This will take you to the options dialog box for the new editor. One of the things that can be configured is the print format. I have select the parameter Current date or %date% to appear in the footer of the printout. This date is then printed as DD.MM.YYYY.
I want to print as MM/DD/YYYY
I am pretty sure that this has nothing to do with the date format in the user profile. Mine has always been set to the American format, and I have no problems with that at all.
2006 Dec 05 3:53 PM
Hi,
You need to change the User Profile.
Steps: goto Menu
System(You can access from Any SAP Tcode) -->user Profile --> Own Data --> Default(Tab).Just set the format what ever you want. You no need to use FM.
Raja T
2006 Dec 05 3:54 PM
Make sure that your default date format is set to MM/DD/YYYY.
From the Main menu bar goto System --> User Profile --> Own Data
Then click the defaults tab and choose your date format.
2006 Dec 05 3:56 PM
Larry,
Isn't the data format a parameter in the user profile. I think the default format for a user is set in the SU01, user pofile default values tab. change that and see if that reflects in the editor.
Regards,
Ravi
Note - Please mark all the helpful answers
2006 Dec 05 4:03 PM
Everyone,
My date format for everything else in SAP is set to the the American format. I think this is exclusive to the New ABAP Editor. I know there are some configuration files somewhere that might contain these parameter definitions, but I am not sure where they are and how to change them.
Message was edited by:
Larry Browning
2006 Dec 05 4:06 PM
Have you tried my solution:
<b>You need to change the User Profile.</b>
<b>Steps:</b> goto Menu
System(You can access from Any SAP Tcode) -->user Profile --> Own Data --> Default(Tab).Just set the format what ever you want. You no need to use FM.
Raja T
2006 Dec 05 4:49 PM
Raja,
My user profile has always been set to the American format and I have no problems with it at all. This problem only occurs when I print from the new code editor which was made available to us only a few weeks ago when the latest support packs were installed to the basis system. (ECC 5.0)
2006 Dec 05 7:38 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |