Custom tab data not saving in ME22N w/ BAdI ME_PROCESS_PO_CUST

Hello all,
I have implemented BAdis ME_PROCESS_PO_CUST & ME_GUI_PO_CUST and created a custom tab at the header level in ME21N/ME22N. I have fields such as Delivery Date and Ex Factory Date in my tab.
We are able to put data in these fields and have that data populate their respective fields in the Purchase Order.
Our users would like to be able to run ME22N and select certain line items and have only those items changed with the data from the custom fields. 
So, my question is how do I handle line selection in the context of these BAdIs?  Is there a way to know which lines have been selected and then only change the data in those items?
I have looked in Class CL_PO_ITEM_HANDLE_MM for an attribute or method that might help but I haven't found anything as of yet. 
I have found that the field MEPO1211-TCSELFLAG is set when a line is selected in ME22N.  However, I haven't found a way to work with it.  It doesn't get passed to any of the methods in the BAdIs, as far as I know. 
January 27, 2012  **************
We were able to capture the lines selected by using code from method mass_change in Include LMEGUICJK, Function Group MEGUI.  The lines are in the lt_models table. 
So, now my issue is getting data to save in ME22N.  When I put data in my custom tabs and select a line, the data gets changed on the screen but does not save.  It does work when I make a change in another field, like changing the description for instance.  I'm using the set_changed method in Process_Header from ME_PROCESS_PO_CUST but it doesn't work. 
I'm getting the idea that I'm the first ABAP developer to try this...
Thanks for any help.
Kind Regards,
Chris
Edited by: Chris  Mowl on Jan 11, 2012 10:33 AM
Edited by: Chris  Mowl on Jan 11, 2012 4:24 PM
Edited by: Chris  Mowl on Jan 27, 2012 10:57 AM
Edited by: Chris  Mowl on Jan 27, 2012 2:00 PM

Hi,
Checkout the below link :
<link to blacklisted site removed by moderator>
Shailaja Ainala.
Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

