cancel
Showing results for 
Search instead for 
Did you mean: 

Substitute codes in sales order.

former_member232086
Participant
0 Kudos

Hi Team,

Our sales team needs one simple settings in sales order (Va01) transaction…ie, while creating the sales order for an item, system should suggest the alternate items for the same item .

Is this setting possible in ECC??

Thanks for the help!

Regards,

  Vijesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Explore the material substitution functionality.  Search the forum or Google it for more details on this topic.

G. Lakshmipathi

former_member232086
Participant
0 Kudos

Hi,

We just need one message only…no need to replace the new material with old one…

Can we use VB11 for the same?

Regards,

  Vijesh

phanikumar_v3
Active Contributor
0 Kudos

As mentioned by you no replacement of Material???then Why only Message???

can you please brief your requirement with more details.

Phanikumar

former_member232086
Participant
0 Kudos

only for the information to the customer service team that there are other products available and if they need, they can replace the order to any of these codes..

there is no need to replace immediately ....

thanks,

Vijesh

former_member232086
Participant
0 Kudos

Please help...

Former Member
0 Kudos

Hi Vijesh,

Since this is just an information message that you want, you can save the replacement materials in a Z-table and then get help from your ABAPer to display the contents of the Z-table (based on the material from line item) as an Information message.

If required, the ABAP code can also be written to provide the functionality as below:

1. For each line item, it will look for all the options in the Z-table.

2. If the alteranatives are found, it can display the Material code, Name, Current Qty in the selected plant and then provide the 2 buttons . ignore or Replace

3. If the user presses Ignore, then nothing will be done

4. if user presses Replace, the Old line item will be replaced by the new material.

The code can be restricted to get executed only when the order is being created in foreground i.e. the code will not affect the background jobs for order creation.

The code will be written in MV45AFZZ and mostly the form will be UserExit_Save_Doc_Prepare.