Length of IDoc field is cut

Hello,
I have the following problem:
I have a vendor master scenario which means XML File to CREMAS IDoc. The problem is here the phone numer.
The length of the phone numer is set to max=16 in the IDoc schema. If I have a longer phone number obviously this is no problem in the mapping itself as I do not get an error message there.
Is this correct? I would have expected an error when I test the message mapping with the "test" tab.
However the phone number is then cut in the SAP ERP-system after receiving. Is there any way to change this field to accept longer values in the backend SAP ERP system? What are the steps to be done if this is possible?
Thank you very much for your advise.

>
Florian G. wrote:
> Hello,
>
> I have the following problem:
>
> I have a vendor master scenario which means XML File to CREMAS IDoc. The problem is here the phone numer.
> The length of the phone numer is set to max=16 in the IDoc schema. If I have a longer phone number obviously this is no problem in the mapping itself as I do not get an error message there.
> Is this correct? I would have expected an error when I test the message mapping with the "test" tab.
>
XI 3.0 or PI 7.0 doesnt do such a validation on the XSD. So it will not throw any error.
in PI 7.1 you can force a XSD validation
> However the phone number is then cut in the SAP ERP-system after receiving. Is there any way to change this field to accept longer values in the backend SAP ERP system? What are the steps to be done if this is possible?
>
> Thank you very much for your advise.
you will have to customize the Idoc in R3to accept more characters than the specified length in the backend SAP

Similar Messages

  • Limited IDOC field

    Hello everybody,
    my problem is that I want to map a string field with undefined length to an IDOC field called TDLINE. Now my IDOC field shows maximal 80 characters of the original string. When my original string has more than 80 characters, it is cut and the remaining characters get lost.
    Do you have any solution for that? My suggestion would be that I create dynamically an additional IDOC field via coding, but I hope there is an easier solution.
    Thank you and best regards
    Martin

    Hello everybody,
    problem is solved. I misunderstood our requirements....
    The requirement was creating a new instance of a node and not adding a new IDOC field
    BR Martin

  • How to map empty IDoc field

    Hi everybody!
    I want to map the value of a source field through a <b>FixValues</b> function to the target field. Unfortunately this is an IDoc field which sometimes doesn't even exist (i. e. it's not just empty - it's not even there). In this case the <b>FixValues</b> function suppresses the output, and there is <i>no</i> output - not even the <i>default</i> value of <b>FixValues</b>. However, the requirement is that I always have to generate a default output - even if the input field is empty/missing.
    Ony ideas how this could be done?
    Regards, Joerg

    Hi Himadri!
    Thanks for the quick response! I tried to create such a que. However, it doesn't remove the SUPPRESS from the queue. Here's the code:
    // Two input params: src[] and def[]
    // src contains the input queue (with SUPPRESS values)
    // dst contains (hopefully) only one value - the default value
    int n=src.length;
    result.clear();
    if (n==0) {
      result.addValue(def[0]);
    else {
      for (int i=0; i<n; i++) {
        if (src<i>.equals(ResultList.SUPPRESS)) {
          result.addValue(def[0]);
        else {
          result.addValue(src<i>);
    What am I doing wrong?
    Regards, Joerg

  • Owb error while edit a mapping:the minimum length of this field is 1

    after creating a mapping,an error always occur when i attemp to
    edit it just as add a mapping table,the error description is:
    the minimum length of this field is 1 and its maximum length is
    15,You have 19 characters.
    can some one help me?thanks

    Hi Vidyanand,
    Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
    Note that there are 4 database roles being created when you create a runtime repository owner:
    - OWB_A_<runtime repository owner>
    - OWB_D_<runtime repository owner>
    - OWB_R_<runtime repository owner>
    - OWB_U_<runtime repository owner>
    If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
    Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
    Thanks,
    Mark.

  • Length of a field in a structure

    Hi,
    Is there any restriction on the length of the field in a structure which is CHAR type ??
    Thanks.

    Sample
    report zrich_0001
           line-size 1023.
    data: begin of s,
          a(65510) type c,
          b(25) type c,
          end of s.
          s-a = 'This is field 1 asdfkljas;dfkja;sldkjf;aslkdjf;alskdjfa' &
                'asdfkajsd;kfjas;dlkfj;aslkdjf;alksjdf;lkasjdf;lasdfasdf' &
                'asdfkljas;dlkfj;askdjf;askjdf;lkasdjf;lkasj  thd end'.
          s-b = 'This is field 2'.
          Write:/ s-a.
          write:/ s-b.
    Regards,
    Rich Heilman

  • How to get the length of a field value, not the length of DB's CHAR(20)

    Hello.
    I'm trying to handle a String from my DataBase and get its length:
    String myName;
    int i;
    PreparedStatement sql = Conn.prepareStatement("SELECT NAME FROM MY_TABLE");
    ResultSet results = sql.executeQuery();
    results.next();
    myName = results.getString("NAME");
    i = myName.length();
    out.println("The value is " + myName + " and the length is " + String.valueOf(i) );
    I get:
    " The value is Tom and the lengh is 20 "
    20 is the length of the field (it's a CHAR (20) ), but I would like to get the length
    of 'Tom'.
    On other hand, I would like to detect if this value is 'Tom' or not, but trying with:
    if (myName.equals("Tom")) {...}
    or
    if (myName == "Tom") {...}
    There is no response.
    Any experience?

    myName = results.getString("NAME");
    if(myName!=null) myName = myName.trim(); //Take out trailing spaces
    i = myName.length();Sudha

  • Length of Input field in PCUI ???

    Hello Expert,
    Is there anyway to change the length of input field ?
    I created a input field of lenght 1 in GUI. and added this field PCUI also. In pcui this field is accepting only one char but the field visiable on screen is too long for a single char.I want to change this visiable length of the field on the screen.
    Please Guide me!!!
    Thanks
    Amit

    Thanks Thirumala for ur reply
    Dear visiable length is not taken from DDIC structure field
    length, that also control length of input value.
    Visiable length is controled by layout Algo. only this much i know.How can we change that, No idea.
    Thanks
    Amit

  • Length of amount field in New GL at the document entry

    Hi,
    1) At present I am working on ECC 6, EhP 4 with New GL Activated & Old GL "Not deactivated" (i.e deactivate update of Classic General Ledger GLT0 not done).
    2) The total table (FAGLFLEXT) & Line item table (FAGLFLEXA) field in new GL has amount field length as 23 digit.
    3) When I am trying to enter any FI Document in SAP, using transaction code F-02 or FB60 etc, the length of amount field is coming as 13 digit. I am not able to enter higher value
    Question:-
    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    Thanking you in advance
    Santosh Agarwal

    a) Is the above issue due to "non-deactivation" of "Old GL"? As per my understanding, it is not, but wanted your opinion.
    No, it is not.
    b) Is there any configuration which needs to be done to increase the length of the amount field at transaction level?
    No, there isn't.  The field length that is appearing during document entry is really dictated by the data type of fields such as DMBTR, WRBTR in table BSEG; which is CURR (13,2).  Although the GL view (FAGLFLEX* tables) have longer length, the limitation in entry view (BSEG, etc.) stays as 13,2.

  • Output data to txt file with full length of the field as in database

    Hi
    I have a problem related to output data I ntxt file on server
    for eg
    CONCATENATE
    wa_sagadr_outtab-seqno
    wa_sagadr_outtab-bpext
    wa_sagadr_outtab-name_org1
    wa_sagadr_outtab-country INTO wa_sagadr_text SEPARATED BY ''.
    the output is separated by single space irrespective of database length of the field , I want to display all the lenth of the database field eventhough the remaining space is blank ie if a field is 20 char in dtabase and only filled with 6 char the whole 20 char lenth should be displayed in the output file
    ouput as below
    required format ie space equvalent to as in database lenght
    000001       700006               C4 Plant AMD Export Sdn.Bhd.so on.
    my format as coming single space in between only
    000001 700006 C4 Plant AMD Export Sdn.Bhd
    pls suggest

    For this maintain an work area with the fields and structure same as the one which you want.
    ten populate the work are and write to file.
    concatenate will not work.
    e.g.
    DATA: begin of wa_sagadr_text,
              seqno like wa_sagadr_outtab-seqno,
              bpext like wa_sagadr_outtab-bpext,
              name_org1 like wa_sagadr_outtab-name_org1,
              country like wa_sagadr_outtab-country
              end of wa_sagadr_text,
    clear wa_sagadr_text.
    wa_sagadr_text-seqno = wa_sagadr_outtab-seqno.
    wa_sagadr_text-bpext= wa_sagadr_outtab-bpext.
    wa_sagadr_text-name_org1 = wa_sagadr_outtab-name_org1.
    wa_sagadr_text-country = wa_sagadr_outtab-country INTO wa_sagadr_text.
    transfer wa_sagadr_text to outputfile
    or write:/ your fields.

  • How to fix the output length of a field

    Hi!
    I want to 'allocate' the full length of the field while smartform printing even if it is initial.
    How can I do this? I tried the &field(*)& &field(F<' '>)& output format, but nothing.
    Thanks

    Hi!
    I have only one text element, and in that I have two variables separated only with one space. In the printed form the starting place of the second variable depends on the length of value in the first variable.
    like this:
    The first variable has the dictionay type 'VBELN', despite this fact, the &FIELD(*)& does not work.
    The template doesn't work here too. because I have only one text element.
    Or can I print two text element in one row? It could be a solution probably.

  • Adhoc query - length of service fields

    Hi all,
    I have question regarding the length of service fields in adhoc query (Actions infotype data fields PNP database).
    When I select these fields I get different results according to reporting period; if i select a keydate then the service is calculated according to this date, but if I select a reporting period, then the service is calculated according to the start date of the reporting period.
    Is this expected behaviour? Please let me know how this can be coded to reference the end date of the reporting period.
    many thanks

    Hi,
    Please check OSS notes 333517 and 357093. Both notes, though from 2000, contain detailed functionality and recommendation around u201Clength of serviceu201D.
    Hope this helps.
    Donnie

  • Are idoc fields case sensitive?

    Hello, there has been an error during idoc processing. The trading partner field was filled in lowercase and this is bringing me error      Message no. FB279  ' Company dp0017 is not defined'. The other idocs had DP0017 filled in and were processed fine.
    Any input on this? thx.
    Edited by: Antish  Awootar on Jun 7, 2011 8:02 AM

    Hi Antish,
    It actually depends on the value that is stored in the IDOC, if the IDOC has company code in lower case then that is exactly how it will be used in the program for all purpose and no automatic conversion is applied. The below message is thrown in the FM - FI_COMPANY_CHECK This FM will look up the table T880 - If you check the entry in this table will be DP0017 and not dp0017. Hence it is throwing the error message.
    If your question is it works fine when i try in SE37 with the FM "FI_COMPANY_CHECK" or if i input "dp0017" in  WE19 or in SE11 against T880, then the reason for that is a conversion is applied automatically and it is changed to DP0017.
    To answer your question "Are idoc fields case sensitive?", it depends on the context, does it retain the case when it is filled in, yes it does.
    Regards,
    Chen
    Edited by: Chen K V on Jun 7, 2011 4:10 PM

  • FB03 - Increase length of the field "Account Short Text" in FB03

    Dear Expert!
    I understand that Tcode: FB03 is SAP standard tcode. However, i just want to ask, is it possible to increase length of the field "Account Short Text" to 42 characters in FB03? Because my vendor/customer name is quite long, and when i view via FB03, the field "Account Short Text" only displays 20 characters, not full vendor/customer name. Unless, i double click on the line item, then i can see full vendor/customer name. But i want the "Account Short Text" field can display full vendor/customer name.
    Is that possible?
    Thank you very much.
    LeLinh

    Hi,
    there's a matadata table behind it RFPSD and for Account short text field KTEXT is used, which in fact has a length of 35 chars.
    But on the other hand there's also a filed KTEXT_GL (G/L Account Short text) which is maybe applied here. It has a length of 20.
    You can do some more checks on program to clear it finally
    Regards

  • How can I search the attribute including type and length of the field in the SD table or form such as sales executive table through debug?

    Some users show that  the sales docment external name is not printed completely in the form of delivery form printing, so I want to find how much length of the field is there through debugging. I am very expected to gain some suggestion from you.

    for exploding the bom if you know header material use
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
    now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
    if production order created you have to check in afvc and afvv else check in plpo and plko.
    for checking with plpo and plko you have to check MAPL table.
    for bom and material link
    MAST,STPO,STKO.
    stlnr is the common field
    regards
    shiba dutta

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

Maybe you are looking for

  • XML over HTTP using BPEL (not using SOAP)... is this possible?

    Hi there. We're trying to expose a BPEL process which will be exclusively triggered from a HTTP POST. The Client Partner Link in the BPEL process models Oracle's Transparent PunchOut standard. This standard is strict XML-over-HTTP, SOAP is not involv

  • Problem with iBook G3....

    I just ordered this computer off of eBay and I seem to be having troubles already. When I start up the computer the options bar at the top does not appear and it continuously loads, but nothing happens. I am also having a problem with the keyboard no

  • How to remove SUBSCRIPTION_DOWNLOAD from queue

    I was using patch management for little while, but decided to disable it. e3very five minutes the zman queue shows a subscription download F item. I cleared the queue, and re-activated patch managment and removed all configuratin entries, then disabl

  • Oracle 9iAS R2 support for JAX - RPC / B / P /M

    Hi, browsing the web I came accross to the following links: http://otn.oracle.com/tech/webservices/htdocs/wsvsm/wsorcl.html http://otn.oracle.com/tech/xml/htdocs/standard.html And it seems that Oracle 9iAS R2 supports the libs mentioned on Subject. F

  • Clear DB Table Buffer in J2EE Engine

    Hi all, Is it possible to clear specific database table buffer in Open SQL layer in J2EE engine? I'm insterested in programmatically and manually approach. I know that buffer is automatically refreshed after successfull INSERT, UPDATE or DELETE state