RFBITB01 - posting detailed with single invoices

Hi all,
I tried to run the program RFBITB01 in order to perform the Posting of the failed payment transaction,
The only problem is that when the program performs the posting  "customer @ Bank" i need the details about the invoices related the original Bill of Exchange and not just the total amount.
Is there anyway to have this info? Am i missing some flags/details during the postings?
Thanks in advance,
Federico

Hello,
But SAP not allow updation on SAP  table
so do one think make UDF and Update accordingly
Use this sintex for for temp table
CREATE TABLE #Yaks (
YakID int,
YakName char(30) )
select name
from tempdb..sysobjects
where name like '#yak%'
drop table #yaks
Thanks
Manvendra Singh Niranjan

Similar Messages

  • Multiple sales order  with single invoice

    Hi !
    For the same dealer can we make single Invoice dispatching  with multiple sales order ???  and How ?
    Thanks.

    Hi Indrajit
    If you want to create a single sales order into Multiple delivery then make sure that the delivery split should take place
    The following are the parameters for the delivery split
    Ship to party ,  route , delivery date, Shipping point ,Confirmed quantity date  , Delivery priority
    Example :
    Say you have line item 1 & line item 2 , for line item 1 you have different ship to party and for line item 2 you have different ship to party then delivery split will take place for this two line items
    Regards
    Srinath

  • Reg split delivery with single invoice

    hello,
    myquestion is ,one sale order,two split deliveries and both the deliveries should be posted in single invoice .

    Hi Vijay,
    Please ensure that you should have only one
    1) Division
    2) Distribution Channel
    3) Department
    4) Recieving Point
    5) Payer
    6) Terms of Payemnt
    7) Incoterms
    8) Bill to Party
    All of this data that you enter should be the same if any of this data varies then your invoice will be split and you will have two or more invoices.
    If you wish to have only one invoice make sure that the data is the same for all of the above mentioned points....
    Reward Points if this helps
    Regards
    Atul Keshav

  • Query to pull out Vendor details with AP invoice

    Hi all
    I have made the following query to pull out the following data
    House Bank Account, Customer/Vendor Name,Payment Method code,Default Account,Default Branch,Default bank Internal id,
    Document NUmber,Customer/Vendor Ref No,Row Total,Item/Service description,Branch,Street
    SELECT T0.[HousBnkAct], T1.[CardName], T0.[PymCode], T0.[DflAccount],T0.[DflBranch],  T0.[BankCtlKey], T1.[DocNum],T1.[NumAtCard],  T2.[LineTotal], T2.[Dscription], T3.[Branch], T3.[Street] FROM OCRD T0  INNER JOIN OPCH T1 ON T0.CardCode = T1.CardCode INNER JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry INNER JOIN DSC1 T3 ON T0.HousActKey = T3.AbsEntry WHERE T1.[DocDate] >=[%0] AND  T1.[DocDate] <=[%1] AND  T1.[DocStatus] = 'o' AND  T0.[PymCode] = 'EFT'
    But i have observed that i am not getting all the customers in this query where the invoice is open, it displays only few records.
    Regards
    Farheen

    Hi Farheen......
    Please try this........
    SELECT T0.HousBnkAct, T1.CardName, T0.PymCode, T0.DflAccount,
    T0.DflBranch, T0.BankCtlKey, T1.DocNum,T1.NumAtCard, T2.LineTotal, T2.Dscription,
    T3.Branch, T3.Street FROM OCRD T0 LEFT JOIN OPCH T1 ON T0.CardCode = T1.CardCode
    LEFT JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN DSC1 T3 ON
    T0.HousActKey = T3.AbsEntry WHERE T1.DocDate >='[%0]' AND T1.DocDate <='[%1]' AND T1.DocStatus = 'o' AND T0.PymCode = 'EFT'
    Regards,
    Rahul

  • More No of GRN with single excise invoice

    Dear Sir
    we want to do goods receipt for 4 lots with single excise invoice.we have done multible goods receipt with multi credit settings in J1id for that perticular material.we tried to do goods receipt with reference to out bound delivery NO.first lot we done GRN with out any issue,For second lot we put a same Excise invoice NO,At the time System is giving error like This excise invoice all the items are recived. Any other option is there to to multible GRN with same excise invoice
    Please help me in this
    Thanks
    Maruthi S

    Hi
    I have single line Item in PO & MIGO
    This Is case of Pet Coke , Relience importing this Pet Coke & we are purchasing from relience
    Supplier is provoiding actual excise invoice after 15 or 20 days of material supply
    as soon as we received material we are doing Goods Receipts for 15 days then for all GRs we receive
    single excise invoice after 15-20 days then . I want to capture & POst  excise invoice for all GR , but as
    per you suggetion in part 2 there are multiple entries for the single excise invocie , which is not correct
    as per excise rule ,
    please provide some solutions
    thansk

  • Debit/Credit memo adjustment with Original invoice before making single payment

    Debit/Credit memo adjustment with Original invoice before making single payment.(will zero payment batch will work?)

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pendekanti Mahesh ([email protected]):
    Debit/Credit memo adjustment with Original invoice before making single payment.(will zero payment batch will work?)<HR></BLOCKQUOTE>Zero amount payment at payment can be made to nullify the new invoice with credit/debit, and clear the invoices. This is resorted to when you want to clear the credit/debit memos you have entered and no longer need.
    null

  • Purchase in Foreign Currency with Multiple GR but single Invoice - URGENT

    Question on the following scenario:
    - Purchase order is foreign currency. 
    - Multiple goods receipts posted against the PO on different dates.  Goods receipts will follow the posting date for the exchange rate.
    - Single invoice receipt for the multiple goods receipts
    We need the invoice to not result in exchange rate differences for all the line items.  If it was just a single GR, we can change the IR header exchange rate to be equal to the GR exchange rate.  The problem is for multiple GRs with multiple exchange rates.
    Thanks for your help!

    Hi Chok,
    You can activate the functionality of Price Exchange Rate diffrence at the time of IV instead of GR and hence if there is any diffrence at the time of LIV that is to be accounted and the GR is posted as the PO price without any exchange diffrence.
    Try it!

  • Error while posting A/R Downpayment Invoice with Excisable Tax Code.

    While posting A/R Dowpayment Invoice with Excisable Tax Code error of "Unbalanced Transaction" appears. This error does not occur while posting A/R Downpayment Invoices with Non-Excisable Tax Codes.
    Kindly provide a solution for the same.

    SAP Note Number: 1179405
    Error -5002 when trying to copy a document with Sales BOM
    In order to create the delivery via the DI, you need to set the oDoc.Lines.BaseLine value to the LineNum value from the RDR1 table (in the above example you should enter the value 2).
    we set oDoc.Lines.BaseLine=0 before starting the lines loop. This has resolved the issue.
    This note was really helpful and it was found in another query.
    You can also refer to this. https://forums.sdn.sap.com/click.jspa?searchID=19070513&messageID=6178079
    Thanks.
    Edited by: Sadanand Manda on Nov 24, 2008 12:16 PM

  • Single Invoice with reference to 2 Sales Order

    Hi,
    How can i make a single  billing invoice no (vf01) with reference to 2 sales order?
    billing plan has been maintained from each sales order,we dont have any pgi process.
    so process is sales order->billing plan-> invoice
    my user want to generate single invoice with reference to 2 sales order - same customer no.

    For processing  billing due list (VF04) - The system combines documents with the same customer number, proposal billing type and sales organization, and attempts to include them all in the same billing document. If the preconditions are met, then a single invoice is created for the deliveries and/or orders.
    To do a collective billing. Collective Billing Documents
    The selected documents in the billing due list are billed. The system tries to combine them as much as possible. Processing of the selected documents is carried out in the background. After processing of the documents, you return to the billing due list. The sysytem will indicate whether or not a document has been billed successfully.
    If successful, then Save
    You can also carry out a simulation of billing. In this case, select Simulate. The system simulates the collective billing / online function described above.
    -After the collective run you can display a log for the collective run. This displays possible errors during billing.
    -You can also branch to the resulting billing documents, in order to carry out a split analysis.
    -The billing documents of a collective run can also be canceled.
    Re: VF04
    Hope it assist you.
    Thanks & Regards
    JP

  • Single invoice for multiple orders with different exchange rates

    Hi Gurus,
    We have a situation where the client wants to bill two orders together but both have been created in different months and have different header exchange rates.
    Can someone advise if we can combine these orders / deliveries into one invoice if
    (a) pricing dates & order creation dates are different
    (b) exchange rate of order header differs for both orders
    If standard behaviour is different, can someone advise how it can be manipulated to suit our requirement which is to have 1st exchange rate on those invoice items coming from 1st sales order and 2nd rate for those invoice items coming from 2nd sales order.
    Thanks & Regards,
    Krishna
    SAP SD

    Hi,
    the date will not affect the consolidation of orders to a single invoices provided yur bill to party and all other details are same in both the docuemnts. But due to the exchange rate differences it may split. You can try the same in your test system. If it is splitting the invoice then you need to modify the requirement used in the copying control from order to billing to allow the same.
    Prase

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • How to generate 3 payment due dates& 3 posting against single invoice?

    Hello Experts,
    Kindly provides some inputs on below requirement.
    For example :- In the Utility Bill,
    Consumption months: June, July, August
    Meter Reading taken in August
    Billing Months: September, October, November
    Bill generated in August
    Consumer receives the bill on September month
    Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
    Issues-:
    1.How to generate three posting against single invoice?
    2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
    1st due date = posting date + 15 days
    2nd due date = 1st due date + 30 days
    3rd due date = 2nd due date + 30 days
    Requirement description:-
    The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
    In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
    Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
    Looking forward for valuable suggestions
    Thanks in advance
    Regards,
    Vaseem
    Moderator note - question reposted - OP notified of violation Issue on quarterly bill
    Edited by: William Eastman on Jun 3, 2010 3:25 PM
    Edited by: William Eastman on Jun 3, 2010 5:01 PM

    Hello Experts,
    Kindly provides some inputs on below requirement.
    For example :- In the Utility Bill,
    Consumption months: June, July, August
    Meter Reading taken in August
    Billing Months: September, October, November
    Bill generated in August
    Consumer receives the bill on September month
    Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
    Issues-:
    1.How to generate three posting against single invoice?
    2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
    1st due date = posting date + 15 days
    2nd due date = 1st due date + 30 days
    3rd due date = 2nd due date + 30 days
    Requirement description:-
    The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
    In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
    Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
    Looking forward for valuable suggestions
    Thanks in advance
    Regards,
    Vaseem
    Moderator note - question reposted - OP notified of violation Issue on quarterly bill
    Edited by: William Eastman on Jun 3, 2010 3:25 PM
    Edited by: William Eastman on Jun 3, 2010 5:01 PM

  • Possibility of getting serial report with sales invoice details

    Hi All,
    We are Telco company and there is a requirement to view the serial numbers issued to a customer along with the invoice number, invoice date and invoice value.
    Is this possible? If yes, please let me know the tables which can be used in SQVI.
    Thanks,
    Savindi

    Hi,
    Refer the below link it may help you.......
    Re: Invoice details related to Serial Numbers

  • Single invoice creation with reference two sales document type

    Hi,
    I have created Sales contract & Sales Order.I want to create single Invoice with reference to both sales contract & sales order.
    Please give me the solution how to do that???????????
    Thanks,
    Miku.

    Hello Dear,
    Invoice normally is not created directly Contract but from Sales order. And Sales order is created wrt to contract then delivery & billing.
    If u have Service & Maintenance contract then u do billing from it and there is no Sales order.
    Hope this clarify.
    Thanks,
    Dilip Sadh

  • Details of open invoices for the current year/ material price analysis

    Hi,
    I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
    1. How to get the details of open invoices for the current year? Which table should I look into?
    2. I have to create a report to display material price analysis. How should I do that?
    3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
    4.How to create an interactive report for displaying plant status to know the status of a particular material
    5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
    Thanks in advance!!
    Uma.
    Message was edited by:
            Uma Ravi

    Hi Ravi,
    for 3, 4, 5 --> u can go through the code ...
    REPORT ZEX2  MESSAGE-ID arc NO STANDARD PAGE HEADING.
    Tables :kna1,vbak.
    SELECT-OPTIONS : so_vkorg FOR  vbak-vkorg OBLIGATORY,
                     so_vtweg FOR  vbak-vtweg OBLIGATORY,
                     so_spart FOR  vbak-spart,
                     so_kunnr FOR  kna1-kunnr.
    DATA : BEGIN OF sales_open OCCURS 0 ,
           vbeln LIKE vbak-vbeln,
           auart LIKE vbak-auart,
           kunnr LIKE kna1-kunnr,
           bstnk LIKE vbak-bstnk,
           lfstk LIKE vbuk-lfstk,
           fkstk LIKE vbuk-fkstk,
           gbstk LIKE vbuk-gbstk,
           END OF sales_open.
    DATA : BEGIN OF itm_sales OCCURS 0,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           kwmeng like vbap-kwmeng,
           lfsta LIKE vbup-lfsta,
           lfgsa LIKE vbup-lfgsa,
           fksta LIKE vbup-fksta,
           fksaa LIKE vbup-fksaa,
           gbsta LIKE vbup-gbsta,
           END OF itm_sales.
    DATA : l_kunnr LIKE kna1-kunnr,
           l_vkorg LIKE vbak-vkorg,
           l_vtweg LIKE vbak-vtweg,
           l_spart LIKE vbak-spart.
    DATA: v_statusl(20) TYPE c,
          v_statusb(20) TYPE c,
          v_statusf(20) TYPE c,
          v_statusg(20) TYPE c,
          v_status(20) TYPE c,
          v_field(1) TYPE c.
    data : v_openqty like vbap-kwmeng.
    **Selection Screen Validations.
    AT SELECTION-SCREEN.
      PERFORM validations.
    *&      Form  Validations
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM validations.
    **Customer
      IF NOT so_kunnr[] IS INITIAL.
        SELECT SINGLE kunnr INTO l_kunnr
               FROM kna1
               WHERE kunnr IN so_kunnr.
        IF sy-subrc NE 0.
          MESSAGE e002 WITH text-005.
        ENDIF.
      ENDIF.
    **Sales Organization
      IF NOT so_vkorg[] IS INITIAL.
        SELECT SINGLE vkorg INTO l_vkorg
               FROM tvko
               WHERE vkorg IN so_vkorg.
        IF sy-subrc NE 0.
          MESSAGE e003 WITH text-006.
        ENDIF.
      ENDIF.
    **Distribution Channel
      IF NOT so_vtweg[] IS INITIAL.
        SELECT SINGLE vtweg INTO l_vtweg
                FROM tvkov
                WHERE   vkorg IN so_vkorg
                 AND    vtweg IN so_vtweg.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-007.
        ENDIF.
      ENDIF.
    **Division
      IF NOT so_spart[] IS INITIAL.
        SELECT SINGLE spart INTO l_spart
                FROM tvta
                WHERE   vkorg IN so_vkorg
                AND     vtweg IN so_vtweg
                AND     spart IN so_spart.
        IF sy-subrc NE 0.
          MESSAGE e005 WITH text-008.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Validations
    Top-of-page.
    PERFORM sales_top_of_page.
    Start-of-selection.
    PERFORM sales_sel.
    *&      Form  sales_sel
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_sel.
    SELECT vbeln auart kunnr bstnk
         lfstk fkstk gbstk
         INTO TABLE sales_open
         FROM vbakuk
         WHERE vkorg IN so_vkorg
         AND   vtweg IN so_vtweg
         AND   spart IN so_spart
         AND   kunnr IN so_kunnr
         AND gbstk NE 'C'.
      LOOP AT sales_open.
        WRITE:/4 sy-vline,
               5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
               16 sy-vline,
               17 sales_open-auart COLOR 2 INTENSIFIED OFF,
               27 sy-vline,
               28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
               40 sy-vline,
               41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
               55 sy-vline,
               56 sales_open-lfstk,
               76 sy-vline,
               77 sales_open-fkstk,
               96 sy-vline,
               97 sales_open-gbstk ,
               117 sy-vline.
        HIDE sales_open-vbeln .
      ENDLOOP.
    ENDFORM.                    " sales_sel
    *&      Form  sales_top_of_page
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_top_of_page.
      WRITE:/4 sy-uline(114),
         50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
      WRITE: /4 sy-vline,
              5 'SalesOrder' COLOR 1 ,
              16 sy-vline,
             17  'OrderType' COLOR 1,
             27  sy-vline,
             28  'Customer' COLOR 1,
             40  sy-vline,
             41  'PoNumber' COLOR 1,
             55  sy-vline,
             56  'Delivery Status' COLOR 1,
             76  sy-vline,
             77  'Billing Status' COLOR 1,
             96  sy-vline,
             97  'Processing Status' COLOR 1,
             117  sy-vline .
      WRITE:/4 sy-uline(114).
    ENDFORM.                    " sales_top_of_page
    AT LINE-SELECTION.
      SELECT       a~vbeln
                   a~posnr
                   a~matnr
                   a~kwmeng
                   b~lfsta
                   b~lfgsa
                   b~fksta
                   b~fksaa
                   b~gbsta
                   INTO TABLE itm_sales
                   FROM vbap AS a JOIN vbup AS b
                   ON a~vbeln EQ b~vbeln
                   AND a~posnr EQ b~posnr
                   AND b~gbsta NE 'C'
                   WHERE a~vbeln EQ sales_open-vbeln.
      IF NOT sales_open IS INITIAL.
        LOOP AT itm_sales.
          at end of vbeln .
          sum.
          v_openqty = itm_sales-kwmeng.
          endat.
          WRITE:/5  itm_sales-vbeln,
                    itm_sales-posnr,
                    itm_sales-matnr,
                    itm_sales-kwmeng,
                    itm_sales-lfsta,
                    itm_sales-lfgsa,
                    itm_sales-fksta,
                    itm_sales-fksaa,
                    itm_sales-gbsta.
        ENDLOOP.
      ENDIF.
    skip 2.
      write:/  'open Quantity for the order is ', v_openqty .
    for 1.
    open invoices..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
    *        AND spart IN so_spart
             AND kunag IN so_kunnr
            and   year in p_year                  ---->"parameter for year..
             AND gbstk NE 'C'.                   "----> open invoices
    for 2..
    2. refer TABLES mara, EINA ..
    regards,
    VIjay

Maybe you are looking for

  • Using ADFS authentication to perform SSO via HTTP GET request

    Hi, Can i authenticate users (those users are clients, at home) to a web application using ADFS without SAML tokens? The situation is that i want the clients to perform SSO to the website via a link they receive in their mailboxes.  I thought about a

  • Need the report for database fragmentation

    HI, Is there any script to get database defragmentation report Thanks

  • Setting permission using java code

    hi all i am writing a code to upload file from the users to the server. i can write the files to the server but after that i cannot change it's permission to read and execute by all. only the server can read and execute it. i talked about this proble

  • [SOLVED]No net after upgrade to kernel 2.6.20.4, iptables related

    Hi, compiled and installed 2.6.20.4 today (from 2.6.19.4). After rebooting the computer I cant access the internet without disabling the firewall! I'm using firestarter, it gives these errors on boot :: Starting Firestarter firewall [BUSY] iptables:

  • Nokia 5070 sync problem

    Hello, I juest brought a nokia 5070, i installed the pc suite and connected the phone. When i sync the phone nothing happens. Than for the test i connected my old phone nokia 3200 and sync the complete phone to my outlook. No Problem. Then i connecte