Update correspondence history (DFKKCOHI) when posting manually via FPE1

Hi experts,
Here is a difficult one. I need to update the correspondance history when posting manually certain types of documents via FPE1. I was told to use business event 723 - Correspondence : Free --> Create (tcode FQEVENTS) that is one of the events for Document. I thought that by creating and activating my customer function module Z_FKK_SAMPLE_0723 it should be enough, placing my own code there. But I can see that when I post a document via FPE1 this event is never triggered, even though now is activated. Am I missing something??
After a lot of debugging I found out that event 1118 is called instead (one of the events called among others).
From include LFKPPFB0
* finally call the posting module
  CALL FUNCTION 'FKK_CREATE_DOC'
    EXPORTING
      I_FKKKO          = FKKKO
      I_UPDATE_TASK    = ' '
      I_FKKOPL_CF      = 'X'
      I_DIALOG         = 'X'
    IMPORTING
      E_OPBEL          = XOPBEL
    TABLES
      T_FKKOP          = XFKKOP
      T_FKKOPK         = XFKKOPK
      T_FKKOPW         = XFKKOPW
      T_FKKOPL         = XFKKOPL
      T_FKKOPKC        = XFKKOPKC
      T_FKKOPREL       = XFKKOPREL
      T_FKKOP_ESR      = XFKKOPESR
    EXCEPTIONS
      ERROR_MESSAGE    = 4.
  IF SY-SUBRC = 0.
    PERFORM EVENT_1118.
  ELSE.
    PERFORM MESSAGE_STORE USING '1119'.
    PERFORM MESSAGES_SHOW.
    PERFORM OKCODE_OVER.
  ENDIF.
And that this event (FKK_SAMPLE_1118) is empty so you can write your own code there. But I don't know how risky this is.
Please I need some advice with this issue. My two questions are:
- 1) why event 723 is not triggered when I do I manual post?? What do I have to do to trigger it?
- 2) My plan B is to force the call to event 723 from event 1118, which I for sure know that is triggered. Anybody can see any problem in this?
Anybody has been in a similar situation making a new event in FQEVENTS?
Thanks in advance, points will surely be rewarded.
Elena

Hi Prashant,
Thanks for that. YES! That may be to update text in document. But while uploading invoices I will not have document number details, it will be created when we process batch which been created using “rfbibl00”. How can I capture document numbers after processing batch session? Because with document number details I will able to use SAVE_TEXT to update remaining text fields. So can you please suggest best way to do this if you can? Many thanks.
Regards,
Tim

