Skip to Content
avatar image
Former Member

Is there a date validation in BAPI_ASSET_ACQUISITION_POST

We are using BAPI_ASSET_ACQUISITION_POST in a Z program and posting asset transaction. When the Asset value Date is passed as 31/00/2017, the system is accepting without any error. Internally will there be any date validation in this BAPI.

Regards,

Sathesh

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Finally, I solved the issue with a work around. I validated the date field using a custom validation before passing the information to BAPI.

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 27, 2017 at 10:00 AM

    Hi,

    That's very strange... What is posted in the document, then?

    What do you mean by 'acceptance of the system"? Of course, you are free to pass whatever parameter to BAPI, but it will be resulted in error if the value is not compliant with the rules.

    Regards,

    Eli

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 23, 2017 at 10:10 AM

    hi,

    try with this FM: DATE_CHECK_PLAUSIBILITY .

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Umayaraj,

      Thanks for the reply. But I think your suggestion is a work arround. before passing the dates in the BAPI, I can validate. But the question is why does BAPI_ASSET_ACQUISITION_POST does not validate. Hope I am clear now.