cancel
Showing results for 
Search instead for 
Did you mean: 

Copy control from Sales order to Credit memo-VTAA

Former Member
0 Kudos

Hi

We have a below requirement..

While copying from sales order to Credit memo order type,defualt payment terms in credit memo order type should be always change to NT00(payable immdtly due date)

So we had written a routine under sales order copying .VOFM-901

In VTAA we have set 901 instead of 101 under Copying requirements for transferring business data-under change header view..

But while creating sales order type CR with reference to normal sales order,it is not copying the NT00 payment term..

Can u tell us whether any other settings required in VTAA.

Note:We had copied existing 101 to 901 with addition logic -

IF VBAK-AUART = 'CR'.

VBKD-ZTERM = 'NT00'.

ENDIF.

Regards

Sudha

Accepted Solutions (1)

Accepted Solutions (1)

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sudha,

The coding added in 101 is not enough to achieve your requirement, because of the fact that the VBKD-ZTERM will be filled again with the original value from CVBKD in the copy routine on the item level. (For example 102 for OR to OR in standard system)

Could you please create another routine 902(adding the addition coding to 102) and replace it on copy control for item level?

It should work then.

Regards,

Smile

Former Member
0 Kudos

Hi

We created another routine as per ur advise.But still it is not working....

Former Member
0 Kudos

We has solved using program logic in routine-vtaa

Former Member
0 Kudos

We has solved using program logic in routine-vtaa

Answers (2)

Answers (2)

former_member183879
Active Contributor
0 Kudos

Hi,

It should ideally work fine.

Pls check if it is activated

If activated, then try executing the program RV80HGEN once(this will generate the routines ) and then try. It shoudl work

Hope this helps.

alpesh_saparia3
Active Contributor
0 Kudos

Check you routine is activated in VOFM.

-Alpesh

Former Member
0 Kudos

Hi

It is activated.

Former Member
0 Kudos

Hi

One small input..This routine is created in VOFM under heading data transfer ,orders...

Is this ok..Please confm

Regards

alpesh_saparia3
Active Contributor
0 Kudos

Yes it is defined under VOFM >> Data trasfer >> Orders.

-Alpesh