UPDATING EKKO-PROCSTAT FOR A SAG (ME32L)

Hi experts,
I have a requirement that I need to update the ekko-procstat field.
I found a bapi BAPI_SAG_CHANGE that I think its possible to do it, but when I use it always appears the following message:
'Scheduling agreements with time-independent conditions are not supported'.
Do you know what's the difference between time-independent and time-dependent's SAG's???
Does anyone knows how to configure a SAG as time-dependent or configure the bapi to support these time-independent's SAG ???
Or even if you have another idea for update ekko-procstat???
Tks in advance!
Gabriel

Hi,
In customizing you can define document types for scheduling agreements.
There you can indicate whether time-dependent or time-independent conditions can be specified.
OLME > Scheduling Agreement > Define Document Type
Hope it help you.
Best regards,
Rodrigo

Similar Messages

  • Update EKKO table for the custom field through BAPI

    Hi Experts,
    I need to create an Custom field in EKKO table through Include Structure.
    Now I have to update that custom field in my program.
    I have gone through the following but could not solve my question.
    Update EKKO table
    User Exit for ME21 PO Creation at the time of saving--Urgent
    I don't need to update when I hit the save button or any thing
    I have the PO's which needs to be updated with that field...
    Any suggestions would be greatly helpful.
    Thanks,
    Chaithanya...
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 7, 2008 10:47 PM

    Hi Patrick,
    Sorry Patrick you are right.. The structure is at header level.
    I have made the changes still I could not achieve it.
    I have made the following
    In EKKO table I have append the structure with a custom field ZZBUY.
    Now I have also appended BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX with the custom field
    ZZBUY.
    Here is my program
    Data: wa_bapi_poheader  type BAPIMEPOHEADER,
             wa_bapi_poheaderx type BAPIMEPOHEADERX.
    Data: it1_bapi_poheader  like BAPI_TE_MEPOHEADER,
             it1_bapi_poheaderx like BAPI_TE_MEPOHEADERX.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER            = wa_DATA-ebeln
    *   ACCOUNT_ASSIGNMENT       = ' '
    *   ITEM_TEXT                = ' '
    *   HEADER_TEXT              = ' '
    *   DELIVERY_ADDRESS         = ' '
    *   VERSION                  = ' '
    *   SERVICES                 = ' '
      IMPORTING
        POHEADER                 = wa_bapi_poheader
    *    POEXPIMPHEADER           =
      TABLES
        RETURN                   = it_bapireturn
    it1_bapi_poheader-ZZBUY = 'X'.
    it1_bapi_poheaderx-ZZBUY = 'X'.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
    it_extensionin-valuepart1 = it1_bapi_poheader.
    append it_extensionin.
    Clear  it_extensionin.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
    it_extensionin-valuepart1 = it1_bapi_poheaderx.
    append it_extensionin.
    Clear  it_extensionin.
       CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
           PURCHASEORDER                = wa_data-ebeln
           POHEADER                     = wa_bapi_poheader
           POHEADERX                    = wa_bapi_poheaderx
    *      POADDRVENDOR                 =
    *      TESTRUN                      =
    *      MEMORY_UNCOMPLETE            =
    *      MEMORY_COMPLETE              =
    *      POEXPIMPHEADER               =
    *      POEXPIMPHEADERX              =
    *      VERSIONS                     =
    *      NO_MESSAGING                 =
    *      NO_MESSAGE_REQ               =
    *      NO_AUTHORITY                 =
    *      NO_PRICE_FROM_PO             =
    *    IMPORTING
    *      EXPHEADER                    =
    *      EXPPOEXPIMPHEADER            =
         TABLES
           RETURN                       = it_bapireturn
    *      POITEM                       =
    *      POITEMX                      =
    *      POADDRDELIVERY               =
    *      POSCHEDULE                   =
    *      POSCHEDULEX                  =
    *      POACCOUNT                    =
    *      POACCOUNTPROFITSEGMENT       =
    *      POACCOUNTX                   =
    *      POCONDHEADER                 =
    *      POCONDHEADERX                =
    *      POCOND                       =
    *      POCONDX                      =
    *      POLIMITS                     =
    *      POCONTRACTLIMITS             =
    *      POSERVICES                   =
    *      POSRVACCESSVALUES            =
    *      POSERVICESTEXT               =
           EXTENSIONIN                  = it_extensionin
    *      EXTENSIONOUT                 =
    *      POEXPIMPITEM                 =
    *      POEXPIMPITEMX                =
    *      POTEXTHEADER                 =
    *      POTEXTITEM                   =
    *      ALLVERSIONS                  =
    *      POPARTNER                    =
    *      POCOMPONENTS                 =
    *      POCOMPONENTSX                =
    *      POSHIPPING                   =
    *      POSHIPPINGX                  =
    *      POSHIPPINGEXP                =
    *      POHISTORY                    =
    *      POHISTORY_TOTALS             =
    *      POCONFIRMATION               =
    It gives me messages saying that
    Please also populate interface parameter POHEADERX
    No data changed
    Where am I going wrong..
    Waiting for your replies....
    Thanks,
    Chaitanya

  • Update EKKO table

    Hi,
    I have got the requirement to update EKKO table while creating PO. The exact scenario is, I need to update email address based on some condition while creating PO.
    This is what I have found:
    When we create PO, the ADRNR field of EKKO would have a value. But when we change address in the PO manually then it would have ADRNR field value in EKKO. It will not change address in the vendor master record. In stead it is maintaining separate entry in ADRC.
    My issue is I have written the logic in EXIT_SAPMM06E_012 to generate ADRNR while creating PO. I do not know where to update the field ADRNR of EKKO. Am I following right step. Please advise.
    Thanks,
    Ramesh

    Hi,
    The sandard SAP approach is, whenever you change an address in address tab of PO the ADRNR field in the EKKO will be generated and corresponding record will be created in table ADRC.
    If your only requirement is to only store mail address, based on certain condition in PO and for that PO only, then you can store then mail address in any unused field at the header level in PO which is big enough to store the mail address or you can store the mail address in any header level text which you are not using.
    If this fulfil your requirement without affecting any other functionality you can dissucc with your functional consultant and decide which way to adopt.
    Regards,
    Pratik

  • Error - No update server found for context

    Hi
    I'm trying to write a BSP page that sends E-mail via sap connect.
    I did try to get the demo program bsptutorialmail from package SBSP_DOCU to work.
    When I try to send an E-mail, the program terminates with
    500 SAP Internal Server Error
    Error message: No update server found for context :b: ( type of termination: ABORT_MESSAGE_STATE )
    I can in my system send e-mail from a standard program using the function Z_E_KEG_SEND_SIMPLE_EMAIL that I found in a weblog here on sdn
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    I have not been able to find any info on this error, just a hint that I need to configure some RFC destination ?
    Any hints on how to solve this are very much appreciated

    I found nearly that exact same error message in an old MM OSS note - 333941.  The error message there was in ME47:Termntn A:No update server found for context:X.  Now that was context:X and not context:b like in your error, but perhaps the solution then will lead you to some clues.  The following were the code changes of that OSS note:
    Delete Block
        SET LOCALE LANGUAGE EKKO-SPRAS.            "CF 4.5A TODO
        XEINA-SORTL = XEKPO-TXZ01.
    Insert Block
        DATA: S_LANGU LIKE SY-LANGU.
        S_LANGU = SY-LANGU.
        SET LOCALE LANGUAGE EKKO-SPRAS.                         "149717
        TRANSLATE XEINA-SORTL TO UPPER CASE.                    "149717
        SET LOCALE LANGUAGE S_LANGU.
    On one hand this correction might be telling us that this error has something to do with language, or more specifically the act of not returning the local language to the logon language.  On the other hand, maybe it is just leading us on a wild goose chase.
    Message was edited by: Thomas Jung

  • Updating EKKO within user exit ZXM06U22 (EXIT_SAPLEBND_002)

    I am trying to update EKKO table (2 new fields that I added to CI_EKKODB) in user exit ZXM06U22 (EXIT_SAPLEBND_002).  I am populating E_CEKKO (the 2 new fields) with this information, but for some reason, it is not saving to the database (EKKO table) after I save my ME21N or ME22N transaction.  The very first thing i do in this user exit is:
    move-corresponding I_CEKKO to e_cekko.
    Does anyone have any ideas for other code that I need to add to this user exit to get these new field values in EKKO to save to database table?
    Thanks!
    Sarah.

    You should use SMOD enhancement MM06E005 to do this
    EXIT_SAPMM06E_006, EXIT_SAPMM06E_007, EXIT_SAPMM06E_008

  • Updating EKKO table using E1BPPAREX

    Hi all,
    My requirement is to update ekko table using E1BPPAREX segement. I have gone through so many posts regarding this.
    In my case, PO number is not yet created. I am using BAPI_PO_CREATE1 for creating this . From PI side, if they pass the custom field value in the appropriate postion of VALUEPART field of E1BPPAREX, will it get updated to the ekko table automatically.
    Regards,
    Sajith

    Hi Sajith,
      you have to do is populate structure extensionin. You'll have to implement the fm DDIF_NAMETAB_GET to look for the right place (offset) in order to add the field on the structure extension in.
    Example:
      CALL FUNCTION 'DDIF_NAMETAB_GET'
        EXPORTING
          tabname   = c_ext_table   --> ''BAPI_TE_MEPOHEADER
        TABLES
          dfies_tab = lt_tab
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
      CLEAR l_offset.
      LOOP AT lt_tab.
        CASE lt_tab-fieldname.
          WHEN c_yourfield.
            w_extin-valuepart1+l_offset = p_yourfield.
        ENDCASE.
        ADD lt_tab-leng TO l_offset.
      ENDLOOP.
      MOVE c_ext_table TO w_extin-structure.
      APPEND w_extin TO p_i_extin.
    Regards,
    Carlos.

  • Can ME_PURCHDOC_POSTED use to update ekko data

    hi all,
    can i use ME_PURCHDOC_POSTED to update ekko data..i tested but it didnt work, it will update ekko data provided i changed ekpo data...
    pls advise

    Try writing a personalization on the PO screen that adds the following condition to the where clause
    "and authorization_status !='APPROVED'
    However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
    Hope this helps,
    Sandeep Gandhi

  • Looking for help to update the certificate for my Exchange Email Account...

    I'm trying to update the certificate for my Exchange Email Account...Dell had me delete the account, install the new certificate on my phone, and set up the email again...But it still won't work and acts like it can't find/use the new cert.  Any suggestions besides a hard resest of the phone?

    That's a great question, LSchmitz!
    Is the e-mail account on your cell phone? Which device? If its on your phone, an Exchange e-mail, may need to be provisioned/ set up by your employer/ IT department.
    VanessaS_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • There was a problem updating InDesign CC For more information see the specific error below.  Update Failed Download error.  Press Retry to try again or contact customer support.(49)

    Posted the entire text from the error window, when trying to update, using the normal NON-TECHIE way to update any and all Adobe CC products, via the Creative Cloud updater installed when Adobe Creative Cloud subscription was purchased when first offered.
    The following occurs, ad nauseam:
    There was a problem updating InDesign CC
    For more information see the specific error below.
    Update Failed
    Download error.  Press Retry to try again or contact customer support.(49)
    Here's the crux of my frustration:
    (1) Customer Service is NOT contact-able, to receive LIVE help.
    (2) There is NO way for me to mitigate this "Download error", being a student learning InDesign, and NOT in any way capable of tweaking folders/files here and there.
    Therefore, the real question:
    Given that a significant number of subscribers are having the above referenced issue with attempting to download the current update for InDesign, WHAT ARE WE SUPPOSED TO DO, in order to get our contractually paid-for updates to our legally and contractually paid-for Adobe software, specifically in my case, InDesgin's current update?
    Please, NO TECHNICAL mumbo-jumbo which most likely will cause the overwhelming majority of users, like me, to seriously corrupt their computer files, but rather an honest, straightforward "what to do" from real CS/Engineers working for Adobe, as to how to FIX this issue, period.
    ===========================================================
    UPDATE:
    Here is a way in which I think I was able to "update" my InDesign CC application:
    (1) Sign-In to your Adobe Account
    https://www.adobe.com/
    (2) Click on the MENU icon
    (3) Click on the product InDesign icon
    Your browser should display the page for Adobe InDesign CC
    https://www.adobe.com/products/indesign.html?promoid=KLXLU
    (4) Click on the Download icon,
    Your browser should now display the page to download InDesign,
    https://creative.adobe.com/products/download/indesign
    (5) a Pop-Up window should open, and display:
      Launch Application
      This link needs to be opened with an application.
    with the first option to select being the CreativeCloud(URIHandler)
    (5) Select this application and click OK.
    What happened when I followed steps (1) thorugh (5) is that:
    (a) InDesign CC(2014) was installed,
    (b) InDesign CC, updated, and then
    (c) InDesign CC(2014), also updated.
    Why this all worked, is a mystery to me.
    Looks like a separate, "new" version of InDesign, InDesign CC(2014), was installed, the existing "old" InDesign was updated, and then the newly installed Indesign CC(2014) was further updated.
    A BIT MORE, when I launched my InDesign CC app, and checked to see if there were Updates Available, there in fact was an Adobe InDesign CC 64 bit (9.2.2) update.
    I clicked on UPDATE and my "old" InDesign CC app was "successfully updated."
    FURTHER INFO:  I may have neglected to list some important info ... OS:  Windows 8.1 Pro with Media Center, 64-bit
    Confused, I am able to launch BOTH of these apps, and hopefully I may use one of these versions of the InDesign CC app, to do some InDesign work.
    Will keep y'all posted!
    Message was edited by: Richard Yapkowitz, about an hour after I first posted this issue.

    Jackdan error 49 indicates the installer was unable to access a critical file or directory.  You can find additional details at Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • There was an error while updating row count for "SH".."SH".CHANNELS

    Hi All,
    Am new to OBIEE.Pls help in this regard.
    Am building the physical layer as per Repository guide.When am importing the data in to this,am getting the below error.
    *"There was an error while updating row count for "SH".."SH".CHANNELS" :"*
    channles is the table name and having 5 rows.
    but am able to see the data in the sql prompt. like SELECT * FROM SH.CHANNELS then 5 rows data would be displaying..
    pls help in this regard and where is the excat problem?
    Thanks,

    what is the error?
    Make sure that your connection pool settings are okay..
    Make sure that, you are using correct driver in case of if you are using ODBC dsn..
    Also make sure that, your oracle server is running... TNS and Oracle server services

  • IOS 6.1.4 released for iPhone 5 Adds an Updated Audio Profile for Speakerphone

    Apple has just released an Over the Air update for the iPhone 5.  It seems to only provide an updated audio profile for the speaker phone.  Nothing else listed in the change log.
    I would assume  that there will be an iTunes downloadable  update available shortly.

    It obviously is because you didnt understand. The iphone 4's last update to IOS 6.1.3 in some cases caused the phones speakers to not work (in which this happened to mine and a few people I know) which some people got rid of their phones. HENCE the AUDIO UPDATE that they recently posted but only iPhone 5 can download the update. That is my problem. I have alot of apple products diesel vdub and have had apple for a long time but I can't seem to understand why they would do this and I posted this in hopes to find more people that have had this issue and if they did anything to help fix it this issue. Thank you for your concern though.

  • EFI update 2.1 for lion recovery in Mountain lion

    When the EFI update 2.1 for lion recovery in Mountain lion is done and when i restart my Macbook, the sleep indicator flashes and the machine makes a beeping sound for about 3 seconds and the machine starts up. Any thing to be worried about..? I beleive the the update is not installed bcoz it still shows in the App Store as update available. Pls advise.

    MACBOOK 13 INCH MID 2010
    OS X MOUNTAIN LION

  • I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version.  How do I update my PHONE and why is an itunes update being confused for my iphone?

    I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version.  How do I update my PHONE and why is an itunes update being confused for my iphone?

    You need iTunes 10.0 or greater to update your phone...iTunes isn't confused at all. If you're on a Mac, you'll need OS X 10.5.8 or greater to update iTunes to 10.0 or greater.

  • When i try to update my apps from the app store some of the apps wont update and ask for an Apple ID that isn't mine. Whats the problem and how do i fix it?

    When i try to update my apps from the app store some of the apps wont update and ask for an Apple ID that isn't mine. Whats the problem and how do i fix it? All im trying to do is update my apps and its asking for these random apple ID's.

    The apps were purchased by another user with a different Apple ID. You will have to erase them and repurchase them using your Apple ID.

  • I have an iphone 4, i connect it to my laptop using the usb and then when connecting to itunes it says my phone is not up to date with itunes yet i cannot find an update 11.1 for my phones itunes? someone please help me.. kind regards

    i have an iphone 4, i connect it to my laptop using the usb and then when connecting to itunes it says my phone is not up to date with itunes yet i cannot find an update 11.1 for my phones itunes? someone please help me.. kind regards

    Itunes 11.1 is for your computer, not your iphone
    It is required in order to sync with ios 7.

