on 05-16-2006 11:06 AM
Folks,
Cost Element InfoObject has a attribute "Type".
Different values for "Type" = 1,2,3
Cost element is a time dependent compounded InfoObject. Hence I need to pass the value of related controlling area and time.
How do I read the value of attribute "Type"?
I have tried using ATRV & ATRVT, but without any luck.
Would appreciate if you could give an example for deriving the attribute value from a compounded time dependent InfoObject.
Thanx,
Raghu
Thanx Anurag, but not very sure if I can use Charateristic relationship.
I need to obtain the value of the attribute in a fox function. Let me explain it further.
Background :
*************************************************
Planning area -
Charac----
KF
*************************************************
area1 -
Payscale group--- Amount
-
Cost element------AmountVR
_________________________________________________
area2--
-
KF2
-
KF3
*************************************************
Cost Element has an attribute "Type"
Value for attribute "Type" = 1,2,3
Based on the value of the attribute, the corresponding KF needs to be multiplied.
Logic :
If type = 1.
AmountVR = Amount * KF1.
elseif type = 2.
AmountVR = Amount * KF2.
elseif type = 3.
AmountVR = Amount * KF3.
endif.
The problem I'm facing is that I'm not able to read the data of attribute "Type". None of the below statement retrieve the value of the "Type".
TYPE = ATRV(Attribute,COSTELEMENT,CO_AREA)
or
TYPE = ATRV(Attribute,COSTELEMENT)
Could you please help me in reading from a time dependent compounding InfoObject?
Regards,
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghavendra,
Welcome to SDN
Use the Characteristic Relationship feature for the same
refer below link
http://help.sap.com/saphelp_nw04/helpdata/en/ea/39a64281c611d5b3e50050dadfb23f/frameset.htm
Hope it helps
got the wrong link earlier
Message was edited by: Anurag Khungar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.