How to enable Validate and Export in FDM task

Hi everyone
I am working with setting up an FDM Task to Import, Validate and Export data to HFM.
The Task is able to import data to FDM, but I cannot make the process start the Validate and Export functions. If I do the process manually, then data is imported to HFM succesfully.
Am I missing something in the scripts or do I need to enable some feature in FDM?
Action Script:
Sub BatchLoadLedgerTrans()
'Declare Local Variables
Dim lngProcessLevel
Dim strDelimiter
Dim blnAutoMapCorrect
'Initialize Variables
lngProcessLevel = 50   'Import
strDelimiter = "_"
blnAutoMapCorrect = 0
'Create the file collection
Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter), FileName)
'Execute a Standard Serial batch
BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
End Sub Integration Script:
Function LedgerTrans_EDW_to_HFM(strLoc, lngCatKey, dblPerKey, strWorkTableName)
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
cnss.open "Provider=SQLNCLI11; Data Source=10.250.200.10; Initial Catalog=EDW; User ID=FDM-user; Password=MyPassword"
cnss.CommandTimeout = 0
'Create query String - VIEW
strSQL = "Select * "
strSQL = strSQL & "FROM EDW.hfm.ledgertranstable "
'Get data
rs.Open strSQL, cnSS
'Check For data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records To load!"
Exit Function
End If
'Loop through records And append To tTB table In location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = lngCatKey ' PlngCatKey
rsAppend.Fields("PeriodKey") = dblPerKey ' PlngCatKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Account") = rs.fields(2).Value
rsAppend.Fields("Desc1") = rs.fields(2).Value
rsAppend.Fields("Entity") = rs.fields(6).Value
rsAppend.Fields("ICP") = rs.fields(8).Value
rsAppend.Fields("Amount") = rs.fields(14).Value
rsAppend.Fields("UD1") = rs.fields(5).Value
rsAppend.Fields("UD2") = rs.fields(9).Value
rsAppend.Fields("UD3") = rs.fields(10).Value
rsAppend.Fields("UD4") = rs.fields(7).Value
rsAppend.Fields("UD5") = rs.fields(13).Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
LedgerTrans_EDW_to_HFM = True
End Function Best regards
Frederik
Edited by: Frederik Andersen on Jun 1, 2013 1:32 AM

Found the solution.
The variable lngProcessLevel should be set to "12" to execute the full Import, Validate and Export.
Best regards
Frederik

