on 10-22-2005 8:19 AM
Hi All,
I want to run MIGO or MIGO_GR
for creating GR with respect to PO using input type in the format of bar code for recieved items against PO
And MIGO sould run only for received items quantity only.
Barcode contains following details when it decodes
Header Bar code :-
PONO@DCNO@BOLNO@HEADERTEXT@@
Detail Bar Code text :-
For serialialized material LINENO#MATERIALNO#QTY##SERIALNO
For batch material LINENO#MATERIALNO#QTY#BATCHNO#
For serialialized and batch material LINENO#MATERIALNO#QTY#BATCHNO#SERIALNO
For nonserialialized and nonbatch material LINENO#MATERIALNO#QTY##
scanner will scan above details from bar code and then MIGO runs for creating GR with ref to decoded PO number and other details.
Please give me any idea, how to set above values for standard MIGO.
Is it possible using BDC.
I will call you in the evening.
Thanks And
Hi Dhananjay,
U can do this, Using the BAPI, 'BAPI_GOODSMVT_CREATE' here populate the values for the Header & Line Items, using your custom Z program. This Bapi will take takecare of posting the Data.
This is the Effecient method than using BDC.
Call the BAPI for Goods Receipt
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gmvt_header
goodsmvt_code = st_gmvt_code
IMPORTING
goodsmvt_headret = st_gret_head
TABLES
goodsmvt_item = it_gm_item
return = it_return.
Commit the Transaction
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a Z program to take these fields as input (Header and detail). Split the fields and call BDC. Standard transaction MIGO will not support this as it is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.