Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Routine in OVA8 not working properly

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.

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question