on 11-19-2010 6:58 AM
Hi,
Please let me know how to call a variant table in a variant function if it is possible ?
Regards,
Yogesh
I understand that you want to call a variant table in a dependency (procedure, constraint...)
If you're asking for a valid syntax, you should call the table thus :
TABLE <table name>
(<characteristic of table> = <characteristic of class>,
<characteristic of table> = <characteristic of class>)
Example :
table ARC1
(forme=forme,
type_verre=type_verre,
procede=procede,
tranches=tranches,
WC_2P24M=$self.WC_2P24M,
WC_2P9=$self.WC_2P9,
WC_P9=$self.WC_P9,
WC_P9GH=$self.WC_P9GH)
More information available at http://help.sap.com/saphelp_470/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
I hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What did you mean for calling a variant table,could you state it specifically?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Sorry, I will elaborate my query further.
I have defined a variant function in which I have maintained 2 characteristiics. One of them with 'input char' ('char1' in the below example) checkbox ticked. In that variant function, a function module is called and in the function module program, values of these chars are mapped.
e.g.. char2 is inferred from char1
char2 = A if char1 = X
char2 = B if char1 = Y (its not the exact abap syntax. just an example)
But I want to maintain a variant table to maintain these mappings and then read these mappings inside the function module program instead of writing the mappings directly in the program.
Please let me know if this is possible.
Regards,
Yogesh
User | Count |
---|---|
67 | |
14 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.