cancel
Showing results for 
Search instead for 
Did you mean: 

Insert XVBKD table during sales order create/change.

Former Member
0 Kudos

Dears,

My requirement is to insert into VBKD table for each item sof VBAP. If the Business is updating the business data manually for the line items, then VBKD gets updated with the line items also. Otherwise, it gets updated with item as '000000'. And in the items, the business data, i need to update using some user exit (automatically based on some custom table for each material in the line item). I tried using the form in MV45AFZZ. but getting termination error.

Please suggest.

Ram.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ram

You can check

USEREXIT_MOVE_FIELD_TO_VBKD under MV45AFZZ.

Ask your ABAPer to debug the user exit to find termination cause.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ram,

The update of VBKD table is quite strange in the standard system.

The same table has data for header (with position 00000) and for items that are different, but redundant positions don't get stored in the database.

I don't think it is a good idea to force SAP to create a VBKD entry for each line.

IMHO this is system modification and therefore your responsibility.

If you have problems afterwards and SAP finds out, you will be on your own!

Why don't you add the new field in VBAP table?

It is much easier and therefore more usual in implementation projects.

Best Regards,

Franck

Freelance Logistics SAP Consultant

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Check the Note 178328 - Problems due to incorrect user exits in SD, the section Basic information concerning the management of internal tables in Sales and Distribution: 'You add a table entry. There is only one entry in the X table that has the update indicator I. There is no entry in the Y table.'

I hope this helps you

Regards,

Eduardo