Similar Messages

  • Currency valuation when posting manual statements:

    Does anybody know why SAP System (R/3 Enterprise 4.7) is doing currency valuation during a manual statement posting?
    The account does not have valuation accounts at OBA1.
    The error occurs during the clearing process.
    I don't have exchange rate differences (as I am entering the same amount, both foreign and local currency, as the original document).
    Accounts master data: "only balances in local crcy" field is not selected...
    I don't have a clue...
    Thank you.
    Paula

    Can you be more specific ?
    I have entered
    doc.date, posting date, CC, currency and then I go to line item
    posting key 09, customer number xxx but system give me error message :
    Diagnosis
    Posting key "09" (account type "D") has been programmed for special G/L transactions. However, either no attributes have been defined for special G/L transaction "", or the classification is incomplete (down payment, bill of exchange, other).
    System Response
    Incorrect definition in FI customizing tables.
    Procedure
    Maintain the entry for account type "D" and special G/L transaction "" using the FI customizing functions.

  • ConnectionClosedException when POSTing images via HTTPS

    Greetings,
    I am trying to send images to a server from my Verizon BlackBerry 8330 using an HTTPS connection. I am performing the following steps:
    HttpsConnection https = (HttpsConnection)Connector.open("https://myserver");
    https.setRequestMethod(HttpsConnection.POST);
    https.setRequestProperty("Content-Type", "image/jpg");
    FileConnection file = (FileConnection)Connector.open("file:///filename", Connector.READ_WRITE);
    InputStream is = file.openInputStream();
    OutputStream os = https.openOutputStream();
    byte[] b = new byte[1024];
    for(int i; (i = is.read(b)) != -1;) {
    os.write(b, 0, i);
    int code = https.getResponseCode();I am receiving a ConnectionClosedException when I call getResponseCode() after the final write() to the OutputStream, but I can't think of anything in my code that is closing the connection.
    Does anyone know what could be causing the connection to be closed between the time that I open the connection and finish writing to its OutputStream?
    Thank you.

    Greetings,
    I am trying to send images to a server from my Verizon BlackBerry 8330 using an HTTPS connection. I am performing the following steps:
    HttpsConnection https = (HttpsConnection)Connector.open("https://myserver");
    https.setRequestMethod(HttpsConnection.POST);
    https.setRequestProperty("Content-Type", "image/jpg");
    FileConnection file = (FileConnection)Connector.open("file:///filename", Connector.READ_WRITE);
    InputStream is = file.openInputStream();
    OutputStream os = https.openOutputStream();
    byte[] b = new byte[1024];
    for(int i; (i = is.read(b)) != -1;) {
    os.write(b, 0, i);
    int code = https.getResponseCode();I am receiving a ConnectionClosedException when I call getResponseCode() after the final write() to the OutputStream, but I can't think of anything in my code that is closing the connection.
    Does anyone know what could be causing the connection to be closed between the time that I open the connection and finish writing to its OutputStream?
    Thank you.

  • User exits when posting purchase document and goods movement (GR)

    I want to update some custom tables when posting PO and goods movement (GR) .
    Please suggest user exits for both posting.

    Check the below exists
    FOR PO
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    For Goods Movement
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification

  • Enhancement to summarize FI entries when posting invoice

    Is there a way we can summarize line item totals (have one debit for 100 service lines) when posting invoices via enhancement based on a characteristic, such as cost center?
    I can maintain summarization via OBCY, but this is not an option.

    Hi ,
    IS it Vendor/Customer Invoices ? , as per my knowledge  u can do it thru Config.
    Regards
    Prabhu

  • ERROR MESSAGE POSTING GR VIA VL32N

    Hello friends.
    User is having a problem when posting GR via VL32N, the following error message is displayed:
    Value contract stock in transit exceeded xxxx units.
    Please help on it.
    Regards

    hi
    if we get the error we are using goods movement type against the plant and storage location and we assgin G/L account and cost centre and post the stoc showing in error and we are saving the document.
    then do GR with 101 against plant and slocation.
    then proceed with normal process.
    please chec the your process whether my solution is compatable with your's or not.
    regards
    balajia

  • 070302ex603 Formatting errors when posting via BD87 transaction

    Hi experts,
    When posting idocs manually via transaction BD87 all users receive "Formatting error in the field BSEG-WRBTR..." or "Formating error in the field BKPF-BUDAT..." regardless of personal user settings. When the same idoc is posted via scheduler it posts without any error. Can anybody help me out in this issue.
    Points will be rewarded.
    With thanks in advance
    Saravanan

    Hi
    Go to T code ST22. here for the user id in which the dump is generated, click on how to rectify. The system will give you a probable resolution for the problem.  In many cases, there would be some key words, on which you need to serach for a suitable note of SAP to resolve the dump. Take the hlp of your ABAPER also
    Thanks & Best Regards
    Sanil K Bhandari

  • I want to update to iOS 7 when it comes out via iTunes. I gather that I will require iTunes 11.1 to do so, but I recently updated my version (today) to version 11.0.5. Will I be OK or wait until I have a Wi-Fi connection and do it then?

    I want to update to iOS 7 when it comes out via iTunes. I gather that I will require iTunes 11.1 to do so, but I recently updated my version (today) to version 11.0.5. Will I be OK or wait until I have a Wi-Fi connection and do it then?

    More than likely, the new version of itunes will be released later today in conjunction with iOS 7. But, yes, you can update the phone via WiFi. Make sure to set up icloud and do a back up first.

  • Update termination error when posting goods issue

    Helllo
    I have a strange problem I can not figure out.  We have serial numbers like 12345/345.  When trying to post goods issue I get an update termination error  for invalid character. This only happens if the quantity is more than 1 each.  A quantity of 1 each works fine and receives no update termination when post goods issue...only recieve termination error if the post goods issue is for a qty of 2 each.
    I searched the SAP site found OSS note 40355...applied the note.  The note also mentions the chaging print paramters to include "/ _"  this is all done.
    I tried doing a ABAP Debug in SE38 (for the delivery note print program) and setting the breaking point, but when I go to run the transaction after the setting break point...when I hit post goods issue...SE38 does not return back to its screen.  So not sure if I am running the correct program there...or if this works for the update terminations?
    So strange I do not get this for a qty of one each only when it is greater than that.  I am stumped need help....
    Any advice wiould be GREATLY appreciated....

    Looks like there is an error in the delivery (or material movement ?) print program. Easiest would be to disable these outputs for test purposes. When no dump then the error is somewhere in the print program an could be analysed by triggering the print separately with ABAP RSNAST00.
    regards Jack

  • I updated Firefox and now, when I select File, Send Link, a dialog box pops up asking me to establish a new account before I can send the link via email.

    I updated Firefox and now, when I select File, Send Link, a dialog box pops up asking me to establish a new account before I can send the link via email. I use Outlook, so how do I avoid setting up some new account and yet am able to send the link via Outlook?
    I have a feeling it may have something to do with HotMail.com.

    My Error: I found out that it was Mozilla Thunderbird that was causing the problem. I uninstalled it and the problem went away.

  • Enqueue works fine Dequeue works when run manually but not via Notification

    Hi,
    My Enqueue works fine. My Dequeue procedure works fine when run manually. But when I register a notification the procedure is not called.
    The log file shows:
    ORACLE_HOME = /u01/app/oracle/product/10.2.0
    System name: Linux
    Node name: gooch.com
    Release: 2.4.21-50.ELsmp
    Version: #1 SMP Tue May 8 17:18:29 EDT 2007
    Machine: i686
    Instance name: xml
    Redo thread mounted by this instance: 1
    Oracle process number: 25
    Unix process pid: 7761, image: [email protected] (J000)
    *** 2010-03-06 14:09:22.167
    *** ACTION NAME:() 2010-03-06 14:09:22.167
    *** MODULE NAME:() 2010-03-06 14:09:22.167
    *** SERVICE NAME:(SYS$USERS) 2010-03-06 14:09:22.167
    *** SESSION ID:(145.99) 2010-03-06 14:09:22.167
    Error in PLSQL notification of msgid:8128C090A10BE480E0407E0A660F1B97
    Queue :"XML4"."TEST14_Q"
    Consumer Name :TEST14
    PLSQL function :xml4.test14_proc
    : Exception Occured, Error msg:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'TEST14_PROC'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    my code is
    BEGIN
      DBMS_AQADM.CREATE_QUEUE_TABLE(
         queue_table        => 'test14_t',
         comment            => 'Queue Table to process incoming ORDER XML messages from Management Dynamics',
         multiple_consumers => TRUE,
         queue_payload_type => 'SYS.XMLTYPE',
         compatible         => '8.1');
    END;
    BEGIN
      DBMS_AQADM.CREATE_QUEUE(
        queue_name  => 'test14_q',
        queue_table => 'test14_t');
    END;
    BEGIN
    dbms_aqadm.start_queue('test14_q');
    END;
    BEGIN
      DBMS_AQADM.ADD_SUBSCRIBER (
         queue_name => 'test14_q',
         subscriber => SYS.AQ$_AGENT('test14', NULL, NULL)
    END;
    CREATE or replace PROCEDURE test14_proc AS
      deq_opts dbms_aq.dequeue_options_t;
      mess_prop dbms_aq.message_properties_t;
      mess_handle RAW(16);
      message XMLTYPE;
      buffer varchar2(100);
      msglen number;
    begin
      deq_opts.wait := dbms_aq.FOREVER;
      deq_opts.consumer_name := 'test14';
      dbms_aq.dequeue(queue_name=> 'test14_q',
                      dequeue_options => deq_opts,
                      message_properties => mess_prop,
                      payload => message,
                      msgid => mess_handle);
      commit;
      insert into testxml values(message);
      commit;
      insert into hello select extractvalue(xml1, '/Hello') from testxml;
      commit;
    end test14_proc;
    DECLARE
      queue_options DBMS_AQ.ENQUEUE_OPTIONS_T;
      message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
      message_id RAW(16);
      message SYS.XMLType;
    BEGIN
      message := sys.XMLType.createXML('<?xml version="1.0"?><Hello>Test</Hello>');
      DBMS_AQ.ENQUEUE( queue_name => 'test14_q',
                       enqueue_options => queue_options,
                       message_properties => message_properties,
                       payload => message,
                       msgid => message_id);
      COMMIT;
    END;
    BEGIN
      DBMS_AQ.REGISTER (
          SYS.AQ$_REG_INFO_LIST(
            SYS.AQ$_REG_INFO(
              'xml4.test14_q:test14',
               DBMS_AQ.NAMESPACE_AQ,
               'plsql://xml4.test14_proc?PR=0',
               HEXTORAW('FF'))),1);
      END;Any ideas?
    Thanks in advance!

    I actually changed it to process RAW as well i.e.
    BEGIN
      DBMS_AQ.REGISTER (
          SYS.AQ$_REG_INFO_LIST(
            SYS.AQ$_REG_INFO(
              'xml4.test14_q:test14',
               DBMS_AQ.NAMESPACE_AQ,
               'plsql://xml4.test14_proc?PR=0',
               HEXTORAW('FF'))),1);
      END;and it still is failing with the same error

  • When posting to a forum the new version of Firefox does not show the post. When I start up IE and go to the forum there is the post. However Firefox 4 will not show the post. How can I fix this issue?

    Recently I upgraded to Firefox 4. I frequent various forums where I post advise on various subjects. I am finding that version 4 is showing the threads in the forums, allowing me to log in and to post. However the posts as sent in are not coming up at all, even if I get out and return, the page is not "refreshed."

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • Populate Custom Table when Posting an Invoice

    Hi All,
    I need to populate a custom table when an invoice is posted, the custom table needs to hold the actual FI document number. We post invocies via a variety of means, manually through the transactions FB60 and MIRO and in the background via BAPI's.
    Does anyone know a user exist/BTE or BADI that can be used to populate a custom table at the time the SAP FI document is posted for an invoice?
    Regards
    Chris

    Hi
    You can use BADI AC_DOC_POST.. Pardon me, i dont remember the name exactly.. You can search the badis in SE18 based on this name
    Ask your abaper to write the code  so that when the COMMIT happens, it also updates the Z table
    Other Options: BTE 1120
    br, Ajay M

  • Canon EOS 100D is listed as compatible in Digital Camera RAW Compatibility Update 6.01 but when I connect my camera a message appears telling it's not compatible with the operating system?

    Canon EOS 100D is listed as compatible in Digital Camera RAW Compatibility Update 6.01 and when I have checked for software updates there are none available.  I've downloaded the Canon software, connected to my mac via the cable and followed the instructions in the manual.  Sadly I just get a message saying it's not compatible with the operating system.  I've tried inserting the memory card into the mac to and it doesn't seem to see it.  Can anyone help please?

    Camera RAW ≠ Camera driver, the RAW update is for the .CR2 canon raw image file (in your case) compatibility.
    What happens when you try to import photos using Image Capture or iPhoto?
    Can you take a screenshot of the error message?
    I always prefer and recommend using memory card import over using the camera.

  • Updating custom boolean attribute in Active Directory via OIM

    The adapters delivered with the AD connector support updating standard attributes (string) and multi-value attributes, but I can't seem to figure out how to update a custom Boolean attribute in AD via OIM. The delivered Boolean fields all appear to have custom adapters (ie Account Locked, Password Never Expires, etc.)
    I've tried using the delievered adpADCSCHANGEATTRIBUTE adapter, but it fails (as expected) with:
    +com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : updateDetails : Attributes cannot update:[LDAP: error code 21 - 00000057: LdapErr: DSID-0C090B73, comment: Error in attribute conversion operation, data 0, v1772 ]+
    Suggestions?

    No I don't have custom boolean attributes in AD. But I added custom attributes of other types.
    When you say custom, do you mean it did not come with the out of the box AD connector, but exists in the Active Directory of your organization?
    There are a few attributes in AD which look like they are boolean when you see the AD console but are actually different. Look at the link for details.
    [http://support.microsoft.com/kb/305144]
    Look at this post for context.
    AD Provisioning - Password never expires & User must chg pwd at next logon
    Thanks,
    M

Maybe you are looking for

  • While importing a certificate I'm getting an error. What to do?

    I am trying to import a certificate, but after filling in my password I am getting the following error: PKCS #12-processing failed, reason unknown. (I translated this from Dutch, so it may not literally be the same...) Hope someone out there knows wh

  • TS3682 iTunes does not restore iPhone

    I tried to download new iOS 6 with iTunes and a error occurred while updating my iPhone 4.  It's in restore mode and when I try to restore it iTunes wants to download new iOS and when it gets done downloading it just disappears and fails to update ph

  • How to remove cartridges from dead Officejet Pro 8600

    I am waiting for the replacement arrives and wanted to get the cartridges out of the printer that got zapped by lightning. Since the printer is dead, the cartridge carriage does not move into place to reach to remove the cartridges and I can't manual

  • Charts in VC

    How can I create an "editable" chart, e.g. a column chart where I can drag the bars to change values? I did not find anything in the configuration

  • Handshake between tomcat and sap xi over https

    I have a webservice which is hosted on sap xi server. My class in tomcat will call it over https protocol. For that, tomcat needs to import the xi certificate. I did it in cacerts which resides in jre's lib/security directory. Still, it doesn't work.