Similar Messages

  • Manual Layout data not saving to trx cube

    Hello BPS Experts,
    I am trying to load some data using manual planning. I open the layout and enter the values and press save. I do not find any requests / data in the cube.
    case 1) No error / warning
    I do not get any error during the save function in the layout. What could be the possible step I am missing. What could be the root cause..
    case 2) message - No data to be saved
    sometimes i get a message 'No data to be saved'. And that data is not getting saved. What could be the reason of this message.
    Regards,
    BWer
    Message was edited by: BWer

    Hello BWer,
    One of the main reasons for data not saving from a layout into a Trx cube, is if there is no key figure being updated. The value of the key figure being posted should <> 0.
    If you choose the option to display transaction data in your layout, then, only data with key figure values <> 0 will be displayed.
    Sunil

  • My pinned tabs are not saved in Firefox 9

    I updated firefox yesterday to 9.01 and now my pinned tabs are not saved when I reopen firefox. I had hoped the days of having umpteen problems on each update were gone now there is a little one every couple of weeks but no, it's still a pain.

    Well that was odd, decided to check addons and started firefox in safe mode and my pinned tabs were there so restarted it to disable addons one by one but before I could do anything my pinned tabs were back in place. Lets hope it lasts.

  • Added Custom Tab is not visible in Menu in Delivery

    Hi,
    We have added a custom tab in delivery using Badi 'LE_SHP_TAB_CUST_HEAD' .
    The Custom Tab is not visible in Menu , Can you please suggest How I can get this tab in
    Menu Under 'GOTO' .
    Thanks & Regards,
    Murali Krishnan

    Please check table T130P
    That table stores configuration related to fields in MM01. It holds information if a perticular field needs to be displayed or should not be displayed at all.based on the value which that field holds.
    can control the display, the material master
    Please check

  • Data not saving in Custom Infotype

    Dear Experts,
    I have created a custom infotype, 9003, for this I creates a structure ps9003.
    And I have to create a primary key field in my infotype, so I added a field in PA9003 as key field.
    Now this key field was not coming in the infotype screen, so I added it using screen painter.
    But now when I save the data the data is not saved in this key filed.
    Please Suggest.
    Warm Regards,
    Upendra Agrawal

    Hi
    As of my knowledge the primary key for the PA infotypes will be MANDT+PAKEY structure.  What is the need of adding the primary key.
    - While creating the custom infotype using PM01 screen will be automatically generated for the fields declared in PS structure
    - Screen Generation will wipe out the custom written on the fields so this is to be carefully handled.
    - if you added the field check logic in PAI & PBO
    - Check are you passing the data back to the infotye structure

  • Update fields from custom tab in selected lines in ME22N

    Hello all,
    I have implemented BAdis ME_PROCESS_PO_CUST & ME_GUI_PO_CUST and created a custom tab at the header level in ME21N/ME22N. I have fields such as Delivery Date and Ex Factory Date in my tab.
    We are able to put data in these fields and have that data populate their respective fields in the Purchase Order.
    Our users would like to be able to run ME22N and select certain line items and have only those items changed with the data from the custom fields.
    So, my question is how do I handle line selection in the context of these BAdIs? Is there a way to know which lines have been selected and then only change the data in those items?
    I have looked in Class CL_PO_ITEM_HANDLE_MM for an attribute or method that might help but I haven't found anything as of yet.
    I have found that the field MEPO1211-TCSELFLAG is set when a line is selected in ME22N. However, I haven't found a way to work with it. It doesn't get passed to any of the methods in the BAdIs, as far as I know.
    Thanks for any help.
    Kind Regards,
    Chris

    Hi, i understand
    if you are sure that if with MEPO1211-TCSELFLAG  this variable you can able to get,
    even though it is not been passed to BADI, you can achieve it to get the variable.
    Just try as follows,
    DATA lv_head_ptr(30) VALUE '(SAPLMEGUI)MEPO1211'.
    FIELD-SYMBOLS: <l_MEPO1211> TYPE MEPO1211.
    ASSIGN (lv_head_ptr) TO <l_MEPO1211>.
    Now, <l_MEPO1211> will contain the structure of the MEPO1211.

  • Delivery date not changed in ME22n but only in ME21n.

    Hi all,
    I have an issue with the PO transaction.
    In ME21n,if I change the shipping instructions under the delivery tab,via an enhancement the planned delivery time (no of days) changes and hence the delivery date also.
    However this behaviour is not obeserved when changin a PO but only when creating a PO.
    CAN anyone direct me how do I debug this issue?
    AS I mentioned we have done a custom develpment via BADI ME_PROCESS_PO_CUST to change the planned delvery time when shipping instructions are chnaged but this develoment doesnt affect the delivert date.

    Hi
    Did you check if in change mode whether your enhancement is actually triggering or not..? Please share the method which you are using along with sample code as an attachment
    Nabheet

  • Custom fields values not saved in AUFK using bapi_alm_order_maintain

    Hi ,
        We have a requirement where we have to update the custom fields in enhancement tab of IW31 using bapi_alm_order_maintain.
    We are able to get the successful creation of work order ,but the custom fields are not updated in enhancement tab aswell in aufk table. We are passing values in below table of bapi.
    EXTENSION_IN
                STRUCTURE           =  CI_AUFK
                VALUEPART1        =  '20091223' .
    Please provide the solution.

    Hi Phani,
    May be these links are helpful:
    BAPI extention to work order aiming AUFK custom field filling
    Update custom fields in MARA (BAPI_MATERIAL_SAVEDATA)
    Also search sdn using the BAPI function module, you may get some idea.
    Regards,
    Swarna Munukoti

  • Data not saved in database

    hi,
         i'v a prob. that once i create quation through va21 then it create and saved data.
    now when i create sales order through va01  then it show data saved and gave the sales order no.
    but when i 'm going to change it then message comes order not in data base.
    when i saw the data in table like vbak/ vbap then i found no data.
    what is the prob.
    pl. help me.
    mukesh

    Hi Mukesh,
    May be the data is not saved at all. Use TCODE SM12 and SM13 to check if there are entries for the corresponding table under processing
    Regards

  • J4W 10.5 custom tab icon not visible

    After upgrading to Jabber Windows 10.5, the icon for my custom tab implementation is no longer displayed. Originally configured according to these instructions:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_7/JABW_BK_C4C679C9_00_cisco-jabber-for-windows-97/JABW_BK_C4C679C9_00_cisco-jabber-for-windows-97_chapter_0110.html#CJAB_RF_CCC55E6A_00
    Corresponding section in the 10.5 configuration guide has not been updated:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/10_5/CJAB_BK_D6497E98_00_deployment-installation-guide-ciscojabber/CJAB_BK_D6497E98_00_deployment-installation-guide-ciscojabber_chapter_01001.html#CJAB_RF_CCC55E6A_00
    Am I missing something?

    Yes, that's option B as she still has the IMac but I'm curious as to why the TM backup isn't working - just in case I need to do this on another machine down the road, it would be nice to know what's going wrong with the more convenient TM restore option.... Thanks!

  • Firefox v30 Privacy settings: Use customs settings are not saved

    After changing privacy settings to
    -> Use custom settings for history
    [X] Always use private browsing mode
    [_] Remember my browsing and download history
    [_] Remember search and form history
    [X] Accept cookies from sites
    Accept third-party cookies: [Always]
    Keep until: [I close Firefox ]
    When exiting Firefox and relaunching it, this settings is gone.
    and 'reset to [Remember history]
    Any suggestions as to how to solve this?
    Thanks
    =

    Sorry, to reset firefox will require me to install a number of plug-ins.
    All my settings were lost.
    Luckely I created a backup using MozBackup.exe.
    Some add-ons can easily be re-installed, but what about stuff like Acrobat PDF creator and Norton Vulnerability Protection. I think those add-ons are installed when an application is installed, so it would require me to re-install such applicatons.
    Preferences not saved: nothing is write protected.
    Deep sigh...
    =

  • Response data not saved in PDF

    Dear All,
    I created an interactive form with a web service. I filled in the form and sent all the datas in SAP through the web service.
    All worked properly except that I have a return message from SAP. This message is binded in my form as response field.
    I saw my message in the form when the WS is finished but I saved the PDF on my PC.
    When I look at my PDF later, the return message is disappeared, it is not saved in my PDF as all the other fields.
    Thanks to help me
    Kind regards
    Véronique.

    Dear all,
    Can someone help me ?
    All the other data are saved in the document. But I think that it is because the return message is not keyed but is only a answer in the web service, the PDF can't save it ?
    If I change the field (add some character after the return value from SAP) and I save, the value is kept.
    Could someone tell me how to do ?
    My button is an Execute one with the data connection on my web service.
    If I re-merge data, all the fields become empty except the response return message. Even in this case, the message is not saved in the PDF.
    It is important !
    Thanks
    Kind regards
    Véronique

  • Hierarchy Data not saved after Hierarchy Load

    Hi Gurus,
    I am facing a problem with the hierarchy data load in SAP BPC NW 7.5 SP06. I have already used /CPMB/IMPORT_IOBJ_MASTER & /CPMB/IMPORT_IOBJ_HIER once to load the data from BI to BPC and it worked fine that time.
    Now I have made some changes in the Hierarchy at the BI side. When I run the package link list, the /CPMB/IMPORT_IOBJ_MASTER chain runs fine and the master data, description for Attribute and Hierarchies are loaded perfectly. But whn the /CPMB/IMPORT_IOBJ_HIER is run, the changes are not saved in the BPC Member sheet. I have manually make the changes in the member sheet and Process the Dimension.
    Can we process the Dimension explicitly after the Hierarchy load again?
    Does anyone have an idea about this?
    Any help is appreciated.
    Thanks,
    Abhishek

    Abhishek,
    Double check whether  /CPMB/IMPORT_IOBJ_MASTER is bringing all the ID's,Texts and Hierarchy Nodes. If required drop the data from dimesion member sheet and load it again.
    Double check the Hierarchy and level setup while running /CPMB/IMPORT_IOBJ_HIER.
    (when we are in SP05, it was not bringing the multiple Hierarchies, now we are in SP07 loading multiple hierarchies but not the TEXT fo the Id's some inconsistency)
    Thanks

  • Data not saving in flowable form

    Hi,
    I have created a form where there are flowable and positioned parts. In the attachment section, data entered into Attachment A (flowable) seems to save, but after saving, closing and re-opening, the data has not saved.  The data entered into Attachment B and the rest of the form does save.
    Can I send the file to someone to have a look?
    Thanks.

    Please send your form to [email protected]
    I will try to look into the issue..
    Nith

  • File- XI- IDoc: Idoc header data not saved correctly

    Hi guys!
    I have a very strange problem:
    I have a file to xi to IDoc scenario. Everything seems to be fine, IDoc is created in target system, but with strange error: <MESCOD>XX</MESCOD> segment is not written in IDoc header segment. This segment is available in message sent to ECC (after mapping), so there is no problem with ommiting the segment in mapping. But it's not saved. 
    This scenario worx fine in QA, but not in PRO.
    Any ideas, what to look at?
    Thanx  a lot! Olian

    Hi,
    check the IDoc which was in PROD. and see the ibound status and actual reason .
    depending upon the actual status you can resolve the issue.
    Chilla

Maybe you are looking for