Skip to Content
avatar image
Former Member

Material to material transfer with movement type 309

Hi Experts.

There is a requirement for the Client. They wanted to transfer all the stock of one material A to another material B. Both these materials are Batch managed.

The Client wants a Z program when he executes the program with the selection screen the plant and the new material, when executed the output should display all the relevant materials then the user will select the material that he needs to transfer. Once he executes it the system should automatically copy the selected to the material in the selection screen including the Batch Characteristics.

I would need ABAP help in this, An ABAPer is also working with us

Your suggestions are highly required.

Thanks in advance

Kiran

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 08, 2009 at 11:26 AM

    Hi

    Possibly you may link the Old Material Number in the New Material.

    In the Z Program, when you executre with the New Material, system should check the Old Material Number (that will be stored in MARA table) and check the stocks in MARD / MCHB / MARDH / MCHBH tables and show the stocks with the Batch numbers.

    In the report output you can have check boxes in the output and also a execute button. Once the use selects the required materials for transfer and executes, then you may call one BAPI for performing the 309 Movement. You can use BAPI_GOODSMVT_CREATE, BAPI for this purpose.

    You can peform the Batch creation if so needed. The same may be incorporated in the source code

    Hope this may help

    Regards,

    Ramakrishna

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 08, 2009 at 11:33 AM

    Hi

    your requirement 1. List of materials which has stock(current), you find out this from MB52, restrict the material No. zero stock lines. This out put with batch details you can have a Excel sheet. But how do

    you wish system to decide automatically convert one material to another. You need to create this conversion Excel file manually.

    tell your ABAPer to create a BDC for MB1B /309 Txn. before that you need to give him the format of MB1B/309 or MIGO/309, you need to prepare the Excel sheet matching the requirements of MB1B/309.

    Then only it is possible.

    Best Regards

    SAM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Take care as stock keeping ( base unit of measure )unit for all the materials should be same otherwise you cannot use the 309 mvt type.

      Regards

      Ankur

  • avatar image
    Former Member
    Dec 27, 2010 at 01:35 PM

    answer helpful

    Add comment
    10|10000 characters needed characters exceeded