Decimal problem in Workflow

Hello expert,
I have create new Workflow when we create trip request.
This workflow work fine for many curency but not with Korea.
because Korea curency it's customized without decimal, Workflow container show us 3.500,00 insted of 350.000 for example.
Have you an idea?
Thanks

Hello,
If you go to tx SU01D and look at WF-BATCH, Defaults tab, the Decimal notation is set there.
But, I don't see an option for what you want.
You may have to format each output (mails etc) separately.
Isn't the system already set up for that numbering system?
regards
Rick Bakker
hanabi technology

Similar Messages

  • Problem in Workflow matching step

    Hi,
    I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
    Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
    Match Record Scope: Records vs Records, Strategy: MDM_NAME.
    This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
    MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
    Now my problem is even after matching and merging a large number of records it is not going to
    the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
    the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
    When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
    You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
    When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
    So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
    So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
    When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
    So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
    You can follow the below link to understand the process better:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Experiencing problems with workflow- validate step

    I am experiencing problems with workflow->validate step in Hyperion FDM.
    I am not able to export unmapped dimension members to Excel.
    Earlier everything worked fine.
    But now all of a sudden it has become a serious problem.
    when I click Export to Excel,processing starts and it's never coming to an end.
    Every thing is getting stuck up.
    Could any one suggest solution to this as it is delaying my deliverable.

    Try opening excel first, then doing the export from FDM.

  • Problems in workflow builder

    Hi,
    I am facing problems in workflow builder and tasks while i am creating a custom workflow template.
    1) binding between task and workflow does not work. One of the container element value is getting passed from the task to the workflow while others are not getting passed. All these are part of the same binding.
    2) the workflow container elements are not available in the steps of the workflow. eg, in a condition step i am comparing two container elements, it is failing, its taking balnk values. also in send mail step i have included a continer elements in description. i see nothing there. means the container elements are blank for the send mail step.
    3) the binding betw the task and the method simple dissappears (thrd Binding betw task and method dissappears !! )
    kindly provide and advice or suggestions
    thank you very much
    -r

    Hi,
    I have sent a mail to the email address mentioned in your profile. I will try to find a place in sdn where i cud upload the screen shots.
    Yes it look as though the data is not available at the time of the condition step. But how could that be as it is the business object attribute and that has to be available at any point in the workflow  for all the workflow steps. I have used it several times in other workflow templates.
    I have done the following
    created new workflow template and put bus2091-created as start event
    extended business object and added several new attributes and defined each attribute. some of them are virtual and some are database attribute. And while coding the definition of the virtual attribute, which is pretty complex logic, i have used the database attributes of the same business object.
    the first step in the workflow was activity step . in which i called BO method to get soem data. eg frist name, last name of the creator. i did not export anything to the method, only imported the first name, last name because inside the method i use object-_essr-ernam to get the creator user id and then i find the names of this user id
    the second step is the condtion step where i check the attribute of the business object. the attribute which are database attributes are available. but those which are virtual attributes are totally blank.
    when i trigger the workflow, the condition result always fails as there are no values available. and in swi1 i can see that those values are very much there in the business object instance.
    is it so that these attributes are populated later than the time when condition step is called ? if yes, then why does the workflow processing reach the condition step ? it should first process all the initial steps, ie completely instantiate the business object and then it should start the steps of workflow. am i right ?
    is it because i have used the database attributes of the BO in order to build logic in the definition of the virtual attributes ? for eg. instead of using object-_essr-createdby, should i use only object-key-entrysheet. then write select statement on essr table for whatever entrysheet data i want and then carry on with my coding for the virtual attribute ??
    thank you
    r

  • Problem with WorkFlow of Purchase Orders related to non active employees

    Dear all,
    We are running into issues with the WorkFlow when people are linked to a PO who are not anymore an active employee. That will give problems in the workflow as those people are logically not going to goods receipt/invoice reciept/approve those invoices.
    How should we deal with this problem?
    We are thinking about a solution like creating an overview of ALL purchase orders (without Goods Receipt) in which the creator, project manager or project sponsor of that specific PO is not anymore an active employee.
    Could someone please advise the right solution?
    Thanks in advance.

    Experts? Anyone?

  • Problem in workflow

    Hello,
    There is an urgent issue regarding workflow. The workflow gets triggered by SWE_EVENT_CREATE from a z-function module. The parameters passed while triggering are Approver1, Approver2, first_approver and payment method. The problem is, In some cases, the workflow fails at the start and workitem doesn't go the 1st approver inbox for a particular user. After 6-7 errors, the triggering event got deactivated automatically.
    The data passed to the workflow even in case of error is correct and the binding is also correct.
    The scenario is in the production server and cant be simulated in quality server since the same data is working fine in the quality server.
    The error log for the document in error shows the folowing error:
    Diagnosis
    When the work item no. 1160113 sent a response message, an inconsistency was found in the related workflow definition: Node no. 1 has a line but no node definition or step definition.
    The respective workflow task (definition no. , version ) may have been changed during the workflow execution in a way which is not allowed.
    System Response
    The workflow is forced into the error status and stopped.
    Procedure
    Check and correct the workflow definition. You can display the structure (nodes and lines) of the workflow definition in the workflow builder via the menu function 'Extras' -> 'Techn. information' -> 'Definition structure' and -> 'Runtime structure'.
    Extras -> Technical information -> Definition structure or
    Extras -> Technical information -> Runtime structure
    It may be possible to correct the error by activating the workflow or by using the special function Extras -> Special functions -> Block correction.
    The same workflow is working for other users properly.
    Can anybody please help me with this. Its really urgent.
    Thanks in advance.
    Radhika
    Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:42 PM

    Hi Radhika,
    You can activate the event trace by SWE4 transaction.
    After you switch it on, execute your workflow once and check the event trace in SWEL.
    Once you open the Event trace, check the following to diagnose the problem:
    1. See if the workflow actually got triggered.
    2. If yes, go into the details of the WF, and check the technical settings. In this you can actually check at which step the WF failed.
    3. Once you determine the erronous step, check the container.
    4. Check both the workflow container as well as the task container.
    5. check the Bindings between the various containers.
    Post the scenario once you have pinpointed the exact or the probable cause.
    Hope this helps.
    Regards,
    Sonal

  • Query Decimal problem

    Hello experts.
    I have a problem with decimal on a query that its used in a VDT.
    In the dev system it works fine, but when I transport it to Prod system, the decimals doesn't represent fine.
    An example:
    dev system         prod system
    2,50 UN               3 UN
    Does anyone help me on this.
    Thks
    Vitor Ramalho

    hi,
      If you are not getting the decimal values let us say 2,50 instead of 2.50 then what you need to do is go to your user profile in production and select defaults tab and select the required decimal notation. The report should now show the values 2, 50 as 2.50.
    Hope it helps.........

  • Having a problem using Workflow to update a field based on ZIP code

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

  • Problem in workflow with WF-BATCH

    Hi All,
    we have a problem in the workflow user WF-BATCH where the validity was expired and the workflow stopped working. we found the problem after a day and extended the validity and the workflow started working again. But all the interfaces related with this workflow stopped receiving the data when workflow was not working. now we want to restore the data which was not sent.
    Is there any standard process where in we can retrigger all the data that was not sent during the time the workflow stopped working.
    If anyone faced similar scenarios please suggest me what can be done...
    Thanks,
    Anil

    Hi,
    May bee some one have locked that material using workflow in the background and had not unlocked it. If we are using workflow in background user WF_BATCH will execute the function.
    You should unlock that material and than use it.
    Regards,
    Ramu N.

  • Problem with workflow to control mitigating RAR to CUP

    We have configured in RAR, the workflow to send request for approval of Mitigation Owner using CUP Workflow. For Mitigation Control Using RAR  work fine, but unfortunately when we mitigated the Risks through the CUP request,  the workflow of Mitigation Control was not started.
    Workflow: USER > MANAGER > ROLE OWNER.
    Workflow with risk: USER>MANAGER> MITIGATION OWNER> ROLE OWNER (We have problem to send the request for Mitigation Owner).
    In the attached file has the details of this problem.
    Let me know if you need any other information.
    Best Regards,
    William Pantaleao

    Yes, it is configured correctly misc.
    Thanks
    William Pantaleã

  • Binary to Decimal problems

    Ok to give a background to why i am writing this and so everyone has a better understanding of exactly what it is that i want it to do it goes like this.... My girlfriend got a message from a friend that was all in ones and zeros, and no its not because something on one of the mail servers is messed up he meant for it to be that way. But through the process of converting the 8 digit binary numbers into decimal values so that the corresponding ANSI character could be found I decided that it was taking to damn long so i would just write a prog to do it for me and then i could send back an annoying long message to that guy with ease. Only there is a catch over the summer i went from hotshot for a newb to a newb without a clue, i more or less didnt write a single line of code over 4 months and now i am having problems.
    I wanted to write a program that could-
    -convert long strings of chars into all 8 digit binary code
    -as well as convert large blocks of 8 digit binary back into ANSI letter values and then ANSI characters
    -I want it to use a frame and have a relativly simple usage procedure
    Now that you know what i set out to do I can show you how far i got -
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.GradientPaint.*;
    public class BinaryToDec extends JFrame implements ActionListener
         // member variables
         JButton quit;
         JButton color;
         JButton convert;
         JLabel     label11_5, labelPassingWord;
         JTextField inputBinary, outputDecimal;
         Color      colorStore;
         String drawString;
         String bin;
         public BinaryToDec()
              drawString = "";
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setLocation(100,250);
              setTitle("Binary to Decimal");
              setSize(420,200);
              getContentPane().setBackground(Color.BLACK);
              getContentPane().setLayout(null);
              quit= new JButton("DONE");
              quit.setForeground(Color.GREEN);
              quit.setBackground(Color.BLACK);
              quit.setBounds(100,10,75,20);
              getContentPane().add(quit);
              quit.addActionListener(this);
              color= new JButton("Bkgnd Clr");
              color.setForeground(Color.GREEN);
              color.setBackground(Color.BLACK);
              color.setBounds(15,10,75,20);
              getContentPane().add(color);
              color.addActionListener(this);
              convert= new JButton("Convert to Decimal");
              convert.setForeground(Color.GREEN);
              convert.setBackground(Color.BLACK);
              convert.setBounds(185,10,75,20);
              getContentPane().add(convert);
              convert.addActionListener(this);
              label11_5 = new JLabel("Enter a Binary Number");
              label11_5.setBounds(75,60,250,20);
              label11_5.setForeground(Color.GREEN);
              getContentPane().add(label11_5);
              inputBinary = new JTextField(25);
              inputBinary.setBounds(5,40,225,20);
              inputBinary.setForeground(Color.BLACK);
              getContentPane().add(inputBinary);
              inputBinary.addActionListener(this);
              labelPassingWord = new JLabel("Your Deciaml Equivilant");
              labelPassingWord.setBounds(75,120,250,20);
              labelPassingWord.setForeground(Color.GREEN);
              getContentPane().add(labelPassingWord);
              outputDecimal = new JTextField(25);
              outputDecimal.setBounds(5,100,225,20);
              outputDecimal.setForeground(Color.BLACK);
              getContentPane().add(outputDecimal);
              outputDecimal.addActionListener(this);
              setVisible(true);
         }// end of constructor
         public void actionPerformed (ActionEvent evt)
              if(evt.getActionCommand().equals("DONE"))
                   System.out.println("Quit Caught");
                   int choice = JOptionPane.showConfirmDialog(null , "You Pressed " + evt.getActionCommand() + " are you sure?"
                        , "Close Frame",JOptionPane.YES_NO_OPTION);
                   if(choice == 0)
                        this.dispose();
                   if (evt.getSource() == color)
                        Color color = Color.lightGray;
                        color = JColorChooser.showDialog(BinaryToDec.this,"Choose a color",color);
                        getContentPane().setBackground(color);
                   if (evt.getSource() == convert)
                        bin = inputBinary.getText();
                        int strLength = bin.length();
                        int pos1=0, pos2=7;
                        String temp = "";
                        String Decimal1 = "";
                        String Decimal2 = "";
                        int binLength = 8;
                        int count = 0;
                             do
                                  temp = bin.substring(pos1,pos2);
                                  Decimal1 = Convert(temp);
                                  Decimal2 = Decimal2 + "" + Decimal1;
                                  pos1 = pos1 + binLength;
                                  pos2 = pos2 + binLength;
                                  count++;
                                  outputDecimal.setText(Decimal2);
                                  repaint();
                             }while((strLength/8) >count);
         }//end of actionPerform
         public void paint( Graphics g)
              super.paint(g);
         public String Convert(String a)
              int ctr=1, decimal=0;
              for (int i = a.length()-1; i>=0; i--)
              if(a.charAt(i)=='1')      decimal+=ctr;
              ctr*=2;
              String converted = "" + decimal;
              return converted;
         public static void main(String args[])
              System.out.println("Binary to Dec");
              BinaryToDec in = new BinaryToDec();
         }// end of main()
    }// end of class FrameExample1
    OK so other than that i decided to play with some of the paint functions i more or less stayed on task, at first i had it just convert 8 digit binary nums into decimal form using this -
              int ctr=1, decimal=0;
              for (int i = a.length()-1; i>=0; i--)
              if(a.charAt(i)=='1')      decimal+=ctr;
              ctr*=2;
    which i found in someone elses post and made some changes to, thank you someone whoever you are i hope you see this, anyways,.. then i decided i wanted it to check the length of a string and divide it by 8 assuming that it it a perfect block of 8 digit nums and then cut it into substring and go through the proccess of converting the binary to deciaml one piece at a time. I did it more or less, well it compiles right but whenever you put in more than one 8 digit binary number it ends up giving you some really strange decimal numbers and i cant seem to figure out why the hell it is doing this.??? I was hoping that some one could help me out.
    If you read this far than thanks for taking the time on my post :)

    Did you try to decode that message by hand and verified that it really is encoded the way you think it is?
    Here some code to try
    public static void decode(String fileIn, String fileOut) {
            try {
            FileReader in=new FileReader(fileIn);
            PrintWriter out=new PrintWriter(fileOut);
            char[] buffer=new char[8];
            int i;
            do {
                i=in.read(buffer, 0, 8);
                if(i==8) {
                    out.write(Integer.parseInt(new String(buffer),2));
            } while(i==8);
            in.close();
            out.close();
            } catch (Exception e) {}
        public static void encode(String fileIn, String fileOut) {
            try {
            FileReader in=new FileReader(fileIn);
            PrintWriter out=new PrintWriter(fileOut);       
            int i;
            while( (i=in.read()) >= 0 ) {
                String str=Integer.toBinaryString(i);
                for(int j=str.length(); j<8; j++)
                    out.write('0');
                out.write(str);
            in.close();
            out.close();
            } catch (Exception e) {}
        }

  • Problem using workflow with ess leave requests

    Hello, I have been experiencing some problems using wf for approval with leave request in ess.
    I customized ws12300111 for request approval and it is working fine. But when we try to cancel a request in ess, there are strange things happening:
    - If the request is in status sent: the workflow gets in error.
    - If the request is already in db: it starts a new workflow (ws12300111).
    We don't want this because we have customized ws12300111 only for new requests. I have tried to customize absences in SPRO so that onlu new requests start the WS12300111, Onlu new requests have the workflow field filled with 12300111, but even like that, the WS12300111 starts whenever that is a cancelling or modification of a request.
    I have also tried using a different workflow for canceliing (WS12400007), but in this case there is an error in ess when we try to submit.
    This is really annoying, I have tried everything...

    Hello,
    "If the request is in status sent: the workflow gets in error."
    Please always say what the error is.
    " If the request is already in db: it starts a new workflow (ws12300111"
    You first have to find out how this is done. Look in SWEL, it's probably via some sort of CHANGED event.
    regards
    Rick Bakker
    hanabi technology

  • Record checkout problem in workflow

    Hi,
    I have a workflow where requestor creates record and once created pass the record to approver and once approver approves record is sent to Gatekeeper.Now I am checking out the record in the first step.
    But now problem is when record is in available or received state with approver Requestor can modify and save the record. Same is case with approver i.e. when record is sent to Gatekeeper by approver ,approver camn modify record.
    As mentioned in guide as record moves from one step to another users who receive the job automatically join record checkout.
    But I want to avoid this i.e. once requestor sends the record to approver he should not modify it.
    It will be great if you can share any workaround to achieve the same.
    Regards,
    Neethu Joy

    Hello Neethu,
    Try the below.
    For requestor
    start(Checkout(yes)-> process -> validate->assignemt->stop(cascade)
    In the Above workflow in the STOP STEP - check in the record, and in the Launch property Launch the Approver workflow.
    and in the Following workflow "Approver workflow" check out the record in Start step and check in back in stop step
    Rgds,
    Prasad
    Edited by: Prasad Tuttagunta on Mar 6, 2012 9:21 AM

  • BAdI Workflows: Items rejection - problem in workflow

    Hi SRM Freaks,
    I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, and we've implemented the SHC Approval(BADI) workflow (WS14000133). After a few SNotes installation the worklflow is quite stable, but we have some problems with rejected items which can not be rework by requester.
    (for example 1SHC with 3 items -- 2 items approved and 1 items rejected).
    Do you have an idea why the rejected item can not be canhged !?
    Thx - Rafi

    Hi,
        This is std functionality.Pls check the foll post,
    Not able to modify the rejected line item in SC..?
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Decimal Problem in fields

    Hi,
    In Export invoice we are entering currency in USD.When we enter the value it accepts 3 decimal places.But it is stored as 2 decimal places in table.
    Eg.2.059 USD in invoice screen
    but in table 20.59 USD.
    What is the problem?where we can rectify this error?

    It will be stored with two decimal places. No issues with that. when you display this on your report, you have to specify the currency as USD and your issue will be resolved.
    write: v_amount to v_amount currency 'USD'.
    I am quoting from the help of the write statement below.
    This addition defines currency-dependent decimal places for the output of data objects of data types i or p. For all other data types, except for f, the addition is ignored. For cur, a three-digit, character-type field is expected that contains a currency key from the column CURRKEY of the database table TCURX in uppercase letters. The system determines the number of decimal places from the column CURRDEC of the respective row in the database table TCURX. If the content of cur is not found in TCURX, two decimal places are used. The following applies for numeric data types:
    In the case of data types of type i, a decimal separator is inserted at the position determined by cur and the thousands separators are moved accordingly.
    In the case of data objects of type p, the decimal places defined in the definition of the data type are ignored completely. Irrespective of the actual value and without rounding actions, the decimal separators and the thousand separators are inserted at the positions in the numbers determined by cur.
    In the case of data objects of type f, the addition CURRENCY has the same effect as the addition DECIMALS (see below). Here, the number of decimal places is determined by cur.
    If the addition CURRENCY with length specification * or ** is used after AT, it is used first and the output length is determined from the result.
    Note
    The addition CURRENCY is appropriate for the display of data objects of type i or p without decimal places, whose contents are currency amounts in the smallest unit of the currency.
    Example
    The output of the WRITE statement is "123456,78".
    DATA int TYPE i VALUE 12345678.
    WRITE int NO-GROUPING CURRENCY 'EUR'.

Maybe you are looking for