Dynamically  filename is required in CC but not reuired in Target field

HI,
my requirement is to create filename dynamically(UDF) in Receiver communication channel but I dont want the name should be populated in the target field as target field is not provided by business.
I received the below UDF from SDN
   String date = var1[0];
   String RFCL = var2[0] ;
   String FN = RFCL + date  ;
AbstractTrace trace = container.getTrace();
trace.addWarning("Test" + FN);
   String NameSpace = "http:/"+"/sap.com/xi/XI/Syatem/File";
DynamicConfiguration conf =
(DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(NameSpace, "FileName" );
conf.put(key,FN);
//trace.addWarning("Test" + var2);
//trace.addWarning("Test" + RFCL);
result.addValue(var2);
Can any one suggest me how I can achieve my requirement
Thanks

Hi
Use the code
public String getFileName(Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//For getting filename
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
// Retrieve the filename
String FileName = conf.get(key);
return FileName;}
Map this to the root node. Do not forget to keep the Adapter Specific Message Attributes(ASMA) checked in the communication channels.
Set Adapter Specific Message Attributes
File Name.
Regards
Monika

Similar Messages

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • Adding an image when signing, but not in the signature field, in Reader

    Hi,
    I would like to know if it is possible to add an image to a pdf document when I sign the document in Reader.
    I do not want to add the image in the signature field as a signature, but rather below the signature field. The image is 'n barcode providing me with more information on the signature.
    I have looked at the Stamper example, but this functionality is not avialable in Reader.
    Thank you,
    Magda

    If you insert after signing you will break the signature!!   You need to do any such stamping BEFORE signing.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 23:54:15 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Adding an image when signing, but not in the signature field, in Reader
    Re: Adding an image when signing, but not in the signature field, in Reader
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3992619#3992619

  • Dynamic Parameter List works on desktop but not when run on Crystal Server

    Hi,
    I have a report, and the database command query takes one parameter ({?Year}. There is a second parameter used for a record select which is a dynamic paramenter list (multiple select, required). When running the report from Crystal Reports 2008 on my desktop, it first prompts for a year, and then once that is entered, it will come back with the list (of Companies) to select from. It works very smootly and as desired.
    But when I load this report to Crystal Reports 2008 Server, it will ask for the year (which is a static list), and this is good, but then it comes back with an empty dynamic select list on the next screen.
    Are there any special caveats that I need to be aware of in regards to dynamic lists when running from the CR server?
    Thanks!

    Hi Pat, 
    This should work but a couple of things to check: 
    1)  Are the two parameters linked to the same database?  If the parameters are linked to fields from different tables in different databases then you need to make sure you set the Database Configuration and have the report log on to both databases. 
    2)  Are Crystal Reports and Crystal Server the same version?  I had problems with parameters after we upgraded to 2008.  We had to install the latest service packs for both Crystal 2008 and the Enterprise Server.  Then we installed Crystal 2008 on the same machine the Enterprise Server was on.  Crystal Reports and the Enterprise Server share some common files.  Some of those files were updated for Crystal but not for the Enterprise Server yet.  Once we synched them our reports have run fine. 
    Good luck,
    Brian

  • Some fields in table is not available in target fields(B1) DTW

    Dear Experts/Gurus,
    I have a problem relates to data transfer workbench (DTW) SBO 2005A SP 01 PL 18. It is about unavailability of a certain field that is profitcode or distr.rule in JDT1 table. It is required field and there are many transactions and impossible to entry it one by one. If I check the table in SQL server 2005 database How to solve this problem, could I add target fields(B1) in DTW ? I appreciate your answer. TIA
    Rgds,

    Hi,
    When a field is available as a property in the corresponding DI API object you should be able to add a column to the import template with the property name (not the name of the DB field!!!):
    Here you would add "CostingCode" for the "ProfitCode"...
    Sorry for the confusion created by the differences in the names!
    + the nonsense in the helpfile (someone thought it might help to use a descriptive name for a particular table (OOCR), but wrongly assumed that OCR here would have sth to do with <i>Optical Character Recognition</i> - funny!)
    HTH,
    Frank

  • ** Sender Agreement is required for RFC but not IDoc, XI, & HTTP.. Why ?

    Hi Friends,
    All we know that since IDoc, XI adapters running on Integration Engine (SAP WAS 6.40), Sender Agreement is need not required.
    Since RFC is proprietary document for SAP like IDoc, why we are creating Sender Agreement for RFC adpater ? (We know that RFC adpater is running on Adapter Engine, so that ...). Some of our guys asking me this question.
    Why is this difference (IDoc adapter running on Integration Engine & RFC adapter is running on Adapter Engine) ? Anyboday can clarify the exact reason on this ...
    Kind regards,
    Jegathees P.

    Hi,
      RFC Adapter:
        RFC adapter can abe to  manage metadata while using the Jco call.This turns the RFC data to RFC xml message.
    IDOC Adapter:
       But Loading the metadata for IDOC we should create a port and rfc destination.IDOC adapter and metadata container placed in integration server before and after the pipeline step.metadata container converts the IDOC to IDOCxml.IDOC adapter converts the IDOC xml to native xml format.Using idx2 we uploaded the IDOC metadata with the help of RFC destination and port.
    Regards,
    Prakasu.M

  • Korean Language Support Package required for Reader but not Acrobat?

    One of our departments on campus has created a form that is causing some users to get a message prompting them to download the Korean Language Support Package in order to fill in the form fields.
    When I originally tested this in Acrobat Pro 9 I didn't get any errors.  Another user also reported the issue recently (two this week).  So we tested it again, but this time used both Reader 9 and Reader X -- both programs were generating this message to download the language pack.  The form appears to be completely in English with no Korean characters.  It uses fairly standard fonts and I didn't see any embedding or encoding issues with the fonts.
    Aside from having end users download a Korean Language Support Pack to view a PDF that doesn't seem to contain any Korean, are there any other options out there without recreating the form from scratch?  Here is a list of the fonts used in the PDF.  The only types of encoding are Ansi and Identity-H (which I expanded in the SS above), with the latter fonts being embedded within the PDF.
    Any ideas?  The form is linked below.  Thanks in advance for your replies.
    Here is a link to the PDF

    SOLVED
    While our problems differ, my solution may still be relevant.
    My culprit was a rogue font in an embedded Visio drawing. I identified and located the font using the "List text using non-embedded fonts" Preflight analysis in Acrobat 9.4 Pro. I checked the encoding of each non-embedded font and discovered that Arial Unicode MS used Korean font encoding (specifically, KSCms-UHC-H). See screenshot below. Doubleclicking on one of the font properties highlighted the offending text in the pdf.
    I went to that location in the source file, which happened to be in the first embedded Visio drawing (shown above). I double clicked the drawing, selected all, and selected Arial font. Then I regenerated the pdf and viewed it in Reader X. The Korean language pack error message did not appear and all Visio drawings displayed normally.
    I would recommend using the Acrobat preflight tools to locate text or objects with incorrect font encoding within your PDF or form, then surgically striking (or carpet bombing) the affected location(s) in the source files with embedded/supported fonts.
    Hope this helps.
    Message was edited by: mugg326

  • In TEB - require an entry, but not something specific

    Is there a way to set up a TEB so that I can require someone
    to enter something into a text entry box (such as a name or email)
    without validating for specific names or email addresses?

    Hi there
    Sure thing. What you do is actually desire a mismatch. A
    failure.
    You configure the TEB (Text Entry Box for those that wonder)
    so that the expected response is something you would never in a
    bazillion years expect the user to type. Perhaps GreenGoblet. You
    then allow a single attempt and take the desired action on a
    failure. The failure should always occur and you get the desired
    result.
    Hopefully that was helpful to you... Rick

  • I have an internal website that requires a password but not will load after installing v37.0.1

    I have attempted all the fixes suggested and nothing works. I don't even get an error. I am just asked to enter my password again, and again, and again.

    Does your internal site use an older version of ssl or a self signed certificate?
    In the meantime you may need to force Firefox to fallback to TLS 1.0 or otherwise force TLS 1.0 (i.e. set the maximum to 1.0)
    In order to change your Firefox Configuration please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Change '''security.tls.version.fallback-limit '''= 1

  • IDOC status on 03 but not recieved on target system

    Hi,
    We are recieving inbound idoc from external system and processing Inbound IDOC on SAP system, after processing inbound idoc on SAP we are sending status outbound idoc to external system.
    The above functionality was working fine before upgradation.
    after upgradation we have recreated RFC (TCP/IP) connection, updated at port level and also configured the new SAP system details ( sid, Hostname, service programsname...) on external system correctly.
    Now we are recieving inbound idoc from external system on upgraded system,after processing inbound idoc details on SAP system, generating outbound idoc from SAP and it reaching the outbound prot sucessfully on 03 status with green light.
    But external system is not recieving the IDOC. How to find why idoc is not reaching external system even though it is sucessfully passed at outbound port level with green light status 03.
    We have also checked the SM58 for TRFC entries but we didn't identified any entries on SM58. Please help us on this issue
    Thanks,
    Raju

    Hi Raju,
    As  mentioned by The specified item was not found., the one common problem for the IDocs not being sent might be a missing COMMIT WORK. I.e. when using the standard SAP API's for sending outbound IDocs, SAP actually creates the IDoc and registers an update function for sending the IDoc out. So without the COMMIT WORK, the IDoc usually exists on the database (implicit or database commmits), is in status 03, but hasn't been sent out and cannot be found in the outbound RFC queue (because SAP never tried to send it).
    If you're convinced that a COMMIT WORK is happening (and after trying to send the outbound IDoc) then I'd try the following: Replace the used RFC destination (or re-define it temporarily) with one that points to the same system from where you're sending. If you don't see the IDocs as inbound IDocs or in the outbound RFC queue, the sending never happens. (Ok, might be a moot point if you completely trust your external system, but usually it's good to even rule out the most unlikely causes - if it's simple.)
    So if this didn't help, maybe you can provide some further insight into how you're creating/sending the outbound IDocs. This could help us in trying to get some answer, but for a starter the COMMIT WORK mentioned by The specified item was not found. is in my opinion the best candidate.
    Cheers, harald
    p.s.: Even if you're using ALE, I don't think it could be due to anything in your distribution model as mentioned by The specified item was not found.. If you wouldn't have setup the distribution model, the SAP API's should create a master IDoc in memory and then no communication IDocs (since there's no recipients or due to filtering) and thus there should be no outbound IDocs on the database.

  • How do I selectively  convert check boxes (Alt0168 Wingdings) but NOT Bookmarks into editable fields (from Word table)

    Acrobat X (Windows) is converting all fields from the Word table - making even the imported bookmarks editable. We just want the check boxes interactive. This has to be done on a large volume of documents, so it needs to be automated. I suspect some coding will be involved or perhaps a 3rd party app that allows one to selectively convert fields.
    Thanks!

    Ok, I found out that I need to apply the patch 5746875 to have that. But there only instruction to apply this patch on unix env. I need on Windows. Can any body help me?

  • Setting dynamic file name in Receiver file adapter - not from payload

    Guys I just remember reading a weblog but can't find it now that I need it, on how to set the file name in message mapping dynamically but not using any payload field.
    Please let me know if you remember this.
    Thanks a lot,
    Viktor Varga

    also u can check in
    <a href="/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II</a>
    <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14: The same filename from a sender to a receiver file adapter - SP14</a>

  • Roles appearing in User managment but not in Users Form

    I have used the WF_LOCAL_SYNCH.propagateUserRole API to add roles to new and existing users in our production instance. That seemed to go well.
    When I view that user through the user management screen I see that he has the role assigned to them. Yet when he logs on he cannot see the role. When I view the user through the user form the indirect responsibility is not showing up.
    We have run the Workflow Directory Services User/Role Validation against the user with the following parameters:
    p_BatchSize – 10000 (Default Value 10000)
    p_Check_Dangling – Yes (Default value No)
    Add missing user/role assignments – Yes (Default Value No)
    Update WHO columns in WF tables – No (Default Value No)
    That has worked for some people but not all.
    Does anyone know what is going on or how to fix this?

    this you can find in Web console
    configuration>>user configuration>>action>>attributes
    I am able to add attribute but not able to make field as mandatory,while creating attribute we are not getting option like that you want this field mandatory or not but while modifying the attribute we are getting option like required field radio button if i select that i am getting error "you cant change an attribute to required unless all the user have value for this field"

  • Background image displays locally in HTML5 template but not when published

    I have used an excellent HTML5 template which uses JavaScript to display background images. However while this file works locally it doesn't when published. The site structure is sound and I notice this happens with the source files I downloaded also so it's nothing I have done in my build which could have caused this.
    This is the link to my site, everything is fine except the background image not showing.
    http://www.khawkinsdesign.com
    Any ideas, as I say fine locally, not fine when published?
    Message was edited by: Kyle Hawkins

    Hi Kyle,
    I realise you posted your question a couple of days ago but it looks like your background image issue may now be fixed?
    In any case, your site has a few issues. Not sure who told you the template was HTML 5 but they might be yanking your chain. There is nothing HTML 5 about the code used and the DOCTYPE is from HTML 4. As such, some of the code you have used is throwing up errors - some related to the DOCTYPE and some where you haven't closed the tags:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.khawkinsdesign.com%2F&charset=%28detect +automatically%29&doctype=Inline&group=0
    <ul id="footer-nav">
    <li><a href="index.html">Home</a></li>
    <li><a href="portfolio.html">Portfolio</a></li>
    <li><a href="about.html">About</a></li> /*The closing tag is missing in your code */
    <li><a href="contact.html">Contact</a></li> /*The closing tag is missing in your code */
    </ul>
    It would be best to amend the errors but some might disappear when you add the HTML 5 DOCTYPE in to your code. Things like your lack of "type" on the sources is a required v4 attribute, but not in v5.
    <!DOCTYPE html>
    Have a read through this for more info - this is a great resource for everything HTML 5. http://diveintohtml5.info/
    Rik
    EDIT:// It seems that the DOCTYPE is the 5 version on all but the home page so you may only have one to correct. However, there are still no HTML 5 elements used to take advantage of the new DOCTYPE.

  • Anyone have this problem: I can sign on to the cloud from my iMac but not from my pc.

    This is probably not strictly speaking the forum for this question but I am hoping to get lucky here. I cannot get to the cloud on my studio pc, altho I can get there on my home office iMac, so the problem is with my studio computer. That pc will allow me to surf the web and link to other sites that require pass words but not my Adobe Cloud account or my DAZ3D account. I am not very knowledgable when it comes to how computers work, and am hoping this is a problem that someone out there will recognize and be able to point me in the right direction. Thanks.

    Hi Xfitz,
    My first thought would be browser security settings. The web address for Creative Cloud is https://creative.adobe.com/ Note that the address is https versus just http - the s indicates its a secure site. Do you get any kind of warning or message when trying to Creative Cloud or Daz on the customer? What happens when you try?
    -Dave

Maybe you are looking for

  • Wrong path changes in Itunes XML file

    hi there, My Itunes library (9.0.2) is stored locally on my macbook, although actual files are on a network attached storage that I access through AFP. This share is mounted automatically when the mac starts. Everything was working perfectly fine unt

  • Flash builder 4.7 wont  install

    i am on windows 7, 64 bit the akamai downloader fails saying: The Akamai Download Manager has encountered an fatal error: Content invalid i download the file directly and ran the installer, but it fails after the extraction step with: A problem occur

  • Low frequency measurement (1 to 5 Hz) issues - Reg

    Hello All, i am facing a problem in measuring Low-Frequencies in the range of 1-5 Hz. I am using VIs used for pulse-width measurement and the card is PCI-6031E. i am generating frequency using PCI-6013 card. Actually i am trying to develop an applica

  • Can anyone advise how to resolve the 'unexpected and unrecoverable problem..?

    I am running PS CS5 in Windows 7 and it has been fine for six months. It now presents the dreaded 'unexpected...' error messages and crashes on start-up, also freezing the interface so I cannot close it. Can anyone suggest the best course of action t

  • What OS will work on PowerMac G5

    I just bought a Power Mac G5 and it came with no OS. I just installed a new 500 GIG hard drive and tried installing Snow Leopard. However the OS would not load. I did a little more research and found that only Intel base Mac can support OS X (Snow Le