cancel
Showing results for 
Search instead for 
Did you mean: 

Copyng from Contract to sales order

former_member588542
Active Participant
0 Kudos

Hi,

how to configure that when copyng from quantity contract to sales order and when later in sales

order changing the ship to and sold to in header,the same partners as well applyes to all items?

Thanks in advance and best regards

L

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

please refer to copy controls that is sales document to sales document.

VTAA:

select document types or to cq for eg.

check the coding.

FORM DATEN_KOPIEREN_001.

LOOP AT CVBPA WHERE POSNR = POSNR_LOW.

XVBPA = CVBPA.

XVBPA-VBELN = VBAK-VBELN.

XVBPA-UPDKZ = UPDKZ_NEW.

APPEND XVBPA.

ENDLOOP.

ENDFORM.

*eject

balajia