Field in  BSEG

Hello experts,
I m developing the report on landed cost, I want one field namely 'Freight' included the service tax ,  for which data is in BSEG, for freight amount, material, po num  and its service tax and transaction is there.But the problem is against service tax  field these fields r not there except transaction & taxcode.
Scenario is:
A/c Doc No  Taxcode  FreightAmount    Transaction G/l Amount     Material No.Plant   Po Num     Line Item
700073334   S9          9999.96(Rs.)          FR1          0000270301  10001477   1010   112345678   001
700073334   S9          100                       ESA         0000270300  
700073334   S9          10                         ESA         0000330300  
700073334   S9          1000.96(Rs.)          FR1          0000270301   2000000   1010    112345678   001
700073334   S9          100                       ESA         0000270300  
I want to sum up the freight included the service tax for one particular material number.
I m not able to differentiate that one particular service tax exists for which particular material.
Plz tell any field by which I can differentiate.
Aastha

Hello Thomas,
BSET is a cluster table.
Can u tell BSET is a combination of which tables and can u tell in which table i get maerial number & freight amount included service tax amount.
Aastha

Similar Messages

  • User defined field in BSEG not accessible

    Hi all.
    I have appended a field in BSEG. When I view it in SE16 using BELNR, that field is visible, but when i search it using that field , it shows no data exists. It happens with very less no of BELNR, but it is creating problem.
    Can anyone help me?

    Hi Arpit,
    Please be specefic, Could you not see the data or the data field in the table.
    Please refer to data element if you are looking onto the field.
    You should be able to view the data for the particular BELNR if not there might be a data problem for that particular BELNR in BSEG table.
    Thanks
    Ravi Kanth.

  • Adding fields to BSEG

    Hello,
    We are planning to add some additional custom
    fields to BSEG and  want to know what all is involved in this
    task and what kind of risk we may run into and any insights and
    thoughts on whether it is advisable or not.Also,is it possile to bring in these additional fields onto vendor line item postings?Also,what kind of testing we need to do to make sure that we don't run into problems later.
    Regards
    Bala Pinjala

    Hi
    You can add custom fields to a SAP standard table. SAP standard programs will not read these fields, so you have to modify the required programs.
    Workload will depend upon which functionality you want to use.
    The is no risk in doing this change, the only test is to test the modified programs.
    Regards,
    Somar

  • Custom Fields in BSEG not updating on FI document post

    Hello Experts
    I'm facing a problem when posting FI documents. I'm using BAPI_ACC_DOCUMENT_POST and passing some Z fields using Table Extension2 (bapiparex). The problem is that the Z fields are not getting updated.
    BADI_ACC_DOCUMENT is implemented and working. In debug, I can see that the BADI is working as it should. Furthermore, It was already working for older developments in the same machine.
    This problem is only happening in Development machine (DEV). In Quality machine (QAS) everything is working fine. Because my program is still in development, I can't transport it to QAS to see if it works there.
    The problems are now the following:
    - Older developments aren't updating the Z fields in BSEG
    - My new development isn't updating Z fields in BSEG
    - Manual posting in FB01 updates the fields
    What I have done so far:
    - Checked my program codding (it's ok)
    - Checked BAPI BADI_ACC_DOCUMENT (it's also ok)
    - Checked all user exits being used on this machine that could be clearing this fields - In all of the implemented exits, none of them refers to this problem
    - Checked all implemented BTE's  - In all of the implemented BTE's, none of them refers to this problem
    - Searched for differences between SAP releases on DEV and QAS machines - All components have the same release
    - Checked for differences (activation, structure, source code, etc) of structure bapicobl_ci, ci_cobl, table bseg, BADI's being used, etc...
    What am I missing here? I think I have done everything that could explain this behavior and still have no answers...
    Thanks in advance, best regards,
    João Argêncio

    Hi,
    in BAPI_ACC_DOCUMENT_POST there is a part
        PERFORM call_customer_function
                TABLES extension1.
                                                                                    PERFORM call_badi
                TABLES extension2.
    for the extensions. Seems that there has to be filled a BADI implementation too to get the extension2 data into bseg.
    BADI interface is IF_EX_ACC_DOCUMENT, used method should be method CHANGE.
    Regards,
    Klaus
    Edited by: Klaus Babl on Apr 1, 2011 11:54 AM

  • Free fields on BSEG

    Hello Expert,
    I have to add 3 new fields on BSEG. I remember that the fileds XREF1, XREF2, and XREF3 were free fields. But I have seen that XREF3 is used by MM module.
    The fields, i need,  should be available for transaction FB01 to post invoice from another system.
    Can you give me some suggestion?
    Thanks. Bye.

    Hi Josy
    In order to add new field to the table BSEG you have two possibilities:
    - Add the required fields in the coding block.                        
       Path in the implementation guide is                                 
       Financial Accounting                                                
         -> Special Purpose Ledger                                         
            -> Basic Settings                                              
               -> Maintain Coding Block.                                                                               
    (Transaction   > OXK3)                                                                               
    - Using an "Append structure" for table BSEG.
    The aspects to be      considered are described in R/3 Online Documentation. You can access
       R/3 Online Documentation from any R/3 screen -> Help -> R/3 library.
       In R/3 Library, go to                                               
       -> BC - Basis Components                                            
         -> ABAP Workbench                                                 
           -> BC ABAP Dictionary                                           
             -> Tables                                                     
               -> Append Structures.                                       
    However, with this option on posting a document, the field is not    automatically added to the standard dynpros. Any modification must   be included in as a change to the standard system.                     
    Here is also information from development:  include technology is a suitable method to isolate SAP standard fields from customer fields in transparent tables.                            
    It is not suitable for cluster tables like BSEG.                                                                               
    The critical difference between transparent tables and cluster tables is that for cluster (and pool) tables the order of fields on        the database is always the same as the order in the dictionary.        
    For transparent tables an arbitrary translation between these orders can be achieved by the R/3 data base interface.                                                                               
    This implies that new fields can only be appended to table BSEG.       
    Any insertion inbetween existing fields or any change of field order would lead to a database conversion which is unacceptable     for huge tables like BSEG.                                             
    So event with an include structure for your customer fields   you would be in the situation that                                                                               
    a.) with the include at the end of BSEG you would be able to insert    
    fields here, but new fields delivered by SAP and inserted              
    in front of the include would lead to conversion if                    
    your include is non-empty.                                             
    New fields appended by SAP after the include would lead to situation   
    b.) with the include within BSEG, any new fields entered               
    into the include structure would lead to a conversion.                                                                               
    So an include can never solve the conflict of SAP and customer   adding new fields to a cluster table.                                                                               
    Therefore SAP and customer will always append fields to the end of  BSEG directly.
    During the upgrade the conflict has to be solved using   transaction SPDD (dictionary adjustment).                              
    During the upgrade(prior to activation) you will be prompted to run SPDD and see all your customer fields and possibly new SAP fields.          
    Here you can assure that your fields which are a formal modification will be retained in BSEG and new SAP fields will be appended to the  end of current BSEG definition behind your user fields."      
    Hope it helps
    kind regards
    davide

  • Bapi or function module to update rstgr field in bseg table

    what is the bapi or function module used to update the fields in bseg table particularly "rstgr" field?

    Hi,
    Use Bapi
    BAPI_ACC_DOCUMENT_POST
    Regards,
    Prashant

  • Adding custom fields in BSEG

    Hi All,
    We have an requirement where I need to add custome field to BSEG(with APPEND).
    I wanted to know the steps to add the custom fields in BSEG and also the impact of the same. Are there any concerns as this is a cluster table?
    Please let me know.
    Thanks for your help in advance.
    Best regards,
    Yogita
    PS : I couldnt find any details in the forum regarding this
    Please be careful when creating a subject line. I changed it to what I think you mean.
    Edited by: Rob Burbank on Oct 15, 2010 10:27 AM

    Guess you didn't look very hard. See Add New fields in BSEG
    Rob

  • Adding Custom Fields to BSEG and BKPF Tables

    Hi All,
    My customer would like to add around 5 fields to BKPF table and 6-7 fields to BSEG table. Can you all suggest me whether it would be a good idea to add any custom field to these tables ? I would like to mention that standard fields available in these tables will not be used for the requirements of the customer and he is insisting on adding custom fields. I need your expert advice on this matter.
    Regards,
    Rohit

    Hi Friend,
    Please do not add any custom fields in those tables.
    These two tables are pillar of accounting entries in SAP, if you want to push them then it is OK, otherwise find some other way.
    Regards
    Krishnendu

  • HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T

    hi frnds.
    currently iam working on SD MODULE I NEED the NET DUE DATE SO HOW TO DO THAT
    1 problem plz:
    HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T
    TOGETHER
    one is date & other is numeric value so how?
    one is date & other is numeric value so how to add this 2 fields
    & finally i want to display the o/p in date format dd/mm/year
    THANKS IN ADVANCE.

    Hi Mahesh,
    one of the nice features of ABAP is that it takes care about month/year changes when adding days/month on a date.
    ADD lv_zbd1t TO lv_zfbdt.
    This should work fine. If not, try to convert zbd1t into an integer first.
    To get you preferred date output format try this:
    DATA: lv_datestring TYPE string.
    CONCATENATE lv_zfbdt+6(2) '/' lv_zfbdt+4(2) '/' lv_zfbdt(4)
    INTO lv_datestring.
    This isn't tested, but should give you a clue.
    Regards,
      ok

  • Update of segment field in bseg table

    hi
    can any explain me about update of segment field in bseg table
    segment is mentained in profit center master record ,and i want to generate trial balance segment wise and profit center wise
    please suggest me steps to do in a new gl senario
    thanks
    cb

    Hi,
    You need to activate the assign scenarion FIN_SEGM to your ledgers in the below path:-
    SPRO> Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Ledger > Assign Scenarios and Customer Fields to Ledgers
    Then you need to make document splitting characteristics based on Segment field in the below path:-
    SPRO> Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting
    Make the below entry:-
    Field = SEGMENT
    Zero Balance = Selected
    Partner Field = PSEGMENT
    Mandatory Field = Selected
    Then you will be able to generate the balance sheet segment wise in report S_PL0_86000028 "Financial Statement: Actual/Actual Comparison". (Similar steps you can use for profir center wise balance sheet in addition.)
    Regards,
    Gaurav

  • Update a field in bseg table

    Hi experts,
    i want to update a field in BSEG  table (field name is BUPLA).
    Using UPDATE statement i am going to update the bseg table.
    I know only update statement.
    This my immediate requirement.
    please give me suggesstion.

    Hi,
    If you want to update the existing table record or field.. it is always advisable to use MODIFY statement instead of  UPDATE.
    syntax: 
    fetch the BSEG data to internal table IT_BSEG and do you modificaltions.
    Loop at it_bseg.
        it_bseg- XYZ = 'ABC'.
        it_bseg-UVW = '123'.
       modify it_bseg transporting XYZ  UVW .
    endloop.
    MODIFY BSEG FROM TABLE IT_BSEG   (here it_bseg is the internal table)
    COMMITWORK.
    Modify always check in the database whether the record exists or not if it is there it will modify the existing one.. otherwise create a new record.... in Update statement.. there is always a chance of creating a new record.. instead of updating the existing one...

  • VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs

    Dear Friends,
    I am traying to update the VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs....but its not updating in BSEG.
    for that we have used substitution programs,
    Did we have any other way to update the VBUND in BSEG from FB50?
    I have debuged the Tcode FB50, and in there its updating the BSEG from internal table t_bseg, and passing the values to t_bseg from SACCIT, but SACCIT is not having the field VBUND. thats the reasone its failed in my case.
    do we have any other better solutions and idea on this???
    Thanks,
    Sridhar

    Refer to the following trheads:
    Change field bseg-vbund
    Trading Partner field (VBUND) is left blank in EC-PCA historical data load
    Validation document type
    Field VBUND does not allow changes to the document ?
    Regards,
    Fernando Evangelista

  • VBUND(Trading Partner) field in BSEG from Tcode FB50

    How to VBUND(Trading Partner) field in BSEG from Tcode FB50 ? ( through program way)
    is it possible?
    Thanks,
    Sridhar

    >
    sridher reddy wrote:
    > How to VBUND(Trading Partner) field in BSEG from Tcode FB50 ? ( through program way)
    > is it possible?
    >  -->whats ur issues ? can you put it in simple english ?
    > Thanks,
    > Sridhar

  • Relationship between account fields in BSEG and FAGLFLEXA

    Hi there....
    I have some questions about the FI Module Standard Table Field.
    As I know, when the FI posting document is made, the BSEG-SAKNR, BSEG-HKONT, FAGLFLEXT-RACCT and FAGLFLEXA-RACCT field is filled with
    account value.
    1) What is the difference about each Table field ?
    2) When we report the Trial Balance, Which field is used to report it?
    With my best regards.

    BSIS is only for Customer Items , So here u wont get all item of a FI enttry.
    where from BSEG  u will get All items which are in that FI accouting entry inlcuding all G/L code.
    for more info check ur prev.post , i given simple example.
    Regards
    Prabhu

  • How to restrict field of BSEG using for all entries in

    Hi All,
    i want restrict field BSEG-UMSKZ by using for all entries in but facing some problem.can someone tell me how to use with example.If you want to see my Query is this.
    SELECT: bkpf~belnr
             with_item~buzei
             bkpf~blart
             with_item~wt_acco AS lifnr
             lfa1~name1
             lfa1~stras
             lfa1~ort01
             lfa1~stcd2 AS lifntn
             lfa1~stcd1 AS lifnic
             bkpf~budat
             wt_qsshb AS dmbtr
             qsatz
             witht
             wt_withcd
             wt_qbshb
             hkont
             with_item~wt_wtexmn
       INTO CORRESPONDING FIELDS
       OF TABLE gi_accdocs
       FROM bkpf
       JOIN with_item
       ON ( with_itembukrs = bkpfbukrs AND
       with_itembelnr = bkpfbelnr AND
       with_itemgjahr = bkpfgjahr )
       JOIN lfa1
       ON ( lfa1lifnr = with_itemwt_acco )
       WHERE bkpf~bukrs EQ p_bukrs AND
       bkpf~gjahr EQ p_gjahr AND
       bkpf~budat IN s_budat AND
       bkpf~stblg EQ space AND
       wt_withcd IN s_withcd AND
       with_item~wt_acco IN s_lifnr AND
       with_item~hkont IN s_hkont AND
       bkpf~belnr IN s_belnr.
    Thanks & Regards,

    hi,
    this is the whole coding with FOR ALL ENTRIES:
      SELECT: bkpf~belnr
             with_item~buzei
             bkpf~blart
             with_item~wt_acco AS lifnr
             lfa1~name1
             lfa1~stras
             lfa1~ort01
             lfa1~stcd2 AS lifntn
             lfa1~stcd1 AS lifnic
             bkpf~budat
             wt_qsshb AS dmbtr
             qsatz
             witht
             wt_withcd
             wt_qbshb
             hkont
             with_item~wt_wtexmn
       INTO CORRESPONDING FIELDS
       OF TABLE gi_accdocs
       FROM bkpf
       JOIN with_item
       ON ( with_itembukrs = bkpfbukrs AND
       with_itembelnr = bkpfbelnr AND
       with_itemgjahr = bkpfgjahr )
       JOIN lfa1
       ON ( lfa1lifnr = with_itemwt_acco )
       WHERE bkpf~bukrs EQ p_bukrs AND
       bkpf~gjahr EQ p_gjahr AND
       bkpf~budat IN s_budat AND
       bkpf~stblg EQ space AND
       wt_withcd IN s_withcd AND
       with_item~wt_acco IN s_lifnr AND
       with_item~hkont IN s_hkont AND
       bkpf~belnr IN s_belnr.
        SELECT UMSKZ
          from BSEG
          INTO  CORRESPONDING FIELDS OF TABLE  gi_amount
          FOR ALL ENTRIES IN GI_MAIN
          WHERE UMSKZ NE 'F'.
    Thanks & Regards.

  • Adding Amount field in BSEG table and display it single line item?

    hi experts,
           I am doing credit / debit form now my requirement is
                                               According to BELNR , GJAHR,BUKRS i want to find credit amount for this selection cretiria.
                         so i want to add all the lines of amount filed for a particular BELNR and display it as single line.
    so i am getting data from print program like this
    SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 2.
    PARAMETERS: p_belnr LIKE bkpf-belnr OBLIGATORY,
                p_bukrs LIKE bkpf-bukrs OBLIGATORY,
                p_gjahr LIKE bkpf-gjahr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b0.
    SELECT SINGLE *
                   FROM bkpf
                   INTO  i_bkpf
                   WHERE belnr = p_belnr
                         AND ( blart = 'DG' OR blart = 'ZG' )
                         AND bukrs = p_bukrs
                         AND gjahr = p_gjahr.
    IF sy-subrc = 0.
        SELECT  *
              FROM bseg
              INTO  table it_bseg
              WHERE belnr = i_bkpf-belnr .
      ENDIF.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'Z_CREDIT_DEBIT'    " p_name
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
          fm_name                  = v_form_name
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 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.
    CALL FUNCTION v_form_name
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        i_bkpf                     = i_bkpf
        i_bseg                     = i_bseg
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    so my I_BSEG containing all line items of particular BELNR . with the field SHKZG  iam  getting only credit line items .
      now i want to do is add all credited amount and display like this in a table.
    against ref#  (BSEG-REBZG) ! details (BSEG-SGTXT)!  amount
    124569                                   10%discount                950.00(total amount ie sum of all lines amount for a BELNR)
                                                                                    10.00(total tax amt ie sum of   all lines of tax amount for a BELNR)                                                                               
                                                                                    960.00

    hi arun,
             i used collect in smartform my procedure is like this .
                   i am getting data into i_BSEG because i declared like this in TABLES parameter
                      i created a loop .
                             in that i mentioned like I_BSEG into WA_BSEG.
                                   then i created a program lines here i mentioned like this.
                                                  COLLECT WA_BSEG INTO IT_BSEG.
               but because of BUZEI "Number of Line Item Within Accounting Document .it is not same it is varying for every credited time that means for every line of BELNR. thats why it is not adding it is just appending .
    so pls tell me any other chance to find sum .
    because i want to sum up all credted amount and display it in single line
    ie first column REBZG "Number of the Invoice the Transaction Belongs to(against ref) i want to display once .
    And Second column  SGTXT "item text(details) for amount once and for tax amount once
    And Third column Amount first line consists total amount & second line consists total for tax amount
    regards,
    satheesh.
    [email protected]
    any doubts chat me regarding this post.

