Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Goods movement(BAPI)

Former Member
0 Kudos

hello guys.

there is an issue regarding BAPI of Goods movement .

BAPI is BAPI_GOODSMVT_CREATE.

WHAT ARE THE NECCESSARY FIELDS TO CREATE THIS MOVEMENT.

reply soon.

5 REPLIES 5

GauthamV
Active Contributor
0 Kudos

hi,

open BAPI_GOODSMVT_CREATE in se37 and click on function module documentation in app tool bar.

there u can get tht details.

Former Member
0 Kudos

Hi,

The fields may vary with each movement type. So check the required fields first using tcode MB11 then try to execute the BAPI using the same fields.

Rgds,

Bujji

former_member212653
Active Contributor
0 Kudos

As for any BAPI the fields which are required run the transaction maually are needed to run the BAPI.

Former Member
0 Kudos

Hi Ruchi,

Just go through the following links:

http://sap4.com/wiki/index.php?title=BAPI_GOODSMVT_CREATE&printable=yes

These will give you a brief idea about that BAPI.

Hope this will help.

Regards,

Nitin.

Former Member
0 Kudos

Hi ,

Ensure that you transfer the data in the same way as it is run in the

database, for example,

o Material number 18-figure with leading zeros

o Batches with uppercase letters

Note that for all transactions/events listed below, the posting date is

entered in the header data of the material document. In the

BAPI2017_GM_HEAD_01 interface, fill the PSTNG_DATE (import structure

Transfer

The following information about the material document that

created is transferred to the method:

o a structure with header data

o a structure with the code for the movement

o a table with the item data

o a table with the serial numbers

The posting is carried out in the SAP R/3 via the

MB_CREATE_GOODS_MOVEMENT function module.

Which fields have to be filled during the various transactions/ events?

The following sample scenarios demonstrate which fields have to be

filled for which business transactions/events (code).

There are the following types of transactions/events:

1. GM_Code 01: Goods receipt for purchase order

2. GM_Code 02: Goods receipt for production order

3. GM_Code 03: Goods issue

4. GM_Code 04: Transfer posting

5. GM_Code 05: Other goods receipts

6. GM_Code 06: Reversal of goods movements

7. GM_Code 07: Subsequent adjustment to a subcontract order

Entering the movement indicator

Depending on the transaction, you must enter the following in the

movement indicator:

o GM_Code 01 (Goods receipt for purchase order): B

o GM_Code 02 (Goods receipt for production order): F

o For all other transactions, you leave the field blank.

For 1: GM_Code 01: Goods receipt for purchase order

o Purchase order known

The following fields have to be filled:

- Purchase order

- Purchase order item

- Movement type

- Movement indicator

- Quantity in unit of entry

- ISO code unit of measurement for unit of entry or

quantity proposal

The following fields may have to be filled in some cases (incomplete

listing):

- Shelf life expiration date (if it has been configured like this

in the system)

- Reason for movement (if it has been configured like this in the

system)

- Batch (if the material is handled in batches and batch numbers

are not assigned automatically)

- Storage location (if a storage location has not been specified

in the purchase order item)

- Item text

- Unloading point

- Delivery completed indicator

You cannot fill the following fields (incomplete listing):

- Account assignment fields (account assignment is adopted from

the purchase order)

- Reservation

- Receiving/issuing material

- Receiving/issuing plant

- Receiving/issuing storage location

In the case of a purchase order item with the "subcontracting" item

category, only the GR item in the interface is to be transferred.

The system automatically determines GI items.

Purchase order unknown: Shipping notification known

The following fields have to be filled:

- Delivery

- Delivery item

- Movement type

Other fields, such as those under "Purchase order known". The system

determines the relevant purchase order item via the

delivery/delivery item.

Purchase order unknown: Purchase order should be created

automatically

The following fields have to be filled:

For futher you can read the Documentation for Bapi.