Filename manipulation to get padded zero

Hi All,
I am using a file adapter and used the file name as "source_target_fl_%yyyyMMdd%_%SEQ%.xml"
From file adapter wsdl:
<jca:operation
LogicalDirectory="OUT_DIR"
InteractionSpec="oracle.tip.adapter.file.outbound.FileInteractionSpec"
FileNamingConvention="source_target_fl_%yyyyMMdd%_%SEQ%.xml"
OpaqueSchema="false" >
</jca:operation>
Now is there any method that I can get the filename as source_target_fl_20090818_00001.xml , I mean I need to do left pad to the sequence, is this possible to do it in the wsdl itself.
Regards,
Sreejit

Have you tried to use "APPS.FND_CONCURRENT" API?
http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE
http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE%20BODY
Thanks,
Hussein

Similar Messages

  • Name of Filename getting padded with + after each word while saving it

    Hi all,
    We are upgrading from EP6 SP16 to EP7 SP10.
    In one of our application we have a link on click of which an XML is generated while saving that XML the name for that XML file name is getting padded with <b></b> after each word like <b>XMLformat001.xml</b> and that XML is getting saved as <b>XMLfor+mat001.xml.</b> instead of XMLformat001.xml.
    Please help us out
    Thanxs in advance

    Hi,
    From language was English. To language was Spanish.
    While copying to language text, I had left blank spaces after every Spanish word. The blank space was becoming \r\n while getting displayed in portal.
    The issue got sorted out once I removed blank spaces after Spanish word.
    Thanks
    Edited by: Stuart on Feb 5, 2008 3:45 PM

  • Padded zeros which is removed need to be replaced by spaces

    Hi Friends,
    My requirement in XI is : Padded zeros which is removed need to be replaced by spaces.
    for removing padded zeros I used the UDF:
    int i = Integer.parseInt(a);
    return (Integer.toString(i));
    It is working fine.
    Please help as how to go abt in coding : whatever zeros get taken off , need to be replaced with spaces.
    Thanks in Advance,
    Meghna.

    Hi Raj,
    According to the logic given by Henrique, its working. But the point to the noted is that :
    The number of spaces need to be equal to the number of zeros removed, where it not happening in this case.for the below Ex when applied it returned '  12345' instead of '    12345'.
    For ex. source field is '000012345' then the target field need to be '    12345'.
    the Type declared in the data type for the receiver field is integer with length 15.
    Is it possible to move the field value to the right justified, so the the padded zeros code when applied will automatically load spaces.Becoz the code written for removing zeros contains String due to which it is left justified i think.
    The code written for removing zeros is :
    int i = Integer.parseInt(a);
    return (Integer.toString(i));
    please suggest in this regard.
    Regards,
    Meghna.
    Edited by: meghna swaraj on Feb 27, 2008 6:05 PM

  • How do I convert the ASCII character % which is 25h to a hex number. I've tried using the scan value VI but get a zero in the value field.

    How do I convert the ASCII character % ,which is 25h, to a hex number 25h. I've tried using the scan value VI but I get a zero in the value field. 

    You can use String to Byte Array for this.

  • How to get the zero of phone number eg. 0612345678

    Dear Adobe Flex Builder Professionals,
    I've got a problem with getting the zero of a phone number eg. 0612345678
    If I enter the folowing phone number as input:
    0612345678
    I will get the phone number as output:
    612345678
    The application has been written in Adobe Flex Builder 3.
    The code of the MXML file is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Metadata>
      [Event(name="customerSaveEvent", type="events.CustomerEvent")]
      [Event(name="customerCancelEvent", type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
      <![CDATA[
       import util.ComboBoxUtil;
       import mx.controls.Alert;
       import events.CustomerEvent;
       import mx.collections.ArrayCollection;
       import mx.core.Application;
       import valueObject.Customer;
       import mx.validators.Validator;
       import mx.validators.PhoneNumberValidator;
       private var phoneCheck:PhoneNumberValidator;
       [Bindable]
       public var selectedCustomer:Customer;
       private function init():void{
        //this.cretePhoneValidator();
        if(this.selectedCustomer == null){
         this.clearForm(null);
       private function cretePhoneValidator():void{
        phoneCheck = new PhoneNumberValidator();
        phoneCheck.source = phoneNumber;
        phoneCheck.property = "text";
       private function validateForm():void {
        //var validatorList:Array = new Array(emailCheck, phoneCheck);
        //Validator.validateAll(validatorList);
       private function cancelClickHandler():void{
        var cancelManageCustomerObj:Event = new Event("customerCancelEvent");
        dispatchEvent(cancelManageCustomerObj);
       private function saveCustomer():void {
        //validateForm();
         var c:Customer = null;
         var selCust:Customer = Application.application.selectedCustomer;
         if(selCust != null){
          c = selCust;
         } else {
          c = new Customer();          
         c.setLastName(lastName.text);
         c.setFirstName(firstName.text);
         c.setStreet(street.text);
         c.setPostal(postal.text);
         c.setCity(city.text);
         c.setEmail(email.text);
         c.setPhoneNumber(new Number(phoneNumber.text));
         c.setMailing(mailing.selectedItem.data);
         c.setComment(comment.text);
         var modified: Customer = Application.application.customerService.createOrUpdate(c);
        var customerEventObj:CustomerEvent = new CustomerEvent("customerSaveEvent", modified);
        dispatchEvent(customerEventObj);
        this.clearForm(selCust);
        private function clearForm(selCust:Customer):void{
         if(selCust == null){
          this.lastName.text = "";
          this.firstName.text = "";
          this.street.text = "";
          this.postal.text = "";
          this.city.text  = "";
          this.phoneNumber.text = "";
          this.email.text = "";
          this.mailing.selectedIndex = 0;
          this.comment.text  = "";
         focusManager.setFocus(lastName);
      ]]>
    </mx:Script>
    <!--mx:EmailValidator id="emailCheck" source="{email}" property="text"
      trigger="{save}" triggerEvent="click"/-->
    <mx:Form id="manageCustomerForm">
      <mx:FormItem label="Achternaam:">
       <mx:TextInput id="lastName" text="{selectedCustomer.getLastName()}"/>
      </mx:FormItem>
      <mx:FormItem label="Voorletters:">
       <mx:TextInput id="firstName" text="{selectedCustomer.getFirstName()}"/>
      </mx:FormItem>
      <mx:FormItem label="Straat:">
       <mx:TextInput id="street" text="{selectedCustomer.getStreet()}"/>
      </mx:FormItem>
      <mx:FormItem label="Postcode:">
       <mx:TextInput id="postal" text="{selectedCustomer.getPostal()}"/>
      </mx:FormItem>
      <mx:FormItem label="Stad:">
       <mx:TextInput id="city" text="{selectedCustomer.getCity()}"/>
      </mx:FormItem>
      <mx:FormItem label="Telefoonnummer:">
       <mx:TextInput id="phoneNumber" text="{selectedCustomer.getPhoneNumber()}"/>
      </mx:FormItem>
      <mx:FormItem label="E-mail:">
       <mx:TextInput id="email" text="{selectedCustomer.getEmail()}"/>
      </mx:FormItem>
      <mx:FormItem label="Opmerkingen:" >
       <mx:TextArea id="comment" text="{selectedCustomer.getComment()}"
         width="447" height="144"/>
      </mx:FormItem>
      <mx:FormItem label="Mailing:">
       <mx:ComboBox id="mailing" dataProvider="{Application.application.comboBoxUtil.yesNo}"
        selectedIndex="{ComboBoxUtil.getIndex(selectedCustomer.getMailing())}"/>
      </mx:FormItem>
      <mx:HBox id="manageButtonBox">  
       <mx:Button id="save" label="Opslaan" click="saveCustomer()" />  
       <mx:Button id="resetButton" label="Wis" click="clearForm(null)" />  
       <mx:Button id="cancelButton" label="Annuleer" click="cancelClickHandler()" />
      </mx:HBox> 
    </mx:Form>
    </mx:Canvas>
    The code of the SQL file is:
    create table customer (
    id integer not null primary key autoincrement,
    lastName VARCHAR(50),
    firstName VARCHAR(50),
    street VARCHAR(50),
    city VARCHAR(50),
    postal VARCHAR(10),
    phoneNumber INT(10),
    email VARCHAR(50),
    mailing boolean default false,
    comment VARCHAR(255)
    create table treatment (
    id integer not null primary key autoincrement,
    date Date,
    treatment varchar(255),
    customerId integer not null,
    constraint fk_customer foreign key(customerId) references customer(id)
    create table user (
    id integer not null primary key autoincrement,
    loginName varchar(50) not null,
    lastName varchar(50) not null,
    firstName varchar(50) not null,
    password varchar(50) not null,
    active boolean not null default true,
    accessright varchar(10) not null
    create table agenda (
    id integer not null primary key autoincrement,
    userId integer not null,
    date Date,
    hour integer,
    minute integer,
    description varchar(50),
    constraint fk_user foreign key(userId) references user(id)
    create table license (
    id integer not null primary key autoincrement,
    key varchar(50),
    val varchar(50)
    I hope someone can help me with this problem.

    Customer List?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml
    initialize="init()">
    <mx:Metadata>
      [Event(name="selectCustomerEvent", type="events.CustomerEvent")]
    </mx:Metadata>
    <mx:Script>
      <![CDATA[
       import mx.core.Application;
       import service.CustomerService;
       import events.CustomerEvent;
       import valueObject.Customer;
       import mx.events.ListEvent;
       import mx.collections.ArrayCollection;
       [Bindable]
       public var customerData:ArrayCollection;
       private var customerService:CustomerService;
       private function init():void{
        this.customerService = new CustomerService();
        this.customerData = this.customerService.getCustomers();
        if(this.customerData == null){
         this.customerData = new ArrayCollection();
       private function itemClickHandler(event:ListEvent):void {
        if(event.columnIndex != 0){
         var customerData:Customer;
         customerData = event.itemRenderer.data as Customer;
         var customerEventObj:CustomerEvent = new CustomerEvent("selectCustomerEvent", customerData);
         dispatchEvent(customerEventObj);
       public function deleteCustomer(id:int):void{
        var cust:Customer = new Customer();
        cust.setId(id);
        this.customerService.deleteCustomer(cust);
        this.customerData.removeItemAt(customerGrid.selectedIndex);
      ]]>
    </mx:Script>
    <mx:DataGrid id="customerGrid" dataProvider="{customerData}" height="100%"
      itemClick="itemClickHandler(event)" width="340">
      <mx:columns>
       <mx:DataGridColumn deactivate="true" dataField="id" headerText=" " width="15">
              <mx:itemRenderer>
                <mx:Component>
                  <mx:Image source="images/delete.jpg" click="outerDocument.deleteCustomer(data.id)"
                   buttonMode="true" height="15" width="15"/>
                </mx:Component>
              </mx:itemRenderer>
            </mx:DataGridColumn>
       <mx:DataGridColumn dataField="lastName" headerText="Achternaam" />
       <mx:DataGridColumn dataField="firstName" headerText="Voorletters" />
      </mx:columns>
    </mx:DataGrid>
    </mx:Canvas>

  • Any way to not get leading zeros in dates?

    When displaying a date or time, I'm always getting leading zeros. Is there a simple way to not have them?
    For example:
    SELECT TO_CHAR(SYSDATE,'HH:MI PM') FROM dual;
    Will show 02:07 PM. I'd like it just to be 2:07 PM
    The flip side, that I don't want to see would be not having the zeros in minutes... I don't want 2:7 PM.

    I don't know if there's a better way...
    SELECT decode(substr(TO_CHAR(SYSDATE,'HH:MI PM'), 1,1), '0' ,substr(TO_CHAR(SYSDATE,'HH:MI PM'), 2) , TO_CHAR(SYSDATE,'HH:MI PM')) FROM dual;
    thanks,
    Narayan

  • A query on removing additionally padded zeroes from the pernr.

    Hi ,
    How can i remove the padded zeroes from the pernr, Ex pernr is 8 chars and if pernr has 6 chars it has to remove appended 2 zeroes from the left and should only print the 6 chars with no appended zeroes
    Thanks

    Hi Khaleel,
    Use FM <b>CONVERSION_EXIT_ALPHA_OUTPUT</b>
    Reward if useful.
    Thanks
    Aneesh.

  • Padding zeros

    Hi friends,
    I need a small help.
    My requirement is like,I need to pad zeroes in front of a quantity value.
    I am using CONVERSION_EXIT_ALPHA_INPUT.But,it is going into dump,because
    I am passing a quantity field as input.
    Can any one suggest any function module,to pad zeroes to a quantity value or decimal value.
    Points guaranteed,
    Imran

    hi masood,
    first Convert that Quantity field value into Char type and then pass it to conversion routine..
    ex:
    data: var(length) type c.
    var = quantity field.
    and then pass it to conversion routine.
    <b>Reward points if useful</b>
    Message was edited by:
            Chandra

  • Pad Zeros in user Exit

    What is the syntax to pad a value with zeros in a user exit code.
    I have a value of MONTH 01,02, 03...12.  Then to get previous month I do MONTH-1 but this gives me 1,2,3...12.  and I loose the zero which i will need when I concatenate with year to get what I need...
    help please

    hi,
    check the links,
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/4f/d5276c575e11d189270000e8322f96/frameset.htm

  • Newtonian square root help! im getting a zero!

    Hi guys, this is my first post here, adn I'm taking first level Java. I just recently wrote this code and at first it had 2 errors which i was finally able to debug, and made a clean compile. But now when i run it, it always gives me a zero output. Hope you can enlighten me. I know this code may seem elementary to some here, I'm a newbie, so I hope you guys understand! Thanks! Here's the code...
    public class NewtonianSqRoot
         public static void main (String[]args)
              double num;
              //System.out.println("The square root of " + number + " is " + result);
              System.out.println("The square root is " + newtonian(num));
              System.exit(0);
         public static double newtonian(double number)
              double nextGuess;
              double lastGuess;
              double tolerance = 0.0001;
              String gradeString = JOptionPane.showInputDialog(null, "Please enter a number, \nthe program exits if the input is zero (0)", "Newtonian Square Root", JOptionPane.QUESTION_MESSAGE);
              number = Double.parseDouble(gradeString);
              lastGuess = number;
              for (int count = 0; count < 20; count++)
                   nextGuess = ((number / lastGuess) + lastGuess) / 2.0;
                   if ((number - nextGuess) < tolerance)
                        return nextGuess;
                   else
                        nextGuess = lastGuess;
              //System.exit(0);
              return nextGuess;
    }

    Hi !
    Your logic is wrong.....and your code could definetly give the compiler errors... here is the error free code..
    but, you are getting the same number....
    import javax.swing.JOptionPane;
    public class NewtonianSqRoot
    public static void main (String[]args)
    double num=0.00;
    //System.out.println("The square root of " + number + " is " + result);
    System.out.println("The square root is " + newtonian(num));
    System.exit(0);
    public static double newtonian(double number)
    double nextGuess=0.00;
    double lastGuess=0.00;
    double tolerance = 0.0001;
    String gradeString = JOptionPane.showInputDialog(null, "Please enter a number, \nthe program exits if the input is zero (0)", "Newtonian Square Root", JOptionPane.QUESTION_MESSAGE);
    number = Double.parseDouble(gradeString);
    lastGuess = number;
    for (int count = 0; count < 20; count++)
    nextGuess = ((number / lastGuess) + lastGuess) / 2.0;
    if ((number - nextGuess) < tolerance)
    return nextGuess;
    else
    nextGuess = lastGuess;
    //System.exit(0);
    return nextGuess;
    }

  • Getting a zero value from text field

    Hi,
    The form has 3 text fields for Freight areas, the viewer inserts "1" in the field that is applicable to their area.
    The first 2 fields have a cost of $10.00 and $15.00 and the third is for pick up so there is zero cost. If they insert "1" in either of the 2 fields, it shows up as 1 in the returned email to to the site owner and to the viewer but I can't get the free freight field to display anything in those returned emails.
    I've included the PHP form handler file and the site address is: http://www.hamdenestate.co.nz/test-site/contact-us.html
    Thanks.
    <?php
    $errors = '';
    $myemail = '[email protected]'; //<-----Put Your email address here.
    if(empty($_POST['name'])  ||
       empty($_POST['email']) ||
       empty($_POST['address']))
    $name = $_POST['name']; 
    $email_address = $_POST['email'];
    $phone = $_POST['phone'];
    $address = $_POST['address'];
    $addresstwo = $_POST['addresstwo'];
    $addressthree = $_POST['addressthree'];
    $wine1= $_POST['wine1'];
    $wine2= $_POST['wine2'];
    $wine3= $_POST['wine3'];
    $wine4= $_POST['wine4'];
    $wine5= $_POST['wine5'];
    $wine6= $_POST['wine6'];
    $chardonnay_2011_bottles = $_POST['PROD_Chardonnay2011Bottles_20'];
    $chardonnay_2011_cases = $_POST['PROD_Chardonnay2011Cases_204'];
    $pino_gris_2011_bottles = $_POST['PROD_PinoGris2011Bottles_21'];
    $pino_gris_2011_cases = $_POST['PROD_PinoGris2011Cases_228'];
    $sauvigon_blanc_2011_bottles = $_POST['PROD_SauvigonBlanc2011Bottles_20'];
    $sauvigon_blanc_2011_cases = $_POST['PROD_SauvigonBlanc2011Cases_204'];
    $riesling_2012_bottles = $_POST['PROD_Riesling2012Bottles_20'];
    $riesling_2012_cases = $_POST['PROD_Riesling2012Cases_204'];
    $pinot_noir_2009_bottles = $_POST['PROD_PinotNoir2009Bottles_25'];
    $pinot_noir_2009_cases = $_POST['PROD_PinotNoir2009Cases_250'];
    $message = $_POST['message'];
    $freight_bottles = $_POST['PROD_FreightBottles_10'];
    $freight_cases = $_POST['PROD_FreightCases_15'];
    $freight_Free = $_POST['PROD_FreightFree_0'];
    $totalcost = ($chardonnay_2011_bottles * 20 + $chardonnay_2011_cases * 204) + ($pino_gris_2011_bottles * 21 + $pino_gris_2011_cases * 228) + ($sauvigon_blanc_2011_bottles * 20 + $sauvigon_blanc_2011_cases * 204) + ($riesling_2012_bottles * 20 + $riesling_2012_cases * 204) + ($pinot_noir_2009_bottles * 25 + $pinot_noir_2009_cases * 250) + ($freight_bottles * 10 + $freight_cases * 15 + $freight_free * 000.00);
    $reply = $_POST['email'];
              $replysubject = "Auto-Reply: From Hamden Estate Website";
              $replyfrom = "From:  [email protected]\r\n";
              $replymessage = "Dear ".$_POST ['name']."\r\n\r\n";
              $replymessage .= "Thank you for placing an order with Hamden Estate vineyard. We will contact you shortly with a reference number and payment details...\r\n\r\n";
              $replymessage .= "";
              $replymessage .= "YOUR ORDER DETAILS:\r\n\r\n";
              $replymessage .= "Wine Selection: $wine1\r\n";
              $replymessage .= "Bottles: $chardonnay_2011_bottles\r\n";
              $replymessage .= "Cases: $chardonnay_2011_cases\r\n\r\n";
              $replymessage .= "Wine Selection: $wine2\r\n";
              $replymessage .= "Bottles: $pino_gris_2011_bottles\r\n";
              $replymessage .= "Cases: $pino_gris_2011_cases\r\n\r\n";
              $replymessage .= "Wine Selection: $wine3\r\n";
              $replymessage .= "Bottles: $sauvigon_blanc_2011_bottles\r\n";
              $replymessage .= "Cases: $sauvigon_blanc_2011_cases\r\n\r\n";
              $replymessage .= "Wine Selection: $wine4\r\n";
              $replymessage .= "Bottles: $riesling_2012_bottles\r\n";
              $replymessage .= "Cases: $riesling_2012_cases\r\n\r\n";
              $replymessage .= "Wine Selection: $wine5\r\n";
              $replymessage .= "Bottles: $pinot_noir_2009_bottles\r\n";
              $replymessage .= "Cases: $pinot_noir_2009_cases\r\n\r\n";
              $replymessage .= "FREIGHT: $wine6\r\n";
              $replymessage .= "North Island: $freight_bottles\r\n";
              $replymessage .= "South Island: $freight_cases\r\n\r\n";
        $replymessage .= "Client pick up: $freight_free\r\n\r\n";
              $replymessage .= "Total $ $totalcost\r\n\r\n";
              $replymessage .= "From the folks at Hamden Estate\r\n";
              $replymessage .= "[email protected]\r\n";
              $replymessage .= "http://www.hamdenestate.co.nz\r\n\r\n";
              $replymessage .= "This e-mail is automated, so please DO NOT reply.\r\n";
    if (!preg_match(
    "/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i",
    $email_address))
        $errors .= "\n Error: Invalid email address";
    if( empty($errors))
              $to = $myemail;
              $email_subject = "Contact form submission: $name";
              $email_body = "You have received an online order via your website. Here are the details: ".
                                          " \n Name: $name
                                            \n Email: $email_address
                                            \n Phone: $phone
                                            \n Address: $address
                                            \n Address: $addresstwo
                                                                                                        \n Address: $addressthree
                                            \n Wine Selection: $wine1
                                            \n Bottles: $chardonnay_2011_bottles
                                            \n Cases: $chardonnay_2011_cases
                                            \n Wine Selection: $wine2
                                            \n Bottles: $pino_gris_2011_bottles
                                            \n Cases: $pino_gris_2011_cases
                                            \n Wine Selection: $wine3
                                            \n Bottles: $sauvigon_blanc_2011_bottles
                                            \n Cases: $sauvigon_blanc_2011_cases
                                            \n Wine Selection: $wine4
                                            \n Bottles: $riesling_2012_bottles
                                            \n Cases: $riesling_2012_cases
                                            \n Wine Selection: $wine5
                                            \n Bottles: $pinot_noir_2009_bottles
                                            \n Cases: $pinot_noir_2009_cases
                                            \n message \n $message       
                                                                                                        \n Freight: $wine6
                                                                                                        \n North Island: \n $freight_bottles
                                                                                                        \n South Island: \n $freight_cases
                                                                                                        \n Client pick up: \n $freight_free
                                                                                            \n Total $ : $totalcost";
    $headers = "From: $myemail\n";
              $headers .= "Reply-To: $email_address";
              mail($to,$email_subject,$email_body,$headers);
    mail($reply,$replysubject,$replymessage,$replyfrom);
              //redirect to the 'thank you' page          $reply = $_POST['email'];
              header('Location: contact-form-thank-you.html');
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
              <title>Contact form handler</title>
    </head>
    <body>
    <!-- This page is displayed only if there is some error -->
    <?php
    echo nl2br($errors);
    ?>
    </body>
    </html>

    bregent wrote:
    But wouldn't it be much more intuitive to use radio buttons here?
    Yes, but this a bit of a long running issue. The OP ideally wants to add the freight cost to the total price at the bottom of the form on the website before the information is sent back via php but that is done using javascript and radio buttons mess with the calculations. Inserting 1 into the freight form fields, which is counter-intuitive, does the trick but that will mess with the total price when php collects the information because the value is 1 rather than 10 or 15.

  • Filename doesn't get changed when importing (sometimes)

    I have the following Problem:
    When I import a directory of mp3 files (an album), then some filenames (1-2) don't get changed (there are correct id3 tags). Lets say I have the first song called first song, the original filename is first_song.mp3. After importing the song is in the correct directory but not changed. It should be something like: 01 first song.mp3. When I edid the id3 tag to lets say first songe the file gets changed.
    What could be the problem? Itunes bug?

    vikyboss wrote:
    Actually the problem seems to be resolved. I have a fully updated system and installed xfce again few days ago. And it works miraculously..
    Installed versions:
    1. xfce4-mixer 4.10.0
    2. Advanced Linux Sound Architecture Driver Version k3.9.3-1-ARCH
    ravicious wrote:Oh, I actually fixed this myself yesterday. I installed pulseaudio, pulseaudio-alsa and xfce4-volumed-pulse (from AUR) and then removed volume shortcuts from xfce4-keyboard-settings. In xfce4-mixer, you just have to choose a proper playback as a sound card.
    Wow, actually it now works for me, too! Amazing!

  • How to get leading zeroes in exponent of e-format

    In order to mimic an ancient file specification, am trying to write DBL numbers in e-format where the exponent is padded to two digits with leading zeroes.
    For example:  -1.15091E-03
    Is there a simple format code that does this or do I need to write something from scratch?
    LabVIEW Champion . Do more with less code and in less time .

    I am writing to a file.
    (Currently, I use the following workaround: format as %12.5e, then scan the substring after the "E", format it as %+03d, and recombine with the mantissa)
    LabVIEW Champion . Do more with less code and in less time .

  • Condition value routine getting value zero at header level.

    Hi Gurus,
    I am trying to create one condition value routine in which I am passing xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
    The condition works fine at item level where I get condition value as desired but at the header level, where it should show sum for all line items, it is showing 0. When I debugged, I found that somewhere in standard program, where it sums for line item, it is changing to negative and that is why it is getting zero but I was not able to correct it.
    I am writing the code as follows.
    DATA: wa_tab TYPE c LENGTH 1000,
          I_VBAP TYPE STANDARD TABLE OF VBAP,
          lv_komv like xkomv,
          WA_VBAP TYPE VBAP.
    FIELD-SYMBOLS <f1> TYPE ANY TABLE.
      UNASSIGN <f1>.
    wa_tab = '(SAPMV50A)XVBAP[]'.
    ASSIGN (wa_tab) TO <f1>.
    IF sy-subrc = 0.
       i_vbap[] = <f1>.
    ENDIF.
    READ TABLE i_vbap INTO wa_vbap WITH KEY posnr = komp-kposn.
    IF sy-subrc = 0.
       xkwert = ( wa_vbap-cmpre * komp-mglme ) / 1000.
       CLEAR wa_vbap.
    ENDIF.
    CLEAR: I_VBAP,
            lv_komv.
    What should I do? please help.
    Regards,
    Manish

    I found the solution.
    If xkwert is initial.
    xkwert = gkomv-xkwert.
    endif.
    Regards,
    Manish

  • Database file sometimes gets to zero size and zero file flags

    I have a problem that on my system sometimes single database file gets to a state where it has zero size and zero file flags ( as if set chmod 0 file ).
    My database runs 24/7 and there are multiple agents running at the same time. My database files are backed up and removed from time to time to protect stored data. So I guess that this error could come up when two agents get to backup or recover the database file at the same time. Though, it is hard to find if it is caused by this problem, so I'd like to ask if there is anyone who stumbled on same problem - where one database ends up in state of 0 flags and 0 size.

    Hello, anyone has any tip about this issue?

Maybe you are looking for