Find obligatory fields in the transaction MM01

Hi,
My requirement is to create a Z table which will store all mandatory fields from the transaction MM01.
Is there a way to know which fields are mandatory without being in the transaction MM01 or OMS9? In which system table is this information saved?
Regards,
Roberto

Hi,
For writing a substitution exit code you will need the help of your ABAPer.
Use T Code GGB1 to create a substitution. In the application Area select Financial Accounting --> Line item.
Create a substitution for your company code. Under Substitution Create Step. When you click on step it will give you a list of fields in BSEG table. Select field name XREF1 or XREF2 or XREF3 any one. In the next screen select "Exit". In the Prerequisites give conditions as BKPF-BUKRS = 1000 (your company code).
In the Substitution select your exit code against  your XREF1 or XREF2 or XREF3 field.
While writing the exit code you can give the logic as select BSEG-KUNNR and pass to table KNA1. Then populate BSEG-XREF1 with KNA1-NAME1
Save this substitution and activate it in T Code "OBBH"
While writing Substitution exit copy the standard program "RGGBS000" and create your Z program. Write your new code in the Z program. This step should be done before you create a substitution. Use T Code GCX2 and maintain your Z program against Application Area "GBLS".
Also see to it that the Reference Key1 / 2 / 3 field is made optional in all the Posting Keys and Field Status Groups.
Please let me know whether this helps.
Regards,
Swapnil

