Skip to Content

BAPI_GOODSMVT_CREATE - batch

hi ,

Im using BAPI_GOODSMVT_CREATE for stock transfer posting.

Here there is a batch field to be passed.

what value should we pass here.

i checked MCH1 table but it consists of multiple batches for a material.

what is the exact way to proceed with this.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 06, 2009 at 07:23 AM

    Hi Keshu..

    The BAPI BAPI_GOODSMVT_CREATE will work as same as MIGO. what ever the process is possible using MIGO is possible using This BAPI also.

    When you do Transfer posting, you need to pass two batch numbers...means From and to bacth Number.

    let me know if you need any further clarifciation.

    cheers,

    JBR

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi...

      i am trying to using BAPI_GOODSMVT_CREATE for migo upload........ but i got a error for enter the subcomponent batch number...

      how to pass the subcomponent batch number in this bapi?....

      pl do the needful

  • author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2009 at 07:09 AM

    Hello

    First of all you must to know what are you want to transfer.

    If you do not know batch number, look at table MCHB with werks, storage location and material number and select record with CLABS > 0. Set batch number from record with necessary amount.

    P.s. also try to set '*' in batch field in bapi (but I not certain that this will work).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 06, 2009 at 12:12 PM

    At times you need to create batch first. This is strictly per process. It all depends on the movement type. Consult your functional Consultant. At times the same from and to batch is involved. Rest you need to create a batch at runtime and pass. You can use some function module . Look up for BATCHREPLICASAVE .

    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.