Regarding the CC options

Hi ,
In the Communication channel We have an option in the File processing parametrs that is File construction mode Here i gave Append, every time the output is appended to the current file, but my requirement is i want to append the data on the date wise, means today(29/08/08) i want only one file, tomorrow(30/08/08) ill get only one file,...
How to achieve this, how we will give the date in the CC ?
Suppose i add the date field to the target structure and in the mapping time i mapped that field to the current date, and that filed ill use at the CC by using the variable substituting parameters.
My question is i don't want that date field in the target structure after use that in variable substituting parameters, how to delete that field ? (My client don't want that field)

Hi,
Do not use the variable substituion. Did you tried out the solution that I replied the other day in this [thread|https://forums.sdn.sap.com/thread.jspa?threadID=1024575&tstart=0].
Use the UDF to set the filename by this approach you no need to have the date in the target payload and use in varaible substution.
Just follow these steps. It works for me..
1. Create a UDF with two input a,b with the following code.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String fname = "file" + a + ".xml";
conf.put(key, fname);
return "b";
2. Map the CurrentDate function with transformDate and with the UDF as input a and any other mandatory field as another input b map the out put of the UDF to the required filed.
3. In the TransformDate function use the Source date format as yyyy/MM/dd and target date format as yyyyMMdd.
note: mapping any source field with b input via UDF to the target field ensures that the UDF is always executed and sets the file name with the current date. Also enable the option set-adapter specific attribute and filename in the target cc.
Thanks
SaNv...

Similar Messages

  • Regarding the select-options on the selection screen

    In select-options the low and high fileds must be displayed in the following explained manner...
    How to get the low field value as 1000 (default) and it must be in display mode (not possible to change the value) and high field must be empty and it has to allow us to enter the value.
    How to get this....?
    Please help me in this regard...
    Thank u very much
    Regards..
    Nagarjuna

    TABLES : mara.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    INITIALIZATION.
      S_MATNR-SIGN  = 'I'.  "inclusion
      S_MATNR-OPTION = 'BT'    "between
      S_MATNR-LOW = '1000'.
      APPEND s_matnr.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name EQ 'S_MATNR-LOW'.
          screen-input = 0.
          MODIFY screen.
          EXIT.
        ENDIF.
      ENDLOOP.
    Reward if Helpful.

  • Hello, I have a question regarding the sharing/exporting on imovie. Whenever I click the share button all the normal options pop up, but when I actually click where I want to share it to nothing happens.  If you know what's wrong please let me know.

    Hello,  I have a question regarding the sharing on iMovie.  I have just recently purchased an Elgato Gaming Capture HD and I then finished my recording with that and put it into imovie.  I worked long and hard on the project and when I go click the share feature on iMovie all the noral options pop up and when I actually click where I want to share it to nothing at all happens.  If you know what is wrong/ what I am doing wrong please let me know.
    Thank you.
    PS:  I am using iMovie 10.0.6.

    /*line 957 error */
         public void select()
              for (count = 0; count <= p; count ++ )
                   if(P[count] != null){ /* validation */
                   m = (int)(P[count].getX());
                   n = (int)(P[count].getY());
                   if (Math.pow(-1, m + n) == 1)
                        piece[m][n].setBackground(wselect);
                   else
                        piece[m][n].setBackground(bselect);
              step = 2;
         }

  • Is there a telephone number to speak with a live person regarding my question or is chat the only option?

    Is there a telephone number to speak with a live person regarding my question or is chat the only option?

    1-800-922-0204 or *611 from your cell phone. At the phone tree, select option 4 and say agent.

  • Regarding the article: iTunes Store: Troubleshooting iTunes Match: in my mac iTunes, i don't have a menu option 'view view options'. i do have 'view show view options'. but the resulting popup is different. is this article out of date?

    regarding the article: iTunes Store: Troubleshooting iTunes Match: in my mac iTunes, i don't have a menu option 'view > view options'. i do have 'view > show view options'. but the resulting popup is different. is this article out of date?
    i am troubleshooting iTunes match because it has been days since i uploaded music to mac iTunes and it still has the iCloud status icon for 'waiting'.

    Is there really nobody else with this problem? Really?

  • If my Adobe Muse and Air apps are  both up to date as of today and I cannot open a Muse file, what are my options? I get an error message regarding the Progress Window showing and then Muse crashes.

    If my Adobe Muse and Air apps are both up to date (as of today) and I cannot open a Muse file, what are my options? While Muse is relinking assets I get an error message regarding the Progress Window "showing" and then Muse crashes.

    Hi there,
    Do you get this error while opening a particular file or all files?
    Please try opening a different .muse file, and check if it does the same?
    Ar you opening a .muse which is saved on a network drive?
    Thanks.

  • Is Apple listening regarding the "Buy All" option?

    I wish someone could post one good reason for the "Buy All" button to have been eliminated from My Wish List in iTunes 11.

    Is Apple listening regarding the "Buy All" option?
    Only if you told them.
    -> http://www.apple.com/feedback/
    I wish someone could post one good reason for the "Buy All" button to have been eliminated from My Wish List in iTunes 11
    Because Apple did not want it there.

  • Regarding display resolution options on the latest model

    I just purchased the the latest model. I've been using Mac for a few years and in each version there has been a "streched" option available for some of the resolutions. I've got too used to that. Right now it's set on 1024 * 640. Is there any way to get the "streched" option to show up?
    Thanks in advance for your help.

    I just purchased the the latest model. I've been using Mac for a few years and in each version there has been a "streched" option available for some of the resolutions. I've got too used to that. Right now it's set on 1024 * 640. Is there any way to get the "streched" option to show up?
    Thanks in advance for your help.

  • HT1918 Trying to make make account changes to my itunes account.  Receive error message regarding province "enter at most 3 letters" when the only option I have is to select from a drop down menu.  Cannot make changes to my account.  How do I get this fix

    As you can tell, this is my first post
    I am attempting to make changes to my itunes account, but when I hit done, an error message "enter at most 3 letters or numbers for province" appears.  I have not attempted to make any modificaitons to this field.  The only options I have for data in this field are picked from a drop down menu.  I have no idea why this msg is appearing.  Any ideas on why it is showing up?  Thanks.

    There seems to be at least one package that can't be located. See the message below from you log file
    Requesting locations synchronously for content SDC00003.2
    with priority Medium    ContentAccess    4/3/2015 1:30:51 PM    2644 (0x0A54)
    The number of discovered DPs(including Branch DP and Multicast) is 0    ContentAccess    4/3/2015 1:30:51 PM    2644 (0x0A54)
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • When I sign in to the Adobe Reader XI (which is the only option that I have to open a pdf document, I will sign in to the Adobe ID sign-in page. After I do this, the "Convert To" box goes "gray" and I am unable to convert the document I have selected.  It

    When I sign in to the Adobe Reader XI (which is the only option that I have to open a pdf document, I will sign in to the Adobe ID sign-in page. After I do this, the "Convert To" box goes "gray" and I am unable to convert the document I have selected.  It was working great for the first week that I used it, but now it doesn't give me the converting option.  I am very frustrated as I have done nothing to change anything, and I was thinking this was so great...now I am just pulling out my hair and do not have the option of calling anyone since no phone numbers are listed. I am VERY busy and do not have time to sit and wait over a half an hour to "chat", which I tried to do yesterday.  All I want to do is very simply, convert pdfs to Word.  I have paid for this and am not getting any help. I am not very savvy when it comes to Adobe this program and Adobe that program...I feel I am being scammed as I do not get simple answers for something that appeared was going to be simple. You can't even call customer service to talk to someone live to help walk you through. 

    Hello Kathie,
    Sorry for the inconvenience that has caused to you.
    Please let me know if you have tried converting any other PDF to word with Reader.
    Alos, please sign up at "https://cloud.acrobat.com/" using your Adobe ID credentials. Click on 'ExportPDF' tab and upload the PDF that you want to convert to Word.
    Let me know if this converts fine.
    Hope to hear from you.
    regards,
    Anubha

  • Can not see Characteristics fields in the output option of VC

    Hello,
    Any body know why is the characteristic fields of a BW query shows only in the input parameter and not shown in the output option when we model BW query in VC?
    Regards,
    Maureen

    Hi Maureen,
    right click on query "Test data service" then excute the query and click on generate.
    Best Regards,
    Marcel

  • CS4- JS : How to change the DTD Option - Reg.

    Dear All,
    I'm struggle to not getting the answer for change the DTD options though Script.
    Here I can Load the DTD using script and Validate then Its showing so many Errors, It means the root element is wrong [DOCTYPE] so the way I can change as per the XML Root Element.
    Root Element : Chapter
    Load DTD -> DOCTYPE name is  : text
    //================ Start Coding =================================//
    app.doScript(File("D:/program files/Adobe InDesign CS4/Scripts/XML Rules/glue code.jsx"));
    var myDoc = app.documents.item(0);
    var Store = new  Array();
    var count=0;
    myDTDPath = "C:\\Program Files\\Adobe\\Adobe InDesign CS4\\Executables\\Parser\\Macmil.dtd";
    myDoc.importDtd(File(myDTDPath));
    main();
    function main()
      if (app.documents.length != 0)
        var myDocument = app.documents.item(0);
        //This rule set contains a single rule.
        var DTDTitle  = new Array (new DTDRootTitle);
       with(myDocument)
         var elements = xmlElements;
         __processRuleSet(elements.item(0), DTDTitle);
      else
        alert("No open document");
      //Adds a return character at the end of every XML element.
        function DTDRootTitle()
          this.name = "DTDValidation";
          //XPath will match on every XML element in the XML structure.
          this.xpath = "//chapter";
          // Define the apply function.
           this.apply = function(elm, myRuleProcessor)
                with(elm)
                   Store[count] = elm.validate();
                   count+=1;
              return true;// Succeeded
            } //End of apply function
       for(var k=0; k<Store.length; k++)
            var test = Store[k];
             for(var m=0; m<test.length; m++)
              if(test[m].isValid == true)
              $.writeln(test[m].element.markupTag.name);
              $.writeln(test[m].errorMessage);
    //========================== End of the coding ==========================//
    Question : 1
    Manually I can load the DTD & change the DTD Options as per the Root Element of the XML.
    After Validate using Root Element Itself, Its working fine. Zero Errors.
    Mean while I can Load DTD though Script but I can't change the DTD Options, through Script.
    So Please any one can give me the solution for change the DTD Options using script.
    Please any one can give the solution, Really I can appriciate for this...
    Hope I'm waiting the result for this query....
    Thanks & Regards
    T.R.Hairhara Sudhan

    hello  T.R.Hairhara Sudhan
    i don't know whether this is write answer or not .
    do one thing from active doc get reference of Dtd and from dtd set rootTag = "root tag"
    e.g
    var dtd =  app.activeDocument.dtds[0];
    dtd.rootTag = xmlElement.markupTag;
    here xmlElement is value for "Validate from" in DTD option
    Regards
    tahir1987.

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How to get all the values in the Select-option.

    Hi,
    I got the select-option field so_week, for eg. If I give 200923 to 200926 (year and week)  in the selection screen and then I need to pass this value (200923) to the FM 'ZWEEK_GET_FIRST_DAY' to get the first day of the week.
    My question is how can i get all the values from the select option, (i.e) i need to get 200923, 200924,200925, 200926.
    Regards,
    Anbu.

    Hello,
    I will prefer Max's solution. But just for the sake of this req.
    i need to get 200923, 200924,200925, 200926
    i am proposing my soln:
    DATA: V_WEEK TYPE RSCALWEEK.
    SELECT-OPTIONS: S_WEEK FOR V_WEEK NO-EXTENSION OBLIGATORY.
    AT SELECTION-SCREEN.
      DATA:
      V_COUNT TYPE I,
      V_ADD   TYPE I,
      RT_WEEK TYPE RANGE OF RSCALWEEK,
      RS_WEEK LIKE LINE OF RT_WEEK.
      V_COUNT = ( S_WEEK-HIGH - S_WEEK-LOW ) + 1.
      DO V_COUNT TIMES.
        RS_WEEK-SIGN = 'I'.
        RS_WEEK-OPTION = 'EQ'.
        RS_WEEK-LOW = S_WEEK-LOW + V_ADD.
        APPEND RS_WEEK TO RT_WEEK. "RT_WEEK--> Will contain the week values
        CLEAR RS_WEEK.
        V_ADD = V_ADD + 1.
      ENDDO.
    @Max: I was stupid enough not to think of your solution. Need to leave office
    Cheers,
    Suhas

  • The report options under "configure" and CSV or xls.

    The report options under “configure” does not give .csv or xls as options. Instead of using vi to pass data to database, is there a simple way to transfer all the results (just like the way in the report that automatically generated) to .csv or xls...
      Thanks.

    Hi,
    in order to modify the report generation, you have to understand the way how TestStand works in regard of the report generation.
    There is a tutorial which explains this which you can find here. But please note that the tutorial is currently undergoing an improvement process. 
    The reason that the report options don't give you the option for xls or csv as report is: 
    Neither xls nor csv are predefined. So for example measurement values in xls can be placed in a special worksheet or included in a main sheet in a certain column.
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table. Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for d

  • Print Header Information with an Executable File

    Good Morning! I have a LabView file that I have written to record data from testing equipment.  Once the test is complete, I have programmed it to automatically print out a picture of the front panel of the vi at the end of the test along with a head

  • Nederlands op engelse versie van photoshop elements 13 en premier elements 13 Mac

    Onlangs beide foto en film programma  elements 13 (photo and premiere) geinstalleerd op een MAC OSX dit is de engelse versie, de nederlandse versie was nog niet aan bezig, kijk ik nu op de websites dan is deze ook in de nederlandse taal. Vraag hoe ko

  • Macbook pro 15 inch retina display... fan question

    i have a a macbook pr retina display.. 2.7 gb processor, 16gb memory and 512gb flash storage i have noticed my fan runs high at times... i know its normal for it to but before this one i had the first macbok pro option... ie smaller drive less ram bu

  • Built-in iSight produces heavy load (Tiger) using flash applications

    On my MacBook the built-in iSight produces a heavy processor load when the camera is used in a flash application and the skype viedo beta. The load is about 120% in Firefox, Safari and Skype, when the application connects to the iSight camera. In oth