2022 Jun 20 8:15 AM
Dear colleagues,
Material is available in 2 plants (for example, A and B). User goes to MM02 (plant A) and changes a field (f1) on the tab Basic Data (table MARA). But this field (f1) affects on a plant-field (f2) for both plants (table MARC). How can we update the field (f2) for both plants automatically?
Best regards,
Dmitry
There are many solutions, but this one is relatively simple and robust (in fact, a transaction like MM02 can only lock one MARC record at a time, so you'd have to twist it to get it to do the job...)
2022 Jun 20 9:01 AM
2022 Jun 20 9:10 AM
When do I have to call it? in V2 process after saving material?
2022 Jun 20 9:23 AM
Can you please explain
1. Are you using MM02?
2. Which fields - you are trying to change?
2022 Jun 20 9:55 AM
1. yes, we use MM02
2. we change MARA-Zfield1 which trigger a change MARC-Zfield2 for all plants. how to update MARC-Zfield2 after saving MM02?
2022 Jun 28 2:17 PM
Did you look for a BAdI (such as those of Enh. spot ES_SAPLMGMU) an Exit (such as EXIT_SAPLMGMU_001) or a BTE (such as 00001250) to trigger an execution of (example) BAPI_MATERIAL_GETLIST, BAPI_MATERIAL_GET_DETAIL, BAPI_MATERIAL_SAVEDATA, BAPI_TRANSATION_COMMIT/ROLLBACK wrapped in a RFC enabled FM called in background task/unit to change/adapt related records after the transaction commit?
2022 Jun 28 2:58 PM
2022 Jun 28 5:00 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |