Hi guys,
I want to upload transactional data from a flat file. Something very simple like this:
ACCOUNT | CATEGORY | SCENARIO | COST_CENTRE | TIME | AMOUNT | COMMENT | |
A_AGENCY_FEES | BUDGET | SCENARIO_BASE | COSTCENTRE1 | 2014.02 | 6666 | Test1 |
Tricky thing is: the last column will be a column for comments that will go against the previous specified members. I was thinking of calling an end routine in the transformation file when uploading this data:
MAXREJECTCOUNT= |
ROUNDAMOUNT= |
ENDROUTINE=ZUJ_UPLOADCOMMENTS |
*MAPPING |
I know comment table follows a fixed naming convention. BPC automatically creates tables/1CPMB/XXYYYCMTand /1CPMB/XXYYYCMTAto store comments in SAP. So I would think I will just need to write this comments with something similar to method cl_ujc_cmt_dao->ADD_CMT() used in class CL_UJC_CMTMANAGER.
Question is... has anyone done something similar to this? How do I pass this last column as a parameter to the BADI?
Thanks
Iago