on 09-25-2007 3:43 AM
hi all,
i want to include final approver date into Puchase Order, and i call up a form, getting the date from CDHDR. however, when i return the date back to the script, the date display in PO are out of date format.
original : 16.07.2007
but it shows as : 20070716
how am i going to change it to the actual proper format in script?
very thanks for the help first.
Use this
/: SET DATE MASK = 'DD.MM.YYYY'.
&DATE&
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
but i have other date ( such as create date) which are showing correctly. the create date gets directly from table.
i tried to use the SET DATE, but there is no charge on it. my actual code is as below:
/: PERFORM GET_TEST IN PROGRAM Z_TESTING6
/: USING &EKKO-EBELN&
/: CHANGING &UDATE&
/: ENDPERFORM
PO Release Date,,&UDATE&
can only one help me. thanks
Alternatively, Change the logic like this before returning UDATE to script.
in Z_TESTING6
Ex:
DATE1(10).
DATE = '20070925'.
DATE10(2) = DATE6(2).
DATE1+2(1) = '/'.
DATE13(2) = DATE4(2).
DATE1+5(1) = '/'.
DATE16(4) = DATE0(4).
Pass this value back to your script...
Close the thread if your question is answered.
Regards,
SaiRam
u need to change the settings of u r sap system............before changing that make sure that it wont affect other objects...........
in menu bar goto...system...>userprofile....>owndata...>inthe default tab u can change the date format
reward points if helpful..........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.