Table with liv no and accounting doc

hi,
i have table BSIK and BSAK and RSEG but i not able to link between them. accounting doc is 52# in bsik/bsak and liv is 57# in rseg.
need advice.
thanks
rgds

The following are the important tables for LIV and the Accounting document
BKPF Accounting Document Header  fields BELNR and GJAHR
BSEG Accounting Document Segment fields BELNR and GJAHR
RBKP Document Header: Invoice Receipt
RESG Document Item: Incoming Invoice

Similar Messages

  • Number range of billing doc and accounting doc to be same

    Hi Gurus,
    Can any one help me out to make the number ranges of billing doc and accounting doc same every time.
    Even though the invoice is cancelled the same no range should come for cancellation accounting doc.
    Thanks in advance
    Dushyant

    Hi,
    Create or change the same interval for the BILLING DOCUMENTS & ACCOUNTING DOCUMENTS in VN01 and FBN1*
    For BILLING DOCUMENTS assign this Number range in the VOFA transaction code for the Billing document tyes*
    For ACCOUNTING DOCUMENTS assign this Number range in the FBN1 for your company code and fiscal year*
    activate the External Field [] . this is mandtry
    please check and revert back.
    regards,
    Anup Shukla

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • Problem creating a table with a subquery and a dblink

    Hello!!
    I have a little problem. When I create a table with a subquery and a dblink, for example:
    CREATE TABLE EXAMPLE2 AS SELECT * FROM EXAMPLE1@DBLINK
    the table definition is changed. Fields with a type of CHAR or VARCHAR2 are created with a size three times bigger than the original table in the remote database. Field of type DATE and NUMBER are not changed. For example if the original table, in the database 1, has a field of type CHAR(1) it is create in the local database with a type of CHAR(3), and a VARCHAR2(5) field is created with VARCHAR2(15).
    Database 1 has a WE8DEC character set.
    Database 2 has a AL32UTF8 character set.
    Could it be related to the difference in character sets?
    What can I do to make Oracle use the same table definition when creating a table in this way?
    Thanks!!

    That is related to character sets, and probably necessary if you want all the data in the remote table to be able to fit in the new table.
    When you declare a column VARCHAR2(5), by default, you're allocating 5 bytes of storage. In a single-byte character set, which I believe WE8DEC is, that also happens to equate to 5 characters. In a multi-byte character set like AL32UTF8, though, 1 character may require up to 3 bytes of storage, so you'd need to allocate 15 bytes to store that data. That's what's going on here.
    You could still store all the data if you create the table locally by explicitly requesting 5 characters of storage by declaring the column VARCHAR2(5 CHAR). You could also set the NLS_LENGTH_SEMANTICS parameter to CHAR rather than BYTE before creating the table, but I believe that both of these will only apply when you're explicitly defining columns as part of your CREATE TABLE. I don't believe either will apply to CTAS statements.
    Justin

  • TO DRAW A TABLE WITH MULTIPLE ROWS AND MULTIPLE COLOUMNS IN FORM

    Hi,
       How to draw a table with multiple rows and columns seperated by lines in form printing?

    check this
    http://sap-img.com/ts003.htm
    Regards
    Prabhu

  • Collect in an internal table with keys plant and material

    Hi ,
    I have an output internal table with material , plant and var quantitites .
    I would like to use Collect statement and sum the quantities but do it by plant and material .
    How do I specify that i want to do it on plant or material ?
    Thanks !

    hi here is an example like urs..
    DATA: BEGIN OF seats,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO seats.
      COLLECT seats INTO seats_tab.
    ENDSELECT.
    check for help..
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm
    regards,
    venkat

  • Tables linking the invoice and accounting document

    Hi,
    Can anyone tell me tables linking the invoice and accounting details table BSEG?
    Regards,
    Shanu

    Following BSEG fields can be found in VBRK
    MANDT
    BUKRS
    BELNR
    GJAHR
    ZUONR
    VBUND
    VBELN
    ZTERM
    ZLSCH
    BVTYP
    MSCHL
    MANSP
    MABER
    STCEG
    XEGDR
    KKBER
    KIDNO
    BUPLA
    Similarly following fields can be found in VBRP
    MANDT
    VBELN
    thanks
    G. Lakshmipathi

  • I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY WUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ??

    I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY QUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM .I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ?? HOW IT IS ??

    Hi Kishore,
    First identify deleted records by selecting "Detect deleted rows from comparison table" feature in Table Comparison
    Then Use Map Operation with Input row type as "delete" and output row type as "delete" to delete records from target table.

  • Suggestions for JSF table with sortale columns and Pagination

    Hi,
    My JSF application needs a table with sortable columns and also pagination.
    Thank you.

    Just add a bunch of commandlinks and/or commandbuttons at the right locations and invoke the appropriate logic in the backing bean.
    You can find some useful insights in this article: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • Crystal 2011 linking table with a String and a Number

    Hello,
    I am able to retrieve the data I want with the following  SQL Query in SQL: If I try to create it in Crystal 2011 APPLRUNN is a string and CNTBTCH is a number. Is there a way I can link these two fields if one is a string and the other is a number ?
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON ENADV.APPLRUNN = ENPBD.CNTBTCH
    Thanks,
    Debbie

    Hi Debbie,
    You cannot linking  table with a string and a number. I have given a example query:
    SELECT   
    ENADV.APPLRUNN, ENPBD.CNTBTCH,
    ENPBD.DOCNBR
    FROM       
    ENADV INNER JOIN
    ENPBD ON
    ENADV.APPLRUNN = ENPBD.APPLRUNN  or ENADV.CNTBTCH = ENPBD.CNTBTCH
    I modify last sentense because one table primary key is equal to another table Foreign key i.e
    one table ID field = another table ID field or one table NAME field = another table Name field.
    Please understand my intenction and check linking fields in tables.
    Thanks,
    DJ

  • One Tcode for excise invoice and Billing and Accounting doc no.

    Hi Sap,
    Is there any Tcode or Table to see the Sales Accounting Entries with the help of Excise Invoice number and Billing Document Number?
    I mean I want a Tcode or table to see all Excise Invoice number , Billing document Nuber as well Accounting document number in one screen.
    If any Tcode is there could you reply me,
    Regards,

    In VFX3 check if you have correctly filled up the selection screen.
    Especially "Created By" fields which gets the default value of user who is running the t-code. If you have not created the billing doc then keep the field empty.
    Also check in VF02 or VF03 if the billing doc exists.
    Either thru VF02 or VFX3 you can release the billing doc to accounting.
    There can be several reason for failure to post billing doc to accounting.
    For ex,
    1. FI posting period for the billing date is not open.
    2. Some of the GL where posting should go are locked.
    3. Account Assignment Group for the material is not maintained in material master.

  • Urgent Request! FM to link deleted sales order and accounting doc

    Hi there,
    I have this scenario:
    -I create a sales order and make a certain amount of downpayment.
    -At the save of the order, an accounting document is created in BSEG table with reference to this order (BSEG-VBEL2).
    -I delete the order that I created in step 1.
    -The accounting document still exists in BSEG.
    Question:
    A direct select on BSEG with vbel2, takes a very long time.
    ie. SELECT SINGLE belnr gjahr wrbtr pswsl saknr FROM bseg
        INTO CORRESPONDING FIELDS OF ls_bseg
        WHERE vbel2 EQ ls_event_sale_del-vbeln.        "#EC CI_NOFIELD
    Can anyone suggest a way to improve the performance, or does anyone know of a Fuction Module that I can use?
    Thanks,
    Deepti

    Arghhhh! You are right.
    I would do it like this. Find the document in the BSEG table. Then check it in the BKPF table - there are headers for posting documents. Write down the ATWYP field's value and check the AWKEY value (probably it will be the Order's number).
    Then you can search for the posting document in the BKPF table using the AWTYP and AWKEY fields. There is an index on these fields so it should go quite fast.
    Rgds
    Mat

  • Help to read a table with data source and convert time stamp

    Hi Gurus,
      I have a req and need to write a ABAP prog. As soon as i excute ABAP program it should ask me enter a data source name, then my ABAP prog has excute teh code, in ABAP code i have to read a table with this data source as key, sort time stamp from table and should display the data source and time stamp as output.
    As follows:
    Enter Data Source Name: 
    Then user enters : 2lis_11_vahdr
    Then out put should be "Data source  :"  10-15-2008.
    The time stamp format in table is 20,050,126,031,520 (YYYYMMDDhhmmss). I have to display as 05-26-2005. Any help would be apprciated.
    Thanks,
    Ram

    Hi Jayanthi Babu Peruri,
    I tried to extract YEAR, MONTH, DAY separately and using
    EDIT MASK written it.
    Definitely there will be some STANDARD CONVERSION ROUTINE will be there. But no idea about it.
    DATA : V_TS      TYPE TIMESTAMP,
           V_TS_T    TYPE CHAR16,
           V_YYYY    TYPE CHAR04,
           V_MM      TYPE CHAR02,
           V_DD      TYPE CHAR02.
    START-OF-SELECTION.
      GET TIME STAMP FIELD V_TS.
      V_TS_T = V_TS.
      CONDENSE V_TS_T.
      V_YYYY = V_TS_T.
      V_MM   = V_TS_T+4(2).
      V_DD   = V_TS_T+6(2).
      V_TS_T(2) = V_MM.
      V_TS_T+2(2) = V_DD.
      V_TS_T+4(4) = V_YYYY.
      SKIP 10.
      WRITE : /10 V_TS," USING EDIT MASK '____-__-________'.
              /10 V_YYYY,
              /10 V_MM,
              /10 V_DD,
              /10 V_TS_T USING EDIT MASK '__-__-__________'.
    If you want DATE alone, just declare the length of V_TS_T as 10.
    Regards,
    R.Nagarajan.
    We can -

  • 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

  • Relationship between invoice and accounting doc

    hello,
    in which table can i find the relationship between invoice number and accounting document ??
    thanx in advance..
    regards,]
    Maya.

    Hi,
    accounting document  - BSEK
    INVOICE NUMBER - BSEK,BSAD
    Thanks,
    Shankar

