2007 Mar 19 9:15 AM
When I push save button in the T-code CJ20N (project builder). I want to get the vbkey in my BADI. How can I do? Thanks a lot
When I push save button in the T-code CJ20N (project builder). I want to get the vbkey in my BADI. How can I do? Thanks a lot
2007 Mar 19 9:17 AM
Which badi are you using?
Check the interface of the badi method you are using, (Importing parametters).
Regards,
Ravi
2007 Mar 19 9:22 AM
Thank u for ur reply
The BADI I use is WORKBREAKDOWN_UPDATE
I have checked the BADI import parameter, there is not such a parameter.
And this time the vbhdr record has not been created in table vbhdr.
So I think the only way to get the current vbkey is from memory.
Can u help me?
2007 Mar 19 9:27 AM
Hi Simon,
If you know the name of the GLOBAL VARIABLE that the main program is using, then you can use the following statement to get its value.
ASSIGN ( '(<main program name>)<Variable name>' ) TO lv_variable.
http://www.sapdevelopment.co.uk/enhance/enhance_fsymbol.htm
Regards,
Ravi
2007 Mar 19 9:37 AM
Great appreciate for ur reply.
I'm sorry that maybe I am too stipuid that I am still confused.
I don't know the name of the GLOBAL VARIABLE and I only know that I want to get the vbkey from memory. Even I don't know for which memeroy ID I can get the vbkey value.
My msn is : [email protected]
Would you like to help me? I am so despair and helpless.
Thanks a lot.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |