How to hard code the values in XI for the synchronous scenario?

Hi All,
Actual Scenario : Webservice - XI - Any of the Receiver Adapter(RFC/JDBC) .
The receiver adapter setup will take some more days to complete. So, time being I would like to hard code the response values in XI according to the webservice request and send the response back to webservice. Is it possible?
If it is possible, could you please tell me how to go about for this?
Regards
Sara

Hey
>>So, time being I would like to hard code the response values in XI according to the webservice request
if ur response is based upon the request,then how can u hard code any value?when u hard code any element.it will always display the hard coded value irrespective of the request.
in case u want to hard code something which does not depends on response or which will always stay the same in ur scenario,then just use the constant function of message mapping to do that
thanx
ahmad
Message was edited by:
        Ahmad

Similar Messages

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • BW 7.3 Error in DTP if the values are char for the char field

    Hi,
    I have created a field with
    Eg: Field1 CHAR 7 -> i have removed the ALPHA conversion
    I am loading the data from ECC if the values are
    AA0-992 or AA1-AT1 there is no issue it is getting loaded
    but when i am getting the values as AAA-BBB it throws an error.
    In RSKC "-" is allowed CHAR.
    Can someone help becuase as this is the CHAR field it should accept
    Thanks

    Hi,
    I resolved in between we had the lower case characteris so that thrown and error.
    Thanks

  • Selection screen value not assigning to the value when executed for the first time

    Hi ,
    Im My program at selection screen there are company code, vendor account and open items at key date(takes system date as default value).
    Facing problem at open items at key date - Open key date parameter is taken from LDB - KDF.
    First time when I am executing the program it is taking system date value in the selection screen variable even though I have given the different date.
    This problem is only when I execute for first time or press enter without giving company code.
    Can any one please help us to come out of this problem.
    Regards
    Sri Bhargavi

    HI,
         you can use the Event as AT SELECTION-SCREEN

  • How to hard code values in drop down by index

    Hi everyone
    I hav a node containing 2 attributes ie value n key. I am using drop down by index.  Value attribute is bound to my drop dwn box. In key I am providing key value for the value.  I need to hard code 3 value..Can anyone help me how to do so.
    Thanks
    Jaspreet Kaur

    Hi,
    Example for Data Binding of the DropDownByIndex UI Element:
    Procedure at design time:
           1.      Create a view with the name TestView.
           2.      Insert the DropDownByIndex UI element as a container child of the TestView view. (Step 1)
           3.      Create the context structure, as described in step 2.
    Create the context node X with the cardinality 0..n. Insert the value attribute y of the type String into this node. Then perform the data binding of the DropDownByIndex UI element in the Properties window of the View Designer. The texts property must be bound to the value attribute y with the context path description TestView.X.y (step 3).
    The context path TestView.X.y describes the attribute y in the context node X of the view context of the TestView view.
    You can fill the context with test data using the following controller implementation.
    public void wdDoInit()
        //@@begin wdDoInit()
       String[] letters = new String []
       {"A", "B", "C", "D"};
    //Create context elements for the node "X"
       List nodeElements = new ArrayList();
       for (int i =  0; i <letters.length; ++i)
          IPrivateTestView.IXElement xElement = wdContext.createXElement();
          xElement.setY(letters<i>);
          nodeElements.add(xElement);
    //Bind node element list to the node
       wdContext.nodeX().bind(nodeElements);
    //Set node’s lead selection which determines the selected item
       wdContext.nodeX().setLeadSelection(1);
        //@@end
    Regards
    Ayyapparaj

  • Hard code a value in a characteristic of an Infoset

    Dear BI Experts,
    I need a view (virtual - no data loaded) to show only certain fields out of a Cube. I am trying to create an Infoset bringing in only the cube as a data source (no 2nd data source in the Infoset). In this Infoset I want to hard code a value for one of the fileds, so that I get data relevant for this value.
    Best example would be country grouping. I have a cube which has data for all coutry grouping. I want to now create a view for only Coutry grouping = US.
    How do I hard code in the view(Infoset) to say that show data only for US.
    My ultimate aim is to enable Functional users to create a report in Query designer pulling data from the view created and they do not want to hard code the country grouping = US while crerating the report.
    Could you also recommend any other way of doing this instead of by an Infoset.
    Kindly keep it in mind that we do not want to store this data set in another cube or DSO because this will duplicate data in BI system. We want a virtual view.
    Thank you in advance.
    Sai

    I agree with the other contributor that an Infoset is not the best fit for your requirements.
    In addition to the aforementioned here are the two options I suggest:
    1) You could handle this in BEX Query Designer and setup Pre-Queries (replacement path queries) for each "hard coded" value. http://help.sap.com/saphelp_sem40bw/helpdata/EN/2c/78a03c1178ad2ce10000000a114084/frameset.htm
    2) You can set up Virtual Infocubes with Services (Virtual Provider). This involves setting up the Virtual Infocube directly with the original data source and creating custom restrictions for your data. There is however there is more involved in setting it up.
    http://help.sap.com/saphelp_sem40bw/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/frameset.htm

  • In SAP Script how to hard code my Company address in footer window

    Hi All ,
    In SAP Script how to hard code my Company address in footer window .
    Ex : in YB_F140_ACC_STAT this script i want to keep my company address, i want to hard coad , i dont want to use any field from table.
    Please give me step by step.
    Thanks
    Sridhar

    Hi,
    You can make use of standard text...
    create a standard text in SO10 with your company address
    and in the footer window of your script.. use include text and provide the name of the standard text you created in SO10.
    In the text editor... goto insert > text> standard
    You get popup give the name of the text name id and language
    regards
    padma

  • How to get the values retained on clicking the back button in jsp page

    Hi All,
    I had two jsp's search and results. In the search page when i enter some values in the text fields, the rsults will be displayed for that search criteria. I had a back button in the results page. When i click on this back button i will get back to my search page. I am using the following code for this back button.
    <INPUT TYPE="button" VALUE='Back' onClick="javascript:history.go(-1)" class="button">
    Now the problem is when i get back to search page using this back button, i am not able to get the values in the search page which i entered, i am getting all blank values. What should i change to get these values back in the search page. Should i maintain any sessions for this?

    You have no control at all over the back button process. To the server, it's indistinguishable from the user simply tying the URL of your search page. So, you need to store this data server side*.
    When your search page is submitted and processed, store the values you received for each of the fields into the user's session. Then, when the search page is generated, check the session for these values, and for any values that are not null, put their values into the html as the default values for the textboxes and controls you are using. This lets you handle the whole matter on the server's side.
    *barring convoluted, unportable, black-magic javascript trickery which you should definitely avoid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Family sharing verification has an old credit card number to verify. I have updated the credit card info but it is still not appearing in the verification process asking for the security code of the card. How lng to have account info updated to cloud

    I am trying to set up a family sharing with a new iMac and other Mac pro computer and other apple products. When I click to manage account and the add a member, I am told to verify the user by entering the security code from the credit card. The card listed is an old one and has since been changed. I updated the info on my apple account, but it is not getting to the iCloud for the family sharing. The number shown is the old card. When I enter a code it says invalid. How long does it take for the info to udate to all systems?

    Hi Mofro1,
    Happy Holidays!  The resource below explains how to edit the credit card information for the Apple ID account that you want to use for Family Sharing.  Once you've made the changes, I would suggest you sign out of your iTunes Store on all of your devices, and then restart them.  The changes should take place quickly.  There is a link to the iTunes Store support below if you need more help.
    Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support
    http://support.apple.com/en-gb/HT1918
    Change your payment information on a Mac or PC
    Click to open your account in iTunes. (You might need to sign in with your Apple ID.)
    Alternatively, you can:
    Open iTunes.
    Click iTunes Store.
    Click Sign In and enter your Apple ID.
    Click your Apple ID and select Account Info.
    From the Account Information page, click Edit to the right of Payment Type.
    You can see the payment methods that the iTunes Store accepts in the Payment Type section. If you want to remove the payment method, select None in the Payment Type section. See what to do if None isn't showing or you can't select it.
    Change your information and click Done.
    After you change your payment information, the iTunes Store places an authorization hold on your credit card.
    Family Sharing
    If you’re using Family Sharing, and you're the family organizer, you can’t set your payment information to None. You need to use a credit card or debit card. Only the Family Organizer can edit payment information for a family group. If you're not the organizer, you'll see this message: "The payment method for your Family is managed by [Apple ID]."
    Get help
    If you need help changing your payment information, credit card details, or billing information, contact iTunes Store support. Or you might find the answer to your question below:
    If you change your payment method, make sure your account information matches the credit card information on file with your financial institution.
    If you use an AOL screen name to sign in to the iTunes Store, editing your information on the Account Information page won't update your AOL account. If you need to update your AOL account information, contact AOL.
    If your previous payment wasn't accepted, you might need to change your payment information.
    Last Modified: Oct 31, 2014
    Cheers,
    - Judy

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

  • How to make the value axis (Y) on the right?

    the value axis(Y) of the stacked column chart is on the left default. how to make it on the right?
    thanks.

    e,
    Numbers Charts do not have the option to move the value axis to the right side. You can turn off the display of Value Labels, using the Chart Inspector, and make your own value labels from a text box or small table column and place them to the right of the chart.
    Regards,
    Jerry

  • How to display descriptive flexfield values without clicking on the field

    Hi,
    We are using ATTRIBUTE1 in PO Headers to provide a field for entering an emergency PO number. When users query a PO in the Puchase Order Headers form with a value in this field, they want the value to display on the form without having to click on the [] field to open up the DFF. Is this possible? This is the only DFF we're using on this form.
    The user is telling me the 11i instance used to but it is no longer there in R12.
    Can anyone help?
    Thanks.

    Hi,
    Check out Reference field and Default Context at DFF level.
    Regards,
    Sridhar

  • DITA + FM: How can I change the automatically insert text for the element info?

    Hello,
    when I insert the element info in a topic, FrameMaker automatically insert the text "ADDITIONAL INFORMATION:".
    How can I change that?
    I know how to change it for the elements result, postreq and prereq. I change the text format rules for the elements in the topic.edd.
    But the element info has no text format rules and when I search in the topic.edd for the text "additional" or "info" I dont find something.
    With kind regards,
    Nina

    Hi Scott,
    thanks a lot for your reply! I've found the code in the EDD on page 65.
    "... is using the @type attribute value ..." - I have changed the values in the DTD (Structure\xml\DITA\app\dtd\commonElements.mod), but that didn't had any effect, not even after a restart of FM. I also changed the note attribute values in "dita-map.edd.fm" and "topic.edd.fm". Nothing. When I insert a note tag FM still inserts the original values.
    Did I missunderstand something? Further tips?
    Marcel

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

Maybe you are looking for

  • Image Capture not working with Canon LiDE 500F

    Image Capture version 6.0.424 and CanoScan LiDE 500F 11.2.5.0 does not work properly. Regardless the resolution, the resulted file has a very small size. As a test I scanned a 9x20cm document at different resolutions and for all resulted files 'Get I

  • Volume too low on download from itunes store how to fix

    My download from itunes store won't play on my ipad at a decent volume.  How do I fix it?  Actually, I suspect the download itself is too low and fuzzy.  How do I reload?

  • Javascript drop-down Spry menu not working

    I downloaded the Spry UI 1.7 menu bar from the widget browser and pasted the code into DW CS4. I could not place it as you can in CS5. DW throws up javascript errors, but the styled menu bar works in live view and in the testing environment on Firefo

  • Cannot Delete RecordStore although RecordStore is closed already

    Hi... my class has 2 methods which 1 of them saves image to RecordStore and the other one loads the saved image from RecordStore. In some conditions, some of the saved images need to be deleted from the RecordStore. Well, i keep getting "javax.microe

  • WebServices with WLS5.1

    How can I implement web services with WLS 5.1?