Skip to Content
0
Former Member
Apr 16, 2013 at 04:26 PM

Why is BAPI_BATCH_CREATE updating blank date as Non-initial value in MCH1-VFDAT?

418 Views

Hi Guys,

We have the BAPI_BATCH_CREATE call in a program to create material batches and everything is working fine except sometimes when it updates a blank date in the date fields MCH1-VFDAT / FVDT1 / FVDT2 as non-INITIAL value. When we check such a date field in SE16, it has / / instead of 00/00/0000 (space character in place of 0). As a result, when we open the batch using transaction MSC3N, it throws an error message - "The format of internal date is / / is incorrect !"

I already checked the SAP Notes concerning BAPI_BATCH_CREATE but didn't find any info on date fields. Have you faced such a problem? Appreciate your answer :-) Thanks !

Attachments

MSC3N.jpg (54.0 kB)