Activate Customer data tab using ME_PROCESS_PO_CUST

Hi all,
how to activate the exit tab using BADI ME_PROCESS_PO_CUST

Hi Ester,
Please check this thread. They also talked about alternative solution using user-exit MM06E005 for custom screen enhancement as well.
ME21N - PO Enhancement using BADI
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • Using MEREQ001 u2013 Checking error for data in customer data tab.

    Hi Guys,
    I have implemented MEREQ001 enhancement to add custom field in CUSTOMER DATA tab at item level. I want to validate the custom fields for error and display RED dot in front of the line item number when user press SAVE button.
    I am using EXIT_SAPLMEREQ_005 for validating the custom field when user press SAVE button.
    Is this the correct exit for this requirement.
    Can somebody share to code to display the RED dot in front of the line item which has error in custom fields?
    Thanks in advance.

    I think it's right
    U need to tranfer the message to exporting parameter or raise an error message

  • How to create Customer data TAB in PO -ME23N

    Can anyone tell me how to add 'Customer data' TAB in the PO heade TABSTRIP. I have to add it in the header besides 'Status' TAB.
    I know an enhancement 'MM06E005' which is used for this purpose.
    Thanks
    SMS

    Hi
    see this sample doc and do it accordingly
    by creating a project in CMOD and assigning the Enhancment MM06E005  and writing the code in the respective screen
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Regards
    Anji

  • Customer Data tab

    Hi All,
    We have added a customer data tab in PO header using enhancement MM06E005. We also added a push button in this tab. Our requirement is to call a zprogram once the user presses this push button. Is it possible?
    Regards,
    Sibin

    Hi , you add pushbuton in one of this screen
    and you should handle pressing this button in PAI module of screen
    PROCESS AFTER INPUT.
      MODULE user_command_0010.
    MODULE user_command_0010 INPUT.
      save_ok = ok_code .
      CLEAR ok_code .
      CASE  save_ok.
        WHEN 'XXX'.    "  code of tour button
            submit zprorgam with ... and return .
           WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0010

  • Customer Data Tab is missing- Urgent

    Hi Experts,
    When I create a BP (as a Consumer) in CRM, in the Customer Data tab we have two frames in it...
    Company Finance Information and
    DMS Replication
    We updated from CRM 4 to CRM 5, in CRM 5 we are not getting the DMS Replication frames,
    Please help....Its Urgent..
    Regards
    Raghu

    What iOS version do you use? I'm nof familiar with the "data tab." Where did you notice it before?

  • Customer Data Tab missing fileds.

    Hi Experts,
    We have upgrade from CRM 4 to CRM 5. ( I am totally new to CRM)
    When I entered tcode BP and choose Consumer , we have a Customer Data tab, in that tab some fields are missing. Do not phone , Do not Call fields. its there in CRM 4, but not in this version.
    Can someone please help me .. how to solve this problem.
    Thanks in Advance.
    Raghu

    Hi
    Check the Data sets of the role you are looking for BP and compare the CRM4.0 and 5.0 systems do compare the dataset changes and also check the field groupings  for BP role in CRM 5.0 system if any field radio button is turned to hide mode change it to optional radio button then save field grouping
    then you will see the fields
    reward points if helpful
    Regards
    Dinaker vikas K

  • How to Update EKPO table with enhancement at header level-customer data tab

    Experts,
    I have a requirement where I had to create a new button in the 'customer data' tab(header) in the ME21N/ME22N Transaction and once it gets clicked a table control will appear and in that all the line items with item no, material and plant and an additional check box will display, and once any one checks the check box against the item/material in the table control the item data with additional z fields (already created the zfields in EKPO Table) should get updated.
    Displaying Table control and item data on the click of button was successful, but once you check the check box against the item and save the PO it is not updating the z-fields in the EKPO table.
    I have implemented all the user exits , badis but no results. 
    Once you check the box in the table control against each item in the header part (Table control is in header part (customer tab)) the line item EKPO table with z fields should get updated.
    Any Clues/ideas will be appreciated.
    Thanks in advance,
    Kalikonda.

    Hi,
    Can you please share the remedy for above issue, recently we have same issue in our system.
    or please send me any supportive doc. for the below mail
    Looking forward for your positive response.
    Thanks
    Mohan
    ([email protected])

  • PO Custom Data tab size incorrect after EHP4 installation

    Hello,
    We have previously enlarged the size of the custom data tab on PO transaction ME23N (via modification) in order to accommodate a comprehensive overview of the many custom fields we have. The screen we changed is as follows:
    Program: SAPLMEGUI
    Screen: 1227
    Original size:
    - Lines/columns Occupied 5 / 100
    Mainten. 5 / 100
    Modified size:
    - Lines/columns Occupied 23 / 160
    Mainten. 23 / 160
    It worked out fine in our ECC6.0 Release 700 (SP17).
    Recently we upgraded to Release 701 (SP03). We have made the same modification to the same screen as mentioned above. However, the screen was not resized as we had expected. Its size stays as 5/100. So the user has to scroll through a very short subscreen in order to see all custom fields.
    Have anyone of you experienced this ( or any UI related issues)  after installing enhancement pack 4 of ECC 6?
    Any of your suggestions are appreciated.

    Sap has provide a sample in OSS [ Note 407975 - MM06E005: Collective note: Examples for implementation|https://service.sap.com/sap/support/notes/407975] - compare with yours
    Regards,
    Raymond

  • How to change text of Customer Data tab in ME21N

    Hi all,
    I have implemented the screen exit for Tcode ME21N, as a result of which another tab has appeared inthe item level by the text CUSTOMER DATA. Now i want to change the text of this tab?
    Can any one suggest me how canthis be done?
    Regards
    Sabah

    Hi,
    Go to SE38 -> SAPLXM06 ->Display ->GoTo ->Text Elements ->Text Symbols
    and insert the required custom name for the tab and the SYM value should be equal to the screen number which you are adding.
    For E.g. adding a new tab in purchase order item , we have to add the text element with the SYM = 111 and the text as per the requirement at the above location.
    Save & Activate the changes.
    Please Note that we have to click on "Maintain Changes In Logon Language" , i.e. we have to make and save these chagnes in EN language only.
    Regards,
    Praveen

  • How do I add new fields to the 'Customer Data' tab under the BP

    I had previously found a screen in the SAP GUI to add fields so that they would show up on the 'Custmer Data' tab under the Business Partner screen. I thought it had been somewhere in se80 but I cannot find it again. Does anyone know where this is? Thank you!

    Hi Mark,
    You can do this using transaction EEWB. This is the Easy Enhancement Workbench.
    within this, you can use the wizard which will guide you through a step by step process to add the fields you need. Basically, there are 2 ways to add new fields  :
    1. Add new fields - this adds fields to table BUT000, but places the fields on a new tab called 'Customer Data'
    2. Add new attributes table - creates a new table and links it to BUT000 using the partner number.
    Hope this helps you.
    Cheers,
    Rishu.

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

  • Inserting Information into Existing Custom Data Object Using API?

    Hello,
    I have setup a Custom Object and I have the ID for this object. All we're wanting to insert in this object is First Name, Last Name, Email. I have that information in code-form and I have both the BULK API and REST api at our disposal. We are having issues figuring out the API call we want to execute to insert this information into this Custom Object.
    If someone could point us in the right direction that would be amazing. Thank you!

    I solved the problem.
    when we are selecting the image data from access database select that as getbytes
              while(rs.next())
                   count++;
                   picbarray = rs.getBytes("PICTURE");     
    when inserting to the oracle db
    PreparedStatement st1 = null;
    String sql = "insert into (colmn1,colmn2,colmn3,comn4,colmn5) values(?,?,?,?,?)";
    st1 = con.prepareStatement(sql);     
    st1.setString(1, val1);
         st1.setString(2, val2);
         st1.setString(3, val3);
         st1.setBytes(4, picbarray);     
    st1.setString(5, val5);
         st1.executeUpdate();

  • Cusotm data tab In ME52n, copy release strategy tab details in custom tab

    I have created a custom data tab in Me52n using exit mereq001, and I need to get purchase requisition number, releasegroup, release code and release strategy values in the custom data tab screen in order to fulfill my requirement.
    I am using the screen exit and trying to code in the include (PBO), But in the include I am not able to get the required data as afore said.
    Can you please tell me the procedure for getting the global structure that I can use in the include to get these values?
    *Please give me the solution ASAP.

    HI,
    Use the fm  EXIT_SAPLMEREQ_001 and get the data ..............
    data : wa type mereq_item .
    call method im_req_item->get_data
      receiving
        re_data = wa
    the structure wa will contain the data .....
    Thanks,
    Shailaja Ainala.

  • How to change label of tab 'Customer data' in transaction ME53N

    Hi,
    I need to change the label of tab 'Customer data' in transaction ME53N.
    Please help me.
    Thanks!!!
    S.

    Hi Sebastiano,
    having the same requirement, I found this solution in some older postings: You must add a new Text symbol to the main program (which is SAPLXM02 for ME51N / ME52N / ME53N) of the customer-subscreen in order to rename the customer data tab in these Transactions.
    Try the following steps:
    1. call Tx SE38
    2. open Program SAPLXM02
    3. from the menu, call Goto->Text elements->Text symbols
    4. Add a new Row for the subscreen dynpro you want to rename (e.g. dynpro 111 for item details in ME51/ME52N/ME53N), with Sym = dynpro number (e.g. 111 for item details) and Text = your new tab name
    5 save & activate
    This basically works the same for Transactions ME21N / ME22N /ME23N customer tabs, just open Program SAPLXM06 instead and follow the above steps.
    Note: if you develop in multi-language environment, you might have to translate the text symbol.
    I hope this helps.
    Rudi
    refer to:
    [http://forums.sdn.sap.com/click.jspa?searchID=32160998&messageID=6937865|http://forums.sdn.sap.com/click.jspa?searchID=32160998&messageID=6937865]
    [http://forums.sdn.sap.com/click.jspa?searchID=32160998&messageID=6147389|http://forums.sdn.sap.com/click.jspa?searchID=32160998&messageID=6147389]

  • Customer data in PR

    The user exit EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_003 are not triggered until we click the customer data tab.
    If we save the PR without click the customer data tab, the field in the customer data tab will not be got and saved, how can I avoid this situation?

    HI,
    Check for exit which will be called just before 'SAVE' & in that exit writet logic to check  whether Cusomar data is filled or nor & POP UP a message saying 'Fill Customar Dtaa Forst & then Save'.

Maybe you are looking for

  • No progress compressing

    Ive just imported an mp4 video file into compressor so i can make a dvd out oif it. Ive set the quality for dvd best quality 90 minutes and set my destination. I clicked submit yesterday and the status is still saying"preparing". Should a film of 1 h

  • Programmatically Load Query Component on Page Load

    Hi All. We have a requirement in which we need to populate the fields of a query component and execute the query...upon loading of the page. Our use case: We have a page in which there is an analytic showing counts of requests in different status (i.

  • Monitor settings problem

    Hi there! I've experienced a strange problem related to my LG monitor/Mac Mini. Occasionally the monitor becomes "jumpy", the horizontal lines are visible when I scroll over my dock and also on some animated websites. However, if I go to the display

  • Consume Odata Service in Eclipse HTML5

    Hi Experts,      I am trying to consume SAP Odata service. But i was stuck in one problem. While creating my model object i got following message. This code i have written in the index.html file. var oModel = new sap.ui.model.odata.ODataModel("https:

  • Toshiba L750-A218 BIOS 3.30, Fan Speed

    Hi, here is a new issue I am experiencing after the BIOS update. I feel the internal fans are spinning all the time by placing my hands near the keyboard. Fan speed according to Toshiba software is 50%+ while I am not doing anything. On the other han