VF04 enhancement.

Hi All,
my requirement is as follows:
1. while creating an invoice, if certain output type is there then I need to display a pop up window for certain email addresses and then save those emails in certain Z table.
    I got an enhancement where I can do this which is V05N0001.
2. Now when invoices are done through collective billing that is through VF04, the pop ups shoul not display but I should have facility so that atleast I can save the emails and afterwards I can modify them whether the email should be sent or not.
My question is Can I use the same enhancement for VF04 also? if yes then I can do coding based on Tcode.
Means if va01 or va02 is there then display pop up and if vf04 is there then dont display pop up and only save data in Ztable with certain flag.
Thanks in advance,
Rgds,
MadhuriG

HI,
Check If the enhancement exit is also triggered for VF04.if yes
then you can write as
if sy-tcode EQ 'VF01' OR 'VF02'
call and display the FM
save in ztable
elseif SY-TCODE EQ 'VF04'.
save in ztable.
endif.
Regards,
Nagaraj

Similar Messages

  • VF01/VF04 Custom enhancement

    Dear Experts,
    We got requirement where in we have to copy VF04 selection screen (<b>SCREEN #1</b>), add additional fields and filter output based on the selection criteria. Out put of this selection will be ALV out put <b>SCREEN #2</b>) where all line of sales order displayed only Quantity fields open for modification by user if they want to modify before creating billing document. In out put screen (<b>SCREEN #2</b>) user got 2 options ‘SAVE’ and ‘PRINT’. If Print then using VF31 report need to be outputted. If SAVE then I have to call either VF01 or VF04 to create billing document.
    My issue is if I call any of <b>VF01/VF04</b> input parameters will be sales order no/Billing type/Billing due date. But if I pass this, values (quantity) changed by user in <b>SCREEN # 2</b> will not reflect in billing document it will pick all again from sales order and do as standard functionality does. So my question is how can I make VF01/VF04 pick up details from <b>SCREEN #2</b> and process accordingly. I know it’s bit confusing, but this is enhancement customer want. Thanks in advance. Let me know if any additional details required Any idea or directions if you can think how I can handle this requirement will be of great help.
    Regards,
    Tim

    Hi Tim
    you cannot influence the quantities to be invoiced in the way you describe. You only can make a full invoice of the preceding documents with some rules based on copy control in customizing.
    It is dangerous to manually change the quantities in a user-exit, because SAP has a lot of addinitonal index tables which would be corrupted.
    You can only print with VF31, when invoice is already created. So you need a third screen which shows all invoices   created by Screen2 where you can start printing.
    Regards
    Rauno

  • How to create enhancement for VF04 for program SDBILLDL

    Hi,
        How to create enhancement for VF04 for program SDBILLDL
        I need to create custom enhancement for the Tcode VF04.
    Requirement:
    The output displayed is to be filtered based on the input given in the selection screen filed - Sort Criterion in the transaction VF04. The filter is for displaying Sales orders if contract number is given as input and Deliveries if shipment number is given as input.
    Regards,
    Kishore.

    Hi Kishore,
    Check this User exit EXIT_SAPLV60A_002.
    Reward Points if this helps,
    Satish

  • Vf04 billing stop after I did one enhancement.

    Hi,
    For business requirement, I developed one table and need to maintain this table before print the billing.
    If this table has not been maintained, when I print the billing, system come up with an warining message to remind maintaining the table. This restriction is set through smartforms in the billing releted output.
    However, if I use vf01, this billing can be generated, only print is not allowed without the table maintained.
    If I use vf04, then if only one billing in the list has not been maintained into the table, then all the billing can not be generated.
    Please help me to see why this will happened.
    Thanks a lot!

    HI.
    Thanks for your reply. I already sent the issue to our ABAPer.
    Based for their explaination, seems because I set the billing as print immediately.
    So my question is what is the SAP standtard logic for vf04.
    For example, I have 3 deliveries need to do billing.
    what is the procedure:
    1. do first delivery billing and print it out and then go to next deliver.
    2. do three delivery billings and then print them all.
    If it is the first one which seems like this. then it should have at least one billing instead no billing has been generated.
    Could you help to me to clarify this logic?
    Thanks a lot.

  • VF01/VF04 user exit

    Heloo Gurus,
    I have a scenario where I need to copy some fields from shipment document (VT03N) into EIKP table at the time of Invoice creation. Transaction VF04/VF01
    Can you gurus help me with the appropriate user exit to be used?
    The process in as follows.
    Create Sales order VA01
    Create delivery VL01n
    create shipment VT01n
    Post goods issue VL02n (At this time some of the header details need to be updated in EIKP table)
    Invoice VF01/VF04
    Thanks
    Sunny

    Exits
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference number)
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedure
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lists
    V61A0001  Customer enhancement: Pricing

  • Adding selection parameter in VF04 selection screen

    Hi Gurus...
    I need to add a selection parameter on selection screen of VF04 transaction.
    Is it possible to do so?
    If yes, please tell me how.
    Thanks.

    HI Jagdish
    You can go in for Source Code Enhancements. (wont require the access key in this case)
    Note - Available SAP ERP 6.0 onwards
    1) Just click on the spiral (ENHANCE) button
    2) Right click on the suitable enhancement point / Enhancement Section
    3) Go to Enhancement Implementation -> Create
    4) Add your code in the enhancement implementation and activate
    You will need to add your code at multiple place (Obviously !!); just use the same implementation for all the Point / Sections you use in the program.
    Refer Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework for more.
    Hope it helps. Please revert in case of specific issues.
    Neeraj

  • User exit for VF04

    Hi All,
    Can any help me regarding the user exit for transaction VF04. the requirment is
    When i click Display Billing List Button it will show up a alv report for "Maintain Billing Due List". when i select some Documents and click SAVE then it will generate Invoice. The enhancment should happen along with the INVOICE generation the Printing of Invoice should happen.
    If any one of you have done this kind of requiement please help me.
    regards,
    Lakshmikanth.T.V

    Hi,
    Would be much easier, when you tell us the exit you are talking about.
    I searched and found exit EXIT_SAPLV60P_008. When you have a look into the calling of this exit (where-used-list), then you will find routine vkdfs_data_display in include SDBILLDL.
    That's immediately before ALV-display, obviously this whole routine is never called in batch.
    But in batch you have EXIT_SAPLV60P_009, EXIT_SAPLV60P_010... maybe you should make a search for a better (or second) place for your enhancements.
    Regards,
    Bhaskar

  • BADI or User Exit for VF04

    Dear All,
    I want to stop the split of Invoice of the same customer. Can anyone know the BADI or User Exit to Implement this?
    Please help ASAP.
    Thanks in advance.
    Best Regards,
    Prasad

    Transaction Code - VF04                     Maintain Billing Due List                                                                               
    Enhancement/ Business Add-in            Description                                                
    Enhancement                                                                               
    V61A0001                                Customer enhancement: Pricing                              
    V60P0001                                Data provision for additional fields for display in lists  
    V60A0001                                Customer functions in the billing document                 
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure  
    V05I0001                                User exits for billing index                               
    SDVFX011                                Userexit for the komkcv- and kompcv-structures             
    SDVFX010                                User exit item table for the customer lines                
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)  
    SDVFX008                                User exit: Processing of transfer structures SD-FI         
    SDVFX007                                User exit: Billing plan during transfer to Accounting      
    SDVFX006                                User exit tax line in transfer to accounting               
    SDVFX005                                User exit reserves in transfer to accounting               
    SDVFX004                                User exit G/L line in transfer to accounting               
    SDVFX003                                User exit cash clearing in transfer to accounting          
    SDVFX002                                User exit for A/R line in transfer to accounting           
    SDVFX001                                User exit header line in delivery to accounting            
    J_3RSINV                                                                               
    Business Add-in                                                                               
    SD_CIN_LV60AU02                         BADI for billing                                           
    VOR_WA_FAKTURA                          Billing before Goods Issue

  • Material column is empty in VF04

    Hi,
    In the material field of VF04 is not showing anything. What i have done is i goto SE11 -> put VKDFI under database table. Then under component tab, i put in a component MATNR and activate it
    Goto VF04 -> execute. In the maintain billing due list, the material column already showing there but the field is empty. There is no information showing.
    What i did wrong? Do i have put in some coding in SDBILLDL?
    Thank you

    Hi
    You must create a project with tcode CMOD, add the enhancement, go to the fm EXIT_, double click on ZX include and create it in a own package. In the ZX* include add your own coding. Remember your range name (see SAP Note 16466 - Customer name range for SAP objects), so create the fields with the beginning zz*. I suggest you look for help from an ABAPer. You must work with an internal table in a LOOP, something similar to this
      LOOP AT c_vkdfif.
          c_vkdfif-zzfield = 'VALUE'.
          MODIFY c_vkdfif.
      ENDLOOP.
    but you can have troubles with the need to seach VALUE and surely it yields performance troubles.
    I hope this helps you
    Regards
    Eduardo

  • Copy VF04 problem

    Hi all,
    I faced with a problem after copying vf04 to create additional invoice. For doing this, we created enhancement in LV60PU06 include. But when I pushing collective billing button, program shows a error menu and says that "Can not read VBRK table".
    After I put a breakpoint on enhancement, in debug mode program run without any errors and created invoices correctly.
    do you have any idea how can we solve this problem?

    Hi,
    Try two traces with ST05, one with debugging option (a break-point in the exit) and the other without the debugging option. Compare the behavior of data base. Surely it will suggest the origin of the problem.
    I hope this helps you
    Regards
    Eduardo

  • Billing to Billing in VF04

    Hi Gurus
    Is it possible to do billing to billing in vf04(invoice to credit memo)
    Thanks
    Mahesh

    Hi Mahesh,
    As per the standard you will get billing duelist for these options in VF04 transaction
    -->Order-related      
    -->Delivery-related   
    -->Rebate-related     
    --->Intercompany Billing
    There is no option Billing related
    So if you want you have do enhancement with the help of ABAPer.
    I hope it will help you,
    Regards,
    Murali.

  • Enhancement to a cube

    Hi Gurus
    I am working on BI 7 and as per a requirement i had to add 2 fields i.e calmonth(0CALMONTH) & a key figure namely document number (0CRM_NUMDOC) to a cube, now in tranformation calmonth is being mapped to a field in the DSO name of the field being, date field(0CRM_CRD_AT) and the key figure is being mapped with field of the same name in the DSO.After adding the fields to the cube and performing the full load i do not see the result for all records of the 2 fields that were loaded in the cube.kindly suggest..points will be hansomely awarded

    Hi Sharma,
    As u said the fields to be added to the cude, in this case the DS is already having this fileds and not mapped at the intal satage of mapping....????
    Can you check in RSA3 whether these fields that you have added does contain the Data for this perticluar Datasource.
    If you have enhanced the data source then u have to chek at the source system level itself.
    Since you are using BI.7 the DTP method then there is only 1 place that you map is in Tranformations.
    In this place it is direct map and 0CALMONTH if you map to any data field it will take the conversion automatically.
    Same way the Key field also if it is a direct field then it has to come.
    Best Regards,
    VNK.

  • Enhance MR11

    Hello Gurus ,
    I am trying to enhance MR11 Transaction (Report : SAPRCKM_MR11) .  Here i am adding GR  and  IR  posting date(BUDAT)  as selection field  .
    Requirement is that MR11 should consider  Gr and IR for that period.. compare and show the difference .
    In the program
    I added posting date(BUDAT)  in the select query to  'v_ckmlgrir' .  and it is picking all the records with in that period , open and cleared both .
    1)   But I want only the open one .....and I dont see any flag for that ....so is there any way i can get only the open items ?
    2) I observed that if i dont specify posting date ...I mean just run the standard MR11 ...then also it picks up open and cleared items ....but during processing it is considering open only don't know why ..i debugged it  its going through every item item but in the end considering open only which is correct ....so not understanding why its not doing the same if i restrict it to posting date .....
    any suggestion is greatly appreciated !!
    PS : GR/IR account   open items I can see from FBL3N .

    If you are using an account assigned PO then possibly the order(PM order, internal order etc) to which your PO refers might have status as CLSD.
    Check and reverse the status.

  • Extractor 0FC_BP_ITEMS - Business Partner Items Enhancement

    I'm looking at using 0FC_BP_ITEMS extractor to extract Open and cleared items. Has anyone worked on the enhancement of this extractor. If so what are the steps involved in enhancing this extractor?  Is it similar to the Full load extractor 0FC_CI_01 and 0FC_OP_01. Any help will be great.

    Hi,
    Please have alook in help.sap.com- Netweaver- BI Content-FICA.
    This is not same as those two datasources which you mentioned. This datasource will give you delta records.
    Regards,
    Asish

  • Excise invoice is not generating through batch-VF04

    Dear all,
    I have created batch for VF04 for creating automatic commercial invoice every after five minute.here is also customization for automatic creation of excise invoice.
    Now the issue is when batch run, it create the commercial invoice automatically but excise invoice does not create while if we create commercial invoice through VF01 then both( Commercial and excise invoice) create automatically.
    Can you please tell me why excise invoice is not creating automatically when i run the batch for VF04.
    Regards
    jalaj garg

    I have the same issue Pl let me if u come across

Maybe you are looking for