Maybe you are looking for

  • Creative Cloud Desktop App refuses log-in for Windows 8

    I've been getting this "unknown server error" for 4 days on my windows 8 creative cloud desktop app. I cannot install other CC aps until you resolve this. -- This has been a problem ever since creative cloud FORCED me to "upgrade" the creative cloud

  • ACS 5.3 - How to copy DB to a new instance of ACS 5.3

    I need to copy an existing ACS 5.3 database to another instance of ACS 5.3 that I've deployed.  I can't set up a primary/secondary between these two and do the deed via replication.  So it's going to have to be a export/import or a backup/restore.  I

  • Solved my Illustrator CS4 (Can not save file) issue (same as with Illustrator CS3)

    Using Illustrator CS4, if the OS default printer is turned off, Illustrator will crash when saving the file to a name/format other than what it was opened as. I tested this and it's true, the bug exists in Illustrator CS4 (and was referenced in a tic

  • ERROR - No Response from application server

    Hi all, i'm hitting this error in my application server, i search and read some posts in this forum regarding the same subject, but, the only answer i got is "shutdown app server and start again" It's very important that i understand and correct what

  • Oracle JDBC (10g) reading clobs -- best practices

    What is the better approach using oracle 10g to save clobs: #1) This: PreparedStatement pstmt = conn.prepareStatement //Create the clob for insert Clobs Clobs = new Clobs(); CLOB TempClob = Clobs.CreateTemporaryCachedCLOB(conn); java.io.Writer writer