Testing function TEXT_CONVERT_XML_TO_SAP

Hi,
Function "TEXT_CONVERT_XML_TO_SAP" has status not released for customer therefore I cannot use it. I have copied the whole function group TRUX bat I still get the error en I try to test "Z_TEXT_CONVERT_XML_TO_SAP" . I have done the SQL trace but I do not find where to change the status in order to be able to do a test and I really need to use this function to read XML files into SAP.
Please, any hint?
Thnaks.
Abel.

Still fm is showing "Not released"
You can test with calling this fm in a small abap test program and check , please don't test thru test enviornment SE37

Similar Messages

  • Genericall​y compacting arrays using a test function

    Is there a way to do the following (or at least this stuff in the box) generically. Is there a name for this algorithm?
    Essentially I want to reduce an array to just its elements that pass a test. The test can just be another array of booleans which say whether the array passed the test or not. I feel like I write this code a lot and it bothers me that I write it so much.
    Thanks!
    Solved!
    Go to Solution.

    Thanks all for the responses.
    I find it so frustrating that Labview sometimes can't even do things that are so simple in other languages (see like http://docs.python.org/2/library/functions.html#fi​lter) or that can be trivial to implement in other languages (see C++). 
    My hope was that no variants would be necessary at all as they add clutter and bypass compile time type checking. Clearly one way to make functions like this generic is to use variant data. I was kinda hoping to avoid it all together. The reason I wrote out the function the way I did is because it's space and time efficient in more cases, generally.
    It's true you're probably fine doing this in one loop (using a preallocated array with the same size as the input array). Consider though that if you want to avoid making a full sized copy of the array, generally, seperating out the loops is needed. Labview doesn't make a copy of any array data until it passes the data into the test function (and if the test function isn't even a vi then it doesn't make a copy at all) which it will only do one or P at a time, depending. Then the only new allocation of significance is the allocation by initialize array, which in many cases will be substantially smaller than the input array.
    This time the performance doesn't matter. But I'd sure like to make generic functions like these that could be generally performant. One day maybe.

  • Where i can get all test functions and details of those function

    Hai
    Actually i was a beginner in teststand can any one tell me where i can download the test functions details list ,the datatype of those function,
    Thankyou

    Hi,
    Not sure what you are after!!!
    Have you tried the TestStand Programmer Help or any of the User Manuals.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Question about the 'TEST' function of BAPI

    I have run a BAPI function 'BAPI_GOODSMVT_CREATE' using 'TEST FUNCTION MODULE'.
    The process is successful and I can see the return material doucment number and year.
    However, when I search the table MKPF, no such document exists.....
    It seems that a document no. has been used but no such document is really created...as when I create a material document manually using transaction code MIGO, a doucment with doc. no. = that return by BAPI by using test function module + 1.
    I want to know is there any way to commit the transaction created by test function module? and it is wierd that it makes my document number becomes discontinue....
    thanks!

    Gundam,
    whenever you use TEST facility, the changes are never committed to the database. However, you loose the serial number because of Serial Number Range Object. Once you take a number of the object, that number is lost and that is why you are missing the sequence.
    Regards,
    Ravi
    Note : please reward the posts that help you.

  • Question about the function module testing function

    Dear everyone
    I am trying to use the testing function of a function module in order to understand how the following
    function module works.
    <Function module>
    BAPI_SALESORDER_CREATEFROMDAT2 --> This function module is to create a sales order
    I input several data in the test function, and I was the successful result with some sales order number.
    However, this sales order is not actually registered in the system.
    Would it be possible to run the function module (in the test mode), so that it would actually
    register those documents (ex. sales orders) in the system.
    I would like to see the actual sales orders to understand how the function module works.
    Thank you very much in advance
    Takashi

    Dear everyone
    ※Sorry, my initial message was hard to understand. So I will write it again.
    I am trying to use the testing function of a function module in order to understand how the following
    function module works.
    <Function module>
    BAPI_SALESORDER_CREATEFROMDAT2 --> This function module is used to create a sales order
    I input several data in the test function, and I've got the successful result with some sales order number.
    However, this sales order is not actually registered in the system.
    Would it be possible to run the function module (in the test mode), so that it would actually
    register those documents (ex. sales orders) in the system?
    I would like to see the actual sales orders to understand how this function module works.
    Thank you very much in advance
    Takashi

  • Test function

    hi,
    I know how to test function if it's return type is item_list,number...or others(ex:select dynamic_test.get_product_group_index from dual;).But I don't know how to test function if it's return type is GenericCursor.I use pl/sql developer SQL window for my test.
    Thanks for your reply!
    jing

    create or replace package pak_test as
    type rc is ref cursor;
    procedure test(p_cursor in out rc);
    end;
    create or replace package body pak_test as
    procedure test(p_cursor in out rc) is
    begin
    open p_cursor for select * from emp;
    end;
    end;
    variable x refcursor
    set autoprint on
    exec pak_test.test(:X)

  • SE37 and test function module

    I have an importing parameter in function module interface, type BEGDA (type DATUM), default value SY-DATUM.
    When I execute test function module via SE37 and F8, the default value gets value "02....20.3" instead of 03.02.2012 as set up in SU01 for my user.
    What can be wrong?

    At the risk of also incurring your scorn, let me add that I cannot make this fail, using exactly what you have in the original post.  Obviously, something unusual is happening this client/instance, or in code that is manipulating the incoming date value.... my dd.mm.yyyy input defaulted to sy-datum shows 20120306 in begda duringe execution (in debug).  Without being able to debug the mentioned FM at every step, it would be hard to pinpoint a specific problem.

  • AVERA Relevancy test function

    Hello,
    I have a problem. I'm using AVERA for calculating averages and I have own relevancy test function for determinig relevant payrol  sequences.
    This function has tables parameter RESULTS with some payrol results sequences among which there is a relevancy test. But in this table there are not all sequences I need and AVERA does not work well. I'm missing payrol result with additional payment which is relevant.
    Any clues or good documentation for AVERA or own relevancy test?
    Thanks,
    Kumako

    Hi Kumako,
    did you check[ this documentation|http://help.sap.com/printdocu/core/print46c/en/data/pdf/PYINT/PYSOME_AVERTECH.pdf]?
    Regards,
    Clemens

  • Hp v5061u test function problem

    I've noticed a lot of people having the same problem. My camcorder is stuck in test function mode PLEASE HELP ASAP......

    The real error message should be in the alert log of your database. With the error code therte you could log into metalink and check out what the problem is.
    What I suggest is first to remove the CURSOR from the select-subquery.
    example untested
    function print_mul_cursor return sys_refcursor
    as
    l_ref sys_refcursor;
    l_code varchar2(10);
    cursor c1 is select a.emp_code, (select b.dependant_first_name from t_pis_dependant b where b.emp_id=a.emp_id) x
    from m_pis_employee a
    where rownum<2;
    begin
    open c1;
    fetch c1 into l_ref;
    return l_ref;
    end print_mul_cursor;Furthermore I don't see why you return a ref cursor if you want one line only. This whole concept doesn't make any sense.
    If you want to return all dpendents, then you need to build a different query.
    example2 untested
    function print_mul_cursor return sys_refcursor
    as
    l_ref sys_refcursor;
    cursor c1 is select b.dependant_first_name, a.emp_code
       from t_pis_dependant b
       join m_pis_employee a
       on b.emp_id=a.emp_id;
    begin
    open c1;
    fetch c1 into l_ref;
    return l_ref;
    end print_mul_cursor;

  • Configuring "Test Function"

    Hi,
    I'm working on EP12 with VC 6.00.0050.
    I can import the BAPI as data service in my VC model. And I can test the simple BAPIs with the "Test Function" given.
    But, in one of the BAPI, I'm required to fill in with 2 rows. As VC, by default doesn't give this functionality for testing, how can I configure testing tool for that?
    Thanks and regards,
    Mausam

    Hi Ignacio,
    Thanks for the answer...and after your answer I gathered the courage of deploying it to portal and now its working fine.
    Thanks again......
    Regards,
    Mausam

  • Quection about function  TEXT_CONVERT_XML_TO_SAP

    hai to all,
    Please provide information regarding this function module
    if possible provide one example program on this function module
    TEXT_CONVERT_XML_TO_SAP
    regards,
    surya.

    In the import parameters pass the following data...
    1) Field Separator value
    2) Internal Table Line Header
    3) Raw data (Internal table data)
    4) File Name
    5) Total file size (Internal table count)
    This will inturn return data in the tables section which can be used.
    refer the below link
    TEXT_CONVERT_XML_TO_SAP

  • Dump while testing Function- Dynamic type conflict when assigning reference

    Hi Gurus,
    I have the following checked and activated-
    - Function with 1 Ruleset
    - The Ruleset containing couple of DBlookup expressions
    - Value range
    - Decision Table
    - Decision tree,
    - Procedure call
    After I give test data while Simulating the function, I get this dump-
    Short text
        Dynamic type conflict when assigning references
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_FDT_DB_LOOKUP==============CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Have I missed something? We are on SAPKA70207.

    Hi Carsten,
    I couldn't find an OSS note featuring-
    "MOVE_CAST_ERROR" "CX_SY_MOVE_CAST_ERROR"
    "CL_FDT_DB_LOOKUP==============CP" or "CL_FDT_DB_LOOKUP==============CM01K"
    "BUILD_WHERE_CLAUSE_LIMIT"
    Raised OSS note.

  • Testing Function Module before using in DataSource?

    Hi Experts,
    After writing a Function module for Transaction DataSouce (by copying RSAX_BIW_GET_DATA_SIMPLE), is there any way to test the Function Module before using in Transaction DataSource? (to see how many records it retrieves).
    Also can somebody please throw some light in understanding the source code of RSAX_BIW_GET_DATA_SIMPLE function module, as it has many declarations like E_T_DATA,
    I_T_SELECT which will be used in the new function module?
    Looks like, the function module RSAX_BIW_GET_DATA_SIMPLE uses only one table SPFLI.
    If it is just one table why do we need to write function module to extract data?
    Forgive me for my lack of ABAP knowledge.
    Thank you,
    Lakshmi

    The generic function moduel is used when there is no BW extractor and you cannot get to the data via a view or table
    The extractor is quite simple
    You create a extract strcuture of data to send to BW
    Then you create the function module - e_t_data takes on the extract structure
    The select options read data via the infopackage selection from BW (and thus when you create your datasource you shoudl click the fields to be select option)
    So in the ABAP
    You read the select option and put them into a range
    You select from which ever tables you need to in R3 and put into an itab
    You then loop aroudn the itab and manipulate the data or read other tables
    The data finally ends up in e_t_data
    The whole thing gets looped around based on the size of the data package - ie if it is 10000 records then the fetch next cursor after 10000 records will send the package of e_t_data out to the refc scheduler and down the line to BW - then the fetch next cursor will get the next 10000 records for the next
    I use this all the tiem (so sorry for the brain dump)
    I especially use it for virtual cubes - ie to get real time data from R3 from within BW - the data is not requested by ipak but by the query at runtime against a Virtual cube which connects to this generic extractor
    Note: this generic extractor can also live on the BW side - ie you can use it instead of APD to snapshot cube or DSO data to send as an ipak into another cube

  • Runtime error when testing function module 'RSWR_RFC_SERVICE_TEST'

    Hi,
    I'am integrating BIW 3.5 with EP 6.0 according to the report 'RSPOR_SETUP'.I've carried all the steps,but an error on step 12 : system failure during call of function module 'RSWR_RFC_SERVICE_TEST' is there .When I test the connection with function module 'RSWR_RFC_SERVICE_TEST', a runtime error is coming i.e. "<--Localization failed: ResourceBundle='com.sap.engine.services.rfcengine.RFCR'.
    Any help would be highly appreciated.
    Regards.
    Manoj

    Hi Manoj,
    From this I can understand that a critical resource is missing which is required to start the RFC service in Reporting Services Web Runtime. This might be because of incomplete patch deployment. Deploy all the required software component archives related to com.sap.engine.services component and then retry this... I think this should solve the issue.
    Imran...

  • Java.util.Data Exception when Testing Function

    Hi All,
    using VC I'm tring to test fuction HRPWC_RFC_AS_OVERVIEW. The field ViewId is the only one mandatory. When I've executed function I've obtained java.util.Date exception.
    What does that mean? What should I set properly to test the function?
    Regards,
    Marek

    Hi Marek,
    I suppose you meant HRWPC_RFC_AS_OVERVIEW. This is an HR rfc that displays employee’s absence. I tested it in my VC and it works fine. I’ll need some more details on how you’ve created the model in order to help you. 
    Regards,
    Lisi

