How to restrict cash transaction above ruppes '20000'

Dear Expert,
I want to restrict incoming & outgoing cash transaction where amount crosses equal or above ' 20000 '
pls suggest the store procedure.
Regards,
Datta Kharat

Insert this in your  SBO_SP_TransactionNotification stored procedure after the line
--     ADD     YOUR     CODE     HERE
IF      @Object_type = N'24'
Begin
If (select CashSum from ORCT
        where DocEntry=@list_of_cols_val_tab_del)>20000
begin
set @error = 21
set @error_message = N'Cash payment should not be higher then 20000 !'
end
End     ----------------------------
IF      @Object_type = N'46'
Begin     
If (select CashSum from OVPM
        where DocEntry=@list_of_cols_val_tab_del)>20000
begin
set @error = 22
set @error_message = N'Cash payment should not be higher then 20000 !'
end
End     ----------------------------

Similar Messages

  • Approval for Cash payment above Rs. 20000.

    How to incorporate the approval procedure for cash payment above rs 20000.
    thanks in advance

    gangothri,
    Refer to SAP
    Note 1165619 - Cannot add outgoing payments in approval procedures.
    in the below link.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1165619
    This is an application bug.
    This problem is fixed in latest patch.
    Upgrade it to latest patch in 2007B.
    Hope it will solve the issue.
    Jeyakanthan

  • How to Restrict Business Transaction Types in Cash Journal

    Dear All
    I need to Restrict Business Transaction Types in Cash Journal based on Exp/Revenue Types . Is there nay solution of this problem and one more thing i need to disable/hide Cash Hournal Tabs for specific User.
    Full point will be awarded.
    Thanks

    hi
    the follwoing links may helpful to you for cash journal configs.
    http://help.sap.com/bp_bblibrary/500/documentation/N70_BPP_04_EN_DE.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/e9d13973da1f60e10000000a114084/content.htm
    http://www30.sap.com/japan/businessmaps/690A1366EABD4B029F9F9CB727553B61.htm
    nagesh

  • How to restrict the transaction OB52 ?

    Hi guys.
    I need to restrict the transaction OB52 for Company Code. By default the transaction OB52 has no authority object to restrict it to the company code. Try it by adding the SU24 transaction object F_BKPF_BUK (check / maintain). When I create the security role by adding the transaction OB52, lifts my perfectly F_BKPF_BUK authorization object, added the company you will have the authorization, but does not work when I assign the Role to the user. The user will still leave change all companies and not the company you want to restrict.
    Thanks guys for the help.
    Desirée.

    Hi,
    Take the below into consideration for restricting table views for transaction like OB51, OB52 etc.... For your particular case I guess when user is running OB52 then it is providing data from table V_T001B
    First level authorization check will be S_TABU_DIS for access to table. Auth group will be FC31
    Now to drill down further restriction on line level for above table you need to use objects S_TABU_LIN. To use this object consider have look into the documentation for this object and 2nd step to read documentation in following path.
    SPRO --> Display IMG --> SAP Web Application Server --> System Administration --> Line-oriented Authorizations --> Define organizational criteria/Active organizational criteria
    Now in SPRO when you will create organization criteria then create it for field Posting Period Variant (BUKRS). This is one of the field for table V_T001B.
    Now activate it for table views V_T001B
    Now run OB52 again and it will ask for additional authorization for object S_TABU_LIN. In ORG_CRIT put the name of organization criteria you have created and in ORG_FIELD1 maintain value for relevent company code.
    This way will see only those lines where value for BUKRS will match with his/her user master for S_TABU_LIN
    This is quite big post. Will suggest you to go through documentation thoroughly rest are self explanatory.
    Arpan
    Edited by: Julius Bussche on Mar 28, 2010 10:22 AM
    Formatting fixed - please use "quote" tags and not "code" tags.

  • Cash payment restriction for more than Rs.20000 to vendor per day

    Hi
    I want to restrict cash payment transaction for more than Rs.20000 (as per income tac act) to one vendor in one day
    How to bring this control
    Edited by: Meenu_ND on Mar 8, 2010 3:43 PM

    Hi
    Instead of posting key 40 you can try with 50 in this thread Configuration to fix the amount in cash journal
    Aravind Boddupalli

  • Cash payment restriction for more than Rs.20000

    Hi
    I want to restrict cash payment transaction for more than Rs.20000 (as per income tac act)
    I gave amount limit as Rs.20000 for company code in01. Date i gave as 01.01.2000 and currency as INR
    Inspite of this, i passed one payment for Rs.22000 and it allowed me to pass. How to restrict such excess payments ?

    Hi
    Are you trying to post Cash Journal (FBCJ) for posting payments.  If so, you can use this configuration to restict your limits.
    If you are posting through other T.codes, then this configuration will not control those.
    For creating a validation rule, i have given a example below:
    Say for example, if you are using doc type 'KZ' for payments, then
    1. Identify or create a message class/message number, which you can use as an error message is the document amount reaches > 20000  This message class/messages can be created in T.code SE91
    2. Go to GGB0 and create a valiation under FI -> Line item and under which create a step as follows:
    Pre-requisire: if BKPF-BLART = 'KT'
    Check : BSEG-DMBTR <= 20000
    Message: Enter the identified message class/number
    3. Attach the validation in OB28.
    Regards
    Prakash K

  • How to restrict some users from viewing a screen of standard transaction

    Hi All,
    I need to restrict certain user ids from viewing the 'Payment Transactions' screen for the below mentioned transactions.
    FK01, FK02, FK03, MK01, MK02, MK03, XK01, XK02, XK03
    The Basis consultant has tried to configure it. However its not working. So need to find other solution.
    For all transactions other than FK01, MK01, XK01 (create vendor), the BAdi GOS_SRV_SELECT is called before the payment transaction screen appears. But for transactions FK01, MK01and XK0, no such BAdi is there.
    Also I'm not able to figure out how to restrict that particular screen using Badi GOS_SRV_SELECT. What will be the service name for this?
    Please help !!!
    Thanks in advance,
    Radhika

    hi,
    u can do this using user exits.
    identify the appropriate exit for ur transaction and thn put condition like
    if username = ...
    loop at screen.
    hide..
    endloop.
    i was just trying to give u some hint .make it to ur best.
    reward if hlpful.

  • SHD0 transaction-how to restrict the variant transaction to specified users

    I have created a variant transaction for MM02 wherein am disabling a field .I want this field to be disabled only for certain users.The variant transaction which I created affects all users.So,for everyone the field is grayed out.How to restrict this for specified users???

    Hello,
    Try to look an exit for that transaction, either user exit or badi, then try to disable the field doing a LOOP AT SCREEN, but first you should have the restricted users in a Z table, or by cheking the profiles for each user..
    Another way to do it is trying to do it the profiles customization, maybe you can do it that way.
    Cheers!!
    Dont forget to reward.
    Gabriel P.

  • How to restrict transaction type in customized activity pop-up

    We have created a custom workcenter link for search enhancement of activities. We copied the work center link and are calling the same component as in std search but a different customized configuration with added and deleted fields in search criteria. This works fine. Now the requirement is to restrict the 'transaction types' available when we click on the 'new' button in the new custom activity search page. As this pop-up emanates from the std component, it can not be functionally configured (because that would restrict the 'transaction types' while creating new activity in std componnet) but should be technically handled. Please advise.

    Hi Amar,
    Solution here is to let the framework know who is caller ?
    That is, when pop up is opening, you have to put a code in this pop up view to understand who is invoking this pop up , Is it the search page of std. component configuration or is it the custom search page configuration ?
    So have a static attribute in some Z class, you can use your IMPL class also for that matter, Now whenever you know that its custom config i.e. in DO_CONFIG_DETERMINATION, read the role key( i assumed that you have a role key for your custom config)
    and if its custom role key, then set this static parameter say ZCUST_CONFIG = abap_true else abap_false (this is must to reset it using else as this is static attribute )
    Now, in your pop_up view, read this static attribute as XXXX_IMPL=>zcust_config , and if true, then you know that the pop up is invoking from custom config, so do the coding to remove the unwanted transaction types.
    and you are done !!
    Hope it helps you.
    Thanks & Regards,
    SUCHITA

  • How to restrict a user from using the transaction code SU01?

    How can I grant a profile to a user with the profile SAP_ALL except running the transaction code SU01?
    I know how to lock the transaction code using SM01 but is there any other way to do it.

    Go to S_TCODE
    Double click on it and give the combinations like        A*  -   X*
                                                                                 SU00
                                                                                 SU02 - Z*
                         Try this one definately it will work.

  • How to restrict Intercompany Invoice getting generated for receive only trn

    Hi All,
    I have a businesss scenario, where there are two operating units (A and B) Intercompany shipping relationship is set between these two OU's
    Operating Unit: A and Inventory Org: ZZ
    Operating Unit: B and Inventory Org: DEF
    1. If I have Sales order from A and shipped from B OU Inv org(DEF Inv org) , IC AR and IC AP gets generated and also End customer Invoice in A OU gets create
    assume the above order was for 10 Qty shipment
    at Inventory Logical transactions will be created in ZZ Inv org for 10 Qty shipment
    now if the customer comes backs and says you have shipped 12 Qty and returns the 2 Qty, here we dont send any credit Invoice to customer so RMA Order line type is Receive only when you raise RMA order in OU A aganist DEF Inv org (OU B) and you receive the goods in DEF, system creates logical transactions in ZZ inv org which is in OU A and forcing to create IC AR and IC AP in both the OU's, how to restrict the same
    Ideally its extra shipment done from DEF ware house and they are receiving back
    Thanks in advance
    Regards
    Krishna

    Hi All,
    I have a businesss scenario, where there are two operating units (A and B) Intercompany shipping relationship is set between these two OU's
    Operating Unit: A and Inventory Org: ZZ
    Operating Unit: B and Inventory Org: DEF
    1. If I have Sales order from A and shipped from B OU Inv org(DEF Inv org) , IC AR and IC AP gets generated and also End customer Invoice in A OU gets create
    assume the above order was for 10 Qty shipment
    at Inventory Logical transactions will be created in ZZ Inv org for 10 Qty shipment
    now if the customer comes backs and says you have shipped 12 Qty and returns the 2 Qty, here we dont send any credit Invoice to customer so RMA Order line type is Receive only when you raise RMA order in OU A aganist DEF Inv org (OU B) and you receive the goods in DEF, system creates logical transactions in ZZ inv org which is in OU A and forcing to create IC AR and IC AP in both the OU's, how to restrict the same
    Ideally its extra shipment done from DEF ware house and they are receiving back
    Thanks in advance
    Regards
    Krishna

  • How to restrict Material Class in Sales Contract Doc

    Hi,
    I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
    If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
    If any one come across such a senario then pklease let me know.
    Regards
    Ajay

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • -How to restrict Description into single row in the report

    Hello Colleagues
    I have a report which shows Material number versus Revenue. In the row, material is displayed with Technical name and description.
    Here, the view of the report shows the description in single line. While, in the report, description of the report runs 3 to 4 lines though description contains 5 to 6 words (which can fit easily into single line).
    Let me know how to restrict each row descrption into single line.
    Regards,
    Ningaraju

    Hello Colleagues
    Please find the format it is currently appearing in the web reports.
    Material Num        Material Description    Revenues (In Eur)
    1000001               "SAP
                                ERP
                                Professsional
                                 User"                             111
    Wanted to change above format into as below in which it has to show material description in single row.
    Material Num          Material Description                              Revenues (In Eur)
    1000001                 "SAP ERP Professsional User"                         111
    Regards,
    Ningaraju

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • How to restrict a user typing a custom value in the dDocAccount field.

    I have dDocAccount field drop down pre-populated with 2 values - Dept1, Dept2. However, user can able to type any other values (say Dept3) in the account text box and checkin a doc from WCC UI. How to restrict user from entering custom values?
    As an alternate solution - for time being i have the above account field is set as hidden using rule. I am trying to derive the account value from another one field's value (say Departments field with values Dept1, Dept2). I tried below code and found working:
    Department is a custom field created as option list with values Dept1, Dept2
    Under the Rules, for the field dDocAccount, is derived field checked and added below code
    <$dprDerivedValue=#active.xDepartment, getValue("#local","dOption")$>

    Hi,
    If Department is a custom metadata then you should access it like xDepartment(as any other custom metadata), not dDepartment.
    I know it is also possible to change the HTML that is generated for the dDocAccount field, to add javascript validation and so on, maybe this approach plus some additional JS and HTML twists and you should get it working(via component development).
    Hope it helps,
    Vlad

