‎2007 Jun 04 8:57 AM
Hi all,
I've an requirement to check the valuation type when creating a batch with MSC1N.
I've tried using various user exits, especially EXIT_SAPLV01Z_004, ZXVBZU04.
It is not called in MSC1N. What's wrong is there?
(Another exit EXIT_SAPLV01Z_006 in MSC2N > ZXVBZU13 can be called with MSC2N.)
Thanks.
‎2007 Jun 04 9:13 AM
Hope you created the customer project (CMOD) and activated it before checking the exit.
Krishna
‎2007 Jun 04 10:03 AM
sure, I've activated it in CMOD.....
but just donno why it is not called...
And I found that there is a flag called 'no_cfc_calls' in FM VB_CREATE_BATCH, it always set to 'X' that prevents the calling of the user exit.
Just donno how to reset it to '' so that user exit could be called.
‎2007 Jun 05 9:45 AM
and I tried to modify user exit EXIT_SAPLV01Z_014 for batch valuation. This is called in function VB_CREATE_BATCH. My problem is that there is a flag - no_cfc_calls - that is passed to the function that prevents it from calling the user exit. I've tried tracing this back thru all the calling programs, but I always dead end. Is this flag maintained in a table somewhere?
‎2007 Jun 07 9:37 AM
hi, this flag is set in the program LCHRGF02 and at form save_batch.
krishna
‎2007 Dec 13 9:48 AM
Hi
I have the same problem.
Do you have already a solution for this problem ???
Best Regards
Jo
‎2011 Aug 11 4:58 AM
Hello,
I am facing the same issue I want to update a date 6 field while the user create a Bacth thurogh MSC1n.
I am using the EXIT_SAPLV01Z_013 to update the same.
But This Exit is not called as there is a condition which fails while this exit is called thru FM VB_CREATE_BATCH.
the field NO_CFC_CALLS is set to "X" in Include LCHRGF02.
CALL FUNCTION 'VB_CREATE_BATCH'
EXPORTING
ymcha = akt_mchx
new_lgort = dfbatch-lgort
bypass_lock = 'X'
kzcla = ' '
xkcfc = ' '
no_check_of_qm_char = 'X'
no_change_document = ' '
check_external = space
check_customer = space
no_cfc_calls = 'X'.
Can you please help how do we resolve this issue i am using SAP 4.7.
Thanks
Solanki Ritesh
‎2011 Nov 16 9:14 PM
Enhancement SAPLV1ZN is activated and NO_CFC_CALLS is set initial if the goods movement has "Extended Calssification via Customer Function Call" set.
This is done in the IMG under Lgistics General > Batch Management > Batch Valuation > Valuation for Goods Movements in IM > Activate...
Took some time for me to find it...