cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction for Defaulting values in Sales order

Former Member
0 Kudos

Hi,

Is there a transaction for defaulting values in the sales order. That is for example, when an order is created the customer number gets defaulted bsaed on a setting.

Kind Regards

Chakradhar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

ys

Former Member
0 Kudos

hello, friend.

i seem to recall that we created a dummy sales order with pre-determined materials and quantities (and conditions). the copy controls between this dummy order and our actual sales order were for the document flow to be not updated.

we create a sales order with reference to this dummy order and all values copied. we then change the sold-to party and the ordered materials with the actual quantities.

of course, you will have to test if this suits your requirements.

hope this helped.

regards.

Former Member
0 Kudos

Hi Paturi,

To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located

in enhancement no V45A0002 . Before we can choose the exit we have to

create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components . In the components you will see the

exit EXIT_SAPMV45A_002 . This exit is used for our purpose.

Double clicking on this exit will takes us to function builder (SE37) . This

function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is E_KUNNR

of type KNA1-KUNNR i.e if we move the desired customer name to this

structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order.

This function also contains a customer include ZXVVA04 . This include

will be used to write our custom code .

Double clicking on this include and it will prompt us that this include does not exists do you want to create this object ,select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.

e.g. E_KUNNR = 301.

Activate the include and Activate the project. Now when ever the SALES ORDER will be created , sold-to-party field will come up with a predefined

customer .

Reward points pls.

Regards,

Govind.

former_member204513
Active Contributor
0 Kudos

Hi Chakri,

No I don't think that type of settings available in the STD SAP.

You need to go for User Exits.

Some provisions we have in STD SAP

1.If you want to get items defaultly you can get through the Itempraposal (VA51).

2.If you create sales order with reference document you will get the data defaultly from the reference document.

IF IAM WRONG PLEASE CORRECT ME

Thanks,

Murali.