Invoice Split @ VF06....not stopping at breakpoint applied in routines

Hi All,
This is regarding Invoice Split...from VF06 Tcode.
We are trying to generate Invoice from Delivery  using VF06.
But Invoice is splitting at item level.
We tried to debug the routines for 003 & 007 as well for copy control..
But while executing the Vf06 it is not stopping at breakpoint.....
Please guide us how to get to the routine for debugging......
If you have any other solution please let us know.
Thanks
RK

VF06 runs in background (delegated to system) so the session break points you put in the data transfer routine won't hit.
What you can do instead is put break point in the item data transfer routine (VTLF - item data transfer routine) and create a single invoice online using VF01. Then your break point will hit. Although this is not similar to Vf06, still you can find out which fields are being concatenated in VBRK-ZUKRI that is used as split criteria.
Otherwise you can run the program SDBILLDL online. This program is run VF06 in background. So if you run it directly in SE38 in foreground your break points will hit, if you put them in correct data transfer routine

Similar Messages

  • My jdeveloper do not stop at breakpoint, please help me

    Hi,
    after my workstation got updating for windows office 2007, every thing become weird. right now my jdeveloper could not stop at breakpoints in java file when i debug my web application. please help me to get out from there. thanks
    lease send email to [email protected] thanks
    by the way, it stop at jsp file's breakpoint.
    Robert
    Edited by: user1853275 on May 19, 2009 3:59 PM

    hello,
    keep in mind that the build in debugger doesnt not find all statements valid and will step over some.
    never set a breakpoint on:
    try
    catch
    finally
    etc.
    I only set breakpoints on assignments and logic operators(if for etc) just to be sure.
    -Anton

  • Receivables - Invoices & CM's not closing after payment applied

    Hi -
    I have found that my A/R invoices (transactions) do not automatically close when a payment is applied in full. Is there something in setup to make this occur? Or is there a process that I need to run?
    My query for open transactions is bringing in all of my invoices even though they have a zero balance. This is how I found that the transaction is still "open".
    Thanks!
    Valorie

    Hello.
    If you query the transactions on the Transactions window it will show status 'Open', for paid or unpaid transactions. However, if you use the Account Details windows and look at the Status column, it will show 'Closed' for fully paid transactions.
    Octavio

  • Can not stop on BreakPoint

    Hi,
    I have created servlet Object.
    however, when I start debug, I have set a breakpoint on entry.
    but it never stop on breakpoint and directly start servlet.
    my version: JDeveloper 10g 10.1.3.and 10.1.3.1
    both are same issue.
    Please help me.
    Thanks

    2006-12-13 10:11:36.875 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
    2006-12-13 10:11:36.890 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
    2006-12-13 10:11:36.906 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
    2006-12-13 10:11:37.031 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
    2006-12-13 10:11:37.031 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
    2006-12-13 10:11:37.031 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
    2006-12-13 10:11:37.109 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
    2006-12-13 10:11:37.109 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
    2006-12-13 10:11:37.390 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
    2006-12-13 10:11:37.546 NOTIFICATION Auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
    2006-12-13 10:11:37.546 NOTIFICATION Unjar E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
    2006-12-13 10:11:55.421 NOTIFICATION Finished auto-unpacking E:\Program Files\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
    2006/12/13 10:11:55 com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    WARNING: Code-source C:\lib\webdav\antlr.jar (from <classpath> in D:\WorkSpace\SOURCE\java\core\UDAP) has the same filename but is not identical to /E:/Program Files/jdevstudio1013/toplink/jlib/antlr.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Program Files\jdevstudio1013\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.UDAPInterface:0.0.0.
    WARNING: Code-source C:\lib\oracle\ojdbc14.jar (from <classpath> in D:\WorkSpace\SOURCE\java\core\UDAP) has the same filename but is not identical to /E:/Program Files/jdevstudio1013/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Program Files\jdevstudio1013\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.UDAPInterface:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 70484 ms.
    Target URL -- http://192.168.1.65:8988/servlet/UDAPInterface
    06/12/13 10:12:25 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized

  • [4.0 EA2] Debugger not stopping at breakpoints/not working at all

    When running the debugger in SQL Developer either the debugger immediately connects then disconnects after executing the code WITHOUT stopping at breakpoints or the debugger hangs and the only actions I can choose is to terminate or to pause.
    The first issue happens a lot more frequently. I am attempting to debug a procedure in a package where the there are several breakpoints throughout the code including at the very start. After checking my tables in which the procedure acts upon before and after running the debugger I can see that the data has been altered so the debugger has ran through the procedure and executed the code without stopping. I have checked this on very simple code where the breakpoint code has been called and have experienced the same result.
    Im using 64bit Win7 -
    JDK - 1.7.0 update 40
    Output:
    LOAD TIME : 329UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    Debugger Output:
    Connecting to the database Layout Pro.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '*****', '*****' )
    Debugger accepted connection from database on port *****.
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.DISCONNECT()
    Process exited.
    Disconnecting from the database Layout Pro.
    Debugger disconnected from database.
    Thanks in advance,
    James

    Hi
    Have you compiled for debug? - Yes
    Are the breakpoints definitely on code lines?- There are several lines of code which have up to 5 consecutive breakpoints
    You can also set the preference Tools|  Preferences|Debugger|Start Debugging Option to 'Step Into'.  That should stop at the first executable line. - This worked thank you, I can now access the debugger and test my work.
    On swapping the preferences back to 'Run Until a Breakpoint Occurs' (which it was originally set as) the debugger now correctly stops a the breakpoints. I didn't make any changes to the code/debugger parameters or anything so I'm rather confused to why its suddenly started working .
    But anyway thank you for the help,
    James

  • IPhone proejct: XCode debugger will not stop on breakpoints

    I've got XCode 3.1.2 on OS X 10.5.5. I have an iPhone project that builds fine but the debugger will not hit any of the breakpoints I set. I've tried all the standard fixes that I find on the net:
    1. I've turned off 'Load Symbols Lazily' in XCode preferences
    2. My active config is Debug
    3. Optimization level is 0 in build settings
    4. I've cleaned all targets and rebuilt
    5. I use Build and Debug (as opposed to Build and Run)
    I thought I might have inadvertently tweaked settings on my project. So I created a new project and that one has the same problem.
    I'm hoping that I am missing something easy here. My debugger was working just a few days back but all of a sudden it has stopped.
    Thanjs in advance

    Occasionally I run into this problem, and it is still a mystery to me.. however, if I put a break in the appDidFinishLoading, or some other very early method, it always seems to work, and then the other breakpoints work too! I wish I understood why.
    michael

  • Invoice split new requirement

    Dear Sap Gurus,
    Invoice will get split due to various parameters such as incoterms, billing date, payer, foreign trade data, exchange rate type etc according to standard.
    I would like to consolidate all my intercompany invoices irrelevant  of difference in header and item data.
    My idea is to develop a new routine where it will bypass all the criteria of invoice split, so all the invoices will get consolidate into a single invoice when this applicable to a particular sales org or company code.
    pls let me know what are the fields that i have to give to abaper to bypass all the criteria for invoice split.
    after creating that routine i will be using that routine in vtfl - copy control, so invoice split will not happen.
    Pls guide me abt this logic , is correct and let me know abt the advantages and disadvantages.
    Phani

    Hi,
    Check the VOFM '001' as an example (ie: report FV60C001). The field that decide the split is VBRK-ZUKRI. The lenght is 40 characters, so you must define the internal table ZUK up to 40 and you must analyze if you must use offset of fields what is the codification of fields (eg: organization levels, and so on).
    To understand how works VOFM search in google with this string: inside vofm ext:pdf
    Check the notes:
    Note 356737 - Customer name range for VOFM routines
    Note 327220 - VOFM function and its objects
    Note 381348 - Using user exit, customer exit, VOFM in SD
    and related notes
    I hope this helps you
    Regards
    Eduardo

  • Debugger not halted on breakpoints

    Hi,
    I'm having a problem with the latest jdev 9.0.5.2. I'm trying to debug a struts-action on the embedded oc4j. My program works fine, but the execution is never halted.
    I checked already the properties of the breakpoints, altered
    the most preferences, etc. but the progran doesn't stop.
    What am I doing wrong? Can anyone help me please?
    thanks

    I'm not too familiar with struts-actions, but I know about the debugger. Here are some things that could cause such a problem:
    1. Make sure you are debugging and not just running.
    2. Make sure you set the breakpont in code that will definitely be executed.
    3. If you are using 3rd party jars or classes and you want to set a breakpoints in those classes, make sure that the classes have not been obfuscated or stripped. Some people/companies remove the source file and line number table attributes from classes before releasing them. The debugger's classes window will show obfuscated/stripped classes with a red circle and slash around the icon. The debugger can not stop at breakpoints or step in those classes.
    4. Make sure that your own classes are not obfuscated.
    -Liz

  • Flash debugger doesn't stop on breakpoints

    I don't know why but i've got fla files that I can't debug.
    I'm able to launch debugger and the swf file is correctly run when I do it, but if for instance I add a trace in my code and add a breakpoint on it, it will appear in the output but the debugger doesn't stop on the breakpoint.
    It's a pretty big project that uses a quite numbers of external swc libraries, home produced for the most, and I can't figure where could this bug come from. All the more if I create a simple fla file with a simple document class attached to it the debugger works perfectly.
    So if anyone already encountered the problem or got an idea over any reason that could make the debugger to not stop on breakpoint, I'd appreciate.

    I'm back but I have still not found the cause of the problem.
    I answered if the fact I work on a server could be the cause, but moving my files to local didn't resolve the problem.
    I also have the problem sometimes even without using swc libraries, just with as3 source files.
    I even tried to add the breakpoints manually in the Flash's xml debug file but successless.
    However, I found a little trick that can be helpful. When the debugger bugs like that, instead of adding breakpoints, I throw Errors, and then the debugger stop on the line where the error is thrown, giving you access to the content of all the variables at that point. But you still cannot use step by step.

  • Stopping Invoice Splits

    Dear Friends,
    Need your expert tips to stop invoice splitting in the folllowing scenario :
    Scenario :
    Client is changing terms of payment at the item level of Sales Order. This changed terms of payment differs from the terms of Payment at document header. Here single delivery document is being created. Finally this single delivery is getting split into two invoices.
    I found in the "split analysis" that split is happening due to the different header data for a) Terms of Payment Key b) Foreign Trade data.
    Query :
    Client wants to have a single invoice for the above delivery scenario. I tried changing Data transfer VBRK/VBRP routine for the relevant item category in delivery to Billing copy control but could not zero in on the exact configuration.
    Whether there is any standard routine to achieve this or shall I create a new routine ?
    What other setting is required here ?
    Requesting you to please share your views soon.
    Thanks in advance !

    Hi Anubhav,
    You cannot combine line items having different payment terms in one invoice, reason being payment terms is a header field in invoice and it applies to the entire document i.e for all the line items.
    Moreover Payment terms are also responsible for deriving the "Baseline date" which is taken into account while ageing of customer line items.
    Also when the customer pays you he pays with reference to the invoice # and not the line item # in a particular invoice.
    It is not logical also to group number of line items with different payment terms in single invoice. it might have impact in FI also, so please consult FI people also before you make new routine.
    Regards,
    Shantanu Kunte

  • Invoice Splitting - for some shipping points and not others

    Dear Gurus, I have a requirement where for some shipping points I need to be able to split an invoice on sales order (i.e. a separate invoice for each customer order) and for other shipping points I require a single invoice for multiple customer sales orders.  Using the copy control rules for LF to F2, I have set the Refence Number to B but this does not achieve what I want.  Would it be possible to achieve this via a copy requirements routine and by setting the values in VBRK-ZUKI?  Do I just copy the standard 003 routine and apply my changes here?  If yes, where do I insert the code - the top or bottom?  Regards

    In VOFM, first of all "Copying requirements" are used when we want to stop creating a target document from a source document or to prevent certain items from copying to target document under certain conditions. Copying requirements can't be used to do invoice split.
    Data transfer routines are the ones that allow invoice split (in addition to allowing copying fields from source to target). Although "copying requirements" is a loosely used terminology, it is important we make distinction between copying requirements and data transfer routines as both are different and perform different functions.
    SAP uses field VBRK-ZUKRI (a 40 character field) to store the combination of field values that are used as basis of invoice split. Invoice split happens if any of the fields stored in VBRK-ZUKRI differ across orders/deliveries (or their items) from which invoices are created.
    We assign VBRK-ZUKRI during item copy control in data transfer routines. The fields are simply concatenated and assigned to VBRK-ZUKRI.
    in VOFM, "Data transfer" routine 003 for Billing documents for example splits the invoice for each reference document, as shown by code below
    Include FV60C003
    *       For each reference document an invoice is created
    FORM DATEN_KOPIEREN_003.
      DATA: BEGIN OF ZUK,
              MODUL(3) VALUE '003',
              VTWEG LIKE VBAK-VTWEG,
              SPART LIKE VBAK-SPART,
              VGBEL LIKE VBRP-VGBEL,
            END OF ZUK.
      ZUK-VTWEG = VBAK-VTWEG.
      ZUK-SPART = VBAK-SPART.
      IF KURGV-PERFK = SPACE.
        ZUK-VGBEL = VBRP-VGBEL.
      ENDIF.
      VBRK-ZUKRI = ZUK.
    ENDFORM.
    In the above coding we are concatenating VBAK-VTWEG (Distr channel), VBAK-SPART (Division), VBRP-VGBEL (Reference Order from billing item) as the criteria for invoice split. So if any of these field differ then it will cause a split. So basically we are creating one invoice for all items that reference a single order
    So what you need to do for your requirement, is to copy the logic of data transfer routine 003 in VOFM to your own custom 9XX routine and make the assignment to ZUK / VBRK-ZUKRI only when shipping point (LIKP-VSTEL) is not equal to certain values that you don't want split to happen. It is better to maintain those shipping points in a custom table and make the check on the table rather than hard coding, so that in future it is easy to add more shipping points or remove existing ones if needed.
    Also remember to assign the new data transfer routine number 9XX to all relevant item categories in VTFL for your target billing type and reference delivery type

  • Invoice Split through transaction VF06

    Hi All
    The header details are same but still invoice split is happening through transaction VF06. We have only two payers for the sales area, 4 payment terms, single invoice date(month end) and same billing type. For different payment terms system will generate different billing documents thats correct.
    But in our scenarios all header details same but still invoice split is happening. I have done analysis for the invoices created, all header details are same except created time. Billing document created time differs within gap of 3 minutes 30/20/10 seconds.
    I don't know why? Could you please advice on this
    Thanks &Regards
    Megha

    Hello Megha,
    in the standard the system does not group more than 1000 documents into one billing document.
    See the SAP note [111813|https://bosap-support.wdf.sap.corp/sap/support/notes/111813]
    Best regards,
    Ivano.

  • Debugger not stopping at the breakpoint

    Hello all,
    I am running transaction F110(Automatic Payment Transactions). I follow the below process for Check Payments.
    Step - 1 : Put Run date and Identification.
    Step - 2 : Set Parameters
    Step - 3 : Set fields in the Additional Log Tab
    Step - 4 : Choose a Program variant for program RFFOUS_C in Printout/Data medium Tab.
    Now I have put a break point in the program RFFOUS_C. But when I run the Payment it does not stop at the breakpoint in the program RFFOUS_C.
    This program in turn calls a sap script which prints a check. I also tried activating the debugger for sap script.
    I dont know how to stop at the program. It goes to the spool and I can see the output in the spool request for the form i have created, but it does not stop at the breakpoint.
    Any ideas or suggestions ?
    Regards,
    Salil

    Run F110 all the way to where you create the payment run.  When doing the payment run, do not check "Print Immediatly". 
    After the run is complete, go to SE38 and run RFFOUS_C with your variant.  You will have to enter the Run Date and Payment ID on the RFFOUS_C selection screen.  Execute this program and you will hit your breakpoint.

  • How to stop  Invoice Split For particular  Sold to Party

    Dear All
    Whenever we create a billing document for a particular customer, based on the No. Of Line Item, it is getting splitted. My client is using SAP 4.7. Please let me know what could be the problem
    Regards
    Paulraj
    Edited by: paulraj S on Feb 25, 2009 1:06 PM
    Edited by: paulraj S on Feb 25, 2009 1:56 PM

    Whenever we create a billing document for a particular
      customer, based on the No. Of Line Item, it is getting splitted
    Do you mean to say that for other customers, invoice is not splitting based on line items ??  If so, you need to provide more details on
    -  whether order type is different
    -  whether item category is different
    Unless some setting is maintained differently or in sale order for that customer, if any data is different at line item level, then you will get invoice split.  Check all the item level datas
    thanks
    G. Lakshmipathi

  • Breakpoint in example.jsp not stopping there while doing remote debuggig

    if i put breakpoint in example.jsp is not stopping there while doing remote debugging.
    i have deployed my jsp in oc4j standalone app server-9.0.4.
    c:\oc4j\j2ee\home\applications\bank\example.jsp
    i have imported this jsp file in c:\jdeveloper9.0.5\jdev\mywork\workspace\JSP\example.jsp
    which path should i set in java source directory and HTML directory in InputPaths of jdeveloper properies.
    remote debuging works well for EJB's and servlets.
    Is there any white paper published for doing remote debuging.
    i searched but i didnt find anywhere.

    i got it

Maybe you are looking for