Screen Exit - add new field (VBAK-VBELN)  in VC01N

hi friends,
how to add new field (VBAK-VBELN) in VC01N tcode
Tcode: VC01N Sales Activity
Table: VBKA
Field: VBELN
Requirement: New field in screen ( VC01N )
Description:
Prospective projects are to be linked to the sales activities whenever they are created. 
Prospective Project VA12
Table: VBAK
Field: VBELN
Doc Type: ZPRO
Doc Category: A
Place the new field VBAK-VBELN under the u2018Commentu2019n in the VC01N.
urgent plz reply
thanks and regards
Poorna
Edited by: poornambika sivaramakrishnan on Nov 21, 2008 11:28 AM

Hi...
You can definitely do it...provided if screen exit is there ...
Below is the program to find the exit whether present or not in your transaction,
Just give your tcode in the program , it will show all the exits in your transaction.
Regards
RachelArun
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
u2022     Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
u2022     Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
u2022     Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
u2022     Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

Similar Messages

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • How to add new fields to Profit center screen (KE51)

    Dear All,
    I have a requirement that to add new fields to the Create Profit center screen KE51.
    I couldn't find the user exits for the same.
    Please help me in this.
    Thanks.
    Ravi

    Hello Ravi,
    I must respcetfully disagree(with other posts) that it is not possible to extend CEPC.  In our system we have added an append with two new fields to CEPC.  Now, that was the easy part. You must also find a way to maintain those fields when creating and changing profit centres.  To do this it was necessary for us to add a button to the create/modify screens.  It was also necessary to find a few enhancement spots in order to make this work(and it still is not perfect).   I am being very vague here because even though it is posible I would not recommend implementing this solution.  It was very time consuming and could be risky if you miss something.  There is a reason why you can find so little information in SDN and other places about how to do this.  Other, including myself have tried but it was painful.
    I know that this does not help very much.
    Regards
    Greg Kern

  • Add new field infotype "z" in logical database selection screen pnp

    Can add new field infotype "z" in logical database selection screen pnp
    I could explain how to realize
    Thanks

    In case to somebody it interests to him: TO EXTEND SCREEN OF SELECTION WITH OPTIONAL DELIMITERS The case that can be given in a screen of selection of a logical data base it does not appear a certain field that we need in the filter, the steps that will be due to follow are the following:
    u2022 To create a view of selection in agreement with the fields that we want to show To review the following Link http://help.sap.com/saphelp_46c/helpdata/es/6e/6ed638e70ef679e10000000a114084/content.htm u2022 To assign the view of selection to a class of report
    u2022 In the code of report to create select option in the selection screen that allows to introduce imput to leak and after start-of-selection to put the following code,
    "Allocation operative area to optional delimiter
      IF NOT p_aroper IS INITIAL.
        DATA: lt_texpr TYPE rsds_expr OCCURS 0 WITH HEADER LINE,
              wa_texpr TYPE rsds_expr,
              lt_rsds_expr_tab LIKE rsdsexpr OCCURS 10 WITH HEADER LINE,
              wa_rsds_expr_tab LIKE rsdsexpr.
        REFRESH lt_rsds_expr_tab.
        wa_rsds_expr_tab-arity = '0'.
        wa_rsds_expr_tab-fieldname = 'OBJID'.
        wa_rsds_expr_tab-option = 'EQ'.
        wa_rsds_expr_tab-low = p_aroper.
        wa_rsds_expr_tab-high = '00000000'.
        MOVE-CORRESPONDING wa_rsds_expr_tab TO lt_rsds_expr_tab.
        APPEND lt_rsds_expr_tab.
        REFRESH lt_texpr.
        wa_texpr-tablename = 'PA9004'.
        wa_texpr-expr_tab[] = lt_rsds_expr_tab[].
        MOVE-CORRESPONDING wa_texpr TO lt_texpr.
        APPEND lt_texpr.
      pnpdynse[] = lt_texpr[].
      ENDIF.
    English is the forum language.
    Edited by: Rob Burbank on May 18, 2011 11:41 AM

  • CRM - Add New Field in Competitor Product Screen

    We are looking for the right way to enhance the competitor product screen (object prod_cp) in CRM 7.0. We have explored several options and we would like to have a confirmation that we selected the right option for the CRM level we are on now. We checked enhancement options via eewb and aet. However, in transaction axtreg there are 129 objects that can be enhanced but object prod_cp is not part of that list so I assume both tools mentioned cannot be used to enhance the competitor product screen (we want to add new fields and put business logic behind it). Is this a correct conclusion? I based the conclusion on post below:
    AET enhancement capabilities
    Found a OSS note 1088910  which looks like something we could use instead in CRM 7.0:
    appl enhancement          component view for customer
    Competitor products (PRDCP)     PRDCPOV/CustomHeader
    Is this correct?
    If this is not correct, how can we enhance the competitor product screen without changing the sap standard code (like append a Z structure to table comm_product_idx and then....are there any enhancement sports for this screen where we can add our custom code?). Do we have to use the framework enhancement concept?
    Also found OSS note 1448299 that provides information about business functions for the Application Enhancement Tool (AET) in SAP Enhancement Package 1 for SAP CRM 7.0 and I saw that we will be able to enhance the competitor product screen as soon as we have upgraded to Ehp 1 just by switching on business function crm_inf_1. Is that correct?
    Rgds,
    Josephine

    Hi Josephine,
    You can enhance any standard CRM 7.0 component. follow this wiki on how to enhance standar CRM7.0 components
    http://wiki.sdn.sap.com/wiki/display/CRM/HowtoGuide-EnhancingtheUIinCRM+7.0
    You have two options to add new field to the competitor product screen
    1. Using AET. Application Enhancement Tool, require very limited technical knowledge and i believe even function person can add a new field on the webui screen using AET. Search sdn with AET and you will find lot of information.
    2. Create a z table with the new field value and product id (unique key).
        Create a value node in the standar component.
        On load of the webui screen fetch the details of the new field from the ztable and display it
        On the save of the webui screen if the value of the new field has changed update the z table.
    Regards

  • How to add new fields to j1is transaction

    hi,
    i need to add new fields to the entry screen transaction j1is, or at least i want to change the discription which is showed in aditional data screen line data1,data2,data3.
    is it possible to change those with out having access key.
    thanq,
    rajesh.k

    hi,
    yes, i was poor in exits side i heard their is no need of accesskey if user exit was available for that transaction but hear i didn't find any screen exits, did u know any screen exits.
    did any one know where the additional data in j1is was effect?
    thanq,
    rajesh.k
    this was placed as answer but my qustion not answered please consider it as un answered and send ur valuebul suggessions.

  • How to add new fields in report painter without library

    Hi,.
    I have to add new fields in report painter(std one) which is not in any library and so I am not able to add the fields in characteristics. Though I have added zfields in CCR1S but I am not able to add these fileds in characteristics in report painter(say - CJe3 t-code)
    How to procedd for this.
    Thanks,
    MOhan

    hi,
    first i copied the report 12KST1G in my Y12KST1G with form. In CJE2 when i Click this report then in the whatever fields coming in the characteristics we can put it in 'variables' tab and these will be the fields which is displayed on the selecton screen. So after doing the wbove changes in the exit , I am not able to get the fields in characteristics vale so that I can put it in variable. or do we have to do some chnages in the screen for this z report which is like std. one.
    FYI..The display of the fields was done in z-report with library but this is like a report without library and we did some chnages in the exit.
    Pls Suggest

  • Screen exits in new ECC 6.00

    Hello,
    I know, How to do screen exits (say, for ME21 PO creation) in older systems, like 4.6c, 4.7b. But, I do not know How to create screen exits in new ECC 6.00 system, bcoz, I heard, its unlike older systems, there is SUBSCREEN concept in Enhancement frame work / new BADI? so, pls. let me know, How to do screen exits in new ECC 6..00 by using Enhancement / New BADI concept. I hv to add 3 fields at ITEM level in Purchase requisation transaction.
    thank you

    Hi ,
    Please read the following Steps:
    << Cut and paste without attribution from http://www.scribd.com/doc/6729224/Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen removed, points unassigned and I gave up trying to get you over the 250 point mark for the year >>
    Edited by: shambhu sharan pandey on Oct 29, 2009 5:31 AM
    Edited by: Rob Burbank on Dec 18, 2009 5:38 PM
    Edited by: Rob Burbank on Dec 18, 2009 5:42 PM

  • Need to add new fields in transaction UDM_DISPUTE.

    Hi Friends,
    This is regarding UDM_DISPUTE transaction in FSCM.
    I need to add new fields (drop down lists) in transaction UDM_DISPUTE.
    Program Name: SAPLSRMCLFRM2
    Screen Number: 100
    Can any one please suggest me with the name of exit using which I can add these new fields.
    Or another way through which I can add these new fields viz., BADI or classes.
    Thank You in Advance!
    Regards,
    Tejaswini

    Execute the below code to find the userexits the t-code is using
    REPORT yuserexit_vin NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct. DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR' AND object = 'PROG' AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR' AND object = 'FUGR' AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab WHERE pgmid = 'R3TR' AND object = 'SMOD' AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ', 20(20) p_tcode, 45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline, 2 'Exit Name', 21 sy-vline , 22 'Description', 95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt WHERE sprsl = sy-langu AND name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline, 2 jtab-obj_name HOTSPOT ON, 21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    * *---End of Program

  • How to add new fields in Reduced message ( in BD53 )

    Hi Experts,
    How to add new fields in Reduced message ( in BD53 ), when the required field iis available in Table or Structure and need to be added in BD53 so that we can ALE.
    Thanks,
    Ninad

    Hello,
    I think of something like:
    First, you create extension, with transaction WE30.
    Then, reduce your idoc, your extension should also be proposed.
    Do not forget to add this extension in outbound we82, and/or we57 in inbound, and WE20, and find BTE or exit to populate extension.
    regards.
    F.S.

  • 11.5.9/OAF 5.7 : how to add new fields in iProc "search results" page

    We need to add new fields into iProc "search results" page - "Personalize Self-Service Defn" is et, we can enter the personalization screens (from both the "master" link at top/right page level or from the link above the region) - anyway cannot find how to add new fields. Do we have to go to AK developer and/or XML files or is it feasable from OAF (as it is with 11510) ? TIA.

    It depends on what fields you want to add.
    1. If Oracle has included the fields, just render them via personalizations
    2. If they are brand new fields:
    a) you will need to extend the VO (I do not know the exact name).
    b) change the query to get your extra db columns if necesary
    c) add transient attributes to the VO and map them to b).
    d) Then you need to add the items via personalization and map them to the attributes you created in c)
    Check on metalink for the lates version of OAF Dev Guide and Personalization guide.
    Thanks
    Sandeep

  • How to add new fields in sap scripts using itcsy structure

    hi guys,
               could u provide the screen-shots for adding field in scripts. copied standard forms .
    thanks& regards
    eswar.

    Hi,
    you cannot add new fields using ITCSY. It is the interface structure between a SAPscript an a value-changing form-routine.
    Need example anyway?
    Good luck!
    Jo

  • Cannot Add new fields to standard QM datasource

    Hi
    I got this erro when I try to add new fields from LBWE.
    Field ZZRFKIMG cannot be selected because of unit field VRKME -> see long text
    Message no. MCEX032
    Diagnosis
    Field ZZRFKIMG cannot be transferred, since its unit field VRKME is either not in the communication structure, or was purposefully excluded from the selection.
    Procedure
    If you have chosen your own field, you must also create a user-defined unit field in the append and use it accordingly.
    How can I resolve it.
    thanks

    Hi,
    My Understanding is that if the field is available in the Pool in LBWE then no need to enhance the datasource.
    In my case the field is available in LBWE though it is ZFIELD (ZZRFKLMG and ZZNETPRC).
    In RSA6 I added the this unit
    ZZMEINS     MEINS     UNIT                                                                           Base Unit of Measure
    ZZWAERK     WAERK     CUKY                                                                           SD Document Currency
    I went back to LBWE and try to add the following Zfieds (ZZRFKLMG and ZZNETPRC) and the error is same.
    Now I try to add the the field directly in the append structure * ZZMC05Q02ITM* but its asking to maintain the ref table and ref field.
    I added ZZMC05Q02ITM as ref table and ZZRFKLMG as ref unit and  I still get errors.
    I am are that if I maintain it in RSA6 then I need to write user exit in CMOD but since it is available in LBWE I want to get it from the pool.
    I have tried this and there was no errors during activation
    ZZRFKLMG     ZZRQE_RFKLMG     QUAN     QMFE     ZZMEINS     Notification quantity in base units
    I gave the table name and Unit.
    Despite adding it, I still get data even though I did not used LBWE pool.
    thanks alot SUV123
    Edited by: Bhat Vaidya on Oct 14, 2009 10:44 AM
    Edited by: Bhat Vaidya on Oct 14, 2009 11:06 AM

  • Add new fields in CRM_DNO_MONITOR

    Hi,
    I have a requirement to add new fields to screen of transaction_code CRM_DNO_MONITOR. I found out the badi name "CRM_DNO_MONITOR" which uses interface "IF_CX_CRM_DNO_MONITOR" implemented in class "CL_EX_CRM_DNO_MONITOR".
    I tried to debug tcode CRM_DNO_MONITOR to check for which action the methods in the BADI is called, it looks like it is not calling at all and generates the screen.
    Please suggest how to add more fields in the screen using this BADI or any other way to add new fields.
    Thanks
    Prasad

    Hi,
    This is the blog which explains how to add custom fields for CRM_DNO_MONITOR.
    /people/bruyneel.guillaume/blog/2008/06/13/service-desk-implementation-guide-part-ii
    Instead of looking or changing the BAdI, you can copy the program of CRM_DNO_MONITOR and modify it.
    Please check this thread:
    Reg : CRM_DNO_MONITOR
    Regards,
    Sanjai

  • Want to add new field in QA32/QA11 transaction under inspection lot stock

    Dear Experts,
    I want to add new field in QA32 transaction under inspection lot stock tab or under characteristic tab.
    The reason behind is: Depends upon UD decision i want to assing customer name. So already we are having one Z Report for all the lots against this lot we have to display customer name.
    So in order to fetch customer name in the Z report we want to assing customer through F4 selection in the usage decision  screen.
    I know this is possibe for Make to order scenario, but our senario is make to stock.
    Please advice your valuable inputs.
    Regards.

    Hi Sujit,
    Can you please elaborate it,coz i'm using the same but if i place the break-point in PBO of sub screen,the break-point won't be triggered.and is there any additional step to get the data from function group? if yes, please explain me indetail.
    If possible please provide the sample code for this.
    Thanks Inadvance.
    Madan
    Edited by: Madan.ngt on Mar 3, 2011 7:16 AM
    Edited by: Madan.ngt on Mar 3, 2011 7:17 AM

Maybe you are looking for

  • HT3529 how can i delete imessages that were transferred to other devices without physically having to do it?

    well, i have the ios7 and recently i updated it once more and now my father is recieving all my imessages on his ipad. How can i delete the messages off his ipad without physically deleting them myself? i do not understand why this is happening becau

  • Help Zen nano p

    <p align="center">[img"]http://img37.imageshack.us/img37/4588/zennanoitaliaqu5.jpg" width="95" height="35"> Hello ! I?m italian ! I must buy a ?Creative Zen nano plus GB? and i am searching some information... )? Have the Zen the possibility to load

  • Reading a csv file stored on a resin web server

    String line = null;                                                        URL url2 = new URL ("http://localhost:8080/FYP/"+WebCourse2+".csv");                                                        URLConnection conn2 = url2.openConnection();       

  • New on demand content

    When and how often does new on demand content get uploaded? Also there doesn't appear to be any content from Nat Geo?

  • You Tube error playing video

    I can't play any videos in You Tube on my iPod Touch. When I try to play them they all report an error. Anybody else having this problem.