Manual bill line item

Hi All,
We are creating manual billing for a particular period and we mention a certain line item type while doing so.I would like to know that after creation of manual bill doc,where does the entry for this bill doc with its line item type gets posted.I checked DBERCHZ but it does not have entries for manual bill docs.Also, i would like to know the difference betweeen DBERCHZ DBERCHZ1 and DBERCHZ3.
Thanks,
Shreeraj

I seem to have figured out the join...
--THE FOLLOWING QUERY GETS FROM BSEG_CALC_LINE
--TO THE RATE COMPONENT CHARACTERISTIC TABLE
SELECT * FROM CI_BSEG S
INNER JOIN CI_BSEG_CALC_LN L ON S.BSEG_ID = L.BSEG_ID
INNER JOIN CI_SA SA ON SA.SA_ID = S.SA_ID
INNER JOIN CI_SA_RS_HIST H ON SA.SA_ID = H.SA_ID
INNER JOIN CI_RS RS ON H.RS_CD = RS.RS_CD
INNER JOIN CI_RC RC ON RC.RS_CD = RS.RS_CD
INNER JOIN CI_RC_CHAR RC_CH
ON RC.RS_CD = RC_CH.RS_CD
AND RC.EFFDT = RC_CH.EFFDT
AND RC.RC_SEQ = RC_CH.RC_SEQ
Thanks,
ec

