Need help in BTE 1120

Hi Folks,
I have created a BTE using the "how-to" guide available in SCN. I followed all the steps given there but still my BTE is not triggered when exceuting transaction F110.
I am sure that the application is active for BTE i.e in table TBE11, I have an entry for the application.
But there are no entries in the table TBE34 and TBE01.
Do I need to add the entries in these tables as well?
How do I debug my BTE code?
Am I missing any step?
Please guide.

Hi
I was debugging the code and just found out that the system recognizes the Z function module and append it to the internal table ITPS34.
But in the very next step it deletes the record fro this itab, comparing the LAND or APPLK field.
This is why the Z_SAMPLE_PROCESS_00001120 is not triggered.
That means u've set a filter for the country in your setting, so something is not rightt there.
Can u post your setting?
Secondly, I editted the itab values in the debugger and made the control to go inside the Z function module. But here the document number is not yet generated (BKPF-BELNR). This is the value I have to concatenate with GJAHR and put in the field XBLNR.
The BTE (process) 1120 is to substitute the values of the fields of an account document, so this BTE is triggered in the step of the substitution, in this step the document number is unknown, the system'll get it in posting step.
That means u can place the document number in substituion step.
Here [Re: Exit for posting document with BKPF-BELNR available] a guy had a problem like your, perhaps the answer can be helfull for you too.
Max

