Customization/Exit exit_rfebbu10_001 logic in BRS System

Hi All,
We have a requirement from client in which when running the BRS (Transaction FF_5) System should check the amount and date in upload file (FEBEP & FEBKO) with the amount and date against a G/L account (table BSIS). If the date and amount are same then the line item should be cleared for posting else it should remain in open status?
I am planning to use the exit exit_rfebbu10_001 for this purpose, My problem is that after the comparision of date and amount between G/L account and upload file, If date and amount are diferent then how i can keep the Line item in open status?
can i use the BRS Clearing table FEBCL for this purpose?
Thanks in Advance
Ramnivas
Edited by: Ramnivas Kumavat on Feb 20, 2012 12:32 PM

Hi Rebeka,
Would you please tell me how you solved this problem, I have also got similar problem. I have to cancel whole processing after some checks.

Similar Messages

  • We need how to copy macro logic in the system

    Hi Experts,
    we need how to copy macro logic in the system, we have some macros in my friend system,  i need how to copy macro logic , can u send me elaborate.
    Regards,
    BABU

    I'm a bit uncomfortable with you've wanted to do especially you and your friend has a different system (unless its a sister company/industry). If this would be the case you can copy your friend's macro with the help of your basis team to transport them in one system to another.
    if the case is different organization, I'm not sure if that is possible since no industry have same requirements but i may suggest the links below for your reference on how to copy the Macro into external system. Hope the document is relevant to your issue.
    [http://help.sap.com/saphelp_scm41/helpdata/en/82/2101fac5288f4d8c7be7c20e604a8f/frameset.htm]
    Cheers!

  • CC5.2: Logical and Cross Systems - Best Practices

    Hello,
    we are using CC5.2 in a landscape of multiple SAP systems. In order to streamline the process of creating our rule set I would like to clear up my confusion about the use of logical and cross systems.
    Here my questions:
    1. Are logical systems intended for encapsulating systems of following stages (e.g. DEV1, QA1, PRD1) or to group systems of one stage which have the same structure of risks and therefore can share rules (e.g. DEVECC1, DEVECC2, ...)?
    2. I don't see entries of logical systems in the Rule Architect - wouldn't it make sense to create functions for logical systems instead of uploading function authorizations for each system?
    3. When you create functions for one sample system - is it sufficient to generate the rules for the logical system the sample system belongs to?
    4. Regarding the cross systems functionality: After creating risks across different systems - is it still necessary to create corresponding cross systems and to generate the rules from the cross systems menu?
    Thanks for your help in advance!
    Regards,
    Martin

    Hi Frank,
    thanks for your answer.
    I now see the handling of logical systems as independent from system landscape tiers. After recreating the desired logical system for a second time it now also appears in the Rule Architect and in the upload dialog of function authorizations. I guess that after uploading them it's still necessary to generate the rules for logical systems in the configuration tab under 'logical systems' ?!
    Regarding the cross systems functionality I don't understand the redundancy of the different settings. Actually there are four options for cross system checks. Let's go into detail:
    a) Functions can include actions of different systems...
    b) ...and they can be flagged as cross system functions. --> Should not the system automatically set the analysis scope of a function to 'cross system' when functions include actions of different systems or is this flag used for the analysis of logical systems?
    b) Risks can include functions referencing to different systems. --> In my understanding it is essential that in this case the analysis scope is 'cross systems'. Is it still necessary to create cross systems and to generate rules for those? (Seems a bit redundant.) Or does one option take precedence over the other?
    c) Finally you can setup 'cross systems'. --> How is the relation of cross systems to the other settings mentioned above? Do you have to create cross systems for each combination of systems which are related in risk definitions or function definitions? Or can all related systems be accumulated in one overall cross system?
    Hope, there is not too much confusion now
    Thanks and regards,
    Martin

  • While Browsing SSAS 2005 Cube Getting Error " The following system error occurred from a call to GetOverlappedResult for Physical file: Logical file: '' : Insufficient system resources exist to complete the requested service."

    Hi Guys,
    When I try to Brows Cube (SSAS 2005), I get below error (Sometimes):
    TITLE: Microsoft SQL Server 2005 Analysis Services
    Server: The operation has been cancelled.
    The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\674.fact.data', Logical file: '' : Insufficient
    system resources exist to complete the requested service. .
    The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q23.0.prt\385.fact.data', Logical file: '' : Insufficient
    system resources exist to complete the requested service. .
    BUTTONS:
    OK
    and I think due to above Error, Index on a Particular Attribute (EMP_ID) of a DIMENSION DIM_EMP is getting dropped from FEW of the Partitions (Folders) and started getting new error:
    TITLE: Microsoft SQL Server 2005 Analysis Services
    File system error: The following error occurred while opening the file '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\688.DIM_EMO.EMP_ID.fact.map'.
    BUTTONS:
    OK
    I followed the above path and did not find file 688.DIM_EMO.EMP_ID.fact.map in folder PARTITION_2013Q31.0.prt. Once I rebuild the Index (ProcessIndex) for this partition, I am able to See file 688.DIM_EMO.EMP_ID.fact.map.
    But again when next time I get error "Insufficient system resources exist to complete the requested service", Then 688.DIM_EMO.EMP_ID.fact.map will be dropped and will not be available in folder PARTITION_2013Q31.0.prt.
    Anyone had similar issue. Could you please share your experience and resolution if any.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi Shiven,
    In your scenario, the issue occur at sometimes, right? Base on my research, the issue can be caused by that calculation estimate exceeded available memory. Possibly due to possible number of dimension members and sizes of keys. And 32bit environment didn’t
    allow for any expansion to the SSAS memory space.
    To avoid this issue, please try to use userva to fine tune the 3GB setting down to 2900 since /3GB is the likely
    cause (has been for most other customers who encountered the same problem before). The KB Articles below discuss that setting in detail.
    How to use the /userva switch with the /3GB switch to tune the User-mode space to a value between 2 GB and 3 GB
    Regards,
    Charlie Liao
    TechNet Community Support

  • The user exit EXIT_RFEBBU10_001 calls (the transaction FEBAN)

    Hi,
    we are using FEBAN transaction.  Some customization was required to modify FEBEP/FEBRE fields.
    While implementing this in  EXIT_RFEBBU10_001  it was noticed that this exit is called for all unprocessed lines from the bank statement, NOT only for the item we have chosen to post.
    e.g.
    the bank statement has unprocessed 20 lines and we would like to post only one of them. this exit is called 20 times in spite of the fact that we have choose posting only 1 line in the FEBAN.
    I was not able to identify in this user exit the items we are actually posting with FEBAN and ignoring all other unprocessed items from the same bank statement.
    the R_KUKEY is being passed to rfebbu00 and to the exit but I couldn't find where to get ESNUM of the item being posted?
    Is it actually possible to do?
    thanks
    victor

    Thanks, Martin!
    but I am afraid I was not clear in my question.the EXIT_RFEBBU10_001 works less or more fine for us when called from the FEBAN. (the 2nd step, i.e. postprocessing after uploading) .
    while doing unit testing I was only concerned that when a user is trying to post one line from the statement with FEBAN this exit is called for all unprocessed lines from the same statement and I was not able to identify the line the user is actually posting (which, in my opinion, may prevent posting the whole bank statement if the data in one line is not consistent with the logic programmed in the exit ).

  • Enhancement /User Exit for logic setting call date / Horizon

    Due toe planning in IP10 we have a horizon set by the system for (eks.) 80%. This is working OK for small planning intervals (i.e. up to 24 mth intervals).
    However when intarval exceeds this limit we will set the call date to be maximum 30 days (for instance) ahead of the sceduled start date of the order.
    Thus we need a user-defined way to manipulate / set the call date by a user exit (logic in ABAP - or by IMG settings if possible) that differs from the standard SAP setting for this date.
    The question is then how we - in best practice -  can do so.
    Please advice if you need mor information on this issue.

    Hi
    Find the available exits with the following program:::
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    If there are no available user exits you could go for badi's.
    To search for a badi, go to se 24 display class cl_exithandler. double click on method get_instance, get a break point on case statement. execute and start the required transaction in new session. look for variable exit_name. It would show the available badi's.
    Please reward if useful....
    regards
    Dinesh

  • Manual BRS system not picking the doc for clearing the payment

    While processing Manual bank statement if i am  using referance doc no system not picking doc no for clearing the bank payment. So that after finishing BRs I am matching the doc manually, in f-04. This is taking long time for processing. Anyone can tell me why ref doc no not working and to make it to work, or else any problem is there to use the field. please solve my query.
    Edited by: MANISFICO1 on Aug 1, 2011 11:49 AM

    Hi:
           Please follow as given and hopefully you will be able to resolve the issue.
    1...Go to SPRO...Financial Accounting....Bank...Business transactions...Payment Transactions...Manual Bank Statement..Create a new transaction with sign - and do not assign anything in posting rule for now and enter 15 in Algorithm field , save.
    2...In define posting keys and posting rules...create an account symbol for the one you did in step 1..In Assign account to account symbol please use account symbol created earlier and acc mode + and currency should be + too. In GL Account area please list the outgoing GL which you are using for outgoing postings..
    In create key for posting rule define a posting rule and now go back to step 1 and assign the posting rule you created to the transaction type
    In define posting rules please maintain posting rule as define above...in posting area assign 1. give nothing in first posting key.assign account symbol as created earlier...now give give posting key 50..give account credit Bank...and a suitable document you use for posting BRS...In posting type give 4.
    Your Manual Bank statement is ready ....
    Go to FS00 select your bank outgoing GL account there and in create/bank.interest tab double click on Field status group..in general data make assignment number mandatory for posting...
    Go to FB50....post and outgoing transaction using the GL given above it will require you to enter assignment number enter 123 and post.
    In FF67 Select the new statement , proceed with your normal data entry and give the transaction you created in above , enter value date, amount and in bank ref field enter 123 as given in FB50.
    Save and post it. Now it should work.
    Regards

  • User exit for Previous and current system status  for  5 transactions

    Hi Experts
    My Objective to capture the Previous and current status  of system status  for  5 transactions  in their  user exits .
    Description                                         Business Object               Transaction
    Production Order operations              BUS2005                            CO02 to edit Production Order
    Maintenance Orders                           BUS2007A                         IW32 to edit Plant Maintenance Order
    INTernal   ORDER                                 BUS2075                          KO02 to edit Internal Order
    WorkBreakdownStruct                       BUS2054                          CJ02 To edit the WBS element
    Project System Network                      BUS2002                           CN22 to edit Network
    Activities Network
    For Both Production order  and   Project System Network Activities Network    ,
    i got  User exit  "  EXIT_SAPLCOBT_001  " 
    But i am not sure whether we can use this or  not for our purpose . When i am changing status and  then saving ,  my  break point comes  to  EXIT_SAPLCOBT_001  .
    But  can we capture   JEST   or   JCDS  related  data   in that  user  exit  or  How can we capture both Previous status  and Current ( Means New changed status ) . For eg  From Released   to   Technically complete   etc.
    I want Status changed and its immedtiate previous status. 
    Do i need to check Exit  or BADI  before  and after Saving .
    Thanks
    Regards
    Gaurav
    Edited by: TheGaurav on Sep 8, 2011 10:28 AM

    Hi Himanshu
    Many Thanks for the reply . 
    I also had some other processing needs to be done on the basis of those status. .
    So do you have any idea or  how to find what all exits or BADIs  i can use for all of these 5 transactions , where
    i can get data for JCDS ( or JEST ) .
    CO02 to edit Production Order                 
    IW32 to edit Plant Maintenance Order
    KO02 to edit Internal Order
    CJ02 To edit the WBS element
    CN22 to edit Network        
    can we use   EXIT_SAPLCOBT_001  for    CO02  and  CN22   .
    Edited by: TheGaurav on Sep 8, 2011 1:21 PM

  • Urgent:: How to transport customer exit from dev to test system?

    Hi,
    We have created a Customer exit in our development system in the $tmp package, and we want to transport it to our test system. Can you please tell us how to proceed on this. We are not able to change the package as our package is a development package and so does not start with Y or Z.
    Best Regards,
    Charu.

    Your package is RSR right.. this is the package for the function group XRSR where in this user exit exists.
    you need to have a separate development class either starting with Y or Z. If not, ask any developer or your sap basis team to create one for you. then you can assign this development class to your user exit.
    To check this, go to SE38 - enter your program name ZXRSRU01, display, in the menu "goto", CHECK "object Directory entry", you should have this development class.
    Hope this helps.
    Shakeel.

  • Logical Warehouse Management System

    Dear All,
    I want to know the concept of <b>'Logical Warehouse System'</b> in SAP.
    Are all steps of Warehouse Management Syst Implementation to be followed?
    Can the stock in Warehouse be considered in MRP?
    Where in SPRO can I get exact steps for LOGICAL warehouse Management  Syst Implementation.
    Regards,
    Sudhanshu

    Hi
    Please see the attached
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LEWM/MMWM.pdf

  • Catching System.exit() or How to avoid System.exit() - Third Party Tool ???

    Hi All,
    I am using a third party tool which is internally calling System.exit sometimes and my application
    got terminated most of the times.
    It is happening always when i call a particular method of that third party tool.
    Is there any way to catch or avoid the System.exit while using the particular method?
    I need this urgently...Please kindly help.....
    Thanks,
    J.Kathir

    There's a fair bit to it, and you should refer to the appropriate java Tutorials. Bascially you create a .policy file and install a sercurity manager with:
    System.setSecurityManger(new SecurityManager());The policy file grants a set of permissions to various "code sources", basically each codesource is a classpath entry. You could grant "AllPermissions" to your own code, and a more restricted set of permissions to the application you're running. But you can't subtract permissions, i.e. you can't say "this code can do anything except call System.exit().
    I doubt this is going to provide you with a good solution. It's tiresome to set up, and when the client app called System.exit it would crash, which might not result in a clean status.
    I'd consider if you should be using this client app in the same JVM, rather than creating a subordinate JVM using Runtime.exec.

  • Repair permissions Error: The underlying task reported failure on exit, ever since time machine system restore

    Recently had to restore system 10.5.8 Leopard startup volume using Time machine. After many hours of migrating additional important databases that were recovered from failing startup drive, everything seemed to be back up and running smoothly on a new WD 1tb Black drive. Right before I run timemachine again to backup the new revised seemingly stable startup volume, I choose to repair disk permissions using disk utility. Repair permissions failed with this error, The underlying task reported faliure on exit. I tried using the OS X DVD to repair permissions, Diskwarrior, Onyx, none are able to reapair the disk permissions. Although everything seems perfect I would imagine that the system will fail eventually. It's strange that I had no problems repairing disk permissions in the past on this particular system that was the most recent backup. What should I do ?

    Repair permissions always reports a bunch of stuff.  Ignore it if it says it completed successfully.
    Also note that is it usually a waste of time (except maybe after a system upgrade). 

  • TREX NameServer exits with code 128 on system start

    Installed a new TREX server on Windows 2003 x64 server, using standard settings for a stand-alone TREX server.  Installed as Local (not domain) and install completed successfully.  After the install (or after any reboot), all the regular TREX services start up correctly except for TREXNameServer.exe.
    Looking at the trace file for TREX Daemon, here is an excerpt:
    [4084] 2008-11-06 12:01:18.093 i Daemon       TrexDaemon.cpp(07478) : start TREXDaemon
    [4084] 2008-11-06 12:01:18.274 i Daemon       TrexDaemon.cpp(01969) : created shared-memory for NameServer (shm: Handle=0x268, size=16690888, mtx: Handle=0x230)
    [4084] 2008-11-06 12:01:18.349 i Daemon       TrexDaemon.cpp(05496) : start 'TREXNameServer.exe -port 30001' as process 2152
    [4084] 2008-11-06 12:01:18.545 i Daemon       TrexDaemon.cpp(06789) : process TREXNameServer.exe with pid 2152 exited with code 128
    [4084] 2008-11-06 12:01:19.553 i Daemon       TrexDaemon.cpp(05460) : child <TREXNameServer.exe> terminates too soon -> disabled
    [4084] 2008-11-06 12:01:22.367 i Daemon       TrexDaemon.cpp(05496) : start 'TREXPreprocessor.exe -port 30002' as process 2256
    [4084] 2008-11-06 12:01:24.383 i Daemon       TrexDaemon.cpp(05496) : start 'TREXIndexServer.exe -port 30003' as process 2296
    [4084] 2008-11-06 12:01:29.363 i Daemon       TrexDaemon.cpp(05496) : start 'TREXQueueServer.exe -port 30004' as process 4132
    [4084] 2008-11-06 12:01:34.284 e Daemon       TrexDaemon.cpp(04782) : creation of process '"python" alertserver.py' failed: The system cannot find the file specified.
    [4084] 2008-11-06 12:01:34.284 i Daemon       TrexDaemon.cpp(05498) : start 'python alertserver.py' failed
    [4084] 2008-11-06 12:01:34.389 i Daemon       TrexDaemon.cpp(05496) : start 'TREXCruiser.exe' as process 4176
    If I log into the server as <sid>adm, run TREXConsole and then start TREXNameServer, it starts up fine and works without a problem.  However, that doesn't start the Name Server as a service, preventing the unattended operation that one would hope for.
    Has anyone encountered this before?  I've searched all over, but have not located anything that is not allowing the Name Server to start.  I would appreciate any suggestions to help track down this problem.  Thanks.
    TREX Version: 7.10.14.147693
    Windows 2003 Server x64 SP2 with vcredist64, JRE installed

    Hi Jones,
    It turns out my issue was related to security on the Windows drive in question.  I installed the TREX main directory on the E drive of the server and simply added the "Users" group to that drive to fix my problem.  I'm pretty sure that the service user SAPService<SID> was having access permission issues until I added the group to the security settings of the drive.

  • Explain Customer Exit (ABAP) Logic

    Hi Experts
    Could any one explain me what is this Customer Exit doing
    CASE I_VNAM.
    WHEN 'ZXPDATE'.
    IF I_STEP = 2.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = SY-DATUM.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    ENDCASE.

    Hi Santosh,
    Thanks for the Update
    'In your code it is calculating the system data which is greate than or equal to and that value will be restricted to that user exit variable and it will bring the output based on that system data '
    The Variable ZXPDATE (Processing Type-Customer Exit) is Created on Policy Expiry Date.
    My requirment is to show all the Policys whose expiry date is Greater than or equal to Current Cal Day/Sys date
    Is that the code doing
    If not please correct the code accordingly
    Thanks

  • Make an exit via Badi but the system not entry inside. Why ?

    Hello,
    Inside a function module a make an exit via a badi. Following the code:
      es_addr = wa_addr.
      TRY.
          CALL BADI go_badi_address->exit_get_address
            EXPORTING
              im_partner   = i_partner
              im_adr_no    = i_adr_no
              im_date_from = i_date_from
              im_date_to   = i_date_to
              im_applk     = i_applk
            CHANGING
              es_addr      = es_addr.
        CATCH cx_badi_initial_reference .
        CATCH cx_sy_dyn_call_illegal_method.
      ENDTRY.
    ENDFUNCTION.
    The badi is implemented and active, and when the system pass, not entry inside!!
    When the system arrive at line  'TRY', sy-subrc = 4 and jump to ENDTRY without entry in the badi.
    Do you have any idea ? What's I have to check ?
    Thakns and regards,
    Roberto.

    other information:
      DATA: go_badi_address TYPE REF TO zaink_badi_address.
    and I call:
      TRY.
          CALL BADI go_badi_address->exit_get_address
            EXPORTING
              im_partner   = i_partner
              im_adr_no    = i_adr_no
              im_date_from = i_date_from
              im_date_to   = i_date_to
              im_applk     = i_applk
            CHANGING
              es_addr      = es_addr.
        CATCH cx_badi_initial_reference .
        CATCH cx_sy_dyn_call_illegal_method.
      ENDTRY.
    se18 -> badi-name: ZAINK_BADI_ADDRESS
    If I click on implementation I come to:
    badi implementation: Z_BADI_CREATE_BUPA_FOR_AGENCY
    and than:
    implementation class: ZCL_BADI_CREATE_BUPA_AGENCY with method: ZIF_AINK_ADDRESS~EXIT_GET_ADDRESS
    The interface is:ZIF_AINK_ADDRESS
    limited filter use is empty.

Maybe you are looking for