Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 23, 2017 at 10:10 AM

    hi,

    try with this FM: DATE_CHECK_PLAUSIBILITY .

    Add a 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.