Scheduling Agreement Item not reflected as commitment item in CO

HI SAP MM Gurus,
Good day!
Here is my scenario:
We need to create scheduling agreements with Account Assignment F which needs to have the commitment items reflected upon creation of the delivery schedule. This works ok if I create the documents (Scheduling Agreement and Delivery Schedule) manually, with the field EKPO-XOBLR being set to X to have the items pass through to CO
The problem is, due to the volume of documents processed, we need to create an upload program using the function module BAPI_SAG_CREATE. Upon observation, this does not update the commitments for the shceduling agreement items even though both the scheduling agreement and delivery schedule were created.
Any thoughts on how I can resolve this?
Kind regards,
DeLo

Are u sure the transaction code is ME33L, contracts use ME33K
Now this is tricky.
One way of finding the condition table used is (working backwards)...
go to table KONH
in the field VAKEY enter your contract<i>(10 chars as in EKKO/EKPO w/ leading zeroes or trailing spaces)</i> and contract line<i>(5 chars w/ leading zeroes).</i>
look at KVEWE (A in my case) and KOTABNR (16 in my case) used now join the two (A<b>0</b>16 add the zero in between) now this is the condition table.
working forward.
if the condition table is A016
<b>Get A016-KNUMH from A016</b>
<b>A016-KAPPL = 'M'
A016-KSCHL = 'PB00' (condition you are looking for)
A016-EVRTN = <u>Your Contract Number</u>
A016-EVRTP = <u>Your Contract Line Number</u></b>
Select DATAB <i>(Validity Start Date)</i>, DATBI <i>(Validity End Date)</i> from KONH
where KNUMH EQ A016-KNUMH
Cheers!
Rishi

