BSEG-ZUONR can't change by BTE 1120

Hi, gurus,
        I want to change the field BSEG-ZUONR with the DN number,  I use BTE 1120  to implement it, but it doesn't work. I refer https://www.sdn.sap.com/irj/sdn/nw-development?rid=/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7  and follow it step to step, but the demo aslo doesn't change the field. Is there any customizing issue I need to revised?
Thanks advance

Hi,
I wouldn't have used BTE for that, but rather substitution program RGGBS000.
You need to make a Z_ copy of that program, affect it (GCX2 and OBBH), do some customizing steps (SM30 on VWTYGB01)in order to open the fields for substitution.
Then create your own subroutines in ZRGGBS000 and set them in customizing (GGB1 for Financial Accounting).
NB: read carefully F1 helps provided, since amonst the 3 substitutions (document header, line item and complete document), 'Complete document' has now some severe restrictions.
Regards,
N H

Similar Messages

  • Change BSEG-ZUONR  during the Post Goods issue.

    Hi
    We wanted to Update the BSEG-ZUONR with sales Order no( traverse back to the Original SO during reversal)  ( Basically Assignment field (ZUONR) in the Accounting side) after performing the Post Goods issue  USING TRANSACTION VL02N.
    Is there any user exit which can allow us to update the accounting field ( ZUONR) during the post goods issue ( Tcode VL02N)?
    Thanks a lot.

    Hi,
    you can achieve this using the concept of validation and substitution rules in FI (Check transaction OB28) or below help
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/27/06e23954d9035de10000000a114084/content.htm
    Hope this helps
    Regards
    Shiva

  • Updating exist FI document BSEG-ZUONR data element.

    Hi there,
    We're trying to update ZUONR field on an FI document  (BSEG) after it has been posted.   I looked for a "change  fi document" BAPI and have not been able to do so.  Is a BDC for FB02 the only choice for such a requirement or is there a FM suitable for this task?

    First, thanks for the replies, second my apologies for not being more specific.
    Here is the scenario: I have new custom data element added to MIRO, which is eventually stored in the RBCO table (at the line item level.)   Our requirement is have this data element moved into the BSEG-ZUONR field.
    I am aware of BTEs and have attemped to do so using the 1120 process, but the problem is I don't have access to the original data as entered in MIRO in the tables available in that BTE.  It appears that the RBCO table is not even update until after 1120 process is executed.
    Once again, thanks for responses.

  • Raising Error in Process BTE 1120? is it safe?

    Dear all Experts,
    Iam using Process BTE - 00001120, to validate many things. It gets triggered in almost every FI document just beofre saving the document.  My Question is, is it safe to raise Error Message in this BTE as it gets triggered just before saving? If you can guide me to any FAQ's on BTE, it will be helpful.
    Note : Please answer the question if you have worked on the said BTE and if you have knowledge on it.
    Thanks & Regards,
    Faheem.

    Hi Nabeehatmadan,
    Thanks for the quick reply.Firstly I have not worked extensively on FI VALIDATIONS & SUBSTITUTIONS.As far as my knowledge and understanding , FI Validations & Substitutions are provided by SAP & we dont need to register Access Key for the same. But please check the Page 2 of the note 842318, which states :
    If you create a substitution, for example "Financial accounting - document
    line item", only certain fields are authorized for the substitution. This
    is because it may lead to problems with the documents or inconsistencies
    between different applications.
    It is possible to release more fields for substitution. However, this can
    be critical, as serious problems can occur as a result.
    This is why you should regard the following change as a modification (Note
    170183).
    And as I said that I have to raise error messages based on my checks and I have to use User Exits for the same to get my checks done as my checks includes conversions of WBS/Project compared with assignment etc etc , which cannot be done directly. Now check Page no 4 of the same note which states we cannot issue Messages :
    3. What must I take into account when implementing the user exit?
    No dialog boxes, warning messages, information or error messages must be
    issued in an exit, and a "COMMIT WORK" must not be rejected. This would,
    for example, interrupt the batch processing or cause problems with the
    documents to be posted. If you find a serious error in the field contents
    in the exit, send a termination message (A or X), which will ensure that
    the transaction is terminated.
    Please guide me if iam wrong ?
    Please let me know if we can issue error messages in BTE 1120?
    Thanks & Regards,
    Faheem.

  • Substituting BSEG-ZUONR value in MIRO with PO details.

    Hi All,
    I need to substitute the value of the assignment field (BSEG-ZUONR) with ebeln and ebelp details. I have coded a substitution exit
    at call point 2 in FI at item level. When i debug and check my code BSEG document no has no values(actually it is $       1) and ebelp and ebeln values are blank. Does any have an idea how to get the values for PO order no and item no.
    I am using transaction MIRO. The sort key 010 and this requrement is for document type RE.
    Regards,
    Vanita.

    Hi,
    maybe this can help:
    ( FI Enhancement Technique - How-To-Guide on the Usage of Business Transaction Events (BTE) )
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Best regards.
    Edited by: Pablo Casamayor on May 10, 2010 11:38 AM

  • FIELD BSEG - ZUONR NON EDITABLE IN FB02

    Hi guys,
    I went to "Document Change Rules, Line Item" in SPRO inserting BSEG-ZUONR as Field Name and put a tick on "Field can be Changed".
    Unfortunatly nothing happened in FB02 and the field is still non-editable.
    Could you suggest me a solution?
    Thanks a lot

    HI,
    As mentioned in note 827413 there is a golden rule regarding the changeability of fields in FI documents:
    When the field is used in Special Ledger field movement then it    is not possible to change this field in FI using transaction FB02.
    The reason is that Special Ledger is only updated when the document is created. For other components like profit center accounting or special ledger a subsequent change in an FI document is only local. Special Ledger does not get the information about the change. Thus, in order to avoid inconsistencies between SL and FI those fields are not changeable.
    Please check the follwong field movements for Special Ledger which contain the field ZUONR in the field movement (tr. GCL3).
    Regards
    Ravinagh Boni

  • BTE 1120 for posting to controlling

    Hello,
    I have been working on activating BTE 1120 to modify the WBS element before the document is posted. I have been able to successfully modify the value on field PROJK and it is shown in FB03, once the document is posted. However, it looks like the integration with Controlling is not catching my change. The line item posting to the WBS I forced using the BTE is not displayed in the controlling document or visible in report CJI3.
    Has anybody had the experience of using this BTE to modify CO objects like cost centers, WBS, etc..? Have your changes been successfully reflected in the CO document?
    I have read several discussions related to the use of this BTE, but no one has really discussed its integration with CO.
    Thanks!
    César.

    Yes and No, often true for BSEG fields, but for other applications like CO or new G/L (cf. OSS notes on this BTE and new general ledger)  there are some codes in include LFACIF48 to modify other internal tables. the problems may arise when field names are different in different application. (the MOVE-CORRESPONDING does not perform well...)
    Here no match between XBSEG-PROJK and T_ACCIT-PS_PSP_PNR, so you will be require to modify code in standard include LFACIF48 -> Read 1905020 - Substitution for 'Transaction Type' in New G/L View with Open-FI 00001120 for point of insertion (NB: This is a modification)
    Regards,
    Raymond

  • Can not change fields on document.

    Hi FI Gurus
    We recently upgraded to ECC 6.0. We are not able to change fields BKPF-XBLNR and BSEG-ZUONR in posted document. The configuration looks alright. Any help is much appreciated.
    Thanks
    Rajesh

    Thanks everyone for response.
    As i stated earlier, config is good and checkbox 'Field can be Changed' is selected for all four fields i am working with. The intersting part is, two fields are available for change but not the other two which i mentioned in my question above.
    Fields that are not working -
    1. BKPF-XBLNR
    2. BSEG-ZUONR
    Fields that are working -
    1. BKPF-BKTXT
    2. BSEG-SGTXT
    Looking forward to your idea?
    Thanks
    Rajesh

  • Miro custom error doesn't dissapear BTE 1120

    We are using BTE 1120 to check some conditions and issue an error message.
    The message is in the form
    message text-er1 type 'E'.
    The message does appear on the message tab under the MIRO TX, and it does prevent saving and accounting.
    The problem we have is that after correcting the problem it does not dissapear, which we think is logical since it's a custom message and we didn't include any logic to treat it.
    So, what is the way to go from here?
    1) change the way the error is introduced so that it's treated normally
    2) use some FM to manually erase the error
    3) any other way?
    Thanks for reading and thinking about this.

    We checked the BADIs but they didn't expose all the data we needed. After some code reviewing of past projects involving badis, we implemented in BTE 1120 the same type of messaging.
    We used the include for the message class
    INCLUDE mm_messages_mac.
    and then posted the messages from the BTE using the macro
    mmpur_message
    It worked like a charm.

  • BSEG-ZUONR to Update COPA

    Hi All, We are trying to update COPA-KNDNR with the value posted into BSEG-ZUONR. The scneario is from the F104 transaction, posting of doubtful debt provisions where customer number is updated into BSEG-ZUONR and we wish to update COPA with this value so that the provision appears at customer level. Can anyone help?
    Thanks

    Hi Richard
    I have not done this with an automatic transaction like F104, but you can post through Fi to PA directly.  If it is the expense account, not the provision acc.
    In transaction OKB9, tick the PSG (profit segment) on the relevant account.  Create a field status variant for the account to post to the profitability segment mandatory and assign to account master data in FI
    Then create a derivation rule in PA.  Select new rule, select table lookup. Table BSEG enter
    In the assignment section fill in ZUONR = CO-PA - KNDNR
    If this doesn't work, you can create a characteristic group in PA  and assign the transaction for FI and select the relative fields that can be filled by the FI entry without intervention from the user.
    Hope this helps.  Please assign rewards if it does.
    Kind regards
    Dawn

  • Update BSEG-ZUONR with VBRK-BSTKD

    Hi experts,
    This enhancement will kick in in real time when ever a billing document is generated and it involves posting into accounting.
    Update BSEG-ZUONR with VBRK-BSTKD .
    I need the substitution rule exit details.
    Plz can u tell me that whether I can get BSEG-BELNR value into this substitution rule exit or I should go for something else.
    <removed by moderator>
    Thanks
    Edited by: Thomas Zloch on May 3, 2011 3:17 PM - urgency reduced

    Hi
    In my opinion, it will be easier with an enhancement. See Note 301077 - User exits for the interface to accounting. Depending of what kind of item you want update, you can write this code:
       xaccit-zuonr = vbrk-bstkd.
    In the corresponding ZX* include.
    I hope this helps you
    Regards
    Eduardo

  • Which BAPI to update assignment number(BSEG-ZUONR)

    Hi All,
    I need to update a BSEG-ZUONR.
    I guess update is not the best way since i want to update in all related tables.
    Could you please let me know the BAPI through which besg-zuonr field can be updated.
    Regards,
    Dash

    Hi,
    This field you can control in Copying Control for Billing Doc(header) as target.
    Check Tcode VTFL(Delv to Bill), VTFA (order to bill) & VTFF (Bill To Bill)
    You can find the assignment/allocation number under additional information in the (document) line item that is forwarded from SD to FI. If the field was not filled in the order, you can determine the content of the field in this step:
    1. A:Customer purchase order
    2. B:Sales order number
    3. C:Delivery number
    4. D:External delivery number
    5. E:Actual invoice number
    If you do not make an entry and the field is not filled in the order, the field remains empty.
    If you would like to link the delivery to invoices in accounting (which is necessary in the self-billing procedure), enter 'C' for the relevant invoices.
    I hope this can assist you.
    regards,
    Ravi

  • Assignmnt num population(BSEG-ZUONR) in all line of Acc doc for Cr Memo(G2)

    Hi,
    Our business process is we create Credit memo request with reference to Returns Sales order and create Credit memo with reference to Credit memo request.
    When creating Accounting document from Invoice Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of customer line item as well as GL Account line items in the Accounting document.
    When creating Acc Doc from Credit memo Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of Customer line item only but not GL Account line items in the Accounting document.
    The same Customer & GL Account is used in both cases.
    Please hlep us to resolve the issue.
    Thanks in advance.
    Regards,
    Rahul

    Dear Rahul,
    I think It's SAP standard behaviour that field BSEG-ZUONR is not filled in     
    accounting item lines when you transfer a billing document to          
    accounting. Please have a look at program LV60BF00,                    
    form accounting_item:                                                  
    Felder, die nur in den Steuerzeilen vorkommen                        
      clear xaccit-kbetr.                                                  
      if vbrk-vbtyp ca vbtyp_reli.                              "WIA       
        clear xaccit-stceg.                                                
      endif.                                                    "WIA       
      clear xaccit-vbeln.                                                  
      clear xaccit-xblnr.                                                  
      clear xaccit-zuonr.                               ' <    here !!!    
      clear xaccit-gjahr.                                                  
    If you want to have this field filled for all item lines in accounting,
    then you have to use userexits to fill XACCIT-ZUONR. E.g. you can use  
    FUNCTION EXIT_SAPLV60B_004 to set XACCIT-ZUONR = VBRK-ZUONR in the     
    line items.                                                            
    I hope this helps.
    Balazs

  • If I chose the wrong folder as defaulf for downloads to go to, how can I change it?

    I use download manager. I hit '''yes''' when asked if I wanted to make the folder shown as the default for future downloads of that type. I did not mean to do that. How can I change the default folder?

    Hi belladonna82,
    You should take a look at the [[Downloads window]] and [[Options window - General panel]] Knowledge Base articles. They will give you all the details you need. Unless you are talking about the default action and not the actual download folder? If so, you should look at [[Options window - Applications panel]].
    Hopefully this helps!

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

Maybe you are looking for