09-18-2008 1:09 PM
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.
09-18-2008 1:12 PM
hi,
open BAPI_GOODSMVT_CREATE in se37 and click on function module documentation in app tool bar.
there u can get tht details.
09-18-2008 1:13 PM
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
09-18-2008 1:14 PM
As for any BAPI the fields which are required run the transaction maually are needed to run the BAPI.
09-18-2008 1:15 PM
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.
09-18-2008 1:19 PM
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.