BAPI or FM to change the PO release group

Hi,
I would like to change the PO release group (EKKO-FRGGR).
I could not find the way to change this field through BAPI BAPI_PO_CHANGE.
Please suggest me any BAPI or FM!
Thanks,
Khanh

Hi,
It seems ME_REL_STRATEGIE_EKKO is used for creating a new PO.
I want to change the PO release group for a specific PO only.
And the BAPI BAPI_PO_RELEASE seems to change the Release Code, not Release Group!!!
Please advice!
Thanks,
Khanh
Edited by: Khanh Nguyen on Sep 23, 2010 2:37 PM

Similar Messages

  • User exit (To change the PO Release Strategy): M06E0004

    Dear Experts,
             I am trying to implement the enhancement for changing the PO release strategy, using exit M06E0004 for following situation.
    If PO is already released and then if any changes made to it affects the net amount which makes it less than previous net amount. We have to change the PO Release indicator to 'Blocked'.
    We have tried to change the value of  USRC1 USRC2 USRN1 USRN2 of structure E_CEKKO but it is not workingu2026
    Please help me *how / what to change in the E_CEKKO structure*.
    I am new to User Exit.

    Hi Nagarajun,
    I am able to solve this problem.!
    All u have to do is follwoing two step.
    1.maintained a flag in ur enhacement part (FM to Z_FIND_PO_RELEASE_STRATEGY)
    inorder to know whether the current PO is without PR or not then export its value to memory.
    2.Do enhancement in standard FM ME_REL_STRATEGIE_EKKO
    (which is used to reset release strategy and indicator).
    Inside this fm u can find  below code
    if xchange ne space.
    *- Strategie geändert --------------------------------------------------
        if e_frgst ne i_frgst or
           e_frggr ne i_frggr.
          perform reset
             using e_frgst e_frggr
                   e_frgzu e_frgkz e_frgrl.
          e_reset = 'X'.
    *- Wertänderung prüfen -------------------------------------------------
        else.
          if t16fb-kzfae eq '4' or
             t16fb-kzfae eq '6' .
             perform currency_conversion using *cekko-waers
                                              bwkurs_old
                                              hwaers
                                              fwaers
                                              bwkurs
                                        changing *cekko-gnetw.
            f1 = *cekko-gnetw * t16fb-tlfae / 1000.
            f1 = f1 + *cekko-gnetw.
            if cekko-gnetw gt f1.
              perform reset
                using e_frgst e_frggr
                      e_frgzu e_frgkz e_frgrl.
              e_reset = 'X'.
            endif.
          endif.
        endif.
      else.
        perform reset
           using e_frgst e_frggr
                 e_frgzu e_frgkz e_frgrl.
      endif.....
    above code is use to check the PO amount and with old net amount,Since normally code is done to reset indicator only when amount is greater than old one, u can copy above code and modify with ur condition(i.e flag) and paste in last line.
    Please check & reward is useful.

  • BAPI Function module to change the schedule agreement

    Hello Experts,
                             Can anyone tell me Bapi function module to change the scheduling agreement,
    my requirement is i will get the new AEDAT(Delivery date in schedule line)
    and WMENG(Quantity)  Every time customer sends me a flat file which has got
    revised schedule delivery date and Quantity. It needs to be updated in my system
    using a BAPI Functional Module.

    Hi Vivek,
    You must use the correct or most appropriate forum, so this thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • Bapi / Function module to change the status of transaction crmd_order

    Hello team,
    I am developing the utility in CHARM for which i need to change the
    Status of transaction CRMD_ORDER from "New to "In process" through
    report/BAPI / FM etc... I tried to use report
    CRM_socm_service_report.But it never puts status " In process" rather i
    updates only " "work in progress ".
    Also tried FM "CRM_STATUS_CHANGE_EXTERN" , but doen't work.
    After the process is put "In process" , i want to create change request
    and assign resource". Is there any report / FM /Bapi or anything in the
    system to do this.
    I tried to write BDC but dropdown list is not recorded in the recording.
    Please advice.
    Thanks and regards,
    Swapnil

    Not sure I understand your requirement but maybe FM CRM_ORDER_MAINTAIN will be of help to you.

  • Sub: Our Client wants to change the existing Release procedure.

    Dear Friends,
    Requirement:
    Our requirement is to remove one of the Release Code from the existing release sequences, with out affecting the old Purchase Orders.(including Released and Partially Released)
    Changes we done:
    Once we remove the specific release Code and found that it affects all the Purchase Orders (both Released and Partially Released) which are relevant to this removed code.
    Is there any other way to do this changes with out affecting the old Purchase orders (we don't have Work flow in the Release Strategy).
    Regards,
    Dhan

    Hi,
    If you want to change the release code, then what are the open order which or not released and in process make sure those PO's are released then you can change the release code.
    Else System wouldnt allow you to process further, then you need to create new PO's, So avoiding this first release all the open PO's and partial release PO's then you do change the release code.
    Thanks & Regards,
    Dhanush.

  • BAPIs to create and change the BOM

    Hi experts,
    Is there any BAPI to Create or to Change the BOM
    Thanks,
    kruthik.

    Hi ,
    For Routing Create 'BAPI_ROUTING_CREATE'.
    For char change BAPI_CHARACT_CHANGE.
    Edited by: Selva M on Feb 24, 2010 11:38 AM

  • Stop release strategy when pgrp changed triggering different release group/

    Currently when our buyers change the purchasing group field on the purchase requisition it is triggering a new release strategy because the release group and code is different than the original creator. 
    It has been indicated that we should request from SAP that these two fields be made available to the structure for the release strategy. 
    Is there a user exit that we can use to stop a new release strategy?

    Hi,
    Do you have different rel. stgy for diff. plants? if yes, than which rel. stgy should be picked in case if both plants entered have different rel. stgy? what is your expectations/requirements?
    If your PO is to go through diff. approvals for different plants than you should have different PO for each plant (even diff authorizations and rel. codes), or else you should not have plant as the criteria. Technically, whether it is fesible or not is different question, but whether practically your organization is ready that if a common material is to be procured it will have approvals of only one plant or may be a different approvals all together?
    Regards,
    Dakshesh

  • Changing the default DBA group

    Hi guys,
    For Oracle8i, 9i, and 10g, is it possible to change the DBA group once Oracle is installed? Let me give you an example:
    I got Oracle 10g, with the DBA group 'oinstall'. Is it possible that i create a new OS group called 'DBAtest' and use this as the default DBA group so OS users members of this group can os-authenticate to oracle?
    thanks,
    james

    Yes, on Unix platforms I think it is possible to change the OSDBA group (the group used to authenticate SYSDBA connection).
    Not sure if there are any consequences afterwards, if you did not separate the Oracle software owner OraInventory group, usually 'oinstall', from OSDBA/OPER groups. Could be a good idead to work that out before implementing any changes!

  • Howto change duration of images (change the duration of group of images )?

    Hi all,
    I'm using iMovie HD 6.0.3 and I wish to change the duration on the time line of all my photos. I can do it one by one but there are 100 of them.
    Question: how can I select all pictures and change the duration of ALL images (the default 5 sec and I wish to make it 3 sec?)
    * when I right click the photo --> show info -->the duration *is not* editable?!?!
    any idea how to circumvent this?
    Thank you!

    Select the first photo in the sequence. Then while holding the shift key, select the last one. This should cause all of the photos from the first through the last to be selected. Then, be sure to click on "Media" and then "Photos". This should then show a button that says "Show Photo Settings"; click on that. In the window, go to the box at the bottom, and change the duration to one that you wish. This new time should be applied to all of the selected photos.
    I hope this helps.

  • Changing the GL account group

    Hi,
      We  have around 4000 GL accounts  for each GL account we have assign the GL account group  which was earlier made  now we want to create some new account group  and want to assign existing gl accounts to those new account group so is there any effect of this  exept the field selection because field selection we are keeping same.
    regards,
    zafar

    Hi zkarnalkar,
    As per my knowledge it is possible to change same group.
    Generally we are having 2 groups one is BS group second P&L group.
    Ex: If u create GL Accounts group 100000 - 20000 given grouping ( Balance sheet)
    you can able to change in BS Group with other name Fixed Assets  100000 to 100500 & Loan a/c 100501 - 100900.
    same stile we can change the P&L a/cs also with other grouping
    Note: we can not change BS a/c in to P&L Grouping.
    Rds,
    Anil

  • How to change the order of groups in AdvancedDataGrid

    Hello,
    I have a dataset similar to the following:
    Region   Sales
    ======   ======
    North     10
    North     15
    South     5
    East      20
    West      5
    West      4
    West      3
    I'd like to group by Region and sort the groups by the Sales subtotal for each group. I already have the data grouped correctly using GroupingCollection2. How can I sort the groups by the sales subtotal (it sorts by region name by default)? I've seen some posts that talk about creating a custom groupingObjectFunction and applying a group sort. But I'm still confused. Can someone give me some pointers on how to achieve this?
    So ideally, the AdvancedDataGrid would end up looking like this with the regions sorted by sales subtotal;
    Region    Sales
    ======    ======
    North
              10
              15
    subtotal 45
    East
              20
    subtotal 20
    West
              5
              4
              3
    subtotal 12
    South
              5
    subtotal 5

    Thanks, I looked at that earlier but it doesn't contain the solution I was hoping to find.
    I ended up not using GroupingCollection. I think GroupingCollection is cool, but it isn't really customizable to the extent I need.
    I just ended up transforming my data into a hierarchical form that could be used directly by AdvancedDataGrid. At the top level of my hierarchy, I have the detail txn groups, subtotal groups, and grand total groups. To sort the groups, I use custom SortFields. So, for example, if I want to sort by group name, I add a SortField for the groupName attribute. Both the Detail Group and the Subtotal Group share the same group name. Then I add a SortField for a summaryRow attribute. Only the subtotal group has that attribute. This ensures that the Detail Group is always followed by the associated Subtotal Group after sorting. I store my groups in an XMLListCollection and then set the sort attribute, then call refresh().
    Not ideal, but it works. If my requirements were more complex, perhaps my approach wouldn't have worked as well. But as it stands it works well and has good performance.
    I was hoping that ADG could handle this kind of sorting for me, but after looking at the source code, it seems like this is not possible without implementing my own custom GroupingCollection class and possibly other supporting classes.
    One key thing to note is that clicking the column header to sort within groups works fine. However, if you then attempt to sort at the group level, ADG hangs while trying to refresh itself. The trick is to assign the dataProvider.sort attribute to a temporary variable, then set it to null (this sort variable contains the ADG column sorts that the user clicked). Apply your group level sort and then reapply the dataProvider.sort attribute.

  • How I could change the User's group that it's assigned to a QUERY

    Hi,
    I nedd to copy some querys, but I have a problem. The Querys have an user group asigned, but I don´t want this. I want to donwload the query to my PC an then upload to another system. In the other system I have an user group diferent.
    How I could change this user group or how I could solved this?
    Thanks for your time

    Hi,
    What is your B1 version and PL? Do you mean categories under User Query or the Authorization Group under category management?
    Thanks,
    Gordon

  • How do you change the a report datasource using B.O. XI release 2??

    Post Author: odgsmit
    CA Forum: Data Connectivity and SQL
    Is it possible to change the datasource associated with a report via web services consumer api's?  I have a report that has a default database(a), however, we would like to, at runtime, have the report to query a different database(b).  At the present time, trying to access the report while supplying it the new datasource information does not work with either the java nor the .net consumer api's.
    Does anyone know if this can be done?   If so, please provide the details of your success, so that I can try replicate the same procedure.
    I am using B.O. XI release 2.
    Thanks.

    I've got a similar problem:
    I'm attempting to follow the directions in the Upgrading and Migrating Guide for Leopard. The Mac has two hard drives in it. Batman contains the active server running 10.4.11. Magic is the hard drive that will run 10.5.2.
    Since I'm moving from one hard disk to another (as opposed to an entirely different Mac), things ought to be fairly easy. But not for me. ;(
    What I'm trying to do: Migrate the mail database. (I have managed to import users and groups; only the mail service will run on this machine.)
    Problem: I can't change the owner and group settings on the various files in the var/imap and var/spool/imap folders (for example, so that they are owned by system or _cyrus, with group wheel or mail and everyone set to read only).
    The owner and/or group often shows up as unknown (which is to be expected with the migration to a different hard drive). But how can I change these permissions?
    Or is there a way to use a command to copy them from one disk to another? I tried ditto, but didn't get the syntax right (the files were copied to the same level as the imap folder rather than within it) and now I have a bunch of files owned by nobody that I can't delete because I can't change the owner.
    TIA,
    mm

  • BAPI to update/change the accounting document

    Hi all,
    Is there any BAPI to update or change the accounting document.
    I am aware of the BAPI_ACC_DOCUMENT_POST which is used to post the document.
    Please reply soon.
    Thanks and regards,
    Anishur

    Hi Anishur,
    Try this.,,,
    BAPI_CTRAC_DOCUMENT_CHANGE
    Regards,
    Sai

  • Change the status of a Support Desk Message in Sol. Man.

    Hello,
    On the Solution manager system I have configured the service desk functionality. So end users are able to create support messages from the satellite systems as well on the solution manager system. For the confirmation of a proposed solution I want to use a workflow which asks the creator if the proposed solution is correct yes or no.
    Is there a BAPI or function which change the status of the support desk message? If so how does this BAPI or function work. An example would be great.
    Kind regards,
    Richard Meijn

    decveloped the custom rfc

Maybe you are looking for