cancel
Showing results for 
Search instead for 
Did you mean: 

Required inputs on (Create Schedule Line) (Change Schedule Line)

0 Kudos

*---------------------------------------------------------------------*
* FORM USEREXIT_MOVE_FIELD_TO_VBEP *
*---------------------------------------------------------------------*
* This userexit can be used to move some fields into the sales *
* dokument schedule line workaerea VBEP *
* *
* SVBEP-TABIX = 0: Create schedule line *
* SVBEP-TABIX > 0: Change schedule line *
* *
* This form is called at the end of form VBEP_FUELLEN. *
* *
*---------------------------------------------------------------------*

****************************************************************************************

I am creating Sales Order (Va01) with below inputs :

Header Details : Order Type , Sales Org , Distribution channel , Division , Sold to Party , Ship to Party , Requested Delivery date

Item details : Material No , Qty.

After providing the above details and I clicked on "Enter" Key , But my order consists of 2 schedule line items are getting populated . But as per Exit :

(FORM USEREXIT_MOVE_FIELD_TO_VBEP) system creates Schedule item when

SVBEP-TABIX = 0 , when SVBEP-TABIX > 0 - system Change schedule line .

Here my problem is about system is creating 2 schedule line item instead of 1 Schedule line item. Please tell when is the variable sets to SVBEP-TABIX = 0 and

SVBEP-TABIX > 0. it would be great if we have that particular perform or any code snippet. Please help me out to sort this issue.

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

mmcisme1
Active Contributor
0 Kudos

Usually there are two schedule lines when there isn't enough inventory to confirm the schedule line. Once it is confirmed the second line will go away.