Similar Messages

  • Repair request for Delta load? Orders missing in Billing line Items

    Hi
    I am using BW 3.5; Some Orders are missing in BW for Billing line item reports (2LIS_13_VDITM) according to the users.
    The report is based on Cube directly, ODS is not used. I planned to do a repair full request for this month's data so as to get the missing orders.
    Could you please advice me on correct procedure to do that? Delta loads runs every day and todays delta is completed.
    Thanks and BR
    P.B

    While it's usually recommended to execute setups during "quiet time", it's not required. Especially in this case. Since you're going to be restricting the setup to only extract a range of Billing Documents that are representative of the dates of data missing (or purely the identified missing documents), there is no need to wait for "quiet time" because you'll pick up the data either in your Full Repair extract or in the delta extract. Depending on how the target InfoProvider for this data is setup (cumulative v. non-cumulative), you may have to look out for duplicate data.
    My recommendation would be to run your setup for only those documents that have been identified as missing. That way, you're limiting the amount of data that's required to be extracted to the setup table and then into BW, but also will remove any risk of duplicate data in your target InfoProviders.

  • Billed line items appearing again

    Dear Expert,
    We are using SAP 4.6 Version, Delivery has been created with four line items and two line item has been billed and accounting document also partially cleared, when we go for the invoice for rest of the line items in the delivery document, system has given all the 4 line items once again in VF01. that is Already billed line item also coming again for billing, Please clarify the same for sort out this issue,
    Billed two line item status shows completly billed, and how does those line items coming for again billing in VF01
    Please help us the same
    Thanks and Best Regards,
    Muralidharan S

    Hi Murali,
    Please check does anybody cancelled the invoice which created by you before?
    and also check what is the status in order for those two item which already billed in the previous invoice.
    Regards,
    MT

  • Determine grouping for bill line item

    Hi,
    I am doing some reporting on bills that have been issued (CC&B).
    I can get bill line items from the following query;
    SELECT B.BILL_ID, B.ACCT_ID, B.BILL_DT, B.DUE_DT,
    S.BSEG_ID, S.SA_ID, S.PREM_ID,
    L.*
    FROM CI_BSEG S
    INNER JOIN CI_BILL B
    ON S.BILL_ID = B.BILL_ID
    INNER JOIN CI_BSEG_CALC_LN L
    ON L.BSEG_ID = S.BSEG_ID
    --SELECT A PARTICULAR BILL, FOR EXAMPLE
    WHERE B.BILL_ID = '927321294079'
    --ONLY RETURN THOSE ITEMS THAT APPEAR
    --IN THE SUMMARY SECTION ON THE BILL
    --SPECIFIED
    AND L.APP_IN_SUMM_SW = 'Y'
    However, I am stuck in trying to figure out the grouping area that the line item appeared in in the bill. CI_BSEG_CL_CHAR tells me whether or not the item appeared on the bill, but not the grouping. The information that I need seems to be in the CI_RC_CHAR table, so the problem I am then faced with is how to link together bill line items with the rate component that is the source of the line item.
    Any assistance would be much appreciated.
    ec
    Edited by: 866928 on 12/07/2011 21:49

    I seem to have figured out the join...
    --THE FOLLOWING QUERY GETS FROM BSEG_CALC_LINE
    --TO THE RATE COMPONENT CHARACTERISTIC TABLE
    SELECT * FROM CI_BSEG S
    INNER JOIN CI_BSEG_CALC_LN L ON S.BSEG_ID = L.BSEG_ID
    INNER JOIN CI_SA SA ON SA.SA_ID = S.SA_ID
    INNER JOIN CI_SA_RS_HIST H ON SA.SA_ID = H.SA_ID
    INNER JOIN CI_RS RS ON H.RS_CD = RS.RS_CD
    INNER JOIN CI_RC RC ON RC.RS_CD = RS.RS_CD
    INNER JOIN CI_RC_CHAR RC_CH
    ON RC.RS_CD = RC_CH.RS_CD
    AND RC.EFFDT = RC_CH.EFFDT
    AND RC.RC_SEQ = RC_CH.RC_SEQ
    Thanks,
    ec

  • Billing line items with discount

    Hi SAP gurus,
    I have situation going on here at my current project.  Our client is wants to add a discount line with billing line item (In billng document) ?  Can you pls. suggest me the best path ?

    Hi Laxmipathi,
    I haven't found answers to my questions so far.  I tried to lookup for these questions online and on sdn as well...
    I just want to make sure that I don't make any mistake during my current project.  Can you pls. help?
    Thanks.

  • SD Billing line items

    Hi,
    I want to post billing document item values in customer account not total amount of my invoice.
    process open items by Billing line item.
    Thanks
    RK
    Message was edited by: Rajkumar Talabathula

    Thanks for your response.
    This creates several billing documents depends on criteria in copy control but i am looking for under one invoice its line items value in customer account(open items).
    Message was edited by: RK Talabathula

  • Relationship accounting and billing line item

    Hello,
    I have a fairly simple question. Is there a way to exactly determine from which billing line item an accounting line item was derived?
    In other words, I have an accounting line item and want to know to which billing line item it belongs.
    My question is purely focusing on line item level.
    Thanks in advance
    Stephan

    Hello,
    I think thats because the invoices have not hit FI yet.
    I feel this is more of a configuration issue and not any development or ABAP issue.
    Check with your SD/FI functional consultant. But usually these fields should be populated.
    We had lot of reports based on this logic in my previous assignments.
    cheers,
    Sushil Joshi

  • Relation between Billing  line Item and Accounting doc entries

    Hi all
    when r line items in Accounting doc gets generated for a billing doc.
    for ex. if there exists a Billing Doc with 2 lines
    is there any relation to the item in the Billing Doc
    to the Accounting doc line items.
    thanks

    Hi,
    In some situation it is possible that there is a link but in the most situation you use summarization to minalize the number of line items created by invoice (like one line for VAT, general discounts). The total ammount from the customer is the same as on the billing document.
    When you want to have details by line you can found them in CO-PA.
    Paul

  • Display conditions as billing line items

    Hello,
    I have a sales order with one line item.  This line item is mapped to 2 conditions.  Everything works fine.
    When I generate a billing document, I get only 1 line item (also expected).
    But I would like my billing document to show the conditions.  This is because I'd like my customer to see a complete breakdown of all the prices that were used.
    Is this possible in SD? If so, how?  Thanks!

    If I understood correctly , you have a sales order one line item with 2 conditions , the same order if you do the billing only one condition is appearing.. ?
    If yes then check the pricing analasys in Billing , then check in pricing procedure if Requirement-24 has been assigned againes missing condition type.

  • Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date

    Hello Experts
    I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
    For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
    Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
    My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
    use GR Doc date as billing date
    3rd party sales process (w/o ship notif) - Billing

    Hi Lakshmipathi ji,
    As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
    For Ex
    Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
    Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
    So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
    Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
    Regards
    Hiba

  • TXT Type in Line Item for Billing

    Hi Folks !
    I am trying to create a text type in Billing Line Item, but I want my user to enter numerics only.
    Will it be possible to configure ?
    Rgds,
    Indrajit Dey

    Yes this setting is there in the Financail Accounting :
    SPRO. Financial Accounting> Document --> Define Text for the Line Items.
    reward points if helpful.
    Amlan Sarkar
    Mumbai Thake...............

  • BAPI_BILLINGDOC_CREATEMULTIPLE u0096 Duplication of line item in billing docume

    Hi All,
    I am using BAPI “<b>BAPI_BILLINGDOC_CREATEMULTIPLE</b>” to create billing document. Creation of billing document is fine, but issue is I am passing individual line item along with <b>quantity</b> to be billed. But what’s happening is if I got 3 item line in sales order with quantity 1-3-5, billing document getting created 3 quantity ‘1’, 3 quantity ‘3’ and 3 quantity ‘5’. So I end up with 9 line item on billing document which is incorrect.
    Please see the code below which I am using, can anyone tell me what I am doing wrong here. I basically need to create 3 billing line item with respective quantity I pass. Any hint is much appreciated. Thanks in advance.
    Regards,
    Tim
    loop at GT_INIT_ITAB2 into GS_INIT_ITAB2.
        select single * into gs_vbak
                        from vbak
                        where vbeln = GS_INIT_ITAB2-VBELN.
        select single * into gs_vbap
                       from vbap
                       where vbeln = GS_INIT_ITAB2-VBELN AND
                             posnr = GS_INIT_ITAB2-posnr.
        select single * into gs_mara
                       from mara
                       where matnr = gs_vbap-matnr.
        refresh GT_BILLINGDATAIN.
        GT_BILLINGDATAIN-SALESORG   = gs_vbak-vkorg.
        GT_BILLINGDATAIN-DISTR_CHAN = gs_vbak-vtweg.
        GT_BILLINGDATAIN-DIVISION   = gs_vbak-spart.
        GT_BILLINGDATAIN-DOC_TYPE   = GS_INIT_ITAB2-auart.
        GT_BILLINGDATAIN-ORDBILLTYP = p_fkart.
        GT_BILLINGDATAIN-SOLD_TO    = GS_INIT_ITAB2-kunnr.
      GT_BILLINGDATAIN-ITEM_CATEG = GS_INIT_ITAB2-pstyv.
        GT_BILLINGDATAIN-REQ_QTY    = GS_INIT_ITAB2-kwmeng.
        GT_BILLINGDATAIN-SALES_UNIT = gs_vbap-vrkme.
        GT_BILLINGDATAIN-CURRENCY   = gs_vbak-waerk.
        GT_BILLINGDATAIN-SHORT_TEXT = 'Test'.
        GT_BILLINGDATAIN-BILL_DATE   = gl_date.
    write GS_INIT_ITAB2-afdat to GT_BILLINGDATAIN-BILL_DATE ddmmyy.
    GT_BILLINGDATAIN-BILL_DATE  = GS_INIT_ITAB2-afdat.
        GT_BILLINGDATAIN-PRICE_DATE = SY-DATUM.
        GT_BILLINGDATAIN-REF_DOC    = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-DOC_NUMBER = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-ITM_NUMBER = GS_INIT_ITAB2-POSNR.
      GT_BILLINGDATAIN-ORIGINDOC  = GS_INIT_ITAB2-VBELN.
        GT_BILLINGDATAIN-ITEM       = GS_INIT_ITAB2-POSNR.
        GT_BILLINGDATAIN-NO_MATMAST = co_x.
        GT_BILLINGDATAIN-COUNTRY    = 'AUS'.
        GT_BILLINGDATAIN-MATERIAL   = gl_matnr.
        GT_BILLINGDATAIN-TAXCL_1MAT = '1'.
        GT_BILLINGDATAIN-REF_DOC_CA = 'C'.
        append GT_BILLINGDATAIN.
      endloop.
    Prepare for BAPI call
        CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
          EXPORTING
            CREATORDATAIN         = GS_CREATORDATAIN
          TESTRUN               = co_x
          POSTING               = co_x
          TABLES
            BILLINGDATAIN         = GT_BILLINGDATAIN
        CONDITIONDATAIN       = GT_CONDITIONDATAIN
        CCARDDATAIN           =
        TEXTDATAIN            =
        ERRORS                =
            RETURN                = GT_RETURN
            SUCCESS               = GT_SUCCESS
        clear gl_return.
        loop at GT_RETURN.
          if GT_RETURN-type EQ 'E' OR
             GT_RETURN-type EQ 'A'.
            move: GT_RETURN to gl_return.
            exit.
          endif.
        endloop.
        if gl_return is initial.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
          WAIT   = '1'
            IMPORTING
              RETURN = gt_return_commit.
        endif.

    Hi,
    Check this code...For creating billing document from sales order..
    TABLES: vbak.
    PARAMETERS: p_vbeln LIKE vbak-vbeln OBLIGATORY,
                p_fkart LIKE vbrk-fkart.
    DATA:
    s_vbsk LIKE  vbsk.
    DATA:
    xkomfk     LIKE     komfk    OCCURS 0 WITH HEADER LINE,
    xkomv     LIKE     komv     OCCURS 0 WITH HEADER LINE,
    xthead     LIKE     theadvb  OCCURS 0 WITH HEADER LINE,
    xvbfs     LIKE     vbfs     OCCURS 0 WITH HEADER LINE,
    xvbpa     LIKE     vbpavb   OCCURS 0 WITH HEADER LINE,
    xvbrk     LIKE     vbrkvb   OCCURS 0 WITH HEADER LINE,
    xvbrp     LIKE     vbrpvb   OCCURS 0 WITH HEADER LINE,
    xvbss     LIKE     vbss     OCCURS 0 WITH HEADER LINE.
    SELECT SINGLE * FROM vbak
           WHERE vbeln = p_vbeln.
    IF sy-subrc <> 0.
      MESSAGE s208(00) WITH 'Invalid vbeln'.
      LEAVE LIST-PROCESSING.
    ENDIF.
    CALL FUNCTION 'RV_INVOICE_REFRESH'
         EXPORTING
              with_posting = 'B'
         TABLES
              xkomfk       = xkomfk
              xkomv        = xkomv
              xthead       = xthead
              xvbfs        = xvbfs
              xvbpa        = xvbpa
              xvbrk        = xvbrk
              xvbrp        = xvbrp
              xvbss        = xvbss.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln TYPE vbeln,
            posnr TYPE posnr,
          END OF t_vbap.
    SELECT vbeln posnr INTO TABLE t_vbap
           FROM vbap WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    Fill the values.
      xkomfk-mandt  = sy-mandt.
      xkomfk-vbeln  = p_vbeln.
      xkomfk-posnr  = t_vbap-posnr.
      xkomfk-vbtyp  = vbak-vbtyp.
      xkomfk-seldat = sy-datum.
      xkomfk-fkart  = p_fkart.
      xkomfk-fkimg  = '1.000'.
      xkomfk-vrkme  = 'EA'.
      APPEND xkomfk.
    ENDLOOP.
    CALL FUNCTION 'RV_INVOICE_CREATE'
         EXPORTING
              vbsk_i       = s_vbsk
              with_posting = 'B'
         IMPORTING
              vbsk_e       = s_vbsk
         TABLES
              xkomfk       = xkomfk
              xkomv        = xkomv
              xthead       = xthead
              xvbfs        = xvbfs
              xvbpa        = xvbpa
              xvbrk        = xvbrk
              xvbrp        = xvbrp
              xvbss        = xvbss.
    READ TABLE xvbfs WITH KEY msgty = 'S'.
    WRITE:/ sy-subrc.
    WRITE:/ xvbfs-msgv1,xvbfs-msgv2,xvbfs-msgv3.
    Thanks,
    Naren

  • Business Area is not flowing to Billing Doc Line item

    Hi,
    Since recently we have observed that in some billing document creation, the business area in sales order line item is not flowing to the billing document line item.
    VBRP-GSBER remains blank due to which we face problem in J1IIN txn.
    This is not happening in all the cases. There are very few instances where business area is becoming blank in billing document line item.
    But when the same billing document is reversed and new billing document is created, the business area flows properly to billing document line item (in VBRP).
    Can anybody suggest why such erratic behaviour? And how to resolve the issue?
    Thanks and Regards
    Ratna

    Dear Shiva Ram and Srinath,
    Thanks for your reply
    I had checked the settings in SPRO. These are OK. The sales order line item is deriving business area properly. But in some cases (not in all the cases) the business area is not flowing to Billing Line Item during billing document creation. It is happening in production server and not in development server.
    I intend to use user exit userexit_fill_vbrk_vbrp to fill the VBRP-GSBER col with VBAK-GSBER if VBRP-GSBER is blank during saving the sales bill thro VF01..
    Pl. suggest.
    Regards
    Ratna

  • Billing doc - item level

    for the given billing doc number, the billing line  items starts with 10,.20,30,40,50 and the output is correct for vf03. But if the line item starts with 100, 110 , 120 the entries are not printed in smartform. Pls help

    Check if you have any select statements for Line items.
    Debug the form and check the line item table for entries.
    Regards,
    Nageswar

  • Automatically pop up of 100 Line items in PO from RFQ

    Dear All,
    I have created RFQ for 100 line items...Now with Ref. to This RFQ i am creating PO..
    My requirement is, is there any way out i can get my all line items i.e. 100 line items in one single shot without entering it manually in line item number.
    Regards
    Utsav

    Hi
    Go to document overview on,Select your RFQ,here multiple line itens in RFQ will be displayed.Now press shift,Down arrow,end .This will select all the Line items in RFQ ,Then drag and drop in the basket .All the line items will be copied to PO
    Regards
    Sandeep

