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

BAPI for Transaction MB1B

Dear All,

Please sugget BAPI for Transaction MB1B ( Transfer Posting ).

Regards.

Ulhas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 05:30 AM

    Hi,

    Try this BAPI

    BAPI_GOODSMVT_CREATE

    The thread below provides more Information on the above BAPI

    about-bapigoodsmvtcreate

    Regards,

    Manish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 06:14 AM

    Hi Dude,

    The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.

    *

    • BAPI TO Upload Inventory Data

    *

    • GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order

    • 02 - MB31 - Goods Receipts for Prod Order

    • 03 - MB1A - Goods Issue

    • 04 - MB1B - Transfer Posting

    • 05 - MB1C - Enter Other Goods Receipt

    • 06 - MB11

    
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
    *   TESTRUN                     = ' '
    * IMPORTING
        goodsmvt_headret            = mthead
    *   MATERIALDOCUMENT            =
    *   MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
    *   GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
              .
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 08:07 AM

    Hi,

    Check with BAPI BAPI_GOODSMVT_CREATE and below link.

    [link1|bapi-for-mb1b]

    Thanks,

    Asit Purbey.

    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.