Application Development 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: 

Custom Routine in OVA8 not working properly

kishorsarode
Explorer
0 Kudos

Previously We have changed so credit management from confirm quantity to order quantity it was working fine. Now we have implemented custom routine in ova8 for checking cb only if so value changes,  and it should not go into cb if other than so value unchanged .Now the problem is while we change batch  or quantity at item level some times it works and sometime does not work properly.

code in routine:

IF XVBAK-NETWR LE YVBAK-NETWR.

*   no credit checks, if old net value not graeter the new net value,

*   but status are not reset


     MOVE CHARX TO BYPASS-SECURITY.

     MOVE CHARX TO BYPASS-STATIC_LIMIT.

     MOVE CHARX TO BYPASS-DYNAMIC_LIMIT.

     MOVE CHARX TO BYPASS-DOCUMENTVALUE.

     MOVE CHARX TO BYPASS-CRITICAL_FIELDS.

     MOVE CHARX TO BYPASS-REVIEWDATE.

     MOVE CHARX TO BYPASS-OPEN_ITEMS.

     MOVE CHARX TO BYPASS-OLDEST_OP.

     MOVE CHARX TO BYPASS-DUNNING_LEVEL.

     MOVE CHARX TO BYPASS-USER1.

     MOVE CHARX TO BYPASS-USER2.

     MOVE CHARX TO BYPASS-USER3.

     move charx to bypass-CREDIT_MANAGEMENT.

     EXIT.

     EXIT.

   ENDIF.

1 ACCEPTED SOLUTION

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

You are using NETWR as a filter. Please, check SAP Note 201830 - Calculation of the net price of an item for a proper understanding.

Because I believe you have run RV80HGEN. In the other hand, check following notes

SAP Note 326560 - Various problems when using VOFM functions

SAP Note 327220 - VOFM function and its objects

Check with your SD Consultant the settings in OVA8. Check also SAP Note 18613 - Checklist for Credit Management.

I hope this helps you

Regards

Eduardo

3 REPLIES 3

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

You are using NETWR as a filter. Please, check SAP Note 201830 - Calculation of the net price of an item for a proper understanding.

Because I believe you have run RV80HGEN. In the other hand, check following notes

SAP Note 326560 - Various problems when using VOFM functions

SAP Note 327220 - VOFM function and its objects

Check with your SD Consultant the settings in OVA8. Check also SAP Note 18613 - Checklist for Credit Management.

I hope this helps you

Regards

Eduardo

0 Kudos

Hi ,

thanks for the reply, but after studying it , got the routine for changing credit control on order quantity and we have solved the problem.

Former Member
0 Kudos

can I have the routine?