on 12-22-2004 1:50 AM
Hi,
I am creating a new contacts record in code using the Contacts object.
The StartTime property needs to be set so that when the record is viewed in the Business Partner Contacts (Form 651) the Start Time is blank (not 12:00 am). It is possible to set the StartTime to blank in the UI and save the record, which results in the value of NULL actually being stored in the database.
The problem is that the StartTime property of the Contacts object cannot be set to NULL because the property itself is of type date.
Example:
Set objContacts = oSboDICompany.GetBusinessObject(oContacts)
set other properties such as CardCode
objContacts.StartTime = gives error
objContacts.StartTime = NULL gives error
objContacts.StartTime = 0 Results in 12:00 AM
objContacts.StartTime = ????? Needs to store the value NULL in the DB
Thanks in advance for any help you can give
Hi,
Apparently this is not supported through DI API.
If you really need it and cannot live with "00:00", please open a Development request (DRQ) on SAP Service Marketplace.
Thanks,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.