MB51 : add field not included in MKPF or MSEG table

Dear.
I need to show a new field in MB51.
This field isnu2019t included in MKPF or MSEG table.
I cannot add it in Customizing , do you know an exit for doing this ?
Thanks.

Hi There,
The reports MB51/MB5B read the data from the tables MKPF/MSEG, so if you wish to add a new field in MB51 you need to add the field into one of these tables. Unfortunately there is no such exit.
For Inventory Management, SAP provides the following customer exits:
MB_CF001 Updating of material document data upon posting
MBCF0002 Filling the item text in the material document
MBCFC003 Maintaining batch master data upon goods movements
MBCFC004 Maintaining batch specifications upon goods movements
MBCF0005 Filling the item data on goods receipt/ issue slips
MBCF0006 Transferring the number of the WBS element for subcontracting
MBCF0007 Posting a reservation
MBCF0009 Filling the Storage location field
IQSM0007 Serial numbers, user exit for goods movements
XMBF0001 Stock determination: - changing the stock determination rule -
         Adjusting the stock determination item table
Kind Regards,
Elaine.

Similar Messages

  • MKPF and MSEG table

    What is diff between MKPF and MSEG table ?

    Dear Balaji,
    In MKPF you will get to know the transaction code which was used for posting the material document.
    In MSEG,you will get to know the the item details from which it was posted along with the quantity and amount in LC.
    Regards
    Mangalraj.S

  • Add field not showing in contacts edit screen

    Trying to add nick names to the contact list in IPhone 6, but the "add field" prompt is not showing. Tips?

    Well first of all PL10 has some addon-issues (I don't think they affect Screen Painter since that is only UI-API but I would not recommend it...)
    Regarding the problem...
    What you should try to do is go to "C:\Program Files\SAP\SAP Business One" (Perhaps "C:\Program Files\SAP Manage\SAP Business One") and delete or rename files "AddOnsInstall.sbo" and "AddOnsLocalRegistration.sbo".. These files controls installed addons on the client, and if you remove them the addon will try to reinstall the addon...
    Also try to go to %temp%\SM_OBS_DLL and delete/rename this as well... Controls versions of the SDK and there might be some left-overs from older versions
    If that not work try to go to the SARI table in the SBO-Common and delete the record regarding the Screen Painter
    If all the fails the old trick to uninstall the SDK, DI-API and client and reinstall them again sometimes solves the problems... (I know... Lots of things can go wrong in SBo and I've seen most of them)

  • Table Maintenance - Add field not in table for display

    I have a Z table which has five fields of which one of them is the GL account field. I need to display the description of the account from SKAT-TXT20 also in SM30 so that In SM30 when the user looks at the table, they should be able to see six fields. I can code the PBO / PAI to pull data from the table, but am not sure how to enhance the table control that SAP generates automatically when you generate table maintenance from SE11's Table Maintenance generator so that the sixth field can be displayed.
    Thanks

    Hi,
    I hope below solution will work for your problem:
    to update field based on other fields of the same table follow below path and create a routine.
    go to se11 open the Z-table in change mode > utilities> table maintenece generator- and then
    environment> modification> events....
    then creat routine based on your requirement.
    regards,
    munvar.

  • Functional Area field not getting populated in the AUFK table

    Hi Friends,
    The table AUFK is the table for Internal Order master data.
    The issue which we are facing is:
    In a particular Order type, the field 'Functional Area' is suppressed in the field status group for the order master data.
    But the cost centers which are maintained in the order master has the functional area field populated with value.
    In the table AUFK, the functional area field is populated for some internal orders and not populated for others. In all cases it should pick the functional area from the cost center which is maintained in the internal order.
    Please guide us about what can be the possible reason(s) for populating the field in some cases while not populating in other cases.
    Thanks a lot in advance for your help.
    Regards,
    Shilpi

    Hi,
    maintain the functional area in order master data to ensure 100% functional area is available in AUFK.
    I can't tell you the reason why its sometimes appearing and sometimes not bur FUNC_AREA is not picked from responsible/requesting cost center (from master data).
    If in customizing of internal order order types a "model-order" is assigned with maintained functional area, this func_area is taken if you create a new order for this ordertype.
    Best regards, Christian

  • Vendor field not updated in CRM pricing condition table

    Hi,
    We have maintained condition table with Material and Vendor fields in ECC and table is active
    After replicating this table from ECC to CRM, vendor field not updated in table and it is inactive.
    There is any mapping settings required to update vendor field in CRM table from ECC.
    Please help me out to solve this issue
    Regards
    kishore kumar

    hi,  the data field of vendor is a standard one or custimizing one?
    I remeber there is a data mapping setting in CRM, for condition field.   If you want to mapping a ERP standard field to a CRM custmizing one, you need to setting your rule in it.  Maybe you can find it in SM30 view.
    I can't login a CRM system now, so sorry for not offer your the view name.

  • Optimization of Join statement between MKPF and MSEG table for improving pe

    Hi All,
    I had a issue where we are executing one custom report and it is getting timed out after 45 minutes. We further executed with trace on and got to the conclusion with the help of BASIS that about 42 minutes of the 45 minutes tracetime are spent by a join over the tables  MKPF en MSEG.
    This join is done by the abap statement:
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
         AND mseg~matnr = i_list-matnr
         AND mseg~werks IN s_werks.
    Here, I_LIST comprises of stock for specific period as entered in the selection screen for that particular Material and plant
    LV_INTERVAL is range of all goods receipts for material and gv_last_day_fisc_period is current date.
    During the tracetime this statement was executed  more than 20.000 times, until the transaction timed out.
    The individual executions of this select stmnt  varied (roughly) between 50 and 1200 miliseconds. (depends wheter the requested database block is in the buffercache or must be read from disk).
    The acesspath used to execute the query ( see below) is optimal, given the present indexes.
    Index MSEG~M is covering al the specified selection criteria for  MSEG.
    Index MKPF-0 is used  to search the specified MBLNR criterium in MKPF.
    The  remaining selection criteria MKPF-BLART and MKPF-BLDAT are not indexed, and imho this would also not make sense for this query.
    BLART has only 3 different values n the MKPF table, and the selected value 'WE' has more than 1 million occurences.
    BLDAT is selected with =<20110903, so this is not distinctive as well.
    Can any one suggest some better way to write this query.
    Regards,
    Subhajit

    Actually there are 2 select statements where JOIN have been introduced and especially the time out is occurring in the second JOIN.
    Find all goods receipts for material
      PERFORM get_number_range_matdoc USING '03'
                                   CHANGING lv_interval.
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
        AND mseg~werks IN s_werks.
      CLEAR lv_interval.
      PERFORM get_number_range_matdoc USING '02'
                                   CHANGING lv_interval.
    Find all goods issues for material
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_wa
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND ( mkpfblart = 'WA' OR mkpfblart = 'WI' )
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
         AND mseg~bwart NE '561'
         AND mseg~bwart NE '562'
         AND mseg~bwart NE '961'
    AND mseg~bwart NE '962'
    AND mseg~werks IN s_werks.
    Mainly the second JOIN is creating the problem... In the backend ORACLE is being used as database.
    Please suggest how I can improve the performance of these joins as its taking more than 45 mins..

  • Field not being updated in Master Data table

    Hi guys,
    I'm pulling data from master data in BW... specifically 0ven_compc. I haven't added any new fields to this maser data table, and one field that I'm trying to pull is not being populated. In the master data table this field is blank, but in the PSA there are values. Somehow the values are not being loaded into the master data table. I've checked the transfer rules and communication structure and everything looks fine. Why is this happening?
    Thanks,
    Anthony

    Hi Anthony,
    The problem may be that there is an inconsistency with the target master data infoobject. Please make a dummy change to the target infoobject (i.e you can change the description), save this change and then click on the activate icon. Please then check if the field is filled with the next load.
    If the problem still exists please let us know your BI version and support package level.
    Best Regards,
    Des.

  • Procees for upload field in mkpf&mseg table

    Hi friends,
    i had return the code for uploading two fields in mkpf and mseg table  .when i am executing through f8 the updated value is not founding when we checkd through debugging the value is updating and appering in screen plz tell me how i will solve the issue.
    for u r referenece i am sending the code what i had return in logic.
    types: BEGIN OF it_tab,
            prueflos(16) type c,
            MBLNR type mblnr,
            TYP type QAMBTYPE,
            END OF it_tab.
          types: begin of it_tab1.
           include type mkpf.
          types: END OF it_tab1.
          types:begin of it_mseg.
          include type mseg.
          types:end of it_mseg.
    *        end of it_tab1.
         types: ts_tab1 type STANDARD TABLE OF it_tab1.
         types: ts_mseg type STANDARD TABLE OF it_mseg.
         data: ts_tab type STANDARD TABLE OF it_tab,
               wa_tab type it_tab,
               wa_tab1 type it_tab1,
               ts_tab2 type ts_tab1,
               ts_mseg type ts_mseg,
               wa_mseg type it_mseg,
               it_tab12 type  it_tab1 OCCURS 0 WITH HEADER LINE.
           select PRUEFLOS mblnr typ from QAMB
             into table ts_tab  where prueflos = it_final-prueflos
                                  and    typ = '3'.
             if ts_tab[] is not INITIAL.
               sort ts_tab[] by mblnr.
              select * from mkpf into TABLE ts_tab2 FOR ALL ENTRIES IN ts_tab where mblnr =  ts_tab-mblnr.
                if ts_tab2[] is not INITIAL.
                  sort ts_tab2[] by mblnr.
                  select * from mseg into table ts_mseg FOR ALL ENTRIES IN ts_tab2 where mblnr = ts_tab2-mblnr.
                    endif.
                endif.
             loop at ts_tab into wa_tab .
               READ TABLE ts_tab2 into wa_tab1 with key mblnr = wa_tab-mblnr.
               wa_tab1-FRBNR = it_data1-FRBNR.
               if sy-subrc eq 0.
                wait UP TO 2 SECONDS.
              update mkpf from wa_tab1.
              COMMIT WORK .
               endif.
               read table ts_mseg into wa_mseg with key mblnr = wa_tab1-mblnr.
               wa_mseg-sgtxt = it_data1-trucknum.
               if sy-subrc eq 0.
                 wait UP TO 2 seconds.
              update mseg from wa_mseg.
              COMMIT WORK .
               endif.
               ENDLOOP.
    thanks in advance,
    siva
    Edited by: Thomas Zloch on May 13, 2011 1:37 PM - please use code tags

    it is added in bdc code  only.
    now i will explaing proccess of bdc . this is used for converting meterial type from 103 movement type to 105 move ment type so whaterver data they got through 103 movemet type (migo data) they are uploading through xl and uploading through our bdc
    after uploading they are used QA11 tcode .record is done for this after recording completed it is converting 103 to 105 move ment type  and it is displaying message like succesfully proceesed . inthis 105 movement type we are not getting bill of lading no and truck no so i am updating these two field in this table so i done like this so do u get any idea to update the fields in another way means plz help me
    siva.

  • BADI MB_MIGO_BADI not updating custom field in MSEG Table

    Dear Experts,
    I am working on screen exit In MIGO transaction for transfer Posting.
    I checked that BADI MB_MIGO_BADI having facility for screen exit and method line_modify having facility to change GOITEM Structure for the changed line item.
    Now, to make this functionality work I have enhanced include structure CI_COBL which is available in both mseg table and goitem structure, now I have this customized fields on my custome tab through the enhancement and also to update this value 2 custom fields created in goitem structure and MSEG table through include structure  CI_COBL.
    Here my question is at the time of transfer posing creation in MIGO when I am passing the value in custom fields through screen and assigning it to custom fields of structure GOITEM through LINE_MODIFY method, it is giving me below worning message
    BADI: Field GOITEM-ZZIDNLF is not ready for input. (Change is not taken over)
    Now I have debuged the code, also checkout many threads and came to know that because of few checks in standred program (iNCLUDE:LMIGOKL3) these fields will not be updated WHERE IT always checks whether these fields are ready for input or not and if not ready then instead of assigning the values it throws worning message.
    Now can you please through some light how can I go ahead as I have check out many threads and also tried to change value of cs_goitem structure using field symbol but throughing dump that it is blocked against changes through field symbol.
    The helpful answers will be highly appriciated.

    Hi,
    In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
    Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
    Please check the BADI documentation:
    Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
    Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
    Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
    Thanks and Regards,
    Chandra

  • Add field TIDNR to list edit PM reports

    Hi,
    We have a requirement to add field TIDNR (Technical Identification number) from ITOB table into several list edit PM reports (IW28/29/38/39/64 to 69)
    I have read sap note [586523|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=586523] but this relates to adding customer defined fields and amending output structures and as the above field is a Sap standard field is it possible someone could give me some advice on how this could be done.
    Regards
    Gary

    Hi,
    For IW28:
    Create a custom append at the end of structure RIHQMEL_LIST.
    Create an implicit enhancement in the SAP programmes that need the new field (that you will have to find out yourself)
    Roy

  • Drop-down values - get only VALUE, not including its description!

    Hello
    I am developing a VISITOR info adobe interactive form from webdynpro ABAP.
    I have created the context with referring a DDICs custom structure (at this moment there is no child nodes), i put some drop-down (DD) fields on the form and binded with context's attribute. And am populating this drop-down attribute with list values, as below,
        wa_element-text  = wa_DD_entry-zalue.
        wa_element-value = wa_DD_entry-z_value_description.
        APPEND wa_element TO it_elements.
           CALL METHOD node_info->set_attribute_value_set
            EXPORTING
              name      =  'COUNTRY'
              value_set = it_elements.
    When user drops-down the list for this COUNTRY srop-down field, the entries are cisible like below (with VALUE and VALUE_DECCRIPTION),
    US - USA
    CA - Canada
    FR - France
    They are coming into the form okay, but, when user selects any entry, then, as a WHOLE its populating into the drop-down field! say, for example, if user selects FR, the drop-down field is populating with FR - France!!
    But, i want just 'FR' should be populated in the field, not including its description! like our SEARCH HELPS in SAP
    Pls. let me know how can i get it?
    Thank you.

    Tom:
    It's possible, but complicated. You need to look into the field definition where we store the listbox contents. Then you can correlate the display item from the bound item. I've done this before in another context. I've appended the script I used.
    John Brinkman
    http://blogs.adobe.com/formfeed
    function getDisplayValue(vField)
    var vBoundItems = saveItems(vField);
    var vDisplayItems = dispItems(vField);
    if (vBoundItems == null || vDisplayItems == null)
    return vField.rawValue;
    for (var i=0; i<vBoundItems.length; i++)
    if (vBoundItems.item(i).value == A.rawValue)
    return vDisplayItems.item(i).value;
    return "";
    * saveItems(vField)
    * Get the list of items that are bound to the data
    * @param vField -- the list field
    function saveItems(vField)
    for (var i=0; i<vField.nodes.length; i++)
    var vChild = vField.nodes.item(i);
    if (vChild.className == "items" && vChild.save == "1")
    return vChild.nodes;
    return null;
    * dispItems(vField)
    * Get the list of display items
    * @param vField -- the list field
    function dispItems(vField)
    <items>
    <text>aaa</text>
    </items>
    <items save="1" presence="hidden">
    <text>111</text>
    </items>
    for (var i=0; i<vField.nodes.length; i++)
    var vChild = vField.nodes.item(i);
    if (vChild.className == "items" && vChild.save != "1")
    return vChild.nodes;
    return null;

  • Add field with 1

    maybe someone now about elgant way to add field with content '1' to my internal table for all the data i have in table
    ex.
    score***ggg
    1*********23
    1*********32
    1*********25
    1*********23
    regards

    Hi anotonio,
    Here is solution you are for.........
              LOOP AT internal_table INTO work_area.
                 CONCATENATE '1'  work_area-fieldname1 INTO work_area-fieldname1.
                 CONCATENATE '1'  work_area-fieldname2 INTO work_area-fieldname2.
                 CONCATENATE '1'  work_area-fieldname3 INTO work_area-fieldname3.
                MODIFY internal_table  FROM work_area.
            ENDLOOP.
    In this way you acheive, your desired output.
    Reward,if helps.
    Regards,
    V.Raghavender.

  • Custom fields not displayed inside 'Add. fields' tab of KS01/KS02 tcodes

    Hi Experts,
    I have created a new sub screen 0999 inside program SAPLXKM1 . This subscreen is being called from PBO of screen 0399 / 3399 of SAPLKMA1. During cost center creation (KS01) , one new tab 'Add. fields ' has been added but 0999 screen fields are not being displayed (tab page is blank).
    CALL CUSTOMER-SUBSCREEN custflds INCLUDING 'SAPLXKM1' '0999'.
    Enhancement : COOMKS01.
    Please help what i have missed in this enhancement. Please let me know if there is any step step documentation for the same.
    Thanks,
    Arnab

    Hi
    Please check whether
    1. you have added the custom fields and related texts to the subscreen 0999
    2. you  have written code in function exits for data export and import from screen to screen
    Try passing the values to screen by using the below exits.
    EXIT_SAPLKMA1_001              Flow Logic PBO
    EXIT_SAPLKMA1_002              Flow Logic PAI
    Shiva

  • Why the State field does not include "DC"?

    The field for State has a drop down box but does not include DC for the District of Columbia.

    Are you talking about State field in our form templates? Yes, DC wasn't listed, but you can modify forms created from these templates easily. Here are the steps:
    1. Select the dropdown and click on the Pencial like edit button
    2. Mouse over the option "CT" and click on the "+" button to add a new state "DC"
    Thanks,
    Wenlan

Maybe you are looking for

  • I need to upgrade my macbook ram and hard drive pls help

    Hi all, I need to upgrade my macbook's RAM and hard drive as after 3 yrs of use it is showing signs of aging. I am novice in hardware stuff. I am planning on doing it entirely by myself and on tight budget will need to compare the prices across selle

  • N9A2 Platinum, Installing XP Pro, SP2, Cannot find SATA Hard Drives

    I am lost here.  I cannot get the bios to recognize the HDs as SATA drives, and XP Pro does not find the HDs (of course), and I do not know why.  Do I need a SATA driver floppy for the Install Win drivers <f6> ?  I thought not from the other threads

  • Hard drive not mounting to desktop/computer

    I am setting up my AirPort Extreme 802.11 with an attached 300GB LaCie Brick hard drive with iTunes library. I can see that the Brick is recognized in the AirPort Utility > disks page, but it will not load onto my computer and I can not access it. I

  • IPod touches don't connect to home network

    For some time, the two iPod touches in our household have had trouble connecting to our home network.  There have been no problems with other networks. We have a cable modem connected to a Time Capsule, which creates the network, with no extenders or

  • Score & Hyper Draw

    When using hyperdraw in the score editor, the pop up menu that displays cc data does not appear. Anyone else have the same issue?