How Do I specify a Particular field

hii,
If my structure is
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Source xmlns:ns0="http://city.net/filecopy">
   <Message>
      <Id/>
      <Head>
         <Id/>
         <Filename/>
      </Head>
      <Body>Hello World</Body>
   </Message>
</ns0:MT_Source>
My Source text file
Hello World
Values for the Fields Id and Filename Will be created at Runtime.
Then How do I mention Body field in the File content conversion parameters.
Regards,
Varun

Hi,
FCC is not support the hierarchical mapping.
Using AF modules you can able to achive this.
1.using MessageTransformBean convert the text file into single structure xml file have the all the fields.
Like,
<Message>
      <Id/>
      <Head_Id>
      <Head_Filename/>
      <Body>Hello World</Body>
</Message>
[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
2.Using the xslt mapping in adapter framwork change the payload as you required.
   <Message>
      <Id/>
      <Head>
         <Id/>
         <Filename/>
      </Head>
      <Body>Hello World</Body>
   </Message>
[https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]]
In communication channel need to give MessageTransformBean before the adapter module.
Regards,
Prakasu

Similar Messages

  • How can we disable a particular field in BI,BCS Report in Portal

    Hi Friends,
    I have one doubt in Portal.
    How can we disable a particular field in BI,BCS Report in Portal depending up on user.
    For Exam: In Our Application can we divided in to 3 Categories. Managerial, Regional and Supervisor.
    Manager having all authorizations. So here I donu2019t have any problem.
    When Regional Manager logs in portal Depending up on that Regional Plant number will be in Disable mode.
    EX: India Regional Manager logs in portal Plant number Files == IND123 Like in BI Report
           UK Regional Manager logs in portal Plant number Files == UK154   Like in BI Report
    When Supervisor logs in portal Depending up on that Regional Plant number will be in Disable mode and also Company Code also in disable mode
    EX: India Supervisor logs in portal Plant number Files == IND123 Like in BI Report and also Company code input file is ABC is in Disable mode
        In India Another Supervisor logs in portal
    India Supervisor logs in portal Plant number Files == IND123 Like in BI Report and also Company code input file is ASD is in Disable mode
           UK Supervisor logs in portal Plant number Files == UK154   Like in BI Report and also Company code input file is XYZ is in Disable mode
    This is my Req; How can we do there. Could you help me.
    Give me these Ans:
    1. Is it Feasible in portal.
    2. Depending upon user we can disable particular filed in Portal.
    3. Can we find out who is login in Portal. by Using BI System. in WDJ We can Find out Like IUSER Code Same as BI Developer also Find it. Is it Possible or not.
    Regards
    Vijay Kalluri

    no

  • How to refer to a particular field in Table Control.

    Hi,
            How can we refer to a particular field in a table control like 5th row 6th column. The actual requirement of mine is, i have a column with listbox. For each row i need to have different values for the list box. So i need to refer to that particular field in the column and assign the list values. Please kindly help.
    Regards,
    Vinay.

    hi,
    TABLE CONTROL -
    http://www.geekinterview.com/Interview-Questions/SAP-R-3
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    Eg of table Control:
    http://members.aol.com/_ht_a/skarkada/sap/table_control/
    table_control.htm
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/45/adee2396f711d1b46b0000e8a52bed/frameset.htm
    Regards,
    Laxmi

  • How do I specify a particular Proxy Server, port, user-ID and password for file downloads

    We are attempting to deploy Creative Cloud trial applications to a couple of users for testing purposes.
    This is a corporate environment where we need to specify a particular proxy server by IP address, and port with a User-ID and password for identification in order to download files.
    The Creative Cloud app appears to be ignoring the proxy settings in the browsers installed on the machine used to attempt a download. The Adobe Application Manager Enterprise Edition wants you to already have the files available.  All technical support had is a white list, no help on how to specify a particular proxy server.  Do we have to obtain media from Adobe, or is there a way to download these?
    Thanks

    Creative Suite Enterprise Deployment | Adobe Developer Connection

  • How to look for a particular field in the segments of IDOC ?

    Hi,
    I am looking at a particular IDOC which I will use to do data trasfer from lgacy to R/3 using BAPI in LSMW. Now I know a field which is required to create a given business transaction when igrating data. But there are 100's of segments on the IDOC.
    Is there a way I can see if the given field is present in any of the IDOC segment ? I don't want to dig though each and everys egment and find it out...
    Regards,
    Rajesh

    Try using WE09..There you have the option of searching by the idoc data..CHeck in the bottom of the selection screen
    Thanks,
    Naren
    Message was edited by: Narendran Muthukumaran

  • How to keep hotspot on particular field in alv interactive report

    hi all,
    i have a small requirement.i developed one interactive alv.in vasic alv wheni click on sales order number it shows secondary alv.but here i would like to keep hotspot symbol so user can understand that he has to click on this sales order number only.
    any body can send me the sam ecode please.
    thanks,
    maheedhar.t

    hi...
    here is an ALV report i did with hot spot!!
    (only a part of my entire report)
    tables: marc.
    types : begin of DISP,
            SLNO TYPE I,
            werks type MARC-WERKS,
            matnr type MARA-MATNR,
            maktx type MAKT-MAKTx,
            mtart type MARA-MTART,
            volum type MARA-VOLUM,
            ntgew type MARA-NTGEW,
            ersda type MARA-ERSDA,
            laeda type MARA-LAEDA,
            end of DISP.
    data : it_disp type table of disp,
           wa_disp type disp.
    Data: it_fcat type slis_t_fieldcat_alv,
          wa_fcat type slis_fieldcat_alv.
    parameters : p_werks type marc-werks.
    IF p_werks IS INITIAL.
    MESSAGE I000(Z_errors).
    ELSE.
    select MARC~WERKS
           MARA~MATNR
           MAKT~MAKTX
           MARA~MTART
           MARA~VOLUM
           MARA~NTGEW
           MARA~ERSDA
           MARA~LAEDA
    from
    MARC inner join MARA
    on marcmatnr = maramatnr
    inner join makt
    on marcmatnr = maktmatnr
    into corresponding fields of table IT_DISP
    where marc~werks = p_werks and spras = 'EN'.
    IF SY-SUBRC = 0.
    PERFORM display.
    ELSE.
    MESSAGE I001(Z_errors).
    ENDIF.
    ENDIF.
    form display.
    LOOP AT IT_DISP INTO WA_DISP.
    MOVE SY-TABIX TO WA_DISP-SLNO.
    MODIFY IT_DISP FROM WA_DISP TRANSPORTING SLNO.
    ENDLOOP.
    wa_fcat-col_pos = 1.
    wa_fcat-fieldname = 'SLNO'.
    WA_fcat-SELTEXT_L = 'SLNO'.
    wa_fcat-tabname = 'IT_DISP'.
    wa_fcat-ref_fieldname ='SLNO'.
    *wa_fcat-ref_tabname = ''.
    <b>wa_fcat-hotspot = 'X'.</b>
    append wa_fcat to it_fcat.
    clear wa_fcat.
    the line in bold is wat which wil enable hpt spot for ur ALV display!
    try out.
    reward if my ans is useful.

  • How to go to a particular field of the same page by clicking the radio button.

    Hello All ,
               I am working on a form which is designed by some one else . There is a Page - 8 . And there is a question at the first which is in another subform.
               At the end there are several radio buttons . If some one is clicked as yes then the focus should be on Question which is present at the beginning of the form.
    My code goes like this .
    if(TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntSt ate[0].this.rawValue ==true)
    xfa.host.setFocus(' TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm');
    Form hierarchy for Q9 _ProgramNm is -- TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm
    Form hierarchy for radio button is -- TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntStat e[0]
    The event should be click event on JavaScript.
    Please someone help !!!!

    Hi
    In the second screen, for field empno, set the attribute Output only as X and set group1 for empname as 'INP'.
    In PBO of second screen, write this code.
    loop at screen.
    case screen-group1.
       when 'INP'.
         if sy-ucomm = 'DISP' .  "sy-ucomm value when you click display
           screen-input = '0'.
           modify screen.
       endif.
    endcase.
    endloop.
    regards
    Navneet
    Message was edited by:
            Navneet Saraogi

  • How to attach search help in a particular field in se80 screen

    Hi All,
    Can any one tell me how to attach a search help in a particular field in a screen.
    Wat search help is used to display material no and description
    Thanks in Advance
    Regards,
    Priya

    Hi Priya,
    In the Screen Layout, Double click on the field on which you wish to attach the search help.
    In the properties window you can specify the search help for that field.
    Search help for Material No. is MAT1.
    You can find it in the Table structure (SE11) , "Entry help/check" tab.
    Regards,
    Himanshu

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to move cursor to a particular field in a form when the form opens

    Hi All,
    Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
    Please let me know as soon as possible.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Satya,
    Try the following
    Open the forms personalization window
    Seq: 10
    description : Move cursor
    Level : Function
    On Condition Tab-
    Trigger Event : when-new-item-instance
    Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
    Processing Mode : Both
    Context:
    whatever context you want to do it respoansibility level or user level.
    On the Actions Tab
    Seq: 1
    Type: Bulletin
    Bulletin type : GO_ITEM
    Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
    see if it works for you.
    cheers,
    Ankur

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • How to Extract particular field from a string ( Mapping)

    how to exteract the particular field from the given string:
    ProcessEmp this element has a below string subfields.
    <ProcessEmp>&lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
    &lt;Employee PersonnelNumber="11111" FirstName="String" MiddleName="String" LastName="String" Department="String" Group="" SapUserID="10flname" EmailAddress="[email protected]" DefaultPassword="*" Status="Success" /&gt;</ProcessEmp>
    how to extract only PersonalNumber, department, EmailAddress from above ProcessEmp into 3 diff fields.
    Thanks
    dhanush.

    Hi,
    You are receiving XML message within a field. To access a particular field from that XML message, you could create a User Defined Function, as suggested by many already.
    You could write UDF using some of the String operation functions. This could include following:
    1. If you need to access field Employee PersonnelNumber, you could get last index of that within string using function lastIndexOf(String str). Pass string "Employee PersonnelNumber="" for this function.
    2. This function would return an index of rightmost occurance of this string.
    3. after this you could get the index of next occurance of ", as the value of field is within quotes. You could use function indexOf(int ch, int fromIndex) for getting the same. You would pass Character as " and index as the one received by previous function.
    4. Now you have index for starting and ending point of value string for desired field.
    5. After this you could use substring(int beginIndex, int endIndex) function by passing first and second index values to retrieve the needed string, which contains value of field.
    Hope this would be helful.
    Thanks,
    Bhavish
    Reward points if comments found helpful:-)

  • How to modify or put entry in a particular field of a database table

    i want to to modify a field in a database table record identification by primary key fileds
    the situatio is like this
    there are two primay key in database table
    customer number PK
    status PK
    date
    and third field which i want to modify is customer part number.
    based on condition that
    database table1-cuspip = wa_record-cuspip.
    database table1-status <> wa_record-status
    and database table-date = wa_record-date
    if above is true a particular field  the database table  for that record
    ie customer_part_number = 'FAiled'.
    loop at it_record into wa_Record
    endloop.
    please suggest how to modify the database table record if the avove condition is tru and please give me full working code
    regards
    Arora

    Dear Nishant,
    Use UPDATE function for updating the customer part number.
    But please do mention the database table and the keys used for update.
    if en entry already exists with the key then the Entry will fail so use MODIFY statement to modify the Consumber Part Number  with the specificed keys  and transport the modified customer part number and then do COMMIT the changed entry to database.
    Hope this helps you in some way.
    Encourage others to answer you queries by suitably rewarding them.
    Thanks
    Venugopal

  • How to separate the Particular field in next line ?

    Hi,
    i have multipule fields in one line but i want to separate the Particular field in next line how to do this ?
    when i am downloading  my output downloaded like this
    but i want to last field should be newline.
    present output:
    901  ab  3455  5667 2123  item1 100
    902  ab  3455  5667 2123  item2 100
    903  ab  3455  5667 2123  item3 100
    in that i am taken item1 100 as string i want to new line from item1
    but i want like this
    experted output:
    901  ab  3455  5667 2123 
    item1 100
    902  ab  3455  5667 2123 
    item2 100
    903  ab  3455  5667 2123 
    item3 100
    plz any code for above example.
    thanks & regards
          sai
    Edited by: k sai ram on Jan 9, 2008 5:26 PM

    Hi Sai,
                make the layout of your root container as matrix layout
    then make item1 as matrix head data.
    inset one transparent ui just after first 100. then make this transparent ui as matrix head data.
    then make 902 as matrix head data
    inset one transparent ui just after second 100. then make this transparent ui as matrix head data.
    repeat the same for next set too.
    You can also do the same with row layout for root element.
    Regards
    Sarath
    Edited by: Sarath Satheesan on Jan 9, 2008 11:17 AM

  • How to hide particular field in sm30

    Hello Experts,
    I have created one transparent table with 5 fields. In that I want to hide one particular field when accessing that table in sm30. How to achieve it? I tried using module pool but no use and also searched hide and invisible properties but those are in disable mode. Very thank if any one gimme the solution.
    Regards,
    Harish

    1) Create maintenance view to this table
    2) in maintenance view change mode -> in view flds tab-> fourth column maintenance attribue - here you give H and generate table maintenance to this view. Then the field you hidden will not be visisble in sm30 for this maintenance view.

Maybe you are looking for