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

Similar Messages

  • Sending New Requirement date to APO before saving the sales order in ECC

    Hi Experts,
    i have a requirement where while creation of sales order, when user enters the requirement date,i have to calculate the new requirement date ( adding transit time and other time ) and send it to APO , to bring the ATP result based on this new calculated date.
    This new calculated date is getting saved in Z field in VBAP table and also this new requirement date which has to be pass to APO is getting calculated while saving the doucment i.e. at user exit - USEREXIT_SAVE_DOCUMENT_PREPARE.
    Now, i am not sure, how i should pass this new date to APO , which FM , Badi or BAPI would be used ?
    Please help and let me know if i am supposed to detailed it a little more.
    Thanks.

    Hi Bharat,
    Normally the new calculated requirement/delivery date will be updated in APO through the CIF.
    However you can influence the transfer with enhancement CIFSLS03 (influence sales-order-specific data directly before it is sent to SAP APO available on ECC side).
    Please see the below description.
    Thanks.
    Regards, Marius
    In this enhancement, you can transfer customer-order-specific data to SAP
    APO.
    The associated component EXIT_SAPLCSLS_002 provides you with tables that are
    required for the transfer. In particular, these are:
    Requirements table ET_SL_REQ
    Item table ET_SL_DOC
    Field catalog ET_ATPFIELD
    You can use this exit to create or change documents in the ERP system as well
    as for the initial data transfer.
    The data is transferred to SAP APO after this exit is called.
    Notes
    If you use program /SAPAPO/CIF_DELTAREPORT3, you have to add the
    corresponding logic to function module EXIT_SAPLCID3_001. For more information,
    see the documentation for
    enhancement CIFCID3.
    Programs /SAPAPO/CIF_DELTAREPORT and /SAPAPO/CIF_DELTAREPORT2 also run this
    exit.

  • New tab implementation at item level in ME21N/ME22N/ME23N.

    Hi Friends,
    I have implemented two badis 1. ME_GUI_PO_CUST and 2. ME_PROCESS_PO_CUST to get a new tab at item level in ME21N/ME22N/ME23N, I could see this new tab only in ME23N but not in ME21N/ME22N, and I found that Badi ME_PROCESS_PO_CUST is not getting triggered for any of these tcodes : ME21N/ME22N/ME23N. Can anybody help me getting this issue resolved with coding example as well.
    Thanks in Advance.

    Hi Know ,
    I know that we have to use the following BADIs
    ME_PROCESS_PO_CUST
    ME_GUI_PO_CUST
    But I does not know what are the methods to be implemented
    and what is the code we have to write in that methods .
    Thanks in advance ,
    Siva.

  • Adding new tab in MIGO Tcode at item leveli

    HI all,
    My requirement is to create a new tab at item level in MIGO Tcode. In that tab I have to add some z-fields, here the point to be noted is these custom fields data needs to be saved into a Z-table along with the goods receipt number which is generated whenever we post the GR. So I searched for screen exits for this. I was not able to found this.
    But I was able to find out a BADI "MB_MIGO_BADI". Is this the right BADI, if so could you let me know in which method I could be able to get the saved GRN number for that posted document. How could I call my custom tab in this BADI.
    If there is any alternate method also, could you please let me know.
    Thanks and regards,
    Srinivas.
    Edited by: Vinod Kumar on Jul 7, 2011 10:30 PM

    Hi gvsastry,
    Thanks for your prompt response, I should save ztable data along with the GRN number which is generated when we post data.
    means if the GR posting fails the Z-table data should not be saved. So is that method which you said, will be triggred after the GR posting itself.
    Regards,
    Srinivas.

  • Addition of new tabs under contract item screen in SRM 7.0

    Hello Experts,
    My requirement is to add the three new tabs with custom fields under the contract item screen.
    I thin i have to user web-dynpro ABAP for this requirement since it is SRM 7.0. Once i developm the web dynpro applications separately for each tab, how do i integrate those web dynpro with the contract item dynpro and how to populate the values for the new fields added in the tabs. if i want to fetch the data from the custom tables into the tabs, i need to create a new web dynpro where i will write the logic to fetch the values, but to fetch the values i should first get the input data from the contract scrren which is a standard application. In the new tabs, i need to display and edit values for demands ( purchase requisitions ) for that contract line items, so i sould get the material number, year of demand, purchasing organisation etc from the contract screen. So it means i have to enahnce the main screen for contract item.
    Please advise how to achieve this.
    I have seen the details for adding a new fields to the the contract item scrren and some oss notes  , but here i need to add the new tabs and custom fields into that and i need to integrate these data with the contract line item.
    Your help is very much appreciated
    Regards,
    Srinath

    Hi,
    I think you need to enhance the existing WebDynpro.
    Just FYI.  Good to know WebDynpro side enhancement techniques.
    6 series on User Interface flexibility in WebDynpro ABAP.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    ABAP UI Flexibility Part 1: Demo Overview
    ABAP UI Flexibility Part 2: Floorplan Manager
    ABAP UI Flexibility Part 3: Feeder Classes
    ABAP UI Flexibility Part 4: BADIs
    ABAP UI Flexibility Part 5: BRF+
    ABAP UI Flexibility Part 6: Looking Ahead to 7.02
    Regards,
    Masa

  • Addition of new Tab in MM01

    Hi
    I have to add a new tab & a field in the MM01,through the BADI or User exit,but I don;t have any idea abt these.So please give me the solution or the doc so that i can have the idea of making a new tab in MM01 also if anyone can provide me the doc for BADI or User exit so that I can also get an understanding abt them.It will be a great help.
    Thanks & Regards
    Vipin Sharma

    There is no user exit or BADI to get new tab,you need to configure as below
    How To Create a Customized Tab View for Material Master Creation?
    Requirement 1:
    Suppose if you want to add your own view with your own ‘Z’ Fields or the Standard Fields from different tables.
    Get the ‘Z’ Fields created in the Respective Table.
    Then execute SPRO.
    Select the following path.
    In SPRO -> IMG Activity -> Logistics General -> Material Master -> Configuring Material Master -> Create a program for sub screen.
    Then Enter the Function Group name and save in to a development class say Z_TEST.
    Then execute SE80 transaction.
    Select Function Group MGD1.
    If you are adding Fields in MARC then search for suitable screen, which contains MARC Fields. Like That Based on the table fields you are using select the sub screens numbers.
    Then Copy each selected subscreens in to the above created function group Z_TEST.
    Then Enter the Z_TEST in the function group and enter.
    Then click on refresh button.
    Now add your own fields in the copied screens.
    Don’t remove the PBO and PAI Modules Existing in the sub screens.
    In PAI Logic remove the existing fields and put the FIELD Statement for each field added to that sub screen. The field statements are needs to be placed between GET_DATEN_SUB and SET_DATEN_SUB.
    If any validations have to be made for the data entered in the fields write those modules in between above modules.
    In the same way if you want to make any validations in the PBO logic then write your own modules in between the GET_DATEN_SUB and SET_DATEN_SUB of PBO Logic.
    Then create all the screens required and activate it.
    Now under this point all are required to be done very carefully. All are IMG Settings.
    1.     SPRO
    2.     In SPRO -> IMG-> Logistics General -> Material Master -> Configuring Material Master -> Define Structure of Data Screens for Each Screen Sequence
    3.     Select the Industry Sector Used by the client.
    4.     Then Double Click on the Data Screens.
    5.     Then Select the Screen sequence such a way that what ever the sub screen you copied from MGD1 to your view from the standard view and make a copy of it and change the names and screen sequence and names in it. Don’t change the Maintenance Status, which is very important
    6.     For Example
    If you copy the sub screen from the Plant/Storage View then Select that view and make a copy of it and do necessary changes.
    7.     Then Select the above-created Data Screen and double click on Subscreens.
    8.     Then enter the screen sequence number, your function group name (Z_TEST) and the screen numbers as per your requirement.
    9.     Then Save it and come back.
    10.     Then select IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Configuring the Material Master -> Assign Screen Sequences to User/Material Type/Transaction/Industry Sector
    11.     Then check that the industry sector assigned there is that of you added the data screens.
    Then Check by executing MM01, MM02, MM03 Transactions.
    Requirement 2:
    Some Times the Display of the fields created in your customized screens is to be based on the material type entered while creating the material. Then you have to do the following steps after finishing the first requirement steps.
    1.     IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Field Selection -> Assign Fields to Field Selection Groups.
    2.     Then click on New Entries.
    3.     Here you group your customized screen fields accordingly as per the material type. And assign them the same selection group. For selection group number you can use (200 to 299).
    4.     Then for each field give the Maintenance status as you given for that Data Screen in the First Requirement.
    5.     Then save it and come back.
    6.     Then go to this step. IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Field Selection -> Maintain Field Selection for Data Screens
    7.     Check for the corresponding material type and then give the above selection group and in that select the different options as Hide, Optional, and Display according your requirement.
    8.     Then Check by executing the transactions MM01, MM02, MM03.
    Thanks
    Seshu

  • Firefox 4.0 inconsistantley opens new tabs, options are set to always open in a new tab.

    Hi, I am new to firefox. I have it set up in a way I like I just have one issue. In the options I have Firefox set to open in a new tab, but most of the time I have to press the crtl key then click a link and it will open in a new tab. Most of the time if I do not press the crtl key the link launches from the same window. Is this just a Firefox bug?

    I assume you are talking about the preference - '''Open new windows in a tab instead'''.
    When a webpage is programmed to open a hyperlink in a new window that pref will divert it to a new tab instead. It doesn't affect hyperlinks that are intended to open in the same window; there's no pref for that. If you want every hyperlink to open in a new tab, you need to {Ctrl + Click} or Middle-Click ''(click on the mouse scroll wheel)'' - or look for an extension that adds that preference to Firefox.

  • I am running 3.6.12 and my new tab and/or window actions are the same. How can i open new links within apps into new tabs?

    I used to be able to control new tab actions such as opening on top of current tab or in a new tab. This is frustrating as i always cover up where I am or was! How can this be corrected so I can open a new tab in a new tab? I am enrolled in an on-line class and can not open tabs in a new tab as needed as it always places the new tab on top of teh current or old tab.
    Funny as i use to complain about opening in new windows!
    I am missing how to control new tabs and new window actions?
    THanks,
    William

    Do you have any tab related extensions (Tools > Add-ons > Extensions) that allow to divert links?<br />
    See [[Troubleshooting extensions and themes]]
    Did you ever made changes to the prefs browser.link.open_newwindow and browser.link.open_newwindow.restriction yourself on the about:config page?
    See:
    * http://kb.mozillazine.org/browser.link.open_newwindow
    * http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    See also http://kb.mozillazine.org/about%3Aconfig

  • Does not open in new tab

    Just installed Safari 3.1 on a Windows XP Pro SP2 computer. Works fine except it does not open new links in a new tab as it is set in preferences. It will open in a new tab if you right click and select new tab, but should not have to do this.
    Currently it opens in the same window. It seems to have changed since I first installed and set preferences, it was always opening a new window, now same window, same tab.

    RDasher wrote:
    Just installed Safari 3.1 on a Windows XP Pro SP2 computer. Works fine except it does not open new links in a new tab as it is set in preferences. It will open in a new tab if you right click and select new tab, but should not have to do this.
    Currently it opens in the same window. It seems to have changed since I first installed and set preferences, it was always opening a new window, now same window, same tab.
    If you want to open a link (that is in a Safari web page) in a new tab, you need to hold <CTRL> when you click it (if you have it set that way in the "Tabs" section of the preferences).
    You maybe confusing "Open links from Applications" (ie. links from an email program or the desktop, but not from inside Safari) in the "General" section of the preferences, with the settings in the "Tabs" section.
    HTH

  • Why can't I manually bring up a new tab in Firefox 3.6.16? I have Windows 7 and didn't have the problem with other versions of Firefox.

    My question says it all. I click on the new tab button and nothing opens. Clicking on links will open a new tab if needed, or using "Open in New Tab." seems to work okay.

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • New tab open automatically and goes to advertisement

    I will lock this thread. It is a duplicate and the first thread [/questions/969626] contains additional information.
    http://p.employmentapplicationsforally.asia/x1&ch=2&zz=0.620517096715048
    http://srv1.feedads-srv.com/srv/?tid=113&hash=w6aukk&subid=&provider=rmx
    these are the sites which get opened in new tab automatically, need urgent help

    Hello,
    It sounds like your PC has some malware which has hijacked the new tab page. Watch out for other changes as well e.g. to your default search provider, start page etc.
    If you know what software might be causing the problem you should uninstall it completely from your PC. Also check your Firefox Add-ons and remove any that you didn't install yourself. [[Disable or remove Add-ons]]
    You can then try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Once you have removed the software that caused the problem you may still need to reset the new tab page to its original setting. You can do this with the following steps:
    # Open a new tab
    # Type About:config and click enter
    # Tell the pop-up that you promise to be careful
    # In the about:config search type "newtab"
    # Find the setting "browser.newtab.url"
    # Right click on the setting and choose "Reset"
    # Close the about:config page
    Your new tab page should now be reset. Check it... (you may need to restart Firefox first).
    It is very important that the malware that originally caused the problem is completely removed otherwise it may just make the change again.
    I hope that helps.

  • How to keep new tabs zoomed to same extent as current tab

    Hi there,
    I'm using a 27" iMac. I like to surf the web from the comfort of my sofa. Therefore, I am sat a distance from the iMac. When using Safari I always zoom in. However, when I open a new tab, I need to zoom in again.
    Is there any way I can stay zoomed in when I open new tabs.
    Please note: this post applies to the 'cmd +' zoom (and not the 'ctrl' and 'scroll up' zoom).
    I found this closed thread: http://discussions.apple.com/thread.jspa?threadID=2044604 However, as much as I repeat read it, it just doesn't make sense to me! I think it may suggest that what I'm asking to do is not possible. But I'm really not sure.
    If anyone can help, it really would be much appreciated.
    Thanks all!

    Hi Gavin
    Unfortunately, you need to zoom in again whenever opening a new tab or window.
    If you would like to see a different behavior, send feedback to Apple via the Safari Menu>Report Bugs to Apple option.

  • How export to csv work in safari browser? In my application export to csv open like a raw data in new tab. But other browsers working great!. Need to open in a csv file or save it as a csv file.

    How export to csv work in safari browser?
    In my application export to csv open like a raw data in new tab.
    But other browsers working great!.
    Need to open in a csv file or save it as a csv file.
    Please suggest me. Thank you in advance!.

    Hi Adrian,
    Why don't you try any another software for opening CSV files then Notepad ? According to my experience, you can use these softwares to open an CSV files and they are:-
    Microsoft Excel
    Open Office Calc
    Google Docs
    Also there is an additional tool available known as CSV viewer. You may try this, download it from here http://www.csvviewer.com/
    I've never used Notepad for opening CSV files, because sometimes it contains some symbols which are not not at all compatibile with Notepad.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • New tab for Contract for data about products and product sales.

    Looking for ideas to implement a new tab on the Contract (RECN)
    We have some basic data about products and product sales that we want to have implemented on a screen tab for a contract.  The user needs to be able to enter information about a product, quantity, year grown, and tax info. And then each of these products may have one or many sales records showing date of sale, quantity sold, and a brief note.
    So a contract can have 1 or many products and a product can have one or many sales records.
    The user needs to be able to enter, update and delete any one of these records.  And, ideally, enter multiple of each before saving.
    Do any of you have ideas about how to go about this?  Using ALV grids? or table controls? I'm still wet behind the ears regarding doing screen development in SAP so am open to any and all suggestiions.
    SAP 6.4 is the version we are at.
    Thanks
    Laurie

    Maybe the original order to renew and keep unlimited data was cancelled because it was not an option. It wasn't a "bait-and-switch" The order was cancelled, it wasn't switched. When you called to reissue the order they told you the correct options so they did not switch you without your knowledge. The second rep was correct, he didn't lie, the first rep did. Verizon cancelled the order because if they didn't you would have been set up w/ new 2 year agreements on a tiered data plan, which would have been illegal. Thats why they cancelled it. So you can either not make the change, keep the unlimited data and buy the phones outright. Or switch, go to a tiered plan, and get new phones. By glitch they meant the system accidentally allowed you to keep the unlimited plan, though it was not an option. Verizon has had this rule since they removed the unlimited plan back in '11.
    << Full name of rep removed >>
    Message was edited by: Verizon Moderator

  • Problem in adding new tabs in master data screens for RE-FX in ECC 6.0

    Dear members,
    I am working on RE-FX in ECC 6.0. I need some advice on the foll matter:
    When displaying master data for Rental Object (Rental Space) (Tcode REBDRO) there are three tabs that are visible. They are General Data, Measurement and Area Shares. I would like the tab "Supplementary Texts" to also appear as the fourth tab. I have gone to the node Screen Sequence under the Dialog node under Usage View under Master Data in RE-FX.
    I have added this screen to the sequence and have saved it successfully. Now when i am trying to display the rental space (RS) it is still not showing the tab that I just added. When I am trying to remove one of the existing tabs, by going into the same screen sequence I am successful in doing that. I am also able to add some of the other tabs. However every time I am trying to add the tab "Supplementary texts", I am failing to display it in the master data.
    Request you to please help me as I am not an expert in RE-FX.
    Regards,
    Suvarghya Dutta

    Hi Survaghya,
    We are facing problem in adding tab to transaction RESCSU. We have followed all the steps mentioned by you , like
    1. Go to transaction BUPT .
    2. Select Application Object - transactuion BUS0.
    3.Selected Application object as RESU.
    4. And then went to all the following transactions.
        RESCSU0002     SU: Field Groups
        RESCSU0003     SU: Views
        RESCSU0004     SU: Sections
        RESCSU0005     SU: Screens
        RESCSU0006     SU: Screen Sequences.
    5. Created one z function group , having 2 FM for PBO and PAI.
    6. Also one subscreen having the field mapped to CI_INCLUDE - CI_VISCSU.
    But still we are not able to see the tab on the settlemet screen.
    We tried changing the screen sequence of existing tabs, we could change that, but after performing all the steps mentioned above we could not add new tab.
    Please suggest where are we committing a mistake.
    Thanks & Regards,
    Deepti

