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

'Goods movement not possible with mvmt type 102'

Dear Experts,

I have to reverse the GR and I am using BAPI -> BAPI_GOODSMVT_CREATE and passing below information but I am getting error message as 'Goods movement not possible with mvmt type 102'. Could any one please tell me what would be the possible reasons to get this error and how can I fix this.

goodsmvt_header-PSTNG_DATE = 20110705

goodsmvt_header-DOC_DATE = 20110705

goodsmvt_code-GM_CODE = 06

goodsmvt_item-PLANT = 1400

goodsmvt_item-MOVE_TYPE = 102 <<< Reversal movement type

goodsmvt_item-ENTRY_QNT = 02

goodsmvt_item-ENTRY_UOM = SET

goodsmvt_item-PO_NUMBER = W299999508

goodsmvt_item-PO_ITEM = 0010

goodsmvt_item-MVT_IND = B

goodsmvt_item-XSTOB = ''. << space to use reversal types

Thanks in Advance

Venkat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2011 at 04:48 AM

    Hello

    1. You forgot the quotes.

    2. goodsmvt_item-XSTOB = 'X'. <- reversal type

    3. Try to use FM BAPI_GOODSMVT_CANCEL for reverse.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Please provide Material Document, Document Year and Posting date as shown below

      MATDOCUMENTYEAR = DOC_YEAR.

      GOODSMVT_PSTNG_DATE = POSTING_DATE.

      MATERIALDOCUMENT = MAT_DOC

      CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'

      EXPORTING

      MATERIALDOCUMENT = MATERIALDOCUMENT

      MATDOCUMENTYEAR = MATDOCUMENTYEAR

      GOODSMVT_PSTNG_DATE = GOODSMVT_PSTNG_DATE

      • GOODSMVT_PR_UNAME =

      IMPORTING

      GOODSMVT_HEADRET = WA_GOODSMVT_HEADRET

      TABLES

      RETURN = IT_RETURN

      • GOODSMVT_MATDOCITEM =

      .

      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

      EXPORTING

      WAIT = 'X'.

  • Posted on Jul 05, 2011 at 06:43 AM

    As already written , try BAPI_GOODSMVT_CANCEL, also read [How To Goods Movements with BAPI|http://wiki.sdn.sap.com/wiki/display/ERPSCM/HowToGoodsMovementswith+BAPI] in sdn wiki.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 05, 2011 at 07:37 AM

    Is the mevement type 102 enabled in the particular standard transaction ( Assigned to the gm code 06 ). Please check the same entries providing in the standard transaction.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2015 at 07:53 AM

    Hi

    use always 2 FM.

    BAPI_GOODSMVT_CREATE

    BAPI_TRANSACTION_COMMIT.


    Remember about authorisation for material movements.


    structures

    GOODSMVT_HEADER

    PSTNG_DATE DOC_DATE PR_UNAME

    HEADER_TXT

    21.09.2015 21.09.2015 UNAME Text of mat doc.

    GOODSMVT_CODE - depands on transaction

    Go to OMJJ first and check allowed tcodec for material movement then choose proper one.

    GM 01 MB01 02 MB31 03 MB1A 04 MB1B 05 MB1C 06 MB11 07 MB04

    GOODSMVT_ITEM

    MATERIAL PLAN STGE BATCH MOV ENTRY_QNT 123218 XXXX YYYY 12345 102 33
    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.