Invoice Number Having Special Character

Hi Team,
we have a requirement to compare Invoice number from master data to child data.
We are storing the Master Invoice number into variable to access it in Child Data.
Our issue is the invoice number is having a special character i.e. '-' because of which equal to function is not working.
Could any one guide on this issue.
Following is the code
?xdoxslt:set_variable($_XDOCTX, 'v1', ssInvoiceNumber)?>
<?if:(xdoxslt:get_variable($_XDOCTX,'v1')=ssInvoiceNumber)?> Display data <?end if?>
Even though the data are not same the if loop get executed and its display unwanted data.
invoice number as (1-100678,1-100677,1-100679).
Cheers,
Andy

do you want to remove HYPHEN from the numbers before comparing ?
use
<?translate(ssInvoiceNumber,'-','')?> to remove the HYPHEN
<?if:(xdoxslt:get_variable($_XDOCTX,'v1')=translate(ssInvoiceNumber,'-',''))?>

Similar Messages

  • How Create New Folder in KM with Name having Special Character

    Hi,
    How to create new Folder in KM with name having special character in it.
    Right now its not allowing me to create folder when i have Colon( as one of the character in name of the folder.
    Is there a way to change this validate?
    Any help is appriciated.
    Thanks

    Hi DK,
    I'm not sure about special chars such as ":" but ifyou need to have your folders displaying special language chars (like german chars), have a look into the below link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30deb229-d570-2910-4aaf-8858e0660f05
    Hope that helps.
    Ray

  • Doubt in compareTo method while sorting string having special character

    I used compareTo method of String to sort below strings
    ??che
    ??in
    p?ch?
    I got the output in the below order :
    p?ch?
    ??che
    ??in
    Why does ??che appear before ??in because from http://www.asciitable.com/ ascii value of *?* is *154*
    and that of *?* is *130* so shouldn't ??in appear ??che?
    Regards,
    Joshua

    jaay wrote:
    I used compareTo method of String to sort below strings
    ??che
    ??in
    p?ch?
    I got the output in the below order :
    p?ch?
    ??che
    ??in
    Why does ??che appear before ??in because from http://www.asciitable.com/ ascii value of *?* is *154*
    and that of *?* is *130* so shouldn't ??in appear ??che?
    Regards,
    JoshuaAre you sure your strings are using ASCII encoding, and not unicode? If it's the latter, the ASCII table won't matter at all and you'd need to check the values in a unicode table.

  • Special character Support in IDM

    We have enabled the special character support in IDM as per the SUN documentation and we are able to populate the special charactes using the IDM admin console also. But when we run a flat file adapter to process a flat file having special character it fails.
    It simply displays the ? in place of special character.
    Has anyone solved this problem. Any help would be appriciated.
    Thanks

    Got the solution.
    We have to give the encoding in the Flat File adapter configuration.

  • Is there a Special Character for the number of pages in a document?

    I'm creating a template (in cs6) for a series of documents of variable length, and each document needs to be numbered with the format, "page A of Z." I see the special character for inserting the current page number (A) and I'd like to have the number of pages in the document (Z) added automatically as well. Is there a wildcard, special character, or script that will accomplish this? I'd rather not have to enter the number of pages manually as the value will change as these go through the editing process; I'd prefer to have the numbers update automatically. Has anybody done this before?

    Your first suggestion is the only way to capture the last page of a book that's comprised of independent document files. The last page number text variable works only within a single document.
    Anyone who wants a last page in book text variable badly enough can post a feature request at Wishform.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices    
    Arïel wrote:
    Stop press!
    You can also, much more simply, create a new text variable. There is
    specifically one for "last page number". That's much simpler.
    Type>Text Variables>Define>New, and in the Type dropdown just select
    "last page number".
    ariel

  • Special Character For Equipment Number

    Hi Experts,
    Need a solution  to provide equipment number with special charater  System does not support with internal & external number range for special character. Thannks...
    Ramesh

    Ramesh,
      Its not possible to have special characters in the number range object. You will have to use other fields to accomplish your needs and work around it.
    Regards
    Narasimhan

  • Xml publisher reprot - special character problem

    I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
    A semi colon character was expected. Error processing resource.
    Below is the code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select pv.vendor_name          
            from po_vendors pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_vendor_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<VENDOR>';
          xmldata := xmldata||' <LIST_VENDOR>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<VENDOR_REC>';
              l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
              xmldata :=xmldata|| '</VENDOR_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_VENDOR>';
          xmldata := xmldata||'</VENDOR>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END VENDOR;
    END XML_RPT;can any one advice.

    Duplicate post ? xml publisher report problem
    Srini

  • LSMW: Convertion of special character turn into #

    Hi all,
    Ich am Ulpoading a file in the step 'READ DATA' in LSMW and when I check the result in the next step 'DISPLAY READ DATA' I see that the upload (i do not know if LSMW make an WS_UPLAOD or GUI_UPLOAD or another function) converts a special character that we use in Portugal
    in the file:           Fabricação
    in LSMW after Upload:  Fabrica##o
    The file was an Excel which I saved as txt (tab delimited)
    Who can help??????
    Thanks
    Picasso

    Hi Picasso,
    LSMW is having 'GUI_UPLOAD' function module to upload data.
    GUI_UPLOAD FM is having import parameter CODEPAGE.Whose functinality is to take care of such special character.
    Include which is called for READ DATA step, you can very wel find out that the codepage is not suitable for your Portuguese language.
    Do one thing write an BDC...Call GUI_UPLOAD FM and then Pass CODEPAGE number.
    codepage number you will get from  tcp00 table.
    here is example to take care of special Japanese character:
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = l_ws_path
          filetype                = 'ASC'
          has_field_separator     = '#'
          codepage                = '6300'
        TABLES
          data_tab                = i_aenr
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.

  • Error while releasing transport request -  Special character "_" in generic

    Hi all,
    we're receiving the error  Special character "_" in generic key  when releasing a best practice transport.
    Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
    but we have only one entry where field BWERT has a wildcard '*' as entry.
    Does anyone has  some idea how to solve this ?
    kind regards !

    Hello Bjorn,
    How did you get this solved?
    I'm having nearly the same issue:
    A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
    60, there's no message rejecting the entry.
    Regards

  • Error "TK287" when releasing a request - Special character "_" is invalid.

    I have some tables in Solution Manager and having some warnings:
    Table: CRM_SVY_DB_ST
    Field value:CRM_SVY_GENERATE_BSP_TEMPLATE.XSLT
    Field: TRANSFORMATIONID
    It doesn´t accept the special character "_"
    Below the error when releasing and the explanation of the error in the sequence.
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                 
    Explanation of the error:
    Special character "_" in generic key
    Message no. TK287
    Diagnosis
    The generic key 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_ was entered for the object CRM_SVY_DB_ST. All keys that match up to the asterisk are to be transported.
    The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
    The key contains the special character _.
    System Response
    The entry is rejected.
    Procedure
    Extend the generic entry, or specify all keys individually.

    Hi,
    Go through SAP note 711103 & 688363.
    Regards,
    Sachin Rane.
    Edited by: Sachin Rane on Mar 12, 2009 2:48 PM

  • Excise Invoice Number in FBL5N

    Dear All,
    In FBL5N only Billing Document number will come. But there is no provision for Excise Invoice number. Same way at the time payment receipt from customer there is no provision for Excise Invoice number in the layout. But Customer will make the payment against the Excise Invoice Number.
    Is there any Setting or User Exit which will automatically copies the Excise Invoice Number in Reference Field of Billing (Accounting) Document. So that it will be shown at the time of FBL5N or Customer Payment.
    If you some solution it will be helpful for me.
    Regards
    Sreenivas

    check in config:
    The special field has to exist in table T021S. Check if this is the case by using the following path:
    Transaction SPRO -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Customer Accounts -> Line Items -> Display Line Items -> Define Additional Fields for Line Item Display.
    check Note 215798 - FBL*N: Special fields are not displayed
    Few other notes..207436, and 300550.

  • Special character in some of the employee records

    Hi,
    I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
    Request you to please look into this and reply ASAP.
    ===
    Employee Number      Full Name
    1278     M_ü_ller-Seydlitz, Mrs Hilda Suzanne
    1009     Evas, Mrs Sîan* Elynda
    ===
    Regards
    Parvathi Arun
    +919840861075
    [email protected]

    first you need to create a database function like the one below.
    the query to identify those records is then the below:
    select full_name from per_people_x
    where is_not_valid_text(full_name) = 'N'
    you can use the function also to verify other fields like addresses and so on.
    the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
    thanks
    regards
    create or replace
    function is_not_valid_text (p_text in varchar2) return varchar2 is
    v_is_valid varchar2(100) := 'Y';
    v_length number := length(p_text);
    begin
    for i in 1 .. v_length loop
    if not ( -- allowed char
    ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
    or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
    or ascii(substr(p_text, i, 1)) = 32
    or ascii(substr(p_text, i, 1)) = 46
    ) then
    v_is_valid := 'N';
    exit;
    end if;
    end loop;
    return v_is_valid;
    end is_not_valid_text;
    Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43

  • Special character in interactive report using filter

    Hi,
    I created an interactive report and in this report there is a filter to search any row from specific value linked to a specific column.
    As example this report displays a board with some columns like "SR number", "Status", "Description", ....
    If I use this filter with standard character all works fine :
    - in the filter's list of values I choose "Region" column
    - in the search field I put "SE"
    - click on go and the board is generated with all correct rows.
    If I use this filter with special character (french character in my case), this filter changes this special character and the request doesn't return any row.
    Example :
    - in the filter's list of values I choose "Statut" column
    - in the search field I put "Réception"
    - the filter's expression is modified from "Réception" to "Réception" so no row is returned (filter - Statut contains 'Réception' - no data found)
    I modified the character set used by the apex DAD changing the nls_lang parameter in the wdbsvr.app file from AMERICAN_AMERICA.WE8ISO8859P1 (database character set) to AMERICAN_AMERICA.AL32UTF8
    But when I check the apex DAD character set after the web server restart (about Application Express in my workspace) I get :
    NLS_CHARACTERSET: WE8ISO8859P1
    DAD CHARACTERSET: ISO-8859-1
    No change.
    I used the Application Express 3.2.0.00.27 with Oracle E-business Suite (11.5.10.2).
    Any help will be appreciated.
    Best regards,
    Olivier
    Edited by: oll on 1 mars 2010 20:57
    Edited by: oll on 15 mars 2010 21:17

    Hi,
    Thank you for your answer.
    But I already installed french language on apex.
    Unfortunately issue occurs yet.
    To install the french language I followed these steps :
    - I set the NLS_LANG to American_America.AL32UTF8
    - sqlplus sys/**** as sysdba
    - ALTER SESSION SET CURRENT_SCHEMA = APEX_030200;
    - and I executed the load_fr.sql script
    Thank you for your help.
    Best regards,
    Olivier

  • Special character and htp.p()

    I am trying to use PL/SQL procedure to present my customized item.
    If user type in secial character, e.g. single quote ', in the attribute, I got this error on the page:
    Error 30584: DBMS_SQL has raised an unhandled exception. ORA-06550: line 1, column 327: PLS-00103: Encountered the symbol "03" when expecting one of the following: . ( ) , * @ % & = - + < / > at in is mod not rem <> or != or ~= >= <= <> and or like between ||
    Is there a procedure I can call to encode the special character?
    thanks

    Hi - thanks very much the reply. I will bear your suggestions in mind in future as they are very useful.
    I got around the problem I was having by doing the following:
    The line of JavaScript I wanted to output to the page was:
    document.write('&lt;img src=" '+ns_l+' " width="1" height="1" alt="*" /&gt;');}
    And I achieved this by using the following PL/SQL:
    htp.p('document.write('||'''&lt;img src="'''||'+ns_l+'||'''" width="1" height="1" alt="*" /&gt;'''||');}');

  • Special Character to convert to Space

    I have a field in BI "zpustreg" which has values with - and # which is not allowing me to load the data to cube so I am writing this code in transformation to convert any special character to space. but it is having error if you can help me fix the code below would really appreciate it
    Abap Code to Load ZPUSTREG
    METHOD compute_ZPUSTREG.
    IMPORTING
    request type rsrequest
    datapackid type rsdatapid
    SOURCE_FIELDS-/BIC/ZPUSTREG TYPE /BIC/OIZCUSTREG
    EXPORTING
    RESULT type tys_TG_1-/BIC/ZPUSTREG
    DATA:
    MONITOR_REC TYPE rsmonitor.
    $$ begin of routine - insert your code only below this line -
    ... "insert your code here
    *DATA:Monitor_REC TYPE rsmonitor.
    DATA:L_D_OFFSET LIKE sy-index.
    CONSTANTS:c_allowed(60) TYPE c.
    Value `ABCDEFGHIJKLMNOPQRSTUVWXYZ!"%&'()*+,-/:;<=>?_0123456789_’.
    RESULT = SOURCE_FIELDS-/BIC/ZPUSTREG
    TRANSLATE RESULT TO UPPER CASE
    DO 60 TIMES.
    L_d_offset = sy-index – 1.
    IF RESULT+1_offset(1) CO c_allowed.
    Else.
    RESULT+1_d_offset(1) = ` ’.
    ENDIF.
    ENDDO.
    ENDMETHOD.
    E:Statement "VALUE" is not defined. Check your spelling. spelling.
    E:Unable to interpret "C". Possible causes of error: Incorrect spelling
    Thanks
    Soniya

    Also, you'll need to change in this line:
    RESULT+1_d_offset(1) = ` ’.
    the ` for a  ’
    Have you maintained the RSKC transaction? If you put ALL_CAPITAL there it should allow you to use those characters.
    Regards,
    Diego

Maybe you are looking for