Maybe you are looking for

  • Install Windows 8.1 Pro on Yoga11s

    Hi, is it possible to install or upgrade to Windows 8.1 Pro on an Yoga 11s? actually, I´m using the preinstalled Windows and i cannot upgrade to Win8.1Pro, even if i enter an valid LicenseKey... I´ve seen an BIOS-Entry wich is like WindowsVersion = S

  • PSP on Oracle 10g Express Edition

    Hi, I am new to pl/sql server pages and Oracle usage. I have downloaded Oracle XE and installed successfully. I want to test the psp samples but I don't know how to do. The readme files explain it using oracle9i as. Can anyone help me with loading th

  • Cannot install the trial version

    I've downloaded the trail version of premiere pro cs5.5 form adobe with the download assistant. It's completely downloaded but the program cannot extract it.. I've searched for hours but I couldn't find the working solution.. opening the .7z file wit

  • Need help saving

    Im sure this problem has been on here a million times. But im trying to save a document that I am emailing to someone who uses microsoft word. In the tutorial it said when i click "save as" I can save a copy as a word document but I only have the opt

  • Hyperlink Behaviour Overriding CSS Specification

    The hyperlinks of my project don't obey the CSS style specified for "Hyperlink {hovered)" in which text is not italicized. Some remain italicized even when the mouse pointer is position over them. Others don't. There's no apparent rhyme or reason to