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

Similar Messages

  • Relation between Invoice Line items and Accounting Line item

    Dear All,
    My requirement is to print all the invoice documents and it's tax values like cenvat, Ecess, BED and VAT.
    I have to fetch these tax details from BSEG table .
    I' am getting Invoice number ( RBKP-BELNR ) from BKPF-AWTKEY .
    Can any one please tell me how to relate the Invoice line items and Accounting document line items..
    Any BAPI or FM is there to retrieve these data.
    Please do needful in this regard.

    Hi,
    from table bseg - field Koart
    K = Vendor
    D = Customer
    S = G/L account here tax lines identify with buzid = T
    or take table bset for taxes
    Andreas

  • Line Item Text ( Accounting Doc ) From Billing

    Hi Experts,
    As i know in Standard process, the Line item text FI Doc ( Accounting Document ) from billing doesn't have any value ( please correct me if i am wrong ).
    But in my case there is value in line item text ( billing doc no )
    i already check and not found any substistution or userexit, i try to search in customizing but dont have any clue where this text from. please advice where do i have to look.
    Thanks,
    Ricko

    Hello Burak,
    Thanks for reply, as i told in the message
    right now, there is value in my line item text
    it should be blank, but i couldnt find any customizing or anything that cause my line item text filled with billing document number. do you have any idea ?
    Thanks,
    RIcko
    Edited by: Chapii on Mar 19, 2010 5:24 AM

  • SD report :correlation between SD line item and its FI line item

    Hi,
    We are developing a SD report where we are not able to correlate between FI line item with SD line item.As SD line item have differernt division so how to identify which line item of FI belongs to which SD line item?

    Hi,
    You can map that by document flow table: VBFA.
    There you can see the correlation of all docs related in a sales process.
    Regards,
    Demétrius

  • :correlation between SD line item and its FI line item

    Hi,
    We are developing a SD report where we are not able to correlate between FI line item with SD line item.As SD line item have differernt division so how to identify which line item of FI belongs to which SD line item?

    Hello Satya ,
    i donu2019t think u can map FI <-> SD line Items , as per my knowledge ,while create FI entry system will do consolidation based on the materials , so in such cases u wont get required data.
    regards
    Prabhu

  • Relation with Contract Line Item and Billing Plan

    Can a Billing Plan have more than one Contract (Sales Document) Line Item ?
    To detail, for example, a Billing plan is X and it has three Plan Items 1,2,3. Can there be situation where Billing Plan X:Item 1 is set up for Contract A:Item 10 and rest of the Items i.e. Billing Plan X:Item 2,3 are set up for  a different Contract B:Item 20 ?

    yes , we can

  • GL Line Items and PO Doc Number

    Hi, I'm caught in a world unknown to me, i.e. R/3 world.
    We are using 0FI_GL_4 and have a report called GL Detail.
    I have been asked to enhance the reports functionality to include a PO doc Number.
    I guess thats coming from MM side?
    We also have 2LIS_02_ITM in BW.
    My question, could I extend 0FI_GL_4 to include PO Doc Number? Or could I just have an InfoSet in BW to combine the Purhcasing Data ODS and GL ODS? I mean would it make functional and logical sense?
    Any guidance would be appreciated.
    Thanks,
    Frank

    Frank,
    I understand from your post that you want to have both Fi_Gl and PO combined information ? Am i right.
    I have recently implemented the same recently which is working fine.
    1. Enhance the Fi_Gl for Purchase doc , item and required.Since they originate from BSEG just add the fields to CI_BSIS structure.you will get the PO data.
    2. Now pull the purchase order item level data using 2lis_02_itm extractor.
    3.Pull FI_Gl_4 into one ODS say Fi_Gl_4
    4. Pull Purchasing data into PUR_t01
    5.Now enhance the communication structure of FI_Gl_4 with the purchasing order fields. i.e /BIC/CS8FI_GL_4 in the below code.
    6.Create an ODS with combined fields from purchasing and FI_Gl into another ODS.
    7.Create an Update rule from Fi_Gl_4 to the new ODS and in the update rule lookup the activate table of purchase order ODS and read the values into new ODS.
    8.For your reference i am attaching the start routine that i have written
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    TABLES : /BIC/APUR_T0200,
             /BIC/AFI_GL_400.
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8FI_GL_4.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
      DATA: BEGIN OF DATA_PACK OCCURS 0.
              INCLUDE STRUCTURE /BIC/CS8FI_GL_4.
      DATA: END OF DATA_PACK.
      DATA:L_INDEX LIKE SY-TABIX,
           S_INDEX LIKE SY-TABIX,
           T_INDEX LIKE SY-TABIX,
           WA_VENDOR LIKE /BIC/APUR_T0200-VENDOR.
      DATA : BEGIN OF IT_PURCHASE OCCURS 0,
               /BIC/ZPUR_DOC    LIKE /BIC/APUR_T0200-DOC_NUM,
               /BIC/ZPUR_ITM    LIKE /BIC/APUR_T0200-/BIC/ZPUR_ITM,
               VENDOR           LIKE /BIC/APUR_T0200-VENDOR,
               MATERIAL         LIKE /BIC/APUR_T0200-MATERIAL,
               MATL_GROUP       LIKE /BIC/APUR_T0200-MATL_GROUP,
               PURCH_ORG        LIKE /BIC/APUR_T0200-PURCH_ORG,
               PUR_GROUP        LIKE /BIC/APUR_T0200-PUR_GROUP,
               DOCTYPE          LIKE /BIC/APUR_T0200-DOCTYPE,
               DOC_CAT          LIKE /BIC/APUR_T0200-DOC_CAT,
               /BIC/ZKNTTP       LIKE /BIC/APUR_T0200-/BIC/ZKNTTP,
             END OF IT_PURCHASE.
      RANGES: R_BLART   FOR /BIC/CS8FI_GL_4-AC_DOC_TYP.
    Fill in the Accounting Document Type
      R_BLART-SIGN = 'I'.
      R_BLART-OPTION = 'EQ'.
      R_BLART-LOW = 'KG'.
      APPEND R_BLART.
      R_BLART-SIGN = 'I'.
      R_BLART-OPTION = 'EQ'.
      R_BLART-LOW = 'KR'.
      APPEND R_BLART.
      R_BLART-SIGN = 'I'.
      R_BLART-OPTION = 'EQ'.
      R_BLART-LOW = 'RE'.
      APPEND R_BLART.
      CLEAR L_INDEX.
      REFRESH DATA_PACK.
      DATA_PACK[] = DATA_PACKAGE[].
    Consider only if acc doc type is RE KG and KR
      LOOP AT DATA_PACK.
        L_INDEX = SY-TABIX.
        IF DATA_PACK-AC_DOC_TYP IN R_BLART.
          CONTINUE.
        ELSE.
          DELETE DATA_PACK INDEX L_INDEX.
        ENDIF.
      ENDLOOP.
      CLEAR S_INDEX.
    Consider only if account  type S
      LOOP AT DATA_PACK.
        S_INDEX = SY-TABIX.
        IF DATA_PACK-ACCT_TYPE  EQ 'S'.
          CONTINUE.
        ELSE.
          DELETE DATA_PACK INDEX S_INDEX.
        ENDIF.
      ENDLOOP.
      SELECT DOC_NUM /BIC/ZPUR_ITM VENDOR MATERIAL MATL_GROUP
               PURCH_ORG PUR_GROUP DOCTYPE DOC_CAT
               /BIC/ZKNTTP
               FROM /BIC/APUR_T0200
               INTO TABLE IT_PURCHASE
               FOR ALL ENTRIES IN DATA_PACK
               WHERE DOC_NUM       = DATA_PACK-/BIC/ZPUR_DOC
                 AND /BIC/ZPUR_ITM = DATA_PACK-/BIC/ZPUR_ITM.
      SORT IT_PURCHASE BY /BIC/ZPUR_DOC /BIC/ZPUR_ITM.
      LOOP AT DATA_PACK.
        T_INDEX = SY-TABIX.
        IF DATA_PACK-VENDOR IS INITIAL.
          SELECT SINGLE VENDOR INTO WA_VENDOR
                 FROM /BIC/AFI_GL_400
                 WHERE COMP_CODE = DATA_PACK-COMP_CODE
                 AND   AC_DOC_NO = DATA_PACK-AC_DOC_NO
                 AND   FISCPER   = DATA_PACK-FISCPER
                 AND   FISCVARNT = DATA_PACK-FISCVARNT
                 AND   ACCT_TYPE  EQ 'K'.
          IF SY-SUBRC EQ 0.
            MOVE WA_VENDOR TO DATA_PACK-VENDOR.
            MODIFY DATA_PACK INDEX T_INDEX.
            CLEAR WA_VENDOR.
          ENDIF.
        ENDIF.
        IF DATA_PACK-/BIC/ZPUR_DOC IS INITIAL.
          CONTINUE.
        ELSE.
    READ TABLE IT_PURCHASE WITH KEY /BIC/ZPUR_DOC = DATA_PACK-/BIC/ZPUR_DOC
                                   /BIC/ZPUR_ITM = DATA_PACK-/BIC/ZPUR_ITM
                                   BINARY SEARCH.
          IF SY-SUBRC EQ 0.
            MOVE:  IT_PURCHASE-MATERIAL    TO DATA_PACK-MATERIAL,
                   IT_PURCHASE-MATL_GROUP  TO DATA_PACK-MATL_GROUP,
                   IT_PURCHASE-PURCH_ORG   TO DATA_PACK-PURCH_ORG,
                   IT_PURCHASE-PUR_GROUP   TO DATA_PACK-PUR_GROUP,
                   IT_PURCHASE-DOCTYPE     TO DATA_PACK-DOCTYPE,
                   IT_PURCHASE-DOC_CAT     TO DATA_PACK-DOC_CAT,
                   IT_PURCHASE-/BIC/ZKNTTP TO DATA_PACK-/BIC/ZKNTTP.
            IF DATA_PACK-VENDOR IS INITIAL.
              MOVE IT_PURCHASE-VENDOR TO DATA_PACK-VENDOR.
            ENDIF.
            MODIFY DATA_PACK TRANSPORTING VENDOR MATERIAL MATL_GROUP
                                          PURCH_ORG PUR_GROUP DOCTYPE
                                          DOC_CAT /BIC/ZKNTTP.
          ENDIF.
        ENDIF.
      ENDLOOP.
      REFRESH DATA_PACKAGE.
      DATA_PACKAGE[] = DATA_PACK[].
      FREE : DATA_PACK , IT_PURCHASE.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    if you have any other isues do let me know.
    Regards
    Sundaresan
    Message was edited by: sundaresan chander
    Message was edited by: sundaresan chander

  • Link between Invoice document items and Accounting document items

    Hello, Colleagues.
    Can you help me, please. I don't solved next problem. I should associate Invoice document (Create with MIRO) items from tab "PO reference" with items from tab "G/L account" or with tax items Follow-on accounting document. Invoice document can contain items with amount equals 0 and this items don't add to the tab "G/L account" and to the items accounting document. So Invoice document can contain items with material code greate than one.
    Or link between RSEG <-> BSEG or link between RSEG <-> RBCO.
    Thank you.

    Hi ,
    U can refer the  VBRP - vbeln to BSEG-REBZG and get REBZZ (Invoice line item).
    thanks
    Shambhu

  • Link between delivery line item and sales order item schedule line.

    Hello friends,
    This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
    I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
    Thanks for your help.
    - Chetan

    This is the code which i used for the same purpose and its working.
    Hope this will help you too....
    ****it_itab  is my final internal table.
    *Internal table for manupulating the Delivery balance when
    *its used in more than one schedule line
    TYPES: BEGIN OF ty_new,
           vbeln TYPE vbep-vbeln," so no
           posnr TYPE vbep-posnr," so line no
           etenr TYPE vbep-etenr," schedule line
           delno TYPE lips-vbeln,"delivery no
           delposnr TYPE lips-posnr,"del item no
           totval TYPE vbep-wmeng," total del wise value
           val   TYPE vbep-wmeng," del wise used value
           sdval TYPE vbep-wmeng,"schedule wise  del used value
           sdtotval TYPE vbep-wmeng," total Schedule value
         END OF ty_new.
    DATA:it_new TYPE ty_new OCCURS 0,
         wa_new TYPE ty_new.
    DATA: it_vbepvb TYPE TABLE OF vbepvb,
            wa_vbepvb LIKE LINE OF it_vbepvb,
            fvbfa TYPE TABLE OF vbfa,
            fvbup TYPE TABLE OF vbup,
            fvbap TYPE TABLE OF vbapvb.
      LOOP AT it_vbak INTO wa_vbak.
        LOOP AT it_vbap INTO wa_vbap
                WHERE vbeln = wa_vbak-vbeln.
      SELECT * FROM   vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
                                             AND  posnv = wa_vbap-posnr.
      SELECT * FROM   vbup INTO TABLE  fvbup WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
        EXPORTING
          fbeleg                        = wa_vbap-vbeln
          fposnr                        = wa_vbap-posnr
      FVERRECHNUNG                  = ' '
      FS073_ALT                     = ' '
      IF_NO_SORT                    = ' '
        TABLES
       fvbfa                         = fvbfa
       fvbup                         = fvbup
       fxvbep                        = it_vbepvb
      FVBLB                        =
        fvbap                        = fvbap
    EXCEPTIONS
      FEHLER_BEI_LESEN_FVBUP        = 1
      FEHLER_BEI_LESEN_FXVBEP       = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT it_vbepvb BY vbeln posnr edatu.
      LOOP AT it_vbepvb INTO wa_vbepvb
                    WHERE vbeln = wa_vbap-vbeln
                      AND posnr = wa_vbap-posnr.
        to write data of schedule line with no delivery
        MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
        IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
          CLEAR wa_itab.
          PERFORM schedule_data.  "schedule line based data to be displayed
          MOVE: wa_vbap-lgort TO wa_itab-lgort.
          MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                wa_vbepvb-bmeng TO wa_itab-kwmeng,
                wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          APPEND wa_itab TO it_itab .
          CLEAR wa_itab.
        ENDIF.
        LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
                                            AND  posnv = wa_vbepvb-posnr.
          READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
          CHECK wa_likp-bldat >= wa_vbepvb-edatu.
    check the Delivery doc date with the schedule line confirmed date
          CLEAR: delbal, deltot,wa_new.
          LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
                                         AND       posnr = wa_vbepvb-posnr
                                         AND       etenr = wa_vbepvb-etenr.
            deltot = deltot  +  wa_new-sdval.
          ENDLOOP.
          delbal = wa_new-sdtotval - deltot.
          CHECK sy-subrc <> 0 OR delbal GT 0.
          MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          CHECK  wa_vbepvb-bmeng NE wa_itab-openqty.
    ****To check whether this delivery is already fully allocated against
    any other schedule.
    LOOP AT it_lips INTO wa_lips WHERE  vbeln = wa_vbfa-vbeln
                                           AND posnr = wa_vbfa-posnn.
            MOVE: wa_likp-bolnr TO wa_itab-vesname.
            MOVE: wa_likp-vbeln TO wa_itab-delno.
            MOVE: wa_likp-wadat TO wa_itab-wadat.
            MOVE: wa_likp-anzpk TO wa_itab-anzpk.
            MOVE: wa_likp-lddat TO wa_itab-lddat.
            MOVE: wa_likp-ernam TO wa_itab-ernam.
    ******end of code added by IVL1 on sep 27 2007 #3618
            PERFORM schedule_data.
            IF wa_lips-umvkz <> 0.
              tempquant = wa_lips-umvkn / wa_lips-umvkz.
            ELSE.
              tempquant = wa_lips-umvkn. "delivery qty
            ENDIF.
            tempquant = tempquant * wa_vbfa-rfmng.
    ***New logic added to get delivery qty schedule wise****
            MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                  wa_vbepvb-bmeng TO wa_itab-kwmeng,
                  wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
    **if delivery qty is less than or equal to schedule line qty******
            IF tempquant LE  wa_vbepvb-bmeng.
              wa_itab-delqty =  tempquant.
              LOOP AT it_new INTO wa_new  WHERE  vbeln = wa_vbepvb-vbeln
                                         AND     posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                         AND     delno  = wa_lips-vbeln
                                         AND     delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new TO it_new.
              ENDIF.
             wa_itab-delqty =  tempquant.
             CLEAR tempquant.
            ELSE.
        lips qty > so schedule lineqty
              CLEAR deltol.
              LOOP AT it_new INTO wa_new WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                deltol = deltol  + wa_new-val.
              ENDLOOP.
              LOOP AT it_new INTO wa_new  WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-val = wa_new-totval - deltol.
                wa_itab-delqty =  wa_new-val.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_new-val.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF  sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_itab-delqty =  wa_vbepvb-bmeng.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val =  wa_vbepvb-bmeng.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_vbepvb-bmeng.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new  TO it_new.
              ENDIF.
            ENDIF.
            IF NOT wa_lips-lgort IS INITIAL.
              MOVE: wa_lips-lgort TO wa_itab-lgort.
            ELSE.
              MOVE: wa_vbap-lgort TO wa_itab-lgort.
            ENDIF.
            APPEND wa_itab TO it_itab .
            CLEAR wa_itab.
          ENDLOOP. 
        ENDLOOP.
        CLEAR wa_vbepvb.
      ENDLOOP.
        ENDLOOP.
        CLEAR wa_vbak.
      ENDLOOP.

  • Smartforms: no page break between last line item and footer in table?

    Hello All,
    my smartform has FIRST and NEXT pages. I would like to avoid a page break between last item line of a table in MAIN window and the footer of the same table.
    Here is how it looks currently.
    Output of FIRST page, MAIN window, table ITEMS:
    1.line item
    2.line item
    3.line item
    4.line item
    page break
    output of NEXT page, MAIN window, table ITEMS:
    1.footer line
    2.footer line
    I would like that if a footer does not fit on FIRST page, it would be displayed on NEXT page with last item line.
    It should be like this:
    output of FIRST page, MAIN window, table ITEMS
    1.line item
    2.line item
    3.line item
    page break
    output of NEXT page, MAIN window, table ITEMS
    4.line item
    1.footer line
    2.footer line
    Any ideas?
    Thanks and best regards,
    Mindaugas

    Do you mean line item text or your want to print footer text?
    If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
    If it is item tem.
    Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
    Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
    I hope it will help you to solve your problem.
    Regards,
    SaiRam

  • Strike Through between last line Item and footer

    Hi Experts,
    I have a requirement like this,
    I have dynamic table which displays items of invoice and Footer in the Master page.
    There will be dynamic space between Table and Footer when the lines items are not completely filled till the footer area. My requirement is to draw a cross line which begins at the end of the line( left most corner) and ends above the footer(right most corner)
    As if the diagonal line is drawn.
    Please let me know how to achieve the above functionality.
    Regards,
    Narayan

    Do you mean line item text or your want to print footer text?
    If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
    If it is item tem.
    Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
    Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
    I hope it will help you to solve your problem.
    Regards,
    SaiRam

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

  • How to add Line items to Accounting Doc

    Hi All,
    I want to capture the amount of inventory to a separate GL accounts while doing GR.
    Accounting Document should look like this:-
    Inventory a/c 1000 BSX
    GR/IR a/c           1000- WRX
    1New line a/c  1000
    2New line a/c    1000-
    How can we achieve this.
    Thanks.

    U can make use of purchase account and purchase offset account . In obyc assign the account to purchase account EIN and puchase offset account EKG.

  • 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

  • Billing doc item to Accounting doc item no relation

    Hi all
    I want to link the billing doc item to Accounting doc item no.
    how is the relation available using tables & fields ?
    thanks

    Dear SRI,
    These are the fields
    1.BUZEI --- Number of Line item with in the Accounting
    Document.
    2.POSNR -- Billing item
    These are the Tables,
    1.VBRP -
    (INV ITEM)
    2.BSEG -
    (ACC DOC SEGMENT)
    I hope it will help you
    Regards
    Murali.

Maybe you are looking for