Substitution BSEG Filed

Hi,
I am working on 4.6C system.
We have an issue with substitution created for FI document. We are trying to substitute the field 'Insurance Indicator' (BSEG-VRSKZ) via some logic.
The issue is that the substitution works well when we create a customer invoice via FB70 or FB01 (Direct Posting), however it does not work when we are creating the FI document indirectly- via SD while creating billing document.
We put the breakpoint in both the cases and found that BSEG-VRSKZ is populated correctly when the program leaves the substitution rule. So just want to know if there are any other places where BSEG fields could have been changed in case of indirect posting ? Any other clues ?
Regards,
Vin

There are sevral user exits for the billing document creation. Take a look at SDVFX004. It may do the trick.
I have also included all the other exits below;
pls assign points if helpful as a way to say thanks.
SDVFX001
SDVFX002
SDVFX003
SDVFX004
SDVFX005
SDVFX006
SDVFX007
SDVFX008
SDVFX009
SDVFX010
SDVFX011
V05I0001
V05N0001
V60A0001
V60P0001
V61A0001

Similar Messages

  • Substitution BSEG-ZBD1T

    Hi Experts!,
    I need to change te field BSEG-ZBD1T with a FI substitution or a user-exit. I change the value BEXCLUDE of the table GB01 but I can`t change the field in my substitution yet.
    Any idea??
    Thanks

    Hi,
    Did you already run program RGUGBR00 to regenerate the substitution?  If not, refer to [Note 842318|https://service.sap.com/sap/support/notes/842318] which includes the following instructions: "...make sure that the generated source code is up to date. You can use the report RGUGBR00 to do this.  Call this report in transaction SE38... enter the application area, for example FI, and the application callup point... and set all indicators except for 'Generate substitution routine in all clients' and 'Generate trace program calls'. Then execute the report."  The callup points can be found in table GB31 (for VALUSER = 'FI').
    If you have already generated with RGUGBR00 and still have a problem, then further research (and possibly a customer message to SAP) might be needed.
    Cheers,
    Jamie

  • Substitution:: BSEG-HKONT

    Hi Norman,
    Based on your posting i have checked the Table GB01 and identified that for BSEG and field HKONT the BEXCLUDE='X'. So
    I have written a small ABAP program to remove the 'X'.
    Code:
    Tables: GB01.
    GB01-BOOLCLASS = '009'.
    GB01-CLASSTYPE = 'S'.
    GB01-BCLTAB = 'BSEG'.
    GB01-BCLFIELD = 'HKONT'.
    GB01-BEXCLUDE = ' '.
    Modify GB01.
    Later when checked the record in GB01 the BEXCLUDE field was ' '.
    I then went into Object ZGGBS000 and under the "GET_EXIT_TITLES" created the entry
    EXITS-NAME = 'U9012'.
    EXITS-PARAM = C_EXIT_PARAM_CLASS.
    EXITS-TITLE = 'Replace GL Account (5th & 6th Char to 01)'.
    APPEND EXITS.
    In the FORM
    FORM U9012 USING BOOL_DATA type gb002_009 changing b_result.
    (At this point i receive the error "gb002_009 is unknown").
    I looked in the declaration
    type-pools: GB002. and i could not see any Type definitons for Boolean classes '009' init.
    As this is an Standard SAP Object how does the gb002_009 entry be made into this.
    Would be great if you could let me know the steps on this.
    Code:
    DATA: I_BSEG like BSEG.
    CLEAR I_BSEG.
    I_BSEG = BOOL_DATA-BSEG.
    I_BSEG-HKONT+4(2) = '01'.
    Please correct me if i am wrong.
    Thank you,
    - Sravan

    Could not find the code, but these seems to work...
    FORM U999 USING BOOL_DATA TYPE GB002_015.
      DATA: LS_BSEG   LIKE BSEG.
      LOOP AT BOOL_DATA-BSEG INTO LS_BSEG.
      LS_BSEG-HKONT+4(2) = '01'.
      ENDLOOP.
    ENDFORM.
    However, I agree with Rob.  Changing GL numbers seems very dangerous.  Can't this be accomplished with configuration?  Why do you need to re-map GL numbers during a financial transaction?

  • G/L account substitution with invoice reverse

    Hello Gurus,
    We have posted an invoice which is replacing G/L account value with the help of substitution ( substitution name = 'FPD_FNL') in MR8M tcode in which we have used the user exit 'U408' with some fixed value say 'X' but when we are doing the reverse invoice in that case its not showing sustituted G/L account value.
    Can anyone help are we need to use the different user exit for reversing the invoice apart from 'U408'?
    In the code, user exit is triggering for invoice reverse but for that particular document type EBELN is coming blank and hence it wont enter in our code.
    BR
    Sumeet

    Hi,
    I doubt if above note can be used.
    Please see below description from the note i.e the fields which can be used for the substitutio.
    You can carry out a substitution for some fields. If invalid values are
    substituted in this case, you may receive the wrong function o
    r error messages in standard programs. However, these errors are not
    particularly critical. You can currently release the following fi
    elds for substitution:
    BSEG-FIPOS, BSEG-HBKID, BSEG-MSCHL, BSEG-MANSP, BSEG-MADAT, BSEG-MANST,
    BSEG-MABER, BSEG-RSTGR, BSEG-ZLSPR
    But we want to substitute HKONT ( G/L account ) for the same.
    BR
    Sumeet

  • 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

  • BSEG-VBUND Updation using Call up point 3 while posting from VF01

    Hi,
    I have a requirement to update BSEG-UPDATE during the Invoice posting VF01.
    I tried to use Substitution at CALL UP POINT 3. but it is not updating the value.
    Please help.
    Thanks,
    Leela Krishna

    Hi,
    Create the substitution at call up point 2 (Line Item) as below:-
    Pre-requisit:-
    BSEG-KOART = 'D'
    AND
    BSEG-TCODE = 'VF01'
    Substitution:-
    BSEG-VBUND = your trading partner
    Regards,
    SDNer

  • Business Place Substitution

    Hi all
    Has any1 done Business Place/Section Code substitution for FB60 in ver 4.7? If yes, can some1 help me with the steps?
    Thxs in advance
    Hrishi

    Hello,
    For any t.code not only FB60.
    Prerequisite :
    BSEG - GSBER = 1100 ( this is our business area)
    Substitution :
    BSEG - BUPLA = B001
    BSEG - SECCO = B001
    In the above condition whenever the system finds the business area is 1100. Automatically substitute the below two fields.
    if u want only for transaction code FB60. Specify the transaction code in the place of business area or u can specify both by adding AND.
    Hope this is clear, if yes assign points
    Regards,
    Sankar

  • Population of filed PO in payment reference in Vendor line

    Hello all,
    At the time of MIRO, the PO no. needs to be fetch in Vendor line items "payment reference" field automatically based on the value entered in PO field.
    Can anybody help me to fetch the field by substitution or exit/BADI/enhancement is only the option.
    Regards,
    Amit

    Hi Amit,
    I have just tried to write a subsitution rule for this . Find below the same.
    Prerequisite : TRANSACTION CODE = MIRO and BKPF-BUKRS=(Your company code)
    Substitution: BSEG-KIDNO= BSEG-EBELN
    (Payment reference field needs to be replaced by Purchase order no)
    Please test it and let us know the results.
    Warm regards,
    Murukan Arunachalam
    Edited by: Murukan_A on Dec 21, 2011 7:22 PM

  • How to change customer reconciliation account in ECC6.0 without new GL fun?

    Hi,
    We have to default profit center for one customer without disturbing setup for other customer.
    Hence we have decided to change reconciliation account of that customer and will assign to acount with default profit center in 3KEI.
    Now my question is how to change recon ac of customer having too many line items for that customer.
    Please an I get help on this?
    Please can you provide steps to hange recon ac by transferring balance to other account?
    How we can deal with open/clear line items of that customer.
    Thanks

    Hi
    A rather simple way will be to set up a simple substitution rule for that particular customer in GGB1. You can write a simple substitution rule as under
    Prerequisite:
    BKPF-BUKRS=1000 and BSEG-KUNNR=1001112
    Substitution
    BSEG-PRCTR =101332
    You should activate this rule for entire Document
    Regards
    Sanil Bhandari
    Edited by: Sanil K Bhandari on Jun 13, 2011 12:22 PM

  • Profit center for purchase order without account assignment

    I've requirement to include profit centers in purchase orders without account assignment category.
    The trouble is when there is no profit center maintained in material master.
    Is there a way to determine profit center in purchase order for such cases?

    Dear Abinash,
    Define substitution in GGB1 at line item level as shown below:
    Prerequisite : BSEG-WERKS = Maintain plant
    Substitution : BSEG-PRCTR = maintain profit centre as constant value
    After define it, assign to the co.code.
    Regards,
    Mukthar

  • How to put default section code in Automatic payment program(F110)

    Hi,
    Is it possible to put default section code(BSEG-SECCO) in transaction code F110 for down payment transactions through Automatic payment program.
    in our company section code is required field for vendor transactions, if i am doing the transaction F-48 or F-53 or F-58 , i can able to give the input for section code, But when i am executing the auto payment against payment request system showing the error message 'Please Enter 1001 As Section Code" based on my validation rule for section code for posting key 29 with account type K
    How to overcome the above section code issue in auto payment without deactivation of validation.

    Hi,
    Just confirm how many section codes you are having.
    If you are having only one section code for your company code then you can achieve this by developing a substitution rule.
    T.code GGB1
    Prerequisite
    BSEG-BUKRS = 1000(give your company code)
    Substitution
    BSEG-SECCO=1001(give your section code)
    Here take constant and give section code manually
    If you are using business area then you need to give business area in prerequisite and respective section code in substitution.
    After you define the substitution you need to activate for your company code through T.code OBBH.
    Revert if you have any queries.
    Regards,
    Sankar
    Edited by: Durgasankar.Innamuri on Jul 30, 2010 12:11 PM

  • Invoice Document No. in F.10

    Dear Experts,
    Please advise how to bring Invoice Document No. in F.10 (Advance Return for Tax on Sales / Purchase).
    Thanks,
    Debasish

    Dear Murali,
    Thanks for your reply !!! I have tried with all the fields it is not appearing anywhere. But when you go to the Accounting document it is appearing in Table : BSEG & Filed : KIDNO.
    But this is not available in the layout of F.12. Please help.
    Thanks,
    Debasish

  • OB74 clearing rules

    Hi all,
    I want to clear one gl account automatically using OB74 rules. But I have an exception that this transaction doesnt cover.
    I explain in detail:
    We are receving bank statements in USD and EUR. So, invoices have to clear automatically in both currencies. With the rule defined below I can just clear automatically invoices posted in EUR (Local currency) or foreign currencies. But for USD I dont want to clear by local currency but Document currency.
    Rule defined:
    gl account 11000  using criterion DMBTR
    And I cant change the rule into criterion AMOUNT, because invoices in foreign currencies doesnt match with bank statemetn in EUR....
    How can I manage to get both rules in the system?
    Many thanks
    Regards
    M

    Dear Mansika,
    You want to clear the GL Account 110000 by Amount in local currency (DMBTR) when the currency is EUR. When the currency is USD the clearing is in Amount in Document Currency (WRBTR).
    SAP Standard doesn't provide conditional criteria for automatic clearing however you can use a substitution rule for this process.
    Look my suggestion below and let me know if it was helpful.
    Define 2 additional steps in your Substitution Rule:
    Step 1
    Prerequisite:
    BSEG-HKONT (GL acc) = '110000' and BKPF-WAERS (Moeda Doc) = 'EUR'
    Substitution:
    BSEG-DMBTR (Amount Local Currency) = BSEG-ZUONR (Assignment)
    Step 2
    Prerequisite:
    BSEG-HKONT (GL acc) = '110000' e BKPF-WAERS (Moeda Doc) = 'USD'
    Substitution:
    BSEG-WRBTR (Amount Local Currency) = BSEG-ZUONR (Assignment)
    Transaction OB74
    GL ACC: 110000 / Criteria: ZUONR (Assignment)
    I suggest that you set up the field 'assignment' as a selection criterion. If you have any use for this field look for some other field that is not being used.
    Regards

  • Creating a new Business Place

    Hi all,
    Is it advisable to replace an existing Business place with a new Business place.
    If I go for creating a new Business place for a company code, what else points I have to take care of, where else this Business place has to be change.
    Thanks in advance
    Mayank

    Dear Bhargava,
    This is the path to create New Bussiness Place
    The same has to be done in Financial Accounting (New) > Financial Accounting Global Settings (New) > Withholding Tax > Extended Withholding Tax > Basic Settings > India > Define Business Places
    Can be defined under :
    1.Tax on Sales/Purchases > Basic Settings> South Korea
    --> Business Places --> Define Business Place
    2. Withholding Tax>Extended Withholding Tax>India --> Define Business Places
    For any t.code not only FB60.
    Prerequisite :
    BSEG - GSBER = 1100 ( this is our business area)
    Substitution :
    BSEG - BUPLA = B001
    BSEG - SECCO = B001
    In the above condition whenever the system finds the business area is 1100. Automatically substitute the below two fields.
    if u want only for transaction code FB60. Specify the transaction code in the place of business area or u can specify both by adding AND.
    I Hope this helps you
    Prem

  • Substitution required for BSEG field updation.

    Hi All,
    I am having a scenario for updating the BSEG-RECID field depending on the value of the RSEG-GEBER field in MIRO.
    When I am trying to create a substituion in GGB1 T.Code:field BSEG-RECID is not displayed there for creating the substitution
    How to get that field for applying the substituion in to that screen. Remaining fields in BSEG table are being displayed.
    Help me out.
    Regards
    Srikanth

    Hi SriKanth,
    You will have to update the table using SM30 or take a help from an ABAPer to updated the table.
    I do not remember the table,but check the techinical details of the filed names in substituition and ask the ABAP er to update the field you require to be in the desgnated table
    I think there is a program which does the chage for you
    Anand

Maybe you are looking for