Place to put a code for dunning level change in F150

Hi,
I have a requirement to block the credit management of a customer ( KNKK-CRBLB) when dunning level of a customer reaches 3 (KNB5-MAHNS or MHND-MAHNS).
I put my code in FM 'CHANGE_DUNNING_DATA'. But this  FM is executed only for the few cases. Reasons are unknown to me. It may be because this FM is called in another FM 'PRINT_DUNNING_NOTICE'.
I believe that dunning is completed when the dunning notice is successfully mailed, faxed or printed. Then only the customer master is updated.
The program for F150 is SAPF150V. But neither KNB5 or MHND is updated in this program.
I tried BTE's also. But none of the BTE's is called when a dunning notice is printed.
I am not able find the place where i can put my code.
Kindly help..!!!!

Hi
With the field that I told you in OVA8 you can achieve to lock some SO or delivery because the customer has some level in dunning (it's updated from F150 but you can change it in customer master). To know BTE's in dunning see SAP Note 156985 - Reference Note: BTE for dunning, but I have doubts that it will help you
Regards
Eduardo

Similar Messages

  • Urgent where i put this code for delete

    hi master
    sir this code is right for my requirment but when i put on_delete event system not respons or not delete record
    where i put this code for conditional deletion
    this is my code
    declare
         recno number;
    begin
    if :system.cursor_block='accbal' then
    delete accbal where accid=:chartofacc.accid;
         go_block('chartofacc');
         next_record;
    elsif :system.cursor_block='chartofacc' then
         select count(*) into recno from accbal where accid=:chartofacc.accid;
         if recno=0 then
         delete_record;
         go_block('chartofacc');
         previous_record;
         else
         message ('system found matching record then no delete master record');
         message ('system found matching record then no delete master record');
         end if;
    end if;
    end;
    please gide me which event i use
    thanking you
    aamir

    Hello,
    The ON-DELETE triger fires only after a COMMIT statment and only for those records that have been deleted in the block.
    Francois

  • Best place to put validation code?

    Hey,
    When using jsp and html forms for passing information from the
    client to the server, where should i put the validation code? Is
    it better to put the code in the bjc4 classes or to make some
    FormHandler.jsp which checks wheter correct values/types typed
    in the form by the user?
    If i put the code in the bc4j classes, how can i then interact
    with user, when he makes an error?
    thx

    The question is the classic stand off between resuablity and
    modularity and user interface.
    If you put the validation code in the client (jsp) then the user
    sees the error quickly and it is relatively painless. However,
    if the rules change, you must change ALL of the clients that
    enforce that rule.
    If you put it in the middle-tier then there is the delay in the
    user feedback. The middle-tier will only validate the code on
    some sort of post. However, your validation code will be in only
    one place and therefore easy to maintain over time.
    So what's the solution. I suggest for JSPs a combination. If the
    rule is a real business rule then it needs to be validated in
    the middle-tier. If it is something that is prone to user typing
    error and is simple enough to be enforced within html, then it
    should go there also. You must remember that those client based
    rules can spread and your maintenance effort will go up.
    Gary
    JDev Team

  • SRM 7.0 course codes for Associate level certification

    Hi
    I would like to go SAP SRM 7.0 Associate level certification, kindly let me know the course codes for SRM 7.0 certification.
    currently, i have read SRM.1, SRM 210, SRM 200 & SRM 270 are these manuals are sufficient for SRM 7.0 Associate level certifcation.
    Thank you

    Hi,
         You can get the information from ( training.sap.com ).
    C_SRM_71 - SAP Certified Application Associate - SRM 7.0 EhP 1  (The one which you asked for)
    C_SRM_72 - SAP Certified Application Associate - SRM 7.2.
    P_SRM_71 - SAP Certified Application Professional - SRM 7.0 EhP 1
    P_SRM_72 - SAP Certified Application Professional - SRM 7.2
    I am not the best judge for those manuals. So I can't suggest you on that part of your question.   

  • Where to put the code for dynamically change  dataprovider

    I have a table bound to dataprovider1 by default ( by the SJC ). In the same page, I also have a dataprovider2 which is for the same fields of the same table of dataprovider1. The only different is to put some criteria on one field ( like F_D1 = '5' ) so that one provider will show all rows, the other just some rows.
    The code to change the dataprovider is as follows :
    tableRowGroupWorksheet.setValueBinding("sourceData", getApplication().createValueBinding("#{WorksheetPage.dataprovider2}") );
    If I put this code into some button_action() and then I click that button, then the page displays the corresponding data just fine.
    But if I put this code in either preprocess or prerender, then things seems messed up : the number of pages is for data of dataprovider1, but when I click button Next of the table then it shows the number of pages of dataprovider2. ( I also try to put it in init but this does not help either ).
    I need this code to be run when this page is selected but right now it requires me to click on a button :(
    The reason I need it runs automatically is because of the logic generated from the previous page.
    Thanks for your advive,
    Vu

    After re-reading the life-cycles of JSF and the injected phases of SJC, I think I know why it does not work when the page is first called. In this case, AplyRequestValue phase is skipped therefore preprocess is never called. Also in this case, the component tree, with binding, validators, ... is only built in the Render Response phase and this phase is right after PreRender is called therefore the binding code I put in prerender is overwritten by Render Response.
    When using a button action, the component tree is already built and not rebuit under Render Response, therefore that code is not overwritten. Also in this case, preprocess is called so putting that code under either preprocess or prerender will work.
    Please correct me.
    Thanks,
    Vu

  • GRR2- 4FM-RepPaint(put ABAP code for convert data in field)

    Hi,
    If somebody know how possible add ABAP code for convert data in some column-field of report (by RepWriter,UserExit,BADI)?
    Thanks a lot.

    Elaborate your question. Not clear ??

  • Where do I put the code for ePrint mobile?

    I am currently signed in and can't find the area for ePrint mobile.

    Hi MalWill456,
    Which code are you talking about?:
    - The ePrint code that printed off when web services was enabled?
    - The code for the HP ePrint Home and Biz app?
    - The code or server for the HP ePrint Service app?
    Depending on which code you need, you would obtain it different ways.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Dunning level change

    Hi gurus,
    My client having the 9 line items under one customer. In that 3 line items are dunned based on their due date and they are in different dunning levels
    1 line item- level 2
    2 line item-level 3
    3 line item-level1
    Now my client is asking to  run dunning level 3 for customer of 3rd line item.
    How can i run the 3rd level for this situation?
    Is the changes related to document level or master data level?
    It is not possible to change the dunning level in customer master because system showing the highest dunned level (3rd) in master record.
    Thanks in advance
    Gamidii

    Hi,
    Thanks for your prompt reply.
    The changes what you are mentioned is related to document level.
    Is there any implication in customer master ?
    Regards,
    Gamidii

  • Most use ful t code for Material Master changing

    Dear All,
    Can any one give me most useful T-codes for create, change and display material master.
    I have one T-code which is very useful for material master it is "MM50". With help of this tcode you can see material extend detail and also you can delete mass material with help of this tcode.
    So please use it and also give me other this type of tcodes.
    Regards,
    Mahesh Wagh

    Hi,
    MM17, LSMW, MM50 --- These are the 3 main transactions which is used frequently to Mass change the  Material master.
    There is one more option is there using BDC Upload.
    Batch Data Communication or BDC is a batch interfacing technique that SAP developed. It is mainly used for uploading data into the SAP R/3 system. BDC works by simulating the user input from transactional screen via an ABAP program.
    The data input data file will come in the form of a flat file which the user save as file type txt file or prn file from the Microsoft Excel program. An Abaper will create a program to read the text file and upload into the SAP system.
    Transaction -- SHDB will be used to record the change material master. After, the simulation, the Abaper can generate a sample program and modify from there. It makes the programming easier and faster.
    For a BDC upload you need to write a program which created BDC sessions.
    hope you got it. Take a help of  ABAPer for this BDC Upload.
    rgds
    Chidanand

  • Where to put init code for static variables? (for UIImages)

    I know that static variables are sorta a global, is that how UIImage is usually stored? What is the convention to declare UIImage variables that exists throughout the lifetime of the app? Where is a good place to init it if I choose to use static variables?

    OK, in that case do something like this:
    MyClass.m
    #import "MyClass.h"
    static UIImage *classImage;
    @implementation MyClass {
    + (void)initialize {
    classImage = <whatever to load image>;
    Code like the above makes the 'classImage' variable work like a typical class variable. It is available to all instances of MyClass but is not visible to other classes. Like a 'private static' class variable in Java. Nothing goes in the header for this variable.
    The 'initialize' method is called once the first time anything ever references MyClass. Kind of like a static initializer in Java. Notice the use of '+' instead of '-' for the method. The '+' makes it a class method instead of an instance method.
    Does that help?
    Message was edited by: RickMaddy

  • T code for reorder level stock

    Dear Sir,
    I would liketo know the Transacton code or path to have a report of the reorder level stock and existing stock.
    Can any body have a look at this.
    Thanks
    Hari Kishan

    Thanks

  • Best place to put startup code in EJB deployment?

    Hi,
    I'm working on an application which involves timer services and JMX, and I'd like to ask for your opinion on how to deal with startup of those services in an EJB deployment. If you dealt with those issues before, I'd appreciate it if you could share your experiences/best practices on the subject.
    Timer services need to be started, and MBeans need to be registered with the MBeanServer, so I'd like to see how can this be done upon application deployment.
    I'm using Sun Server as an EJB server.
    Thanks,
    Mark

    Since the ejb spec doesn't define an application initialization event, the only portable way of doing this that I've heard of is to use the ServletContextListener.contextInitialized() event to send a message to an MDB within the same application. Since EJB Timers are persistent and their identity is tied to a particular application component, the MDB's onMessage method can use getTimers() to see whether the timer already exists. If not, it's the first time the application has been deployed.
    I agree the auto-creation of timers upon deployment would be a good addition to the spec :-)
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • IPod Nano Lock Code for Volume Limit change

    Does anyone know what the 4-digit code on the Nano is as it comes from Apple, or know where in the documentation I can find it ? I want to change the volume limit and don't know what the code is and can't find it in any of the packaging material that came with the Nano...
    ...I don't want to have to restore it, and lose all of the files I have on it and have to re-load it from scratch.
    Thanx !

    It doesn't come locked so there should not be a limit on it. Restore it in iTunes to clear it if you have one. This is a 1st Generation Nano?

  • Need to update out put tax classifcation code for a range of items in Orac

    Hi,
    I need to update out put tax code for a range of items in Oracle EBS. At the moment we update tax code for individual items manually ubder invoice tab. Is there a better way to do this.
    Regards

    Where can I find the mtl_system_items_interface table?Under INV schema.
    R12 -- INV.MTL_SYSTEM_ITEMS_INTERFACE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=MTL_SYSTEM_ITEMS_INTERFACE&c_owner=INV&c_type=TABLE
    11i -- INV.MTL_SYSTEM_ITEMS_INTERFACE
    http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=MTL_SYSTEM_ITEMS_INTERFACE&c_owner=INV&c_type=TABLE
    Thanks,
    Hussein

  • The better place to put EJB Initialization code

    I have some stateless session beans that need to be initialied from a few sources
    to set
    some internal variabes. Where would be the best place to put this code.
    In the ejbCreate , in a default constructor, or in the setSessionContext method.
    Thanks.

    Thanks.
    Rob Woollen <[email protected]> wrote:
    They're all roughly equivalent.
    When the container wants to create a new slsb instance, it will call
    the
    ctor, setSessionContext, and ejbCreate in that order.
    FWIW, setting initial-beans-in-free-pool to > 0 will instruct the
    container to precreate instances if you're looking to do that as well.
    -- Rob
    Tim Bounds wrote:
    I have some stateless session beans that need to be initialied froma few sources
    to set
    some internal variabes. Where would be the best place to put thiscode.
    In the ejbCreate , in a default constructor, or in the setSessionContextmethod.
    Thanks.

Maybe you are looking for

  • PS CS4 constantly gets stuck in the layer "options" menus

    I'm talking about things like the Opacity, Fill, or.. I never know what to call that sucker with the "Normal, Dissolve, Multiply," etc. options. (Sorry, I'm not a newbie, just never had a term for that presented to me.) If I use one of those drop-dow

  • Can't start image viewer

    Hi, I can't start the image viewer on my macbook air. When I try, it shows my a new window with the mistake -1712. Has anyone experienced such a problem? – And know how to fix it?

  • Image transfer data being altered.

    Hey, I am trying to send an image over a socket connection. I can send the data and it writes to the file. The problem is that some of the bytes have been changed. It seems that the byte that are changed are all changed to 63. Does anyone have ideas

  • Scheduling jobs through dbconsole

    Just trying to clear my concepts about automating jobs, my understanding is we can automate jobs through crontjobs (on unix) /taskscheduler (on windows) The other option is DBMS_SCHEDULER. any jobs like RMAN backups or sql scripts running should show

  • ATTN: APPLE, Please read this!!

    I love my new Iphone 4 but but please provide a way to turn off multitasking. It wastes the battery if not used.