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

BAPI_GOODSMVT_CREATE

Hi Friends,

I am using the bapi ' BAPI_GOODSMVT_CREATE' to transfer posting in MIGO. The BAPI is running fine.But when i am giving BACK posting date(BUDAT) and BACK documnet date ,the system giving error. but when i am entering manually in MIGO ,the system allowing back date and documnet is geting posted.Please suggest how can i achive this.

Thanks,

Suresh Bheema

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 06:52 AM

    Hi Suresh,

    Can you please use the below code.

    DATA WA_DATE(10)

    WRITE IT_HEAD-BUDAT TO WA_DATE.

    Please let me know if you are facing issue.

    Regards,

    Vadamalai A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 05:22 AM

    What error you are receiving when you call the BAPI BAPI_GOODSMVT_CREATE?

    OR you may try to change the date format, I mean before calling the BAPI please use the below code

    data WA_BUDAT(10).

    WRITE BSEG-BUDAT TO WA_BUDAT.

    Please let us know if you are facing issue still.

    Regards,

    Vadamalai A.

    Add a comment
    10|10000 characters needed characters exceeded

    • Well there is no use giving both dates as back dates.

      Posting date is use to determine the actual document posting pate. Recommended to use it as system date (sy-datum) for tracking purpose.

      (Lets say suppose you want to track people who posted late after period closing.)

      You can keep document date in past for the sake of making them visible to previous posting period, keeping posting date as current.

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.