Skip to Content
0

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

Mar 16, 2017 at 10:55 AM

63

avatar image

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,

10 |10000 characters needed characters left 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.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Mar 21, 2017 at 07:18 AM
1

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?

Share
10 |10000 characters needed characters left characters exceeded
Shanthi Kumar Juluru Mar 20, 2017 at 04:04 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded