How to call and run parameters in Procedures with Sap Data Services?

Hello Guys,
Migrating'm all SSIS2008 packages for Sap Data Services.
During this process I found a difficulty about running Stored Procedures (Sql Server 2008 R2) within the Sap Data Services.
I need help to convert this code sample:
EXEC dbo.prcInserirLogExecucaoSSIS
@FEED = ?,
@TIPO_ENTRADA = 'NOVA_CARGA',
@ARQUIVO = ?
to Sql ('datastore', 'example') with parameter passing ...

Import the stored procedure as a function in a datastore.
Drag the stored procedure to your query browser and you will be set. 

Similar Messages

  • Can anyone explain how to download and upload TROY ECF fonts with SAP

    Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..

    Hi,
    You can use the SE73 Transaction and upload your TTF files.
    Please check the link here for more details:
    http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/frameset.htm
    Regards,
    Siddhesh

  • How to download and upload TROY ECF fonts with SAP for check printing

    Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded  ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..

    Hi,
    You can use the SE73 Transaction and upload your TTF files.
    Please check the link here for more details:
    http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/frameset.htm
    Regards,
    Siddhesh

  • How to call a AS/400 Stored Procedure with a BigDecimal Value?

    Hi,
    Could you pls tell me how to call a stored procedure on the AS/400 which request an input value of packed decimal(10P 4) value.
    I have tried to convert it to a BigDecimal in Java and call the stored procedure as follows but it gave me a decimal point error on the AS/400.
    Could you pls show me where I'm wrong in the following code.
    Thanks
    Jan
    ========Java program to call AS/400 Stored procedure with setBigDecimal()===========
    //Assign the value to String
    string sBDVal = "30"
    //Convert the String value to BigDecimal
    BigDecimal bdAmt = new BigDecimal(sBDVal);
    //Call Stored Procedure with parameters,
    CallableStatement callSP = conn.prepareCall("{call OSCUPDLENS(?,?,?)}");
    // Set in parm values
    callSP.setString(1,"Value 1");
    callSP.setBigDecimal(2,bdAmt);
    callSP.setString(3,"");
    // Register out parameter
    callSP.registerOutParameter(3, Types.CHAR);
    // Execute call to stored procedure
    callSP.execute();
    // Retrieve out parameters
    sErrFlag = callSP.getString(3).trim();
    ========================Create Stored Procedure on AS/400===========================
    c/EXEC SQL
    c+ CREATE PROCEDURE TESTSPROC
    c+ (IN VAL1 CHAR ( 8),
    c+ IN BDAMT DEC (10, 4),
    C+ INOUT ERR CHAR ( 1))
    C+ LANGUAGE RPGLE NOT
    C+ DETERMINISTIC NO SQL EXTERNAL NAME TESTSPROC PARAMETER STYLE
    C+ GENERAL
    c/END-EXEC
    ======RPG program on AS/400 to accept the BigDecimal value to a Packed decimal======
    * Initialize the i/p parameter
    DP#VAL1 S 8A
    DP#AMT S 10P 4
    DP#ERR S 1A
    C*Input parameters
    C *ENTRY        PLIST                          
    C PARM P#VAL1
    C PARM P#AMT
    C PARM P#ERR

    Could you pls show me where I'm wrong in the following codeI don't know, you're doing a lot of things I have never tried. But "decimal data error" most likely means that the stored procedure is expecting packed data and the driver is giving it zoned data, or vice versa. You could confirm that by dumping your variables inside your RPG. If that is your problem, you could work around it by redefining your BDAMT parameter as integer or string and reformatting it in the RPG.

  • How to call and run HTML pages from an Applet?

    I want to run another HTML page when pressed a button in an Applet,how can i do it?

    Are you looking for this?
    applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top");

  • How to call (in PL/SQL) a Procedure with a VARRAY OUT parameter

    Please help, I always get this error:
    PLS-00306: wrong number or types of arguments in call to 'GET_ITEM'
    It's a simple procedure, what is wrong?
    create or replace
    package XXVDF_XPOS_NEW_SALE_TEST as
         type serial_nos               is varray(200)     of     varchar2(20);
    procedure get_item
    (P_SERIALS           IN serial_nos);
    end XXVDF_XPOS_NEW_SALE_TEST;
    create or replace
    package body XXVDF_XPOS_NEW_SALE_TEST as
    procedure get_item
         (P_SERIALS          IN serial_nos)
    is
    begin
         p_serials(1) := 'sdw';
    end get_item;
    end XXVDF_XPOS_NEW_SALE_TEST;
    declare
         type serial_nos               is varray(200) of     varchar2(20);
         P_SERIALS          serial_nos := serial_nos();
    begin
    null;
         XXVDF_XPOS_NEW_SALE_TEST.get_item(P_SERIALS);
         dbms_output.put_line('P_SERIAL_NUMBERS ' ||P_SERIALS(1));
    end;
    thanks, Steve White

    Correction those INs should say OUT:
    create or replace
    package XXVDF_XPOS_NEW_SALE_TEST as
         type serial_nos               is varray(200)     of     varchar2(20);
    procedure get_item
    (P_SERIALS           OUT serial_nos);
    end XXVDF_XPOS_NEW_SALE_TEST;
    create or replace
    package body XXVDF_XPOS_NEW_SALE_TEST as
    procedure get_item
         (P_SERIALS          OUT serial_nos)
    is
    begin
         p_serials(1) := 'sdw';
    end get_item;
    end XXVDF_XPOS_NEW_SALE_TEST;
    declare
         type serial_nos               is varray(200) of     varchar2(20);
         P_SERIALS          serial_nos := serial_nos();
    begin
    null;
         XXVDF_XPOS_NEW_SALE_TEST.get_item(P_SERIALS);
         dbms_output.put_line('P_SERIAL_NUMBERS ' ||P_SERIALS(1));
    end;
    ========
    XXVDF_XPOS_NEW_SALE_TEST.get_item(P_SERIALS);
    ERROR at line 7:
    ORA-06550: line 7, column 2:
    PLS-00306: wrong number or types of arguments in call to 'GET_ITEM'
    ORA-06550: line 7, column 2:
    PL/SQL: Statement ignored

  • How to attach and run std payslip available through tcode HRFORMS

    Hi all,
    Need to have much data along with graphics on the payslip. This includes Leave data(days paid, LOP, Payroll days, etc.), gross salary break-up, Year-to-date details, Tax details(line items), Standard Salary components, company logo, custom messages, etc. on the payslip. We are running India Payroll on SAP 4.7.
    <b>Wanted to know how to attach and run standard payslip available with tcode HRFORMS in place of the one we have with tcode PE51?</b>
    Your help will be <u>gratefully appreciated and rewarded</u>.
    Thanks in advance

    can u tell me how u manage to do this

  • How do I run a database procedure that inserts data into a table from withi

    How do I run a database procedure that inserts data into a table from within a Crystal report?
    I'm using CR 2008 with an Oracle 10i database containing a number of database tables, procedures and packages that provide the data for the reports I'm developing for my department.  However, I'd like to know when a particular report is run and by whom.  To do this I have created a database table called Report_Log and an associated procedure called prc_Insert_Entry that inserts a new line in the table each time it's called.  The procedure has 2 imput parameters (Report_Name & Username), the report name is just text and I'd like the username to be the account name of the person logged onto the PC.  How can I call this procedure from within a report when it's run and provide it with the 2 parameters?  I know the procedure works, I just can't figure out how to call it from with a report.
    I'd be grateful for any help.
    Colin

    Hi Colin, 
    Just so I'm clear about what you want: 
    You have a Stored procedure in your report.  When the report runs, you want that same procedure to write to a table called Report_Log. 
    If this is what you want the simple answer is cannot be done.  Crystal's fundamental prupose is to read only, not write.  That being said, there are ways around this. 
    One way is to have a trigger in your database that updates the Report_Log table when the Stored Procedure is executed.  This would be the most efficient.
    The other way would be to have an application run the report and manage the entry. 
    Good luck,
    Brian

  • How to call a sql server stored procedure from oracle

    Hi all,
    Please anybody tell me how to call a sql server stored procedure from oracle.
    I've made an hsodbc connection and i can do insert, update, fetch data in sql server from oracle. But calling SP gives error. when I tried an SP at oracle that has line like
    "dbo"."CreateReceipt"@hsa
    where CreateReceipt is the SP of sql server and hsa is the DSN, it gives the error that "dbo"."CreateReceipt" should be declared.
    my database version is 10g
    Please help me how can i call it... I need to pass some parameters too to the SP
    thanking you

    hi,
    thank you for the response.
    when i call the sp using DBMS_HS_PASSTHROUGH, without parameters it works successfully, but with parameters it gives the following error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver]Invalid parameter number[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index (SQL State: S1093; SQL Code: 0)
    my code is,
    declare
    c INTEGER;
    nr INTEGER;
    begin
    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@hsa;
    DBMS_HS_PASSTHROUGH.PARSE@hsa(c, 'Create_Receipt(?,?)');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,1,'abc');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,2,'xyz');
    nr:=DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@hsa(c);
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@hsa(c);
    end;
    Create_Receipt is the sp which requires two parameters.
    please give me a solution
    thanking you
    sreejith

  • Want to call and run a vi that is not in memory

    I have a vi  (say Sub1.vi) that I want to call and run from another vi (Say Main.vi). Sub1.vi is not loaded into memory, when Main.vi is started. From within Main.vi I want to load Sub1.vi and run it. But I don want Main.vi to wait for completion of sub1.vi - sub1.vi needs to run continuously in the background.
    So I tried calling the sub1.vi using the Open vi Reference and the Invoke Node to run the vi. This works only if Sub1.vi is already loaded in memory.
    Next I tried Open vi Reference, Invoke Node to Open FP and then another Invoke Node to Run the vi. This works when the sub1.vi is not loaded in memory but it opens the FP of sub1.vi.
    But I dont want the FP to open and be displayed - I want sub1.vi to run in the background.
    How do I achieve that?

    Hi,
          You've probably figured this out by now; if not, maybe this will help!
    Message Edited by tbd on 07-12-2006 11:07 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    Main.vi ‏17 KB
    SubVI.vi ‏8 KB

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

  • How do I block calls and texts on a prepaid phone?  Says service unavailble when I try to do it through VZW

    How do I block calls and texts on a prepaid phone?  Says service unavailble when I try to do it through VZW

    bathgate69, sorry for this inconvenience. Which make/model phone do you have?
    For your convenience, you can also reach our Prepaid customer service department at 888-294-6804 for help, as well.
    LasinaH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • How to deploy and run  EJB in eclipse without XDoclet

    Hi Friends
    I am new in j2ee.In my academic project i want to do some ejb programming.
    For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
    I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
    If u have saple code or useful link regarding this please send it as soon as possible.
    Thanks in advance
    How to deploy and run EJB in eclipse without XDoclet

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • I have downloaded Firefox 5.0 at least three times and saved file, but I don't know how to install and run. It keeps asking me to download new version and Save file. I'm in a never ending loop, it keeps downloading same exe & does not install Please Help

    Please tell me how to install and run new Firefox 5.00 after I have downloaded the new version and chosen Save File. I just go into Loop and screen says new version available and download again !

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Here is the short answer:
    Installing Snow Leopard Server into Parallels 10 for DUMMIES:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

Maybe you are looking for

  • Excel Automation Closing

    Hello, I have developed a VI (based on ActiveX) that writes to a spreadsheet with some formatting. Past posts on this forum were very helpful in getting me at this point and Kudos to members who have posted VIs, LLBs, and created a thread just for Ex

  • Help!! No idea what went wrong..

    Hi, I notice a funny error while writing my program. I'm trying to get my program to display whatever is in my database and it seems to have an error call java.lang.classCastException. It points to the method javax.swing.Table.DefaultTableModel.getVa

  • Pass array as parameter

    Does anyone know how to put v_array1D into a hashtable?? I must also be able to get it as an array of String                   Hashtable v_array2D=null;                   String[] v_array1D=new String[c_colsize];            while (rs.next()){        

  • Switching from Windows OS

    Hi, I am thinking to switch from windows to mac. I have a couple of questions regarding to that. I will be glad to have your answers. - I am considering to buy Microsoft Office for mac, student version. However, I will have two macs at home, should I

  • Lost ringtones with upgrade

    I cannot access my ringtones since the upgrade to OS 5 on my iphone 4.  They seem to sync with iTunes, but are not available as choices on the phone itself