cancel
Showing results for 
Search instead for 
Did you mean: 

How to add an item automatically to a sales document

javed_ihsan
Active Participant
0 Kudos

Hi

My requirement is that whenever I create a sales document one of the item (material) should be added automically to the sales document. How can I achieve this.

Thanks for your help

Regards

Javed

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member204513
Active Contributor
0 Kudos

Hi Javed ,

Go to Item praposal option you will be able to get items automatically for the specific customer but you need to maintain the data in the transaction VA51 there you can maintain the item quantity also.

After creation of Itempraposal you click on propose items icon while creating sales order items and quantity will come automatically.

I hope it will help,

Regards,

Murali.

javed_ihsan
Active Participant
0 Kudos

Hi Murali

Thanks for your reply but basically I need an option where the system automically add an item without any user inputs and the settings should not be based on any customer but I need to set against a sales document type. What I mean is where I am creating a sales document for those sales document types system should automatically add a specific product code.

Regards

Javed

former_member183879
Active Contributor
0 Kudos

Hi Javed,

If this is the requirement and you dont want to do it through item proposal etc, you can very well do it through transaction variant using tcode SHD0. Here you can populate the value of the material, grey it out and create a transaction variant. Then assign this transaction variant to the document type in VOV8. Now whenever you want to create that document type, the material code will be automatically populated.

For Transaction variants, you can go through the following links.

http://www.sap-basis-abap.com/sapbs010.htm

http://husnie.wordpress.com/2007/12/21/changing-the-sap-standard-transaction-variant/

http://www.sap-basis-abap.com/sapbs010.htm

The 2nd link was especially good.