Need to add costom fields in transaction AS01
Hi,
i am trying to add a custom fields in transaction AS01. For this i implemented one enhancement AIST0002 . In this enhancement i implemented one function exit EXIT_SAPLAIST_002. In this exit i maintained some code in include ZXAISU03.In this the data trasfering in parameter i_anlu to a screen. when i am activating this include i am getting 'ANLU has already declared'.
Can any one please suggest me how can i solve this problem.
Regards ,
Swathi.
Did you notice the sample code provided, you may need to have something similar at the end of your exit code.
* INCLUDE LXAISF03 *
* move parameters of function module EXIT_SAPLAIST_002 to global
* variables
ANLA = I_ANLA.
ANLV = I_ANLV.
ANLU = I_ANLU.
GD_MODE = I_MODE.
GD_XSUBNO = I_XSUBNO.
GT_ANLZ[] = T_ANLZ[].
GT_ANLB[] = T_ANLB[].
Similar Messages
-
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,
TejaswiniExecute 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 -
Need to add a field in KE24 transaction
Hi,
I need to add a field Order Reason (VBAK-AUGRU) in the ALV output for the transaction KE24. I didn't find any suitable exit or BADI for adding this field. Right now I'm looking for some enhancement spots to get the field value and also to add the field in the catalog before calling the GRID display.
If you have come across this similar situation, please suggest me.
Regards
ItishreeHi,
check these enhancements
COPA0001 Enhancement for derivation in Profitability Analysis (C
COPA0002 Enhancement for valuation in Profitability Analysis (CO
COPA0003 Enhancement for assignment to profitability segment (CO
COPA0004 Enhancement for currency translation (CO-PA)
COPA0005 Enhancement for actual data update (CO-PA)
COPA0006 Enhancement for planning (CO-PA)
COPA0007 Enhancement for external data transfer (CO-PA)
i think you should get it provided you should follow proper procedure .
otherwise you need to create Implicit Enhancement spot.
regards
fareed -
Need to add more field in the selection screen in tcode crm_dno_monitor
Hi,
In the transaction code crm_dno_monitor, i need to add extra fields in selection screen. Do we have any way to add fields in the standard tcode crm_dno_monitor.
Thanks
PrasadIf you need to add 5 fields on ticket screen then use EEWB enhancement.
The ticket screen transaction is crmd_order which even opens up after you double click the ticket no from crm_dno_monitor report list.
for crm_dno_monitor you can have the BADI CRM_DNO_MONITOR which will add later the column for the fields which you can add using EEWB
Check the following blog which guide you for custom field creation using EEWB
/people/bruyneel.guillaume/blog/2008/06/13/service-desk-implementation-guide-part-ii -
Hi ,
I need to add one field in MM02 screen.
Can u help me in this please.
I need to do this by using screen exit ,how to do this?
can u......
Regards,
KalidasHi Kalidas,
Selection Text: P_TCODE: Transaction Code to Search
Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
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.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
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.
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.
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.
Kindly Reward Points If You Found The Reply Helpful,
Cheers,
Chaitanya. -
VA01 Sales order - Header-- Accounting tab need to add a field
Dear All,
The requirement is,
1. I need to add a field in Sales order.
Path for the same is as follows:
VA01> Goto> Header--> Accounting tab
2. The field will be a date field that needs to calculate date on.
a)create a new field. ex - zchdt (chq due date)
b)when customers enters value in Assignment,
i.e vbak-zuonr
after that trigger logic is
3.vabk-kunnr = knvv-kunnr
a)sy-date + knvv-kvgr2 (exclude sundays)
example - 14 sept + 30 days = 14th october
should populate value - 14th october i.e. field (zchdt)
4. This activity needs to be triggered before the sales order is saved.
kindly know whether this is possible or not.
if possible how & which exit & also with example code.
if you could give me your contact(cell no).
Regards,
Nagendra D.S.
Mobile - +91 9819899082Hi All,
VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
when customer enters value in Assignment i.e zuonr & after that trigger logic is
1. vbak-kunnr = knvv-kunnr
2. sysdat + knvv-kvgr2 (exclude sundays)
example - 16 sept + 30days = 16 oct
in field zchdt value 16 oct as to populate
Pls help me in the code.
Regards
Nagendra -
How to add a field in Transaction LT31.
Now I want to add a field in Transaction LT31 and store the field in a ztable, would you please tell me how to implement this? Thanks in advance!
u have to search for a screen exit to implement the field in the screen of LT31. then u have to write ur code to upload to the zcode in the same exit..
-
I need to add one field Pers. sub area for Actions screen
Normally, we will have Position, Pers. area, Emp group and Emp sub group in Actions screen. Now I want to add one more field to that screen, what is the navigation?
Can anybody help me please.
Regards,
Pavani.hi,
pavani. If i understood right, you need to add a field which is not listed in the module pool related to the screen you have to create a new field, here you can hide or make optional or intialize the field for the info types the table no T588M.
let me know whether this is correctly answered or not
regards,
madhu -
Add item field in transaction MIGO
Hi,
do you know a BADI or an enhancements to add item fields in transaction MIGO?
Do you have documentation about this?
Many thanks.
LucaI have found the badi "MB_MIGO_BADI"
-
Hi Experts,
Need to add a field in IT2001 to capture u201CReference No.u201D
The field must be >= 10char long. Must be u201CChar/alphanumericu201D.
-Would like to add it to some existing fields in PA2001 which we may use for u201Cref. no.u201D instead of creating new zxxx field to be added to PA2001.
Is this possible
ThanksHi,
Unfortunately you cannot enhance time infortype:
The following infotypes are excluded from the enhancement concept:
Actions infotype (0000)
Additional Actions (0302)
Time Management infotypes (2nnn)
Applicant Actions infotype (4000)
http://help.sap.com/saphelp_46c/helpdata/en/4f/d526be575e11d189270000e8322f96/content.htm
The solution can be to create custom infotype with required field and link it with IT 2001 via dynamic action.
Cheers! -
In transactions ME21n, ME22n, ME23n I need to add new field to item detail
Hello,
In transactions ME21n, ME22n, ME23n I need to add a new field to the table control TC_1211, in SAPLMEGUI screen 1211 for PO line items. The new field is UNSPSC Code, a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
BADI ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order. Is this the correct BADI to use for the purpose of adding a new input/output field to the PO detail SAPLMEGUI screen 1211?
Does anyone have any examples of adding a new field to PO Item Detail screen using BADI ME_PROCESS_PO_CUST? I have had some experience creating Badi's, and would appreciate very much some sample code if possible.
We are on release SAP ERP Central Component 5.0
SAPKB64018 SAP Basis Component
SAPKA64018 Cross-Application Component
SAPKH50013 Logistics and Accounting
Thank you,
VictoriaHi,
Thank you for the response. I tried this and found Badi ME_PROCESS_PO_CUST. Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
Thank you for help - much appreciated,
Vicki -
Transaction DP97: Need to add 2 fields on selection screen...
Hi,
I am using ECC6.0. I need to add 2 extra fields on selection screen of transaction DP97. Program name is RVPKMASS97. i did not find any screen-exit for this. Please can anybody suggest any other way to add fields on selection screen... I think i can use enhancement points. please help if anybody has previously worked on this. I need to know following things:
1) how to add 2 fields on selection screen ( 2 fields are : MATNR-Service product and FFPRF-DIP profile)
2) where to add programming logic for this
Thanks in advance,
MinalHi,
Go to program RVPKMASS97.
Go inside INCLUDE rvpkmasspar.
(When you double click on the include a pop up screen will come up and in that select the RVPKMASS97)
Click on spiral icon there on the tool bar.
right click on the '
ENHANCEMENT-POINT RVPKMASSPAR_01 SPOTS ES_RVPKMASSPAR STATIC INCLUDE BOUND .' line and select enhancement-> create. and give some implementation name and text.
now you can declare ur fields in this implementation.
After declaring save it and activate it.
Now go back to ur txn and run. you are able to see the custom fields on the screen.
Reward me points if it is helpful.
I think it will help you out.
Thanks,
Prasanna -
Need to add more Fields to "List" Tile of MSA Opportunity Search Tileset.
Hi Experts !
We are trying to add more fields to the "List" Tile on the Opportunity Search Tileset to view additional information on the search result screen.Ex: Company Name, Product Description, Person Responsible & Channel Partner on Opportunity transaction should be displayed on the Search result screen.
So far, with the help of Anchor modeling we tried adding the Opportunity BP (BOOPPBusinessPartner) Segment and (BOOPPProduct) Segment to the BOOpportunity Parent segment in the Opportunity_Write Bdoc.And, we added fields from BP & Product segment to the List tile by drag & drop.
Upon Generating the changes, the system did NOT populate the data for the new fields.
Please advise us where we are going wrong.
Thanks & Regards,
Jagan.Hi,
the way you tried to add some more fields in a list tile is not working.
In lists the data is not retrieved from Business objects/collections but from record sets which are fetched from the main segment of the underlying query BDoc (I guess sth like OPP_blabla_QUERY).
Therefore what you could do is to enhance this query BDoc and add these tables by joining them to the opportunity header table. In this case you also need to specify exactly these segment field names in the property of the new list column fields.
Much faster (but a little bit dirty) would be to use the row loaded2 event where you can calculate the values you want to display. In this case the controls would have to be unbound.
The second version would cost a little bit more performance, but this depends from the data volume.
Regards,
Wolfhard -
Include a new tab and add custom fields in transaction ME21n
Hi All,
I have a requirement to add a new tab at the header level and include 4 custom fields to the tab in ME21N transaction. I need to use BADI for developing this. Can any one help me with the procedure to how to include the tab and add new fields to it.
Regards,
Claracheck
BADI
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
The specified item was not found.
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://www.allsaplinks.com/badi.html
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
<b>TIP :- Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.
Start va01 go to system-->status
Double click transaction VA01
Double click on package
Read the application component. (this is SD-SLS Sales)
Then open the transaction BAPI
Sales and distribution>Sales>sales order --> createfromdat2
Adding small screen shots to my TIP.
After finding the Application Component go to BAPI and check with the same path
what we got SD-> SLS Sales
You need to go to BAPI tcode
you will find the application path as i mentioned
goto Sales and Distribution
click on createfromdat2 and check the BAPI</b>
Rewards if useful.....................
Minal -
Add Substitutable Fields in transaction OBBH
Hi,
I need to add a substitutable field to the list of substitutable fields present in transaction OBBH. Any suggestions would be helpful.
Thanks,
Alam.This has been answered in your first request.
pls assign points if helpful as a way to say thanks.
Maybe you are looking for
-
Wireless Mouse and Keyboard Install Problem
I am trying to install my wireless keyboard and mouse onto my Mac OS X 10.3.9. My dad had this computer before me and had the mouse and keyboard paired and working. After it was shipped to me, I attempted to pair these again with no luck. THe bluetoo
-
How do I take a pdf out of my email and transfer it to adobe so I can print it off my pc?
How do I take a pdf out of my email and transfer it to adobe so I can print it off my pc?
-
How to apply same editing to further audio tracks...
Hello all, i've just made a very complicated sync between a video and audio track within an FCS project. The video was untouched and i edited the stereo audio track. Now i would like to apply the same editing to the .ac3 version of the just edited st
-
Database errors - Publisher?
Hello, Our DBAs are saying the Portal db is throwing these errors: Subject: SQL Server Alert System: 'Demo: Sev. 20 Errors' occurred on \\PlumtreeServerDB DATE/TIME: 7/1/2008 10:13:57 PM DESCRIPTION: Error: 17805, Severity: 20, State: 3 Inval
-
I have an MG3100 printer/scanner and an LIDE 90 scanner which I wish to use on the same computer. I am running Win7 (64). The computer recognizes the LIDE 90 as being connected but I am unable to scan anything with it. I tried to download the Canos