Error in Unicode - Move statement

Hi ,
      I get the error message for the following code saying   "WA_EXT-VALUEPART1" and "WA_ITEMEXT" are not mutually convertible in a unicode program.
how to correct this type of error. i cannt use move-corresponding i guess as there are no common fields, that u can check by looking at those structures.
can you please help?          
DATA : WA_ITEMEXT  LIKE BAPE_VBAP.
data   : WA_EXT      LIKE BAPIPAREX.
  MOVE:  WA_ITEMEXT    TO WA_EXT-VALUEPART1.
Regards
Sachin

Hi Sachin, if suppose your BAPE_VBAP has the following structure:
VBELN     VBELN_VA     CHAR     10
POSNR     POSNR_VA     NUMC     6
.APPEND     ZTS_VBAP_01          0
field1     type     CHAR     18
field2     type     CHAR     18
DATA : WA_ITEMEXT LIKE BAPE_VBAP.
data : WA_EXT LIKE BAPIPAREX.
you have to fill the BAPIPAREX as following.
wa_ext-structure = 'BAPE_VBAP'.
wa_ext-valuepart1+0(10) = wa_itemext-vbeln.
wa_ext-valuepart1+10(6) = wa_itemext-posnr.
wa_ext-valuepart1+16(18) = wa_itemext-field1.
wa_ext-valuepart1+24(18) = wa_itemext-field2.
and you have to fill the BAPE_VBAPX also like the same way with 'X' to create or change SO fields.
Thanks.
Regards,
Jey

