Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

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

$
0
0

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 !"

 

MSC3N.jpg

 

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 !


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>