Condition step : currency field = constant ?

Hi All,
I am stuck with a silly thing while making my WF , Pls help me out.
I am designing WF for parking invoice (tcode- FV60),there I need to give following condition:
If Invoice Amount > 2500 USD then mail is sent  to some particular approver otherwise some other approver.
I have declared one variable 'Amount' in WF container with refrence to table- INVFO and field - WRBTR.(this is a currency field.)
and in condition step in WF, I am giving a condition .i.e - 'Amount' > 2500
But problem is :- condition editor shows 2500 as 2.500,00
i hv tried to give 2500 as 2500.00 then too its shown as 2.500,00 .
Pls advice how to go about it ??
Rgds
Priya

Hi PS,
Just test your WF through FV60 and see whether your condition is getting satisfied.
Are you worried because instead of showing 2500, system is showing 2500,00 - if that is so thats fine, because settings in SAP are maintained that way.
I mean, 2500 for SAP is 2500,00.
Aditya
P.S else, your way is correct on declaring the element in the condition editor.

Similar Messages

  • Condition step expression comparison

    Hi all,
    I want use a condition step to check acondition like lv_expression1 = lv_expression2.
    but i am not able to use variable in expression2, it's accepting as constants.
    How to compare two variables in workflow?
    Thanks.

    It should be possible in the condition editor. First double click the first container element. Then set for example '='. Now double click another container element (don't put anything into the constant field). => You have comparison between two container elements.
    Regards,
    Karri
    Edited by: Karri Kemppi on Dec 13, 2011 5:07 AM

  • WF error in : Condition step ??

    Hi All,
    My condition step is not working fine , Pls help me out.
    I am designing WF for parking invoice (tcode- FV60, BO -FIPP),there I need to give following condition:
    If Invoice Amount > 2500 USD then mail is sent to some particular approver otherwise some other approver.
    I have declared one variable 'Amount' in WF container with refrence to table- INVFO and field - WRBTR.(this is a currency field.)
    and in condition step in WF, I am giving a condition .i.e - 'Amount' > 2500
    After activating WF and while testing it ,WF gives "status : Error "
    I hv seen in WF log , Process has stopped in condition step.
    Is there something missed or wrong in condition step ?
    I doubt  - if my way of declaring element 'Amount' in WF container is ok ?
                 Do I need to add this field as an attribute in the Bus Obj n then take it     in  condition editor.
    Pls advice how to go about it ??
    Best Rgds
    Priya

    Hi Shweta/ Addy,
    This element is not there in BO, I hv defined this element 'Amount' in WF container.I have not used this element in binding as condition step doesn't provide us the option for binding . In my scenario:
    1) Document is parked (FIPP - created), In FV60 invoice amount is filled.
    2)condition : 'Amount' > 2500.
    3)Condition true - go to approver1 (agent determination through Rule)
       Condition false - go to approver2 (agent determination through Rule)
    Pls let me know if binding is required in some step ?
    or do I need to add 'amount' in attributes in BO ?
    n In my graphical WF log, process has stopped in condition step.I think,we don't have any options to specify agent in the condition step.
    Pls advice, n help me to proceed further ..
    Best Regards
    Priya

  • View with selection conditions with system fields.

    Hi Experts,
    I have a view. Now i want to control the data that is selected using 'Selection Conditions'.
    here i want to use system field SY-DATUM.
    My requirement is  i want to control the output like
    Valid_From_Date GE SY-DATUM and
    Valid_To_Date     LE  SY-DATUM
    which means that i would be showing only active users in this view.
    How can i go about this? System is not allowing system fields in comparision value.
    Any help on this is highly appreciated. Thanks.
    regards,
    Simha

    Hi,
    I am getting a warning first 'enter constant as comparision value'
    when i trying to activate the view i am getting the below error.
    A join condition on a field of the system table SY (or SYST) was defined.
    This is not permitted for database views because the system table is not known to the database
    Have tried to activate the view you created?
    How to go about this?
    Regards,
    Simha

  • Dynamic displaying of decimal points for currency field in ALV

    Hi,
            In ALV output there is a currency field and displaying data of different countries. It should display decimal point according to the country's currency. But at a time it can display data of different countries.

    Hi Dilip,
    I think your question is about currencies with different number of digits after decimal point. If you have the currency field in the ALV row, you have to give it's name as currency reference for the value field in the field catalog.
    After creating the field catalog, call a form and do something like this (change fielnames accordingly).
    <pre>
    *&      Form  alv_fieldcat_enhance
          Individual Enrichment of field catalog
    FORM alv_fieldcat_enhance
      CHANGING pt_alv_fieldcat TYPE slis_t_fieldcat_alv.
      FIELD-SYMBOLS:
        <alv_fieldcat> TYPE slis_fieldcat_alv.
      LOOP AT pt_alv_fieldcat ASSIGNING <alv_fieldcat>.
        IF <alv_fieldcat>-fieldname(5) = 'KBETR' OR
           <alv_fieldcat>-fieldname(5) = 'SKBTR' OR
           <alv_fieldcat>-fieldname(5) = 'DMBTR'.
    Company code currency
          <alv_fieldcat>-cfieldname = 'BWAER'.
    Document Currency for conditions, net value and taxes
        ELSEIF  <alv_fieldcat>-fieldname(5) = 'KWERT' OR
                <alv_fieldcat>-fieldname    = 'NETWR' OR
                <alv_fieldcat>-fieldname    = 'NPAX_MWST_AMNT'.
    Document Currency
          <alv_fieldcat>-cfieldname = 'WAERK'.
        ENDIF." <alv_fieldcat>-fieldname(5) = 'KBETR' or
      ENDLOOP." at pt_alv_fieldcat assigning <fieldcat_alv>.
    ENDFORM.                    " alv_fieldcat_enhance
    </pre>
    Regards,
    Clemens

  • How to make Currency Field of IT 0009 as Uneditable in the Portal

    Hi Experts,
    I have a requirement to make the Currency Field in IT 0009 as uneditable in the Portal. We are using transactional iView and standard Function Module to maintain IT 0009 in the portal. My query is, do I need to make changes in the FM to map this requirement or there would be any setting in the SPRO to change the characteristics of the fields of Infotype.
    Kindly suggest with your valuable inputs.
    Regards,
    Tanuja
    Edited by: Tanuja Mishra on Apr 25, 2011 1:07 PM

    Hi,
    You can use the view V_T588MFPROPC to override the exixsting setting of the view V_T588MFPROPS.
    steps:
    1. Goto sm31, enter view name as V_T588MFPROPC
    2. Give the infotype as 0009
    3. Add an entry with the details as follows,
        Version - Country
        Subtype - If any
        Field name - WAERS
        Mark the field as output field
    4.  Save the record
    Then execute in portal.
    Otherwise use personalization ctrl+right click nad make the field as read only.
    Hope this help you.
    Regards,
    Meera

  • Conditional step in interface determination

    Hi All,
    The Scenario is a proxy to file server..
    we are sending datas to different service based on File Content Conversion..
    Depending on the data on a certain field the records are delivered to different location.adapter we use is a file adapter.
    For this we need to give the conditional step in interface determination..
    the sender is a message system and the receiver is a business service.
    The issue here is when i try to give the condition in interface determination the error below appears.
    "<b>Message interface does not exist in any software components installed on this business system</b>"
    due to this we are not able to get the structure of the specified message type in the condition editor...
    What can be done here to give the conditions in the condition step?

    Hey
    The error occurs if the GUID of the software component at the SLD is different to the one at the repository. Please compare the GUID at the SLD -> Administration -> Content Maintenance -> Dropdown "Component Version" -> Dropdown "Software Component Version". At the Integration Repository you select the Software Component Version at at the tab "Keys" you find the related GUID.
    The error occured because the Software component has been created manually at the system. The repository content came from another system via import with own SLD (and because of that with another GUID for the software component).
    source:https://forums.sdn.sap.com/click.jspa?searchID=3574640&messageID=945384
    Thanx
    Ahmad

  • Currency field in MIRO

    Hi
    I created a purchase order for an international vendor whose currency is USD. there are various pricing conditions (like freight, Agency fess etc) maintained in the purchase order each assigned to a different vendor
    Say for example the freight condition is assigned to a local vendor  (whose currency is difernt from USD )who provides transportation.
    The condition value in PO is maintained in local currency
    But while doing invoice for the freight vendor  the currency field in the invoice screen is filled with USD currency which is the default currency of the internaltional vendor and the field is grayed out and i can not make any change in that
    I want that to be populated with freight vendor local currency .
    Please suggest from where actually the currency field is filled in the invoice screen and what configuration changes to be done so that when i do invoice for my local freight vendor the currency field is filled with the currency of the local vendor
    regards
    pavan

    1. In initial screen put "INR" before putting the Purchase order.
    2. Change to planned delivery cost  as selection so it will only be applicable for Freight vendor.
    3. Check in P.O for freight condition type you have assigned the local vendor or not.
    4. Check the vendor master of Local vendor Purchasing view, whether INR is maintained or not.

  • Making currency field as optional in T-code- ME51N for service

    Dear Cons
    We want to make currency field in service PR ( T-code- ME51N) as optional not in a grey mode. Because the currency which is coming in service PR in service tab is not editable. pl. check it.

    Hi,
    There is no field selection available for currency in PR.
    Currency field will appear in Display mode in Service Overview Screen and will always be of Co. Code Currency for e.g. In Indian Co. Code then Currency will always be "INR" in PR Since it is an internal Purchasing Doc.
    If you want to change the currency then select the line item and click on "Conditions" button and maintain the currency for Condition Type "PRS" with appropriate rate. Amount will start appearing in Service Overview Screen.
    Now create PO w.r.t. Pr and see the currency.

  • OBI Column selector and Condition step

    In OBI 11.1.1.6.2 I have an analysis which contains a column selector, a pivot table and a regular table. The pivot table uses the fields of the column selector.
    In this configuration it is not possible to add a condition step to the regular table. Only when removing the column selector view it is possible to add a condition step.
    I know that it is possible to create a dashboard that uses two analysis: one pivot table with the column selector and one regular table with the condition step. But this is not what I want.
    I am not sure if this is a works as designed thing, or that it is a bug. If it's works as designed, than I would have expected a message that it is not allowed to add a condition step when a column selector is present.
    Does anybody have experience with this?
    Thanks,
    Bas
    Edited by: 981938 on Jan 15, 2013 3:03 AM

    This is functional question, Any SD consultant can help you out . Well I recommend you to post it on some SAP SD forum!! Rather then waiting over here .
    Thanks
    Saquib

  • How to add Currency field with dropdown on screen layout (module pool)

    I need to add a field called <b>Currency( field label )</b> with <b>dropdown (like SKB1-WAERS). </b>
    The <b>field label</b> and <b>input output field </b> should default as being hidden and
    sould be visible only when other field value ( on the same screen ) should match with the value in the database table . 
    Could you please suggest me how to create dropdown
    and give this functionality with coding ?
    Thanks in advance.

    Hi,
    In the field attributes of the SKB1-WAERS..in the group attributes..give a group name G1..Add the same G1 for the field lable also.
    Then in the PBO of the screen..
    ***Check the conditions..when other field value (on the same screen) matches
    ***with the value in the database table.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'G1'.
        SCREEN-INPUT = '0'.
        SCREEN-INVISIBLE = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Thanks,
    Naren

  • Format Currency field with $ sign and condense

    I want to format the currency field output by appending '$' sign to it and removing the gaps so that the '$' sign occurs immediately before the amount. Can anyone tell me how to do it so that it displays like given below in ALV. Thanks.
    Before                    
       $____25.00           
      $__130.00        
    $___1000.00       
    After
    $25.00
    $130.00
    $1000.00
    Edited by: Sheetal on May 27, 2009 12:23 PM

    Hi Sheetal,
    You can try this-
    1) copy currency field to a text field.
    2) Append $ to the field. CONCATENATE can be used on text fields.
    3) Remove any spaces by using CONDENSE.
    Of course you can combine step 1 and 2 depending on the logic you choose.
    There are of course many other ways and you may have found out some yourself. The above steps can help.
    Regards,
    Nimish

  • Smartform-currency field error.

    Hi folks,
      In My smartform i want to print the net value from vbrp table ( netpr) .but when iam executing the form it is throwing error as " reference field netpr " is unknown in form..
    where i have to declare reference field of netpr.
    Thanks,
    Neelima.N

    hi ,
      use the following documentation for your help.
    Displaying Fields That Refer to Currencies or Quantities
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field if the table field contains a currency or quantity value. When printing these fields, SAP Smart Forms can take into account the assigned currency or unit:
    If the value field is in the same table as the assigned currency or quantity field, SAP Smart Forms automatically recognizes this and, during output, formats the value field according to the currency or unit in the assigned field.
    If the value field and the assigned currency or quantity field are stored in different tables, SAP Smart Forms cannot automatically recognize the relationship.
    In the second case, you must inform SAP Smart Forms about the relationship.
    Procedure
    As mentioned above, you only have to perform the following steps if a value field that is to be displayed in a table (for example, VALTAB) has a relationship to a currency or quantity field in another table (for example, CURTAB). In this case, you have to specify the relationship explicitly:
    In the form, define a global field of the same type as the table in which the currency or quantity field is stored, for example WA_CURTAB. Also define a work area for the output of your value field, for example WA_VALTAB.
    If you use a table with a header line, you do not need to define a work area. Instead, you work through the following steps with the header line of the relevant table. In the following step, for example, you would specify the field VALTAB-VALUE instead of WA_VALTAB-VALUE under Field Name.
    Create the relationship to the currency field by switching to the Currency/Quantity fields of the Global Definitions node and entering the following values:
    Field name: WA_VALTAB-VALUE if this is the value field of VALTAB that is to be output
    Reference field: WA_CURTAB-CURRENCY, therefore the currency field of CURTAB
    Use the work area WA_VALTAB on the data tab page of your table node or loop node.
    Create a program lines node before the event at which the value field is printed.
    In the program lines node, assign the currency or unit in which you want to format the value field WA_VALTAB-VALUE to the currency or quantity field of the global field WA_CURTAB-CURRENCY. You have to either select the value of WA_CURTAB-CURRENCY afterwards or have already passed it to the form interface.
    Display or print the value field WA_VALTAB-VALUE.
    Result
    During output, SAP Smart Forms formats the value field WA_VALTAB-VALUE according to the value assigned to the currency or quantity field of the global variable WA_CURTAB_CURRENCY.
    regards,
    Veeresh

  • How do u handle the user parameters for a currency field.

    How do u handle the user parameters for a currency field.
       Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
          Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
    Regards,
    Ram.

    Hi,
    Try this code....
    DATA: V_KURSF1 TYPE c LENGTH 10,
            v_kursf2 type c LENGTH 10,
            v_dcpfm    TYPE xudcpfm, "Decimal or Thousand Notation
            v_thousand TYPE char1,   "Thousands Notation
            v_decimal  TYPE char1.   "Decimal Notation
      CONSTANTS:    c_x      TYPE char1 VALUE 'X',
                    c_y      TYPE char1 VALUE 'Y',      "Value Y
                    c_comma  TYPE char1 VALUE ',',      "Comma
                    c_point  TYPE char1 VALUE '.',      "point
                    c_blank  TYPE char1 VALUE ' '.      "Blank
      IF v_dcpfm IS INITIAL.
        SELECT SINGLE dcpfm
        FROM usr01
        INTO v_dcpfm
        WHERE bname = sy-uname .
        IF sy-subrc = 0.
          CASE v_dcpfm.
            WHEN c_x.
              v_decimal  = c_point.
              v_thousand = c_comma.
            WHEN c_blank.
              v_decimal  = c_comma.
              v_thousand = c_point.
            WHEN c_y.
              v_decimal  = c_comma.
              v_thousand = c_blank.
          ENDCASE.
        ENDIF.
       ENDIF.
               Find c_point in  wa_segment-exchange_rate.  ( Eg:ield)
              if sy-subrc = 0.
                replace c_point in wa_segment-exchange_rate with v_decimal.
              endif.

  • Modifying currency field

    hi experts,
    i need to change the sales document currency field in sales oredr creation(VA01)
    in conditions tab. Now the field is  EUR i need to change it to %, what i have to do.
    thanks in advance.

    Hi Muralidhar,
    Find the Condition Type from Condition Tab.
    Goto Transaction V/06 and you can find the condition type and Doubler click.
    Under First TAB: Conterol Data 1,
    Calculat.type -> change to %.
    I hope this will help you to achieve the requirment.
    If you have any Issues, please let me know.
    Regards,
    Lijo Joseph

Maybe you are looking for