Regarding Invoice Return and Deliverynote Return

Hi Guru's
I have one urgent problem,,,
I have developed Delivery note and Invoice its working fine...
but when they will return Invoice( invoice cancellation) negative values Printing..
can we explain how to resolve this porblem.
and also Delivery note return... how to resolve this two issues...
its very urgent..
regrads
nagu

In ur code U will be having the syntax for prosting in FB01.
CALL TRANSACTION 'FB01'
                                          USING bdcdata_tab
                                          OPTIONS FROM opt
                                          MESSAGES INTO t_msg
This message tab will contain all the messages returned by FB01. if the posting is sucessfully done  - the message tab will contain the message ( it will contain error messages in case it fails to post).
So u can tap the messsages from here and report accordingly to ur output log.
Cheers
SKC.

Similar Messages

  • Query on fetching the no.of days between Invoice date and due date in rtf template embedded BI Publisher Report

    Hi Experts,
    We have a requirement to fetch the value of 'No of days' between Invoice date and due date (Two variable date fields on the template) in an Analysis.
    Please let me know the procedure of how to achieve the same.
    Regards,
    Rev

    it's good for ideas but implementation a bit different
    Oracle Business Intelligence Publisher Report Designer's Guide
    This function provides a method to get the difference between two dates in the given locale. The dates need to be in "yyyy-MM-dd" format. This function supports only the Gregorian calendar. The syntax is as follows:
    <?xdoxslt:date_diff(‘format’, ‘YYYY-MM-DD’, ‘YYYY-MM-DD’, $_XDOLOCALE, $_XDOTIMEZONE)?>
    where
    format is the time value for which the difference is to be calculated
    Example:
    <?xdoxslt:date_diff(‘d’, ‘2006-04-08’, ‘2006-04-01’, $_XDOLOCALE, ‘America/Los_Angeles’)?>
    returns
    -7

  • Invoice verification and logistic invoice verification

    Hello,
    What is the different between invoice verification and logistic invoice verification?
    My Japanese client need to work with t.code: VXJ2 - customs declaration for import billing documents - Japan
    When i run this report, it finds no data.
    I read the help for this transaction and it says that only invoice verification (and not logistic invoice verification) is supported for this transaction.
    Best regards,
    Avishai Kaplan

    Hi Avishay, 
    Logistics Invoice Verification 
    Logistics Invoice Verification is a part of Materials Management (MM). It is situated at the end of the logistics supply chain that includes Purchasing, Inventory Management, and Invoice Verification. It is in Logistics Invoice Verification that incoming invoices [Seite 11] are verified in terms of their content, prices, and arithmetic. When the invoice is posted, the invoice data is saved in the system. The system updates the data saved in the invoice documents in Materials Management and Financial Accounting.
    Logistics Invoice Verification is closely integrated with the components Financial Accounting (FI) and Controlling (CO). It passes on the relevant information about payments or invoice analyses to these components.
    Features:
    In Materials Management, Logistics Invoice Verification has the following features:
    u2022 It completes the material procurement process, which started with the purchase requisition and resulted in a goods receipt.
    u2022 It allows invoices that do not originate in materials procurement (such as services, expenses, course costs) to be processed.
    u2022 It allows credit memos to be processed, either as invoice reversals or return deliveries.
    Invoice Verification 
    The main aim of invoice verification is to ensure that vendors are paid the correct amount at the right time ( not too late but also not too early ). The process should have a high incidence of fi rst-time matching, to ensure that as little time as possible is spent trying to manually match invoices that appear to be incorrect.it is important to include as few steps as possible in the process, considering that the process of handling payments
    does not in itself add value to the company or to the vendor.
    Main steps: 
    The capture of the vendoru2019s invoice details
      The matching of those details to the details that we
    believe to be correct
      The investigation of any mismatches
      The release for payment of matched invoices
      The accounting entries involved ( including taxes and
    delivery costs )
      The details recorded for audit purposes 
    Hope this information helps you out in understanding the differences  between the two
    I ncase of any further clarification do put a message
    In case if this information is of any help to you please do reward accordingly
    Thanks  & Rewards
    Pavan

  • Invoice Number and Performa invoice number

    Hi all
      I want to get the combination of invoice Number and Performa invoice number, I have got the VBFA Table, but it’s very slow, any alternative program or function please help me
    Thanks
    Kanishka

    Try AC_DOCUMENT_RECORD. It returns all kind of accounting documents.

  • Customer invoice doument and cancelled document are showing under openitems

    Dear All,
    I have created customer invoice in VF01 and cancelled the invoice in VF11.
    1.System is showing Invoice document and cancelled document under open items list in FBL5N customer line items.
    A. Is this correct?
            or
    B. When we cancelled the invoice document it should automatically go to cleared items list?
    Kindly provide me what is the correct?
    Thanks & Regards,
    Saisri.

    Hello,
    Once you cancelled the invoice document then you have to clear manually those items in tC: F-32. If you are not cleared then system will show you as open item. After cleared in F-32 then status will change from Open to Close.
    Thanks
    Para

  • Difference between invoice import and manual entry

    Is there any difference between the expense reports manually entered into AP through invoice entry and the records imported into AP_INVOICES_ALL through invoice import? How do I find which is manually entered and which is imported?

    Hi!
    You can diffirentiate it by SOURCE field in AP_INVOICES_ALL table.
    The field value is 'Manual Invoice Entry' for manually entered invoices.
    In order, you can't see this field in Invoices Workbench, but you can use a folder with query.
    Regards, Alexey.

  • Validation required so that invoice, billing and accounting is done on same

    Validation required so that invoice, billing and accounting is done on same date as the PGI date. Very urgent please help.
    Please look into the below scenario.
    Excise invoice posting date u2013 07.10.2011
    A/c doc posting date u2013 29.09.2011
    Reflecting in dispatch report of 07.10.2011.
    GL affecting in the month of Sep.
    So it want that on PGI date, billing , invoice and accounting enteries are created

    Dear Jalaj001,
    PGI date will be taken by system as the billing date in VF01 unless the user manually changes it.
    Accounting Posting date can be controlled by settings for document type RV.
    For excise invoice creation and posting date, i think you will have to use EXITs.
    But i am not sure and will leave it for the experts to comment upon.
    Thanks & Regards,
    Hegal K Charles

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • Define key figures -incoming order, invoiced sales and credit memo in BW

    Hi everyone,
    I combined two ODS into one ODS from 2LIS_11_VAITM & 2LIS_13_VDITM. I want to generate reports that contain net value, cost of incoming order, invoiced sales, and credit memo'(SD module).
    I tried to create some calculated key figures in BW that contain the net value and cost of incoming order, invoiced sales and credit memo. However, i couldn't find relative fields to define them.
    Can anyone provide help regarding how to create those key figures in BW? Thank you.

    Hello John,
    I think the best way to check it out is by looking at the business content. There might be mapping already defined for the fields you are looking for. The one standing out is perhaps the net value 'ONET_VALUE'.
    Please try to use as much of content KF as possible. A good approach to finding the right info-objects is by searching the business content by info-sources and marking the grouping as 'Collect before and afterwords', it should list down all the dependent info-objects.
    Hope that helps.
    Cheers, Ashu

  • What is the difference between credit memo in invoice year and in next year

    Hi!
    I'm new here.I'm study SAP ERP.I don't know what is the difference between credit memo in invoice year and credit memo in next year (asset accounting).Can you show and give me an example, please!
    Thanks and best regards!
    Edited by: dinhtuan on Jun 28, 2010 3:10 PM

    Hi,
    Maybe have a look at the SAP Help for further information (http://help.sap.com) : e.g. 'Posting Credit Memos Integrated with Vendor'  or 'Posting a Credit Memo Offset Against a Clearing Account' 
    Transaction type 105 for credit memo on current acquisition made in the current year, posting key 75. Or transaction type 160 for credit memo on acquisitions from prior years. posting key 75.
    Note: determine if the asset was acquired in the current fiscal year or in a closed fiscal year (Display asset values).
    If the asset was acquired in a fiscal year that is now closed, correct the past depreciation using a write-up (in that case check out and refer to Posting Write-Ups).
    I hope this helps.
    Kind regards,
    Brigitte

  • How to get COUNT of  Invoice No and  Sales Order No from Multiprovider

    Hello Guys,
    I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
    Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong. 
    How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
    Regards,
    Komik Shah
    Edited by: Komik Shah on Aug 20, 2011 5:33 PM

    Hi,
    Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Regards,
    Suman

  • Printing invoice number and purchase order

    Hi All,
             I am newbie to SAP scripts.By using standard script ( f110_prenum_chk  ) modifying the script layout.and also need to print some extra fields.those are ,
                                --  Invoice number
                                --  Purchase order number
                                --  TDS
    from the above  i am able to display TDS by using the field &regud-sqste& .Is this right field to print the TDS ?
    and from which table i can fetch the details of invoice number ,and PO number ?i have the document number (reguh-vblnr).can i use this field to fetch the details of  invoice and PO numbr.please Help me out.
    Thanks and regards
    Naresh
    Edited by: naresh bammidi on Oct 12, 2011 2:17 PM

    Hi,
    You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
    Thanks,
    RRR.
    Edited by: Rammi on Feb 18, 2010 10:11 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM

  • Different Baseline Date in Invoice Transaction and Payment Transaction

    Hi All,
    I have one issue. When I post the invoice transaction in FB60 and input the baseline date 22.08.2011. Then I post the outgoing payment with document date 20.08.2011 and then I checked the baseline date in vendor line item, the baseline date not in 22.08.2011 but it is defaulted into 20.08.2011 (document date when perform outgoing payment). Why the system cannot link the baseline date in invoice transaction and document payment? It makes unconsistency in baseline date. Kindly need your help to share if you ever found the same issue like this and also the SAP Notes if you have it.
    Thanks a lot.
    Best Regards,
    John

    Dear John11 
    If your selecting your payment terms in invoice system automaticaaly pics dates what you config. in OBB8
    But it is not requried to give any baseline date for payment transaction
    Regards
    shankar

  • FICO-Invoice Parking and approval; Unable to complete some Config steps

    FICO-Invoice Parking and approval; Unable to complete some Config steps
    I am using standard WF: WS10000051 (SAP template) in Accounts payable to get triggered for Invoice Parking-Approval and Posting.
    One of the steps mentioned at help.sap.com is below;
    1. Data for Event Linkage
    Object type     FIPP
    Event     CREATED
    Receiver type     WS10000051
    Receiver module     SWW_WI_CREATE_VIA_EVENT
    2. Check Function
    Receiver type (function module)     
    Global     X
    Enabled     X
    I could get to 1. Data for Event Linkage which is T Code SWETYPV but could not find 2. Check Function.
    Where do I set the parameters for :  2. Check Function in SAP
    The help file link is
    http://help.sap.com/saphelp_erp2005/helpdata/en/01/a9ceb5455711d182b40000e829fbfe/content.htm
    Regards
    Nilabh

    You dont need to assign the Check function module.
    Check function module is used to prevent the workflow from triggering if the checks written in the function fail.
    For eg. check if the invoice amount is GT 500. If yes trigger workflow else dont.
    -Kiran

Maybe you are looking for

  • Data is not getting posted to R/3 from CRM

    Hi to All, When i am creating sales order in CRM data is not getting replicated to R/3. System is showing that B Doc is created , posted and validated. But here in CRM system outbound queue is generated but in R/3 there is no data in inbound queue. C

  • Does Time Machine backup system files (/usr/local/*)?

    Does Time Machine backup system files (/usr/local/*)? If so how do you locate them in the Time Machine interface? If I go into Time Machine mode and type say "/usr/local" in the Time Machine search bar I get nothing although I can open a terminal app

  • How to fix this is who in the picture ?

    I use this script in server 2008 R2 for Storing Windows Event Viewer Output in a SQL Server table with PowerShell : foreach ($server in Get-Content c:tempservers.txt) { $variable = ( Get-EventLog -ComputerName $server -LogName Security -After "22-08-

  • Solaris 11.2 User Manager System Error

    Has anyone encountered a system error when attempting to add users as the root role or executing the user manager from the cli as root? I can use the gui manager after a user has been created in the staff group.  I run into issue creating the user as

  • How to stream netflix with iOS 7

    Since updating to Apple iOS 7 I am unable to stream movies on my tv.  Could use some advise please. Dolores