Dynamic Target Directory name: DEV QUA and PRD

Dear All,
Scenario Idoc to File:
I need to configure file directory's dynamically - when the object is moved to D, Q and Prd. for that am using plant and location to differenciate.
InExample: D:\SX\Common\ <plant><location>
TinAdvance
Swarna.

Swarna wrote:
Dear All,
>
> Scenario Idoc to File:
>
> I need to configure file directory's dynamically - when the object is moved to D, Q and Prd. for that am using plant and location to differenciate.
>
> InExample: D:SXCommon <plant><location>
>
> TinAdvance
> Swarna.
I am assuming that the plan and location fields are part of the data structure and the path D:SXCommon will always remain the same in all the environments.
In that case, you can write a generic UDF for this that will handle in Dev, QA and PRD
use this blog to help you - Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name

Similar Messages

  • File Adapter : Dynamic Target Directory

    Hi EveryBody,
    I have an IDOC to File Scenario in which based on some field value X in IDOC i need to send the file to Different locations under the same FTP Server.
    For Example : if X = 01 then Target folder T1
                            X = 02 then Target folder T2.
    Can somebody help me out on the same.Possibly this can be done by Dynamic Configuration.Can somebody send me some links.
    Regards,
    Zabiulla

    Hi,
    First of all I would suggest to avoid the mail communications for the query.
    Its against the SDN rules.
    please read [Rules of Engagement|/thread/117188 [original link is broken];.
    About Solution, you need not have to go for Dynamic Target Directory
    You can use the Variable substitution concept here.
    In the Target directory pass the %Var1%
    and use Var1 ---> payload:<fieldName>
    Refer to the last part of this link to understand this better,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    For dynamic configuration you can also refer below link
    Dynamic configuration of Receiver FTP File channel
    Thanks
    Swarup

  • What is the average duration of 1 full SAP life cycle or 1 end-to-end implementation. How long does it take to prepare DEV, QAS and PRD?

    What is the average duration of 1 full SAP life cycle or 1 end-to-end implementation. How long does it take to prepare DEV, QAS and PRD in any company?

    Anand,
    let me start with saying that the question you ask may not help you to determine the duration of your project. As Ryan and others stated the duration of the project is highly dependent on the scope of the solution you are implementing, geographical scope, amount of modifications/enhancements, number of languages, number of users that need to be trained, amount of standard processes customer is able to re-use in the implementation and many other factors (like quality of implementation contractor you will chose and availability of customer and implementors resources). I can probably go on for another couple lines, but I guess you get the idea.
    With that out of the way let's talk about some example implementations that will give you an idea - Ryan did great job outlining what I would call traditional approach above. I have couple examples where customers leveraged innovative deployment strategies that are available today. In particular the project teams leveraged pre-packaged services like RDS, World Template or Best Practices as their baseline solution and they built from there. Second acceleration technique customers now leverage is the deployment in the SAP HANA Enterprise Cloud to accelerate the time to initial setup of the system and thus move from traditional blueprinting to scope validation exercise that further shortens the time. There are other acceleration techniques we see applied in some cases like use of iterative implementation of the delta requirements on top of the baseline solution.
    Let me offer few examples to illustrate what I explained above:
    ERP implementation at Schaidt Innovations with 3 months long deployment of ERP solution using ERP RDS as a baseline (you can view their testimonial here - Schaidt Innovations: SAP ERP on HANA in the cloud - YouTube)
    Customer in Asia with global template deployment that leveraged SAP ERP for Manufacturing with deployment to cloud and 9 countries rollout (Japan, Korea, China, Taiwan, Hong Kong, UK, Germany and US). The initial deployment took 4 months for first country and 2 months for rollout into the additional 8 countries - so total of 6 months. The original plan using traditional approach with full blueprint and heavy configuration was estimated to be more than double of the actual deployment time.
    There are many other examples where customers follow the assemble-to-order delivery model for their project and gain significant benefits doing so. I suggest you to review some of the recordings we did in 2013 about this approach and if you are member of ASUG review the Agile ASAP sessions we did for ASUG PM SIG.
    Link to webinars: SAP A2O Webinar Series Schedule
    Let me know if you have any questions.
    Jan

  • How to compare versions of DMEE Format Tree in DEV, QAS and PRD

    Hi,
    Is there a way to compare version of the DMEE Format Tree in DEV, QAS and PRD?  I would just like to ensure that version in DEV is in sync with the ones in QAS and PRD before I do my changes.  It seems that Version Management of Transaction DMEE can;t compare the versions in the three systems.  Thank you very much for your inputs.
    Best regards.
    Brando

    Brando.
    DMEE is a standard transaction which will be in sync with all the servers in your landscape unless there is any customisation done and the request is not yet moved.What problem are you facing when you are trying to do REMOTE COMPARISION ?
    K.Kiran.

  • STMS Route configuration in Three system Landscape with DEV,QA and PRD

    Hi
    We have Three system landscape.i.e DEV,Quality and PRD
    Before Somebody  configured the STMS by selecting standard two system land scape ( Dev and QAS)
    We Have Installed Production Server And Added into Existing STMS Configuration
    Now Three Systems Showing, In Import Overviw Screen
    How Can I Create Route Between Three systems
    What I am Asking Is Without Delet Old Roots
    Can i Create it are Not
    regards
    NSN

    Refer these links:
    http://help.sap.com/saphelp_erp2005/helpdata/en/1c/2ddc0901db11d284870000e8a57770/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/44/b4a0137acc11d1899e0000e829fbbd/frameset.htm
    Regards,
    Ravi

  • File Name and Target Directory name issue in FTP CC

    Hi All ,
    I am using following code to assing file name and directory name in UDF. I don;t want these parameters to be part of my target structure. Since i have created these files names in UDF, what are the values do i need to mention in FTP CC's "File access Parameter" which are mandatory fiels in CC ?
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String myFileName =biz +".dat";
    conf.put(key, myFileName);
    //Similar code for direcotry
    Thanks for your support.
    MK

    Hi,
    in ID in receiver file comm channel, just tick the option of Adapter Specific messge attributes and in it tick FileName and DirectoryName.............
    the filename and directory you give in comm channel will be treated as dummy and the values will be taken from your UDF.......
    Regards,
    Rajeev Gupta

  • Get Directory name in Chinese and Chinese chars to Excel

    Hi,
    <b>Question:1</b>
    I use "cl_gui_frontend_services=>directory_browse"
    to get the Directory name from the presentation server.
    It works good for the directory names in English.
    However I need to perform a similar operation when the
    user has logged in "<b>Chinese</b>" at OS level,
    say Chinese Version of Windows. In this case this FM
    doesn't get properly the directory names in chinese.
    This might be  because the directory name is of type
    string. is there any other way to achieve this?
    SAP Ver: 4.7
    <b>Question:2</b>
    I need to download chinese description to an excel file from an internal table. I could able to achieve this when I use Chinese version of windows and log into SAP in <b>'ZH'</b>.
    I agree that to see the chinese characters properly we may need to log in the chinese version of Windows. But I don't understand the reason that why do we need to log into chinese version of SAP? i.e 'ZH'. I have decla=red the description field as character in the internal table declaration and in the FM 'GUI_DOWNLOAD', I specify the file type as <b>'ASC'</b>. Any clues on this to get this executed being logged in <b>EN</b> version of SAP?
    Thanks,
    Siva

    Hey there KCR875015,
    It sounds like like you need to change the language your iPad is set to, but you cannot understand the language it currently is. The following article should help you do that:
    iOS: How to change the language when it's set to one you don't understand
    http://support.apple.com/kb/ht2371
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • XSLT for dynamic target field names

    Hello,
    I got a requiremt where I need to create target field names from input values.
    Input XML -
    <?xml version="1.0" encoding="UTF-8"?>
    <Createelement_MT>
    <Field Name="A">
    <Value>1</Value>
    </Field>
    <Field Name="B">
    <Value>1</Value>
    </Field>
    </Createelement_MT>
    Expected OutPut XML -
    <?xml version="1.0" encoding="UTF-8"?>
    <Createelement_MT>
    <Statement><TableName><table>XYZ</table>
    <access>
    <A> 1 </A>
    <B> 2 </B>
    </access>
    </Statement></TableName>
    </Createelement_MT>
    The value of the attribute 'Name' of field 'Field' should be the name of target field.
    XSLT:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="@*|node()">
    <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="Createelement_MT">
    <xsl:element name="statement">
    <xsl:element name="TableName">
    <xsl:element name="table">ABC</xsl:element>
    <xsl:element name="access">
    <xsl:for-each select="Field">
    <xsl:element name="{@Name}">
    <xsl:value-of select="Value"></xsl:value-of></xsl:element></xsl:for-each>
    </xsl:element>
    </xsl:element>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    Error:
    Error: at xsl:element on line 15 of file:///......: XTDE0820: Invalid element name. Invalid QName {}
    Please help me with the xslt code for this requirement.
    Thanks!

    Hi,
                Please try this code
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml"/>
         <xsl:template match="/">
              <Createelement_MT>
                   <Statement>
                        <TableName>
                             <table>XYZ</table>
                        <access>
                             <xsl:for-each select="Createelement_MT/Field">
                                  <xsl:variable name="field" select="@Name"></xsl:variable>
                                  <xsl:element name="{$field}">
                                  <xsl:value-of select="Value"></xsl:value-of>
                                  </xsl:element>
                             </xsl:for-each>
                        </access>
                        </TableName>
                   </Statement>
              </Createelement_MT>
         </xsl:template>
    </xsl:stylesheet>
    input xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Createelement_MT>
    - <Field Name="A">
      <Value>1</Value>
      </Field>
    - <Field Name="B">
      <Value>1</Value>
      </Field>
      </Createelement_MT>
    output xml
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Createelement_MT>
    - <Statement>
    - <TableName>
      <table>XYZ</table>
    - <access>
      <A>1</A>
      <B>1</B>
      </access>
      </TableName>
      </Statement>
      </Createelement_MT>
    One small request, if you think your question has been answered,could you please kindly, if possible, close this thread.
    regards
    Anupam

  • Dynamic File, Directory names - File2File Scenario

    We donot have message mapping in our Scenario  ( Ftp file 2 Ftp file scenario ) where we like to change filename, directory before writing file on the target ftp server. Basically Dynamic configuration has to be manipulated based on  file name pattern. How can we change Dynamic configuration variables without message mapping step.
    Thanks

    Bhavesh, Aamir,
    I am not as learned as you all are...However i have one doubt...
    Can you tell me how..you would use variable substitution  or any of the other features besides the dynamic Config bean...to make a decision..with this logic.
    If(filename.equals(a)){
    String dir = /usr/sap;
    else if(filename.equals(b)){
    String dir = /usr/pas;
    Can someone please enlighten me as this is a problem i have had before and had to do a workaround on...
    Regards
    Ravi Raman

  • SOLMAN 4.0 SR2 connect to SAP R/3 Three System landscape (DEV QA and PRD)

    Hi,
    We have successfully installed SOLMAN 4.0 SR2 (ABAP + JAVA) on
    WIN2003 SP2 EE MSSQL 2005 EE SP1.
    I just want to activate the service so that SOLMAN could see my existing SAP R/3 4.6 C Three system landscape (DEV QAS PRD).
    I heard settings should be done on SPRO IMG configs. Could anyone tell me the exact procedure to navigate on it. I see a lot of buttons to config and execute, Just want to make sure everything will be in order.
    My SLD is directly installed locally on my SOLMAN server.
    Thanks,
    Simoun

    Hello Simoun,
    Telling from your last sentence I assume that you would like to connect SolMan (transaction SMSY) to your locally installed SLD or in other words: replicate SLD system data into SOLMAN system landscape SMSY.
    Please check this document:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000538663&_SCENARIO=01100035870000000202&_OBJECT=011000358700000530282007E
    Here you find information covering prerequisites, required SAP Solution Manager IMG configuration to connect SLD and SMSY and frequently ask questions (FAQ-like).
    I hope this helps you to get started.
    Regards,
    Doreen

  • Dynamic target Directory

    Hi All
          I have a scenario in which all my master IDOCS should flow form R3 to XI and form XI to the FTP Server's respective Folder loaction.
    The Folder option is storewise , so for example for ST01 , the corresponding WP_PLU should be placed at ST01 folder location in the ftp server.
    there is an UDF written foe file naminf convention:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:" + "/" + "/" + "sap.com/xi/XI/System/File", "FileName");
    Calendar cal = Calendar.getInstance();
    Date date = cal.getTime();
    String s = date.toString();
    String a1 = s.substring(8,10);
    String b = s.substring(4,7);
    String b1="a";
    if(b.equals("Jan"))
    {b1="01";}
    if(b.equals("Feb"))
    {b1="02";}
    if(b.equals("Mar"))
    {b1="03";}
    if(b.equals("Apr"))
    {b1="04";}
    if(b.equals("May"))
    {b1="05";}
    if(b.equals("Jun"))
    {b1="06";}
    if(b.equals("Jul"))
    {b1="07";}
    if(b.equals("Aug"))
    {b1="08";}
    if(b.equals("Sep"))
    {b1="09";}
    if(b.equals("Oct"))
    {b1="10";}
    if(b.equals("Nov"))
    {b1="11";}
    if(b.equals("Dec"))
    {b1="12";}
    String c = s.substring(24);
    String sDate = a1b1c;
    String e = s.substring(11,13);
    String f = s.substring(14,16);
    String g = s.substring(17,19);
    String sTime = efg;
    String d = a.substring(9,25);
    String Idoc = d;
    String RecieverFilename = "WPDBBY_"Idoc"_"sDate"_"sTime".txt";
    //<Receiver Filename> ; //you have to give the filename that has to be generated in the receiver adapter.
    conf.put(key, RecieverFilename);
    return a;
    Could any1 please help how to add the directory to it,please let me know the code as i am not a JAVA developer
    regards
    Prajna

    Hi,
    add this extra code
    DynamicConfigurationKey DIR_NAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String Dirname = "";
    //write logic to generate a dynamic directory and make sure that this directory exists in FTP
    //(or) the Receiver file channel Channel has access rights to create the folder.
    conf.put(DIR_NAME, Dirname );//now put that Dirname value generated here
    Also Make sure that in the receiver file channel Adapter Specific message Attributes is checked along with FileName & Directory.
    Thanks,
    Gujjeti.
    Edited by: Praveen Gujjeti on Nov 21, 2008 1:07 PM

  • Risks when maintain only one SolMan system for DEV, QAS and PRD systems

    What are the risks involved when maintaining only one solution manager system for entire client landscape(Small size).
    Or No risks are involved?
    Or Is this the SAP rrecommended approach for small size landscapes?
    One SolMan system -> DEV and QAS and another SolMan system -> PRD.

    >
    Sanjai Prabu Govindan wrote:
    > What are the risks involved when maintaining only one solution manager system for entire client landscape(Small size).
    > Or No risks are involved?
    Anand: Risks Involved depends on what all aspects\Scenarios the Solution Manager System is used for. It Could be used for the following purposes
    1) Service Desk
    2) Solution Monitoring
    3) System Monitoring
    4) Change Management
    How do you propose to use the Solman system ?
    >
    > Or Is this the SAP rrecommended approach for small size landscapes?
    > One SolMan system -> DEV and QAS and another SolMan system -> PRD.
    Anand: This is the most idealistic and SAP recommended way of using Solman....it always better to have it this way no matter in how many scenarios you intend to use Solman for....
    Regards,
    Anand.....

  • Dev qas and prd set up with different clients

    good day experts,
    If I have 3 different clients in PRD, is it recommended to have 3 qas and 3 dev clients as well? For instance, 3 clients in PRD which are 500, 510, and 520; do I have to have 300,310,320 for qas and 200, 210, and 220 for dev? for we have difference configurations and settings on difference clients.
    Please suggest! Thank you in advance!

    Hi,
    It is not mandatory that you have three clients in all system. General approach is as below:
    1) Development System- Sandbox Client, Development Client, Golden Master Client
    2) Quality System- Testing Client, Pre-Production client (not require always)
    3) Production System- One Production Client (If there is any special requirement then you can create more client)
    Thanks
    Sunny

  • Dynamic target directory with variable substitution

    Hi everyone.
    I'm trying to save a file in a folder with receiver adapter.
    This folder is determined in runtime and passed to the adapter with variable substitution. My problem is that in RWB i get a error like this : 'Content of variable XXXXX is not safe'
    Does anybody have done a variable substituion for output directory receiver file adapter?
    Regards,
    Inigo.

    Hi,
    Check this links,
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Regards,
    Phani

  • When trying to install Firefox 3.6.11, after extraction, I get the message "The directory name is invalid", and the installation won't continue (Windows Vista Home Basic 6.0).

    That's about it.

    I downloaded a program from Roboform called rfwipeout.exe. I backed up my passwords, identities, etc and completely removed all traces of roboform. This did not help. When I re-installed the roboform new release it got the same message that it thinks I am using version 3.6 of Firefox instead of 11.0. There must be some setting in the Firefox folders that never gets changed when you update to a new version.
    Soon after that I ran a backup of Firefox profiles identities, etc using MOZ BACKUP. I had never noticed this until then but the message asks if I want to backup Mozilla Firefox 3.6. Since 2 completely different programs refer to my installation as 3.6 there must be something wrong in one of the Firefox files.

