Custom field in action

Hi,
My customer wants to capture every action inPa40... against an office order. Can I create custom field or is there any standard reserved field that i may use..pls help..the best way.

hi,
You can try to add fields in infotype 0001. IF you will check the table PA0001 (table of IT0001 structure), structure CI_P0001 is present. Here you can add the field as per your requirement. As 1 of our expert said you have to use TC PM01 to enhance it. Also you need to re-generate/ modify the related objects as well. Please take help of a ABAP-HR expert.
Praveen

Similar Messages

  • Custom field data is lost or not available after any action

    I added a custom field on ERP_H component and I made this field available through getter methods. I brought this field in to header view and the field looks ok but after I enter the data in that field, the value enter doesn't get retained. I saw the setter method and the data is set correctly. After any action like enter or save, data is lost or the value is not available, any clue?
    below are the details:
    1) We have created an append structure to CRMST_ADMINH_ERPIL and activated the getter and setter methods, I tried with AET tool too(ofcourse the Zfield are not available withe field names we need).
    2) Data binding is happening in the context create note.
        model = owner->create_model(
            class_name     = 'ZL_ERP_H_HEADERDETAIL_CN03'
            model_id       = 'ERPAdminH' ).                     "#EC NOTEXT
        ERPAdminH ?= model.
        CLEAR model.
    bind Context Node to controller to my enhaced context.
        owner->do_context_node_binding(
        iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
        iv_target_node_name = 'ERPADMINH'
        iv_node_2_bind = ERPADMINH  ).
    3) In get_p_xxx field is changed to check box
    4) In Get_I_XXX method rv_diabled is changed = 'FALSE'.
    5) In set property the value is set correctly.
        IF <nval> <> <oval>.
          current->set_property(
                          iv_attr_name = 'ZFREEF' "#EC NOTEXT
                          iv_value     = <nval> ).
          clear dref.
          dref = current->get_property( 'ZFREEF' ). "data is retreived correctly
        ENDIF.
    6) When I check the get_property right afer the set_property the attribute is empty.
    7) when I try to check the value in getter method, the value is empty.
    Any help is appreciated.

    Hi Sumit,
    At first I tried to create the fields using AET tool. I was successfully able to add field in the model but when I did different issues came with it.
    1) I was still not able to hold my data in custom additional fields added through AET tool. So no big difference between AET addition and append structure.
    2) In ERP order system is going to call the ERP system through RFC in which the field name should be same as what you send from CRM. It doesn't have a option of mapping intermediately like BDOC structure or something . It calls the LORD API's and post the data. There are bunch of LORD function modules maintained in SAP.
    3) to call the function module I have to maintain the same field names in my ERPAdminH structure. So I have no choice but add append structure manually with SAP ECC field name.
    4) to your question regarding set property, the data is properly assigned to BOL object and very nex line t I tried to access it and it is there. So that confirmed that I was able to update the BOL structure.
    Any suggestion would be appreciated.

  • Workflow action on Custom Field

    Is it possible to create Workflow rule action 'Update Field After Wait Action' on a custom field?

    Yes, you can.
    Regards,
    Som

  • Transfer OTL to Payroll is not working for Custom Field Values

    Hi,
    We have Extended the Payroll and Project layout in OTL to include custom fields.
    Now linked the fields to Element entries input values.
    The issue happens when a retro batch is processed and transfered to Payroll the input values are not getting pulled properly.
    i.e. The retro batch creates a positive value for the new retro entry and a Counter negative value for the old record.
    Only in the case of Negative value, the issue is happening. For the positive value it is pulling the record properly from the custom fields.
    Can you please let me know, how to debug the same.
    Also this issue happens randomly not all the employees are facing this issue.
    Thanks,
    Raja Rajan

    Hi Rsn,
    just check the put this code in
    1st way--
    jjust import the api in your custom Action class
    import com.sap.isa.core.logging.IsaLocation;
    private final static IsaLocation log = IsaLocation.getInstance(ZcustomeAction.class.getName());
    then
    log.error("value"+value);
    in this  way you can debug the code...if not possible thenn...
    you can write...
    System.err.println("value"+value);
    you can also try to this  way..i think it will work now
    Thanks
    Jati

  • Task custom field and formula custom field don't correspond Project Server 2013

    Hi people, I have an interesting case in Project Server 2013 SP1 CU Apr:
    I have a custom task number field called AM. This field get's filled by a PSI action with actual material costs from an external system.
    I also have a custom task cost formula field that is called AM*. This field is a formula field that has the formula [AM]. And summary tasks use the formula field as well.
    As soon as I create a project, assign costs in the external system and let PSI fill the values within AM I get correct values in AM. But nothing is calculated on AM*. If I edit the project in the browser and publish, check in and revisit the project
    AM* still isn't filled.
    If I open the project in MS Project Pro the calculation comes through nicely, however I do not want to use MS project Pro to see correct data in browser.
    Some tests I have already done:
    I have noticed that when I create a new calculated task field AM2*, this get's calculated correctly on the already existing task.
    I have also noticed that opening the custom field in server settings and just saving the field creates correct values on AM*.
    What is going on? I don't want to save the custom formula field every day... There are 11 custom formula fields in the environment at the moment.

    Hi Gary,
    Thank you for the quick response. Please note that the fieldnames are [AM] and [AM*]. There is a difference in field name due to the astrix. However I did think about the situation and changing one of the field names all together didn't do anything for the
    situation at hand.
    It looks like some kind of refresh thing, because without changing anything in the custom field just saving the field in server settings will turn op good values. However, values already turned up good in Project Professional 2013. And that suggest
    that there is a calculation error on the PWA side wouldn't you say?
    Anyway, thank you for taking time to look into this matter.
    Erik

  • Creating a new project with custom fields using web services

    I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
    in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
    I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
    REST POST /_api/ProjectServer/Projects
    'odata.type' : 'PS.PublishedProject',
    'Name' : 'OData Name',
    'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
    Response
    error: {
    code: "11713, Microsoft.ProjectServer.PJClientCallableException"
    message: {
    lang: "en-US"
    value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
    SOAP POST /_vti_bin/PSI/Project.asmx
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <soapenv:Header />
    <soapenv:Body>
    <proj:QueueCreateProject>
    <proj:dataset>
    <ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <Project>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
    <PROJ_TYPE>0</PROJ_TYPE>
    </Project>
    <ProjectCustomFields>
    <CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
    <FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
    <CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
    </ProjectCustomFields>
    </ProjectDataSet>
    </proj:dataset>
    <proj:validateOnly>true</proj:validateOnly>
    </proj:QueueCreateProject>
    </soapenv:Body>
    </soapenv:Envelope>
    Response
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
    <s:Fault>
    <faultcode>s:Server</faultcode>
    <faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
    <detail>
    <errinfo>
    <general>
    <class name="General Unhandled Exception in _Project.QueueCreateProject_">
    <error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
    at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
    at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.&lt;>c__DisplayClasse.&lt;QueueCreateProject>b__d()
    at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
    </class>
    </general>
    </errinfo>
    </detail>
    </s:Fault>
    </s:Body>
    </s:Envelope>

    Julie,
    You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
    From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
    But you are right in the sense that it is limiting that there is no multi-select for "applies to" field.

  • Custom field in ESS Bank Information Screen in wrong location

    We created two custom fields for WD-ESS Bank Information (1.41).  These were added to the iView using Personalization.
    Now it is apparent that the Statement text field needs to be above the Checkbox field in order for these to work correctly.
    I have tried moving or deleting the fields in the Personalization screen from the iView with no success.  Is this possible and if so, how is it done.
    If not where on the backend would this be changed.
    Thanks,
    D. Maupin
    University of Kentucky

    check here how it is done
    http://wiki.sdn.sap.com/wiki/display/profile/ESSPersonalInformationUIenhancementwithoutmodification
    and
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable

  • Custom field in a custom tabular

    Hi,
    I have created a custom tabular which displays a list of account, and i want to add a custom field on it. I have created the custom field on account field, but when i want to add it on the tabular i don't see the custom field in the column of account. Does anyone know how to do it.
    What i want to do exactly, is to add a weblink in my tabular, that do some action. For example a select field that gets informations and put it in the database.
    Thanks

    hi,
    What i call tabular is custom list. When you go to Report -> Design Analyses and you create a reporting on some object.
    thanks.

  • How to add a new custom field to one set of employees within one country?

    Hi,
    I am thinking of a scenario where a new custom field is dispayed in PA30 for IT0006
    only for one set of employees in US (such as for a employee group or employee sub group).
    Other employees should not have this custom field.
    All employees in this scenario is for US country only.
    Is this possible? Do we need ABAP for this or only IMG will do?
    Any details on how to implement this etc..
    Thanks for any help.

    Thanks for everyone for the responses.
    I really liked the decoupling infotype solution.
    However, since some work has been done in the old way, I will try to describe the problem in detail.
    Our ABAPer already created a new screen 0200 as a sub-screen in ZP000600 module (I am assuming it is a module pool) using PM01 and assigned to 2010 screen; an alternate screen specified in IMG for country 10 as key (instead of standard screen 2000 for IT0006).
    This new screen 0200 is assigned to 2010 in PM01 transaction.
    These steps displays the 0200 sub-screen with added fields to all the US employees hiring in the respective personal action.
    I want to create a new scenario to suppress these additional fields for some US employees (say company code BKUS)
    I placed a new entry in T588M for module pool as ZP000600 , key is 10, alternate screen as 0200 and hide all the fields
    But, these additional fields are still displayed always for US employees for whom I want to hide.
    Did I miss any thing?
    I do not want to hard code in ABAP whom to display and who not to.
    Is there a IMG way to do this so that I can change the criteria later as we go.
    Thanks

  • MM06E005 - how to set screen attributes for custom fields?

    Hi all,
    I have implemented enhancement MM06E005. I have added my custom fields to CI_EKPODB.  I have created and activated all the dynpros.  I modified subscreen 0111 (items) to contain my new custom fields.  I have activated the function exits (016,017,018) for the item screens.  I am able to save data using the new custom fields on subscreen 0111.
    What I am having trouble with is modifying the screen attributes for the new custom fields that I placed on subscreen 0111. I know it should be in exit 016(PBO) and I need to check the action type.  I tried a "loop at screen" but my fields were not there. 
    How do I modify the screen attributes?  Also, can I change the "Tab" text from "Customer Data" to be something else?
    Any help would be appreciated.
    Thanks, Mark

    Hi,
      In the PBO of the screen 0111, create a module. And in that module you can do LOOP AT SCREEN..where the screen elements will be available..
    Thanks
    Naren

  • Updating custom fields to MSEG through MIGO

    Hi,
    I got a requirement to add a tab with custom fields in MIGO transaction, which I did using BADI MB_MIGO_BADI
    and requirement also says to extend table MSEG with custom fields and store the values in MSEG.
    I have gone through example implimentation and updated MSEG in similar way. IS it a good approach to extend MSEG table? I read one thread says we can't extend MSEG table with custom fields. is it true?
    Goods receipt will be done only through MIGO to restrict inconsistensies in material documents.
    One more question.
    How to restrict the additional custom screen to be displayed for particular action in MIGO?
    Thanks

    Hi,
    Yes you can do it, i did it with the same BADI method to update to custom fields in MSEG table through MIGO transaction.
    Here is the steps you need to follow :-
    1. Create a append structure or you can use the CI include to add fields in MSEG table. I did it though append structure only.
    2. Create a implementaion of MB_MIGO_BADI through SE18 or SE19 transaction.
    3. Inplement the interface IF_EX_MB_MIGO_BADI methods, the details of interface implementaions are described below:-
    Attribute
    GV_VEND_LOT     Instance Attribute     Public     Type     CHAR1     'X' : Purchase order Type NB (Standard PO) found                                                                               
    GIT_MSEG     Instance Attribute     Public     Type     TY_T_MSEG     Table MSEG                                                                               
    GV_BSART     Instance Attribute     Public     Type     ESART     Purchasing Document Type                                                                               
    GV_GRMODE     Instance Attribute     Public     Type     CHAR1     X: Document is of Type GR with PO and Y : Document with Mat.                                                                               
    GWA_MSEG     Instance Attribute     Public     Type     MSEG     Document Segment: Material                                                                               
    GC_CLASS_ID     Constant     Private     Type     MIGO_CLASS_ID     Class ID for MIGO Components (External Detail Screen)     'ZIMP_MB_MIGO_BADI'
    GV_LINE_ID     Instance Attribute     Private     Type     GOITEM-GLOBAL_COUNTER     LINE_ID of Line Displayed in Detail                                                                               
    GIT_LINE_ID     Instance Attribute     Private     Type     /KYK/TRG_NUMC6     Range Table: NUMC6                                                                               
    GWA_LINE_ID     Instance Attribute     Private     Type     /KYK/SRG_NUMC6     Range Structure: NUMC6                                                                               
    GC_X     Constant     Private     Type     CHAR1     'X' : Select     'X'
    GC_BSART     Constant     Private     Type     ESART     Purchasing Document Type     'NB' 
    IF_EX_MB_MIGO_BADI~INIT
    METHOD if_ex_mb_migo_badi~init.
      IF gv_grmode = gc_x.
    Regristration of BAdI-Implementation:
    Append class attribute GF_CLASS_ID (='ZIMP_MB_MIGO_BADI') to
    regristration table.
        APPEND gc_class_id TO ct_init.
      ENDIF.
    ENDMETHOD.
    IF_EX_MB_MIGO_BADI~PBO_DETAIL
    METHOD if_ex_mb_migo_badi~pbo_detail.
    Lines added to do display Vendor lot tab in the item level
    Only for Purchase order type NB (Standard PO)
    Local constants
      DATA : lc_cprog TYPE sycprog VALUE 'ZMMM_MIGO_VENDOR_COO',
             lc_dynnr TYPE sydynnr VALUE '0100'.
            lc_heading TYPE migo_badi_heading VALUE 'Vendor Lot Number'.
    Read Line item from buffer table
    if sy-subrc =0 then only display vendor lot tab
      READ TABLE git_line_id WITH KEY low = i_line_id
      BINARY SEARCH TRANSPORTING NO FIELDS.
      IF sy-subrc EQ 0 AND ( gv_grmode IS NOT INITIAL
        AND gv_vend_lot = gc_x ).
        e_cprog   = lc_cprog. " Program name
        e_dynnr   = lc_dynnr. " Screen number
        e_heading = text-001. " Tab Heading
        gv_line_id = i_line_id. " line Item
      ENDIF.
    ENDMETHOD.
    IF_EX_MB_MIGO_BADI~PAI_DETAIL
    METHOD if_ex_mb_migo_badi~pai_detail.
      IF gv_grmode IS NOT INITIAL AND gv_vend_lot = gc_x.
    'X':  The Method LINE_MODIFY Is Processed
        e_force_change = gc_x.
    Reset the Flag for next line item selection
        CLEAR gv_vend_lot.
      ENDIF.
    ENDMETHOD.
    IF_EX_MB_MIGO_BADI~LINE_MODIFY
    METHOD if_ex_mb_migo_badi~line_modify.
      IF cs_goitem-ebeln IS NOT INITIAL.
    Look for Purchase order number from EKKO and get the Order Type.
    If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
        SELECT SINGLE bsart FROM ekko INTO gv_bsart
          WHERE ebeln = cs_goitem-ebeln.
        IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
          gv_vend_lot = gc_x.
          IF NOT i_line_id IS INITIAL.
            gwa_line_id-low = i_line_id.
          ENDIF.
          IF git_line_id IS NOT INITIAL.
            SORT git_line_id BY low.
          ENDIF.
          READ TABLE git_line_id WITH KEY
          low = i_line_id BINARY SEARCH
          TRANSPORTING NO FIELDS.
          IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
            APPEND gwa_line_id TO git_line_id.
          ENDIF.
        ELSE.
          CLEAR gv_vend_lot.
        ENDIF.
        CLEAR : gv_bsart,
                gwa_line_id.
      ENDIF.
    *************Buffer MSEG table with custom fields **********************
    *Item is Adopted in Document
      IF NOT cs_goitem-take_it IS INITIAL.
        CLEAR gwa_mseg.
        MOVE-CORRESPONDING cs_goitem TO gwa_mseg.
        APPEND gwa_mseg TO git_mseg.
      ENDIF.
    ENDMETHOD.
    METHOD if_ex_mb_migo_badi~post_document.
    Delete duplicate line item if avail in GIT_MSEG table
      SORT git_mseg BY zeile.
      DELETE ADJACENT DUPLICATES FROM git_mseg COMPARING zeile.
    To access these valu in Ennhancement Spot ZENHIMPL_MM_MB_MIGO_BADI_MB
      EXPORT : git_mseg FROM git_mseg TO MEMORY ID 'GIT_MSEG',
               gv_grmode FROM gv_grmode TO MEMORY ID 'GV_GRMODE'.
    Refresh all class content
      CLEAR : gv_vend_lot,
              gv_bsart,
              gv_grmode,
              gwa_mseg,
              gv_line_id,
              gwa_line_id.
      REFRESH : git_mseg,
                git_line_id.
    ENDMETHOD.    
    METHOD if_ex_mb_migo_badi~mode_set.
    Local Constants
      DATA : lc_a01 TYPE goaction VALUE 'A01', " Goods Receipt
             lc_r01 TYPE refdoc VALUE 'R01',   " Purchase order
             lc_a04 TYPE goaction VALUE 'A04', " Display
             lc_r02 TYPE refdoc VALUE 'R02',   " Material Document
             lc_y   TYPE char1 VALUE 'Y'.      " Indicator for Display material document
    Set mode variable for Good Receipt with Purchase order
      IF i_action = lc_a01 AND i_refdoc = lc_r01.
        gv_grmode = gc_x.
      ELSEIF i_action = lc_a04 AND i_refdoc = lc_r02.
    Set mode variable for Good Receipt with Purchase order
        gv_grmode = lc_y.
      ELSE.
        CLEAR gv_grmode.
      ENDIF.
    ENDMETHOD.
    METHOD if_ex_mb_migo_badi~publish_material_item.
      IF ls_goitem-ebeln IS NOT INITIAL.
    Look for Purchase order number from EKKO and get the Order Type.
    If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
    This method is used to material document display
        SELECT SINGLE bsart FROM ekko INTO gv_bsart
          WHERE ebeln = ls_goitem-ebeln.
        IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
          gv_vend_lot = gc_x.
          IF NOT ls_goitem-zeile IS INITIAL.
            gwa_line_id-low = ls_goitem-zeile.
          ENDIF.
          IF git_line_id IS NOT INITIAL.
            SORT git_line_id BY low.
          ENDIF.
          READ TABLE git_line_id WITH KEY
          low = ls_goitem-zeile BINARY SEARCH
          TRANSPORTING NO FIELDS.
          IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
            APPEND gwa_line_id TO git_line_id.
          ENDIF.
        ELSE.
          CLEAR gv_vend_lot.
        ENDIF.
        CLEAR : gv_bsart,
                gwa_line_id.
      ENDIF.
    ENDMETHOD.
    METHOD modify_mseg.
      DATA : lwa_mseg TYPE mseg.
    Check if buffer MSEG table is not initial
    and mode is GR with PO then only update XMSEG from GIT_MSEG
      IMPORT : git_mseg TO git_mseg FROM MEMORY ID 'GIT_MSEG',
               gv_grmode TO gv_grmode FROM MEMORY ID 'GV_GRMODE'.
      IF git_mseg IS NOT INITIAL
         AND gv_grmode = gc_x.
        SORT git_mseg BY zeile.
        LOOP AT xy_mseg INTO lwa_mseg.
    Identify the record and update XMSEG
          CLEAR gwa_mseg.
          READ TABLE git_mseg
          INTO gwa_mseg
          WITH KEY zeile = lwa_mseg-zeile BINARY SEARCH.
          IF sy-subrc EQ 0.
            MODIFY xy_mseg FROM gwa_mseg
            TRANSPORTING zvendlot zcoo WHERE zeile = gwa_mseg-zeile.
          ENDIF.
          CLEAR lwa_mseg.
        ENDLOOP.
    Reset buffer table and mode
        REFRESH git_mseg.
        CLEAR gv_grmode.
      ENDIF.
    Free memory ids
      FREE MEMORY ID : 'GIT_MSEG',
                       'GV_GRMODE'.
    ENDMETHOD.
    4. Now go to the function module MB_POST_GOODS_MOVEMENT andcall the method modify_msegfrom the implemented class ZCL_IM__MB_MIGO_BADI.
    ENHANCEMENT 110  ZENHIMPL_MM_MB_MIGO_BADI_MB.    "active version
    Data declaration for badi method
      Data : lo_ZCL_IM__MB_MIGO_BADI TYPE REF TO ZCL_IM__MB_MIGO_BADI.
      CREATE OBJECT lo_ZCL_IM__MB_MIGO_BADI.
      if sy-subrc eq 0 and xmseg[] is NOT INITIAL.
        CALL METHOD lo_zcl_im__mb_migo_badi->modify_mseg
          CHANGING
            xy_mseg = xmseg[].
      endif.
    ENDENHANCEMENT.   
    Regards,
    Dhirendra Pandit

  • Required BADI to add custom fields in the Basic Data screen in MM01

    Hi,
          I got a requirement like this. I have to add 3 custom fields and one button in the standard transaction i.e., MM01, MM02, MM03. There is one field like producu heirarchy in the Basic Data in that field i will enter some values i want to display the description of those values in the corresponding field for that i need to create 4 custom field. We can create this by breaking the Developer Access Key but instead of that can i get any BADI to add the our custom code to display those fields. I want to add those fields in Basic Data View in the transaction MM01, MM02, MM03. I serached in SPRO but i couldn't find the respective BADI.
    Pls suggest if any BADI is there for this.
    Thanks in advance.

    Hi,
    The list of BADI's are as under
    WRF_DISCONT_PARAMS_I                    BAdI: Parameters in Fashion Discontinuation
    WRF_DISCONT_FACT_E                      BAdI: Follow-Up Actions in Discontinuation
    WRF_DISCONT_CHECKS_I                    BAdI: Scope of Check in Material Reorganization
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD                          BAdI for Article Hierarchy Connection
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS                    Check Material for Use in iPPE
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD                        Integration of New Objects in Material or Article Maste
    BADI_MATERIAL_CHECK                     Enhanced Checks for Material Master Tables
    BADI_GTIN_VARIANT                       User Exit for Customer-Specific GTIN Variant Check
    BADI_EAN_SYSTEMATIC                     BAdI for Internal Control of EAN Logic
    Regards,
    Surinder

  • Table Extension custom fields in SRM 7.0

    Hi SRM Experts,
    I'm struggling with adding data into a table extension that I created on Confirmations. (SRM 7.0)
    I followed the suggested steps to add a table extension:
    1) SPRO->SAP SRM->SRM Server->Cross-Application Basic Settings->Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data -> Define Customer Table Extensions on Item Level.
    2) I created the two structures (INCL_EEW_PD_HEADER_CST and INCL_EEW_PD_HEADER_CST_CONF) and added the custom fields.
    3) I set the visibility of the table extension and created the entries with TICUS.
    4) I configured control of fields of table extensions.
    5) I configured control of actions for adding a row (ADD_TICUS)
    6) I added the custom fields in SM30 to table /SAPSRM/V_MDFSBC_DEFAULT
    The table extension is visible on the Confirmation screen but the custom fields are not editable and I'm not able to fill in data into them.
    When I click on the add row button, a row is added to the table but the fields are still uneditable.
    I need to populate this table extension with some data before it gets displayed to the user, and then the user needs to complete the empty custom fields.
    I tried to add data to BBP_PDICF, but it still does not appear in the table extension.
    Please can someone give me some guidence?
    Regards,
    Andrew

    Hey Andrew,
    Please let me know how you rectified the issue?
    Are these the steps to be followed? Even I need to add  a table in the header level of PO document.
    Please share your experience.
    Kind Regards,
    Gayathri

  • WDA Leave Request -- Hide Customer Field in Confirmation Popup

    Hello folks,
    System Information:
    NW AS 7.03 ABAP Stack 731 Level 11, ECC 606 (EHP 6) with SAP_HR 604 Level 73 and EA_HR 607 (HR-Renewal 1) Level 24
    Background:
    For Our WDA Leave Request application, our special department has requested to provide certain additional fields for particular Leave Types, all in all these are three check boxes and one Link-To-URL-UI. I have created these fields, or rather configured them via IMG Customizing Tables V_PT_FIELD_SEL / V_PT_FIELD_SEL_C, using the ten standard customer fields provided by SAP CUSTOMER01 - CUSTOMER10.
    After making the subsequential customizing configurations, I have enhanced the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQ" to change the respective fields' UI-Type from "Inputfield" to "Checkboxgroup" and "LinkToAction". So far so good; it's nothing fancy and everything works out the way it should.
    Problem:
    Our special department has recently noted, that the Link-To-Action provided is also taken into account by the Confirmation Dialogue Popup-Box and correctly set read-only like any other field as well. However, the fact that this read-only-link is then also shown in the Popup-Box is confusing to some users and should therefore be hidden. My plan was to enhance the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQDIALOG" and simply set the field CUSTOMER01(that's the one field I use for the Link-To-Action-UI) invisible and that's exactly what I did. But look what the effect is:
    You can see behind the lightbox in the Form, how the field is usually displayed in the Form-UIBB. What I "achieved" now, though, is, that only the lable is hidden in the Popup-Box through my enhancement in "HRESS_CC_GUIBBF_LEAVREQDIALOG" and the LinkText is still visible.
    What I did so far / Question:
    So... I went ahead and debugged the feeder class CL_HRESS_PTARQ_LEAVREQ_GUIBBF. I found out that in the Methods "FIELDS_SHOW_HIDE_CLEAR" and "FIELD_SETTING_BY_CUSTOMIZING" I would theoretically be able to manipulate the visibility, but:
    This would mean I'd have to create overwrite-exits, which I would like to avoid, because maintenance is a pain.
    Manipulating the process flow here probably has side effects on the field control of the overall application which must not happen. If I'm extremely unlucky it might even effect the data flow.
    This brings me to my ultimate question: How do I make a field from this Confirmation Dialogue Popupbox cleanly disappear/invisible in a super-duper-elegant way without using a sledgehammer? Maybe there is a customizing-way I have overlooked so far? (please?)
    Cheers, Lukas

    Hi Samuli/Yugandhar,
    what you suggest is exactly what I did:
    My plan was to enhance the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQDIALOG" and simply set the field CUSTOMER01(that's the one field I use for the Link-To-Action-UI) invisible and that's exactly what I did.
    The only derivation from your suggestions is that I didn't make a deep copy but an enhancement instead, which Creates a delegation Object that automatically inherits from the standard CC. Technically a copy or an enhancement do exactly the same but maintenance is a lot smoother for enhancements, that's why.
    Cheers, Lukas
    P.S. @ Yugandhar, nice to see you are still around! Indeed I'm primarily occupied with the module FI-TV, that's why I'm only wandering around the ESS/MSS subforums now and then.
    Message was edited by: Lukas Weigelt

  • Limitation on Adding custom fields into VBAP (Updating from BAPI )

    I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
    in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
    bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
    But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
    is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
    Please help

    Dear All,
    Good Morining.
    The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining  roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
    Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
    Thanks and Regards,
    Nishita Salver

Maybe you are looking for

  • 12 inch Mac Laptop G3

    I have a couple of questions. My parents just received as a present an older mac laptop. It is a 12 inch 800Mhz G3 with 128mb of ram. Two questions 1. It has a airport card. Does that have WPA capability or is it only capable of WEP? 2. They have OSX

  • Component to display HTML

    is there any Swing component available from third parties which handles html in a better way. i know JEditorPane is available but it onlyhandles simple tags and couldn't handle style tags and javascripting and other advanced html features also if the

  • Creating a Query to Change Price

    Hi, I have created a query to change the price in the Sales Order that looks like:    SELECT CASE A WHEN COND1 THEN 120.0 ELSE $[$38.17] END FOR BROWSE This means, when A <> COND1 I want the existing price ($[$38.17])to be maintained (no modification

  • How to open the project?

    how to open a src folder to a new project in jbuilder6? thanks in advanced

  • New Window command always gives a window within a window

    Whenever I do "New Window" in Firefox, I get a "window within a window" (the two X's at the upper right are on top of each other) and I get a "Firefox v" orange tab (which gives a two column menu). I can't seem to get things to work the old way where