cancel
Showing results for 
Search instead for 
Did you mean: 

Create sales orders with reference, without copying the associated DRAD records

Former Member
0 Kudos

We have recently begun associating  test report document  info records (ZTR) to our sales order object VBAP in DRAD via object key sales order/item.  However when creating a new sales order with reference,  new  DRAD table entries  are being created  with the old orders DRAW document numbers and the new orders object key.   How can we prevent this from occurring?          We created a user exit in VA01(SAPMV45A INCLUDE MV45AFZZ to delete these new records, however they are being recreated  after the user exit executes in SAPMV45A  include MV45AF0B_BELEG_SICHERN_VORBERE perform  DOKUMENTE_UMBENENNEN.   Any suggestions would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

benedikt_wagner_mdt
Active Participant
0 Kudos

Hi John,

the only way I see is using BAdI DOCUMENT_OBJ2->LINKS_UPDATE and save the DRAD information in a customer table. In a separate customer report started as a regular job this table is read and the links from DRAD are deleted.

Regards,

Benedikt

Former Member
0 Kudos

That's what we were thinking but hoped to find a more direct solution. We're going with it..

Answers (0)