Similar Messages

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

  • How do I import and export PDF's from Ibooks

    How do I import and export PDF files from Ibooks on the IMAC running Mavericks?
    How do I sync my PDF files in IBooks to the IPAD when they were not purchased from the bookstore?
    I noticed that I could email the PDF and then add it to IBOOKS on the IPAD.
    Is there a 3rd party IBOOK type reader that will address this issue?
    When I upgraded Mavericks it moved all of my PDF files in ITUNES application to IBOOKS and removed all reference to those
    books in ITUNES. When I purchase a book from IBOOKS store on the IMAC, the books shows up in IBOOKS on the IPAD.
    All of my PDF files will not sync up with the IPAD.
    I do hope this is a problem that Apple will address and would like to know when the fix will be available.

    Hello,
    Thank you. I found that option you pointed out. I can now change it from 1080i to 1080p and I can chance the resolution. However I still can't change the frame rate. It still stays at 29.97.
    Could this be due to the camera? I am using a Canon VIXIA HF S100 with 30p and 24p frame rate options. I suspect that it does not really shoot at true 24p and only does 24p within 60i.
    Frankly, I don't really care about getting 24p support too much but it would be very nice to have the option.
    I'll keep toying with the program. Still, anymore ideas or thoughts would be greatly appreciated.
    Thank you Wild Giles.

  • HT2513 how do i import and export HOMEAWAY calander and AIR BNB Calendar into my ICLOUD Calendar??

    how do i import and export HOMEAWAY calander and AIR BNB Calendar into my ICLOUD Calendar??

    If these calendars are listed under On My Mac on your Mac, follow Roger Wilmut's instructions here: http://www.wilmut.webspace.virginmedia.com/notes/icloudmovecalendars.html under "To move 'On MY Mac' calendars to iCloud".

  • How to enable save and archieve button in smartform output?

    How to enable save and archieve button in smartform output?

    Hi,
    While populating your output parameters, use parameter TDARMOD (Print Archieve Mode: 1,2 3).
    Hope this will hint you how to resolve the issue.
    BR,
    Vinit

  • How to restrict 'Broadcast and Export' option of BW report through web.

    Helllo,
    Please anyone let me know, how NOT to give/allow "Broadcast and Export' option in BW report, when accessed through Web.
    Is there is any Auhtorization object which restrictes this option.

    Hi,
    Please check this, it may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/80/1a68b4e07211d2acb80000e829fbfe/frameset.htm
    Regards,
    Madhu

  • How to enable copy and paste in Firefox

    I have tried over and over and over and I CANNOT FOR THE LIFE OF ME figure out how to configure Firefox to allow me to copy and paste. I've downloaded EVER SINGLE EXTENSION YOU HAVE and some I found online!!!! HOW DO I COPY AND PASTE??? And please don't be a smart aleck and tell me to right click..I tried that. I've tried everything it's not working...

    If right-clicking doesn't work, it could indicate that the site is intercepting and blocking Firefox's regular context menu. Some sites are cheeky and show you a copyright notice when you right-click.
    You can change a setting so that you always get Firefox's right-click context menu. If the site has its own menu, Firefox's will appear in front of it. To access the site's menu after making this change, you have to carefully dismiss Firefox's menu with a single press of the Esc key. (I think I've only seen one site where ''both'' menus disappear when I press Esc, so it nearly always works.)
    Want to try it?
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''context''' and pause while the list is filtered
    (3) Double-click the '''dom.event.contextmenu.enabled''' preference to switch it from true (sites can detect and re-place the right-click menu) to false (they can't).
    Does that help?

  • How To Enable Samba And SWAT In Solaris 10

    Link: http://bensweb.no-ip.info/ultrasparc/samba.htm
    This is a short and simple guide that I wrote for new Solaris users who want to get Samba and SWAT up and running quickly. (It works with SPARC and x86.) Enjoy!

    i try go to link http://bensweb.no-ip.info/ultrasparc/samba.htm but
    the result is not found ...The requested URL /ultrasparc/samba.htm was not found on this server.
    anyone..help me how to enable samba on solaris 10

  • How to enable servers and services?

    Currently when i go to the personalization screen of my publications i get the following msg:
    Unable to find servers in CMS and cluster with kind and service
    . All such servers could be down or disabled by the administrator. (FWM
    01014)
    Kindly let me know how to enable the servers and ensure that the corresponding services are runninng?
    Thanks,
    Arka

    reportClientDocument =  reportAppFactory.openDocument(firstResult, 2, Locale.ENGLISH);
    //firstResult from InfoStore
    After  this line of code i got this error(programme is running for arround 30 min and then throw this exception)
    com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot initialize report application session. --- Unable to connect to the server: SGLFRPTUAT.ReportApplicationServer. - Unable to find servers in CMS MyServer:6400 and cluster @MyServer:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)
    cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: SGLFRPTUAT.ReportApplicationServer. - Unable to find servers in CMS MyServer:6400 and cluster @MyServer:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer
    detail: Unable to connect to the server: SGLFRPTUAT.ReportApplicationServer. - Unable to find servers in CMS SGLFRPTUAT:6400 and cluster @SGLFRPTUAT:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
         at com.c2lbiz.symbiosys.components.crystal.CommonLoginCrystal.logon(CommonLoginCrystal.java:83)
         at com.c2lbiz.symbiosys.components.crystal.CommonLoginCrystal.main(CommonLoginCrystal.java:46)
    Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: SGLFRPTUAT.ReportApplicationServer. - Unable to find servers in CMS MyServer:6400 and cluster @MyServer:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.connect(Unknown Source)
         ... 6 more
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS MyServer:6400 and cluster @MyServer:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)
         at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:671)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:1094)
         at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:352)
         at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:264)
         at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:297)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:697)
         ... 7 more
    Please help to resolve this issue.Thanks in advance
    Thanks
    Jay

  • How to both resize AND export to PNG at specific resolution?

    I am trying to export a PAIR of vector files as PNG-24's, one at 72 ppi and the second at 150 ppi, Illustrator CC.
    I also want both exported files to have a different SIZE that their existing (and of course, completely arbitrary) vector dimensions.
    If I use Save for Web in Illustrator CC, I can indeed change the size, BUT I can't specify a resolution!
    On the other hand if I try to do a File > Export, I can easily specify the resolution as 150 ppi, BUT I can't change the size!
    If I go 'way back to my Illustrator CS4 version, there was a toolbar display of the selected object's  (or group's) physical dimensions - see the attached image - but I can't seem to find it in the CC version of Illustrator.
    As Retina resolution images have been around for several years, it would be helpful to be able to have complete control over how vector images created in Illustrator could be output at 150 ppi AND with the ability to specify the physical size. And, being able to write an action to export the pair of different resolution images would be even better.
    Am I missing the obvious here? For the time being, I am back to my old machine with Illustrator CS4 just to export Retina-friendly images...

    This is not the issue - pixels are pixels, you're right. It is a question, rather, of how awkward it is to export the different sized files from Illustrator.
    Here's the problem. Supposed I have a vector file that has nominal dimensions of 385px  x 91px on the artboard - can't even SEE that info anymore, as I noted. (I'm sure there's a toggle somewhere for that, but I can't seem to find it...)
    I want to export this as a PNG at a smaller size, say at 62% = 239px × 57px. OK, just click and it's done, Save for Web, 62%.
    Now, I need to export it at twice that physical size for the Retina version. If I didn't write down my first PNG's EXPORTED dimensions, (and I work on a LOT of these files...), when I go back to Save for Web, I have to manually remember to double the first file's EXPORTED dimensions, i.e., 239px × 57px = 124% to get my larger file of 478px × 114px.
    On the other hand, if I go to File > Export, Illustrator lets me create larger files, but won't let me change the dimensions of the original file to begin with. It just makes no sense to me. If I could reset the vector's nominal size FIRST, it would be much simpler. One Save for Web, then one Export at Medium Res.

  • I recently bought my 1st IMac. I need to know how to back up and export my Outlook Contacts, Folders, and Saved Emails to the new Mac Mail

    I need to know how to back up my Outlook data from my PC (contacts, folders, saved emails) and export them to my new Mac Mail

    http://www.google.dk/search?source=ig&hl=da&rlz=1G1TSEH_ENDK367&q=import+outlook +mails+to+apple+&oq=import+outlook+mails+to+apple+&aq=f&aqi=&aql=&gs_sm=e&gs_upl =1308137l1317536l0l1317968l30l29l0l11l6l0l242l2780l2.10.5l17l0#hl=da&rlz=1G1TSEH _ENDK367&sa=X&ei=AlrFTsDBBZD64QTLvJm3DQ&ved=0CCEQBSgA&q=import+outlook+emails+to +apple&spell=1&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=583a6dce352ae6fd&biw=1746&bih=75 5

  • Doubt on ENABLE VALIDATE and ENABLE NOVALIDATE?

    Hi,
    I am doing the following things:
    SQL> create table xx_con(col1 number);
    Table created.
    SQL> insert into xx_con values(1);
    1 row created.
    SQL> insert into xx_con values(1);
    1 row created.
    SQL> insert into xx_con values(2);
    1 row created.
    SQL> alter table xx_con add constraint col1_uk unique(col1) enable validate;
    alter table xx_con add constraint col1_uk unique(col1) enable validate
    ERROR at line 1:
    ORA-02299: cannot validate (APPS.COL1_UK) - duplicate keys foundThis is exactly the same as the previous one.As per the documentation,when we specify "ENABLE VALIDATE" , all the existing and new data should comply with the constraint.But since the data violates the constraint,the constraint is not created .
    SQL> drop table xx_con;
    Table dropped.
    SQL> create table xx_con(col1 number);
    Table created.
    SQL> insert into xx_con values(1);
    1 row created.
    SQL> insert into xx_con values(1);
    1 row created.
    SQL> insert into xx_con values(2);
    1 row created.
    SQL> alter table xx_con add constraint col1_uk unique(col1) enable novalidate;
    alter table xx_con add constraint col1_uk unique(col1) enable novalidate
    ERROR at line 1:
    ORA-02299: cannot validate (APPS.COL1_UK) - duplicate keys foundAs per the documentation,when we specify "ENABLE NOVALIDATE", all the DML operations performed after this should comply with the constraint.But there can be existing data which voilates the constraint.If this is the case then why it is erroring out?
    please clarify this.

    Davide:
    By default, when you create a unique constraint, Oracle creates a unique index to enforce the constraint. In this case, duplicates are not allowed in the index itself.
    SQL> CREATE TABLE t (id number, descr VARCHAR2(10));
    Table created.
    SQL> ALTER TABLE t ADD CONSTRAINT t_unq UNIQUE (id);
    Table altered.
    SQL> SELECT index_name, uniqueness FROM user_indexes
      2  WHERE table_name = 'T';
    INDEX_NAME                     UNIQUENES
    T_UNQ                          UNIQUE
    SQL> SELECT constraint_name, constraint_type FROM user_constraints
      2  WHERE table_name = 'T';
    CONSTRAINT_NAME                C
    T_UNQ                          USince Oracle can and will use an existing index to enforce a unique constraint, when you pre-create the index as non-unique, it will be used to enforce the constraint. Since the index itself is not unique, duplicates are allowed in it.
    Note that a unique index by itself does not imply a unique constraint on the table.
    SQL> ALTER TABLE t DROP CONSTRAINT t_unq;
    Table altered.
    SQL> CREATE UNIQUE INDEX t_unq ON t(id);
    Index created.
    SQL> SELECT index_name, uniqueness FROM user_indexes
      2  WHERE table_name = 'T';
    INDEX_NAME                     UNIQUENES
    T_UNQ                          UNIQUE
    SQL> SELECT constraint_name, constraint_type FROM user_constraints
      2  WHERE table_name = 'T';
    no rows selectedSo, in a sense, with a unique index, it is the index itself which is constrained unique, not the table,
    HTH
    John

  • UE-V 2.1 - How to Enable WaitForSyncOnApplicationStart and WaitForSyncOnLogon during install

    Good day everyone,
    I can't seem to figure out how to enable the WaitForSyncOnApplicationStart and WaitForSyncOnLogon parameter during install. I tried to add WaitForSyncOnApplicationStart=true to my install command but it doesn't seem to work. There must be a way
    to set those parameter automatically during install. Anybody has any idea? I am deploying it using the x64 .msi version.
    Thank you all for your help!

    Anybody has an idea? Maybe someone from microsoft? While I apreciate suggestion that were made, using external mean to set those parameter is not really what I call a solution but more of a work around. On top of this, I downloaded the ADMX GPO template
    for UE-V 2.1 and those 2 settings are not even part of it. 

  • HT1529 how do enable cookies and what is the need to enable

    how do i enable cookies and why do i need to

    Safari preferences / Privacy tab
    http://en.wikipedia.org/wiki/HTTP_cookie

  • How to enable read and write to thumb drive,how to enable read n write on thumb drive

    How to enable read n write to my thumb drive

    Format it for apple or Fat32 or exFat.
    Check the write protect switch on the thumb drive.

Maybe you are looking for

  • SQL question - please help!

    Hi, I am working on a SQL, please help ms with the question below .... thanks (1)Increase by 10% salary of these captain pilots who have traveled more than 800,000 miles. Routes | | Flights | |Pilots | | | | | | #routeID | | #flightNO | |#pilotID | d

  • How do I Hide open accordion panels, tooltips, etc. in Design view in Muse

    I am adding tooltips and accordion panels in Muse.  The problem is that, when I am editting the site in Design view, I cannot get the tooltips and panels to close... and so any other objects, text, etc is hidden by the open tooltip / accordion panel.

  • Timemachine seemed to drop files

    I recently upgraded my MacBookPro 15 HD to a 1TB. I plugged in my timemachine drive first and forced a Backup Up Now. I even left it hooked up for a couple of hours while I found the Torx driver! I installed the Western Digital Drive and installed Sn

  • Can I select the language when installing iWork 09?

    Can I choose the language iWork 09 should be installed in on my Mac, no matter where I bought the iWork DVD?

  • Streaming eyetv hybrid into iPad

    Have the iPad 3rd Gen eyetv works great, also have iPad2, eyetv does not stream, how can I fix?