Changing the value of the field in message

hi
i have a input message to XI like this
<records>
       <data_records> 1 to unbound
            field1
            field2
            field3
the target structure is as below
<records>
       <data_records> 1 to unbound
            field0
            field1
            field2
            field3
the field0 will be a constant always but it will have one value in development system one in quality and another value in production. Now how do i achieve this. is there anything in the ID configuration that i can configure ( value mapping ) etc.,
thanks

>
sudhakar murthy wrote:
> hi
>
> thanks for your reply
>
> lets say i do not have the values for quality and prod at the time of development. i mean i will get that value once i moved to quality and once i moved to production. basically i need to pass the transport request number which will vary from dev to quality to production . so i do not know this value until i go to quality /prod. how can achieve this
>
> thanks
Use the code that Mugdha has provided. It will help identify what is the current environment of XI.
Now in your case you want to pass a transport request number in the mapping based on the XI environment.
Well how are you getting this transport number and how do you need to pass it?
In anycase you have to know what the QA and PRD env SID is during the Dev stage itself

Similar Messages

  • Change a value of a field in the work flow notification

    Hi All,
    I have a requirement,where in i need to change a value of a field in the work flow notification that i receive.
    is it posiible
    if so please provide some inputs.Thanks

    Hi;
    Please check below which could be helpful for your issue:
    http://docs.oracle.com/cd/B14117_01/workflow.101/b10283/instal10.htm
    http://docs.oracle.com/cd/B19306_01/workflow.102/b15853/T361836T361983.htm
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10226/hwf_config.htm#BHCJDGFJ
    Regard
    Helios

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • Functional Module for changing the field Reference Key 2 in Tcode FB02

    HI,
    I have a one requirement to change a field Reference Key2 (XREF2) in transaction FB02. This field appears in FB02 during (refer steps below):
    u2022 In Initial screen after entering the Document Number, Company code &  Fiscal Year then click on u201CEnteru201D
    u2022 In next screen double click on u201CAccount u201C
    u2022 In next screen click on u201CAdditional Datau201D. We will get a pop-up window where the field Reference Key2 (XREF2) is there.
    We want to change this value of this field. Kindly let me know any Function Module available for this or any other suggestion.
    Regards
    Naga

    I don't know any such BAPI/FM (alas, many threads already) so i suggest you to use SHDB to build a batch input. FI_ITEMS_MASS_CHANGE  should not solve your problem.
    Regards

  • Change the field details in MDM Console

    Hi All
    I have unloaded repository and try to change the fields details ,like changing the display fields option as yes or no. in MDM Console .
    But it is not allowing me to do so and giving error message as "field name already exists"
    But when I go and change the user defined field  it allows me to do so.
    Same is the case with Table details
    Can you guide me on this.
    Thanks
    Suds

    Hi Suds,
    If you are using the same and the latest MDM patch for both your original and the Test repository, it should behave in same way.
    But you mentioned that for test repository, you are not facing any problem.
    Try out these steps to debug your original repository:
    1. Check your original repository for any errors and also if found any, then repair it.
    2. Also try to archive your original repository and then unarchive it with a different name. ( And check whether it is still behaving the same).
    3. You can also try creating a duplicate repository and test it.
    4. Unload and Re-load (with updated Indices) your original rep and test it.
    I hope any of the above steps helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin jain

  • Change the field attribute of a field in data source - 0CRM_SALES_ACT_1

    Hi ,
    I have a data source named 0CRM_SALES_ACT_1 in CRM system.
    The fields PLANNED_TS_FROM and PLANNED_TS_TO are hidden fields i.e. the field attribute is 'A' - Field in OLTP and BW Hidden by SAP.
    Following are my doubts:
    1. Whether the values of these fields will be extracted into BW or it will not be?
    2. How do I change the fields attribute value of these fields(its standard data source)?
    3. Is there any SAP note to do this ?
    4. If the above doesn't exisits, then should I go for a append structure to the standard data source?
    Please help me.
    Regards,
    Ahmed.

    Hi,
    U can unhide ur fields in RSA6 and then replicate the datasource in BW. These fileds will come in BW.
    You cant change the attribute value for STD DSO.
    No SAP note for the same.
    You can append the datasource with the new fields with the attribute you want and hide the std. fields then goto BW and replicate it. You can then map it with the BW fields as you want.
    *Assign points if helpful.

  • Can not change the field property - 10gR2 reports crashing on Linux :(

    All I want to do, is to change one field's property from NUMBER to DATE in the property palette. It does not allow me to do it (not east like forms). I can not change the field property - 10gR2 reports keep crashing on Linux :(
    I don't know if this is a Linux specific iDS issue, or a generic one.
    What are the proper steps to change one field (in my query, the field name is ptime, it was defined as a number field originally, and now I need to change it to DATE and apply the proper format mask). The matching database field definition was modified from number to date.
    very frustrating...
    Any input is appreciated.
    Message was edited by:
    zaferaktan

    nop, did not change anything in the select statement at all. Just selected the related query under the data model (in the navigator), then selected the related query from within the property panel, connected to the db, then from the related navigor menu selected compile all, when the related query was highlighted (selected). Then I saved it, checked the groups, and bingo - the datatype was changed from number to date. Then I went to the related object under the page layout and applied the format mask (that was another funny story). And it worked. It is not as flexible as the forms for sure - pain in the a.. And I still don't know why Reports Builder keeps crashing on Linux - have no problems with Forms Developer on Linux at all. It is a certified RH platform with all the required libs, rpms, etc installed. I am certain it is not an installation issue. Maybe I should check Metalink and apply if an iDS 10gR2 patch exists for reports.

  • Change the field description in the query report

    Dear All,
    I have created a querry using SQVI,It is working fine Now i want to change the field description in the querry report,Please suggest on this.

    Hi,
    follow below steps
    SQVI -> Enter Report name -> Change -> click on layout mode - > Expand tables - > double click on filed names - >
    coming right side you are able see list of output fields .
    Just double click on the field then going to the editable mode Description.
    Thanks
    Balakrishna

  • Script : how to change the Field name in standard program(ZM_MEDRUCK)

    Hi Experts,
    I am working with SAP SCRIPT. i need to change the Field Name that is PO NO to Document No & PO DATE to Document Date.
    These are assigned in data declaration as gv_name and gv_date.
    Can anyone help me to change this Fields.
    Regards,
    Vijayan.R

    Hi,
    You can archive this by making change in SAP script only. You don't need to touch the standard prgm.
    Debug the script and find it out which fields (In script editor) are printing these text on layout... then just replace them by creating your own text...
    You can create a text in TTDTG table,, like ZZPO_NAME = ( Document Name),, and use this filed in the script editor.
    &ZZPO_NAME&

  • HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input

    Hi,
    HOW DO I CHANGE THE FONT OF "Message to Display" IN THE  Prompt User for Input?
    Thanks for your help 
    XN 

    Right click and select Open front panel >> Convert.
    Change the vi as you need. then you can save it as a normal sub-vi.
    If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • How to change the "n/a" message when stock level unavailable

    When and if a product is not inventory controlled or the in stock quantity is unknown, the "In Stock" tag on the product page will read "n/a".
    How do I change the "n/a" message? Customer think that stock is unavailable but I want to replace the "n/a" message with "Available".

    This isn't what I was asking.
    "N/A" is shown when a product has no inventory listed which is different than being "out of stock". This is when a product has not been inventory controlled. In other words, the product's inventory has not been controlled by the system.

  • How to change the field name in SUS

    HI,
    In the section view all PO's, I want to change the field name  <b>document number</b> to <b>invoice number</b>.Please do let me know how to go about it.
    Thanks in advance ,
    Manu

    Hi,
    The text ID should be first identified in the BSP (BBP_SUS_UI/DOC_NUMBER?)
    Next execute SOTR_EDIT and use the FInd button. Enter the package of the BSP object (BBP_SUS_U?) and select the language as English. Execute the program and you will a complete list of text used in SUS screen. Locate the text ID as above and double click to change based on what you need.
    Regards.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • Changing the field name at runtime in rpt file

    Hi everybody
    I'm using C# and Crystal Report XI (Deverlop license) to develop windows application in VS.net 2003.
    Please help me to change the field name of the bounded column of Crystal report file at the runtime.
    (In some case client's database had changed the structure as fieldname, fieldtype. Then they request a utility to change the field names in the .rpt file programmatically )
    Thanks
    GiangSon
    My email address: [email protected]

    user11200661 wrote:
    That's fine but still i want to prefix the schema name within the .sql file. My .sql should contain the name of that parameter only as i want to get that parameter replaced by the schema name at runtime. Some other users are using the same .sql file and they have access to that specific schema only. i want to make the .sql file more general so that it can be used by everyone without altering it every time.Sorry, your requirement no longer makes sense.
    If people have to access a specific schema because they need the script for general use, then you will have to hard code the schema name into it.
    If the script is to prompt for the schema name and connect to that schema and then use that schema name inside the called sql script, then people would not be able to use it generically, as it would be reliant upon the schema name being passed in.
    It sounds as if you're trying to write one generic thing that needs to do two different tasks.
    Just have two scripts and make life simple.

  • Changing the field names in a CFQUERY object

    Hello, I wonder whether you know the answer to this?
    I want to change the names of the fields in a CFQUERY result
    set after I have retrieved the results from the database (ie. I
    can't use "AS" in the original SQL statement). I can think of 2
    ways to do this - use the query-a-query (CFSQL) feature or just
    build and populate a new query object, as set out below:
    <cfquery name="CustList" datasource="name">
    SELECT CustId,CustName,CustAddress FROM Customers
    WHERE OrderStatus='P'
    </cfquery>
    OPTION#1:
    <cfqueryname="GenericList" type="query">
    SELECT CustId AS Id,CustName AS Name,CustAddress AS Address
    FROM CustList
    </cfquery>
    OPTION#2:
    <cfset GenericList = QueryNew("Id,Name,Address")>
    <cfloop query="CustList">
    <cfset unused = QueryAddRow(GenericList)>
    <cfset unused =
    QuerySetCell(GenericList,"Id",CustList.CustId)>
    <cfset unused =
    QuerySetCell(GenericList,"Name",CustList.CustName)>
    <cfset unused =
    QuerySetCell(GenericList,"Address",CustList.CustAddress)>
    </cfloop>
    Do you know which of these would be more efficient? And is
    there a better way, whereby I can maniplulate the names of the
    columns in the original query (ie. so that I can rename the
    "CustName" field to "Name" and then use "CustList.Name" directly)?
    Thanks!

    Thanks guys!
    If there is a close to zero overhead to the simple
    query-a-query then that seems like the way to go, with no need to
    look for a means of manipulating or modifying the original query.
    The reason I want to change the field names is so that the
    rest of my code can contain references to "CustList.Name" whereas
    otherwise I would have to do something like
    "Evaluate('CustList.#NameField#')" which is horribly messy. And the
    way the original query is generated means I can't use "AS" in it,
    but I still want to use the same code to work with that query
    result and other query results that share similar/related data with
    different field names.

Maybe you are looking for

  • Converting report to PDF and mailing

    Hi every one, I've gone through various threads and i'm aware of the Functional module's used to convert the report to pdf and mail it back.Like CONVERT_OTFSPOOLJOB_2_PDF, CONVERT_OTF_2_PDF and for mailing we have SEND_NEW_DOCUMENT_ATT_SEND_API1. I'v

  • Os x 10.8.3 update caused graphic and general slowness

    on my mid2012 15inch macbook pro, which worsens when switching to the powerful graphic card. MRI shows no hardware malfunctions. any ideas what may cause this?

  • How to send a project from Premiere Pro to be opened on another computer in FCP7?

    The crux is I have this project in Premiere Pro CS5.5 which contains the original MOVs and time adjusted movs that I nested and turned into F4Vs, so it contains movs and f4vs with 1 aiff file and I need to send the work to the director(who has FCP7 a

  • What is the error in this one line of code!

    s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)]; I am using this line of code in my programe but i am getting the following error. C:\shahzad\Easter.java:28: illegal start of expression s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)]; Please help me solvingg this

  • Smartform email

    Hello Gurus, My requirement is to send an invoice smartform as pdf attachment thru email to customer. I'm able to do it successfully using output determination and SCOT setting for smartform as 'pdf'. But in Production system, the SCOT setting is 'TX