08-19-2010 3:47 PM
Hi Group,
I was trying to run the tcode 'MIGO_GR' and want to see the field value Country of Origin(HERKR) in the display batch tcode 'MSC3N', but I am not able to see this value.
the thing is that, the data comes as Idoc with the batch number, and in this batch there was no info about the country of origin (HERKR) and hence when I check in MSC3N, I could not see the value for Country of origin.
Could you please let me know the enhancement to be used to populate this value(HERKR) into the Batch that gets created (thru tcode 'MIGO_GR')? and also please let me know the table that gets updated?
thanks for your help in advance.
Regards,
Vishnu.
12-24-2010 8:40 AM
Hi Group,
I resolved the issue myself and the solution is as under:
When we run the transaction 'MIGO" or "MIGO_GR", internally the system generates a Batch, which can be changed by the User at his interest to any number he likes.
And when this Batch gets created, we can have a Userexit (EXIT_SAPMM07M_003) called to update the Country of Origin (HERKL) as under:
if XXXX - Condtion here....
Populate the field HERKL in the structure BATCH_MASTER_DATA with the desired value
endif.
This will resolve the issue and we can view this Country of Origin in the transaction MSC3N.
Regards,
Vishnu.
12-24-2010 8:41 AM
Hi Group,
I resolved the issue myself and the solution is as under:
When we run the transaction 'MIGO" or "MIGO_GR", internally the system generates a Batch, which can be changed by the User at his interest to any number he likes.
And when this Batch gets created, we can have a Userexit (EXIT_SAPMM07M_003) called to update the Country of Origin (HERKL) as under:
if XXXX - Condtion here....
Populate the field HERKL in the structure BATCH_MASTER_DATA with the desired value
endif.
This will resolve the issue and we can view this Country of Origin in the transaction MSC3N.
Regards,
Vishnu.
08-23-2019 1:39 PM
What if the batch is existing already and we need to change the country of origin field from MIGO_GR. I need a scenario for goods receipt against production order.
Please help