RNIF adpater  additional functionality through generic modules

I have a B2B scenario where I'm using a RNIF adapter 2.0 Single action Request.  We would like to change information within the Delivery Header and Service Header of our message.  Is it possible to create a custom JAVA module to manipulate/change the values in the header tags.
We would like to modify the InstanceIdentifier within the Delivery Header and the GlobalUsageCode within the Service Header.
<DeliveryHeader>
     <messageTrackingID>
          <InstanceIdentifier>51c79341beee11dcc1dd0017a44943b2</InstanceIdentifier>     </messageTrackingID>
</DeliveryHeader>
<ServiceHeader>
          <GlobalUsageCode>Production</GlobalUsageCode>

Thanks a lot for confirming that we can add a module to the RNIF adapter to address the Header information.  I would like to know if anyone has changed this data and if so, did you have to use classes(methods) within the package com.sap.aii.af.ra.ms.api? 
I'm not the JAVA developer so I'm not familiar with this information.  My JAVA developer wanted to know the classes he should use for this manipulation.
Thanks again.

Similar Messages

  • How call parent function through the module

    Hi, i want to call the function of parent application which add the module can you tell how i can do it???

    As long as you have the custom event classes accessible with import myClassDir.myClassSubdir.*;
    you should be able to create custom events with var myEvt:MyCustomClass - new MyCustomClass(); and then dispatchEvent(myEvt);
    You can communicate with the main app using mx.core.Application.applilcation or using parentDocument or parentApplication, though custom events are the way to go.
    If this post answers your question or helps, please mark it as such.

  • Is it possible to call module component's function through interface function

    Hi,
         I see this in the livedocs.
    "In general, if you want to set properties on controls in the module by using external values, you should create variables that are bindable. You then set the values of those variables in the interface’s implemented methods. If you try to set properties of the module’s controls directly by using external values, the controls might not be instantiated by the time the module is loaded and the attempt to set the properties might fail."
         I have an extended component in a module. I need to call that component's funcion from the interface function. i.e My main appication call the interface funcion, and that interface funcion has to call the component's funcion. Is it possible. I get error that the component is null, if I try this. Is there any way to do this.
         Thanks in advance.

    I accomplished this, by dispatching a event from the module, and handling it in the module itself. In the handler I am able to access the component. However it is possible only when I use ModuleLoader. I tried the same using ModuleManager. It didnt work. I am adding the listener in creationComplete event. The event was triggered properly. But the listener was not invoked.
    Below is the TestModule i used. In this setLabel is the implemented function.
    <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark" implements="TestInterface" creationComplete="onCreate()"
               xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300">
        <fx:Script>
            <![CDATA[
                [Bindable] public var labelText:String = 'Initial Text';
                public function onCreate():void {               
                    this.addEventListener("test",testListener);
                public function setLabel(s:String):void {
                    trace(getQualifiedClassName(parentDocument));
                    this.labelText = s;       
                    triggerEvent();
                public function triggerEvent():void {
                    trace('triggering event');
                    dispatchEvent(new Event("test",true));
                public function testListener(event:Event):void {
                    trace('event caught');
                    trace(moduleLabel.text);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:Label id="moduleLabel" text="{labelText}"/>
    </mx:Module>
    With ModuleLoader I get the following output in console, when the setLabel function is called
    ModuleTest
    triggering event
    event caught
    test
    With ModuleManger,I get the following output. The event listener is not invoked.
    null
    triggering event
    Also while trying different options, in between I tried using parentDocument. I added the below line in the interface function.
    trace(getQualifiedClassName(parentDocument));
    This line printed the correct parent class name, while using ModuleLoader. But printed null with ModuleManager.
    Following are the functions in main application to load the module using module manager.
                public function onCreate():void {
                    loadTestModule();
                public function loadTestModule():void {       
                    var url:String = '';
                    url += 'TestModule.swf';
                    modInfo = ModuleManager.getModule(url);
                    modInfo.addEventListener(ModuleEvent.ERROR,moduleReady);
                    modInfo.addEventListener(ModuleEvent.READY,moduleReady);
                    modInfo.load(null, null, null, moduleFactory);
                public function moduleReady(event:ModuleEvent):void {               
                    if (event.type == ModuleEvent.ERROR) {
                        trace(event.errorText);
                    if (event.type == ModuleEvent.READY) {
                        mod = modInfo.factory.create() as TestInterface;
                        var el:IVisualElement = modInfo.factory.create() as IVisualElement;
                        this.addElement(el);                   
    Am I missing something when I use ModuleManager.

  • Expected additional functionality  EHP7 in HCM Module

    Hi,
    What are the additional features/business functions/additional functionality which we will get in our system after EHP7 SPS4 in HCM.

    Refer here https://websmp210.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000762950&_SCENARIO=01100035870000000202
    Regards.

  • HT204088 how to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game)

    How to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game). Much as I try, I can't seem to get to see my account in enough detail to see what I have spent downloading apps to the ipad.

    You need to punch in the passcode for any purchase right, not just for new apps??
    If one of the other students, or anyone else, got access to your iTunes Store account, necessary to make any purchases, then they'd have all the information they'd need to also make in-app purchases. But an in-app purchase can only be made through the account through which the original app was purchased. Either your son bought the game (free or paid) and then shared it with someone else along with the account information (necessary to authorize the app on someone else's device), or someone else downloaded the game as well, not just made in-app purchases.
    In any case, changing your iTunes Store password should now have cut off any such unauthorized activity, though of course if your son gives the new password out, you'll be back to square one.
    Regards.

  • Visual Basic UFLs pick is missing from the Additional Functions Tree

    I am trying to add a custom function written in VB to a Crystal report.  I have stepped through the entire process and have a dll ready to go.  I cannot see the Visual Basic UFLs pick under Additional Functions in the Formula editor tree.
    Details on Environment:
    Windows 7 64 bit
    Visual Studio Professional 2008
    Crystal Reports 10
    .NET 3.5 SP1
    Any assistance would be greatly appreciated.
    Thanks,
    Jemal

    Hi Jemal,
    It could be a bug. U2lcom is a legacy UFL bridge between COM and CR. Newer versions of CR has a new u212manager to manage UFL's in .NET and it' snot in CR Basic and version 10.5 runtime. It may be placed in the x64 folder but it may not work.
    There was one [CR for .NET|https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe] patch that may have fixed the issue but if it doesn't your only option may be to upgrade to VS 2010 and CR for VS 2010 and then use this [UFL sample|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633303333333333383331%7D.do] and update your Project and UFL.
    CR for VS 2010 is a full feature version and includes RAS which gives you much more functionality.
    See this page for more info: http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
    It may be due to the 64 bit GAC is having problems find your dll. Try renaming the one in the x86 folder:
    C:Program Files (x86)Business ObjectsCommon2.8 in
    And see if it throws a new error, if it does then verify it is loading the dll from the x64 folder.
    Don

  • Compatability Issue: Need Help Disabling Additional Functions - URGENT!

    I am experiencing a problem with running Pro Tools 8.0.4 LE on my HP Pavilion dv7, which is encountered as a DAE error -6006 when loading Pro Tools. Research indicates that this error relates somehow to the firewire connection, and I am able to use Pro Tools on this system with a different interface (one that only has two microphone inputs) that allows me to connect via USB.
    Also, when I do run Pro Tools via USB it seems that I can't use the Quick Punch feature without a minimum 10 second (usually a lot longer) delayed response after pressing the playback or record button!
    I have been emailing Pro Tools support back and forth daily for 10 days now, and in the most recent email, they have said:
    "This might be an incompatibility issue. HP Pavilion dv7 laptop is not tested by our US headquarter testing team 
    and not officially supported.
    As you have found by yourself, each PC manufacture pre- installs their own features (as TV tuner) and the program into 
    Windows OS , the motherboard and BIOS. They work differently to Pro Tools and sometimes conflict. That is why we cannot support those PCs we have not tested.
    Please turn off all the additional function by HP from BIOS. Please ask HP support how to do."
    Therefore, I am requesting assistance with disabling all unnecessary services and processes on my HP laptop. I am assuming that the TV tuner is not a necessary service, but I have no idea about most of the others, and obviously I don't want to disable something that is necessary.
    If you could help me ASAP I would really appreciate it, as I need to get on with recording urgently! Thank you.
    This question was solved.
    View Solution.

    UPDATE:
    I have also been advised by Pro Tools support that if I add a supported FireWire card with Texas Instrument FireWire chip onto my computer, it may solve the problem. When I asked them how to go about doing this, they responded:
    "If your PC has Express Card slot, 
    http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=352647
    SIIG FireWire 2-Port ExpressCard
    is tested and supported FireWire card.
    Please ask HP about the spec of your computer."

  • Creation of new partner function through /AFS/BAPI_SALESORD_CHANGE

    Hi all,
    Can anybody help me to create partner functions through the bapi /AFS/BAPI_SALESORD_CHANGE ??
    In the selection-screen we will pass the vbeln, PARVW and kunnr values ??
    Any kind of little help is very much appreciated.

    thats all you need to pass to change the partner type like bill to or ship to.
    You dont create partner functions from this bapi. This is to change the sales order and the details in sales order. Creating partner function comes under SPRO.
    Ask you sales functional people to create new partner function

  • Send String[][] type to pl/sql procedure from function in App.module

    Hi,
    I use jdveloper 11.1.1.3.0
    I have a pl/sql procedure. the input type argument is 2-dimensional array(TAR) :
    types:
    create or replace TYPE ARRAYWEB as varray(160) of VARCHAR2(200);
    create or replace TYPE TAR as table of ARRAYWEB;
    Procedure:
    PROCEDURE testi(info IN TAR )
    I want to send type String[][] to this procedure from a function in Application module:
    1: String[][] str;
    2: CallableStatement plsqlBlock = null;
    3: String statement = "BEGIN testi(:1); END;";
    4: plsqlBlock = getDBTransaction().createCallableStatement(statement, 0);
    5: plsqlBlock.setArray(1, str); //get error
    6: plsqlBlock.executeUpdate();
    but in line 5 I don't know what type I should use, and this type(Array) doesn't work
    Habib

    Maybe this can help: http://www.devx.com/tips/Tip/22034
    Dario

  • Additional functionality for vendor evaluation in ECC 6.0

    Hi folks,
    Can any one help me in getting the information below.
    Is there any additional functionality for vendor evaluation in ECC 6.0  when compared to ECC 4.7
    Pls let me know the functionality and the difference.
    Thanks
    Vasanth.

    Hi
    Is there any additional functionality for vendor evaluation in ECC 6.0 when compared to ECC 4.7
    The Solution Browser lets you enter start and target releases for functional areas, and provides you with the information about the new functionalities.
    You find the tool from our homepage at http://service.sap.com/erp (see the tool box on the right hand side).
    regards
    Andreas Rudolph

  • FI-Accounts Payable functionality through EP7.0 Portal

    Hi Guys,
    How do I accomplish the FI-Accounts Payable functionality through Portal?
    Does SAP provide any pre-delivered content or Business Package to have this from Portal? If not what is the best approach to provide this through Portal.
    Thanks,
    Megha.

    Hi all,
    we get the same problem but when we approve a workitem from UWL, is not showing any error, instead shows a succesfully message.... but workitem not dissapear. We've to go to Backend system and approve workitem to continue to next step on workflow.
    Is like UWL hasn't got any relevancy on decission steps on workitems.
    Could you give me some answer about?
    Thanks in advance

  • BlazeDS provides push functionality through HTTP ??

    Hi All ,
        In my application i am integrating my Flex app with Java Struts using BalzeDS. Now i have a requirement like Data(Server) push functionality through HTTP. I am using HTTPService calls only in my Flex application. Can BlazeDS provides push functionality through HTTP.If so , how can i use that??
    I read a article about "BlazeDS Remote Object Service " and "BlazeDS Messaging Service" . I am so much confused. Please Help....
    Thanks in Advance....

    Yes -- I had a similar experience. I found the order in which you enable this stuff is critical.
    For me, I had to first enable the push server, configure it, stop it, go back into mail, set the server to push, start the notification service, then start and stop the mail service.
    Push showed my test Leopard client as a connected user; no matter what I did with the iPhone though I couldn't get it to push (or connect.)
    I ended up disabling the whole thing though, when I started seeing references in the system log to push service error messages. I'll need to dig back through them to paste them here on the forum, but it appeared something still isn't quite right.
    The complete lack of technical documentation on this is a bit annoying, to say the lease.

  • Calling user defined functions through OBIEE

    Can anyone tell me how I can call the user defined functions on database through the new BI tool.
    The idea is to collect certain parameters through the prompt when launching the request, the function is supposed to pick up the parameters, make a certain calculation, and return a value.
    I wrote the function, I just need help over how to call the function through the BI tool - that was pretty easy in the old Discoverer.
    Thanks.
    Message was edited by:
    user611377

    Hi Kresimir ,
    You can use EVALUATE function to call a user defined function.
    EVALUATE('FUNCTIONNAME(%1,..)' As DATATYPE,parameter1,...)
    Here DATATYPE is the returntype of function.
    Hope this will help.
    Thanks
    Ashok

  • Accessing function through DB link, giving error.

    Hi All,
    I am using Oracle 10g. I am having a function which is being called in a 'Select' query. And with in the function i have done exception handling, in which in case of exception, i am inserting the records into one table and its is 'pragma automnomous'. So its working fine , when i called this function through the 'Select' query from my own DB. but when i called the function from another DB through DB link, its giving me error stating , DML is not possible in function.
    can you please suggest some other alternatives or hoe to handle this situation?

    930254 wrote:
    Hi All,
    I am using Oracle 10g. I am having a function which is being called in a 'Select' query. And with in the function i have done exception handling, in which in case of exception, i am inserting the records into one table and its is 'pragma automnomous'. So its working fine , when i called this function through the 'Select' query from my own DB. but when i called the function from another DB through DB link, its giving me error stating , DML is not possible in function.
    can you please suggest some other alternatives or hoe to handle this situation?You have tables. We don't.
    You have data. We don't.
    You have code. We don't.
    You have error. We don't.
    You have mystery. We have no clues.
    You're On Your Own (YOYO!)

  • How to run Powershell script (function) through Windows Task Schduler ??

    Hello All,
    i have Powershell script which is created as a function. I have to give parameters to run the script. And it is working fine. Now i want to run this script through windows task scheduler but it is not working. I dont know how to call powershell function
    through task scheduler.
    From command line i run it like this:
    . c:\script\Get-ServiceStatusReport.ps1
    dir function:get-service*
    Get-ServiceStatusReport -ComputerList C:\script\server.txt -includeService "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail mail01.xxx.gov.pk
    In windows Task scheduler I am giving this: it runs but i dont receive any output :
    Program/Script:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Parameter:
    -file ". 'Get-ServiceStatusReport.ps1 -ComputerList C:\script\server.txt -includeService  "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail  mail01.xxx.gov.pk'"
    Please HELP !!!

    Thanks for the reply:
    The script is already saved as Get-ServiceStatusReport.ps1 .
    On powershell it does not run like .\Get-ServiceStatusReport.ps1 (parameter).
    But i have to call it as function:
    Like this:
    Get-ServiceStatusReport -ComputerList C:\script\server.txt -includeService "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail mail01.xxx.gov.pk
    As you said:
    I tried to run it like this:
    Program/Script:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Parameter:
    -file "c:\script\Get-ServiceStatusReport.ps1 -ComputerList C:\script\server.txt -includeService  "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail  mail01.xxx.gov.pk'"
    But its not working , on scheduler its giving error: (0xFFFD0000)
    Please HELP !!!
    WHOLE SCRIPT:
    function Get-ServiceStatusReport
    param(
    [String]$ComputerList,[String[]]$includeService,[String]$To,[String]$From,[string]$SMTPMail
    $script:list = $ComputerList
    $ServiceFileName= "c:\ServiceFileName.htm"
    New-Item -ItemType file $ServiceFilename -Force
    # Function to write the HTML Header to the file
    Function writeHtmlHeader
    param($fileName)
    $date = ( get-date ).ToString('yyyy/MM/dd')
    Add-Content $fileName "<html>"
    Add-Content $fileName "<head>"
    Add-Content $fileName "<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>"
    Add-Content $fileName '<title>Service Status Report </title>'
    add-content $fileName '<STYLE TYPE="text/css">'
    add-content $fileName "<!--"
    add-content $fileName "td {"
    add-content $fileName "font-family: Tahoma;"
    add-content $fileName "font-size: 11px;"
    add-content $fileName "border-top: 1px solid #999999;"
    add-content $fileName "border-right: 1px solid #999999;"
    add-content $fileName "border-bottom: 1px solid #999999;"
    add-content $fileName "border-left: 1px solid #999999;"
    add-content $fileName "padding-top: 0px;"
    add-content $fileName "padding-right: 0px;"
    add-content $fileName "padding-bottom: 0px;"
    add-content $fileName "padding-left: 0px;"
    add-content $fileName "}"
    add-content $fileName "body {"
    add-content $fileName "margin-left: 5px;"
    add-content $fileName "margin-top: 5px;"
    add-content $fileName "margin-right: 0px;"
    add-content $fileName "margin-bottom: 10px;"
    add-content $fileName ""
    add-content $fileName "table {"
    add-content $fileName "border: thin solid #000000;"
    add-content $fileName "}"
    add-content $fileName "-->"
    add-content $fileName "</style>"
    Add-Content $fileName "</head>"
    Add-Content $fileName "<body>"
    add-content $fileName "<table width='100%'>"
    add-content $fileName "<tr bgcolor='#CCCCCC'>"
    add-content $fileName "<td colspan='4' height='25' align='center'>"
    add-content $fileName "<font face='tahoma' color='#003399' size='4'><strong>Service Stauts Report - $date</strong></font>"
    add-content $fileName "</td>"
    add-content $fileName "</tr>"
    add-content $fileName "</table>"
    # Function to write the HTML Header to the file
    Function writeTableHeader
    param($fileName)
    Add-Content $fileName "<tr bgcolor=#CCCCCC>"
    Add-Content $fileName "<td width='10%' align='center'>ServerName</td>"
    Add-Content $fileName "<td width='50%' align='center'>Service Name</td>"
    Add-Content $fileName "<td width='10%' align='center'>status</td>"
    Add-Content $fileName "</tr>"
    Function writeHtmlFooter
    param($fileName)
    Add-Content $fileName "</body>"
    Add-Content $fileName "</html>"
    Function writeDiskInfo
    param($filename,$Servername,$name,$Status)
    if( $status -eq "Stopped")
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$servername</td>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$name</td>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$Status</td>"
    Add-Content $fileName "</tr>"
    else
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td >$servername</td>"
    Add-Content $fileName "<td >$name</td>"
    Add-Content $fileName "<td >$Status</td>"
    Add-Content $fileName "</tr>"
    writeHtmlHeader $ServiceFileName
    Add-Content $ServiceFileName "<table width='100%'><tbody>"
    Add-Content $ServiceFileName "<tr bgcolor='#CCCCCC'>"
    Add-Content $ServiceFileName "<td width='100%' align='center' colSpan=3><font face='tahoma' color='#003399' size='2'><strong> Service Details</strong></font></td>"
    Add-Content $ServiceFileName "</tr>"
    writeTableHeader $ServiceFileName
    #Change value of the following parameter as needed
    $InlcudeArray=@()
    #List of programs to exclude
    #$InlcudeArray = $inlcudeService
    Foreach($ServerName in (Get-Content $script:list))
    $service = Get-Service -ComputerName $servername
    if ($Service -ne $NULL)
    foreach ($item in $service)
    #$item.DisplayName
    Foreach($include in $includeService)
    write-host $inlcude
    if(($item.serviceName).Contains($include) -eq $TRUE)
    Write-Host $item.MachineName $item.name $item.Status
    writeDiskInfo $ServiceFileName $item.MachineName $item.name $item.Status
    Add-Content $ServiceFileName "</table>"
    writeHtmlFooter $ServiceFileName
    function Validate-IsEmail ([string]$Email)
    return $Email -match "^(?("")("".+?""@)|(([0-9a-zA-Z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-zA-Z])@))(?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,6}))$"
    Function sendEmail
    param($from,$to,$subject,$smtphost,$htmlFileName)
    [string]$receipients="$to"
    $body = Get-Content $htmlFileName
    $body = New-Object System.Net.Mail.MailMessage $from, $receipients, $subject, $body
    $body.isBodyhtml = $true
    $smtpServer = $MailServer
    $smtp = new-object Net.Mail.SmtpClient($smtphost)
    $validfrom= Validate-IsEmail $from
    if($validfrom -eq $TRUE)
    $validTo= Validate-IsEmail $to
    if($validTo -eq $TRUE)
    $smtp.UseDefaultCredentials = $true;
    $smtp.Send($body)
    write-output "Email Sent!!"
    else
    write-output "Invalid entries, Try again!!"
    $date = ( get-date ).ToString('yyyy/MM/dd')
    sendEmail -from $From -to $to -subject "Service Status - $Date" -smtphost $SMTPMail -htmlfilename $ServiceFilename

Maybe you are looking for

  • What do I do with this phone...

    My contract is up in late November and I really hate this phone. I constructed a list of pros/cons. I can hand write a message and put it on a horse and it will get delivered faster than it takes this phone to start to send a message The touchscreen

  • RAW / NEF problems

    I am using two iMacs latest models (27 inch quad-core i7) with on one iPhoto 09 and on the other iPhoto 11. On both Macs I cannot copy RAW (NEF) files and even some JPG files to the hard drive. While viewing the photos still on the memory card does n

  • Need Help with Font - Style -  Size

    how do you keep these the same size and style on all pages? example font and size will be the same but style wont. when i try set the same style the size changes, and if you set size the style changes.

  • Reasons why a query timeout would fail to cancel the query

    Let's say I am running an SQL query via JDBC and then I hit the query timeout I had set on the session. 9 times out of 10 Oracle complies and I get hit with a ORA-01013 user canceled query, as I would expect. But sometimes, it seems the database just

  • HT4098 I am unable to find the main account page so that I can manage my subscriptions. Can somebody help me?

    I'm trying to manage my subscriptions but can't seem to navigate my way around and find the page on my iPhone. Somebody please help?