BTE for Recurring document CREATED

Hello,
I would appreciate if you can help me with my issue.
I am trying to trigger and event to start my WF.
The scenario is to start a workflow when a RECURRING ENTRY DOCUMENT is posted in the T-code FBD1, and then send it to approvers for the approval of this document. I having trouble triggering the event when this document is created in the t-code FBD1. The entries are saved in the table BKPF, so I thought I could use the BO - 'BKPF' and its event 'CREATED'. Please let me know how I can ahieve this using BTEs.
Thank you.

Hello,
I have a small question here,
the event 'CREATED', triggered through BTE 1030, belongs to the BO - BKPF. so, i guess, it will have the key fields of BO - BKPF in its OBJECTKEY. and it does have the same.
but, the scenario wants the workflow to be triggered when a change is made too, not just created.
creation is done in FBD1 (RECURRING FI DOCUMENT) and change is done in FBD2.
there is this standard event 'CHANGED' that is automatically getting triggered when a change is made. which I added to my WF as triggering event. but, the event 'CHANGED' has extra three characters (system number) in front for its objectkey and hence its not passing this information (unable to bind, probably) to the WF container element of type BKPF. so, the WF gives an error.
how do you think this can be resolved. any, help is greatly appreciated.
thank you.

Similar Messages

  • BTE for posting documents

    I activated the SAMPLE_INTERFACE_00001030 in BTE, it worked fine with the FI documents (Transaction F-43), but when I generated an Invoice Verification (Transaction MIRO) the process is not going into the BTE for the FI document.
    I need to include the FI documents into a 'Z' table, that's why I need to activate a BTE for Invoice Verification and for Travel Management too.
    Could you please let me not if I need to activate another BTE.
    Regards,
    Juan

    yeah  , in case of MIRO u have to find out which BTE sap is taken ? then u have to activate that one also.
    how to find out BTE for MIRO ---> search for OPEN_FI in the program of MIRO then u will get list of FMs from that list u have to select one which suits ur Requirement.
    Regards
    Prabhu

  • Dynamic Text for Recurring Documents

    Hello all,
    I want to know how to use dynamic texts for Document Header field in recurring documents.
    We run the recurring program each month (F.14). I would like the document header text to have the dates of that month eg "01/06/08 - 30/06/08". If we hard code this in, each month we need to go into the recurring template and change the dates for the appropriate month - this defeats the purpose of having recurring documents.
    Any help would be greatly appreciated.
    Thanks,
    Belinda

    hi Belinda,
    Welcome to SDN
    I think this could be done with a substitution exit. Prerequisite will be the recurring document number and if that matches, the text has to be built up acc. to the current periods. It requires some coding, but I believe it is makable.
    hope this helps
    ec

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • BTE 1030 - we use for AP documents, create an event that triggers a workflow

    Hello all,
    We use SAP's program RFBIBL00 to post AP documents.  We coded a function module that is called when BTE 1030 is reached.  Our FM creates an event that triggers a workflow.
    We are now doing some testing with an external vendor who is creating AP documents by doing an RFC  using function module BAPI_ACC_DOCUMENT_POST.
    It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
    Has anybody else seen this issue and found a way to deal with it?
    Thanks
    Bruce

    AFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
    Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
    function z_fi_00001050.
    call function 'TH_IN_UPDATE_TASK'
         importing
           in_update_task = in_update_task.
       if in_update_task eq 0 and i_xvbup eq 'X'.
         call function 'Z_FI_00001030' in update task
           exporting
             i_xvbup = ' '
           tables
             t_bkpf  = t_bkpf
             t_bseg  = t_bseg..
       else.
         call function 'Z_FI_00001030'
           exporting
             i_xvbup = ' '
           tables
             t_bkpf = t_bkpf
             t_bseg = t_bseg...
       endif.
    Regards,
    Raymond

  • Capture Excise Invoice for material document created against a PGR

    Hi SD Gurus,
    We have a scenario of reverse subcontracting where we have to receive raw material from vendor, process it and then dispatch the finished goods to the vendor or the vendor's customer.
    For receiving the raw materials, i have created a document type which is copied from standard RE type. Against this order, a returns delivery is created which is then PGR-ed. With reference to the previous document, a service order is created in SD, which is then billed.
    But i am facing a problem when i tried to capture the incoming excise invoice for the raw materials. When i tried to capture the excise against the material document generated for PGR, the system is throwing a error, that it cannot capture the excise for this materia document type.
    I would be greatly obliged if anyone can throw some light on this. Do i need to maintain any special configuration for this? Why is SAP not allowing it? How this can be done?
    With Regards,
    Arindam Datta.

    Dear Arun R,
    You Kindly go to the following path and maintain your movement type over their and do the MIGO.I am very sure at the time ot migo excise tab will come for part-1 updation and subsequently you capture part-2 on J1IEX.
    SPRO->LG->Tax on Goods Movemet->India->Business Transactions->Incoming Excise Invoice->Specify which movement type involve excise Invoices.
    Hope this will help you out.
    Regards
    AKS

  • Recurring document - FBD1 with incorrect due-date calculation for AP

    Hi Gurus,
    in our ECC 6.0 system we are creating with F.14 FI-documents (SAPF120) based on recurring documents (created with FBD1) for various purposes (e.g. Recurring entries for IC-business).
    Therefore it's important that the system provides in the final processing of the recurring documents the correct net-due-date in the AP-document based on the document date and the payment term included in the AP-masterdata (LFB1-ZTERM).
    Problem:
    The processed FI-document contains the correct payment term but the calculated net-due-date with regards to the document date (BKPF-BLDAT) isn't correct. A Dummy-Update of the FI-document with FB02 on field BSEG-ZTERM provides finally the correct net due date but this a not recommended solution.
    Any ideas how to solve that issue???
    Thanks for replies.
    BR, Bernd

    Hi Vishnu,
    the defined payment term is
    fix day: 15
    additional month: 1.
    Default for baseline date is posting date
    Therefore the expectation is that net due date is calculated for posting date
    e.g. : 01.02.2012 to 15.03.2012.
    The line item after processing in FI-document shows :
    Posting Date : 01.02.2012
    Bline Date:   01.02.2012
    Days/percent: 35
    Net due date: 07.03.2012 (dd.mm.yyyy)
    That's wrong according to my understanding of the payment term definition.
    BR, Bernd

  • Programmatically creating postscript files for office documents

    Hi All
    I am in the process of experimenting with vb.net to open up a word document in the background and create a postscript file, which i would then use to create a pdf. This currently is a windows service and seems to run ok when the same code runs through a windows form application.
    The problem i am having is with the "When creating a postscript file you have to sent the host fonts" error message, which seems to be fairly common judging by numerous articles on various forums. However, none of the solutions seem to solve my problem.
    I have set the "Do Not Send Fonts To Adobe PDF" option to OFF on printer defaults, on the current printer setup and even on the printer settings for that application (go to print, properties etc from within Word).
    However, whenever i run the code i get the error message. I then made the instance of word visible and checked the application settings for the adobe pdf printer.... the "Do Not Send Fonts To Adobe PDF" is now ticked. But when i close this down, and open word as a normal user would and check the setting it is off! Why would this be?
    Can i programmatically change this setting when word opens and before i run the post script file creation code? Where is this value for the setting stored? I do not understand why this is resetting in the instance of word through code? Is it something to do with setting the active printer and at this point using the default setting?
    Any help would be appreciated.
    Thanks in advance
    Nic

    You say you are doing this as Windows service – does this mean you are running this on a server of some sort?  If so, that is NOT ALLOWED.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 26 Oct 2011 04:31:13 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Programmatically creating postscript files for office documents
    Programmatically creating postscript files for office documents
    created by nic.eastham<http://forums.adobe.com/people/nic.eastham> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3990878#3990878

  • Recurring Documents run schdule configuration

    Dear all,
    I have a question regarding the recurring document run schdule configuration. my example is below
    I received an insurance policy,
    Period :23.02.2011 - 23.05.2011 (for 3 months)
    amount: 15.000 USD
    First I posted this policy to vendor account
    31 vendor ABC                   15.000 USD
    40 Prepaid Exp.acc.            15.000 USD
    secondly I create a recurring document with below specification.
    *Recuring entry run*
    company code:1000
    first run on :23.02.2011
    Last run on:23.05.2011
    interval months:1
    run date:23
    transfer amounts in local currency
    copy texts
    *Document header information*
    document type:AB
    currency/rate:USD
    translation date:23.02.2011
    Post. key:40 (insurance exp.account) enter amount (for monthly 5.000 USD)
    Post. key:50 (Prepaid exp. account) enter amount (for monthly 5.000 USD)
    and than ı execute document posting by F.14 and the document posted.
    but I want to create a recurring document and posted this document according to the below calculation,
    for february 2011= 1000,00 USD (15.000 USD / 90 days X 6 day)
    for march 2011   = 5.166,67 USD (31 day)
    for april 2011     = 5.000,00 USD (30 day)
    for may 2011    = 3.833,33 USD (23 day)
    how can I configure this recurring document.
    Thank you so much.......

    Hi,
    For this scenario standard is not possible, why because if the recurring documents are maintained only for which is the amounts and date is fixed for this scenario is possibe for recurring document, then discuss with the abaper try to maintain userexits for this.
    Regards,
    Kanike

  • Park and Post for recuring entries

    Hi,
    Can anyone tell me is it possible to have SOD in park and post for recurring entries documents - f.14?
    For the purpose of segregation of duties, I need accountant A to allow to create/park recurring entries but not post. Acccountant B will be allow to post the recurring documents created by account A.
    Pls help.
    Thanks.

    Hi,
    Here's my thoughts on this.
    As it is Recurring entries is a two step transaction.
    Have "Segregation of Responsibilities" at the time of creation of the Recurring entires itself.
    and have the second person to post it. Of course you can prevent the second person from changing any thing in the recurring document.
    Rather than Parking the recurring documents.
    Regards,

  • Deleting a recurring document

    I have a recurring document created in the year 2005 which expires in 2008. However, I want to delete this now. I tried it with the Tcode F.56 in the Test Run mode, but it doesnt pick this document up! I read the info on this transaction adn it says, only documents that have the Deletion flag in the Header can be pciked. Where do I check this deletion flag or simply put, how do I delete this document?
    Thanks,
    Tejas

    Hi Tejas...
    You can only delete recurring entry documents that are flagged for deletion. The recurring entry program automatically flags recurring entry documents for deletion if the next run date determined by the program is after the last scheduled run date. The system thereby indicates that the recurring entry document is not to be used again. You can also set the deletion flag yourself in the recurring entry document.
    When you use a run schedule, the program flags a recurring document for deletion if there is no run date in the schedule which is later than the current run date. In this case the program tells you which recurring document has been flagged for deletion. You can remove the deletion indicator from the document if necessary. This may be the case for example, if you have not yet entered all run dates. Make sure you then complete the run schedule.
    Recurring entry documents which are marked for deletion are no longer used by the recurring entry program.
    And the procedure will be as follow....
    To delete recurring entry documents, proceed as follows:
    Select Document -
    > Reference documents -
    > Recurring document ---> Delete from the General Ledger menu.
    Enter the program specifications.
    If required, you can carry out a test run to give you a list of the documents which can be deleted. You can also print the resulting list. Select the Test run field.
    Once you are sure that you want to delete the selected recurring entry documents, deselect the Test run field.
    Select Program -
    > Execute.
    If u satisfied, assing me points...
    Tahnk you
    Dasharathi

  • Templates for recurring entries in GL posting.

    Hi Gurus,
    I need step by step configuration documents for 'Templates for recurring entries in GL posting'. Any help will be highly appreciated and awarded. Thnx

    Hi,
    Please find..
    1.You need to define no range for recuring document templates always you need to give no as"X1" and no ranges(freely definable.) in "FBN1"
    2.You need to create a temlate in "FBD1" this is temlate and not actual document and it will not be updated in your books also, basically you use templates to save the time and controll your mistakes, but in recurring document template you can change all the fields like sampl document template. Here you can change the "Posting date in recurring document template, the amount will be fixed for all periods..
    3.You can post as many as you want by using recurring document template in "F.14" and here you can post the document via batch input session, you can always view these tempaltes in "F.15"
    Hope understood and you can assign points.
    Thanks,
    Vasu..

  • Coding block fields in recurring documents

    I have a recurring document created with some coding block fields.During the entry (FBD1)  ,those fields are open and was able to enter the data .During display (FBD3),the data is there.But when I posted some documents(Batch session) using the reference document,the coding block data is not populated on the actual document.I checked SAPF120 and SAPF120G programs and both are active.What could be the problem and why the data in those coding block fields are not getting populated on the actual documents?Thanks

    I also facing the same problem of, how to add customer fields to Vendor/Customer entry screen. For me, i already check all field status that involve (for GL OBC4 and for posting key) and they are all optional.
    I think it's about the screen number 0302 which will be used for vendor line item entry, while other GLs will used 0300. I already maintain the coding block but still don't know how the system works to use that coding block for the screens.
    someone pleasszzz.. help us.
    Thanks

  • BTE for printing correspondance

    <b>Hello all Guru</b>
    We try to  request for printing a correspondance by using BTE for FI document.
    Someone knows if it's possible and how to do it ,
    thanks for your help
    Philippe

    Salut Philippe,
    Seems you can use BTE event '00001030' (POST DOCUMENT: Posting of Standard Data). It is called after all checks and after executing main posting fucntion of FI document. To review FM interface see FM OPEN_FI_PERFORM_00001030_E.
    First, you have to create your own function module with the same interface.
    Then in transaction FIBF you have to create your product (Settings -> Products -> ...of a customer). Set product name, description, and flag "Active".
    Then you have to link previously created FM to the event (Settings -> P/S Fucntion Modules -> ...of a customer). Set event name, product name, (country and Application are optional), and Function module name.

  • SO number as reference  in accounting document  created when posting GI

    Hello,
    In the header of accounting document, which is being created after posting goods issue, in the "Reference doc." field delivery number is displayed.
    Is it possible to have in this field sales order number?? If so, where can I change this set up?
    Regards,
    Sylwia

    Thank you for your advice.
    I chcecked the VTFL and I can only see that in this transaction you can do this kind of settings and change the reference field but in accounting document which is created after posting a billing document (and I would like to change it for accounting document created after posting GI when the billing doc. does not exist yet)

Maybe you are looking for