Change in mseg table field prctr & pprctr (profit center & part. prft center) during pgi (vl02n) in case of stn

Dear sir,
i want to change in profit center & partner profit center at the time of PGI (vl02n) in case of stock transfer
for that i m using MB_DOCUMENT_BADI badi with method MB_DOCUMENT_BEFORE_UPDATE
but
there is no effect in table field mseg-prctr & mseg-pprctr
want to change
if prctr = 1200 & pprctr = 1800 then change pprctr
                          pprctr = 1900
pl. suggest me what to do .
i have check scn discussion but i did not get suitable point to implement.

Hi
Check before SAP Note 978159 - Problem with profit center determination
I hope this helps you
Regards
Eduardo

Similar Messages

  • Changing LOV's  table-field size

    Hi,
    I'm using Jdeveloper 11g.
    Knowing that the tag below is used in LOV, Now I need to know how to change the LOV's table-field sizes? (I'm using the model-based LOV, and it's reading the attributes from the view object)
    <af:inputListOfValues
    model="#{bindings. .listOfValuesModel}"/>
    I need to customize the size of LOV's table-field manually, or based on the attribute's UI hint.
    To do so, I have written the code below in the backing-bean:
    RichInputListOfValues lov = (RichInputListOfValues)launchPopupEvent.getComponent();
    FacesCtrlLOVBinding.ListOfValuesModelImpl lovModel = null;
    lovModel = (FacesCtrlLOVBinding.ListOfValuesModelImpl) lov.getModel();
    TableModel tm = lovModel.getTableModel();
    java.util.List<oracle.adf.view.rich.model.ColumnDescriptor> l = lovModel.getItemDescriptors();
    But the "ColumnDescriptor" is an abstract class, and I cannot customize the size of the table.
    I need to know if it's possible to do it or not?
    Thanks in advance,
    Shadi Khani
    Thank you in advance,
    Shadi Khani
    Edited by: ShadiKhani on Aug 10, 2010 6:07 AM

    Hi ,
    i Know my answer is too late , just today i see the post .
    You can change content Size for LOV by going to look up view object --> then to attribute ---> UI hint ---> form UI hint but the size of component in "Dispaly width"

  • Badi/exit for BAPI_PROCORDCONF_CREATE_TT   MSEG table update

    Dear Experts,
    I want to modify MSEG table field in bapi BAPI_PROCORDCONF_CREATE_TT.
    When I pass parent_id data for Goods movement to this bapi, the bapi clear the parent_id data and after confirmation, MSEG tables parent_id field is blank.
    I have debug this bapi and the reason is AFFW table. In the AFFW table has only line_id field. No parent_id field available in AFFW table.
    Goods movement data move through MOVE-CORRESPONDING statement from goodsmovement to AFFW.
    So I want any BADI or Exit used by this bapi to change the movement data.
    Regards,

    Plz reply,
    I also want to modify/populate the AUFM table, is there any way to populate MSEG and AUFM table.

  • PO no is not updateing in MSEG table for transfer posting wrt PO

    Hi All ,
    PO number not updateing  in MSEG table field EBELN for transfer posting with reference to PO . What should be the reason . This is for subcontracting process .

    Hi Raghavendra Balegar
    If u r doing through scheduling agreement then it will not sit in MSEG. only if u doing through standard PO i.e. NB then only u can view the data of PO in MSEG.
    Regards
    Ram

  • Which table field I can confirm if the PO has done invoice receipt

    Hi,
    From which table field, I can confirm the PO has done invoice receipt. and in case of that with reference a PO, I have done the IR, but it was reversed, which means PO has not done invoice receipt.
    For this case, I don't want to read table EKBE to retrieve the invoice number, the read table RBKP to judge if there is a reverse IR for it.
    If there any status table field which indicate if the PO has done invoice receipt.
    Many thanks,
    Aries

    Hi Raj,
    For invoice receipt and credit memo, EKBE-BEWTP is all set with 'Q', so if there is reversed invoice. Also you can retrieve data from EKBE. But actually the PO also needs a invoice receipt. So it can not meets the requirement.
    Regards,
    Aries

  • 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

  • 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.

  • Update Consumption posting field of MSEG table control

    Hi,
    We have free goods Sales order type(ZKFC) and reture(ZKFR). We post
    the free goods delivery update G/L is correct in FI document of MM
    movement(601). We post the return free goods delivery update G/L is
    incorrect in FI docuemt of MM movement(653). We checked the MSEG table
    found the Consumption posting field(MSEG-KZVBR) is empty for free goods
    delivery post. The Consumption posting field is 'V' for return free
    goods delivery post. The other order delivery post and return delivery
    post is OK.We want to know where configuration can control the
    Consumption posting field((MSEG-KZVBR)) update at MSEG table? Could you
    pls help us check it.Thanks.
    Movement type(601) FI docuemnt
    Dr: Sales Promo. Mat.
    Cr:F/G-Trading
    Movement type(653) FI docuemnt
    Dr: F/G-Trading
    Cr:Std.Cost-Trading
    We expected the 653 FI docuemtn
    Dr: F/G-Trading
    Cr:Sales Promo. Mat.
    Best Regards
    Park Han

    Hi,
    You can use tcode OMJJ to check for movement type 653, then look at the Account Grouping.
    There you should be able to identify the line that meets the posting, and since the Consumption is 'V', the Acct. modif should be VAY.
    Then to assign the correct G/L in tcode OBYC, look for combination of
    -event GBB
    -acct mod VAY
    -valuation class of the material
    But before you replace the G/L, confirm that the line is the correct one by matching the GL in MSEG and this line's GL.
    Thanks

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • 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.

  • Tracking the changes made to the custom table  field value

    Hi all,
           can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
    Example: if i changed the  value of field  'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.

    -> try TA: SCU3
    regards Andreas

  • Info. / Doc. on Changes to Standard SAP Program, Tables, Fields in SAP 6.0

    We are in the process of upgrading our SAP from 4.6c to 6.0 and I am looking for a document or white paper that summarizes changes to Standard SAP Programs, Tables/Fields, Function Modules etc.. from what used to be in SAP 4.6c to what it is in SAP 6.0.  I am not sure if such a comprehensive document exists or is posted in the forum.
    Any help or information in this regard will be highly appreciated.
    Thanks
    ram

    Hi Ram,
    <<   We are in the process of doing our technical upgrade from SAP 4.6c to 6.0. I am looking for a white paper or documentation listing the changes made to the standard SAP Programs, Tables, Fields, Function Modules etc. from Rel. 4.6c to 6.0. >>
    Do you want to know what custom changes were done to SAP standard objects in your system or do you want to know what changes SAP did from 4.6c to ECC6.0.
    There is no white paper or documentation to find out custom changes made to SAP standard objects. but there were many tools in the market to find out and tell what changes were done to sap standard objects in your system.
    Your question seems ambiguous please clear it.
    Thanks,
    Kiran.

  • Cannot Make changes directly to table's field data

    I need to make changes to table e.g ekko but when I enter table, the change option is in display mode and I cannot make direct changes to the table. I need to update some data in a field. I checked other tables as well, but all have change option as display.
    Is there any settings required to get the table in change mode?

    >
    Sankaran M wrote:
    > Hi,
    >
    >    It is just modification of table directly through program and SM30 but must be very very very careful.
    > You cannot modify standard SAP table directly but you can generate the table maintenance view to modify it.
    >
    > 1)       Use SE11 to generate the view of the table. It will prompt you to generate what type of view. Select Maintenance
    >
    > 2)       At Menu tab u201CUtilitiesu201D, select Table Maintenance Generator. It will bring you to another screen for dialog maintenance. You must select fill-in functional group and authorization group for authorization control in the user profile if you want.
    >
    > 3)       After this, you can use SM30 to maintain the table directly or create a Tcode for user to maintain it.
    >
    > Regards,
    > Sankar
    I dont understand what to do in point 1, how to generate view of table, can you make it little easier to follow. I tried database table i.e. ekko and when I click change it asks access key, which I dont have as I guess I have to get it from SAP..
    Edited by: Afshad Irani on Aug 17, 2010 12:30 PM

  • BAPI_GOODSMVT_CREATE ---- need to update custom field in MSEG table

    Greetings all,
    I'm using 'BAPI_GOODSMVT_CREATE' to create goods movements. also I need to update one cutom field(z-field) in MSEG table. Could anyone please advice how can I update the custom field thru EXTENSIONIN.
    thanks in advance.

    see the help
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
    Regards
    Kiran Sure

  • Creating Change Document for Custom Field in Table PROJ

    Hi,
    We have a few Custom Fields in Table PROJ.
    What needs to be done so that every time a particular custom field  is changed, change document in table CDHDR and CDPOS are created.
    Regards,
    Tarun Bahal

    Hi Tarun,
    Please refer [Link1|https://help.sap.com/saphelp_nwmobile71/helpdata/en/2a/fa018f493111d182b70000e829fbfe/content.htm] & [Link2|http://help.sap.com/saphelp_erp2005/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm]
    Hope this helps!
    Regards
    Shital

Maybe you are looking for

  • Check for entries on the selection screen

    if one of the select options is obligatory with no default value then the radio buttons does not work. Can anybody please let me know why. it is the same if i dont make the field obligatory but write code in at selection-screen on block with a error

  • BW performance

    Hi All, I am facing a performance related problem. We had a recent hardware upgrade . before the upgrade , during the non peak hours the CPU idle time was 95 % but now  (after upgrade) even though the data load and query load remains the same , the c

  • OVS Question

    Hi all. I wanna know how to change the language of the labels and column names of an OVS. When i change the browser language it chage its title and the button text, but doesnt change the labels neither the column names. I wanna know if its possible t

  • ITunes 9 with Windows 7 (both 64-bit) - Error using my Ipod touch 1G

    Hello, Lately, I've installed windows 7(x64) on my computer (Free update from vista to windows 7 ). Ever since, my Ipod can't be used on my computer anymore. When I connect my Ipod on my computer, it says that he's installing drivers for my Ipod, but

  • How do I update to 6.0

    I've got an AppleTV model MD199LL/A running 5.3(6105).  I think it's an third generation, but it can find that in the About or General section When I go to General > Update Software I get a message saying "Your Apple TV is up to date." So can how can