2015 Dec 18 11:33 AM
Hello ABAP GURU's
User enters header texts in invoice using transaction VF02. We need to find those texts in runtime of program before invoice saves.Because we need to fill VBRK field with serial number when texts are entered.
When user re-enter or changes those header texts in the same object 2nd time, then we need to compare this texts with first time entered text to know whether text changed or new text entered. When we find texts are entered or changed 2nd time, then we need to fill VBRK table field with next number from series of serial numbers.
Here the question is, where do we find entered header texts in runtime of program before document saved? which part of program code/BADI/exit/BAPI carriers these texts in runtime?
What is the variable/internal table/workarea/field which carries these header texts in runtime?
Thanks in advance.
Hello ABAP GURU's
User enters header texts in invoice using transaction VF02. We need to find those texts in runtime of program before invoice saves.Because we need to fill VBRK field with serial number when texts are entered.
When user re-enter or changes those header texts in the same object 2nd time, then we need to compare this texts with first time entered text to know whether text changed or new text entered. When we find texts are entered or changed 2nd time, then we need to fill VBRK table field with next number from series of serial numbers.
Here the question is, where do we find entered header texts in runtime of program before document saved? which part of program code/BADI/exit/BAPI carriers these texts in runtime?
What is the variable/internal table/workarea/field which carries these header texts in runtime?
Thanks in advance.
2015 Dec 18 12:50 PM
Hi Chinna Pala
That is very basic in ABAP, however you need to post this in appropriate thread.
Regards
2015 Dec 19 5:44 AM
2015 Dec 19 12:14 PM
Dear Chinna,
It might be stored in abap memory. Please look the id "MEMORY_ID" in debugger. Might be useful to you.
2015 Dec 21 1:07 PM
2015 Dec 24 3:58 AM
Thank you all for your response.
We have found the flag which is marked when texts are changed.
Regards
Chinna
2015 Dec 24 4:28 AM
2015 Dec 24 4:34 AM
Yes, If we share definitely it will be helpful to others. Or else.
Just create a document and share the knowledge.
2015 Dec 24 6:23 AM
Put debugger on SAVE_TEXT and READ_TEXT... Here you can easily catch it . Find out suitable exit or enhancement after that and use it as per requirement.
2015 Dec 24 6:39 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |