Need to trigger Save in ME22N - ME_PROCESS_PO_CUST

Hello fellow gurus,
     Riddle me this:  How can I trigger a SAVE in ME22N in the context of BAdI ME_PROCESS_PO_CUST? 
I have created a custom tab at the Header level so that our users can put data in the fields and populate the fields in the Purchase Order with that data.  The data saves correctly if a field in the PO is changed, but it does not work if only the fields in the tab are populated.
I am calling the set_changed method and I've tried doing a set_data in the POST method. 
Thanks for any suggestions,
Chris Mowl

Hi Raja,
     Yes, they are saved when we run ME21N and when we use ME22N to add a line to an existing PO.  It is only when we use only the values in the tab that it doesn't work.  I think that since we're not actually touching a field on the screen, it's not triggering the Save functionality.
Thanks for your response,
Chris

Similar Messages

  • Need to trigger "SAVE" Button in IK12 T-code?

    Hi,
    Scenario: There is custom screen, which branches out from IK11/IK12.
    Here, there is single LUW or "SAVE" Button, which updates IMRG and Z-Custom Table.
    Problem: Whenever the client changes the data in IK12, and doesn't change in Standard SAP Screen IK12, The Exit, EXIT_SAPLIMR0_001 is "NOT" Triggered, since there is NO DATA CHANGE.
    But We need to explicitly call the "SAVE" Button, to make the changes.
    Regards,
    Vijayanand.

    Hi Chandrasekhar,
    Can you explain, in detail.
    Inside the EXIT, EXIT_SAPLIMR0_001, I am writing logic to insert or modify the Z-Table for custom screen.
    Here, I need to make that SAP Updates ie Triggers the "SAVE" Button, so that the logic gets executed for updating the Z-Table.
    Motto: is to have single LUW or SAVE Button.
    Thanks.
    Vijayanand.
    Message was edited by:
            Vijayanand Annamalai

  • Added custom date fields at contract;need to trigger mail using those dates

    Hi,
    II have added 14 custom fields in the service order quotation for handling waranty start date and end dates capturing for the maximum of 7 years contract.
    Then its usual yearly action of the waranty team to put the dates in those fields.
    The first set of 2 input fields will be filled at the quotation creation itself; rest the set of 12 fields will be updated in this 7 years time.
    My requirement is such that to the capture all the waranty end dates filled in the input fields and trigger a mail 30 days prior to that days.
    Example : I have contract from 01/08/2004 to 31/07/2010.
    Then my waranty startdate / end date can be filled by waranty team as 01/08/2004 to 31/07/2005 in the waranty first year.the i need to trigger a mail to waranty team on 01/07/2005.
    For the second year if we have dates filled as 01/08/2005 to 31/07/2006; then to trigger mail on 01/07/2006.
    I have tried using ACTIONS but couldn't get much help.
    As a work around thinking for a report to fetch the contract for that Trans.type and check the dates with the present date + 30 and collect those to perfrom the respective actions.This is workaround.
    Tried using the DATE TYPES creating 7 different DATE TYPES and assigning the ( end dates - 30 ) to that manually upon save.
    and using this DATE TYPE along with the action definition can we acheive ?  but it too will be work around.
    How to acheive this one. It became critical now in the project. 
    Thanks and Regards,
    Satish Akkina

    Hi,
    In your scenario, you don't need synchronous email facility.
    Probably you can create a z table and maintain all required dates in this table (before saving your transaction somewhere you would have to read your custom fields and save them in this table along with object ID/GUID). Then create a report that would read dates from z table and then send emails to your warranty team. Schedule this report in background with frequency of once day.
    Hope that helps.
    Regards,
    BJ

  • Need to trigger change pointers for a change in std text

    I need to trigger an idoc via change pointers when any change in a std text occurs. I am doing this for changes in Customer Master. For example, if the std text obtained via tcode XD02 is changed, then I need to trigger an idoc. Is this possible? What is the object class used?
    Thanks,
    Keerthi

    Hi,
    All Standard text views are stored in V_E071.
    Use the View for V_E071 for checking standard text transport
    Give Object Filed Name = TEXT and check
    And search the standard object
    Go to se09 create workbench request and
    Double Click the request and go to program give R3TR and Object: TEXT and object Name: TEXT, Nike_FT_AB_4700, ZEPC, D
    Object: TEXT
    Where   Nike_FT_AB_4700 is Customized Name of Standard Text
    Text Id: ZEPC (Default: ST)
    Language: D (DE)
    Go to SE03  double click the Search for Objects in Requests/Tasks in the
    R3TR Object ; TEXT and do search.. with respective to that you will get change request.
    Do rewards points.

  • Need to Trigger a Program in ECC after the DSO load has completed

    HI Experts,
    I have scenario where i need to trigger a Program in ECC after the load to DSO has been completed successfully. Basically opposite of the everyday scenario.
    Can i still use the  the RSSM_EVENT_RAISE FM in the program to call the event in ECC.
    If the above is true.Do i need to have code in the program to confirm the DSO has been loaded or can i just have the program (which basically calls the FM RSSM_EVENT_RAISE) appended to the process chain after the DSO Activation?
    Appreciate your advice

    Hi,
    To help future proof your solution, lean towards using the process chain as much as possible.
    A "Green/Success" only link from the DataStore Activation process variant to an ABAP Program process variant will work nicely. It will also still allow your program to be executed by other scenarios (like manually because you want the event raised now without any dependency on the DataStore status).
    SAP now recommends you use the CL_BATCH_EVENT class and it's methods to interact with the system events. Use transaction SE24 to review the methods and parameters available and then use the sample code below to test your solution.
    Here is a starting point for coding that is used within an ABAP Program process variant in a process chain.
    Use transaction SE38 to store this code to be called by the ABAP Program process variant.
    constants:
      c_interrupt_eventid   type btceventid  value '[Event]',
      c_interrupt_eventparm type btcevtparm  value '[Parameter]'.
    data:
      l_interrupt_eventid   type btceventid value c_interrupt_eventid,
      l_interrupt_eventparm type btcevtparm value c_interrupt_eventparm.
    call method cl_batch_event=>raise
      EXPORTING
        i_eventid                      = l_interrupt_eventid
        i_eventparm                    = l_interrupt_eventparm
      EXCEPTIONS
        excpt_raise_failed             = 2
        excpt_server_accepts_no_events = 3
        excpt_raise_forbidden          = 4
        excpt_unknown_event            = 5
        excpt_no_authority             = 6
        others                         = 1.
    if sy-subrc <> 0.
      message e051(rsar) with 'Failed to raise background event.' c_interrupt_eventid c_interrupt_eventparm.
    endif.
    Note: The error message is process chain friendly and will appear in the RSPC transaction GUI and system logs.
    Hope this helps,
    John.

  • Need to trigger an idoc from transfer order on confirmation

    Hi,
    I need to trigger an outbound idoc on the confirmation of a Transfer Order, but I don't know how to do.
    The IDoc type i'll use WMTOID02.
    Any Help would be greatly appreciated.
    Regards,
    Supaporn R.

    Hi
    I think you need to do some configuration using OMKY transaction, pls take help from functional consultant
    Regards
    MD

  • I need to print save the date magnets that are 8.5x5.5 but I can't seem to align the printer / paper

    I need to print save the date magnets that are 8.5x5.5 but I can’t seem to align the printer / paper to print correctly!! HELP!

    Please read this post then provide some details.  What printer model? What operating system? What program are you using to print?
    How thick are the magnet sheets?  I would expect most printers would have trouble feeding this material.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Need to Trigger an outbound Idoc when shipment manually deleted thru VT02N

    Hello All,
    Can anyone help me on this issue. I need to Trigger an outbound Idoc when shipment is manually deleted thru VT02N transaction.
    Please help me, how to do the output detemination or if is there any event trigger mechanism for this.
    Waiting for your response.
    Thank you.
    Sridhar Kanchibotla

    Hi,
    We need to display all the IDOC data on a Smartform layout. But we dont need the IDOC to be used for our requirement. So we want to make sure that IDOC is triggered but will not stay in 02 or other status.
    We have a process to monitor the failed idocs (02 status) and we do not want our idoc to have failed status. So we need the idocs to be tirggered directly with status 31 (thanks for letting me know that i cant use status 68 for outbound idocs).
    Thanks!

  • Do I need Safari Power Saver ?

    Hi.
    Do I need Safari Power Saver on an iMac ?
    As it doesn't operate on batteries ...
    Thanks .

    Thank you very much.
    All the best !!!!

  • Need to trigger output type when BAPI is run

    I need to trigger an output type which generates an idoc when material group is updated using a BAPI.....Can anyone tell me is there a bapi which does this ?

    I just want to know whether there is any BAPI which triggers the output also when we make an update ?

  • Need to trigger mail to requestor along with creator in SRM 7.0

    Hi Experts,
    We are using SRM 7.0 Extended classic scenario with process controlled Workflow in our system.
    As I am very much new to the workflow concept need your help in this regard.
    We have a requirement where we need to trigger a rejection email when Shooping cart got rejected by the approver to the requestor along with creator.
    As per our current design rejection mail is going only to creator but not requestor.
    Can somebody help me in this regard how to get this functionality.
    Thanks.
    Regards,
    Kalyani

    Hi Konstantin,
    We tried with suggested badi BBP_ALERTING BADI. But when I set the break-point in the enhancement of this badi and tried to trigger by rejecting the Shopping cart, i dont see any entries in the structure CT_RECEPIENTS[].
    Some entries should be there in CT_RECEPIENTS[] by the time this badi triggers or how to figure this out?
    Small change in my requirement is rejection mail is going successfully to requestor and we are expecting same mail to creator.
    Thanks in advance.
    Regards,
    Kalyani

  • Need an USEREXIT before ME21N / ME22N Save happens 46C

    I am on version 46c, and the BADI ME_PROCESS_PO_CUST is not there. Tried enhancement MM06E005 and MM06E004 , but not helpful. If there are some other Userexits which can be used, please let me know.
    Req: need to modify some data on the line items as per a flag on the header level customer field.
    Thanks
    Kris

    Hi Kris,
    Please take a look at this available user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving                          
    EXIT_SAPMM06E_013 - Update Customer's Own Data in Purchasing Document                   
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 are the best place to change line item. I used in both places again it depends on your requirement for PBO or PAI.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Need to Trigger a Idoc when save IE01 T-Code

    Hi all,
    I need to generate a Idoc when i saved IE01 transaction code.
    Pls let me know the procedure.
    And also relevent IDOC .
    Regards,
    Ramesh.

    Hi,
    - You need to use basic Idoc type EQUIPMENT_CREATE01 for creating Idoc at equipment creation.
    - Use change document concept for extraction based on Change docs created..For this you need to activate change doc creation for equipment category in questions. Use of JCDS and like tables to be used for picking up change docs during extraction.A logic to be build to pick up change docs since last interface run,this will ensure only new equipments via change docs will be included in new idocs.
    - A batch job to be scheduled whic will run at desired frequency to push newly created equipments to external system. You can make use of immediate data transfer or collecting Idocs and then sending at required time.Take help of technical person on this
    regards,
    atul

  • New Tab Data need to be Saved in Me22n

    Hi All,
    I ading a new Tab in Me22n T-code in the Item level and the tab name is Date.
    The scenario is like that in the date I created 4 fields there are 1) Expected Production Date
    2)Expected Shipping Date Remaning 3)Actual Production Date  and 4)Actual Shiped Date
    Now when ever the date chosen from the above 4 fields and click on save then date must me saved.
    I have used 2 badi's for this functionality, but i'm not able to get the exact code to save the date.
    Below is my Code:
    Code1:
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    if sy-uname eq 'ZDEVELOP'.
      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    To add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen.  added one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = SUBSCREEN1.
    the dynpro number to use
      ls_subscriber-dynpro = '9000'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLZMMPR_CUSTFIELD'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'ZMMPR_DATES'.
    a label can be defined
      ls_subscriber-label = 'DATES'. "text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 13.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    endif.
    endmethod.
    code2:
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
    if sy-uname eq 'ZDEVELOP'.
      TYPE-POOLS: mmmfd.
    DATA: l_persistent TYPE mmpur_bool.
      FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
      READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_02.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_03.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_04.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
    endif.
    endmethod.
    Kindly, provide some code to save the date.

    Hi Venky,
    i was worked with this requirement. try this:
    take a enhancement:MM06E005, here u have screen exits, function exits and include tables.
    1. add your customized fields to : CI_EKKODB  and CI_EKPODB Structurs
    2. add ur new tab in screen numb: 111, keep all fileds in under on group.
    3. write code at PBO and PAI for 111 screen
    4. implemente the code at this function exists: exit_sapmm06e_006, exit_sapmm06e_008, exit_sapmm06e_012.
    exit_sapmm06e_016
    5.pass your screeen fileds data to DB in exit_sapmm06e_018
    thanks
    kallam

  • VL01N - needs to trigger outbound idoc

    Hi all,
    As per requirement please tell me information of how to trigger the outbound idoc on save that consist of delivery data with ref to sales order data.
    I am not able to create the Output type please tell me steps if possible of provide me some link that helps me.
    Regards,

    Hello,
    You have to create an OUTPUT in the configuration and maintain the condition records in VV21 for the Partner LS which means an output for IDOC
    For this configration, Goto the spro
    SPRO->LOGISTIC-EXECTION>SHIPPING->OUTPUT DETERMINATION->MAINTAIN OUTPUT DETERMINATION FOR OUTBOUND DELIVERIES---.DEFINE OUTPUT TYPES.
    Try to create the output type and maintain the condition records .
    Revert back if you need any clarifications
    regards,
    santosh

Maybe you are looking for

  • How to compare the variances of production order type and get report

    Hello All, I want to compare the variances of production order type wise. for ex. i want variances of order type PP 01 and PP 02 in a single report.

  • Closed Lid Airport Performance

    My Sept 2011 MBA with lid closed sees 50% drop in Internet speed & performance. I don't this was the case a month ago but its easy to see now. Other computers on the home network (Airport) see 20 Mbps download speed. So does MBA with lid open. When c

  • BPM - Message Interface

    Hello all, I have some doubts about Messages Interface used in BPM. BPM just used Abstract Message Interfaces, but to expose the Interface to sender aplication, XI need the same Message Interfaces that is declared abstract but no abstract. My questio

  • To fetch process instance key for Modify Provisioned Resource while request

    Hi, I am trying "Self Modify Provisioned Resource" through Request and multiple resource object is assigned to the user.I have a requirement to a develop validator code to compare old data and request data and take action accordingly.How to get the P

  • ABAP Query using AFRU , COBRA , AUFK

    Dear All I have created an ABAP query using the join table AFRU, COBRA and AUFK. The query is generated. But there is a problem , the cancelled time confirmations are stored in AFRU as positive values. But the report IW47 gived the cancelled time con