Enhancement to Trigger the PO Release

Dear ABAPers,
       I would like to trigger the PO release Function Module Whenever the Changes in PO.
Could you Please tell me which Enhancement Can be Used for this requirement.
Thanks & Regards,
Ashok.

Use this exit.
MM06E005

Similar Messages

  • ML81N Enhancement to trigger the 'Release Strategy'..very urgent !!

    Hi Guys,
    ML81N work in a manner such that if the net amount for any PO/Service entry is less than $2500 then its 'Release Strategy' tab is not active, because the minimum value should be 5000$ to trigger the 'Release  Strategy'.
    I have a requirement where i have to make that tab active and select the Lowest Release Strategy (the one for 5000$) even when the amount is less than $2500.
    I have already tried with the ser exit EXIT_SAPLEBND_003, its a blank user exit and the structure available is CESSR.
    Can any one tell me how to activate the 'Release Strategy' tab and the lowest Release stratedy should be selected ????
    What i have investigated is that once i will set the Release Strategy to the lowest Release stratedy then that tab will automatically become active.
    Please tell me how to select the lowest Release strategy using the CESSR structure ?
    Points will be awarded...
    Thanks
    Rahul

    Use this exit.
    MM06E005

  • 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.

  • At the time of cheque release, trigger the email to vendor,

    Dear Expert
    At the time of cheque release, trigger the email to vendor, informing him that his cheque is ready.  In case, this is not available in SAP then we will have to write Z_program.  Please let us know the possibility,
    Thankx in Advance
       Ajeesh

    Check section "messages" under this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee120555c811d189900000e8322d00/frameset.htm

  • How to trigger the workflow from the excel sheet

    hello friends,
    my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone  help on this.
    thanks.

    Hi Murthy,
    If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
    Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
    Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
    Cheers,
    Ramki.

  • User exit or other enhancements to change the status of the kanban.

    The requested to trigger the movement when the kanban status changed from empty to full.
    if itu2019s possible to use user exit or other enhancements to change the status of the kanban.
    can you please guide me iam new for enhancements.

    I think you're seeing standard SAP behavior.  However, a discussion with your SD/LE functional team member might be beneficial. Personally, I don't think SAP supplies a way to "add back" to that quote.  However, you might develop something that changes the quantity on the quote (essentially adds to the original quantity), based on the fact that a SO line got rejected.

  • Event trigger for PO release and cancel

    Dear Experts,
    In tcode ME29N i have created a PO and i have defined 3 approver levels for it. I have turned event trace on and checked what events are triggered when i click release button. In SWEL i can see 4 entries - 1) RELEASE STEP CREATED 2) RELEASED
    3) CHANGED EVENTS (first  three events from BUS2012 ) and 4) CHANGED EVENT from FREBUS2012. Now i tried with cancelling PO release at a level. Now in case of cancelling release which i do by clicking the same release button i see 4 entries in SWEL
    1) RELEASE STEP CREATED 2) SIGNIFICANTLY CHANGED 3) CHANGED (first three events from BUS2012) 4) CHANGED EVENT from FREBUS2012.
    I want to trigger my workflow in case of PO release as well as PO cancellation. What should be my workflow's start event. Please help me in this regard.
    Kind Regards,
    S Bharath

    hi
    Are u using std WS20000075? you can refer that .
    there in TS20000166 : terminating event
    you can see  event RELEASED : Purchase Order Release
    SIGNIFICANTLYCHANGED :  when cancled.
    if you want to do seperate steps , in some zWF ,then I think you may create 2 diff wf , with the diff start event .
    let me know if it is helpfuly or any query
    thanks
    kakoli

  • Problem in cancel the PO release

    Hi,
    I changed the PO release level after that I am not able to cancel the already released POu2019s. How I solve this problem.
    Karthick.

    Hello,
    You can send purchase order via e-mail in SAP system, there are some configurations and pre-requisites to do as follow:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    For more details, check out the OSS note :191470
    Hope this will help.
    Regards,
    Abdul

  • Trigger the workflow for a minimum amount.

    Hi all,
    I would like to trigger the workflow if only the PO amount meet the minimum of 50 euros or more.  Is there any config settings for these. i have checked the release strategies in SPRO..but cant find the amount field..
    Thanks,
    Neslin.

    Hi Neslin,
    Please refer this [link|https://wiki.sdn.sap.com/wiki/display/CRM/Actionprofilesin+SAP-CRM] for help on Action profiles.
    Please note that in case of action profiles also you would have to maintain start condition for the workflow.
    Regards,
    Saumya

  • How to externally trigger the execution of TestStand with a start and abort button through a digital interface?

    Hello,
    I'm Currently evaluating TestStand as an alternative for an in-house developed Test Sequencer.
    To start our own Test Sequencer we use a small box, connected to a DIO board. The box has a start button and an abort button. The box also has a pass, a fail and a running led.
    The interface with this box is made via some digital lines of a PCI-DIO-96.
    In our own Test Sequencer we have groups named Init, Run, Abort, Exit.
    The Init group is executed at startup (only once). It is used to initialize all the HW and SW. -> I guess this is the Pre UUT Loop callback in TestStand.
    The Exit group is only executed once at the end of the day when the application is terminated. It is used to free all the used hardware and cleanup all the resources. This probably is the Post UUT Loop Callback in TS.
    When a product needs to be tested, the operator presses the "start" button which triggers our own Test Sequencer and the run and abort group are being executed (first the run group, afterwards the abort group).
    When the product is being tested the "running led" of the little box lights up to indicate to the operator that the application is running. (only when the run and abort group are running)
    The Run group has all the functional tests in it. (MainSequence)
    The abort group is used to put everything back in it's original state after the test on this single product is done. (Post UUT)
    When executing the tests and something goes wrong (operator gets stuck in a clamper, ...) the operator can still press the abort button and then the execution immediately jumps from the currently executing step in the run group to the first step of the abort group. So, when something goes wrong, immediately the abort group is called.
    At the end of the run and abort group, if no errors occured, the "pass led" lights up. If one or more steps went wrong the "fail" led lights up.
    This setup can also be used to test multiple product in parallel. At that time all the different parallel testers have such a small box which contains a "start" and "abort" button and a pass, fail and running led. (it is possible that they are all connected to the same PCI-DIO-96 board. )
    My question:
    Is it possible to do something similar like this in Teststand? If yes, is there an example available that shows me how to do this in TestStand? (externally trigger the execution of TestStand)
    Typically, in the Init group (Pre UUT Loop) the digital interface box gets initialised.
    In the Close group (Post UUT Loop) the digital interface box is taken out of scope.
    Note: The PCI-DIO-96 board to which the digital interface box is connected will also be used in the rest of the developed application (MainSequence, ...)
    What's really important for me is that I can create a process model that all the application developers in our organisation can use. I really don't want any of the application developers (limited software experience) to mess around in all the features of TestStand.
    For them it's important that they just add the function DigitalInterfaceBoxInit () in the Pre UUT Loop Callback and the DigitalInterfaceBoxClose () in the Post UUT Loop Callback, and then everything works!
    It is important that the appliation developers do not have to create any global variables, other functions, synchronisations, parallel sequences, ... in TestStand. All this needs to be done with a simple call to the DigitalInterfaceBoxInit function.
    Thanks in advance for all the help!
    Best Regards,
    Dennis Vanotterdijk
    [email protected]

    Dennis-
    Your application sounds very well suited to TestStand's abilities. I am also quite impressed with your knowledge of how TestStand's architecture is arranged when you are still just considering whether or not to use it.
    I think that TestStand would work really well for you in this application. Like you mentioned it will provide you with a form of standardization for your application developers to work from. It also provides the flexibility for you to add your custom routines in many different places. TestStand also makes parallel and batch testing much easier in TS 2.0 so that you could develop one test for your product and execute different instances of it in parallel to test multiple products at once.
    As for your specific question about how to c
    ontrol TestStand using a DIO board. I think this is very feasible and should not be too difficult. Since TestStand provides you the ability to create a custom operator interface your operator interface could monitor the status of your DIO board and launch/abort executions based on the read values. Usually the executions are launched/aborted when a button on the GUI is pressed however, I do not see any thing different about basing the action on a DI signal vs a mouse click. I am sure your application is more involved than this high level description but from the sounds of it I think it is very possible to do with TestStand.
    Based on my experience of building test systems with TestStand and your description of the application, I would feel very confident in using TestStand to achieve all the goals you mentioned. If you have further detailed questions on how one of your features might be implemented, feel free to contact one of our Application Engineers or email us at www.ni.com/ask
    and we would be glad to help you.
    Best regards,
    Richard McDonell
    National Instruments

  • Automatically trigger the event to load data from Planning cube to Standard Cube

    Hello,
    We have a below set up in our system..
    1. A Planning BEx query using which user makes certain entries and writes back data to the planning cube.
    2. An actual reporting cube which gets data from the planning cube above.
    Now, what we want to do is to automate the data load from Planning cube to Reporting cube.
    This involves 2 things..
    1. Change the setting " Change real time load behaviour " of the planing cube to Planning.
    2. Trigger the DTP which loads data from Planning cube to reporting cube.
    We want to automate the above two steps...
    I have tried few things to achieve the same..
    1. Created an event in SM64,
    2. In the Planning cube "Manage" Screen,  clicked on "Subsequent Processing" and provided the event details. ( Not sure if its the correct place to provide the event detail ).
    3. Wrote a ABAP program which changes the setting of the planning cube (  " Change real time load behaviour " to Loading )
    4. Created a process chain, where we have used the event as a start variant, used the ABAP program as a next step, DTP run as the last step..
    This i hoped, would trigger the event as soon as a new request comes and sits in planning cube, which in turn would trigger the process chain which would load the data from Planning cube to reporting cube..
    This is not working. I dont think the event is triggering, and even if does i am not sure whether it will start the process chain automatically. Any ideas please ?

    hi,
    try to do the transformation directly in the input cube by using CR of type exit, more details :
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/1c3d0f31b70701e10000000a422035/content.htm
    hope it helps.

  • How to write the custom Function Module to trigger the Alert.

    Hi all,
    I have developed a custom alert category in Tx - alrtcatdef. Now i want to trigger it from my custom function module. what should i do or what is the procedure to trigger the alert from my custom function module.
    Arul Jothi

    hi arul,
    try this program.
    RSALERTTEST.
    check out this link...
    <a href="/people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts:///people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
    regs,
    jaga

  • How to get the Last releaser of PR ?

    Dear Expert,
    I am working on PR release Workflow.As it is Overall relase so I am using BUS2105. Depending different value and document type differen person is responsible for relasing the PR.I got the requirement that when  the last releasing authority will release the PR only then the Procurement manger should get the information to raise PO.
    I can send the information after any release but I am not able to find any way to send him after the final release.
    I found the the Field FRGKZ the release indicator of Table EBAN is gettin the Value 02, Blocked for PO.
    I tried to use this one in WF container but it is not getting the Value.
    Can Anyone help me , How I can achieve the Requirement.
    Regards
    Sony

    Hope you are using the Standard workfow WS20000077 for PR. As per the design, notification is sent to the WF Initiator after each and every release.
    Inorder to avoid this and to send notification only one time, copy the standard workflow and customize it as follows:
    1) Customize the Buiness Object BUS2105 and add a new method. use the sample code for reference.
    DATA: z_ind_task type FRGKZ.
    DATA: z_rel type FRGKZ.
    DATA: zpr like eban-banfn.
    swc_get_element container 'z_prnum' zpr.
    if sy-subrc EQ 0.
    endif.
    select FRGKZ from eban into z_ind_task where banfn = zpr.
    endselect.
    swc_set_element container 'z_ind_task' z_ind_task.
    2)  Create a background task and use the above method in the task. (to find release indicator).
    3)  Insert the task created in step 2 above the "Requisition Released" step in workflow template.
    4) put a condition step which says if the release indicator is 2 only then the "Requisiton Released" Step will be processed otherwise it wont be processed before final release and hence you can avoid multiple notifications after each release.
    Hope it gives you some idea....
    Regards,
    PR.

  • How to capture the status of a transaction to trigger the workflow

    Hi,
    I want to trigger the workflow whenever the user changes the status.How can i capture the status.I gone through some forms,there it has mentioned that with the help of SWEL transaction we can find the status,but we can trace the events with that,I want to trace the status.How can i acheive that.
    Thanks & Regards,
    Asmitha.

    Hi,
    im using the SAP R/3 4.6C and trying to launch automatic trigger upon BO FIPP post method. I have configured Instance and Type Linkages but nothing ever happens. Whereas i tried this in SAP IDES and it was working fine.
    What is or could be the problem?
    Best regards
    Laurynas

  • My iPod touch 5th Gen iOS 8.1 won't turn on, charge and CONNECT TO iTUNES. Maybe this is because of the new release ios 8.1 where after the update it went recovery mode then i didn't restore, i set up a new ipod. What's wrong? Is ths bcoz of ios 8.1?

    My iPod touch 5th Gen iOS 8.1 won't turn on, charge and CONNECT TO iTUNES.
    Maybe this is because of the new release ios 8.1 where after the update it went
    recovery mode then i didn't restore, i set up a new ipod.
    What's wrong? Is ths bcoz of ios 8.1?

    How do you do that
    lllaass wrote:
    Try:                                               
    - iOS: Not responding or does not turn on          
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable              
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

Maybe you are looking for