Maybe you are looking for

  • Can not view help in any adobe product

    In Photoshop, Bridge & Device Central, Adobe Help Viewer 1.1 opens with message "This topic is in the Help system of another product. To view the topic, install that product. about:blank" In Adobe Reader, Adobe Help Viewer has message "File not found

  • How do I upgrade my 800MHz PowerPC G4 eMac?

    What RAM modules do I use? I found a few different kinds and am not sure of the difference. Kingston 512MB PC2700 333MHz DDR SDRAM Memory Module KTA-G4333/512 Kingston 512MB PC133 SDRAM DIMM Memory Upgrade KTA-G4133/512 Lifetime 512MB SDRAM Memory Mo

  • Substitution of account(HKONT) when posting in MIGO/MIRO

    Issue: Need to change account(HKONT) when posting in MIGO/MIRO example:       HKONT(GL Account)       KTOSL(Transaction type)                1000000001              XX1                1000000002              XX2                1000000003             

  • MRP with Inventory module and not Warehouse module

    Hello,     We have a very simple inventory and phsical warehouse. We do not need the Warehouse Module with it's complexities, but we would still like to run an MRP to generate Purchase Reqs, etc.     Does anyone know if we can have MRP with no Wareho

  • BD10 returning all data in segments (MARC, MVKE)inspite of filtered data of BD64

    In BD64, Under MATMAS Data filtration is set on Sales Org and Distribution Channel. When I am sending material from BD10 , I need to get these values ( Sale Org / Distribu Channel ). B'cos on the basis of these values I need to fetch PLANT from MVKE