Need Help ON F150( DUNNING LETTER)

Hi experts,
i am working on Dunning form and my requirment is generate unique number and print it to the Our Reference field. i know that how to generate the unique number through number range object.
But the point is where should i write that code that call the function module after clicking on the application toolbar Print option.
that is on top of the screen
please give me some idea....
i m waiting for the ur valuable idea....

Hi Ashu,
You can create a subroutine and write form in it. This form...endform will contain your code. Then to call this form , add perform in your main window of script which is getting called.
E.g :-
/:           DEFINE &W_BUKRS& = &T001-BUKRS&
/:           PERFORM F_VALIDATE_COUNTRY IN PROGRAM <SUBROUTINE_NAME>
/:           USING &W_LAND1&
/:           CHANGING &W_LAND1&
Thanks,
Rupali Punekar

Similar Messages

  • I can't get the product i bought need help NOW doesn't let me connect when i have good internet

    i can't get the product i bought need help NOW doesn't let me connect when i have good internet

    [personal information should not be posted - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    https://www.adobe.com/account.html to check your subscriptions
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

  • F150 : Dunning Letter

    Hi,
    Dunning letter procedure  (F150)  currently creates an output in PDF format but the remqt is to get the output in PDF and alos in text files with some modifications in the text file.
    Could anyone pls. help me how to achieve this.
    Thanks.
    Edited by: Sri KVS on May 20, 2010 9:55 AM

    Hi,
    sorry, here yesterday it was a day off.
    For the code, if you  want to copy the pdf you have to take the number of spool and convert it in an other pdf (but you will get the same printing). If you want to get an another form (different from the standard: no logo, header ...) you have to do a new form (smartform ou sapscript one) and to call this new form in the enhancement...
    if you do a new sapscript form: you should use: open_form.... write_element.... close form (like in the function standard F150_printing_notice)
    and if you use a smartform one, you should use the function     call function 'SSF_FUNCTION_MODULE_NAME'
    to know the function associate at your smarform form.
    and after
    call function lf_fm_name
            exporting
              archive_index        = toa_dara
              archive_index_tab    = tsfdara
              archive_parameters   = arc_params
              control_parameters   = ls_control_param
              mail_appl_obj        = ls_mail_appl_obj
              mail_recipient       = ls_recipient
              mail_sender          = ls_sender
              output_options       = ls_composer_param
              user_settings        = space
              is_vbdkr             = is_vbdkr
              is_nast              = is_nast
              iv_spras             = lv_spras
              iv_spras_ag          = lv_spras_do
            importing
              job_output_info      = ls_job_info
              document_output_info = ls_document_output_info
              job_output_options   = ls_job_output_options
              es_vbdkr             = vbdkr
            tables
              it_tvbdpr            = it_tvbdpr
            exceptions
              formatting_error     = 1
              internal_error       = 2
              send_error           = 3
              user_canceled        = 4
              others               = 5.
    for calling the form...
    It's depend of what you have to do: sapscript or smartform printing. But you will do a new form, i think
    Best regards
    Hote it'shelpfull

  • Invoice number on F150 dunning letter

    Hi,
    We need to have invoice number on the dunning letter on the trans code F150. May I know what are aspects or points we need to suggest to Abapers form the FI point of view
    Thank you
    Chaithra

    hi,
    Henri
    Thanks for your response. May i know in detail about it please. Where to write these sap scripts please.
    Thank you
    Chiathra

  • F150 : Dunning letter print

    Hi,
    I customized Form for a Dunning letter (level 1) in Tcode FBMP, but when I tried to print a dunning letter I get this message : 'Form ZF150_DUNN_1 does not exist'
    Is there any other customizing point must I do ?
    Please advise
    Regards.

    HI,
    It seems that the dunning form is not assigned properly
    In FBMA  click on dunning procedure - > dunning text - > give Company code -> And check whether form is assigned there
    Atlast   Try OBL6 might give you some idea
    hope this helps
    pbb

  • Need help regarding the dunning form

    Hi,
    I have to display all the sales and payments of a cusomter for all the periods that are older than the run date in a dunning form. (i.e) if the run date is 04-aug-05 and if the slaes are there in 3 months(april, May, july) then i have to display three line items with sales and payments for that corresponding three months in the line items. As this is a dunning form i cannot change the print program. any table which have all the sales for a period which i can access directly in the script. can anyone suggest how to handle this.
    regards,
    Asha

    Hi,
    You can call a subroutine within a program (your z program)
    /:   PERFORM ADD_AMOUNT IN PROGRAM SAPLZFTP_F150
    /:           USING &W_AMOUNT&
    /:   ENDPERFORM
    In the z program create this subroutine.
          Form ADD_AMOUNT
         -->FT_INVAR  Text Symbol table for input  variables
         -->FT_OUTVAR Text Symbol table for output variables
    FORM add_amount TABLES ft_invar   STRUCTURE itcsy
                           ft_outvar  STRUCTURE itcsy.
      STATICS:
        w_value_l    TYPE  f150d-salfw.
            READ TABLE ft_invar INDEX 1.
            IF sy-subrc IS INITIAL.
    you can check all this part of the code how you want to
    process your data whether its numeric or character or
    whatever
               w_value_l = w_value_l + ft_invar-value.
            ENDIF. "IF sy-subrc IS INITIAL.
    ENDFORM.                    " ADD_AMOUNT
    TO BESPOKE THE PRINT PROGRAM FOR THE DUNNING
    Dunning outputs use the function module FI_DUNNING_PRINT_NOTICE. You can copy this to a Z function module and make some changes to the data selection. You will have to look into the code and decide what changes you need.
    The process to use a bespoke program to do the dunning print is as follows:
    UNDER FI GLOBAL SETTINGS in the configuration,
    There are Business Transaction Events. Within that you can configure the same to enable a Z function module in place of the standard function module (from the FUNCTION GROUP F150)
    • Create function group ZFTP_F150
    • Copy standard function module FI_PRINT_DUNNING_NOTICE of function group F150 to ZFTP_FI_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    • Copy standard function module PRINT_DUNNING_NOTICE of function group F150 to ZFTP_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    • Within the function module ZFTP_FI_PRINT_DUNNING_NOTICE, change function module call for PRINT_DUNNING_NOTICE to ZFTP_PRINT_DUNNING_NOTICE
    • Create a new include ZFTPI_ROUTINES within the function group and copy the subroutines LOG_MSG, LOG_MSG_TAB, & LOG_SYMSG from the function group F150 to this include
    AS AN ALTERNATE, YOU CAN COPY THE WHOLE FUNCTION GROUP
    • Maintenance view TBE31 (SM30). Change the function module from FI_PRINT_DUNNING_NOTICE to ZFTP_FI_PRINT_DUNNING_NOTICE against the event 00001720 FI-FI entry
    Hope this helps.
    regards,
    Satya

  • F150-dunning letter printing conditions

    Hi All,
    dunning smart form(custom)was getting called from SAPF150D2 program ,but the problem is i need to restrict the smart form call based on some particular custom conditions like level1 should trigger after 15 days level 2 letter with 9 days like this(from ztable values)
    as of now i am restricting with in smartform code(global-initilization)which  leads to blank page printing for some customers with in the selected range(becuase i am deleting customer internal table based on conditions) so can any one please sugget how to restrict customers before smartform call.
    Thank you.

    Convert program into Z-Program and write a code before calling smartform.
    else try to check explicite enhancement for program .
    Thanks.
    Amit

  • Need Help - It won't let me just sign out without logging back in!

    Every time I shut down or restart my mac, it forces me to log back in once I turn the computer back on. I can restart it, or shut down and it won't just restart without forcing me to log in. It never used to do that, it would just load back to the desktop right away. I never click 'log out' but it's still having me log in each time.
    How do I make it so that it does not log out every time? I'm open to any suggestions thrown my way. It's gone from a mild annoyance to an inconvenience now, having to log in without ever having logged out in the first place.
    Thanks for your help - hope to hear from someone! Please help!!

    Check that automatic login isn't disabled from either the Accounts or Security panes of System Preferences. An account protected by FileVault can't be logged into automatically.
    (57381)

  • I need help finishing my cover letter!  :)

    I wrote a resume on web pages and as it was being edited there were vertical lines, one along each paragraph.  How can these be deleted?  Thank you!

    Hi,
    Your Post has ended up in the iChat area from some reason.
    Which App are you using so we can redirect you ?
    8:32 PM      Wednesday; January 11, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Send Dunning letter (TCODE F150) by email

    Dear Friends,
    I need to send a dunning letter(which is generating from tcode F150) through email to all the customers.I did BTE for event 00001040.function module is   SAMPLE_PROCESS_00001040. I copies above FM and rename as Z_RSAMPLE_PROCESS_00001040. I just add a break point statement and ran a F150 tcode. But it will not stoped at the breakpoint.
    I did FIBF settings also to register the modifications.
    Thanks
    Rasika

    How can i replace existinf FM with ZFM.
    What i did was i copied the existing FM to ZFM and activated it.
    After that i went FIBF Settings.....> Products.....>Customer and created a new Z product .
    *Again i took FIBF Settings.....>P/S Module......>of a Customer and add my ZFM to slected(00001040) event.
    After that i ran the F150 but break point did not apper.

  • Help need for Dunning letter (F150)

    Hi Experts
    I have  a problem with dunning letter
    In level 1 only the client needs Two tables data , In table one i need to print the over due items only and in table two i need to display all items(it may overdue or not) in main window.
    In debug i have find PRINT_DUNNING_NOTICE (FM is triggring).
    i have printed the table one data by using the text elements 530 - Line item heading , 531-- Line item line layout ,
    My question is how to print the Table two data, i didnt find other text elements for solving the problem.
    in this case what needs to be done, can we create the same text elements like 530 & 531 & 581 & 582.
    Thanks in advance
    suresh

    Hi
    I got the Result by doing the below process..
    Dunning outputs use the function module FI_DUNNING_PRINT_NOTICE. You can copy this to a Z function module and make some changes to the data selection. You will have to look into the code and decide what changes you need.
    The process to use a bespoke program to do the dunning print is as follows:
    UNDER FI GLOBAL SETTINGS in the configuration,
    There are Business Transaction Events. Within that you can configure the same to enable a Z function module in place of the standard function module (from the FUNCTION GROUP F150)
    u2022 Create function group ZFTP_F150
    u2022 Copy standard function module FI_PRINT_DUNNING_NOTICE of function group F150 to ZFTP_FI_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    u2022 Copy standard function module PRINT_DUNNING_NOTICE of function group F150 to ZFTP_PRINT_DUNNING_NOTICE in function group ZFTP_F150
    u2022 Within the function module ZFTP_FI_PRINT_DUNNING_NOTICE, change function module call for PRINT_DUNNING_NOTICE to ZFTP_PRINT_DUNNING_NOTICE
    u2022 Create a new include ZFTPI_ROUTINES within the function group and copy the subroutines LOG_MSG, LOG_MSG_TAB, & LOG_SYMSG from the function group F150 to this include
    AS AN ALTERNATE, YOU CAN COPY THE WHOLE FUNCTION GROUP
    u2022 Maintenance view TBE31 (SM30). Change the function module from FI_PRINT_DUNNING_NOTICE to ZFTP_FI_PRINT_DUNNING_NOTICE against the event 00001720 FI-FI entry

  • Dunning letter F150 issue

    Hi ,
    I want to send dunning letter through F150 tcode.The customer wants both option email as well as print.I have done the coding for both.But the program takes only one option at a time. The client wants both the option that send mail as well as print.How to do this.
    Thanks & Regards,
    Anagha Deshmukh

    Hi,
    You can [Check this. Hope this might be helpful|Sending dunning letters by email;. And also [Check this thread.|Dunning letters Option - Print/email;.
    Thanks,
    Abhijit

  • Dunning letter - F150

    Hello all experts.
    I have a great request, who can help me with some information on dunning letter u2013 transaction code f150.
    I set the type of correspondence, i assigned to the F150_DUNN_01 to form SAPF150V program, i allocated the printing correspondence RFKORD10 to the company code, I created a new dunning area, dunning keys, dunning procedure (FBMP), 
    I set interest rates for calculating penaltys and when i run the transaction f150, it appear the with the positions of customer bills, but i is not penalty, instead appears a line called " dunning tax" in wich the system that divides the balance in 1000.
    I'm interested to appear in dunning the penalty for each line ithemes
    Please can you help me with some information or documentation with something more to the purpose.
    Thank you in advance.

    Hello,
    Into FBMP, at the dunning levels, you have to check "Calculate interests";
    Then you have to Define Interest Calculation Types into OB46 transaction.
    Then into dunning procedure, Define Interest Rates into OB42 transaction.
    Hope my answers will help.
    Regards,
    Aurelien

  • Ok so I updated to iOS 7 on my iPod (5th) it let me update my apps but I cannot download new apps thanks to the terms and conditions. Also my iTunes won't start it just blank, I tried everything I need help

    Ok so I updated to iOS 7 on my iPod (5th) it let me update my apps but I cannot download new apps thanks to the terms and conditions. Also my iTunes won't start it just blank, I tried everything I need help

       Did you download the new iTunes update that was also released this afternoon? That might be the problem. The new iTunes update came out today as well as the new iOS 7 update and if you haven't downloaded the new iTunes update it may be a compatibility problem so if you didn't, first update to the new iTunes and try again.

  • I need help with resetting my ichat. When i try to login now it wont let me... it says "AOL Instant Messenger password" and then "iChat can't log in to ... because your login ID or password is incorrect. How do I reset this if I cant log in?

    I need help with resetting my ichat. When i try to login now it wont let me... it says "AOL Instant Messenger password" and then "iChat can't log in to ... because your login ID or password is incorrect. How do I reset this if I cant log in? When I try to press online the same thing pops up and I have no way of logging in or asking for help.

    Hi,
    iChat (it would help to know which version) can accept Apple IDs as valid AIM Screen Names.
    However if you have iChat 5 or earlier you cannot use ones ending in @me.com or @icloud.com issued by iCloud. (they can be used in iChat 6 or Messages as these versions make a double login to AIM and Apple to allow the use of the password).
    In addition if you are using an Apple ID for an AIM Screen Name the password still needs to keep to the 16 character limit that AIM has.
    AN @mac.com name can be used on any version of iChat  (Until the 30th June 2014)
    As it does not need a double check with Apple you can use it to log in to the AIM Web pages
    Login here with an AIM Name registered at AIM or and @mac.com name and see if you get any suspended account messages.
    Sometimes account can be suspended. Usually because something has triggered the "Unusual Activity" item.
    About a year ago many @mac.com users that travelled out of their own country found themselves suspended when they got home.
    If the Name checks out of if an Apple ID the password in known to be 16 characters or Less then do this:-
    In Lion upwards open a Finder Window and use the Go Menu whilst holding down the ALT key.
    Select the Library that appears in the menu list.
    Navigate to Preferences.
    (If you have version earlier than Lion the just navigate to ~/Library/Preferences (that's the Library in you Home - Little House icon - folder)
    Fnd com.apple.ichat.aim.plist (even if you are using Messages)
    Drag the file to the Trash and Restart the app.
    7:39 pm      Thursday; May 29, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for

  • Macbook Pro i5 freezes in Win 7 (Boot Camp)

    Hey guys, loving my new MBP (It's my first Mac, yay) except for one thing... It is freezing randomly in Win 7 Pro 32bit. I'm using Bootcamp 3.1 drivers. The mouse cursor will freeze and I can't do anything. I have to hold the power button down for a

  • Iphone not showing up in Itunes or Iphoto

    Hi I recently performed an erase and install of Snow leopard on my Mac. I then used migration assistant to restore my data. I notice that when I plug my Iphone into my Mac Pro, it does not show up in Itunes or Iphoto. How can I get it to show up agai

  • Hotsync manager

    I am running Windows 7 64 bit and recently installed Palm desktop. I've had this for years (since it came out!) and I only use desktop to keep the hundreds and hundreds of addresses and phone numbers I have - I don't even use my Palm 3e anymore.  Eve

  • Samson cu01 usb mic

    Help! I cant seem to get my cu01 to work with logic express I have tried most everthing, including the advice samson gives on their site. when I select the cu01 in the audio hardware and play logic I dont get any input from the mic, as well, I get a

  • When I open an email to reply, recently it opens in full screen.  Why?

    Recently, when I open mail to reply to an email' it goes into full screen.  How can I prevent this??