on 01-09-2012 8:59 AM
Hi Experts,
I am using BAPI_GOODSMVT_CREATE for posting GRN against Purchase Order.
I want to post Quantity in Delivery note(LSMNG) and Unit of Measure From Delivery Note(LSMEH) also.
I used itab-QUANTITY = '1'.
itab-BASE_UOM = 'L'.
but it is not getting updated properly.
Can any one help me to pass these values through BAPI
Regards,
Sam
HI
See SAP Note 520813 - FAQ: BAPIs for goods movements, question 7.
I hope this helps you
REgards
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi E_Hinojosa,
Thanx for your reply.I couldn't get any information from the provided note.I am getting document number and GRN has been done against Purchase Order using this BAPI.All other fields are properly getting updated except these 2 fields Qty in delivery note and unit of delivery note. Can i pass these 2 field values using this BAPI or do I need to use any other BAPI. Is there any BAPI for MIGO instead of MB01?
Regards,
Sam
Hi Sam,
I think that perhaps this text helps you:
In this case, you must also transfer fields LFBJA, LFBNR and LFPOS
from the purchase order history (table EKBE); otherwise, the system
cannot find the correct document. For more information, see Note
109396. Even though this note refers to an IDoc processing, the same
logic also applies to BAPI_GOODSMVT_CREATE.
Fill fields GOODSMVT_ITEM-REF_DOC_YR, GOODSMVT_ITEM-REF_DOC and
GOODSMVT_ITEM-REF_DOC_IT in the BAPI interface and test the system
behavior again.
Other question. Set a break-point when the BAPI finishs, and check the info in RETURN (type BAPIRET2) to be aware the type of error that you have.
See also SAP Note 131838 - Collective note for BAPIs w/ 'Commit Work' command.
I hope this helps you
Regards
Eduardo
Hi Nabheet,
I passed these values also but of no use. While calling this BAPI, the transaction code displayed under Doc.info tab is MB01 instead of MIGO_GR. Do I need to use any other BAPI?
Stock is properly getting updated but only qnty in delivery note and its UOM is missing.
How to maintain these values through BAPI?
Regards,
Sam
Hi Nabheet,
I am passing following values in BAPI
gm_code = '01'
move_type = '101'
mvt_ind = 'B'
entry_qnt = '1'.
entry_uom = 'L'.
entry_uom_iso = 'L'.
quantity = '1'.
base_uom = 'L'.
ref_doc_yr = '2012'
no_more_gr = 'X '
Do I need to pass any other values?
can i use MB_CREATE_GOODS_MOVEMENT BAPI?
Regards,
Sam
Hi Yogesh,
I searched for BAPI2017_GM_ITEM_CREATE1 and couldn't find it.
Can you pls guide me if we didn't maintain Qty in Delivery note field, will it have any effect on any other transaction?
I checked MSEG table and found many of the PO's without this value. User may sometime skip this value. But since we are using BAPI, we are not sure whether it will affect our system in future?
Pls clear my doubts so that I can go ahead with this BAPI.
Regards,
Sam
Hi Yogesh,
Thanx for your reply.I am able to do GRN entries.But when i try to post GRN for same PO next time system is not picking this PO number using POPUP_GET_VALUES.
I am passing PO Number suing this Function module.First time the PO# gets populated but after doing GRN using BAPI, this PO# is not displayed.How to rectify this problem?
Regards,
Sam
Hi sam,
have you Solved your problem .if yes i am lucky ,now i am getting the same problem in MIGO Qty in Delivery note not updated through BAPI BAPI_GOODSMVT_CREATE.
So please tell me the solution. it should be reward.
Thanks & Regards,
Subba.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.