Ansicht
Dokumentation
SAPG_0004 - Maintain Calendar for Japan
rdisp/max_wprun_time - Maximum work process run time General Data in Customer MasterThis documentation is copyright by SAP AG.
- The eras used by the Japanese Imperial calendar (known in Japanese as wareki)
- The written date format for the Imperial calendar
In the Japanese environment, the Imperial calendar is sometimes required in SAPscript forms.
Activities
Maintain the following two tables:
Definition of Beginning Date
LANG | STDATE | ERA | SHERA | ||
---|---|---|---|---|---|
J | 18680908 | ¾¡ (meiji) | M | ||
J | 19120730 | å³ (taisho) | T | ||
J | 19261225 | ºa (shouwa) | S | ||
J | 19890108 | ½¬ (heisei) | H |
Date Format in Writing
LANG | YY | MM | DD |
---|---|---|---|
J | N(nen) | (gatsu) | ú(nichi) |
Further notes
Inserting the System Date in Imperial Format
The standard symbol used for the date in Gregorian format is DATE. The symbol for the system date in Imperial format is LDATE.
You enter | System displays |
---|---|
&DATE& | 1995/01/01 |
&LDATE& | ½¬ 7N 1 1ú (heisei 7 nen 1 gatu 1 nichi) |
Defining the Database Field Date in the Imperial Format
To include a date in Imperial format in a form, the parameter L must be defined for the database field. However, this function only works with fields with date type DATS.
You enter | System displays |
---|---|
&SYST-DATUM& | 1995/01/01 |
&SYST-DATUM(L)& | ½¬ 7N 1 1ú (heisei 7 nen 1 gatu 1 nichi) |
Defining the SAPscript Command SET DATE MASK
You use the command SET DATE MASK to define the format of the date. There are three parameters at your disposal, LY (year), LM (month), and LD (date).
SET DATE MASK definition | System displays |
---|---|
New York, MM/DD/YYYY | New York, 01/01/1999 |
út: LYNLMLDú | út: ½¬ 7N 1 1ú |
Converting Dates from Gregorian to Imperial Format
To convert dates from Gregorian to Imperial format, use function module CONVERSION_EXIT_JPDAT_OUTPUT.
CPI1466 during Backup ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 4625 Date: 20240523 Time: 214104 sap01-206 ( 32 ms )