on 06-20-2007 3:18 PM
I am using APO DP V5.
I want to be able to read characteristic value combinations (CVCs) in APO DP into a file.
I know that the CVCs are held in the internal Cube for the planning object structure.
Is this the best source for getting hold of the CVCs?
Thanks,
Bob Austin
In you want to do that in an ABAP programm you can use this FM
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
I_INFOPROV = 'ZPO_GRP' "your POS
I_TH_SFC = WT_SFC
I_TH_SFK = WT_SFK
I_SAVE_IN_TABLE = WK_FALSE
I_SAVE_IN_FILE = WK_FALSE
I_REFERENCE_DATE = SY-DATUM
I_CURRENCY_CONVERSION = WK_FALSE
I_USE_DB_AGGREGATION = WK_TRUE
I_USE_AGGREGATES = WK_TRUE
I_ROLLUP_ONLY = WK_FALSE
I_AUTHORITY_CHECK = 'R'
IMPORTING
E_T_DATA = WS_POS_DATA
E_END_OF_DATA = W_END_OF_DATA
CHANGING
C_FIRST_CALL = W_FIRST_CALL
EXCEPTIONS
ILLEGAL_INPUT = 1
ILLEGAL_INPUT_SFC = 2
ILLEGAL_INPUT_SFK = 3
ILLEGAL_INPUT_RANGE = 4
ILLEGAL_INPUT_TABLESEL = 5
NO_AUTHORIZATION = 6
NCUM_NOT_SUPPORTED = 7
ILLEGAL_DOWNLOAD = 8
ILLEGAL_TABLENAME = 9
TRANS_NO_WRITE_MODE = 10
INHERITED_ERROR = 11
X_MESSAGE = 12
OTHERS = 13.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oops...i just realized that you have mentioned you know about the internal cube
you can also download the CVC from MC62 after displaying characterisitics
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you go to transaction LISTCUBE and list all possible infocubes you can see there are some that have description "Generate InfoCube for internal use"
Choose the one with the name that matches your MPOS and execute. This will create the file you need
I think you can automate this process by creating a variant and creating a job after looking at the program
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
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.