Invoice list cancellation-Srinivas Adavi Please check

Hi all,
When the invoice list(VF23) is cancelled the field vbrk-fksto should be set to x but its not updating this field.
Could anybody tell me what the problem is? and for normal invoice(VF03) the flag is updated correctly.
Thanks,
Saichand
Message was edited by: Sai Chand Pullepu

Hi,
the BDC code for the VF26 is.
*       CLASS LCL_BDC DEFINITION
*       For BDC Table Population
class lcl_bdc definition.
  public section.
    methods:  bdc_dynpro              "Fill Dynpro Info
                  importing
                    i_program type bdcdata-program
                    i_dynpro  type bdcdata-dynpro,
               bdc_field             "Fill Field Info
                 importing
                   value(i_fnam) type any "BDCDATA-FNAM
                   value(i_fval) type any,"BDCDATA-FNAM,
               call_fun             "Call Transaction
                 importing
                   i_tcode type tstc-tcode.
endclass.                    "LCL_BDC DEFINITION
*       CLASS cl_bdc IMPLEMENTATION
*          For BDC Table Population
class lcl_bdc implementation.
*--Fill Dynpro Data
  method bdc_dynpro.
    clear wa_bdcdata.
    wa_bdcdata-program  = i_program.
    wa_bdcdata-dynpro   = i_dynpro.
    wa_bdcdata-dynbegin = 'X'.
    append wa_bdcdata to it_bdcdata.
  endmethod.                    "BDC_DYNPRO
*--Fill Screen Fields
  method bdc_field.
    clear wa_bdcdata.
    wa_bdcdata-fnam = i_fnam.
    wa_bdcdata-fval = i_fval.
    append wa_bdcdata to it_bdcdata.
  endmethod.                    "BDC_FIELD
*--Call Transaction
  method call_fun.
    data : v_mode,l_msg(100).
    refresh it_messages.
    v_mode = 'N'.
    call transaction i_tcode using it_bdcdata
                     mode   v_mode
                     update 'S'
                     messages into it_messages.
    if not it_messages[] is initial.
      clear it_msg. refresh it_msg.
      loop at it_messages into x_messages.
        call function 'FORMAT_MESSAGE'
          exporting
            id        = x_messages-msgid
            lang      = x_messages-msgspra
            no        = x_messages-msgnr
            v1        = x_messages-msgv1
            v2        = x_messages-msgv2
            v3        = x_messages-msgv3
            v4        = x_messages-msgv4
          importing
            msg       = l_msg
          exceptions
            not_found = 1
            others    = 2.
        if sy-subrc <> 0.
        endif.
        x_msg-msg = l_msg.
        append x_msg to it_msg.
        clear x_msg.
      endloop.
    endif.
            x_msg-msg = l_msg.
          append x_msg to it_msg.
          clear x_msg.
        endloop.
    endif.
  endmethod.                    "CALL_FUN
endclass.                    "LCL_BDC IMPLEMENTATION
*--Create the Object Reference
    data:   o_bdc type ref to lcl_bdc.
*--Creating the Object
    create object o_bdc.
    refresh it_bdcdata.
*--Fill the BDC dynpro
    call method o_bdc->bdc_dynpro
      exporting
        i_program = 'SAPMV60A'
        i_dynpro  = '0202'.
*--Fill the screen Fields
    call method o_bdc->bdc_field
      exporting
        i_fnam = 'BDC_OKCODE'
        i_fval = '=SICH'.
*--Fill the Screen fields
    call method o_bdc->bdc_field
      exporting
        i_fnam = 'RV60A-SELKZ(01)'
        i_fval = 'X'.
    call method o_bdc->bdc_field
      exporting
        i_fnam = 'KOMFK-VBELN(01)'
        i_fval = p_vbeln.
**--Fill the BDC dynpro
    call method o_bdc->bdc_dynpro
      exporting
        i_program = 'SAPMV60A'
        i_dynpro  = '0202'.
*--Fill the screen Fields
    call method o_bdc->bdc_field
      exporting
        i_fnam = 'BDC_OKCODE'
        i_fval = '=BACK'.
*--Call the Transaction
    call method o_bdc->call_fun
      exporting
        i_tcode = 'VF26'.
  endmethod.                    "EXECUTE_VF26
Regards
vijay

