Srinivas,
There are several ways to do this but I think the most straight forward is as follows...
- Set the transformation header option to no (HEADER=NO)
- Set the transformation skip option to one to skip the header record (SKIP=1)
- Map your project and version fields by using *COL(1) and *COL(2) respectively
- For the time dimension use *MVAL like this...
- TIME=*MVAL(*COL(4)|*COL(3)+*STR(.JAN)||*COL(4)|*COL(3)+*STR(.FEB)...) "..." means continue function for the rest of the months
- This function will concatenate the year and the hardcoded month
- Map the rest of your fields, which I assume are hardcoded.
Below is an example of the complete transformation file.
*OPTIONS |
FORMAT = DELIMITED |
HEADER = NO |
DELIMITER = , |
AMOUNTDECIMALPOINT = . |
SKIP = 1 |
SKIPIF = |
VALIDATERECORDS=YES |
CREDITPOSITIVE=YES |
MAXREJECTCOUNT=0 |
ROUNDAMOUNT= |
*MAPPING |
PROJECT=*COL(1) |
VERSION=*COL(2) |
TIME=*MVAL(*COL(4)|*COL(3)+*STR(.JAN)||*COL(5)|*COL(3)+*STR(.FEB)||*COL(6)|*COL(3)+*STR(.MAR)||*COL(7)|*COL(3)+*STR(.APR)||*COL(8)|*COL(3)+*STR(.MAY)||*COL(9)|*COL(3)+*STR(.JUN)||*COL(10)|*COL(3)+*STR(.JUL)||*COL(11)|*COL(3)+*STR(.AUG)||*COL(12)|*COL(3)+*STR(.SEP)||*COL(13)|*COL(3)+*STR(.OCT)||*COL(14)|*COL(3)+*STR(.NOV)||*COL(15)|*COL(3)+*STR(.DEC)) |
ACCOUNT=*NEWCOL(A_56790873) |
DATASRC=*NEWCOL(UPLOAD) |
ENTITY=*NEWCOL(CC_22221) |
*CONVERSION |
This is a working example based on SAP BPC 7.5 NW SP11
Documentation used to created *MVAL function
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/b8/a76a1ca9ac4ca698259a8ff397bb61/frameset.htm