cancel
Showing results for 
Search instead for 
Did you mean: 

New data transfer routine to copy sales office

Former Member
0 Kudos

Hi gurus,

I want to create a new header copy routine to copy VKBUR from one sales order to another sales order. I'm using standard routine 51 - General header data but this routine does not copy the sales office. Based on this routine (51) I created a new one but I don´t know the abap coding to include statements to copy the sales office.

Can you help me?

Thanks in advance.

Helena Peixoto.

Accepted Solutions (1)

Accepted Solutions (1)

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

To create new routine SAP has provided, customer specific routine no.s from 901-999. You have to goto transaction VOFM, give you desired routine no (Btwn:901-999) and press enter, then system will prompt you for access key. You need to generate the access key from SAPnet site [http://service.sap.com/sscr] by giving the object details given in the popup. After that you have to copy the coding of routine 51 and paste it into your routine, also add following one line coding to Copy Sales Office(VKBUR).


  VBAK-VKBUR = CVBAK-VKBUR.

Then you have to activate the routine by selecting and activating from Edit menu.

Former Member
0 Kudos

Hello,

Thank you for your helpul answer. The problem is solved.

Best regards,

Helena Peixoto.

Answers (0)