Maybe you are looking for

  • IPhone will not display calendar items more than one day in advance.

    iPhone will not display calendar items more than one day in advance.  I used to have a droid and loved the calendar on the main screen that used to show me the next few appointments coming up - so far I have only figured out how to put in to show for

  • DataProcessor generating XML containing special ampersand, equals sign etc

    Hi, Using 10.1.3.3.3 I am using the BIP API's to generate reports for an application, but have a problem where the DataProcessor is generating XML containing ampersands and equal signs '&', '=' from the database. The characters are causing the FOProc

  • Home Theater receiver users should read this for enabling dolby digi

    I have an onkyo 5. dts / dolby digital receiver, and an audigy 2 zs platinum. i am using an optical cable from the front panel on the audigy to the optical in on my receiver. My receiver manual says it is a 96 khz receiver. I am using a 2 pin cable f

  • Database Adapter Advanced Polling Technique

    I would like to create a polling database adapter on an SOA application. The data is statistical and changes frequently. I have developed the SQL in sqldeveloper to get the data (hard part done, or so I thought). I would like the adapter to poll the

  • 2 of 3 approved....how is barclays for recons?

    So in the past month, I have decided to go after some business cards for my side gig; 1.  Chase Ink Plus ... approved2.  Amex Business Gold ...approved3.  Barclays Business Hawaiian Air ....denied I have not got the letter yet on the denial from barc