Similar Messages

  • POP3 Sent Items not Reflecting in E72 firmware 031...

     My Nokia E72 is set up my corporate pop3 & SMTP. I'm able to send & receive email but the mails are not reflecting in "SENT ITEMS" folder.

    I found a setting under advanced options where by setting the sent items under server that they now reflect.

  • GR of Delivery completed item not possible for line item of PO/SA ?

    Hi,
    Am unable to Receive Goods in MIGO an Error - "GR of delivery completed item not possible for line item of PO/SA"?
    Regards
    Mohammed Khaja Pasha
    +919550917395.

    Hi Mohammed Khaja Pasha ;
    Delivery Completed checkbox provides a lot of fonctionality like an additional delivery is not expected, but is possible. If you prevent posting of migo , you can benefit from system messages M7 163 and 254.
    You want to ensure that the delivery is made before the planned delivery date : Set message 254.
    You want to ensure last possible delivery date : Set message 163.
    However ;
    The open PO quantity of the PO item equals zero.
    The PO item is no longer relevant for materials planning.
    The PO item is ignored when letters urging delivery of overdue goods are generated.
    The PO item can be deleted and archived.
    You can specify whether the Delivery Completed checkbox is to be selected automatically.
    Regards.
    M.Ozgur Unal

  • Sub-items not supported for selected item(s) error in LSMW

    Hi gurus,
    Am working on BOM's data load via LSMW. Most of the item are stock items (L) but some of the items i am loading are Text items (T). Because of the customizing done in OS13 (that can't be changed apparently), the LSMW executed in foreground gives the message "Sub-items not supported for selected item(s)" (only as information, green message) and the dataload IS STOPPED.
    Is there a way to :
    -> change OS13 (allow sub-items for text items) : When i try i have an error message.
    -> or to force LSMW program no to go on the sub items screens (this way the program does not stop and the BOM is created)
    Thanks in advance for your answers,
    Olivier

    Found the solution my self all relations between dataload file and sub-items structure had to be suppressed in LSMW.

  • All line items not reflected in GR

    Hi Gurus
    I have an issue regarding the Goods Receipt
    When i do the GR with reference to PO i am not able to get all the line items from the PO.
    The PO is raised based on a schedule agreement.
    Can anyone suggest what could be the reasons
    Its an urgent issue
    Thanks
    kavitha

    Hi venkadesh
    Can u please give me the detailed steps how to release using me38, i have given the schdule qtys and dates and when i go to overview of releasing the S.A nothing is displayed there.please guide me here
    Thanks and regards
    kavitha

  • Emails not reflecting in Sent Items on ipad air

    I am sending emails from my ipad air but they'd do not reflect in the " Sent Items" and can't see where there is a setting to change this?

    I found a setting under advanced options where by setting the sent items under server that they now reflect.

  • Expired Scheduling Agreement could not be changed

    Hi Experts:
    I am trying to mark the delivery completed box of an expired Scheduling Agreement because the quantity still appears in MD04.  However, I could not change it because it says " validity of contract expired 28.05.2008". How could I change an expired Scheduling Agreement.

    It seems earlier for the line item the conditions was not maintained ,Due to this you are able to maintain the price for condition PBXX.
    Now PB00 condition is automatically comming means ,there should be some info record or contract is maintained for the sku.So system is picking the price from any one of master data.Check in conditions from there you will come to know from where is system is picking the price.Change the price in master data then it will pick changed price.

  • Item not being saved when item is in a jquery modal  dialog

    Hi all,
    I followed instructions found here :
    http://shijesh.wordpress.com/2010/04/10/jquery-modal-form-in-apex-4/
    to create a jquery modal dialog, this is the code I added in html header :
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
       $('#ModalForm').dialog(
            modal : true ,
            autoOpen : false ,
            width : 425,
            closeText : 'Close',
            stack : false,
            resizable : false,
            buttons  : {
                Cancel : function() {
                         closeForm();
                Save : function() {
                    updateMEMOVELD();
    function openForm()
        $('#ModalForm').dialog('open');
    function closeForm()
        //$('#ModalForm input[type="textarea"]').val('');
        $('#ModalForm').dialog('close');
    function updateMEMOVELD ()
       var get = new htmldb_Get(null, &APP_ID.,   
                        'APPLICATION_PROCESS=f_memo', 0);
       get.add('P9_MEMOVELD',$v('P9_MEMOVELD'));
       var gReturn= get.get();
       //alert(gReturn);
       //alert($v('P9_DATUM'));
      $s('P9_MEMOVELD',gReturn);
      alert($v('P9_MEMOVELD'));
      $s('P9_MEMOVELD_COPY',$v('P9_MEMOVELD')); 
      $('#ModalForm').dialog('close');
    </script>my situation is a little different, my modal does not have to perform an sql update, just change a field
    the user will then save in the main form
    for some reason the field never gets updated in the db
    I even created a on demand application process called f_memo :
    BEGIN
      APEX_UTIL.SET_SESSION_STATE('P9_MEMOVELD',:P9_MEMOVELD);
      htp.p(:P9_MEMOVELD);
    END;why is my field not send to the db ?
    it works when I delete this from the region header :
    < d i v id="ModalForm" title="Add Person" style=" d isplay:n one  "   >but then of course I no longer have a modal dialog
    what's wrong ?
    I put the code online at apex.oracle.com
    workspace XONIXRS
    login/password demo/demorun the application
    click on lijst facturen (invoices) (in the right sidebar region)
    then click on the zoeken (search) button
    a report appears, click on edit on the first line (200900017)
    now a form appears, click on the outright button memo
    now the modal shows up, change the field and click on save
    click on ok (for the alert) and then click on Save invoice
    you will remain on the same page
    now click on annuleren
    and then click on edit on the first line (200900017) again
    then click on memo again, you will see the memo has not been changed
    how comes ?
    Kr
    Martin

    The issue is that creating a modal of a region lifts that region from the HTML. Just have a look at the DOM when you run your page and not the source html, because that does not reflect changes to the dom made on page load. This means that your memo-field is removed from the FORM-tags, and effectively won't submit to session state. The item is not processed when you submit the page! You can track that through debugging your page. Memo is not saved and not processed.
    Trying to save the value to session state is not enough, it doesn't really matter in this case. The moment you submit the page, the session state will get overwritten by the submitted values of the items.
    So what i did:
    <ul>
    <li>move P9_MEMOVELD to region FACTUUR, together with all the other db fields</li>
    <li>change the type to hidden</li>
    <li>set value protected to NO</li>
    <li>in the modal region create a new page item P9_MEMOVELD_POP, type textfield</li>
    <li>set the source to always use a page item as source, with source P9_MEMOVELD</li>
    <li>changed function updatememoveld:
    function updateMEMOVELD ()
       var get = new htmldb_Get(null, &APP_ID.,   
                        'APPLICATION_PROCESS=f_memo', 0);
       get.add('P9_MEMOVELD',$v('P9_MEMOVELD'));
       var gReturn= get.get();
       //alert(gReturn);
       //alert($v('P9_DATUM'));
      $s('P9_MEMOVELD',gReturn);
      alert($v('P9_MEMOVELD'));
      $s('P9_MEMOVELD_COPY',$v('P9_MEMOVELD')); 
      $s('P9_MEMOVELD',$v('P9_MEMOVELD_POP'));
      $('#ModalForm').dialog('close');
    }Whether you want or need the session state set is up to you, it depends on if you use this somewhere else dynamically on the page and thus would influence results there, but i don't think it will (it's a memo field...)</li>
    </ul>
    Extra remarks:
    <ul>
    <li>be careful with including jquery libraries! The standard libraries are included, yet you add previous versions too! (1.4.2) This might lead to issues...</li>
    <li>use your templates better. Why would you wrap a region in div tags? Change or add a region template to be div tags. You can then easily assign a static id to this region, and target it. This will save you from wrapping wrapped wrappers (cause that is what the generated code looks like in the end).</li>
    </ul>

  • Scheduling agreement  does not get updated (though in valid period)

    Hi,
    Once I change the setting of document type LPA from Time dependent conditiopns to Time independent conditions,
    how can I convert existing scheduling agreements that have been already created to time independent settings?
    Is it posible?
    Regards,
    Ajinkya

    If the agreement is open without any transaction, you can change the same using Carry out new pricing (B).
    Logically speaking agreement should be made in consent with the vendor agreed terms. It should not be changed in the mean course.

  • Scheduling Agreement - Conditions not getting copied from Contracts

    Hi All,
    Requirement: Global outline agreements with scale prices will be created in SRM which will be into ECC as Contracts. Scheduling agreements will be created referecing the Contracts and the conditions with the scale prices needs to be copied into the scheduling agreement.
    Issue: We could create Global outline agreements in SRM and are getting replicated into ECC as contracts successfully. Conditions and the scale prices are not getting copied into the Scheduling agreement from the Contracts.
    Please guide.
    With regards
    Krishna

    Hi,
    I couldnt reach out a solution for this problem.
    SRM Version: SRM 5.0
    Yes. We create Scheduling agreements referencing the contracts.
    With regards
    Krishna

  • Changes to sales order item not reflected if Call Transaction is used

    I m updating another Sales Order item quantity and reason for rejection programmatically from another sales order.
    The code is working fine and the quantity does get changed as well as the reason for rejection flag get set (if required). But if I go to the change log from the menu in VA02 for the order item which has been changed. It does not record the changes.
    I have tried using both BDC call transaction method as well as BAPI_SALESORDER_CHANGE in neither case the change log for the order which has been changed reflects the programmatically made changes?
    What m I doing wrong. Here is the code.
    IF v_update_order_flg = 'X'.
          REFRESH t_bdcdata.
          CLEAR s_bdcdata.
          REFRESH t_messtab.
          PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
          PERFORM bdc_field  USING 'VBAK-VBELN' <wa_r_rtb_posnrs>-zrtbvbeln.
          PERFORM bdc_field  USING 'BDC_OKCODE' '/00'.
          PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
       For Going to  specific Item Number
          LOOP AT t_schedule_lines.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POPO'.
            READ TABLE t_item_in WITH KEY itm_number = t_schedule_lines-itm_number.
            PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
            PERFORM bdc_field  USING 'RV45A-POSNR' t_schedule_lines-itm_number.
            PERFORM bdc_field  USING 'BDC_OKCODE' '=POSI'.
            PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
            v_ro_qty = t_schedule_lines-req_qty.
            CONDENSE v_ro_qty.
            PERFORM bdc_field  USING 'RV45A-KWMENG(01)' v_ro_qty.
            PERFORM bdc_field  USING 'VBAP-ABGRU(01)' t_item_in-reason_rej.
          ENDLOOP.
          PERFORM bdc_field  USING 'BDC_OKCODE' '=SICH'.
          v_call_transaction_flg = 'X'.
          EXPORT v_call_transaction_flg TO MEMORY ID 'call_transaction'.
          CALL TRANSACTION 'VA02'
                       USING t_bdcdata
                       UPDATE 'S'
                       MODE   'N'
                       MESSAGES INTO t_messtab.
          v_call_transaction_flg = space.
          FREE MEMORY ID 'call_transaction'.

    Hi Srikrisna,
    This is a typical problem with BDC for updating QUANTITY and CURRENCY fields.
    You need to create a character variable of the same length as your quantity field. Move your quantity value to the newly created Character variable.
    Now use this new char variable in the BDC.
    This correction should solve your problem.
    NOTE: BDC RECOGNIZES CHARACTER FIELDS ONLY.
    Regards,
    Prakash Pandey

  • All cost items not reflecting in Detailed Planning PCP

    Hi All.
    When i am executing the PHCPDETL - Detail Planning .I am able to process the other functions.But when i am trying to access the insert cost items then I can see only one cost item but i have more than 10 which are not coming when i try to increase or add other cost items.
    What is that I am missing.
    Help appreciated

    Hi! I'm also having the same problem with the cost items.  When I try to insert the cost items, I canonly see two cost items.  I would appreciate your help regarding this. Thanks!

  • Updating a row is not reflected after committing and it takes the old value

    Sir,
    I have been stuck at this problem for quite some time. So, I have a updatable table with editall property but i am controlling each column's read only property based on the value of the checkbox present in that table.So, if the user clicks on the checkbox ,the entire row becomes editable. But when i am changing the value of the row and pressing the commit button , it does not take the new value but the postback happens with the old value only. If i just drag the table as editall table and edit something , the commit button does reflect the change.
    How to solve this. Please help

    Frank,
    The reason i am not using the ClicktoEdit feature is because my aim is that the user clicks on multiple checkbox and then press the update button ,then all the checked rows becomes editable and the user can update them. But unfortunately, this feature is also not working .I am going step by step. So, i have checkboxes which the user can click to update them but it is not committing the change. Could u please help me or suggest some other way round. If u want any other information , please do ask.
    Thanks

  • Clear cache for items not working with multiple items

    APEX 4.0, 11g. I've made a session state process that clears cache for items (item_1, item_2, item_3) but I keep getting an error "Unexpected error, unable to find item name at application or page level" I have now created 3 session state processes, each with one page item in it, and it works fine but as soon as I try to put more than one item in the process field, separated by commas, I get this error. Is there some other setting I have to change to make it accept multiple values in this field?

    No, I wasn't using the parenthesis... just the items separated by a comma.
    I don't want to clear the cache for all page items, just these 3. It works okay in 3 separate clear cache for item processes, just thought it was odd that I can't put all three items into one process separated by commas.

  • Price change in Schedule agreement but not updated in CDHDR and CDPOS

    Hi Experts
    We have change price in  SA ,please see the below screen shot. But these changes not update in CDHDR and CDPOS. We can see current rate in ME33L.
    Please guide how to update these changes.
    Regards
    Parkash Chand

    Generally in standard, the changes logs are saved into table CDPOS and CDHDR.
    Its working fine in my system.
    Can you see the changes log with regards to document number by running program RSSCD200.
    Go to SE38 or SA38, enter the program RSSCD200 then press execute.
    Enter * in object class and enter the document number
    Then press execute. You can find more details into the wiki content Steps to enable logging of changes in change documents - Code Gallery - SCN Wiki

Maybe you are looking for