Maybe you are looking for

  • E72 'Add to my Nokia Messaging account' VS Create ...

    Hi, When adding an email account such as GMAIL my Nokia E72 gives me 2 options: Add to my Nokia Messaging account Create a separate mailbox that uses manual delivery Again, this is an UI improvement: There is no contextual help or information regardi

  • Needs help in writing an sql.

    Hi Gurus, Here is my sql select c.owner,c.table_name, c.num_rows,(c.num_rows-t.num_rows)"ROW_DIFFERENCE" from scms_tabs c,eosenv35_tabs@demoeos t where c.num_rows-t.num_rows >0 i have 164 tables in both the tables scms_tabs and eosenv35_tabs@demoeos

  • ITUNES Failure - Song download interuption - Windows XP

    Installed ITUNES for Windows XP. Established ITUNES account. Purchased an albumn for download. First three tunes downloaded, then went into "processing" phase. I let this processing continue for ~5 minutes before manually shutting down the applicatio

  • Reg: Code page in SAP PI

    Hi , my requirement was , i am doing an outbound idoc scenario in which we get data from R3 in korean language, but when they are transformed through PI they are showing the values like "#######", can u help me what needs to be done.

  • More RAM or memory needed to run Windows-- AutoCAD 2010 on my mac?

    Hi all, I have researched for days and have still not been able to find an answer, last time I was here I was thoroughly impressed with the help, so I'm back! I have a MacBook 5,1, basic model 2 Ghz, 2GB, 65.7 GB free on my hard drive. I run parallel