Similar Messages

  • 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

  • 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.

  • 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.

  • Need userexit / badi / bte to enhance the automatic clearing rules

    Dear All,
    My requirement is to enhance the automatic clearing rules for tcode ff_5.
    Program RFEBKA00 will upload bank statement items based on the external transaction codes provided by the banks .
    The standard posting rules will clear a GL bank account using a set of algorithms for further interpretation set of standard algorithms do not meet the clearing criteria.
    Hence I need userexit / badi / bte to enhance the automatic clearing rules. EXIT ZXF01U01 / FEB_BADI are triggering before posting the document.
    So we cannot use these. Please suggest me regarding the same.
    Thanks in advance
    Somu.

    Hi,
           Did you get a solution for this problem from any other means? Cause I am also facing the same problem. It will be great if you can  help me in this regard.
    Thanks
    Sudheer K

  • Need help to develop Pythagoras theorem-

    Hi i need help to develop proofs 2,3,4
    of pythagoras theorems in java as demonstrations
    These are applets can anyone help me with it or give me an idea of how to go about developing it -
    the site is the following
    http://www.uni-koeln.de/ew-fak/Mathe/Projekte/VisuPro/pythagoras/pythagoras.html
    then double click on the screen to make it start

    Pardon my ASCII art, but I've always liked the following, simple, geometric proof:
         a                   b
    ---------------------------------------+
    |       |                                |
    a|   I   |              II                |
    |       |                                |
    ---------------------------------------+
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    b|  IV   |              III               |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    ---------------------------------------+It almost goes without saying that I+II+III+IV == (a+b)^2, and II == IV == a*b,
    I == a*a and III == b*b, showing that (a+b)^2 == a^2+a*b+a*b+b^2.
    I hope the following sketch makes sense, stand back, ASCII art alert again:     a                   b
    ---------------------------------------+
    |               .             VI         |
    |     .                 .                |a
    | V                               .      |
    |                                        +
    |                                        |
    |   .                                    |
    b|                                     .  |
    |                                        |
    |                  IX                    |
    | .                                      |
    |                                    .   |b
    |                                        |
    +                                        |
    |      .                                 |
    a|               .                  . VII |
    |  VIII                   .              |
    ---------------------------------------+
                     a                    bThe total area equals (a+b)^2 again and equals the sum of the smaller areas:
    (a+b)^2 == V+VI+VII+VIII+IX. Let area IX be c^2 for whatever c may be.
    V+VII == VI+VIII == a*b, so a^2+b^2+2*ab= c^2+2*a*b; IOW a^2+b^2 == c^2
    Given this fundamental result, the others can easily be derived from this one,
    or did I answer a question you didn't ask?
    kind regards,
    Jos

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Need help to open audios attached in a PDF file

    Hello
    I just need help. I have ordered a reviewer online that has audios and texts in a pdf file. I was told to download the latest adobe reader on my computer. I have done the same thing on my ipad mini. I am not so technical with regards to these things. Therefore I need help. I can access the audios on my computer but not on my ipad.
    I want to listen to audios with scripts or texts on them so i can listen to them when i am on the go. I was also informed that these files should work in any device. How come the audios doesnt work on my ipad.
    Please help me on what to do.
    Thanks

    Audio and video are not currently support on Adobe Reader. :-<
    You need to buy a PDF reader that supports them. My suggestion is PDF Expert from Readdle ($US 9.99)

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • I need help, my ipod touch is not recognized by windows as a harddisk

    i need help, my ipod touch is not recognized by windows like a memory card or a harddisk.
    i would like to transfer the files from pc to my ipod touch without useing itunes.
    as i see theres some people here that theires ipod touch are recongnzed as a digitl camra, mine is reconzied as nothing, some help plz.
    Message was edited by: B0Om

    B0Om wrote:
    ok but i still dont understed, only my itnes recongnize my ipod, when i go to " my cumputer, it dosent show up there, not even as a digital camra
    Your Touch is working correctly. Currently, without unsupported third party hacks, the Touch has NO disc mode. It will only show up in iTunes.
    how do i put programes and games in my ipod touch
    Right now, you don't. The SDK is scheduled to be released in Feburary. Then developers will be able to write programs that will be loadable.

  • Weird error message need help..

    SO.. i havent updated my itunes in a while because i keep getting this weird message.. it comes up when im almost done installing the newest/newer versions of itunes. it says
    "the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"
    now when ever i choose a file from the browse box it replies with this message "the file 'xxx' is not a valid installation package for the product iTunes. try to find the installation package iTunes.msi in a folder from which you can install iTunes."
    no idea need help thanks
    ~~~lake
    Message was edited by: DarkxFlamexCaster
    Message was edited by: DarkxFlamexCaster

    +it comes up when im almost done installing the newest/newer versions of itunes. it says+ +"the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"+
    With that one, let's try the following procedure.
    First, head into your Add/Remove programs and uninstall your QuickTime. If it goes, good. If it doesn't, we'll just attend to it when we attend to iTunes.
    Next, download and install the Windows Installer CleanUp utility:
    Description of the Windows Installer CleanUp Utility
    Now launch Windows Installer CleanUp ("Start > All Programs > Windows Install Clean Up"), find any iTunes and/or QuickTime entries in the list of programs in CleanUp, select those entries, and click “remove”.
    Next, we'll manually remove any leftover iTunes or QuickTime program files:
    (1) Open Local Disk (C:) in Computer or whichever disk programs are installed on.
    (2) Open the Program Files folder.
    (3) Right-click the iTunes folder and select Delete and choose Yes when asked to confirm the deletion.
    (4) Right-click the QuickTime folder and select Delete and choose Yes when asked to confirm the deletion. (Note: This folder may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (5) Delete the QuickTime and QuicktimeVR files located in the C:\Windows\system32\ folder. Click Continue if Windows needs confirmation or permission to continue. (Note: These files may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (6) Right-click on the Recycle Bin and on the shortcut menu, click Empty Recycle Bin.
    (7) Restart your computer.
    Now try another iTunes install. Does it go through properly now?

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • Need help adobe bridge cc output module

    I need help. I have an assignment I'm held up on completing because the adobe cc bridge does not have the output modue I need. I followed the adobe instructions page to the letter. I copied and pasted the output module folder to the adobe bridge cc extensions folder in programs/commonfiles/adobe. The only thing is the instructions then say to paste the workspace file into the workspace folder located below the bridge extensions folder. I don't have a workspaces folder there or anywhere. I even tried must making one and adding the file to it, but no go. can someone PLEASE help me with this?    I have an assignment due like now that requires the use of the output modue.thanks!

    oh,my system is windows 8.1. sorry, lol.

  • Trying to create a Invoice based on Order need help Error -5002

    the dreaded -5002 error is haunting me too! and I could not find a matching solution for this in the forum....
    I need help quickly on this. I am trying to create invoices for some orders so the Base - Target relationship is retained. The orders I pick are all Open (DocStatus   = O and the lines are all Open LineStatus = O)
    here is my code
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'adding Line
    oInvoice.Lines.Add
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If

    Indika,
    Only set your base types...
    (not items & description)
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line (to fill the second item line)
    ' the 1st line item is there by default
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'DO NOT Add THIS line
    ' (only if you want to add a 3rd line item)
    '''oInvoice.Lines.Add -> Don't add this
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If
    remember to add :
    oInvoice.CardCode = "your BP"
    oInvoice.DocDueDate = Now
    oInvoiceDoc.CardCode = txtDOCBPCode.Text

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

Maybe you are looking for

  • How to restrict the PA30 and PA40.

    Dear Experts, Need so help to resolve the below issue. Through the ABAP-HR program we are sending an email to the particular mail ID. FOR HIRING A NEW EMPLOYEE: while performing PA40 it has give authorization to user to update 0000,0001 and 0002 and

  • Addition In Calculator Application

    Hi everyone, I've got a bit of a problem. I'm busy working on a calculator that will be used in DOS. Eventually it will include the arithmetic operations as well as 5 scientific operations and convert to octal and hexadecimal. I�ve included my code b

  • How do I pick the right settings for Premiere Elements 10?

    I have Adobe Premiere Elements 10 and want to edit videos that I had received from a company that transferred my Super 8 home videos to digital format and saved them on an external hard drive. They have avi file extension, Apple Motion JPEG A codec ,

  • ITunes stopped working on windows 8 while closing the application

    while closing itunes it stopped working unexpectedly, i faced this problem for more than couple of times. last time when i tried to debug it using microsoft visual studio I got a result like " Unhandled exception at 0x77D2A94F (ntdll.dll) in iTunes.e

  • Combine rows and Sum

    I am using Oracle 10g. I have data as follows. ITEM|ITEMTYPE|QTY 1|A|10 1|B|15 2|C|20 2|D|25 3|E|30 3|F|30 Output Should be as follows. ITEM|ITEMTYPE|QTY 1|A-B|25 2|C-D|45 3|E-F|60 Whether it could be possible through "Start with Connect by" Please h