Substitution on BSEG HELP

Hi experts,
i have to change some fields on Account Document before commited, i was trying to use a Substitution ( obbh ), by document position.
I can change all fields' values except KOART field. I know this is a critical field, but is there a way to change its value ?. After i change it i get an INSERT ERROR and Account document's not created.
Is there a way to change that field, or if there are some validations, what are they ?, what conditions i need, maybe change others fields first...
Regards,

Hi,
The KUNNR does not get updated for 2nd and subsequent line items of an accounting document no.
The reason being, in an accounting doc, since the 1st line is a debit entry it always belong to the customer code. Hence fo any acc. doc, the KUNNR will be available for 1st line item. Whereas the subsequent line items are credit items and will get recorded against a G/L account and not against a customer code.
This is designed as per std SAP. Also FYI, since BSEG is a cluster table and any changes to an acc. doc gets recorded in this table, its not advisable to change this std SAP table. It will lead to data in consistency in your system and lead to accounting errors during reporting.
Regards,
JLN

Similar Messages

  • Substitution in bseg-fdwbt

    I have create a substitution of the content of field bseg-fdwbt, but it doesn´t catch negative values in spite of the field has symbol field, can anybody help me please?.
    regards
    thanks in advance

    hi,
    what for a substitution? - with trx OBBH?
    field is not changeable, i think...
    A.
    Message was edited by: Andreas Mann

  • Substitution not working - Help needed ASAP..

    Hi Gurus,
    We're trying to substitute the PersonListVO of Irecruitment>Candidates page> Individuals tab. We have imported the substitution successfully and deployed the classes and xml in the right directory. But the page is still referencing the original vo. below is the output statement of jdr_utils.printdocument. PLs help as we're near our deadline and we've run out of ideas. Thanks.
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/user" version="9.0.3.8.13_1426" xml:lang="en-US"
    customizes="/oracle/apps/per/irc/candidateSearch/server/PersonListVO">
    <replace with="/fao/oracle/apps/per/irc/candidateSearch/server/FaoPersonListVO"/>
    </customization>

    Yes, we have already bounced the server many times and check the about this page if the substitution has been reflected even before we checked using jdr_utils.. But so far no luck. What I forgot to mention before is that the vo we are substituting is composed of 6 EO and we couldn't change the query using the expert mode, so we just added one of the columns from the EO..

  • A performance problem about query bseg, help,help

    thanks
    we have a new report use such a sql which runs a long time: 
    SELECT bukrs gjahr bzdat anln1 bschl dmbtr
        INTO CORRESPONDING FIELDS OF TABLE bsegtab
        FROM bseg
       WHERE               gjahr = gjahr
         AND bschl IN ('70' , '75')
         AND anln1 IN anln1
         AND meins = ''
         AND anln1 LIKE 'G%'
         AND hkont LIKE '1502%'
         AND bzdat >= dat
         AND bzdat <= dat1.
    in se11,I can see bseg primary key is "mandt,bukrs,belnr,gjahr,buzei",and it is a cluster table.
    Could I create an index on this culster table.
    Could you give me some advices?
    the environment is ecc6.0 and oracle 10g.
    Edited by: victor on Sep 17, 2010 2:25 AM
    Edited by: victor on Sep 17, 2010 2:25 AM

    Hello,
    Below link will be helpful.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=180356001
    Regards,
    Yoganand.V

  • Substitution string and Help page

    I have a substitution string used in item label. However, when the Help page is displayed, instead of substitution value the substitution string is displayed. Is this expected behaviour, a bug, or something else?
    Thanks,
    S

    What's your first name, please?My first name is Sima.
    Is this a popup item help page?No, this is not a popup item help page.
    Please show the content of the item label. Does it end in a period? What is it, a page item, application item, ...?This is the content of the item label (it does end with a period):
    * &ACCOUNT_NO_LABEL.
    It is a page item.
    This is the relevant content of the help page:
    Region: Search Accounts
    * &ACCOUNT_NO_LABEL.
    : Enter the account number for which you want to ...
    Thanks

  • Getting Error Page after two VO substitution - urgent, please help

    Hi All,
    I substituted two VOs in the CWB Allocation page. Did everything (I think) according to Oracle doc, but when trying to open that page I am getting ERROR PAGE and 'You have encountered an unexpected error. Please contact the System Administrator for assistance. '
    Please, help. I understand it is something fundamentally wrong, but it does not give me any error messages to even start working on.
    Thanks a lot.
    SR

    Hi Arvind,
    I have turned Diagnostics to Yes on my user level, but I am getting the same:
    Error Page
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    And there is no link on this page except the Logout link, which, of course, just logs me out of apps.

  • Steps to create substitution rule for field BSEG-RECID

    MIRO generates FI document. FI document has BSEG-RECID field. I need to apply substitution for BSEG-RECID depending on the value of the RSEG-GEBER field in MIRO. The substitution must be activated only if account to be booked is PL account in FI and derived MM document based on ZNPP PO type.
    Field values are as follows:
    RSEG-GEBER     BSEG-RECID
    No value                          No value
    N                              N
    D                              D
    A                              A
    Could anyone please let me know the steps to create the above substitution rule for the FI document
    Thank You

    Hi,
    You can do it as below:
    Prerequisite : Select the document type for which you want check, here you have to select the BKPF-BLART = " " (Give the document type for the MIRO)
    Substitution: Use the User exit with the logic as you said.
    If you want you can use the user exit in both PREREQ & SUBSTITUTION. It will be applicable in your case
    VVR

  • BSEG Update during accounting document post

    Hello ALL,
    Need an idea to update a custom field in BSEG. The field should get updated once the A/C document gets generated but not yet saved in database. The BTEs are not helpful as its NOT allowing to change the T_BSEG entries. Substitution also not helpful as its gets triggered quite prior to the actual generation of accounting document in the system. The important part is the updation shouldn't be transaction specific. Means whenever an accounting document gets generated that exit/badi/bte should trigger to update that custom entry.
    Many Thanks for the suggestion.
    Somnath

    Hello Ankur Agrawal,
    Thanks a lot for your help.
    I got the item text from the mentioned BADI.  I will get back to this post if it works.
    Thank again for your quick reply.
    Kind Regards,
    Bryan

  • FI Substitution exit to Business area not possible in the Standard SAP

    Hi Experts
    I need to derive the business area from the funds centre (local government) in the FI Substitution.  This is allowed in the Co Substitution though but it must come ahead of OKB9.
    We get the following with loading the Bank Statement FF_5.
    Error: (00 298) Formatting error in the field COBL-GSBER ; see next message
    How can I get the Business areas in the allowed fields in the FI Substitution?
    Please help
    Kind regards
    Dawn

    Dear,
    Go to SM30 Enter VWTYGB01click on Maintain
    Postion the folloiwng:
    Boolean Class = 9
    Type = S
    Table = BSEG
    Field = GSBER
    Untick the Column Exclude
    Once done please re execute the OBBH, Business Area will be shown there.
    Br, Vivek

  • Symbol and Text Substitution Settings File-

    Hi,
    I have two computers with Snow Leopard, and I've made a [large] list of substitutions on one computer. I'd really rather not spend my time manually copying them over from each computer. I've tried looking for a settings files to copy, but I can't find it. The one for words I've chosen to have OS X 'learn' is found in the 'Spelling' folder (~/Library), but I can't find substitutions.
    Any help would be appreciated,
    Thanks.

    Go to System Preferences...
    - Language & Text
    - - Text
    Symbol and Text Substitution
    Hit the '+' icon bottom right to add your own.
    Otherwise, you should perhaps look to a 3rd party app, such as TypeIt4Me:
    http://www.macupdate.com/info.php/id/6908
    Be sure whatever you find is snow leopard compatible, of course.

  • Cost center substitution not working

    Hello,
    I have made a CO cost center substitution in OKC9, callup point 1, prerequisites: sales office=1010, sales group=n01, substitution COBL-KOSTL with "na001".
    The sustitution is active , I have run program RGUGBR00 but still not working. When I try to make a delivery I get the message that the account needs CO allocation.
    I have also try using FI substitution for BSEG-KOSTL, but I can't get the same prerequisites (sales office and sales group).
    Please, suggest a soution.
    Lavinia

    Hi
    ABAP code needs to be written in the exit... With in the code you need to read the fields coming in from SD... Ask your abaper if it is possible to use some field symbols and read the data from memory directly
    I dont know the technicalities much, but it should be possible to read the fields
    br, Ajay M

  • Substitution Rule for Payment Term

    Hi Expert,
    I have to have Substitution for payment term the following criteria:
    Company Code = '1000' AND Document Type = 'L1' AND Posting key = '14', then ... substitution bseg-zterm with certain payment term.
    Problem: there is no substitution for bseg-zterm.
    I read the post at http://sap.ittoolbox.com/groups/technical-functional/sap-acct/substitution-rule-for-payment-term-489202
    and found that I need to apply a SAP note 42615 in order to enable the BSEG-ZTERM field in Substitution Rule for Payment Term, and after that run Program RGUGBR00 to regenerate the substitution.
    But, problem again, our SAP is ECC 6.0, and the said SAP note is not applicable.
    Kindly advise is there any other way that I can enable the bseg-zterm field at substituion.
    Thanks,
    sbmel

    Hi
    1. Go to SE16N and enter Table GB01
    2. Enter &SAP_EDIT in the command prompt i..e the space where you type your T code and press enter
    3. BCL TAB = BSEG and Field = ZTERM... Execute
    4. Remove the X for the field BEXCLUDE.. SAVE....
    5. Select this entry and menu Table > Transport > Include in tr request
    6. Run RGUGBR00
    Br, Ajay M

  • Change BSEG contents in RGGBR000

    Hello,
    I'm using a Z* copy of RGGBR000, and in a customized FORM i'm changing the value of BSEG-ZUONR ( Assignment number ) but the change has no efects. The field maintains the old value.
    Does anybody knows if it's possible to change BSEG contents in an exit FORM ? And what's necessary to do to that change to have efects ?
    Thanks
    Paulo Sousa

    Paulo,
    you misunderstand the concept: BEXCLUDE has to be empty for fields which you want to change. If you want to change ZUONR, than it has to be empty for ZUONR. It is irrelevant what is in BUKRS.
    pls. follow the steps:
    1. create a substitution for BSEG-ZUONR (tcode: GGB1) with subst. exit, call the exit from the subst.
    2. activate it for the company code (tcode: OBBH)
    3. test, test, test ...
    ec

  • Validations & Substitutions in PS

    Hi All,
    If any body have some documents on how to maintain and Substitutions in PS,Please send me on [email protected]
    Thanks
    Muzamil

    Dear Muzamil,
    you can download the complete document for creating validations & substitutions from SAP Help portal. But it is not available in PS. you have to go to FI/CO and get it. Still the logic is same. I too did all my validations based on the FI/CO help doc.
    Thanks !

  • Creating a block key default for documents created by MIRO?

    Hi All,
    Could anyone tell me how to create a block key default for documents created by MIRO?  
    Thanks
    Gandalf

    Hi,
    I cannot find substitution field BSEG-ZLSPR in GGB1.
    My prerequisite is to check if SYST-TCODE = MIRO and unplanned delivery cost <> 0.
    How to define unplanned delivery cost field in the prerequisite. I cannot find the field name.
    You can see this field when you create MIRO, tab details.
    The purpose for my substitution is to block all unplanned delivery cost invoices.
    When I click on substitution the choices I got is only as below :
    BSEG  ABPER       Settl.Period
    BSEG  AUGGJ       Clrg Fiscal Yr
    BSEG  DOCLN       Line Item
    BSEG  FIPOS       Commitment Item
    BSEG  FISTL       Funds Center
    BSEG  FKBER       Functional Area
    BSEG  FKBER_LONG  Functional Area
    BSEG  GEBER       Fund
    BSEG  GMVKZ       Execution
    BSEG  GRANT_NBR   Grant
    BSEG  HKTID       Account ID
    BSEG  HZUON       Sp.G/L assgt
    BSEG  INTRENO     RE code
    BSEG  KSTAR       Cost Element
    BSEG  MEASURE     Funded Program
    BSEG  PARGB       Trdg Part.BA
    BSEG  PPA_EX_IND  Excluding/Includin
    BSEG  PPRCT       Partner PC
    BSEG  PRCTR       Profit Center
    BSEG  PRODPER     Prod.Month
    BSEG  PRZNR       Business Proc.
    BSEG  PSEGMENT    Partner Segment
    BSEG  SAMNR       Collect.inv.
    BSEG  SCTAX       FI-CA Tax Portion
    BSEG  SEGMENT     Segment
    BSEG  SRTYPE      Addit.Receivab.
    BSEG  UZAWE       Pmt meth.supl.
    BSEG  XREF1       Reference Key 1
    BSEG  XREF2       Reference Key 2
    BSEG  XREF3       Reference Key 3
    BSEG  ZUONR       Assignment
    Can anyone help me ?

