IDOC and Billing Document relation

Hi All,
I want to know that is there any table where we can find IDOC for a Billing Document.
Please advice.
Thanks!
Regards,
Vivek Srivastava

Hi,
Check these tables
EDID4
EDIDC
EDIDD
Thanks and regards
Praveen.J

Similar Messages

  • From which tables i would find the delivery and billing document field..??

    I need to create an ALV report which displays the following details in the output.
    Order No  Item No     Material     Order Qty     Item Category     Plant     Delivery     Billing Document     Sales Org     Dist Channel     Division     Created By     Created On      Changed On
    For(Order No  Item No     Material     Order Qty     Item Category     Plant) i took the fields from vbap and
    for(Sales Org     Dist Channel     Division     Created By     Created On      Changed On)i took the fields from vbak..
    From which tables i would find the delivery and billing document field related to sales document.??
    need help...
    Moderator message : Requirements dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Mar 6, 2012 2:53 PM

    i am new to abap...so i dont have idea about sd table relationship.
    so please reply how to add delivery and billing doc in my coding below..
    *& Report  ZINAA_SD
    REPORT  zinaa_sd.
    TABLES: vbap, vbak, vbfa.
    TYPE-POOLS: slis.
    CONSTANTS: c_x TYPE char1 VALUE 'X'.
    TYPES:
            BEGIN OF st_vbap,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
             matnr TYPE vbap-matnr,
             pstyv TYPE vbap-pstyv,
             kwmeng TYPE vbap-kwmeng,
             werks TYPE vbap-werks,
            END OF st_vbap,
            BEGIN OF st_vbak,
              vbeln TYPE vbak-vbeln,
              erdat TYPE vbak-erdat,
              ernam TYPE vbak-ernam,
              vkorg TYPE vbak-vkorg,
              vtweg TYPE vbak-vtweg,
              spart TYPE vbak-spart,
              aedat TYPE vbak-aedat,
            END OF st_vbak, 
           BEGIN OF st_final,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
             matnr TYPE vbap-matnr,
             pstyv TYPE vbap-pstyv,
             kwmeng TYPE vbap-kwmeng,
             werks TYPE vbap-werks,
             erdat TYPE vbak-erdat,
             ernam TYPE vbak-ernam,
             vkorg TYPE vbak-vkorg,
             vtweg TYPE vbak-vtweg,
             spart TYPE vbak-spart,
             aedat TYPE vbak-aedat,
           END OF st_final.
    DATA:
          lt_vbap TYPE TABLE OF st_vbap,
          ls_vbap TYPE st_vbap,
          lt_vbak TYPE TABLE OF st_vbak,
          ls_vbak TYPE st_vbak,
          lt_final TYPE TABLE OF st_final,
          ls_final TYPE st_final,
          lt_fieldcat TYPE slis_t_fieldcat_alv,
          ls_fieldcat TYPE slis_fieldcat_alv,
          layout TYPE slis_layout_alv,
          lt_sort TYPE slis_t_sortinfo_alv,
          ls_sort TYPE slis_sortinfo_alv.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbap-vbeln,
                    s_erdat FOR vbap-erdat.
    SELECTION-SCREEN END OF BLOCK b1.
    PERFORM select_data.
    PERFORM loop_final.
    PERFORM sort.
    PERFORM a USING:
          'VBELN' TEXT-002,
          'POSNR' TEXT-003,
          'MATNR' TEXT-004,
          'KWMENG' TEXT-005,
          'PSTYV' TEXT-006,
          'WERKS' TEXT-007,
          'VKORG' TEXT-008,
          'VTWEG' TEXT-009,
          'SPART' TEXT-010,
          'ERNAM' TEXT-011,
          'ERDAT' TEXT-012,
          'AEDAT' TEXT-013.
    PERFORM display.
    *&      Form  SELECT_DATA
          text
    FORM select_data.
      SELECT
       vbeln
       vkorg
       vtweg
       spart
       ernam
       erdat
       aedat
       INTO CORRESPONDING FIELDS OF TABLE lt_vbak
       FROM vbak
       WHERE vbeln IN s_vbeln AND erdat IN s_erdat.
      IF sy-subrc = 0.
        SORT lt_vbak by vbeln.
      ENDIF.
      SELECT
       vbeln
       posnr
       matnr
       kwmeng
       pstyv
       werks
       INTO CORRESPONDING FIELDS OF TABLE lt_vbap
       FROM vbap
       FOR ALL ENTRIES IN lt_vbak
       WHERE vbeln = lt_vbak-vbeln.
      IF sy-subrc = 0.
        SORT lt_vbap by vbeln.
      ENDIF.
    ENDFORM.                    "SELECT_DATA
    *&      Form  LOOP_FINAL
          text
    FORM loop_final.
      LOOP AT lt_vbap INTO ls_vbap.
        ls_final-vbeln = ls_vbap-vbeln.
        ls_final-posnr = ls_vbap-posnr.
        ls_final-matnr = ls_vbap-matnr.
        ls_final-kwmeng = ls_vbap-kwmeng.
        ls_final-pstyv = ls_vbap-pstyv.
        ls_final-werks = ls_vbap-werks.
        READ TABLE lt_vbak INTO ls_vbak WITH KEY vbeln = ls_vbap-vbeln BINARY SEARCH.
        ls_final-vkorg = ls_vbak-vkorg.
        ls_final-vtweg = ls_vbak-vtweg.
        ls_final-spart = ls_vbak-spart.
        ls_final-ernam = ls_vbak-ernam.
        ls_final-erdat = ls_vbak-erdat.
        ls_final-aedat = ls_vbak-aedat.
        APPEND ls_final TO lt_final.
        CLEAR ls_final.
      ENDLOOP.
      ENDFORM.                    "LOOP_FINAL
    *&      Form  SORT
          text
    FORM sort.
      ls_sort-spos = '01' .
      ls_sort-fieldname = 'VBELN'.
      ls_sort-tabname = 'LT_FINAL'.
      ls_sort-up = c_x.
      ls_sort-subtot = c_x.
      APPEND ls_sort TO lt_sort .
    ENDFORM.                    "SORT
    *&      Form  A
          text
         -->FNAME      text
         -->SELTEXT    text
         -->EMPHA      text
    FORM a USING fname TYPE string seltext TYPE string.
      IF fname = 'KWMENG'.
        ls_fieldcat-do_sum =  c_x.
      ENDIF.
      ls_fieldcat-fieldname = fname.
      ls_fieldcat-seltext_m = seltext.
      APPEND ls_fieldcat TO lt_fieldcat.
      CLEAR ls_fieldcat.
    ENDFORM.                    "A
    *&      Form  ALV
          text
    FORM display.
      layout-zebra = c_x.
      layout-colwidth_optimize = c_x.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
        is_layout                         = layout
        it_fieldcat                       = lt_fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
        it_sort                           = lt_sort
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = C_X
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
        t_outtab                          = lt_final
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "ALV

  • Different amount in Contract and Billing document.

    Hi All,
    We have a issue here, need suggestion.
    We have a contract which has a billing plan. We have maintained monthly plans with a fixed amount.
    Say we have $ 1000 in the contract, but the billing has been created with $ 900.
    So you see the amounts are different in contract and billing document.
    We have checked there are no recent pricing changes or any such changes that will have such effect. The invoice is created in May.
    There were pricing changes in March but they had been corrected in March itself.
    Let me know if anybody has faced such issue and where may be the issue.
    Regards,
    SB
    Edited by: Satish Bharambe on Jun 2, 2011 11:43 PM

    You would have to cross-check the Pricing at Item level in Contract & Invoice. Hope , it would help you to check the Base Price or some other Prices / Discounts.
    Best Regards,
    Ankur

  • Difference between invoice and billing document

    Hi ,
    As an ABAPer , I am finding it very difficult to find the difference between the billing and invoice.
    If both are different, then how these documents are configured.
    thanks
    Devi Reddy

    Hi,
    No difference between invoice and billing document.
    But If we want to inform the payable to the customer we use the terminalogy invoice.
    Example Credit meomo, debit memo. etc ...
    As there is no difference , both have the same document types.
    thanks
    Kuntla

  • Difference amount in sales order and billing document (For one line item)

    Hi Experts,
    User created sales order with 3 line items and billing document. but problem is that there is difference in value of sale order and billing only for line item 10. The remaining items values are same in sales order & billing doc.if I check in sales order condition I found that VPRS condition is used and the value is 692.13and the amount is 3245.26in sales order. But if suppose I check the same value in billing doc the value is 0.69 and the amount is 3245.28. Can u suggest me which configuration I have to check for this.
    I also checked change lock but there is no change in sales and billing document & Material
    Regards
    Sunina agarwal

    Morning Sunina
    Now consider this scenario
    Item a - 10
    Item b - 20
    Item c - 30
    and the validity of condition rec for item C is 31st of Jan
    after 31st JAN the record changes or there isn't any.
    In Copy control the pricing type is 'B' i.e., carry out new pricing.
    Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
    Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
    If your scenario is still not amongst the above cases...
    I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
    Take care

  • Pricing date in delivery document and billing document

    Hi All,
    Pricing date in billing document can be controlled by copy control between order and billing document. This config is done in the field Pricing source. If i its set as "order", then my pricing date in billing doc will be same as that of order document pricing date. Tell me if i am right???
    Where can i maintain the setting for determining the pricing date in delivery document.???

    Hi Tushar
    Where do you find Pricing date in Delivery and Billing ?
    Pricing date is in Sales order, system takes rate of the pricing conditions valid on this date, from their condition record.
    Are you talking of Pricing in Billing document, whether it will be copied from sales order, or delivery document etc , Right?
    It is controlled from the "Pricing source" field (D- delivery, Blank- order,E - delivery/order etc.) in the copy control table at item level (VTFL).
    Suppose, the value is E, that means Pricing data will be copied from order aswell as delivery(if any).
    The copied will be copied as it is or Tax will be redermined or Freight will be redetermined etc will be decided from the "Pricing type "field.

  • Gross Wight is not gettting copied between Delivery and Billing Document

    Hello,
    I´m trying to determine freight costs based on data from Delivery document (essentialy weight). Although, when I change manually the "Total weight" in the Delivery screen (which is actually the gross weight, I assume), this new weight is not copied to the billing document.
    What am I missing in this one?
    Useful answers will be rewarded...
    Adriano Cardoso

    Hi Adrino,
    Please check the copying routines involed between your Delivery document and billing document.
    Transaction VTFL
    I hope it will help you,
    Regards,
    Murali.

  • How to create Automatic Delivery and Billing documents immediate

    Hello,
    I want to create Automatic delivery and billing documnets immediate once I create a sales order.
    E.g I need to see in the Status Bar the delivery and billing document was created.
    Thank you in advance
    Your help is highly appreciated
    Alfaid

    Please search in sales forum.  Many times this was discussed there.
    thanks
    G. Lakshmipathi

  • How send an  outbound delivery and billing document by FAX

    How send an  outbound delivery and billing document by FAX

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    You have to create an RFC user for the RFC interface, so that you can receive messages in your SAP system. For each external communications system, create an RFC destination and a Node.
    You can add more systems, that is, create new nodes, even during operation. Since new Customizing settings may be necessary, you can branch directly from SAPconnect administration to Customizing (for example, to maintain the rules for recipient number adjustment).
    Outgoing messages are first stored in a queue. You have to schedule send processes so that the messages are sent from the queue to the external communications system. You can distribute incoming messages with inbound distribution using the recipient addresses.
    You can also change the default settings for confirmations of receipt in the Internet. You can specify a default domain to enable messages to be sent externally to users or objects to which no Internet address is assigned.
    The tools for monitoring and error analysis are available for monitoring sending. You can check the operating status of the external communication components in the SAP System and evaluate the send status of the documents. If errors occur, you can configure a trace that logs the processing of messages.
    An overview of the settings that you have to make in the SAP System in order to enable sending can be found in the documentation on External Sending in the SAP System.
    Hope this will help.
    Regards,
    Naveen.

  • Reverse/Cancel Outbound Delivery and Billing documents

    Hi all,
    My question is...How do you reverse/ Cancel Outbound delivery and billing documents and what will be the reversals in  Accounting document and how are they updated.
    Regards

    Hi,
    If billed delivery is to be reversed,  Then
    1. First cancel the billing with transaction code vf11
    2.Then reverse the PGI with the transaction code VL09
    3.Cancel or delete the Delivery in vl02n
    4.Delete the sales order.
    Accounting entries will be reversed by cancellation of the invoice and material movement will get reversed after doing VL09.
    Reward points if it is helpful

  • Sales order, Delivery and Billing document creation

    Hello Experts,
    I am working on credit management and am in need of creating sales order, delivery and billing document.
    Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
    Will award points definitely.
    Also what are the t.codes for these creation?
    Regards,
    Sriram

    Order Create:
    Transaction VA01
    Give the order type , If standard order use OR or ZOR, which ever is maintained
    Then give the sold to and press enter
    In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
    Go to VL01N-
    and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
    Go to VL02N - Open the above delivery document and click on PGI - done
    Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
    Regards
    Sai

  • Incomplete Delivery and billing documents

    Hi guys plz tell me
    What is the Tcode to find out the incomplete Delivery and billing documents?

    Dear Santosh
    Incomplete deliveries can be seen by V_UC. There is no incompletion procedure in billing, it can only be blocked for credit or accounting. Release of block can be done by VFX3.
    Thanks
    Shuktiz

  • Delivery and Billing documents

    Hi
    In transaction OVAZ one can see the Sales organization and the attached sales document type.
    Is there a transaction that shows the link between Sales organization and Delivery document type and one for a link between Sales Organization and Billing Documents?
    Thx
    R

    Hello,
    I don't think the sales organisation is directly assigned to delivery type and billing type. So there is not transaction to see them.
    Prase

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • Sales order and billing document modify log

    Dear Gurus,
    I would like to know if there are any standard report with Sales order and billing document modifies by a user.
    I know that you can see modifies by going to VA03/VF03 -> Environment -> Changes. But this report is too poor.
    Thanks in advance.
    Best regards.
    Juan

    Tcode  AUT10  is the best one    Here, maintain From-To date and TCode and execute.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Using the apple remote with garageband

    Can you use the apple remote with Garagband? I know there are apps that cost like iRed Lite, but are there other options?

  • Hi, I am using GPS receiver, Gyroscope, an

    d odometer. My question How can connect these 3 sensors to COM1? Also, I need to take the GPS time every 1 sec and put this time to the odometer and Gyroscope output? By the way, records from Odometer and Gyroscope every 0.1 sec. Thanks in advance, M

  • Display Report on a portal

    I have a 6i report. I can log into oracle apps and run the thing and look at the output. very pretty. What I also have is a portal, in which I am using portal builder. i am very new to all this. when i went to "add item" on the page i want to add a r

  • Reports Services getting down when running reports using in process server

    Hi, I have applied patchset 3829014 (Containers for J2EE: Patchset PLACE HOLDER FOR OC4J STANDALONE RELEASE 9.0.4.1) to fix the Bug No. 2670561 CPU usage becomes 100% when there is a new HTTP connection request in the queue. Now after reploying the *

  • Compaq Presario 2100US, factory restore?

    I had a Compaq Persario 2100US given to me from a friend, it is running Windows XP Home Edition and has no discs with it or a recovery partition. I want to restore it to factory settings, how do I go about this?