+ -

Pages

Sunday, July 27, 2014

What date format should be used in batch input?

When you enter a date on line, the SAP system will verify the user
input with the date format setup.  If the date format is set to
'YYYY/MM/DD', then the system will reject a user input '1997-09-12'.
For batch input, the date format setup is not available any more,
what format should we use for a date field? Should it be 'YYYYMMDD'? 

*
The other thing to remember is that the batch input uses the user's
default profile as the date it expects.  Make sure the BATCHUSER format

is identical to the one your program is expecting or it will generate an
error when you are processing updates. 

*
You can get the appropriate date format by calling the function module
DATUMSAUFBEREITUNG.
Make sure that the user who process the session has the same date format.
5 ABAP Tips: What date format should be used in batch input? When you enter a date on line, the SAP system will verify the user input with the date format setup. If the date format is set to 'YYYY...

No comments:

Post a Comment

< >