‎2010 Feb 10 3:05 AM
Hi,
How to move the stock value from one storage location to another storage location within a plant.
Using MB1B t-code with 311 movement type.
i need function module for that.
‎2010 Feb 10 3:08 AM
Try and use bapi for the following transaction BAPI_GOODSMVT_CREATE
‎2010 Feb 10 6:23 AM
Hi,
Yes Anup is right, you can create transfer posting, goods movement by using BAPI 'BAPI_GOODSMVT_CREATE'
You need to pass the following values to BAPI
1. Header data
2. Movement Code
3. Itam data
For tranfer posting goods movement code shold be 03 and for goods issue it should be 04.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = W_GOODSMVT_HEADER (Posting adte, document date and other required header data)
GOODSMVT_CODE = LV_CODE
IMPORTING
MATERIALDOCUMENT = W_MATERIALDOCUMENT
MATDOCUMENTYEAR = W_MATDOCUMENTYEAR
TABLES
GOODSMVT_ITEM = I_GOODSMVT_ITEM (itam data table)
RETURN = I_RETURN.
Please read the documentation of 'BAPI_GOODSMVT_CREATE' for more details.
Regards,
Mrinal