on 06-04-2009 3:24 AM
Hi all,
I have to export a value from a BADI to a Z program.
In the Z program, it is found that the system code returns 4 and the value is not passed.
In BADI:
Data ans type c.
EXPORT ans = ans TO MEMORY ID 'ANS'.
In Z program:
Data ans type c.
IMPORT ans = ans FROM MEMORY ID 'ANS'.
Any advice? Thanks!
Depending on ur requirement, you can create custom Parameter IDs too!! pl. check TPARA table.
thanq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check out the purpose & how to use import export in below link wiki written by me.
Thanks,
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Macy Lo, IMPORT and EXPORT statements are used to use ABAP memory. The data in the ABAP memory is available to all programs within a call sequence. If those two are executed independently, You should not use above statements. You have to use SET/GET parameters. Thanks Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.