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: 

Default quantity on sales order - Via user-exit, Badi...

Former Member
0 Kudos

Hallo everybody,

do you know if it is possible to put a default quantity on a position of a sales order?

That is: user insert material code, does not input any quantity --> default 1Pc..

Thank you very much!

Edited by: Mike Farina on Jan 6, 2008 8:38 PM

Edited by: Mike Farina on Jan 6, 2008 8:57 PM

Please help me.... points, points, points...

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try User Exit V45S0001 - EXIT_SAPFV45S_002 (Change Sales Document Using Configuration)

Also there is a BADI BADI_SD_SALES_ITEM - Enhancements for Sales Order Processing (Items)

Hope this helps.

Let me know if you need any more information

Vinodh Balakrishnan

3 REPLIES 3

Former Member
0 Kudos

Try User Exit V45S0001 - EXIT_SAPFV45S_002 (Change Sales Document Using Configuration)

Also there is a BADI BADI_SD_SALES_ITEM - Enhancements for Sales Order Processing (Items)

Hope this helps.

Let me know if you need any more information

Vinodh Balakrishnan

0 Kudos

Hi Vinodh,

thanks for you help.

BADI_SD_SALES_ITEM is for internal use only...

while V45S0001 is useful just with configuration.

Former Member
0 Kudos

Hi,

In program MV45AFZZ use the user exit :

FORM USEREXIT_MOVE_FIELD_TO_VBAP.

there write simple code like this.

IF vbap-kwmeng IS INITIAL.

vbap-kwmeng = '1'.

ENDIF.

Rewards points if helpful.

Regards,

Srinivas Ch