Skip to Content
author's profile photo
Former Member

Help with userexit_save_document

I create a new tab in sales order head information called addational data .and i put a component named 'add_address' . My problem is when I click the save button. the 'add_address' will be saved default value when it is initial. otherwise, it will be saved with input value.

Now what I do is :

Form userexit_save_document.

if xvbak-zz_address is initial.

xvbak-zz_address = 'defalut address'.

endif.

endform

but it didn't work...

anyone can help me?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Jul 19, 2005 at 02:50 AM

    Hi,

    You need to populate the updkz field of XVBAK structure to 'I' Insert or 'U' update.

    Regards,

    Gagan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Maybe I got the answer.

      vbak and vbap is not additional tabels .So I think I should use userexit_save_document_prepare instead of userexit_save_document.

  • author's profile photo
    Former Member
    Oct 06, 2005 at 02:05 AM

    Hi,

    I needed to find an user exit for FV60 transaction code,

    tried everything that was listed thru SMOD.

    Has anyone done this before....

    If so, would really Appreciate your input

    Thank you

    Lalitha

    Add comment
    10|10000 characters needed characters exceeded