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 Determination in Process Order Creation - COR1

Former Member
0 Likes
1,775

Hi All

I have a requirement wherein i have to map the standard sap methodology of batch determination that happens in a process order. Currently, in the tcode COR1, whenever a user selects a component material and triggers batch determination, sap determines a list of eligible batches based on the search strategy & condition records

defined in the config.

What i want to know is that whether this list of batches can be generated in a custom program, using some standard FM, BAPI etc? or if i have to manually implement the logic, how to go about incorporating the search strategy & condition records in the logic.

Any pointers will be appreciated.

Regards

Ravish Garg

Hi All

I have a requirement wherein i have to map the standard sap methodology of batch determination that happens in a process order. Currently, in the tcode COR1, whenever a user selects a component material and triggers batch determination, sap determines a list of eligible batches based on the search strategy & condition records

defined in the config.

What i want to know is that whether this list of batches can be generated in a custom program, using some standard FM, BAPI etc? or if i have to manually implement the logic, how to go about incorporating the search strategy & condition records in the logic.

Any pointers will be appreciated.

Regards

Ravish Garg

6 REPLIES 6
Read only

Former Member
0 Likes
1,410

Any pointers?????????

Read only

0 Likes
1,410

Hi Ravi ,

i think we can get that Logic of SAP into Z programs , search for FMs like tis

CO_WB_BATCH_DETERMINATION

regards

Prabhu

Read only

Former Member
0 Likes
1,410

Hi All

I have mapped the standard SAP logic into my Z program by using a Z copy of VB_BATCH_DETERMINATION.

Read only

0 Likes
1,410

Hi Ravish,

Can I use this FM 'VB_BATCH_DETERMINATION' in evaluating all new batches and comparing the batch results against the Batch Search Strategy assigned to the respective material code?

Thanks in advance.

Rgds,

Madhuri

Read only

0 Likes
1,410

HI Madhuri

It is not directly possible to use this FM to to evaluate all new batches and compare the Batch results with the batch search strategy.

To be able to use this FM properly, its necessary to pass the correct structures to its importing parameters, which can be determined using 2-3 FM's before this and fetching data from the standard tables.

Cheers

Ravish

Read only

0 Likes
1,410

Hi Ravish,

thanks for the reply.

Will you please reply me for the thread I had post, those FMs which are to used for this one?

My post is "Batch determination process in SD- Delivery: any Function module?"

rgds,

MAdhuri