cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with USEREXIT_SAVE_DOCUMENT

Former Member
0 Kudos

Hi,

I have a requirement that one field in VBAP value should be overwritten just before saving. I have tried USEREXIT_SAVE_DOCUMENT and in debugging I found that the value is populated correctly and modified the XVBAP internal table with the correct value, but after saved I cannot see the new value I can see only the old value.

Could anyone please help me how to solve this.

Thanks a lot in advance.

Murali.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Murali,

I think this question should be in ABAP forum.

Anyway, have you cheked if there is any field in this internal table which indicates Update flag - so that that particular field gets updated if this flag is set as X

Or else have you tried other options such as

USER_EXIT_SAVE_DOCUMENT _PREPARE or

USEREXIT_MOVE_FIELD_TO_VBAP

etc..

Regds,

Akshay

Answers (0)