‎2008 Oct 24 9:12 PM
Hi everybody, I maked a transaction for goods receipts for a Production Order, in this transaction I check if the material is batch managed or not. I do it with a select statement to the mara table field MARA-XCHPF. But I found that there are materials that have this field blanked and when you try to post a movement the BAPI shows a message that ask for the batch. I noted that these transaction have MARC-XCHAR filed with 'X', but in the material master data the field MARA-XCHPF is blanked. How is it possible? and How can I do a good check? Regards.
‎2008 Oct 26 12:31 PM
may be the material is batch managed at plant level . in how many plants the material maintained. are all the plants the XCHAR/XCHPF marked as 'X' (i.e Batch managed) check it once.
‎2008 Oct 26 12:25 PM
With variables sy-batch or sy-binpt you can know if you are executing a BDC session
‎2008 Oct 26 12:31 PM
may be the material is batch managed at plant level . in how many plants the material maintained. are all the plants the XCHAR/XCHPF marked as 'X' (i.e Batch managed) check it once.
‎2008 Oct 28 6:13 PM