Skip to Content
author's profile photo Former Member
Former Member

Date in GL Account Posting ?

I am posting the GL a/c line items using BAPI_ACC_GL_Doc_post ...!!

In the flat file , i get the dates as '01/01/2006' and i convert it to 8 format by using :

split and concatenate .

The internal table (line_t) for line items has posting date as '01012006' , when i debug ...but then I keep on getting this error message : ' 20/06/0101 is incorrect in item 001...!! Though the line table has date has '01012006' , the BAPI returns this message ?

Can anyone tell what can be the issue ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 24, 2006 at 07:09 PM

    Hi,

    Please try this FM CONVERSION_EXIT_PDATE_INPUT to convert date.

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 07:13 PM

    Hi

    You have to insert the date in the format YYYYMMDD:

    If DATE_IN = 01/01/2006 =>

    DATE_OUT(4) = DATE_IN+6(4).

    DATE_OUT4(2) = DATE_IN3(2).

    DATE_OUT+6(2) = DATE_IN(2).

    Max

    Add a comment
    10|10000 characters needed characters exceeded

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.