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: 

How to pass default Material no. and Quantity in Sales Item of Tcode : VA01 SAP ABAP ?

former_member396057
Participant
0 Kudos
494

Hi,

In VA01, After entering order type, sales organization, Distribution channel, Division and then click on enter, it shows the Sales Header and Item details.

I want to pass the default material number = MAT003 and Quantity = 20. Please find the attached screenshot. How to do through ABAP ?

va01.png

Thanks,

Shabbir

4 REPLIES 4

Neeraj_Jain
Active Contributor
0 Kudos
425

Hello shabbir.ahmed3,

To make a sale order sold to party/ship to party is necessary. One question for each customer you want to default material# and qty with same price etc.? Please explain your business scenario to understand moe on your requirement.

https://blogs.sap.com/2015/06/02/add-line-items-automatically-in-va01-sales-order-create/

Regards,

Neeraj Jain

Best Regards,
Neeraj Jain

0 Kudos
425

Hi Neeraj,

Thanks for the reply. For one particular user we want to default Material number and quantity.We will do harcode of user or TMG for the user when he is using Tcode : VA01. However this user is always entering the same Material number and quanity for all the customers.

How to pass default values to Material number and quantity in VA01 ?

Thanks,

Shabbir

0 Kudos
425

Have updated the answer with a SAP Blog. I believe it will helps to you. Confirm if it's works for you.

Or

Also there is a standard product proposal functionality in SD. Please connect with your SD Consultant to maintain condition for this in VA51.

Regards, Neeraj Jain

Best Regards,
Neeraj Jain

raymond_giuseppi
Active Contributor
0 Kudos
425

In which context: always, when a specific program call VA01, dynamic or fixed values?

(Answer may vary from Customizing , batch input, to passing parameters read within one of the SD user exit.)