Skip to Content
avatar image
Former Member

Copy control from Sales order to Credit memo-VTAA

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 06, 2008 at 08:20 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 06, 2008 at 05:48 AM

    Check you routine is activated in VOFM.

    -Alpesh

    Add comment
    10|10000 characters needed characters exceeded

  • May 06, 2008 at 05:55 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded