XML error since SAP field name has the character '/'

Hi all,
Forgive me if this is the wrong forum for this post. Here's goes my problem.
There's a field in VBAP /BEV1/SRFUND which is mapped to an XML structure directly.
Because of the existing '/' character in the name, the XML output appears as </BEV1/SRFUND/>
wherein bold represents the XML tags.
How can i solve this problem.
~Herwin.

Hello,
I do not know, how you create your XML data.
If you use the XSLT-Engine of ABAP you could just call the XSLT-Transformation ID to see, what is the encapsulated XML-Tag for /BEV1/SRFUND . The XSLT-Engine of ABAP replaces the '/' with _-. E.g.: -BEV1-SRFUND .
For example:
  data:
    l_string type string,
    l_data   type /bev1/srfund.
  call transformation id
     source data = l_data
     result xml l_string.
Result would be an ASX-representation of the value l_data, including the tags   <_-BEV1_-SRFUND>value...</_-BEV1_-SRFUND>
Kind regards,
Hendrik

Similar Messages

  • Passing form field name to the subject line of the task assign email

    Hello Everyone,
    I am trying to create a process that need to pass one of the field data from a form to the task email assign but could not make it work right as expected. I think I miss something but could not figure it out myself. If any one has done this before, please share your knowledge.
    Thanks in advance,
    Han Dao

    Hi Jasmin,
    I thought it simple thing to do by passing the xPath to the subject line but for some reasons, it does not work instead it show the whole xpath on the subject line. Here is my xpath:
    {$/process_data/FormData/object/data/xdp/datasets/data/FSFIELDS_/Form1936/EmpInfoSub/UserM gr$}
    where Form1936 is the pageName, EmpInfoSub is sub-form, and UserMgr is field name on the form.
    Thanks,
    Han Dao

  • Is there any way to read the field name,through the property binded to it.

    Hi
    I want to know that,is there any method exits with which i can find the field names of the screen,if i have the property attribute with me.
    as my req is to make the validation for the property attr,& check  how many fields are binded with the single property attr,i have read the property attr dynamically,now need to find the fields linked,& need to check how many fields have not field value,& through the error msg.

    just read the attribute binded to properties using code wizard ( Control + F7).
    Code generalted will be like :
    DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check LIKE ls_cn_check-ca_check.
      navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
      get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
      get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check ).
    Here i have read attribute CA_CHECK.

  • Table name & field name for the tab Document in Marketing Planner

    Anybody knows what is the table name and field name for the "Document" in Marketing Planner and Account Planner.  In this tab we attach relevant Campaign or Coupon or reference advertisement document.  I am not able to find out in which table and field it is storing.

    like yogesh has suggested
    you have to use the table RESB only to get the total qty by using the field BDMNG
    or create the query using the same table and get total qty report.
    use logical database RMM

  • Field Name  of the field on the Selectiion Screen

    Hi,
    I am executing report program and we get a Selection Screen .The question is  can we catch the field names of the fields on the selection screen dynamically.
    We can find the field name by pressing F1 and looking into the Technical Information of that perticular field.
    But can we fetch the field name dynamically.
    Any pointers/information in this regard will be highly helpful.
    Thanks & regards,
    Abhijeet

    Hello Abhijeet,
    Here's what I think you're looking for -
    tables spfli.
    parameters     : p_test   like spfli-carrid.
    select-options : s_carrid for  spfli-connid.
    DATA:
      descr_ref TYPE ref to cl_abap_elemdescr.
    START-OF-SELECTION.
      descr_ref ?= cl_abap_typedescr=>describe_by_data( p_test ).
      WRITE: / 'Typename     :', descr_ref->absolute_name.
      WRITE: / 'Kind         :', descr_ref->type_kind.
      WRITE: / 'Length       :', descr_ref->length.
      WRITE: / 'Decimals     :', descr_ref->decimals.
      WRITE: / 'Output Length:', descr_ref->output_length.
      WRITE: / 'Help ID      :', descr_ref->help_id.
    Kind------> data type (C , I , etc.,)
    Help ID---> data element (usually).
    There are other classes in ABAP of the form CLABAPDESCR which can provide you with other information. These classes all belong to what is called RTTI (Run Time Type Identification). However, these are available only from 46c. You can explore the other classes, as I think they would be very interesting and useful in the future.
    Regards,
    Anand Mandalika.

  • How to display header fields names in the next page in report6i

    how to display repeat header field names into the next page in report6i urgent plz......
    When i am runing report in 1st page only the header information is displaying in 2 page the header info is not displaying only records are displaying.So i want to display the header info in 2nd page also.
    Plz help out.

    Hello,
    Go to the report layout model and select those items/objects which are not getting display on next page and open the property pallet by pressing F4 key and set the property Print Object On to All Pages then it will display on all pages.
    -Ammad

  • Table names and field names for the PO item details

    Hi,
    I want table names and field name for the below fields.
    I have PO number i want to get below fields for PO.
    <b>Confirmed Ship Date (or actual ship date if already shipped) – PGI Date
    Quantity of Product to be shipped (base unit of measure) Sales Order Qty
    Shipped Quantity of Product (normally zero)
    Shipped From Plant Name</b>
    Excellent reward is compulsary.
    reagrds,
    vijay

    Hi,
    Please find below the some of tables and fields for the PO. But from your query hope you are refering some other PO.
    Table : EKPO
    Fields
    KTMNG - Target Qty
    MENGE - Open Qty
    WEPOS - Goods Receipt
    LEWED - Latest GR date
    Table : EORD
    Fields
    RESWK - Procurement plant
    FRESW - Fixed Issuing plant
    LIFNR - Vendor
    FLIFN - Fixed vendor
    Regards,
    BK

  • I wish to modify the name of one of the field name in the sales order.

    HELLO GURRRUS,
                 i wish to modify teh name of one of the field name in the sales ordder.
    what is the procdure,path and steps involved in that.it would be of great help of me if u take some  time and suggest me.
    bye take care hav a happy and peaceful life

    Hi Sameer,
    If you want to change the name or description of the field in the Sales order,
    you have to use the userexit MV45AFZZ and use the Form USEREXIT_FIELD_MODIFICATION.
    Get the help of the ABAPer and decide where do you want to make the change in the Header or the Line items.  Accordingly give the requirements to the ABAPer.
    He will do it.
    Thanks
    Augustine Ponraj

  • Table name and field name of the structure field

    Hi Gurus
    I am having a screen where i enter a value in a field and that field is a structure field, I would like to know in which table and what field is this value storing?
    Can anyone help me out in finding the field name? and what is the procedure to find?
    Thanks in advance

    Hi Satya,
    In the field data section (technical information), you can double click on the field name then the system will take you to SE11 (Data Dictionary). From here, you can check whether the field is available in tranparent table or structure.
    In general, as naren mentioned sales order header data stored in table VBAK and line item in table VBAP, VBEP, etc.
    For request delivery date, it stores in table VBAK-VDATU.
    Regards,
    Ferry Lianto
    Please close this thread if your problem solved and mark for all helpful answer.

  • Auto - shown field name in the issue tab - OTM

    Hello,
    There is one strange thing happened that suddenly one additional field name is started visible as 'Closed" and i am not able to seen the field name in the admin section as CLOSED (issue tab). can anyone tell me from it is coming and how should i remove this. currently, it is coming like this, see the CLOSED field name:
    Created:
    *Closed:*
    Issue Type:
    Version: 1
    Assigned To:
    Status:
    Priority:
    Platform:

    Hi,
    1, Please check if this field is hiden for specific user by right click to check if there is invisible element.
        If so, please just restore the changes.
    2, Please check the customizing path below to see if this field is hiden:
        SRM Server
          Cross-Application Basic Settings
              Extensions and Field Control (Personalization)
                  Configure Field Control
                      Configure Control for Fields on Item Level
    Meanwhile would you please tell me your srm server version?
    Regards,
    Ivy

  • How can I find out those files whose name has space character?

    Hi
    How can I find out the files whose name has space character in a whole file system?
    Thanks
    Jerry

    thank you all
    I can use this command to find out like
    $find ./ -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    ./space in name
    while, I modify above a little to find out a spcific file systems like below:
    $find /bbj* -type f -exec ls -1 {} \; 2>/dev/null | grep " "
    /bbj14/appl/oracle/prdrep/S_STATIC_TAB_05.dbf
    --while, I didn't see any space character in file name "S_STATIC_TAB_05.dbf"
    what is wrong?
    thanks

  • Output Technical Field Names in the SAP query Output

    Hi Experts,
    I am new to SAP Query/ABAP Query or Quick Viewer. Just would like to know if there is a way whereby I can print the technical field names as opposed to the English field headers. For example I want to print BUKRS in the place of CoCode.
    I have a vague feeling this could be possible through custom coding in SQ02 but have no idea which code section to choose.Any inputs greatly appreciated.
    thanks in advance,

    Hi Sreegopalan,
    Open your infoset in SQ02, by default in the left hand side you'll be having the tables that you have selected, double click the field name which you want change the long text, it will open a attributes window below your field group. Change the header data text as you wish.
    Please find the query documentation in the below link.
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf]
    Regards,
    Nandha

  • Get user name - web services throws error if a name has special character

    I am calling UserProfileService.asmx web service and using GetUserPropertyByAccountName. The method works for almost everyone except for those who has special characters in the Preferred Name. How do I fix this? We are having serious production issues and
    would like to know how to fix the issue.
    User: domain\aberg returns name as the name does not have any special characters. Arthur Berg
    User: domain\jobill returns following error because this use has a dash in the last name. Joe O-Bill
    User: domain\mobrien returns following error because this use has a dash in the last name. Mark O'Brien
    <?xml version="1.0" encoding="utf-16"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>A user with the account name DOMAIN\jobill could not be found. ---&gt; An error was encountered while retrieving the user profile.</faultstring>
    <detail>
    <ErrorCode xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">UserCannotBeFound</ErrorCode>
    <ErrorMessage xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">An error was encountered while retrieving the user profile.</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    I am using codeplex tool "web service studio 2.0" to verify this.

    I have NO clue what is going on. When I go to user profile from Central Admin the user account is domainxp.net\username. But when I pull up the user using address bar (say in edit form) I see domain\usename. Could this be confusing the workflow which is
    calling the web services?
    I ran the following powershell and after few minutes it starting to resolve the user name without any errors. I like to know what is going on here. Problem is solved for now but I wont be surprise if I see the same problem after doing a Full AD sync.
    $adUser = "domain\user"
    $siteCollection = "http://local.site/sales"
    Set-SPUser -Identity $adUser -Web $siteCollection -SyncFromAD
    Thanks
    Brooke

  • Field name for the portal field

    Portal Gurus,
    We have implemented Netweaver IDM for Password self service. As part of this we hooked up multiple systems including portal. The user master for portal is AD. There are couple of ways users can reset their passwords.,
    1. Forgot password link in portal logon page (this will initialize IDM guided procedure for the reset)
    2. Administrative reset in AD directly (there is a tool called password hook which intercepts the password send it to IDM and sync it back to target systems)
    3. CtrlAltDel (same as the second)
    When we use the first method password gets changes successfully and also it changes the field value ""Date of Last Password Change"" to current date so portal knows when to enforce the password expiration security policy.
    But for the methods 2 & 3, the password gets changed successfully but the field value ""Date of Last Password Change"" is not being changed. So the portal works with the new password but try to enforce the password expiration policy (90 days) when the policy expires even though you have just changed the password using methods 2 or 3.
    So every 90 days though the password is reset using AD, portal didnt recognize it and it prompts password expiration again which creates confusion for the user.
    SAP came back saying this is not supported at this point of time. Whats surprising is IDM is SAP, portal is SAP and password hook is SAP then why this cannot be achieved (remember it works in the first method).
    So we are trying to script in IDM to do this manually. What we want to know is the field name of """Date of Last Password Change"" and the format in which the data is stored. Right now we wrote a java function which returns the epic time and pass the epic time to portal to update the field ""Date of Last Password Change""  but nothing happens. the job completes successfully but the update is not happening.
    Or other suggestions to resolve this.
    Thanks.
    Regards,
    Muthu Kumaran KG
    Edited by: Muthu Kumaran on Feb 16, 2012 7:01 PM

    Hi Yogesh,
    as per you details the problem with source file there is nothing to at MDM side.  how you get source file in excel or XML ??
    following point may help you
    1. if excel file just check field length by using  len function because space will also count as character and sometime it get converted to # symbol
    2. or if source file coming from SAP or any legacy system in XML or excel make sure space should not include for this field. for e.g. if your field length is  20 and name is "Yogesh Bhatia" so after counting 13 by default system will pass space for that field as length is 20 so name would be "Yogesh Bhatia#######" so if you are using any intermidiate software like XI just tructed this space after name and also you can use use MDM
    Thanks,
    Jignesh Patel

  • Dynamically stating the field name in the WHERE clause

    Hello All,
    Consider the following select statement.
    SELECT kunnr INTO TABLE gt_kunnr
          FROM kna1
          FOR ALL ENTRIES IN gt_table
          WHERE kunnr = gt_table-<b>cust_id</b>.
    Suppose there is a case where I do not know the name of the internal table field
    (say, "cust_id" in the above case) with which comparison is to be done in the WHERE clause. Only at runtime that fieldname is available. So in the WHERE clause can I mention it dynamically?
    I tried using the following.
    lv_fieldname =  'cust_id'.
    SELECT kunnr INTO TABLE gt_kunnr
          FROM kna1
          FOR ALL ENTRIES IN gt_table
          WHERE kunnr = gt_table-<b>(lv_fieldname).</b>
    But this is  giving a syntax error.
    Could anyone suggest an alternate approach?
    Regards
    Indrajit.

    Hi,
    It is fine with Enterprise version but when I am trying to run the following code in Rel 4.6C, I am getting a syntax error.
    TYPES: BEGIN OF ty_wherecond,
             data(72) TYPE c,
           END OF ty_wherecond.
    DATA: gt_itab1 TYPE STANDARD TABLE OF kna1,
          gt_itab2 TYPE STANDARD TABLE OF kna1.
    DATA:  BEGIN OF gt_kunnr OCCURS 0,
                kunnr TYPE kunnr,
           END OF gt_kunnr.
    PERFORM fill_itabs TABLES gt_itab1
                              gt_itab2.
    *&      Form  fill_itabs
          text
         -->P_T_TABLE  text
    FORM fill_itabs  TABLES   p_t_table
                              pt_table_dummy.
      DATA: lv_fieldname(30)   TYPE c VALUE 'pt_table_dummy-kunnr'.
      DATA: lt_wherecond   TYPE STANDARD TABLE OF ty_wherecond,
            lt_condtab     TYPE STANDARD TABLE OF hrcond,
            ls_condtab     TYPE hrcond.
      FIELD-SYMBOLS <fs_wherecond> TYPE ty_wherecond.
      pt_table_dummy[] = p_t_table[].
      CLEAR ls_condtab.
      REFRESH: lt_wherecond[],
               lt_condtab[].
      ls_condtab-field = 'KUNNR'.
      ls_condtab-opera = 'EQ'.
      ls_condtab-low   = lv_fieldname.
      APPEND ls_condtab TO lt_condtab.
      CALL FUNCTION 'RH_DYNAMIC_WHERE_BUILD'
        EXPORTING
          dbtable         = space " can be empty
        TABLES
          condtab         = lt_condtab
          where_clause    = lt_wherecond
        EXCEPTIONS
          empty_condtab   = 01
          no_db_field     = 02
          unknown_db      = 03
          wrong_condition = 04.
      LOOP AT lt_wherecond ASSIGNING <fs_wherecond>.
        REPLACE '''' WITH '' INTO <fs_wherecond>-data.
        REPLACE '''' WITH '' INTO <fs_wherecond>-data.
      ENDLOOP.
      SELECT kunnr INTO TABLE gt_kunnr
          FROM kna1
          FOR ALL ENTRIES IN pt_table_dummy
          WHERE (lt_wherecond).
      IF sy-subrc EQ 0.
      ENDIF.
    ENDFORM.                    "fill_itabs
    The syntax error says "The WHERE condition does not refer to the FOR ALL ENTRIES table".
    Even after using the FM 'RH_DYNAMIC_WHERE_BUILD' as suggested by you, the syntax error is coming.
    Could you please suggest how to ignore this?
    Regards
    Indrajit.

Maybe you are looking for

  • Report 10g print preview problem

    hi, i use report 10g (HTMLCSS) when send to printer i have problems as: 1- page stream should not show to print preview 2- page sizing changed in print preview but when send directly to printer without page stream i have not problem with page sizing

  • Acrobat 11 crashes when opening the comment section

    Acrobat 11.0.03 crashes every time I try to open the comment section or add a comment by using the tool from the tool bar. I already tried to reinstall Acrobat. It didn't change a thing. My operating system is Mac OS 10.8.4

  • Two Applications Blocked on new Mac mini

    I have used a Mac for 6 years and I didn't know that there is both an Address Book and Contacts.  But, on my brand new Mac Mini Address Book is blocked out as is Alarm Clock Pro.  The error message says they are either damaged or incomplete.  On a br

  • Best way to clean a leather Smart Cover?

    I've tried water, and Iceland. And all it does it make the dirt smudges worse. Should I just buy a new case that isn't a smart cover?

  • Question about File Descripters

    I am new to Java so forgive my ignorance... I was wondering that why this FileDescriptor class is all about?? anyone give me any example(easy) I am new.. but don't worry.. i know java io streams well... I will appreciate you help!! MOIN.