Maybe you are looking for

  • Hyperlink error : on Exporting crystal report to Editable RTF format

    Hi , In my crystal report I have hyperlink which works normally. Now when I export this report to Editable RTF format; the hyperlink gives error "Error! Hyperlink reference not valid. " It works for other formats. Please help

  • Finding the width and height of an image

    Hi... i have a path to an image "images/me.gif" and i'm trying to find its width and height.. am trying to use javax.swing.ImageIcon but it refuses to recognise the constructor with just the filename (string) parameter, and needs a URL to the file...

  • Essbase cubes with different levels of detail - OBIEE 10.1.3.4.1 on LINUX

    Hi all, I have BSO and ASO cubes which contain broadly the same information, but with the ASO cube at much higher detail. For simplicity sake, they only have 1 dimension, and 1 fact. The dimension a date and is structured like: Gen2 = year Gen3 = yea

  • Crystal reports Drilldown

    In crystal reports 11.5 as i drilldown on the report the group changes for example i have 3 groups 1.Region 2. Loss & Damage 3. Paid & Denied In the report i am showing it as Region name       Loss            Paid            Denied       Damage      

  • Missing background image in firefox

    Hi , I have a problem with firefox not showing a frame bg image when it is the exact same height as the frame , the same page displays properly in safari . The frame has a fixed height ( in pixels ) . I noticed that it displays the bg image when the