Updating custom mseg fields from CO11N screen

Hello all,
When i save an order from co11n screen, it creates a record in mseg table.
I created some custom fields in mseg table and i want to fill them during this co11n screen fills the mseg table, but i couldnt find the correct user exit or enhancement.
Someone has done this before?

Put some debug statement and check the root cause.
http://oracleanil.blogspot.com/2009/04/favourite.html
And if you are running page locally then use
System.out.println("Test");Thanks
--Anil
http://oracleanil.blogspot.com

Similar Messages

  • Issue in Updating Customer specific fields in WBS using BAPI_BUS2054_CREATE_MULTI

    Hi Experts,
    I am able to create the WBS element using BAPI_BUS2054_CREATE_MULTI.But the issue is i am not able to update customer specific fields even after passing the fields as per specification in Function module documentation. I have also created an implementation of BADI  as per below specification in FM documentation:
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed,
    for which you want to enter customer-specific table enhancement fields, add a
    data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the
    keys that identify the table rows and then with the values of the
    customer-specific fields. By structuring the container in this way, it is
    possible to transfer its content with one MOVE command to the structure of the
    BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields for
    which the respective update indicator is set are changed). Therefore, even if
    you only want to change one field, all the fields that you transfer in
    ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI
    BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered
    values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the
    BAPI is processed further (if you only want to transfer the fields of the CI
    includes, no more action is required here).
    But still i am unable to update fields though i am able to create WBS with rest of the fields except  custom fields.
    I am using attached code to achieve this.Do we need to code anything inside method create_exit1 or create_exit2 implementation for BADI or
    Please help on priority

    Hi Rahul,
    First observation from your code is that i could not find the assignment for the field
    GWA_WBS_EXTIN-STRUCTURE. I hope you are not filling this field, that could be one reason for failure. Try to do it and let us know if you still have the problem.
    Br..
    Dwaraka

  • Correct process for updating CRM Z fields from ERP Z field.

    I currently have an accounts block with a field (Region) which has a drop-down list box containing values, plus another field containing the description/name of the region. Based on other fields within this same block I need to replace the Region and its description with a single value which should be sourced from an ERP Z table, or joined Z tables if I include the description as well.
    I believe that I know how to change the attributes of the Region field using the AET, although I can't see anything which displays or allows me to displable the drop-down list of values, although I'm sure I've seen a video demonstrating the AET being used to create a list of lookup values.
    Anyway, what I need to do is to change the Region field, making it and its description field Read-only, remove the list of values option so there's no drop-down list box against the Region field, and also update this field from an ERP Z field. Can this all be done using either the AET or EEWB, or is there some code required to be manually entered, and if so, what transactions need to be used to do this?.
    Any help would be much appreciated.
    Jason

    MIcha,
    With regards to youe 9 steps that gave.
    I am looking at component BP_ADDR and view BP_ADDR/StandardAddress. However, there are no enhancements shown when I click on the [Enhance Component] button. So I assume that I need to create an enhancement in order to change the code. Does this enhancement create am implementation or does it create replacement code?. The reason for asking this is that the code shown against the View_controller->Content->Content_Nodes->STANDARDADDRESS->Attributes->STRUCT.REGION->GET_V_REGION method is as follows::
    METHOD GET_V_REGION.
      DATA:
        lv_fieldname            TYPE name_komp,
        lt_fieldname_additional TYPE crmt_attr_name_tab.
      lv_fieldname = 'COUNTRY'.                                 "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      lv_fieldname = 'COUNTRY_TEXT'.                            "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      lv_fieldname = 'REGION_TEXT'.                             "#EC NOTEXT
      INSERT lv_fieldname INTO TABLE lt_fieldname_additional.
      CALL METHOD cl_crm_uiu_bp_cust_get=>GET_VHELP_FOR_REGION_VATTR
        EXPORTING
          iv_index                = iv_index
          it_fieldname_additional = lt_fieldname_additional
        RECEIVING
          rv_valuehelp_descriptor = rv_valuehelp_descriptor
        EXCEPTIONS
          OTHERS                  = 0.
    ENDMETHOD.
    The above call gets the value helps and if I replace this code how can I also ensure that the value-help pull down icon does not appear next to the Region field, as all I'm attempting to do here is replace the code. In other words where do I update the screen to say that this field is no longer a value help field?. I wondered if this code actuallypoints the pull-down icon next to the Region field, although I suspect all it does is physically display the list of values and allows you to select one.
    So, I need to determine how I can create an enhancement. I've just been trying different things in the BSP_WD_CMPWB tranx but have not found out yet how this is achieved, although I think this is achieved via the creation of a new View set, but am not 100% sure.
    Jason

  • Does Sap automatically updates customer credit limit from Financial Doc?

    Hi Everyone
    Does the Sap automatically updates the customer credit limit from the Financial document(Letter of credit) assigned to particular sales order.
    I actually want to know that how can i configure the control at delivery order if i assigned the financial document at sales order.Does the system automatically creates or updates the credit limit of that customer to control over delivery order.
    If yes then how and i only want to handle credit management in the case financial document(letter of credit).
    Regards;Vijay Kumar

    Hi,
    Hi,
    yes it does.
    Note some important points
    Inautomatic credit control field "No Check field", you can enter the number of a requirement with which you can control when credit checks are not carried out. You can deactivate some or all checks. This allows fine tuning on an individual basis for defining credit-relevant transactions and when credit checks do not need to be carried out.
    A check should be made to see whether the payment guarantee form has changed (letter of credit, payment card). If the payment guarantee form has not changed and if the old net value does not exceed the new net value, then no credit check is carried out.
    refer these book also
    McGraw.Hill.Implementing.SAP.ERP.Sales.and.Distribution
    TSSD40_3
    GTS100
    also check wiki also
    Thanks
    Chidambaram

  • Add Suitability field in CO11N Screen.

    Dear Sap Gurus,
    I am doing shift wise production order confirmations.Right now i am using CO11 transaction and in that i am using
    suitability(AFRUD-QUALF) field to enter shift.
    But now i want to use CO11N transaction for production order confirmation,but in that screen there is no suitability(AFRUD-QUALF) field to enter shift.I am new in SAP so please guide me how to add SUITABILITY(AFRUD-QUALF) field in CO11N transaction.
    Regards
    Shankar

    Hi
    SAP offers enhancement package for shift wise confirmation.
    ECC6.0 use enhancement 3.0
    Customizing for Shop Floor Control under Operations - Confirmation in the IMG activity Define Confirmation Parameters. (OPK4 transaction)
    In the proposal field in the shift area on the Individual Entry General tab. page, you specify which shift the system is to propose (set as the default value) in a confirmation.
    After implementing the package go to OPK0 transaction, In default tab, shifts fields will be there.
    Regards
    Ganesh.M

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • How to remove fields from Standard Screen

    Hi,
        I Have faced one problem in screens(se51). When apply one SAP Note i have to change the screen manually(as per Note ) . My requirement is to remove some text fields and label fields. But I cant delete the Fields.
       Normally just select the object and Press delete Key to remove one object from screen. But here it is not working.
      How can i remove the objects from the screen as per SAP Note.
    Thanks in Advance,
    WIth Regards,
    Neptune.M

    Hi,
    T.code SHD0 helps you control which fields to appear, suppress and make mandatory in Standard Screen.
    refer
    https://forums.sdn.sap.com/click.jspa?searchID=4359065&messageID=2961760
    Regards

  • How to Move a field from Header Screen to Overview Screen in SRM 7.0

    Hi,
    I  have a requirement to move a Standard field Service Date from Heder Screen to Overview Screen in Invoice in SRM 7.0. Please let me know how to do it. Both screens are Standard Web Dynpro Components.
    I appreciate your help!!
    Thanks,
    Monica

    Jay,
    Thank you. My problem has been resolved.
    Thanks,
    Monica
    Edited by: Monica Tubati on Mar 1, 2010 11:23 PM
    Edited by: Monica Tubati on Mar 1, 2010 11:24 PM

  • Reading contents of a field from a screen

    Hi all,
         Is there a way to read the contents of a field in a particular screen. I want to read the data entered into  a particular field on a screen into the BADI and implement the logic based on the contents of the field.
    Thanks.
    Neha.

    Hi,
    You can use following code
    data: it_dynpfields type STANDARD TABLE OF DYNPREAD,
          wa_dynpfields type dynpread.
    wa_dynpfields-fieldname = 'CURR_PHASE'.
    append wa_dynpfields to it_dynpfields.
    CALL FUNCTION 'DYNP_VALUES_READ'
      EXPORTING
        dyname                               = SAPLCRM_1O_MANAG_UI
        dynumb                               = "<screen number where field is defined>
    *   TRANSLATE_TO_UPPER                   = ' '
    *   REQUEST                              = ' '
    *   PERFORM_CONVERSION_EXITS             = ' '
    *   PERFORM_INPUT_CONVERSION             = ' '
    *   DETERMINE_LOOP_INDEX                 = ' '
    *   START_SEARCH_IN_CURRENT_SCREEN       = ' '
    *   START_SEARCH_IN_MAIN_SCREEN          = ' '
    *   START_SEARCH_IN_STACKED_SCREEN       = ' '
    *   START_SEARCH_ON_SCR_STACKPOS         = ' '
    *   SEARCH_OWN_SUBSCREENS_FIRST          = ' '
    *   SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
      tables
        dynpfields                           = it_dynpfields
    EXCEPTIONS
       INVALID_ABAPWORKAREA                 = 1
       INVALID_DYNPROFIELD                  = 2
       INVALID_DYNPRONAME                   = 3
       INVALID_DYNPRONUMMER                 = 4
       INVALID_REQUEST                      = 5
       NO_FIELDDESCRIPTION                  = 6
       INVALID_PARAMETER                    = 7
       UNDEFIND_ERROR                       = 8
       DOUBLE_CONVERSION                    = 9
       STEPL_NOT_FOUND                      = 10
       OTHERS                               = 11
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    hope it helps

  • Can I update Customer specific fields with BAP_PO_CHANGE

    Using 4.7 and APO 4.0. We're having to create multiple schedule lines (EKET) for PO Items for TP/VS functionallity. I've found a neat trick for doing this by using BADI ME_PURCHDOC_POSTED to trigger an FM in a new task.
    This FM waits until PO is unlocked and then uses BADI_PO_CHANGE to "split" the schedule lines. However I'm having trouble finding an easy way to populate new customer (Z) fields on the Schedule Line at the same time.
    Any Ideas??? 
    Thanks
    Charles

    excuse me - I'm using BAPI_PO CHANGE not BADI.
    Thanks again

  • BP extend : how to use FM to update customer specific fields ?

    Hello
    I'm working on a CRM 2007 project and for customer needs, the BP data have been extent with specific fields using EEWB. So specific FMs have been automatically generated to manage the specific data. We want to use these FM to maintain the values of the specific fields. In the EEWB transaction, in the Task BUPA_API for the specific object, 2 FMs have been generated : ZZ1XO_BUPA_MAINTAIN and  ZZ1XO_BUPA_MNTN_ALL : we suppose we have to use these FMs to update the values fo this object. This object (customer specific data) is time dependent with gaps and multiple instance. We tried to use these 2 FMs to update values but it does not work : anybody has already used this kind of FMs ?
    Thanks to all.

    Jerome,
    Normally I use the FM modules generated by the EEWB that contain API to update the data.  However keep in mind if this is a Z-Table and you don't like what is provided, then add your own BAPI modules to the BDT function group to update the data.
    Take care,
    Stephen

  • Copying fields from one screen to another

    Hi All,
    I want to move data from one field of a program to another field of a different program.  I mean, I have a date field (this field i will fill with the current date or any other date value) in my program.  This field is a parameter on my screen.  Now in my program I am calling a transaction, which opens up a new program with new screen.  I want to pass my date value to this new screen.  Is it possible to do that? Pls explain with an example.  Greatly appreciate that!
    Thanks in advanced!

    http://www.erpgenie.com/abap/bdc.htm
    http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
    http://www.savefile.com/files/155321
    http://www.savefile.com/files/155324
    http://www.savefile.com/files/155326
    Regards,
    Abhishek

  • Add new field in CO11N Screen

    Dear Sap Gurus,
    My client needs to enter shift wise production through CO11N.
    In CO11N there is nor field in which i can enter shift,thats why i want to add field Shift in that transaction.
    I am new in SAP so please Guide.......
    Thanks
    shankar

    Hi,
    Refer this link
    Re: Shift usage in confimation.
    If you not using ECC 6 enhancement 3 then use screen exit CONFPP07 .
    Through this you can create screen in Co11n
    Regards,
    Vishal

  • RESCIS - Unable to select custom report from Selection Screen

    Hi all,
    we have developed a custom report for transaction "RESCIS-Evaluation of service charge settlement" but we have found that althought the report appears in selection screen field called "REPORT" it throws message RESCIS003 but the report is not shown.
    If we doesn't fulfill report field in selection screen, the program shows a second screen where a couple of ALVGrids are shown allowing the user to select the report that will be displayed. Here we are able to select our custom report and the data in it is displayed.
    We have analyzed the standard program that is executed via transaction RESCIS and we've found that the selection screen executes standard function RESC_GUI_ANYREPORTS_APPL that doesn't executes reports dinamically but statically. That means that SAP doesn't allows to execute custom reports directly from selection screen.
    I think this is a SAP error but afert opening an OSS message SAP sais that is not an error but a bad configuration or lack of knowledge for customizing it.
    Has anyone developed a custom report for RESCIS transaction?

    Hm what exactly did you want to change? Normally it is in REFX cases you should not copy standard REPORTS. In your case with transaction RESCIS, I myself do not see any need to add any functionality in this report because it is only a sum of all lists from your service charge settlement. What else do you want to see there?
    For displaying new fields in the separate lists maybe there is some BADI for it.
    Regards
    Michael

Maybe you are looking for

  • While doing the goods issue system is thruoghing an erro message no VL621

    hi , actually while doing the goods issue we had put a validation if that filed(serial number) is not valid.like AVAILABLE then the system has through to an error message.but after that error message system is throughing an nother error. Risk of post

  • Discussion forum

    Hi i want Last Updated post always on top by default, please suggest how to do. on the discussion form there are option like sort of Author of last post, Date and time of last post. But it isnt helping much. First sort is always happeing with Discuss

  • Weblogic for Redhat Linux 5

    I am new in weblogic . During the configuration, it let me to select development mode and production mode. What's the different between the 2 mode? Thanks.

  • SAP Lumira server refresh

    How does data refresh work for SAP lumira server for UNX /SQL data sources? Do we need to publish new datasets manually or server has direct DB connectivity ( similar to BO universes). The details around data refresh is bit thin around SAP Lumira Ser

  • BouncyCastle in Java

    Hi, I developing a project which involve cryptography provided by BouncyCastle. May anyone provides me an example of doing AES symmetric cipher by using the APIs in BouncyCastle? Thanks in advance