Similar Messages

  • Copy control for invoice list cancellation

    Hi Friends,
    I wish to maintain the copy control for invoice list cancellation, as the case study as follows
    My client maintain invoice list, but due to certain reasons ,one of the invoice from invoice list has to cancel , the error I am getting as "Sales document F2 cannot be invoiced with billing type LRS."
    Also , explain as to what fields  need to maintain in copy control for the same.
    Kindly help me at the earlist
    Thanks in advance
    Shailesh

    Hi
    As far as I know, invoice cancellation or invoice list cancellation is not done by copy control. or...that is the one and the only document in SD which can be created without copy control.
    I think it is only sufficient if you include the cancellation document type in the invoice list type in the configuration of Billing document types.
    I think that alone should solve your problem.
    Reward if this helps you.

  • Invoice List Cancellation Status table field

    Hi,
    I need to know, which table field is updated when we cancel an invoice List using VF26. If there is cancellation once the VBRK-SFAKN is updated with the cancelled Invoice List Number. But in case there are multiple cancellations, the SFAKN field still contains the first cancelled Invoice list #. There is no status field in VBRL to indicate whether the status of the invoice list is cancelled or active.
    How to trace whether the subsequent invoice lists are cancelled or not?
    Thanks,
    Amit

    Amit,
    I don't find any field being updated on the original Invoice list  while u are cancelling it.
    So unfortunately you can't find from its VBRK entries that it was cancelled.
    This is my understanding.... Let me know if you discover any thing new.
    Coming to how we live up with it......
    Before sending the invoice list to the customers we will check whether any entry exist in VBRK table with the same number in SFAKN(Cancelled billing doc #)..  So if any entry exist in VBRK, that means this document was cancelled, so ignore it from the send list.
    Let me know if you would like to know anymore details....
    Thanks,
    Aj.

  • Invoice list cancellation

    Dear All,
    We have two issues when we would like to cancel an invoice list:
    1- The cancellation document type (copied from the original billing type LRS - credit memo list - in transaction VOFA) doesn't reverse the FI posting in the generated accounting document. How we can correct that ?
    2- When the invoice list is cancelled (vf26), the individual invoices contained in that cancelled invoice list are no retrieved again in the work list of transaction vf24 !
    Thank you very much for your help !
    Moez

    Hi...
    This issue may be related to copy control settings "Billing document to billing document", the transaction code is VTFF. Kindly check the Pos./neg. quantity field in header and item. It should be maintained as " - " in this case. Check the settings.
    Thanks

  • Invoice List

    11.11.2008
    Hi Gurus,
    a) Does combining of invoices into invoice lists follow the same requirement that the header details should be same in all the invoices to be combined ?
    My requirement is creation of invoice lists of multiple invoices of  a customer irrespective of the header details i.e Division, Partners, Assignment number .....    These  could be different.  
    Is it possible to combine such invoices???  If so what changes needs to be carried out.???
    b)   Am i right in concluding there is going to be no accounting entry when an invoice list is generated.
    Please share your valuable knowledge.
    Sanjay

    Hi Sanjay
    In Invoice list Payer is same for all invoice ,so for that payer a list of Invoices are sent.
    When Head office of an organisation makes the payment for all its branches, instead of sending individual invoices, an "Invoice list" is sent to the Headoffice (PAYER).
    Invoice list is of two types .They are LR and LG.
    Under LR type Invoice list, all receiviable type of billing document like Invoice(F2) or F1 etc, Debit memo(L2) are listed.
    Whereas under LG type of Invoice list, all payable type of billing documents like Credit memo (G2) and Cancellation(S1) are listed.
    In the billing type (VOFA), you will find a field called "Invoice list type".
    In this field appropriate Invoice list type is filled for respective Billing documents.
    For example, if you go to F2, you will find value LR  as F2 is a receiviable type of Billing document and so on.
    So here, there is no other criterias except PAYER is one for all the branches, that means in the master data head office must have been assigned as their Payer.

  • Billing document not relenvent for invoice list

    Dear forum members,
    For one sales area I can create a invoice list from a billing document, but not for the other.In debug mode first one is relevent for invoice list processing ( VBUK-RELIK), but for another sales area ,thus staus is not relevent.
    Partner detemrination was different for both the above sales area.This was the only differnce. Partner determination is correct in both.What can be the other possible reasons for the status NOT RELEVENT for invoice list.
    Best Regards,
    Kanwal

    Dear Goyal,
    -->Check the configuration settings if you are using diffirent Invoice documents in two sales areas.
    IMG Path is SPRO>Sales and Distribution>Billing>Billing documents>Invoice lists.
    -->Check the data in the customer master in the transaction VD02.
    Go to Sales area data tab-->Billing document here you check whether you are maintaining the Invoice list dates or not.
    -->Check the Partner determination procedure assignment to the Invoice List type at Header level and item level.
    Because you are mentioned that partner dtermination wad different.
    Header assignment path.
    IMG>SPRO>Sales and Distribution->Basic functions>partner determination>set up partner determination.>Set up partner determination for billing header-->Prtner determination procedure assignment.
    Item assignment path
    IMG>SPRO>Sales and Distribution->Basic functions>partner determination>set up partner determination.>Set up partner determination for billing item -->Prtner determination procedure assignment.
    I hope it will help you
    Regards,
    Murali.

  • ********ISSUE ON INVOICE LIST*****

    Hi,
    I am stuck up with the below issue
    I created an invoice list with 10 invoices.Number is say 100
    I cancelled invoice list 100. Number is say 200
    In cancelled invoice list 200, instead of 10 invoices, system considered only 9 inovices and cancelled them.
    Now I want the the 10th invoice also to be cancelled and saved in the same Invoice list cancellation doc 200.
    Is this clear? If clear is it possible
    Request you help as this is very crucial.
    Regards,
    Rajesh

    Dear Friends,
    I have got the solution from my technical lead for the below issue, I like to share this resolution with you all.
    Best Regards,
    Ravishekar.Thallapally
    *&      Form  after_line_output
          After line output event is handled via this form
          L_V_LINE : Capturing line value for page break.
    FORM sub_after_line_output1 USING l_v_line TYPE slis_lineinfo."#EC CALLED
       DATA: l_v_int  TYPE int1.
       IF l_v_line-sumindex IS NOT INITIAL .
         l_v_int = l_v_line-sumindex MOD 2 .
         IF l_v_line-subtot = 'X' AND l_v_int = 0.
         Write:/ sy-uline.
            NEW-PAGE.
           CLEAR:l_v_int.
         ENDIF.
       ENDIF.
    ENDFORM.                    " after_line_output

  • Invoice list issue

    Hi ,
    I want to create a Invoice list for the invoices. When i create the invoice list , message the invoice is not relevant to invoice list is appearing. i have check "Billiing document type to Invoice list type"
    Also checked the VTFF copy control too.  the assignments are fine.
    But still the problem exist. Where else should i check to rectify the problem.
    Thanks in Advance.
    Manu

    Thanks Lakshmipathi,
    In VOFA also its maintained.
    in OVV7
    in VTFF
    above 3 transactions its maintained. For example Credit memo is assinged to the invoice list its maintained in the above 3 transactions.
    But stil when the credit memo is created and when the Credit memo number is entered in VF21, geting the message Invoice not relevant for invoice list.

  • Error in cancelation of invoice list

    when i am doing a cancelation of credit memo list i am getting an error message saying credit memo cannot be invoiced with billing type LGS
    in configuration - <i>Assign Invoice list type to each billing type</i> - invoice list type LGS is not assigned to billing type credit memo so i assigned it there.
    but when i'm doing the cancelation again, the error is still there...
    Please help on how i can solve the issue.
    tia

    now it is not possible . U have to do it manually now .
    Because u did the changes in config after creation of doc . So the same will not be updated in the already created doc.
    Hope this help

  • Invoice cancellation out of Invoice List

    Hi!
    As per std SAP invoice list processing, all invoices will go in one invoice list. How can I delete a specific invoice out of invoice list?
    Thanks.
    Thomas

    Hi ,
    As per std SAP, once the invoice list is created, it is not possible to delete specific invoice out of invoice list.
    You can cancel entire invoice list and create new invoice list excluding the specific invoice. Also there is simulation option available for creation of invoice lists via the work list for invoice lists.
    Hope this will help.
    Thanks,
    sanjay

  • HT4539 There was an option, provided by itunes, while updating ios, saying 'download and update', 'download only', 'cancel'. I accidentaly checked 'don't show this message again'. and now i want to change my preference. How to get it back please?

    There was an option, provided by itunes, while updating ios, saying 'download and update', 'download only', 'cancel'. I accidentaly checked 'don't show this message again'. and now i want to change my preference. How to get it back please?

    hello , i did exactly the same thing , and my app store icon look like this :
    http://i.imgur.com/FIrph.png
    so can you tell me how did your friend send the app store for you? please

  • Cancellation documents 97 not showing in invoice list VF24

    we have just gone live with monthly billing on the 1st Feb 2010. if we cancel any billing doc  900**** that were raised after go live then the cancellation doc 97******** shows in invoice list VF24. But if we cancel a billing doc 900**** that was raised before the go live date then the the cancellation doc does not appear in VF24.
    Any suggestions why they do not appear in VF24. All cancellation doc do however appear in table vbrk.
    kind regards

    Hi
    If they show up in the table they have to show up in the transaction.
    Are you putting any selection criteria like date to search in VF24.
    Try to take all documents without specifying any criteria.
    Regards
    Sidi

  • Please check the order's object list (inconsistency SOBJ)

    Hi Friends;
    I am facing a strange issue where I have copied a custom task from SAP standard decision task 00008267 caz I needed to perform some custom requirement on it.
    I have done evry thing but then I have observed that Agent assignment is not coming at testing client which is on same server.
    I also can not modify any thing at testing client.
    So I performed SCC1 from testing client and check but still same issue.
    Then I thought of re assigning agent at development client but while making it general task it pop up the message "Please check the order's object list (inconsistency SOBJ)".
    And after again performing the SCC1 still the issue exist.
    Can any one suggest their inputs where the problem could be and how should I fix it.
    Regards
    Devraj

    Hi Dev,
    Can you please share more details? Agent assignment not coming means?
    Have you set the task as General in testing client?
    Thanks,
    Viji.

  • Cancel invoice list

    Hi Gurus.  I assigned an invioce list document type YLR to F2 (regular biling).  I created two billing documents and then created an invoice list.  I cancelled the invoice list, but now I cannot use the two F2 billing documents to create a new invoice list.  Do you know what is stopping the system from using the same invoices to create a new invoice list after the original one has been cancelled?
    Thanks,
    Ta

    Thank you very much for the response.  It is the correct solution to the problem.  Points rewarded.

  • Please check the entries, no work list selected

    Hi Experts,
    We have created one custom transaction to run RV50SBT1 to create deliveries from open purchase orders.
    When we are doing a call transaction to the custom transaction in a report, this does not work and does not select open POs for processing.
    However, when we run the custom transaction in foreground mode, we get the open PO to process and delivery is created ("create delivery immediately" is checked in all the cases).
    I assume that there won't be any issues due to background/foreground processing (as we have tried call transaction in foreground mode and it did not work).
    Also, i would like to highlight that this problem is recent one.
    There were no recent changes in the program or user profiles(user who is executing the IDOC).
    Thanks
    Mohit

    Hi Neha
    Yes, there is a difference in background and foreground processing. Please check if you have any pop up while you are processing in foreground. If this occurs, it will cause issues in the background processing. Please take help of your ABAPer to understand the issue in code. and change the pop up into warming message.
    Regards
    Vivek Singh

Maybe you are looking for

  • Unable to find the published output for this request - problem

    Hi , In the invoice Payables module i modified a report to be open in xml and not text as it was. The program name of this report iis Print Invoice Notice. I did same thing we normally do to register a xml report in ebs. The problem is that when i ru

  • Library problems with two XP user accounts accessing music in shared folder

    I'm sorry if this has already been answered; I have not been able to find the answer. My wife and I each have a different user account on the same Windows XP machine. I recently combined our iTunes libraries into the shared folder on the computer. I

  • ITunes 9.1 not connecting to iTunes Store

    I just updated iTunes 9.1 and I tried to access the iTunes store, but it says "iTunes could not connect to the iTunes store Make sure your network connection is active and try again." I tried again but it still won't connect... but I am connected to

  • CSV to CSV file tranfer

    Hi, I need the steps for file to file(csv to csv) transfer scenario. Please help. Regards, Vinithra

  • Document Management within PM

    Hi, are there any sources which are giving insights and descriptions on document management within SAP PM? Does anybody have experiences with document management within PM? Best regards, Dennis