Skip to Content
avatar image
Former Member

How to clear custom fields in Sales order header-Additional Data B tab while creating Sales order

Hi,

I have few custom fields in Additional Data B tab in sales order header.. i want to clear those fields while i saw the sales order.. i tried to clear that on userexit_Save_document. But it is not clearing and saved in table VBAK. Can someone suggest me how to clear the values in vbak.?

Regards,

Add comment
10|10000 characters needed characters exceeded

  • What fields exactly and why? You should not be clearing anything while saving IMHO, it needs to be done before that. But I don't understand what exactly you're trying to achieve here, sorry.

  • Get RSS Feed

2 Answers

  • Mar 21, 2017 at 07:18 AM

    USEREXIT_SAVE_DOCUMENT is not suitable, its purpose is follow-up document or task. use SAVE_DOCUMENT_PREPARE. But why would you want to clear some data that user has input?

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 20, 2017 at 04:04 PM

    Give me the code which you have written in the user exit. You may need to clear XVBAK fields for this purpose. Just check it in debugging and try.

    Thanks,

    Shanthi

    Add comment
    10|10000 characters needed characters exceeded