Maybe you are looking for

  • Photos not showing up in my photo stream on my computer.

    My photos are in the "cloud" on my iphone and ipad, but the last photos showing up on my computer (not a mac) was October 11. I haven't changed any settings, I've done manual back ups, but nothing seems to work. Anything I could try?

  • Cannot Create a New Account in Sync

    I had a failed attempt to set up sync a couple of months ago, probably in FF 3.xx. I don't know if it actually created an account or not. I somehow got a sync key (I think) but Mozilla won't recognize my user name. I decided to start over, but Sync w

  • UDT and UDF - User-defined Tables and Fields

    Dear All, I am writing a Query to permit the Cashier to check her Cash entries and balances on a Daily basis. Basically, it's a General Ledger, but I want the Query - Selection Criteria window to display only a few GL codes namely GL codes 1240601, 1

  • Dreamweaver or Flash

    Can anyone point out the different between Dreamweaver and Flash? I used Dreamweaver for a while and recently tried Flash, but getting lots of feedback , some people takes a long time to get to the site. Also, some people said they can not access to

  • CIF Ques Stuck in READY State on R3 Inbound for no Reason

    Hi, Question pertains to CIF Processing and Ques waiting in READY State from R3 to SCM-APO for no Apparent Reason. Our Orders (PRs, STOs) generated via APO are being sent to R3 correctly, getting generated in R/3 but not coming back with the PR/STO N