Similar Messages

  • PROBLEM IN MOVE STATEMENT IN ECC 6.0

    hi EXPERTS,
    THE FOLLOWING CODE WORKS FINE IN 4.6C BUT IN ECC 6.0 THE MOVE STATEMENT AT THE END THROWS ERROR.
    ""INNNN" and "I0008" are not mutually convertible. In Unicode systems, "INNNN" must have the same structure layout (fragment view) as"I0008", regardless of the length of the Unicode character."
    DATA: i0001 LIKE p0001 OCCURS 0 WITH HEADER LINE,
          i0008 LIKE p0008 ,
          innnn like PRELP.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE i0001
          FROM pa0001
          WHERE begda <= 20061201
          AND endda >= 20061201
          AND pernr = 00014442 .
    READ TABLE i0001 INDEX 1.
          i0008-trfgr = i0001-persk.
          CASE i0001-persg.
            WHEN '4'.
              i0008-trfst = i0001-persg.
            WHEN '7'.
              i0008-trfst = i0001-persg.
            WHEN '8'.
              i0008-trfst = i0001-persg.
            WHEN OTHERS.
              i0008-trfst = '1' .
          ENDCASE.
          MOVE i0008 TO innnn.
    I'VE ALSO CHECKED THE SAME PROGRAM IN DEBUGGER IN 4.6C.
    I'VE FOUND THAT THE VALUES FOR i0008-trfgr i0008-trfst ARE TOGETHER STORED IN THE FIELD DATA1 OF INNNN. BUT THIS DOES NOT HAPPEN IN ECC 6.0.
    PLEASE HELP.
    ITS URGENT.

    Hi priya,
    DATA: i0001 LIKE p0001 OCCURS 0 WITH HEADER LINE,
    i0008 LIKE p0008 ,
    declare innnn like this and check
    innnn like p008.
    regards,
    Nagaraj

  • Syntax error in unicode conversion.

    Hi all,
    I got a sytax error in uncode conversion.
    The error is  "TAB_OBJK" and "' '" are not mutually convertible in a Unicode program"     
    the code is
    DATA: BEGIN OF TAB_OBJK OCCURS 0,
              OBKNR LIKE OBJK-OBKNR,
              OBZAE LIKE OBJK-OBZAE,
              END OF TAB_OBJK.
          MOVE SPACE TO TAB_OBJK.
          REFRESH TAB_OBJK.
    Please help me.
    Thanks,
    Naveen.

    You have to remove the MOVe statement Naveen
    The problem here is you are trying to move space to the whole internal table whose syntax is not like that.
    If you want to move space to some of the fields , then try this
    MOVE space TO TAB_OBJK-OBKNR.
    MOVE space TO TAB_OBJK-OBZAE.

  • Doubt in MOVE statement

    what is the arrtibute value of this hex1 type .. in CL_ABAP_CHAR_UTILITIES.
    hex1 TYPE x VALUE '0D',
    my req is this value is in structure n
    data: begin of itab_input
             c1(40) type c value 'hgfsdhfjsdf'.
             hex1 type x value '0D',
         end of itab_input.
    data: begin of itab_output
             c3(42) type c
         end of itab_output.
    MOVE ita_input  TO itab_output.                         .
    im doing unicode conversion.. this MOVE is gving error in unicode conversion
    please explain how to do it..

    Hi Atish..one more doubt same here..
    types:  begin of itab,
              a(5) type c,
              b(5) type dec,
    end of itab.
    types: begin of des ,
              rec(10),
            end of des.
    gw_itab type itab.
    ga_des type des.
    move ga_des-red to gw_itab.
    here i get error moveing this type  as gw_itab contains dec fld..
    if its c type it wont gv any error ..
    how to solve this type error?

  • MOVE statement

    Hi all,
                I added one more extra word to move statement and it is not cming in the final report .
    when i put it in the second line it is giving error like two lines not permitted.
    I am using this in a Report where page width is fixed..
    Thanks in advance..
    Regards
    Rao

    Hi PT Rao,
    Try in this way...
    DATA : a(9) type c, b(80) type C. " 80 is the length for b (ur string which u want to move)
    a = w_faxtn-fax_line+0(9).
    b = 'A fronte delle fatture sotto elencate, abbiamo provvveduto a (f22) bonificarVi'  TO b.
    concatenate a b into w_faxtn-fax_line.
    APPEND w_faxtn.
    CLEAR w_faxtn.
    Hope it will solve ur problem
    <b>Reward points if useful</b>
    Thanks & Regards
    ilesh 24x7

  • STMS - ERROR: stopping on error 12 during MOVE NAMETABS

    Hello,
    my STMS suddenly stopped working and is giving following error messages:
    This is tp version 372.04.71 (release 701, unicode enabled)
    ERROR: stopping on error 12 during MOVE NAMETABS
    stopping on error 12 during MOVE NAMETABS
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 12
    WARNS: Highest tp internal warning was: 0118
    standard output from tp and from tools called by tp:
    Checking logs showed:
    2 ETP399  -
    DB-COMMIT() -
    2 ETP399  -
    DB-ROLLBACK() -
    2AETP344 dbslerror "26" occured at location "LOC095"    (object "DDXTT")
    2 ETP301 -
    3 ETP361 "0" Shadow-Nametabs activated, DDL executed
    2 ETP362 "6" Shadow-Nametab activations failed
    2 ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2010/11/26 18:43:30")
    2 ETP363 End  : Act. of Shadow-Nametabs with DDL ("2010/11/26 18:43:31")
    2 ETP301 -
    2 ETP301 -
    And
    =====================================================================
    Update fails (mode flag   to V in DDXTT. Table: /BEV3/CHBPAKNA1S)
    Result   /BEV3/CHBPAKNA1S:    Action: CNV      Mode flag: V    Return code: 0
    (many entries similar to that).
    Any ideas what can be wrong?
    Looking forward to any tips!
    Regards,
    FS

    Had to activate manualy objects from DDXTT. Now its working

  • Reg alter table move statement

    Hi friends,
    I am having a table with 10GB. i moved the table to the same tablespace using "alter table move" statement.
    previously my tablespace had 6 GB freespace. To move the table i resized datafile to increase freespace in tablespace.
    after moving, my table size reduced to 8GB. now i want to reduce the datafile size to 6GB again. but its throwing error
    ORA-03297: file contains used data beyond requested RESIZE value
    Can't i reduce the datafile size to 6GB again?
    thanks in advance

    resize will not released space below the high water mark.
    The simpliest way how to proceed in this case is to move all tables to the new tablespace and drop the original including datafiles. And rename new tablespace back to the old ones name if You want.
    You can read some more discussions here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:766625833673

  • Frequently faced errors in Unicode while SAP Upgrade

    Hi Gusy,
    I am going work on Unicode upgarde project, can any one share Frequently faced errors in Unicode while SAP Upgrade.
    Thanks,
    Gourisankar.

    Hi
    MESSAGEG@3      
    Replace variable declaration of type X with appropriate value from method cl_abap_char_utilities
    i.e.      CONSTANTS:      con_tab TYPE x VALUE '09',
                   con_cret TYPE x VALUE '0D'.
    would be replaced with
         CONSTANTS:      con_tab TYPE c value cl_abap_char_utilities=>HORIZONTAL_TAB,
                   con_cret TYPE c value cl_abap_char_utilities=>CR_LF.
    *UPLO      *
    Upload/ws_upload and download/ws_download are obsolete, since they are not Unicode enabled. Replace
    with appropriate methods from cl_gui_frontend_services. Please also note that the data types of the various
    parameters will also probably also need changing for the new method calls but the code below demonstrates
    how to do this. I_TABLE is the original table and IT_UCTABLE is the converted table.
    i.e. Function module u2018WS_DOWNLOADu2019
      CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
               FILENAME                = p_file
               FILETYPE                = 'ASC'
             MODE                    = ' '
           TABLES
                DATA_TAB                = i_table
          EXCEPTIONS
    would be replaced with
    data: gd_file type string.
    types: t_uctable like line of i_table.
    data:  it_uctable type standard table of t_uctable.
      gd_file = p_file.
      it_uctable[] = i_table[].
      CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
        filename = gd_file
        filetype = 'ASC' " DAT,WK1
        Append   = ' '   "if mode = A then this would be X
      CHANGING
        data_tab = it_uctable
      EXCEPTIONS
        OTHERS   = 1.
    Function module u2018DOWNLOADu2019
          CALL FUNCTION 'DOWNLOAD'
            EXPORTING
              filename = p_file
              filetype = 'WK1'
            TABLES
              data_tab = i_table.
    would be replaced with
    data: gd_file type string.
    DATA: ld_filename TYPE string,
          ld_path TYPE string,
          ld_fullpath TYPE string,
          ld_result TYPE i.
    types: t_uctable like line of i_table.
    data:  it_uctable type standard table of t_uctable.
      gd_file = p_file.
      shift gd_file RIGHT DELETING TRAILING '\'.
      shift gd_file RIGHT DELETING TRAILING '/'.
      shift gd_file left DELETING LEADING space.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          DEFAULT_EXTENSION = 'WK1'
          default_file_name = gd_file
          INITIAL_DIRECTORY = gd_file
        CHANGING
          filename          = ld_filename
          path              = ld_path
          fullpath          = ld_fullpath
          user_action       = ld_result.
      check ld_result eq 0.
      gd_file = ld_fullpath.
      gd_file = p_file.
      it_uctable[] = i_table[].
      CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
        filename = gd_file
        filetype = 'ASC' " DAT,WK1
        Append   = ' '   "if mode = A then this would be X
      CHANGING
        data_tab = it_uctable
      EXCEPTIONS
        OTHERS   = 1.
    Or in circumstances where you need to add field texts to the first line of the file you could use the
    GUI_DOWNLOAD function module:
    DATA: BEGIN OF fields_tab OCCURS 0,
            f1(50),
          END   OF fields_tab.
    fields_tab-f1 = 'field1 text'.
    APPEND fields_tab.
    fields_tab-f1 = 'field2 text'.
    APPEND fields_tab.
    fields_tab-f1 = 'field3 text'.
    APPEND fields_tab.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = i_filename
          filetype                = 'DAT'
        IMPORTING
          filelength              = filelen
        TABLES
          data_tab                = itab
          fieldnames              = fields_tab
        EXCEPTIONS
    Note: u2018ws_uploadu2019 and u2018uploadu2019 would be the same as above but would use the
    cl_gui_frontend_services=>gui_upload method call instead:
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename = gd_file
        filetype = 'ASC' " DAT,WK1
        Append   = ' '
      CHANGING
        data_tab = it_uctable
      EXCEPTIONS
        OTHERS   = 1.
    OPEN 004      
    Add u2018ENCODINGu2019 addition to statement
    i.e.      OPEN DATASET G_DATAFILE for OUTPUT IN TEXT MODE.
    would be replaced with
         OPEN DATASET G_DATAFILE for OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
    OPEN 002      
    IN..Mode is expected within open dataset command.
    i.e.      OPEN DATASET wfilepath FOR OUTPUT.
    would be replaced with
         OPEN DATASET wfilepath FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
    Or      OPEN DATASET wfilepath FOR OUTPUT IN BINARY MODE.
    OPEN 001      
    FOR INPUT, FOR OUTPUT, FOR APPENDING or FOR UPDATE expected!
    i.e.      OPEN DATASET wfilepath FOR OUTPUT.
    would be replaced with
         OPEN FOR OUTPUT DATASET wfilepath FOR OUTPUT IN TEXT MODE.
    DESCIBE002      
    THE DESCRIBE LENGTH can only be used with the IN BYTE or IN CHARACTER MODE
    i.e.      describe field e_text length line_length.
    would be replaced with
         describe field e_text length line_length IN CHARACTER MODE.
    ASSIGN 019      
    The statement u2018ASSIGN PATH+PATHLENGTH TO
    .u2019 Returns the following error message:
    "You cannot use ASSIGN f+offset. Always use an explicit length (or '*')".
    i.e.      ASSIGN PATH+PATHLENGTH TO
    would be replaced with
         ASSIGN PATH+PATHLENGTH(2) TO
    . u201Creplace 2 with the length of the field
    MESSAGEG!2      
    Itab/structure and u201C u201C  are not mutually convertible in a Unicode program
    i.e.      G_SHOW_LIST = SPACE.
    would be replaced with
         Clear: G_SHOW_LIST.
    Or       G_SHOW_LIST-field1 = space.
         G_SHOW_LIST-field2 = space.
                             u2026etc
    *MESSAGEG!3      *
    var and var  are not comparable in a Unicode program
    Example      Data: VAR like tabix.
    was replaced with
              Data: VAR type sy-tabix.

  • Error while generating remuneration statement

    Hi
    I found an error, while generating remuneration statement. The error is "Start date 01.01.1800 is higher than end date 00.00.0000".
    Kindly help
    Shadeesh

    Hi shadeesh,
    Please check the payroll control record's start date and end date in PA03
    regards,
    Ayyaps

  • Length error occured in IMPORT statement

    Hello everyone,
    i hv one requirment in PO print(ME23N). in po print asset no nt display without changing other format.
    so that i first copy both smartform and driver program, in that i made certain changes such that i declare the patameter p_ebeln and i comment to data statement of p_ebeln & p_ebeln = nest-objky.
    then i join asset no (anek-anln1) with the help of inner join. then in smartform i gave condition that if bsart = 'ZCAP'
    wa_final-anln1 = gv_anln1.
    endif.
    i import gv_anln1 in smartform and exported in deriver program.
    both are synthetically currect but when i gave print preview dump is occured.
    length error occured in IMPORT statement
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "%GLOBAL_INIT" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        During import the system discovered that the target object has
        a different length than the object to be imported.
    what i do?

    Hello,
    can u send me coding for that?
    program line is already created for that
    and their first coding is like that,
    if gv_bsart = 'ZCAP'.
    wa_final-matnr = space.
    endif.
    and in text they fetch matnr no.
    but as per requirement they want asset no when bsart = 'ZCAP'
    how that asset no will come.
    matnr comes there is bsart is other that ZCAP, but bsart = ZCAP they want asset no instead of matnr.

  • Length error occurred in IMPORT statement.

    Hi All,
               while exexuting a program i got dump saying that Length error occurred in IMPORT statement. through ST22 i came to know that both import and export structres are not same. Import structure is longer than the export structure.
             I tried in SDN but i coudnt find any solution. can you please suggest how to solve this.
    Thanks in advance,
    Sreekala.

    Hi,
    Maybe what you can do si....
    Program X
    data: v_var(20) type c.
    export v_var.
    Program Y
    data: v_var(20) type c,
             v_var2(50) type c.
    import v_var.
    v_var2 = v_var.
    Create a variable that is exactly the same with the exporting parameter, then just assign it to a local variable declared in the 2nd program.
    Hope this helps.
    Benedict

  • Error while replacing IF statements with DECODE function in procedure

    Hi All,
    I have created a procedure which has nested IF statements. Now I want to replace the IF statements with DECODE functions to improve performance.
    Procedure:
    IF (var_int_sev = '0')
    THEN
    var_sev := '2';
    ELSE
    SELECT sev
    INTO var_int_sev
    FROM errorconfig
    WHERE errorcode = var_errorcode;
    var_sev := var_int_sev;
    END IF;
    I converted the above IF statement into DECODE function as mentioned below:
    var_Sev := DECODE(var_int_sev,0,2,SELECT severity FROM errorconfig WHERE errorcode=var_ErrorCode)
    But it throws below error at the select statement used inside DECODE.
    Error(58,51): PLS-00103: Encountered the symbol "SELECT" when expecting one of the following: ( - + case mod new not null others <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string literal with character set specification> <a number> <a single-quoted SQL string> pipe <an alternatively-quoted string literal with character set specification> <an alternativ
    Can someone help me in converting the IF to DECODE in the above case. Also how can we use a select statement inside decode.

    instead of trying to rewrite all your code and hoping that the performance will be better, it's a better option to investigate and find out which part of your application is slow
    read this:
    When your query takes too long ...

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • Error: unexpected XML reader state. expected: END but found: START:

    I am getting following error while invoking method 'GetVersionInfo' (.net web service over dll) which takes one input parameter(string) and gives two output parameters(both short):
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: deserialization
    error: unexpected XML reader state. expected: END but found: START:
    {UPPLink}pnVersionMajor
    ORA-06512: at "SYS.UTL_DBWS", line 388
    ORA-06512: at "SYS.UTL_DBWS", line 385
    ORA-06512: at line 40
    Expected Request is as follows:
    POST /UPPLink/UPPLink.asmx HTTP/1.1
    Host: 172.16.1.38
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "UPPLink/GetVersionInfo"
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetVersionInfo xmlns="UPPLink">
    <ignore>string</ignore>
    </GetVersionInfo>
    </soap:Body>
    </soap:Envelope>
    EXpected Response is as follows:
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetVersionInfoResponse xmlns="UPPLink">
    <GetVersionInfoResult>
    <pnVersionMajor>short</pnVersionMajor>
    <pnVersionMinor>short</pnVersionMinor>
    </GetVersionInfoResult>
    </GetVersionInfoResponse>
    </soap:Body>
    </soap:Envelope>
    The PL/SQL code I am using is as follows:
    DECLARE
    service_ sys.utl_dbws.SERVICE;
    call_ sys.UTL_DBWS.call;
    service_qname sys.utl_dbws.QNAME;
    port_qname sys.utl_dbws.QNAME;
    operation_qname sys.utl_dbws.QNAME;
    string_type_qname sys.utl_dbws.QNAME;
    number_type_qname sys.utl_dbws.QNAME;
    retx ANYDATA;
    strEntry VARCHAR2(100);
    retx_string VARCHAR2(100);
    majorVersion NUMBER;
    minorVersion NUMBER;
    params sys.utl_dbws.ANYDATA_LIST;
    v_outputs sys.utl_dbws.anydata_list;
    BEGIN
    dbms_output.put_line('Starting Function');
    service_qname := sys.utl_dbws.to_qname(null, 'UPPLink');
    strEntry := 'vab';
    dbms_output.put_line('Creating Service');
    service_ := sys.utl_dbws.create_service(HTTPURITYPE('http://172.16.1.38/UPPLink/UPPLink.asmx?WSDL'), service_qname);
    dbms_output.put_line('Creating Operation');
    operation_qname := sys.utl_dbws.to_qname(null, 'GetVersionInfo');
    dbms_output.put_line('Calling Service');
    call_ := sys.utl_dbws.create_call(service_, null, operation_qname);
    sys.utl_dbws.set_property(call_, 'SOAPACTION_USE', 'true');
    sys.utl_dbws.set_property(call_, 'SOAPACTION_URI', 'UPPLink/GetVersionInfo');
    sys.utl_dbws.set_property(call_, 'OPERATION_STYLE', 'rpc');
    string_type_qname := sys.utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'string');
    number_type_qname := sys.utl_dbws.to_qname('http://www.w3.org/2001/XMLSchema', 'short');
    sys.utl_dbws.add_parameter(call_, 'ignore', string_type_qname, 'ParameterMode.IN');
    sys.utl_dbws.add_parameter(call_, 'pnVersionMinor', number_type_qname, 'ParameterMode.OUT');
    sys.utl_dbws.set_return_type(call_, number_type_qname);
    params(0) := ANYDATA.convertvarchar2(strEntry);
    dbms_output.put('Invoking with Input Parameter: ');
    dbms_output.put_line(ANYDATA.ACCESSVARCHAR2(params(0)));
    retx := sys.utl_dbws.invoke(call_, params);
    dbms_output.put_line('Invoke complete');
    majorVersion := retx.accessnumber;
    dbms_output.put_line('Major Version ' || majorVersion);
    v_outputs := SYS.utl_dbws.get_output_values(call_);
    minorVersion := ANYDATA.AccessNumber(v_outputs(1));
    dbms_output.put_line('Minor Version ' || minorVersion);
    sys.utl_dbws.release_service(service_);
    END;
    /

    Actually, the name needs to match what is specified in the WSDL file.

Maybe you are looking for

  • Creating job application page, help.

    I have a job application document that people are able to type into the correct places.  I was wondering how I could put this into one of my webpages so people can still type into the correct places and when they click submit their filled in applicat

  • Charge Account Is Not Copied From PR to PO When Created From PR to RFQ to Quotation to PO

    Hi, We are using Autocreate functionality (Forms) for creating PO. Now when we create PO directly from PR, distribution account gets copied correctly from PR, but when when we create PR>>RFQ>>Quotation>>PO , it takes from Inventory org material accou

  • Duration between 2 java.util.Dates

    Hi, Recently found a problem calculating duration between two dates. It has confused me as it happens only on certain dates! Notice the duration for 28/10/07 - outputs 85 minutes. Am I missing something obvious here? GregorianCalendar gc = new Gregor

  • Re:Customer Outstanding report

    Dear friends, I would like to know how to find out a customer outstanding and current balance as of date. Is there any cuncurent for that, or we can see in the front end. Advacned Thanks & Regards, Shruthi

  • How to modify existing code of SQVI report?

    Hi Expert,    There is a SQVI report which has already been created but we need to change the one for new requirement. is there any way to modify existing code for new requirement? Can we edit in abap workbench? Thanks & Regards Savita