Custom fields on SAP standard screen - how to make them mandatory

Hi,
I have added 2 new custom fields [say zz1 and zz2] in the SAP Document Management System whilst creating documents in program SAPLCV110.
I want to have these fields set to mandatory only when the document type is say ZZZ.
Can you please let me know where abouts I need to go to introduce the code.
Regards,
Satish

Hi,
   Use the below code...
In PAI of the screen:
Chain.
       Field <zz1> module <module_zz1>.
       Field <zz2> module <module_zz2>.
endchain.
Module_zz1.
     if zz1 = 'XXXX'.
       perform....
     endif.
endmodule_zz1.
Edited by: Satya suresh Donepudi on Mar 12, 2009 3:04 AM

Similar Messages

  • Adding custom fields on SAP standard screen

    Hi,
    I have to add some custom fields in the SAP defined standard screen. When I go to that particular screen and try to change it to 'CHANGE' mode , it asks for Access Key. Please suggest me, how to add the custom fields.
    RGDs,
    Gsaasg

    Hi,
    For this only there are enhancements, Just search for screen exits in the SDN or google for
    your transaction and also search for BADI's.
    Regards and Best wishes.

  • How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)

    I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
    The requirement looks very simple but for this, as per my knowledge, I have to create a new  Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
    It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
    Can we do it any other way to handle this kind of situation?
    Thanks in advance for your suggestions and help.

    Hi Phani,
    You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi  to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
    3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
    4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
    Let me know if this helps.

  • Adding a custom field in a sap standard screen in pa30 for an infotype.

    Hi to all..
    i'm in a requirement to add a custom field in a standard screen of pa30. for the infotype 0442.
    I googled up.. but i was not getting proper solution for it.. can any one provide a solution for it..
    With regards.
    Aahbha.

    Hello Sirs,
    Step by step instructions on:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4f/d52552575e11d189270000e8322f96/frameset.htm
    The below thread provide more info on how to create an infotype from scratch, but this is just for the reference:
    add custom fields to standard infotype
    Regards,
    Bentow.

  • Saving customer fields to SAP table (EXIT_SAPMM06E_012)

    Hi All,
    I would like to ask you guys a bit of a help with a user exit that I am working on as of the moment.
    I am coding a user exit for a service purchase order (ekpo-knttp = 'K' and ekpo-pstyp = 'D') this is a service purchase order of cost centre category.
    Since SAP does not allow the goods recipient (ekkn-wempf) to be modified for reasons specified in SAP Note 118008. I have used user exit MM06E005 FMs EXIT_SAPMM06E_017, EXIT_SAPMM06E_016 to the data in PBO and PAI for the transaction.
    Now I tried using the two FMs EXIT_SAPMM06E_018 and EXIT_SAPMM06E_012 to pass this value to the table but it does not seem to get saved in table EKKN.
    Using FM EXIT_SAPMM06E_018  the I have maintained the structure CI_EKPODB to include WEMPF and after debugging passing that user exit area the wempf is being tranfered to global data but this does not get saved in EKKN table (EKKN-WEMPF).
    Although this is outside of the standard best practice of SAP since the account assingment belongs to the limits or the service line for service order but maintaining this recipient field for the PO item does not impact our system processes as the business acknolwedges goods recipient for service PO.
    BADI ME_PROCESS_PO_CUST has also been implemented under method PROCESS_ACCOUNT invoking the interface IF_PURCHASE_ORDER_ACCOUNT_MM but unsucessful in the operation.
    If anyone of you guys has encoutered same scenario or implementation requirement please do give information on this or work-arounds are well appreciated as well.
    Cheers,
    Erwin

    Hi,
    We have worked on a similar requirement ,just check if its useful to you.
    Requirement:
                         You have to add the custom field in SAP standard table EKKO. Then we have to place the field in ME21N screen. When user enters any input into the field it should get updated in the database.
    Note:
                         EKKO table is meant for Purchasing document header, you should add the field in the header level for ME21n screen. There you are provided with customer sub screens where you can add the field in the screen.
    Procedure:
    1You have to create a field in the Custom Include of standard table, after creating activate it.
    2.Double click on the include then you can add your custom field here.
    Find out the Required Enhancements:
    1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018Information systemu2019.
    2.Then mention the particular package name of the transaction you need to      enhance. Then you will be shown the list of Enhancement components for that particular package.
    3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    MM06E005 is the Enhancement component we are using here.
    Development
    Creating a Project to include the enhancement:
    1.Go to transaction CMOD and create a project.
    2.Enter a description for the project.
    3.Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
    4.Click on the components in Application Toolbar.
    5.Here you will be shown the function module exits, screen exits and Include tables.
    6.Click on the custom screen SAPLXMO6 u2013 0101 in which it suits the requirement of adding the custom field to the layout
    7.Click on layout and go to get from dictionary and select the field you need to add and click ok.
    8.Place the field in the layout and activate it.
    9.After that you come back and check the respective function module in which you need to implement the code. So, we need to import the data from sub screen for purchasing document header. Therefore we have chosen  the  EXIT_SAPMM06E_008.
    10. Write code in the Function Exits to synchronize the programs:
                       Now, code has to be written in the function modules EXIT_SAPMM06E_008 so that data flows to and fro between the main SAP program and custom sub screen program. Double clicking on the exit we get the following screen.
    11. Double click on the include and write the required code inside it. Then activate it.
    TABLES:EKKOIF NOT EKKO_ZADD IS INITIAL.
    MOVE EKKO-ZADD  to e_ci_ekko-zadd.
    move corresponding  e_ci_ekko to ekko.
    modiky ekko  from ekko.
    12. Now come back and activate the entire project.
    13. Now go to ME21n transaction and create a purchase order by giving all the mandatory fields including custom field we have created. Here Test is the custom field we have created. After entering the data then press SAVE button, your data will be populated to the respective table.
    14. Go to SE11 or SE16n, check whether the field got updated in the database or  not in EKKO table.
    Thanks,Surya Pydikondala.
          Finally it gets updated in the database.

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to edit the attributes of a SAP standard screen?

    hello all,
    i would like to ask if it is possible to edit the attributes (particularly the language) of a SAP standard screen without using any access key? if yes, how would i be able to apply the changes?
    thanks!
    - annalyn

    Hi,
    Screen attributes are stored in table D020S. You can update this table using ABAP code. The language is stored in field SPRA of this table. The texts appearing on the screen are in D020T.
    It is likely you will not be allowed aa data modification statement (INSERT/UPDATE...) on these tables if you are on newer versions of SAP (46/47...). You can bypass that by using native SQL and some other workaround (which might be another thread here).
    It is most strongly recommended to not modify SAP standard objects, and specially not without an object key. However, if you are working on something like a miniSAP and want to play around with it, the method mentioned above shall do.
    Hope this helps,
    cheers,
    Ajay

  • How to mage field editable in standard screen

    Hi All,
    I have to make a field editable in standard screen which is non editable. I am enhancing transaction VA01 and want to make filed Delivery date editable under Additional Screen B for item.
    Please let me know the way to make this field editable using exits.
    Thanks
    Piyush Mathur

    check field catalog for the same in SPRO
    or else,
    user exit.
    Regards
    Prabhu

  • Custom field in SAP Inbox

    Hi Experts,
    I have a requirement of adding a custom field in SAP Inbox.
    Ex: If an Invoice Wrok flow is triggered..the Invoice number number will be generated and it will be shown in the Title column.
          Now I have a requiremnt of adding a two Custom field as 'Supplier Name' and 'Document number'.
    1. Is it possible to add the custom field in SAP Inbox?? if Yes can you guys let me know the procedure?? Also if I add a custom field Can that be controlled for specific work flow?
    2. Also I have seen the field Dynamic Columns in in the layout, Can I use that filed to populated the Supplier name and document number?? is Yes how to proceed further?? ( Does the efforts vary for Standard workflow and Custom Work flow??
    Your <removed by moderator> response is higly appriciated.
    Cheers,
    Sriram.
    Edited by: Thomas Zloch on Jul 4, 2011 4:18 PM

    Hi Krishna,
    To solve your issue, you need to know the linkage between the WF and event.
    You can go to t-code SWE2 to find the event linkage between Workflow & Business Object event.
    You can also open t-code PFTC, select the task type as Worflow Template and give the TASK / WF number without prefix WS, then go to EVENT tab to know the event.
    Regards
    Saumya

  • Set search help dynamically to SAP Standard Screen

    Hi,
    I have one issue where I have to Create f4 help For a field present on SAP standard screen.
    Please advice how to do that.
    Can i dynamically set Search help in any screen-exit of the standard screen?
    Please help.
    Screen No is 130
    and Program is SAPLQM03.
    Here I want to attach a Zsearch help to a standard   FIELD RQM01-LS_KDPOS.
    Thanks,
    Ishani

    Hi Ishani,
    The field that you mentioned here in structure RQM01 is having a check table VBUP. So if some values are there in that table, then that will appear as F4 help to you. Consult with your functional and check how values are coming to this table VBUP. Othertahn this, I am afraid you will not be able attach any help.
    Regards,
    Abijith

  • Custom Fields to Contract 'Conditions' Screen

    Hi
    Please share how to add custom fields to Contract 'Conditions' screen just like 'Unit Price'.
    As there is no '_CI' table for conditions table, we are not able to implement the same. We also tried using BDT but to no avail.
    Regards, Sekhar

    Thanks for the reply Bala
    The requirement is to add three more informational fields beside/below the Unit Price. Those fields should hold data, condition wise. i.e. it requires to add 3 more columns in VICNCN table to which I'm afraid there is no custom include available. Also we referred note 690900. Please help how to proceed.
    Thanks, Sekhar

  • One field in a standard screen not showing.. why??

    Hi all.
    I want to be able to see a field in a standard screen. It is usually there but here they have hidden it using some configuration. Where do I configure it to show/unhide again? I see the field is there in the screen's layout but it is not showing when i go to that screen via its t-code.
    Details:
    field SCAC on control section of tcode xk03.
    Please help me show this field/unhide this field.
    Thanks,
    Charles.

    Hello Charles,
    The Fields that can be displayed/changed/modified/suppressed depends upon the way Vendor groups are customized in SPRO. I assume that u haven't change the standard screen via coding. If u have not then what you can do is to go in SPRO-->Financial Accounting->Vendor Account-->Master Records->Preperation for creating Vendor master records. Select the Acccount group with Screen layout. Select the vendor Group and double click. Once in next screeen , Go to field Status , double click  'General Data'  and then go to control. There Check the property of the fileld that you have mentioned. Hope this helps.

  • Include Additional Fields in SAP standard Configurations

    Hi,
    I would like to know how to include some additonal fields in OPUK/OPUJ.  We have defined some .INCLUDE component / fields to SAP standard table PRPS/PROJ.  We want those fields to also appear in OPUK/OPUJ so that we could also defined their characteristics - whether input, mandatory, suppressed, etc.
    Thanks!
    Regards,
    Vivian

    NOT ANSWERED

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

  • Moving Custom fields to the main screen in CUP

    Hi Gurus,
    I am wondering if there is a way to move a custom field to the main screen like under general information instead of it being in the more section. We have a custom field which would be mandatory, So it would be nice to have it on the main screen.
    Thanks,
    Chinmaya
    Edited by: chinmaya prakash on Nov 3, 2010 6:38 PM

    Hi,
      There is no way to achieve this. As per the desgin, CUP adds all the standard field to main screen and custom fields under more section.
    Alpesh

Maybe you are looking for

  • Accessing multiple portals at the same time?

    Is it possible to access multiple portals at the same time? For example, what I want to achieve is different properties (layout, portlets, look & feel) for different groups of users accessing the same portal. The Associated Groups part on the Portal

  • cfinsert tablename attribute, how to format for Oracle

    I've been using <cfquery> successfully for a long time to do table inserts, but now I'd like to use <cfinsert> for the simple inserts. However, I'm getting error messages. A typical <cfquery> against my Oracle database would look like: <cfquery name=

  • SQL Query (PL/SQL function body returning SQL query) Error

    I'm an ApEx newbie, not a PL/SQL developer (more of a Web application developer) and I'm getting an error that prevents me from saving some PL/SQL code. I've looked over it all afternoon, but can't tell what's wrong. I may even be trying to do someth

  • I got the error 4SNS/40000001:VDOR on a 2006 iMac (white), what does it mean?

    Dear all, yesterday I notice a whitish stripe (3-4 cm) in the middle of the monitor of the iMac I use at work. The machine is an old white iMac (Intel), 21 inches I think, and was purchased in 2006. Today the stripe was already there, the hardware ex

  • WIFI problem in NEO V after ics update.

    I am facing some problem in wifi...After connected i am able to browse for some tym then it gets stuck n again after few secs it works... i don't knw what the problem but the connection isn't consistant....