Service for vf02 locks the invoice number

Hi,
I have created one service for VF02 transaction as given in this path:
default_host
       --->sap
               --->bc
                      --->gui
                              --->sap
                                      --->its
                                             --->VF02
I am calling this service from my Web Dynpro application.
But the problem is => if I cloase the window by using close button, it locks the invoice number used permanently.
How to resolve this?
Thanks
-Haresh

Hi Suman,
I am calling Service for VF02 from Web Dynpro application as an external window, so definitely it'll lock the invoice.
So when I close that window by close button of browser, it should unlock the invoice number, but it is not releasing the lock.
I think It is not required to code any unlocking logic in my web dynpro application as I am opening this service in external window.
Any further help will be appreciated.
Thanks
-Haresh

Similar Messages

  • Service for vf02 permanently locks the invoice number

    Hi,
    I have created one service for VF02 transaction as given in this path:
    default_host
    --->sap
    --->bc
    --->gui
    --->sap
    --->its
    --->VF02
    I am calling this service in an external window browser from my Web Dynpro application.
    Problem is => if I cloase the browser window by using close button, it permanently locks the invoice number used.
    How to resolve this?
    Thanks
    -Haresh

    Hi,
    Use ~SINGLETRANSACTION=1 parameter on your ITS service. This parameter closes your invoice properly.
    Hope this helps,
    Iván.

  • To get the invoice number of amount applied in view prepayment applications

    hi all
    In AP abc Manager-Invoices--when we give invoice number in the invoice number field we get to see supplier name etc in the same Invoices Form there is a
    tab called General from which we can get Amount Paid ,
    Similarly there is a tab called View Prepayment Applications ,when clicked on this tab we can see Amount Applied and invoice number corresponding to that amount applied
    KIndly help me from which table or view this invoice number can be obtained
    i got amount applied from the view AP_UNAPPLY_PREPAYS_V,but i cant find the invoice number.
    kindly guide
    thanking in advance
    Edited by: makdutakdu on Dec 19, 2011 11:29 AM

    Thanks Robin,
    i was able to get a work around for this. For the time being i am using the following code snippet, i will try using the one u sent an will see if this works too.
    // create nodeinfo object for the node that table will bind to
    final IWDNodeInfo nodeinfo = wdThis.wdGetContext().node<NODENAME>().getNodeInfo() ;
    //get the structure of the node
    final IStructure struct = nodeinfo.getStructureType() ;
    Iterator iter = nodeinfo.iterateAttributes() ;
    if (null != struct)
    totalFields = struct.getNumberOfFields();
    else
    for ( Iterator i = nodeinfo.iterateAttributes(); i.hasNext(); i.next() )
              totalFields++;
    for(count = 1; count <= totalFields; count++)
         fieldName = nodeinfo.getStructureType().getField(count).getName();

  • Use SQL function to get the original order number using the invoice number

    Hi All,
    wondering is someone can help me with this challenge I am having?  Often I need to return the original order numbers that created the resulting invoce.  This is a relatively simple seriese of joins in a query but I am wanting to simplify it using a SQL function that can be referenced each time easily from with in the SELECT statement.  the code i currently have is:
    Use SQL function to get the original order number using the invoice number
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    RETURN @OrderList 
    END
    it is run by the following query:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number here'
    The issue is that this returns the order number for all of the lines in the invoice.  Only want to see the summary of the order numbers.  ie if 3 orders were used to make a 20 line inovice I only want to see the 3 order numbers retuned in the field.
    If this was a simple reporting SELECT query I would use SELECT DISTINCT.  But I can't do that.
    Any ideas?
    Thanks,
    Mike

    Thanks Gordon,
    I am trying to get away from the massive table access list everytime I write a query where I need to access the original order number of the invoice.  However, I have managed to solve my own problem with a GROUP BY statement!
    Others may be interested so, the code is this:
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    GROUP BY T6.DocNum
    RETURN @OrderList 
    END
    and to call it use this:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number'

  • Reports Generated From The Invoice Number

    Hello All,
    Firstly, thank you for this website, and also those who make contributions by asking questions and also answering.
    So my question is, can SAP be generate a report from an invoice number which will then show which voucher for reimbursement includes that invoice number?  And if so, how?
    At this moment, the only way I can know this happens is by running a report for the specific reimbursement voucher which in turn will show me the invoices that is being paid for.  However, I would like to input the invoice number which will show me which voucher the bill was paid for and which check number paid it.
    I look forward to your replies, and thank you.

    I should add, I do not mean a journal voucher, I'm talking about a public voucher for reimbursement from the government.
    Thank you.

  • Increase the invoice number printed on document

    the invoice number printed on invoice documents must be 10 digits. 
    how to increae the number
    can any body help
    chakri

    Dear Chakri,
    I doesn't under stand clearly about your requirement.
    As per my under standing about your requirement !
    Do You want to maintain the invoice number range must be 10 digits ?
    Then you can go to number range maintanence through VN01 transaction maintain the number range for the billing documents with 10 digits.
    Same thing you can capyure in to the output of the invoice through script or smart form with the help of ABAPer.
    I hope this will help you,
    Regards,
    Murali.

  • I have tried downloading photoshop cs2 and cs4 on a new computer.  I have the disc available for cs2 and the serial number for cs4.  They are both registered in my name.  I need help doing a download.

    I have tried downloading photoshop cs2 and cs4 on a new computer.  I have the disc available for cs2 and the serial number for cs4.  They are both registered in my name.  I need help doing a download.  I was able to get part way through cs4, it showed up in my downloads but never got as far in the process as to ask for serial numbers.  I tried with cs2 and I got an error message that some bit of information was incorrect.  I currently have both downloaded on two other lap tops I own.  One is operational and one is dead.  I cannot access the dead one to remove the program. Thank you in advance for any assistance.

    For CS2 you will need to download a special new version
    CS2 Activation
    You might find CS4 download here
    Prodesign Tools — Photoshop Direct Download Links

  • How to find the invoice number from accounting document number?

    Hi
    I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
    but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
    i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
    How can i get the invoice numbers from the accounting doc. numbers?
    Regards
    Sujai

    I am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
    XBLNR is blank when i check the table.
    the output of the bapi is something like this                                                                               
    COMP VENDOR   CLEAR_DATE CLR_DOC_NO ALLOC_NMBR   FISC   DOC_NO     ITE
                                                                                    1000    1100 ........ .........................................  20020123           2002 1900000202   002
    1000    1100 ........ .........................................20020123           2002 1900000203   002
    1000    1100........ .........................................20020123           2002 1900000204   002
    1000    1100........ .........................................20020123           2002 1900000205   002
    now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
    the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
    If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
    I am not sure what this sequence (19___) represents.
    Sujai
    Edited by: Sujai S on Nov 5, 2008 7:22 PM
    Edited by: Sujai S on Nov 5, 2008 7:22 PM

  • How to make the invoice number a hotpsot in Payment program F110

    Hi,
    In the standard Automatic Payment Program F110 when we do a payment run and see the list of proposed Invoices that will be cleared - the requirement is to allow the user to double click on the invoice number and it should go to FB03 or MIR4 depending on if it is a Non-PO or a PO invoice. Is there a way to do this with out doing an implicit enhancement point.
    Regards
    Ravi

    Hi Ravi,
    I don't think it so it is possible in F110. You can copy the document number from F110 and go to FB03--Document list, paste all the document number from there you can double click on the document to see the full details.
    Br,Vivek

  • Total rowsize for table exceeds the maximum number of bytes per row (8060).

    I am trying to Creat a UserDefined Field in Marketig document OPOR Table through the script. then the warning  "Total rowsize for table exceeds the maximum number of bytes per row (8060). " is occuring ,and transcation rollback. how can i solve the problem.

    You have three ways to deal with this:
    1) make you user field smaller.
    2) check all other UDF in that table, and if you find one that your not using, delte it.
    3) Somebody told me that SQL Server 2005 will not have this problem. Maybe you can migrate.
    Best regards
    Harold Gómez V.

  • Contact name disappears on querying the invoice number

    hi ,
    While creating an invoice ,i created a contact
    then saved the transaction and requeried entering the invoice number the contact disappears
    please help.

    what is the apps version ? OS ? and module name?
    thanks

  • How can find the Invoice number for GL journal in SQL?

    Dear all:
    I want to ask:
    If I know the GL journal number and also know the journal comes from AP, how can I use the SQL to find out the ap invoice number ,which relevant with this journal?
    my environment is : ORACLE EBS 11.5.9
    Regards
    Terry

    Hello Terry.
    Use the following query:
    SELECT h.doc_sequence_value "Journal Num", l.reference_5 "Invoice Num"
    FROM gl_je_lines l, gl_je_headers h
    WHERE l.je_header_id = h.je_header_id
    AND h.doc_sequence_value = <document number of your journal>
    AND h.je_source = 'Payables'
    AND l.set_of_books_id = <your set of books id>
    Hope this helps.
    Octavio

  • How to find out the schedule agreement number from the invoice number?

    I have invoice number based on which i need to check the scheduleagreenment number
    please let me know in which table i can find the relation between these two.

    Check EKBE and EKET , EKEK

  • Running DNS service for SCAN in the openfiler VM

    Grid version     : 11.2.0.3
    Guest OS     : Oracle Enterprise Linux 6.3
    Host OS          : Windows 7 (64-bit ) with 16gb Physical RAM
    Hypervisor : Virtual Box 4.2.6
    Openfiler version : 2.99
    Using virtualBox, I am setting up a 2-node RAC node on Oracle Linux.
    I have a 3rd VM which runs openfiler ( NAS )
    For using SCAN feauture, I would like to run a DNS service as mentioned in the article below
    http://www.oracle-base.com/articles/linux/dns-configuration-for-scan.php
    I don't want to run the DNS service in any of the two RAC nodes. Instead of creating a separate VM just for the DNS , I am thinking of running it in the Openfiler VM.
    Openfiler is running in a Linux Distro called rPath. I am not sure if the packages mentioned in the above oracle-base.com article is available in this distro. Has anyone run a similair DNS service in the Openfiler OS ?

    I doubt it.  OpenFiler is a "stripped-down" OS.
    But Wait ! A Google search returned this : http://www.denbraber.org/?p=4
    Hemant K Chitale
    Edited by: Hemant K Chitale on Apr 22, 2013 5:10 PM

  • The apple account number had the question to lock the account number

    The apple account number had the question to lock the account number

    Try resending the verification email by going to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address.

Maybe you are looking for

  • How to print from mac to windows 7 printer?

    I have a wireless home network with a workgroup where I share the Canon MF4150 printer with networked pc's. PC's print just fine. Just got a MacBook Pro and I cannot get the darn thing to print. I have connected the printer directly to the Mac and it

  • Create key mapping using import manager for lookup table FROM EXCEL file

    hello, i would like create key mapping while importing the values via excel file. the source file containing the key, but how do i map it to the lookup table? the properties of the table has enable the creation of mapping key. but during the mapping

  • Mail: take all accounts online doesn't work in ML

    I've had this problem since the betas of 10.8, and I'm only suprised that I'm not seeing anyone else mention it. I filed a bug report many times but Apple engineering never could resolve it. As a workaround, I have to quit Mail and then re-launch it

  • Connection problems with the Olite database

    Hi, I have a problem when I want to execute a BPEL Process from the process manager. I get a java.sql.SQLException with the following message "[POL-3207] a corrupted data page was detected". The fact is that another person (with his own account) inst

  • Playing .avi in Quicktime

    How can I play a .avi in Quicktime?