Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Batch Management.

Former Member
0 Likes
918

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
759

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.

3 REPLIES 3
Read only

Former Member
0 Likes
759

With variables sy-batch or sy-binpt you can know if you are executing a BDC session

Read only

Former Member
0 Likes
760

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.

Read only

Former Member
0 Likes
759

.