Maybe you are looking for

  • Can't find oe_main.sql and HR_main.sql

    I have download and installed latest oracle database successfully (version 11g). When I followed instruction to install sample schema, I couldn't find hr.main.sql and oe_main.sql. I only found hr_code.sql in demo/schema/human_resources directory. The

  • WD My Book VelociRaptor Duo Thunderbolt Enclosure replacement drives

    Not really sure where to put this as it isn't entirely Mac specific but there is a lot of experienced and helpful people here so..... I am considering purchasing a WD 2TB My Book VelociRaptor Duo Thunderbolt Desktop Hard Drive (WDBUWZ0020JBK-NESN) wh

  • DVI port for connect Cintiq on pro tower ?

    I will buy soon a mac pro 8-core 2,44Ghz and I wanted to know if there was a dvi port on the tower because I must connect a Cintiq Wacom 21ux on it. If there isn't a dvi port, is there another solution to connect it ? Thx by advance for your help

  • When i open firefox it wont open...even though it says it's running..

    when i click on the mozilla icon on my desktop, it won't open up...but yet in my task manager it's saying it's running...I tried to reboot and still not working...I'm able to use Internet Explorer...

  • LR 5.3 "Capture in connected mode" with D610

    Hi, The Lightroom 5.3 Capture in Connected Mode does not recognize my Nikon D610. Could you please help? Thanks Regards Cyril