Batch Characteristics update using MIGO
Hello Gurus - Need your valuable suggestions on the issue below.
I have a requirement to update only certain batch characteristics at the time of goods receipt using MIGO by clicking on the classification view. Users should have access to update only 4 out of 10 characteristics in a batch. I did assign authorization group to the characteristics & made the changes to the roles but i think that there is no auth. check performed for classification during goods receipt. Please let me know the possible options to fulfill this requirement.
Thanks for your time.
Thanks for your reply Craig. I did set up the characteristic as 'Entry Required' & changed the config to update only required charac. in foreground. When i posted the GR, system did not give me any pop-up to update the characteristics but i got a warning message saying that the values are missing in classification. So i went to classification view but none of the required characteristics are highlighted. So how will the user know which characteristics are required?
Also to let you know, we are updating certain characteristics in the background using enhancement. Do you think will there be any conflict with this?
Thanks for your help.
Similar Messages
-
Batch Classification Update duing MIGO
Hello Experts,
I have a requirement where in i have to update one of the batch characteristics with my own value when the user presses the classification button in MIGO transaction during GR.
I tried various user exits and BADI's to accomplish this but ultimately was unsuccessful.
The most useful BADI which i felt would solve my purpose was CACL_VALUE_CHANGE.
Here only some characteristics are flowing and not all.
I even tried to debug the standard program but again could not get any clue.
Very thankful to anyone who could help me.
Cheers,
Ravi Kirantry using BADI - MB_MIGO_BADI
-
Batch status updating using function module BAPI_BATCH_SAVE_REPLICA
Hi,
I want to change batch status after creating the outbound delivery through inbound idoc, i was able to create delivery , but after creation, i should update the batch status using function module BAPI_BATCH_SAVE_REPLICA, but i was unable to execute this function module correctly,
Can any one provide details like what are minimum things that are required to update the batch status using this function module.
In my system batches are defined at plant level.
Please let me know the solution if any one knows this.
With regards.
P.Prasanth.Look at BAPI_INCOMINGINVOICE_POST
Rob -
Populating Batch Characteristics values in MIGO
Dear All,
I have a requirement to populate MIGO Quantity in one of the Characteristic of the batch. If this is not possible then i need to check whethere that characteristic value and MIGO Quantity for Each item are same or not ....
I have got certain exit EXIT_SAPMM07M_004...But this exit is not getting called .. I have put break point and checked but not working.
Can you please help me out in this exit or if you have any other place where i can put my checks.
Regards
BhavinHello,
You can try with the following BADIs.
These may be helpful for your requirement.
MB_QUAN_CHECK_BADI
MB_CHECK_LINE_BADI
MB_STOR_LOC_BADI_GTS
DERIVATION
Regards
Arindam -
Copying Batch Characteristics Value from Standard SAP Table Field
Dear Experts,
1. While creating a user-defined Batch Characteristics 'CREATED_BY' using ct04, on the Additional Data tab, I filled the following fields as follows: Table Name = MCHA, Field Name =ERNAM.
'CREATED_BY' was then assigned to a batch Class TRIMMED (of class type 022).
TRIMMED was assigned to a batch managed material ADE245DD.
After posting co15 (confirmation of production order) for material ADE245DD, the value in table MCHA & field ERNAM is automatically copied into the Batch Characteristics value field of u2018CREATED_BYu2019 for the generated batch.
2. But I am unable to achieve the same result when I create another Batch Characteristic with similar settings in the Additional Data tab as follows: Table Name = MARC, Field Name = DISPO.
After doing co15, the value stored in table MARC and field DISPO does not get copied into the Batch Characteristics value.
Please what do I need to do in Scenario 2 above to achieve the same result as in Scenario1?
RegardsHi,
Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
Cheers
Dheeraj -
Update BATCH of components in MIGO using WHSCON idoc.
hi,
we are using WHSCON idoc for doing goods receipt of inbound delivery.
presently the batch of the main material gets updated using WHSCON idoc, but the batch of the components does not get updated.
could you please help me with some enhancement options to update the BATCH of the components also using WHSCON idoc?Hi Rahul Gopinath
The WHSCON/SHPCON idoc works similar to the TO confirmation so it is updating the batch through picking confirmation. Can you flag the picking relevance for the respective item category so the batch will be updated?
Check the flag 'Relevant for Picking' field in transaction OVLP for the relevant item category.
I hope this can help. -
MIGO : Error when copying batch characteristics
Hi,
I've some problem on MIGO Tcode when i want to copy the batch characteristics.
I work with class type 022.
I create a GR from PO. (movement 101). My item line contained sub-items (with BOM). So i would like to copy the batch characteristics in reference of component batch values.
I've implemented the UE "EXIT_SAPMM07M_004".
Case 1 : In this UE, i fill a standard internal table (named VALUES) with the characteristics names and values i want to resume.
and i use the FM 'CLFM_OBJECT_CLASSIFICATION' with the father and the son batch information in UE, i go to MSC3n and all characteristics are copied (even those unwanted). But when i go to MCS2N, i retrieve the expected values.
Case 2 : Only use the internal table, but some characteristics are not maintained.
Case 3 : Only use the FM, but no characteristics are reversed.
Does anyone could help me ?
Thanks in advance
Best regards.Hi,
Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
Cheers
Dheeraj -
BAPI to update batch characteristics
Hi,
We have a requirement to update batch characteristics in SAP. I used the VB_BATCH_CHANGE to update the batch characteristics. Below is my code. After the call, I don't get any error from this BAPI/RFC, but batch chararacteristcis values are not updated. Any ideas?
FUNCTION Z_VB_CHANGE_BATCH.
*"*"Global Interface:
*" IMPORTING
*" VALUE(YMCHA) LIKE MCHA STRUCTURE MCHA
*" VALUE(YUPDMCHA) LIKE UPDMCHA STRUCTURE UPDMCHA OPTIONAL
*" VALUE(CHANGE_LGORT) LIKE MCHB-LGORT OPTIONAL
*" VALUE(BYPASS_LOCK) LIKE AM07M-XSELK DEFAULT SPACE
*" VALUE(BYPASS_POST) LIKE AM07M-XSELK DEFAULT SPACE
*" VALUE(X_BNCOM) LIKE BNCOM STRUCTURE BNCOM OPTIONAL
*" VALUE(KZCLA) LIKE T156-KZCLA OPTIONAL
*" VALUE(XKCFC) LIKE T156-XKCFC OPTIONAL
*" VALUE(CLASS) LIKE KLAH-CLASS OPTIONAL
*" VALUE(NO_CHECK_OF_QM_CHAR) LIKE AM07M-XSELK DEFAULT SPACE
*" VALUE(REF_MATNR) LIKE MCHA-MATNR OPTIONAL
*" VALUE(REF_CHARG) LIKE MCHA-CHARG OPTIONAL
*" VALUE(REF_WERKS) LIKE MCHA-WERKS OPTIONAL
*" VALUE(SET_OLD_BATCH) LIKE AM07M-XSELK DEFAULT 'X'
*" VALUE(BUFFER_REFRESH) LIKE AM07M-XSELK OPTIONAL
*" VALUE(NO_CHANGE_DOCUMENT) LIKE AM07M-XSELK DEFAULT SPACE
*" VALUE(GRUND) LIKE MSEG-GRUND DEFAULT SPACE
*" VALUE(NO_CFC_CALLS) LIKE AM07M-XSELK DEFAULT SPACE
*" VALUE(BATCH_DEL_FLAGS) LIKE BATCHDELFLG STRUCTURE BATCHDELFLG
*" DEFAULT SPACE
*" VALUE(SEND_SYS) TYPE LOGSYS DEFAULT SPACE
*" EXPORTING
*" VALUE(YMCHA) LIKE MCHA STRUCTURE MCHA
*" VALUE(EMKPF) LIKE EMKPF STRUCTURE EMKPF
*" TABLES
*" CHAR_OF_BATCH STRUCTURE CLBATCH OPTIONAL
*" CHANGED_BATCH STRUCTURE MCHA OPTIONAL
*" ZIMSEG STRUCTURE IMSEG OPTIONAL
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
*" EXCEPTIONS
*" NO_MATERIAL
*" NO_BATCH
*" NO_PLANT
*" MATERIAL_NOT_FOUND
*" PLANT_NOT_FOUND
*" LOCK_ON_MATERIAL
*" LOCK_ON_PLANT
*" LOCK_ON_BATCH
*" LOCK_SYSTEM_ERROR
*" NO_AUTHORITY
*" BATCH_NOT_EXIST
*" NO_CLASS
*" ERROR_IN_CLASSIFICATION
*" ERROR_IN_VALUATION_CHANGE
DATA: F_TRANSACTION_ID LIKE ARFCTID.
CALL FUNCTION 'TRANSACTION_BEGIN'
IMPORTING
TRANSACTION_ID = F_TRANSACTION_ID.
CALL FUNCTION 'VB_CHANGE_BATCH'
EXPORTING
YMCHA = YMCHA
YUPDMCHA = YUPDMCHA
CHANGE_LGORT = CHANGE_LGORT
BYPASS_LOCK = BYPASS_LOCK
BYPASS_POST = BYPASS_POST
X_BNCOM = X_BNCOM
KZCLA = KZCLA
XKCFC = XKCFC
CLASS = CLASS
NO_CHECK_OF_QM_CHAR = NO_CHECK_OF_QM_CHAR
REF_MATNR = REF_MATNR
REF_CHARG = REF_CHARG
REF_WERKS = REF_WERKS
SET_OLD_BATCH = SET_OLD_BATCH
BUFFER_REFRESH = BUFFER_REFRESH
NO_CHANGE_DOCUMENT = NO_CHANGE_DOCUMENT
GRUND = GRUND
NO_CFC_CALLS = NO_CFC_CALLS
BATCH_DEL_FLAGS = BATCH_DEL_FLAGS
SEND_SYS = SEND_SYS
IMPORTING
YMCHA = YMCHA
EMKPF = EMKPF
TABLES
CHAR_OF_BATCH = CHAR_OF_BATCH
CHANGED_BATCH = CHANGED_BATCH
ZIMSEG = ZIMSEG
EXCEPTIONS
NO_MATERIAL = 1
NO_BATCH = 2
NO_PLANT = 3
MATERIAL_NOT_FOUND = 4
PLANT_NOT_FOUND = 5
LOCK_ON_MATERIAL = 6
LOCK_ON_PLANT = 7
LOCK_ON_BATCH = 8
LOCK_SYSTEM_ERROR = 9
NO_AUTHORITY = 10
BATCH_NOT_EXIST = 11
NO_CLASS = 12
ERROR_IN_CLASSIFICATION = 13
ERROR_IN_VALUATION_CHANGE = 14
OTHERS = 15.
IF SY-SUBRC IS INITIAL.
CALL FUNCTION 'TRANSACTION_END'
EXPORTING
TRANSACTION_ID = F_TRANSACTION_ID
EXCEPTIONS
OTHERS = 1.
ELSE.
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
TYPE = SY-MSGTY
CL = SY-MSGID
NUMBER = SY-MSGNO
PAR1 = SY-MSGV1
PAR2 = SY-MSGV2
PAR3 = SY-MSGV3
PAR4 = SY-MSGV4
IMPORTING
RETURN = RETURN.
APPEND RETURN.
CALL FUNCTION 'TRANSACTION_ABORT'
EXPORTING
TRANSACTION_ID = F_TRANSACTION_ID
EXCEPTIONS
OTHERS = 1.
EXIT.
ENDIF.
ENDFUNCTION.
Thanks,
SaraHi Subramani,
Thanks for your response.
BAPI_BATCH_CREATE will not work for us, because we are trying to update batch, not creating new batch.
Also, The function TRANSACTION_END, I am calling in the code is responsible for committing the transaction.
Thanks,
Sara -
MBCFC004 problem with updation of batch characteristics
hi,
I am facing a problem in updattion of batch charactristics using exit MBCFC004.. EXIT_SAPMM07M_004
in user exit interface EXIT_SAPMM07M_004 there is one table parameter 'Values' which is used to update batch characteristics.
i am able to add characteristics values but not able to delete or change batch characteristics.
please helpClass type 023 is classified as a type which allows multiple object types.
For this class you may have to use 'BAPI_OBJCL_CHANGE_KEY' (check out its code).
The key relationships for such class types are maintained in table INOB and can be fetched using the BAPI 'BAPI_OBJCL_GET_KEY_OF_OBJECT' .
Hope this helps.
Thanks and Regards,
Srihari -
Tranfering data from MIGO to Batch Characteristics
Hi,
Please let me know the procedure to tranfer the MIGO Field values to Batch Characteristics. Example Manufacturer name maintained manually in BADI field is required to tranfer to Batch Characteristics.
Regards
MohanDear,
You can use the CACL_VALUE_CHANGE badi
BAPI_CHARACT_CHANGE may its help full to u.
SAPNote 519303 - FAQ: Goods movement with Transaction MIGO
explains that the user has to activly click the classification button in the batch tab.
Please refer this laos,
https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z
Regards,
R.Brahmankar -
MIGO: Searching batches via classes using search help MCH1 (incl. SH MCH1C)
Hello everyone,
I have a strange issue in MIGO on our Development server, and was wondering if anyone else had ever encountered similar problems.
In MIGO, when we choose "Goods issue", and "Other", we enter the material number, plant and storage location. After pressing ENTER, the "Batch" tab appears allowing us to enter the batch. Now, searching for the batch creates a problem, and here is the process:
1. Press F4 on the "Batch" field - this envokes the Search help procedure.
2. Enter the class and the class type on the next screen and press ENTER. A subscreen appears with the class characteristics.
3. Without filling out any of the characteristics, press "Find in initial class" button.
In the bottom part of the screen, the system creates a split to display the results in a form of ALV list, BUT no results are ever displayed.
Here is another piece of information which might be useful. The version of the DEV installation is ECC 6.0, and the patch level for Logistics and Accounting is SAPKH60009. The patch level of the corresponding IDES system is SAPKH60006, and in the IDES system we have no problems with this search through MIGO.
This tells me that there might be a problem caused by the upgrade - but that's not sure, and that's why I ask if anyone else had run into such an issue.
I am an ABAPer, so I approached this problem first by comparing the search helps of the two versions. The collective SHelp is MCH1, but searching batches via classes uses the elementary SHelp MCH1C. I found some differences in the elementary SHelps' function exits, these are included in the SAP note 1020405, and have no effect on the functionality. I even tried "downgrading", and using the search help from IDES, but still got no results. I decided that this was not causing the problem.
Can anybody suggest what might be the cause of the problem? Our MM people tell me there is no customizing for this process, and that it worked on IDES from the very beginning without any problems.
Thanks in advance!
Srdj -
Batch not updating while creating delivery using bapi
Hi
I have used following bapi to create delivery BAPI_DELIVERYPROCESSING_EXEC and passed the following parameters into bapi
lt_request-document_type = 'A'.
lt_request-document_numb = deltab-vbeln.
lt_request-document_item = deltab-posnr.
lt_request-batch = deltab-charg.
lt_request-material = deltab-matnr.
lt_request-plant = '3200'.
lt_request-quantity_base__uom = deltab-kwmeng.
lt_request-delivery_date = sy-datum.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
EXPORTING
DELIVERY_EXTEND =
TECHN_CONTROL =
TABLES
request = lt_request
createditems = lt_createditems
return = lt_return.
here i am able to create delivery successfully but the batch which i passed in bapi is not getting updated in vl02n to do PGI.
again i need to go to vl02n and give batch and quanitty manually to do PGI.is there anyway that batch gets updated in vl02n also.
Regards,
Venkat.Hi
My answer is pure assumption.
Please check the following OSS notes
Note 758810 - BAPI_PO_CHANGE vendor batch and batch not visible
Note 1230268 - Field Vendor Batch never filled for PO BAPIs
Please take help from BASIS and SAP, before implementing the OSS note
Regards
Madhan D -
Updated Batch Characteristics on Order Release is not available in MSC3N
Hi All,
I have maintained the Class (023) and characteristics for Finished Material. When I am releasing the production order, I am assigning the values for batch characteristics (Custom defined characteristic) after that, If I go and see the corresponding batch in display mode (MSC3N) the value for the characteristic is not updated (entered value not available its blank).
u2022 Automatic batch creation for the production order during the order releasing is happening exactly as per the configuration but the entered value for the characteristic is not available for the corresponding batch in change as well as display mode (MSC2N/MSC3N)
Please guide to solve out this issue
Thanks in AdvanceHi Sanil,
Thanks for your speedy reply.
For me characteristics and all available as per the expectations but the updated value for the characteristcs on release is not sticking with the batch.
Please guide me to solve out this issue.
Thanks in Advance -
How to update batch (LIPS-CHARG) using FM WS_DELIVERY_UPDATE
Hi guys,
I posted a question regarding a function module here:
How to update batch (LIPS-CHARG) using FM WS_DELIVERY_UPDATE
If you have experience about this FM, kindly visit the link and share your wisdom. Thanks.
Regards,
CarlHi guys,
I posted a question regarding a function module here:
How to update batch (LIPS-CHARG) using FM WS_DELIVERY_UPDATE
If you have experience about this FM, kindly visit the link and share your wisdom. Thanks.
Regards,
Carl -
MIGO: goods reception of batches into "Batch in Restricted-Use Stock"
Hello,
Is it possible to use MIGO for the reception of goods with this requirement?
1 - The batch numbers already exist in the destination;
2 - The batches are received with Restricted-Use Stock;
In standard use, MIGO only enables the "Restricted-Use" checkbox for new batches.
Any clues?
Regards,
JoaoNot necessary anymore.
Maybe you are looking for
-
Mid 2010 Macbook Pro +1000 Euro repair costs (no external marks)
Hello together, I am looking out for some advise. My mid 2010 Macbook Pro 15inch with an anti glare display just got a new logic board. I paid more than 500 Euro at a Premium Reseller called mStore in Kiel (Germany) to replace it, because the display
-
I want to know why my App Store is not working, and how to fix it?
I have an Ipod Touch 4th generation. Recently when i go to download an app it wont load and I will get a message saying that it can't conncet with the app store. I have tried turning my ipod on and off, and turning the wifi on and off but nothing is
-
SOAP receiver adapter digest authentization
Hallo, I have scenario with SOAP receiver adapter configured as follow: Adapter Type: SOAP Transport Protocol: HTTP Message Protocol: SOAP 1.1 Adapter Engine: Integration Serer Target URL: http://localhost:8099/webservices/test_v1_1_2 Configure User
-
What cable connects a guitar to my iMac Yosemite?
I just want to learn to play guitar. How can I connect a guitar to my iMac. Help doesn't specify a cable and Im not sure what brand will be compatible.
-
How to create a tax code?
Hi Experts, Please help me to create the Tax code step by step. CENVATECSHSECS+13.5 % CST (NON CREDITABLE) Regards, Sumeya