Idoc Receiver - Header Data does not update

Hi there
I have an Idoc receiver in a scenario where I send a Idoc from a file to the R/3 system. My config is all fine but the Idoc status in we19 shows red. My Header data for the idoc is incorrect. The idoc is WALREQ01. In my Message Mapping Im setting the SDNPOR, SDNPRT, SDNPRN, RCVPOR, RCVPRN to the correct values and the I activate the scenario but in we19 it still shows the incorrect idoc header. It does however change the idoc segment data, just not the header. Is there maybe some other place I have to set the Idoc header data?
Thanx,
Jan

Hi Jan,
From help.sap:
Apply Control Record Values from Payload
If you set the indicator, the conversion of communication parties to the IDoc partner is only possible for systems that are not logical systems.
If you do not set the indicator, all combinations of communication parties and services are handled as services without party.
If the IDoc XML structure contains a control record during outbound processing on the Integration Server, it is rejected and created again by the IDoc adapter. If you want to include additional values in the control record, set the indicator and provide an appropriate mapping for the values. See also: Fields of the IDoc Control Record
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
Carlos

Similar Messages

  • Update of Planning Start Date does not update macros

    I have written a program to update the planning start date in a planning book using function /SAPAPO/MSDP_PB_SAVE_DVIEW_TAB. I have included this in a process chain. The update is immediately followed by a /SAPAPO/TS_BATCH_RUN variant that runs a macro in the updated book. The macro uses planning start date. The issue is that the macro does not appear to have been updated with the new planning start date. I experimented with using transaction Define Planning Book (/SAPAPO/SDP8B) whilst also in Macro Workbench on another session. If I change the planning start date this is also not reflected in the macro unless I come out of the Macro Workbench completely and fo back in. This appears to be a buffereing issue.
    Does anyone know if there is a way to force the macros to be updated? Otherwise I may have to resort to just putting a delay in the chain and hoping the maco will be updated before it is run.
    Thanks
    Edited by: Peter Phillips on Mar 19, 2010 11:32 AM

    Hello Mani,
    We have planning books used to calculate demand for newspapers at weekends. At weekends the papers contain printed colour magazines. These have  to be ordered in advance. The macros that we run use planning start date to claculate the quntity of magazines required for the next weekend. The business also needs to do advanced calculation for the next two weekends. This requires an update to the planning start date to change the basis for the macros. We do not wish to write separate macros for each weekend as there are quite a few of them. We are trying to keep it as simple as possible.
    Regards
    Peter

  • HT2513 The date on my dock does not update automatically ? - Ps anybody.

    I use MACCBOOK PRO with OS X ver 10.6.8.
    I  Cal Version 4.0.4 (1395.7)
    Sometimes the current date does not update on my ical icon in the dock. After clicking on it the date becomes OK.
    I would appreciate if someone has a solution.

    I solved the problem by uninstalling Glims.

  • Header business data does not apply to item

    I have a document that i want to delete but the system won't allow me to do any changes due to error message we are receiving when entering this order "Header business data does not apply to item". Please help me reject the this order. By the way, the document is Debit Memo Request.
    Hope to hear from you guys. Thanks in advance.

    Hi Riyaj,
    To answer your questions:
    1. There were no preceding docs existed.
    2. I already put reason for rejection, however, there is a warning message that it cannot be deleted.
    3. I am creating a Debit Memo Request. I want to do some changes to this particular document but Information Message "Header business data does not apply to item" keeps on appearing.

  • Header data is not cmg in PA30  when updating from backend tables

    Hi Friends
    Am  creating record for an employee in   table  pa0000, pa00001, pa0002   and some other infotype  but when i go to PA30
    tcode  it  shows me green tick for  all these three infotype  even in  0000 action i can click display and see second screen but
    the header data is not coming on pa30  screen  though  pa0001 table has updated with all information except changedate and username .
    Any idea  how  i can  get that header data  ?
    Regards
    Meeta

    Try to create data for one employee directly in PA30 and check the header data. If still the data is not pulling though check the screen header configuration settings.
    SPRO-> Personnel Management -> Personnel Administration -> Customizing User Interfaces -> Change Screen Header
    I hope this will resove your issue.
    all the best....

  • E52 Date Display does not update and reflect the c...

    Right from day 1 the display date of my E52 does not update and reflect correct the correct date. Got the phone replaced once still the same issue. Called the customer service and they say there is no such problem with E52. They asked me to go to the repair center...(isnt that ridiculous to ask a customer of a new phone to do so?). I went to the repair center with a hope that they will replace it for me but all in vain. They also gave me a ridiculous answer that Nokia does not have a replacement policy...and I was like so is it Nokia's policy to sell broken and faulty mobiles? I was utterly dejected. The electronic store where I bought also refuse to replace because they think there is a problem and no matter I get it changed it will recur. I still do not have a solution as all my ways of getting this problem resolved are exhausted. Anyone has a solution or came across this issue which can be solved without repairing?

    Ok let me state my problem. There is a date display and at midnight the date should automatically change to the next date. However that does not happen. The dealer makes the following changes Control Panel>Settings>General>Date and time> Automatic time update> On and this does not solve the problem. Then I get the mobile replaced and that too has the same problem. after going through all permutations and combinations the problem persists. To quote the email from the Contact center for Nokia in HK this was what was suggested
    Menu→Ctrl. panel→Settings→General→Date and time→Time zone→please select Hong Kong→Automatic time update→please select Off
    However, if the situation still occurred by following the above settings, please be advised to bring your Nokia E52 along with the valid sales invoice to one of our Hong Kong Nokia Care Centres for the handset checking since we do not have such arrangement of replacing a new phone to you.
    Please help!!!

  • HT5824 my contact list does not update to its current state. After I sync to Itunes or after I back up to I cloud  Also I did a doccuments and data restore and it still didnt change. How do I fix this?

    My contact list does not update to its current state after I sync it to itunes or back it up to icloud  I did a documents and data reset and the contact list still didnt change.. How do I fix this?

    Welcome to the Apple Community.
    First check that all your settings are correct, that contact syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the contacts you are adding are added to your 'iCloud' group and not an 'On My Mac', 'On My Phone' or other non iCloud group (you can do this by checking in groups), non iCloud contacts will not sync.
    If you are sure that everything is set up correctly and your contacts are in the iCloud group, you might try unchecking contact syncing in the iCloud settings, restarting your device and then re-enabling contact syncing.

  • Bug: date inserted in cell does not update automatically

    Can't find where to report a bug in Numbers. When I insert a date in a cell and set it to update automatically, it does not update. Have to update it manually daily. Seems there used to be a way to report bugs...
    Anyone know how to do that now?

    Feature already reported.
    +The Numbers User Guide states:+
    +To add and format the date and time, place the insertion point where you want the value to appear, and then choose Insert > Date & Time.+
    +To change the date and time format, Control-click the date and time value, choose Edit Date & Time, and then choose a date and time format from the pop-up menu. If you want the spreadsheet to always show the current date and time, select “Automatically update on open.”+
    +Alas, under 10.4.11 *(and now under 10.6.1)* this feature doesn't apply.+
    +The date remains as it was when we entered it.+
    +Happily we have a simple workaround:+
    +we may use the formula =TODAY()+
    +But a feature wihch doesn't behave as described may be called a buggy one. Isn't it ?+
    As long as the feature doesn't behave as described, use the given workaround.
    Yvan KOENIG (VALLAURIS, France) samedi 12 septembre 2009 16:50:38

  • When-Remove-Record, does not update header field

    i have master-detail form and in that there is a DB field eh_amount, which takes it value from
    the computed non-db summary field m_amount
    my E_head
    eh_code
    eh_no
    eh_amount
    my E_detail (tabular with 5 records displayed)
    ed_eh_code
    ed_eh_no
    ed_amount
    m_amount <---summary column (summing ed_amount)
    whenever i enter/update ed_amount , m_amount get computed properly.
    i have WVI trigger written where i store eh_amount := m_amount
    i have also written When-remove-record on e_datail block, where i again re-initialize
    eh_amount := m_amount
    the detail record gets deleted and m_amount gets updated,
    but the header eh_amount does not show the updated value of m_amount.
    Kindly suggest to me as to where the change has to happen.

    Hi Craig..
    I am using form6i, db 10g.
    I am not doing summation myself. My m_amount field is calculated field set at design time.
    Summary detail block is E_detail and summary field is ed_amount.
    Only after saving form, the new value for eh_amount is seen.
    what i want is eh_amount should be seen updated, if while entering i delete any detail record.
    in when-remove-record i am storing m_amount in eh_amount, but the new value of eh_amount
    is visible only after saving the form and not when any record is deleted.

  • IDOC Acknowledgement with ALEAUD01 does not work

    Hi,
    since my last thread Changing IDOC status after succesful processing i learned much about IDoc's and ALE.
    But my problem is still alive! I have the scenario IDOC (HRMD_A06) --> XI --> file. I noticed that the file adapter creates an acknowledge message and transfers it to the IDoc Adapter as an ALEAUD01 IDoc.
    Unfortunately XI does not fill the ALEAUD01 IDoc in the right way. The field DOCNUM in segment E1STATE (which should reference the original IDoc) is always empty but the STATUS Field is set in the right way to 50.
    The SAP 4.7 Application Server processes these ALEAUD01 IDoc without an failure and set the ALEAUD01 IDoc to Status 53, but the original HRMD_A06 keeps in STATUS 03. (Of cource, the application server can't determine the referenced IDoc without the DOCNUM!)
    When i am editing these ALEAUD01 with transaction WE19 by filling DOCNUM in segment E1STATE manually and sending it to the Input Queue, everything works fine. The STATUS of the referenced HRMD_A06 changed to 39 (IDoc received target System) That's what i expected.
    But why does not XI set the DOCNUM in segment E1STATE empty, when it generates the ALEAUD01? This makes no sense to me. Is this a bug of the XI IDoc adapter? Or is there any other trick?
    Greetings

    Hi Erik,
    Pls go through the below links and my answers, that may help you to fix your problem.
    Re: Acknowledgements ever switch to Status 39
    Re: ALEAUD issue
    Re: Steps For Updating the IDOC Status using ALEAUD
    Re: Asyncronous acknowledge from file adapter
    Regards
    Vishnu

  • Invalid aggregation:( The number received in BW does not tally

    Hi Guru's,
    We are currently facing issue in uploading data in to data traget cube which is showing green symbol in the request status,
    While in monitor it is showing yellow status on the status tab.
    I have checked in the request:
    So I have deleted the request and then reloaded it again.
    I have checked the load which is completed as the number of records are daily.
    But still this status is in yellow so currently I need help to wether, to make the status green manually.
    If so what are the implications.
    Kindly help me in this regards.
    Here is the Error detais:
    Technical:The number received in BW does not tally with the updated number.
    Processing Step:  Update rules
    In step by step:
    Error which is in red: Inadmissable Aggregation?
    Invalid aggregation in the update The number received in BW does not tally with the updated number.
    In details tab:
    Diagnosis
         No errors found. The current process has probably not finished yet.
    System Response
         The ALE inbox of BI is identical to the ALE outbox of the source system
         or
         the maximum wait time for this request has not yet been exceeded
         or
         the background job has not yet finished in the source system.
    Thanks for helping me in this regards in advance.

    Hi,
    I am not sure if the solution is still relevant but we faced a similar problem and we found the solution, so wanted to share with you .
    This error of 'Invalid aggregation' occurs if there are records in error and if the checkbox "No aggregation allowed" is selected in 'Error Handling' under 'Update' tab of Infopackage maintenance.
    Please carry out the followig steps:
    1) Go to the respective infopackage
    2) select tab Processing, make sure radio button  "Only PSA" and the checkbox "update subsequently to data targets" is selected.
    3) On the Update tab, click on the button "Error Handling" at the bottom
    4) Now of the available three radio buttons choose as per your requirement.(select  'valid records update, reporting possible(green)' for master data)
    5) Now, uncheck the box 'No aggregation allowed'
    What the last step does is that, the data is aggregated for the correct records and not for the incorrect records.
    So, in case of an error we will get a separate request for incorrect records, which we can correct and upload later to the respective target.
    This should help resolve the error.
    Regards,
    Roney.

  • GA749 start date does not include any senders in FAGLGA35

    Hello Guru:
    I do FAGLGA31  for sender  =  account 1-99999 profit center 1  and receiver = profit center 2
    version = 1 .
    when run cycle execute message "GA749 start date does not include any senders"
    I check in table FAGLFLEXT , there is data in  Sender cost center and Profit center  according to my criteria.
    Please advise where to check up and thanks in advance

    HI,
    please check the following:
    The problem could be caused by the cycle header definition. Instead of
    '0' you have to enter '1' as a version. All actual data gets posted
    under version 001 in NewGL by system default, so if you specify the
    version other than '1', the sender value is not found when executing the
    cycle.
    Regards
    Madhu M

  • Paged dataset does not update it's child dataset

    My paged dataset works great, except on refreshing it's child
    dataset, when sorting or navigating from page to page.
    Clicking on the record in the paged dataset does return the
    correct child dataset record. Clicking on any of the column headers
    to sort the paged dataset or clicking on any of the page functions,
    i.e. Next Page, Previous page, does not update the child dataset
    record.
    The first record of the paged dataset is set to 'selected',
    after sort or page navigation function.
    What am I missing?
    Here is the code that updates the child dataset record:
    onClick="pvPOrders.setCurrentRow('{ds_RowID}');"
    Here is the sort:
    onclick="dsPOrders.sort('PONUM','toggle');"
    Here is the page navigation:
    onclick="pvPOrders.nextPage();"
    There are no observers. The code can be viewed here:
    http://codeshare.ulatu.com/mare3184

    Hi Doug,
    You shouldn't have to do the manual setting of the
    currentRow. The fact that your code snippet here:
    http://codeshare.ulatu.com/mare3184
    Has your PagedView data set pvPOrders depending on dsPOrders
    means that when you set the current row on pvPOrders it just
    forwards the set request on to dsPOrders.
    I'm a bit confused by the other snippet you posted here:
    http://codeshare.ulatu.com/marc0722
    because I don't see any mention of a PagedView in that
    snippet. In any case, I mocked up something that should be similar
    to your situation, and it seems to work just fine:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script src="includes/xpath.js"
    type="text/javascript"></script>
    <script src="includes/SpryData.js"
    type="text/javascript"></script>
    <script src="includes/SpryPagedView.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsStates = new
    Spry.Data.XMLDataSet("data/states/states.xml", "/states/state");
    var dsCities = new
    Spry.Data.XMLDataSet("data/states/{dsStates::url}",
    "/state/cities/city");
    var pvStates = new Spry.Data.PagedView(dsStates, { pageSize:
    5 });
    //-->
    </script>
    <style type="text/css">
    <!--
    .hover {
    background-color: #FFCCFF;
    .select {
    background-color: #6699FF;
    -->
    </style>
    </head>
    <body>
    <input type="button" value="Prev"
    onclick="pvStates.previousPage()" /><input type="button"
    value="Next" onclick="pvStates.nextPage()" />
    <p>Select a State:</p>
    <div spry:region="pvStates dsStates">
    <div>{pvStates::ds_PageNumber} of
    {pvStates::ds_PageCount}</div>
    <ul spry:repeatchildren="pvStates" spry:choose="">
    <li spry:when="{pvStates::ds_RowID} ==
    {dsStates::ds_CurrentRowID}" spry:setrow="pvStates"
    spry:hover="hover" spry:select="select" spry:selected="">
    {pvStates::name}
    </li>
    <li spry:default="" spry:setrow="pvStates"
    spry:hover="hover" spry:select="select">
    {pvStates::name}
    </li>
    </ul>
    </div>
    <p>Cities for the currently selected state:</p>
    <div spry:region="dsCities"
    spry:repeatchildren="dsCities">
    {name}
    </div>
    </body>
    </html>
    --== Kin ==--

  • BAPI_ACC_DOCUMENT_POST does not update BKPF/BSEG tables

    Hello,
    I used bapi_acc_document_post to post a accounting document The following routine says that the document is successfully posted, however, does not update the acccounting tables. I read several messages on the SDN and unable to get the correct answer.
    Your help is appreciated.
    Regards
    William
    REPORT ze_bapi_acc_document_post .
    SELECTION-SCREEN BEGIN OF BLOCK bl01 .
    SELECTION-SCREEN ULINE.
    PARAMETERS:
      ref_key LIKE bapiache01-obj_key DEFAULT 'TEST000001BAPICALL',
      dest    LIKE bdi_logsys-logsys  DEFAULT '          '.
    SELECTION-SCREEN END   OF BLOCK bl01 .
    DATA:
      gd_documentheader    LIKE bapiache09,
      gd_customercpd       LIKE bapiacpa09,
      gd_fica_hd           LIKE bapiaccahd,
      it_accountreceivable LIKE TABLE OF bapiacar09 WITH HEADER LINE,
      it_accountgl         LIKE TABLE OF bapiacgl09 WITH HEADER LINE,
      it_accounttax        LIKE TABLE OF bapiactx09 WITH HEADER LINE,
      it_criteria          LIKE TABLE OF bapiackec9 WITH HEADER LINE,
      it_valuefield        LIKE TABLE OF bapiackev9 WITH HEADER LINE,
      it_currencyamount    LIKE TABLE OF bapiaccr09 WITH HEADER LINE,
      it_return            LIKE TABLE OF bapiret2   WITH HEADER LINE,
      it_receivers         LIKE TABLE OF bdi_logsys WITH HEADER LINE,
      it_fica_it           LIKE TABLE OF bapiaccait WITH HEADER LINE,
      it_accountpayable    LIKE TABLE OF bapiacap09 WITH HEADER LINE,
      it_paymentcard       LIKE TABLE OF bapiacpc09 WITH HEADER LINE,
      it_ext               LIKE TABLE OF bapiacextc WITH HEADER LINE.
    PERFORM fill_internal_tables.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
      DESTINATION dest
      EXPORTING
        documentheader    = gd_documentheader
        customercpd       = gd_customercpd
        contractheader    = gd_fica_hd
      TABLES
        accountgl         = it_accountgl
        accountreceivable = it_accountreceivable
        accountpayable    = it_accountpayable
        accounttax        = it_accounttax
        currencyamount    = it_currencyamount
        return            = it_return.
    WRITE: / 'Result of check all:'.                            "#EC NOTEXT
    PERFORM show_messages.
      DATA: l_type LIKE gd_documentheader-obj_type,
            l_key  LIKE gd_documentheader-obj_key,
            l_sys  LIKE gd_documentheader-obj_sys.
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          documentheader    = gd_documentheader
          customercpd       = gd_customercpd
          contractheader    = gd_fica_hd
        IMPORTING
          obj_type          = l_type
          obj_key           = l_key
          obj_sys           = l_sys
        TABLES
          accountgl         = it_accountgl
          accountpayable    = it_accountpayable
          accounttax        = it_accounttax
          currencyamount    = it_currencyamount
          return            = it_return
        EXCEPTIONS
          OTHERS  = 1.
      WRITE: / 'Result of post:'.                               "#EC NOTEXT
    PERFORM show_messages.
    REFRESH IT_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    IMPORTING
      RETURN        = IT_RETURN.
        COMMIT WORK.     .
    BREAK-POINT.
         Form  fill_internal_tables
    FORM fill_internal_tables.
      PERFORM fill_header.
      PERFORM fill_accountgl.
      PERFORM fill_accountap.
      PERFORM fill_accounttax.
      PERFORM fill_currencyamount.
    ENDFORM.                               " fill_internal_tables
         Form  Show_messages
    FORM show_messages.
      IF it_return[] IS INITIAL.
        WRITE: / 'no messages'.
      ELSE.
        SKIP 1.
        LOOP AT it_return.
          WRITE: /    it_return-type,
                 (2)  it_return-id,
                      it_return-number,
                 (80) it_return-message,
                      it_return-message_v1,
                 (20) it_return-parameter,
                 (3)  it_return-row,
                      it_return-field.
        ENDLOOP.
      ENDIF.
      ULINE.
    ENDFORM.                               " Show_messages
          FORM fill_accountgl                                           *
    FORM fill_accountgl.
    Actual invoice line
      CLEAR it_accountgl.
      it_accountgl-itemno_acc     = 2.
      it_accountgl-gl_account     = '0000009223'.
      it_accountgl-item_text      = 'Line Iten'.  "#EC NOTEXT
      it_accountgl-profit_ctr     = 'DNDDUMMY'.
      it_accountgl-comp_code      = '0180'.
      it_accountgl-tax_code       = 'IG'.
      it_accountgl-FUNDS_CTR      = '1985BA'.
      it_accountgl-COSTCENTER     = '1985BA'.
      it_accountgl-FUND           = 'C113'.
      it_accountgl-TAXJURCODE     = 'CAON'.
      APPEND it_accountgl.
    ENDFORM.                    "fill_accountgl
          FORM fill_header                                              *
    FORM fill_header.
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
       IMPORTING
         own_logical_system = gd_documentheader-obj_sys.
    OBJ_TYPE has to be replaced by customers object key (Y* or Z*)
    gd_documentheader-obj_type   = 'BKPFF'.
    gd_documentheader-obj_key    = ref_key.
    gd_documentheader-BUS_ACT    = 'RMRP'.
      gd_documentheader-username   = sy-uname.
      gd_documentheader-header_txt = 'BAPI Test'.               "#EC NOTEXT
    gd_documentheader-obj_key_r  =
    GD_DOCUMENTHEADER-reason_rev =
      gd_documentheader-comp_code  = '0180'.
    GD_DOCUMENTHEADER-AC_DOC_NO  =
      gd_documentheader-fisc_year  = '2008'.
      gd_documentheader-doc_date   = sy-datum.
      gd_documentheader-pstng_date = '20070901'.
    GD_DOCUMENTHEADER-TRANS_DATE = SY-DATUM.
    GD_DOCUMENTHEADER-VALUE_DATE =
    GD_DOCUMENTHEADER-FIS_PERIOD =
      gd_documentheader-doc_type   = 'RE'.
      gd_documentheader-ref_doc_no = '6000009268'.
    GD_DOCUMENTHEADER-COMPO_ACC  = 'FI'.
      gd_documentheader-bus_act    = 'RFBU'.
    ENDFORM.                    "fill_header
          FORM fill_ap                                                  *
    FORM fill_accountap.
    vendor line
      CLEAR it_accountpayable.
      it_accountpayable-itemno_acc = 1.
      it_accountpayable-comp_code = '0180'.
      it_accountpayable-pmnttrms = '0006'.
      it_accountpayable-TAX_CODE = 'IG'.
      it_accountpayable-vendor_no  = '0001200051'.
      it_accountpayable-item_text  = 'Vendor Line'. "#EC NOTEXT
      APPEND it_accountpayable.
    ENDFORM.                    "fill_accountap
          FORM fill_tax                                                 *
    FORM fill_accounttax.
    tax line
      CLEAR it_accounttax.
      it_accounttax-itemno_acc = 3.
      it_accounttax-gl_account = '0000081710'.
      it_accounttax-tax_code   = 'IG'.
      it_accounttax-acct_key   = 'VST'.
      it_accounttax-TAXJURCODE     = 'CA00'.
      APPEND it_accounttax.
    ENDFORM.                    "fill_accounttax
          FORM fill_currencyamount                                      *
    FORM fill_currencyamount.
      CLEAR it_currencyamount.
      it_currencyamount-itemno_acc   = 1.
      it_currencyamount-curr_type    = '00'.
      it_currencyamount-currency     = 'CAD'.
      it_currencyamount-amt_base     = '106.00'.
      APPEND it_currencyamount.
      CLEAR it_currencyamount.
      it_currencyamount-itemno_acc   = 2.
      it_currencyamount-curr_type    = '00'.
      it_currencyamount-currency     = 'CAD'.
      it_currencyamount-amt_base     = '100.00'.
      APPEND it_currencyamount.
      CLEAR it_currencyamount.
      it_currencyamount-itemno_acc   = 3.
      it_currencyamount-curr_type    = '00'.
      it_currencyamount-currency     = 'CAD'.
      it_currencyamount-amt_base     = '6.00'.
      APPEND it_currencyamount.
    ENDFORM.                    "fill_currencyamount

    U have to implement the BADI for this.. ‘AC_DOCUMENT’
    Add source code into Method: CHANGE_INITIAL & CHANGE_AFTER_CHECK,
    *---<SAPLBPFC> is for Posting      with BAPI: BAPI_ACC_DOCUMENT_POST
      *---<SAPCNVE > is for Posting(Tax) with BAPI: BAPI_ACC_DOCUMENT_POST
      *---<SAPMSSY1> is for Test(Check)  with BAPI: BAPI_ACC_DOCUMENT_CHECK
    DATA: wa_header TYPE acchd.
        IF sy-xprog NE ' SAPMSSY1 '.
          CLEAR wa_header.
          wa_header = im_document-header.
          ex_document-header-bktxt = wa_header-bktxt.
          CLEAR wa_header.
        ENDIF.

  • Apple Mail read status does not update correctly

    I have one iMac running Mavericks and using Apple Mail to run three IMAP accounts provided by a local Apple Mountain Lion Server.
    It exhibits two issues:
    Firstly it fails to refresh the view automatically in the message viewer window.
    The header at the very top of the window will update live when a new message comes in so that it says "X Messages (Y Unread)" with the correct numbers. The list of messages does not update unless you switch mailboxes, then switch back again. Then they appear instantly.
    The second and more critical issue is that the read and unread status of messages is not updating correctly at all. Refreshing the view make no difference. Two of the three accounts are shared with 6 other iMacs running Mountain Lion and Snow Leopard. None of these have an issue.
    I have deleted and re-added the accounts several times, I have tried a completely clean new user account. Sometimes the first issue goes away but it returns after a short time.
    The next step would be to erase the whole Mac but I am reluctant to go to the hassle as I have a suspicion that this will not make a difference and that there is a glitch with Mail on Mavericks. I have run all updates.

    Hi Brenn,
    To narrow down the issue, we need more investigation:
    1.Does the issue occurs only in Category view? Please check if user 1 set the view to Date and email read status update.
    2.Does the issue occurs to user1's own mailbox with the same setting as shared mailbox?
    3.If the shared mailbox is in cached mode, please check Account Settings > Change > More Settings... > Adwanced > Use Cached Exchange mode > check Download shared folders.
    4.Please switch to online mode for shared mailbox and test the issue.
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for