Similar Messages

  • When am creating the material using the transaction MM01 getting the error

    Hi all,
      Could you please help me to solve this issue, When I am creating the material using the transaction MM01, am receiving the error message "Express document "Update was terminated" received from author "XXXXXXXX", I checked the in SM13 found error message showing in Z_LGPLA_BIN_POSTING.
    Regards,
    Muralikrsihna.

    ST22 Error is : SAPSQL_ARRAY_INSERT_DUPREC, below is full error message
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "Z_LGPLA_BIN_POSTING" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Regards,
    Muralikrishna

  • How to find user exit for the transaction PBAW

    Dear Freinds
                 In Recruitment ....PBAW(Job Advertisements--when we execute the
    transaction PBAW ...we can find create Advertisement...  > here will create posting
    in this screen i have to add a field  Status  . could you please let me know how
    i can add.. Is there any user exit through which i can add a field or there is any way...
    as it is standard..
    regards
    Vamsi.

    Hello Vamsi,
    This might be of help. It is a program to find user exits based on transaction codes. Just install it on your sandbox and see if it works for you.
    http://www.erpgenie.com/abap/code/abap26.htm
    KR,
    Peter Linn

  • Adding a new field to the transaction va01

    Hi,
    I have added a field to the va01 transaction in the "Additional Data B" tab
    by modifying screen number 8309 in program SAPMV45A.
    I have also added a structure in the table vbak for this additional field on the screen.
    But I can not save or display the data in that field.
    Should I give the value somewhere in the code of screen number 8309 or any ohter way of this?
    Regards,
    Utku

    Hi
    When you create your screen use directly the std structure VBAK and VBAP to design the input/output fields.
    So for example if you have added the field ZZFIELD in VBAK, insert it in 8309.
    In this way the standard program VA01'll automatically store your data in your fields.
    So you don't need to write some code to store it, but only (if it needs) some code for validations in the screen flow.
    Max

  • How to add the fields to the transaction 'Z10SD25' using ABAP Query

    Hello,
    I want to add the new fields like 'From' and 'To' depending on some conditiions. But i have to do this using ABAP Query.
    Can any one help me with this as I am not much aware of ABAP Query .
    Regards,
    Darshana

    Hi,
    ABAP/4 query can be designed in four steps
    1.     Creation of a user group
    2.     Creation of Infoset
    3.     Assignment of user group to Infoset
    4.     Creation of the query based on Infoset
    By executing the transaction codes mentioned below
    u2022     SQ01   ABAP/4 Query
    u2022     SQ02   Infosets
    u2022     SQ03   User group
    Step 1: To create an Infoset without a logical database
    One of the following can be selected
    u2022     Based on a single table
    u2022     Using an ABAP/4 program
    u2022     Using Table Joins
    u2022     Using Sequential Dataset
    NOTE: The tables to be used in the join should have at least one field in common i.e. it should have the same name, domain or data element.
    Step 2: Here you specify the users who should be authorized to run the query. A user group is always associated with a Infoset.
    Step 3: In Query Definition you can define the Selections Screen. Here you can check against the fields(fields from the tables specified in the infoset above) that you require to be shown on the selection screen.
    Now we Finally need to specify the output type for the query as Basic List, Statistics or Ranked List. Choose the option Basic List and also select the fields to be displayed in the output list(in your case from and to fields...)
    After providing all the above options you can save the query and execute it by clicking the Execute button twice.
    Hope this helps
    Regards
    Shiva
    Edited by: Shiva Kumar Tirumalasetty on Sep 15, 2009 12:44 PM

  • Is it possible to add new screen fields to the transaction /dsd/sl_cockpit

    HI experts,
          Would like to know if it is possible to add new screen fields to the cloned version of /dsd/sl_cockpit.
          I cloned the original transaction /dsd/sl_cockpit into a diff. name, now I want to know how I can include/ add those new fields to this transaction.  It looks like the screen is dynamically built using Standard ABAP classes. Need help.
    Thanks in advance

    it is not possible to add new fields via badi on /dsd/sl_cockpit.

  • Add field to the transaction variant OT43

    Hello,
    I found the following Note: 2596 but  I can't create a field in Dynpro:  SAPMF40K /8000/220 and I don't  found other options as badi, user exit, enhancement , bte, etc.
    I need to create the following field: FEBMKA-VGEXT_EL on the screens above.
    The transaction OT43 by your program uses T021Q table but  I can't modify the table or add an entry T021Q, because internally the  program   that manages the view of fields for transaction FF67, it executes statements as "DYNPRO IMPORT".
    Another consideration that the transaction OT43 only "shows possible fields"  and I can add other fields to select and add to the view.
    In other words I can select only possible fields proposed Sap to the view,  it works this way ?
    Please could you recommend a Note Sap? or perhaps more likely, a copy of the transaction ff67 and modify the new copy of the screen.
    What happens to the transaction OT43, if done the copy of the ff67 as zff67?
    Waiting for response and very grateful for the suggestions.
    The best regards,
    Gustavo

    Hi,
    Yes, it is possible to add button for the transaction SM30.
    This is possible through Menu exit.
    Procedure for Menuexit:-
    Go to SM30 ->System -> Status
    Repository data -> Transaction -> Double click on it
    Copy package name
    Go to SMOD
    Press F4 then a popup will open
    Click on information system
    Enter package name and press Enter
    Then we will get Exit
    Put cursor on that exit and press Enter
    Go to change mode and save it.
    Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
    Specify Project name in the enhancement text box
    Click on Create icon on the application toolbar.
    Enter description for the project and save it
    Click on Enhancement Assignment button on the application toolbar
    Give Exit  and save it
    Go to Components on the application toolbar
    Double Click on MENUS001
    Write function text which we want to add to menu item and save it with an request      number
    Double Click on Exit and write code there to display menu item in the screen
    Activate the include program and finally activate the project.
    Please reward points if helpful.

  • How can i change to display fields in the transaction WAE01

    Hi friends ,
    I need to change to mode ´Display´ the fields "Generation" ( Waste Generator - BPGEN ) and "Waste" ( Material That Represents the Waste - MATNR ) in the transaction WAE01. I'ts posible ?
    I looked for any settings that would allow me to do this but not found.
    Appreciate all the help they can will provide.
    Thank you.

    Hi !  Amol,
    That is true, but I need those fields are not editable since it started in the transaction WAE01.
    Let me explain because I need to do this, end users often are wrong when capturing data in the fields Generation, Generator and Waste, but if you enter the field Generation and then press <ENTER>, The Generator and Waste fields are completed automatically.
    My idea is to switch to display mode fields Generator y Waste and only allow data entry in the field Generation to avoid entry errors.
    Thank you and I would appreciate your comments !

  • Adding  fields in the  transaction  FS10N ( G/L  Account LIne Item  Display

    Hi all,
    in G/L  Account Balance Display( FS10N)  once i get list display when i click
    CUMULATIVE DISPLAY button it will go to G/L  Account LIne Item  Display list
    Here i have to add CUSTOMER field (sold to party or partner)  And NAME field in
    the list beside G/L account and  company code fileds
    Please let me know how to proceed.
    shall i have to do any back ground setting or
    i have to copy the program in to Z program
    then modify?
    urgent requirement
    please let me know
    thanks

    Hi,
    For writing a substitution exit code you will need the help of your ABAPer.
    Use T Code GGB1 to create a substitution. In the application Area select Financial Accounting --> Line item.
    Create a substitution for your company code. Under Substitution Create Step. When you click on step it will give you a list of fields in BSEG table. Select field name XREF1 or XREF2 or XREF3 any one. In the next screen select "Exit". In the Prerequisites give conditions as BKPF-BUKRS = 1000 (your company code).
    In the Substitution select your exit code against  your XREF1 or XREF2 or XREF3 field.
    While writing the exit code you can give the logic as select BSEG-KUNNR and pass to table KNA1. Then populate BSEG-XREF1 with KNA1-NAME1
    Save this substitution and activate it in T Code "OBBH"
    While writing Substitution exit copy the standard program "RGGBS000" and create your Z program. Write your new code in the Z program. This step should be done before you create a substitution. Use T Code GCX2 and maintain your Z program against Application Area "GBLS".
    Also see to it that the Reference Key1 / 2 / 3 field is made optional in all the Posting Keys and Field Status Groups.
    Please let me know whether this helps.
    Regards,
    Swapnil

  • Need help in Populating a Z-field in the table "MARD"

    Hi Group,
    I have a requirement like as under:
    1)
    Need to add a field in the transaction MM01/02/03 screen in the view u2018Plant data / stor. 1u2019. And this field should go into the table u2018MARDu2019 table, by appending the structure and adding this field details in it.
    2)
    Once I post a value into this field thru the transactions (MM01/MM02/MM03) , I need the value in the screen to be populated into the table u2018MARDu2019 in the Appended Structure field.
    Could you please help me out by getting a proper User Exit or BADI which fulfills the requirement?
    in Summary, please let me know a User Exit or BADI which will update the Z-field of the table 'MARD'.
    Thanks for the help in advance.
    Regards,
    Vishnu.

    please  check , it might help you.
    How to add fields to MM01 Transaction
    How to add a new field in MM01 with CONCEPT as a field?
    How to add a new field in MM01, with say contaminent  as a field?
    HI ALL, How can i add new field in mm01 basicdata1 screen
    Add button in MM01 Transaction
    i want to add the one field in mm01 application how can i add the field?
    If you dont get the answer still , please search the forum you will get many links for your requirement
    Regards
    Satish Boguda

  • 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

  • Adding new custom fields in SAP transaction - PSOBWORK?

    Hi,
    System - ECC 6.0
    I need to add some new custom fields in Contract Object(PSOBWORK). Can any one tell me what are the ways I can do this, and what is the best way to add custom fields in SAP transaction?
    I highly appreciate your help on this.
    Thanks.
    Rajesh

    Hi ,
            There are options like screen-exits ,badis
    the best option would be to find screen exits for the transaction and you code ur logic in the exit and create the screen with your requirement .

  • Validation for a extension field in the BAPI ( BAPI_ACC_DOCUMENT_CHECK)

    Hi,
    I am working on an in terface for upload of data in journal ledger(FB50)
    Actually i need to validate a field which has been included in transaction FB50 as an enhancement based on customer need .
    a function module was created as suggested in note 487722 earlier but now we require to validate that field(transaction type) as i am using this BAPI in an interface for journal ledger posting FB50 for data validation of the file data.
    this field has been populated as a part of the extension parameter in the bapi -
    (( BAPI_ACC_DOCUMENT_CHECK)
    field values for this field have been passed in the business transaction.
    but i am not sure where to code the validation for this field .
    could anybody suggest if we need to do it in include ZXACCU15 .
    if so then how do we populate the values for the return parameter.
    i am post ing document using IDOC and need to generate the for the errors generated.
    it already shows for all the standard fields of the transaction.
    Its a bit urgent,
    help wud be appreciated
    jy

    Hello Jy
    The following coding shows how to evaluate the existence of the transaction type in table T856 and how to create the corresponding BAPI message (using function module <b>BALW_BAPIRETURN_GET2</b>):
    *& Report  ZUS_SDN_BAPIRETURN_GET2
    REPORT  zus_sdn_bapireturn_get2.
    START-OF-SELECTION.
      " Call BTE function within BAPI (actually OPEN_FI_PERFORM_RWBAPI01_P
      " calls the z-function module)
    **  CALL FUNCTION 'Z_FI_INTERFACE_RWBAPI01'
    **    TABLES
    **      c_accit           =
    **      c_acccr           =
    **      c_return          =
    **      c_extension       =
    **      c_accwt           =
    **    changing
    **      c_acchd           =
      " Coding within your BTE function module:
      DATA:
        ls_return    TYPE bapiret2.
    * transaction type
      READ TABLE it_accit INTO ls_accit
           WITH KEY posnr = ld_posnr.
      CHECK ( sy-subrc EQ 0 ).
      ld_tabix = sy-tabix.
      ls_accit-posnr = ld_posnr.
      ls_accit-rmvct = ls_bapi_extension-field3.
      MODIFY it_accit FROM ls_accit INDEX ld_tabix.
    " Validate existence of transaction type
      SELECT SINGLE * FROM  t856 into ls_t856
             WHERE  trtyp  = ls_accit-rmvct.
      if ( syst-subrc ne 0 ).
        " Note: the following IF condition looks apparently strange yet its primary
        "         use is to ensure that the Where-Used-List for message 014(GC)
        "         will find our function module
        if 1 = 2.  MESSAGE e014(gc) WITH ls_accit-rmvct.  endif.
    *   Transaction type & is not defined
        clear: ls_return.
        ls_return-message_v1 = ls_accit-rmvct.  " type conversion
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            type             = 'E'
            cl               = 'GC'
            number           = '814'
            PAR1             = ls_return-message_v1
    *       PAR2             = ' '
    *       PAR3             = ' '
    *       PAR4             = ' '
    *       LOG_NO           = ' '
    *       LOG_MSG_NO       = ' '
    *       PARAMETER        = ' '
    *       ROW              = 0      " ld_tabix
    *       FIELD            = ' '    " RMVCT
          IMPORTING
            RETURN           = ls_return.
        APPEND ls_return TO c_return.
      ENDIF.
    END-OF-SELECTION.
    The advantage of using the function module over directly filling the BAPIRET2 message variable is that the function module generated the message text (field BAPIRET2-message = 'Transaction type '<type>' is not defined').
    Regards
      Uwe

  • How to include Business Place field in the line item for argentinian comp?

    Dear,
    We've just implemented a company code from Argentina, but when we try to post a document, the system doesn't show the field Business place in the line item, so we can't fill this field. This problem is causing some posting errors for us. Is the any way to set this field in the transaction FB01?
    We have already checked the field status for account and posting key. The field is not available is this functions.
    Thanks in advance,
    Leandro Albertini

    Hi Albertini,
    Follow the path as follows and configure the business place for your plant and company code:
    SPRO, Financial Accounting, Financial Accounting Global Settings, Tax on Sales/Purchases, Basic Settings, Settings for Tax on Sales/Purchases in South Korea, Assign Business Place.
    In this activity, you can assign a business place to a plant. The business place is recorded for each posting.
    Please reward points if helpful.
    Regards,
    Sreekanth....

  • Add new field in the report VL06O - List outbound deliveries

    Hi,
    In the report VL06O -> List outbound deliveries, we have to add a new column that will show the INCOTERM (KNVV-INCO1). How can I do that please? using User Exit or a BADI? Which one?
    Thanks in advance.
    Saida.

    Hi,
    Exactly, this is the solution. Thanks a lot.
    In fact, we have to add this field to the structure LIPOV, use the user exit EXIT_SAPLV50Q_001 to get this field. But we must also execute the program BALVBUFDEL to set the system Buffers. Then the field will appear in the list of Hidden fields in the transaction VL06O.
    Saida.

Maybe you are looking for

  • Communication between two Macs Server

    Communication between two Macs Server: Can they work together and communicate and interact normally in a PowerMac network, OS X 10.5.8 Server installed, and a MacPro computer that is running Server 4.0.3 on Yosemite? Had to do some additional impleme

  • ERROR in Scheduling via Transaction-IP30

    Hello Gurus, When I am scheduling the maint plan 1234, system is throwing Error message IP202-Maintenance plan 000000001234 NOT scheduled. I am using following scenario in * ECC5.0*: I've created a single cycle plan 1234, with measuring point as a co

  • Need to create a Web Dynpro Application for SRM Portal

    We need to recreate the start page for SRM Portal - (Supplier Self-Services) - without any images (as was delivered out of the box) - basically we need to break it down into 4 iViews:  All Purchase Orders; All Sched Agreement Releases; All Invoices a

  • How can build help file for right to left and non english language

    hi erverybody, i have a big problem ,please help me i creat a c# appliction with vs.net2005 and i want to write help file for it .i need a software to creat help file for non english language(such as persian or arabic) and right to left support . i t

  • Unable to set parent context for this record.

    Has anyone seen this error when doing an import? In my case I was doing an import to the Opportunity Product record. the full error message is Unable to set parent context for this record. Please make sure that the parent record is valid and you have