Maybe you are looking for

  • Copy File from Macbook Pro to Ipad2

    I am trying to transfer a file of Keynote Users Manual from my Macbook Pro13 to my Ipad2. Any suggestions will be appreciated. I am new to Mac, coming from the PC World. Tks

  • How to Retrieve YouTube default icon from iPad?

    Hello iPad users.. would you like to lend some help on how you can retrieve the YouTube default icon from iPad? I no longer see it in my homescreen which I was wondering why... I would like to retrieve it. I did go to the App store to find it but the

  • Materialized view log with multiple materialized views

    DB: 9.2.0.8 Yes its old. I am not allowed to upgrade it. I have a set of materialized views that are created off of 5 base tables. They do fast refreshes. So I have multiple materialized views for the same base table and same materialized view log. 1

  • RMAN could not login successful through UNIX shell

    Hello All, I meet the problem with executing rman by UNIX shell on Solaris OS. I have two scripts files: backup.rman and backup.sh. Both of them were created by root with chmod 755, and the Oracle user could not modify them. ---------backup.sh rman t

  • PFCG_ORGFIELD_DELETE

    Hello Experts, We have a system where personnel area was created as org field but the derived roles also have the values maintained at field level. This is causing issues whenever we generate the derived roles; hence thinking of deleting this org lev