Need Enhancement in VL02n/VL03n
Hi,
I have a requirement to Add a button on VL02n screen or in menu bar and want to write logic on that.
I have tried to find screen exit but failled.
If you select a line item and press that button or choose option from menu, i want to display a custom screen to user.
If anyone know how to achive this, it will be a gr8 help.
Points will be rewarded.
Hi,
Method name :ACTIVATE_TAB_PAGE
you have to pass the following parameters
ef_caption = < Name of the Tab>
ef_program = <Func_grp Name >
ef_dynpro = < screen no>.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=11769855&messageID=5237979
Regards
Kiran Sure
Similar Messages
-
$ 1 number gets display in VL02N / VL03N after delivery creation in VL10B
Hi,
$ 1 number is getting displayed as default delivery number in initial screen in VL02N & VL03N immediately after you create OBD through VL10B.
Actually system should display the last OBD number which got created through VL10B.
I don't know the reasons why it is happening.
Any idea?
Please revert,
Thank you,
DipakHi Ankur,
You got it right,
We have done a coding to raise an error message and to terminate the process from creating the delivery in the badi method IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK by filling the table ct_finchdel with the message and the message type as 'E' as shown below
based on some check we are giving the below message
READ TABLE it_xlikp INTO z_wa_likp INDEX '1' .
z_wa_finchdel-pruefung = '99'.
z_wa_finchdel-vbeln = z_wa_likp-vbeln.
z_wa_finchdel-msgty = 'E'.
z_wa_finchdel-msgno = '005'.
z_wa_finchdel-msgid = 'ZLOMSG'.
INSERT z_wa_finchdel INTO TABLE ct_finchdel.
System terminate here and we can see the log too that it has failed in creating OBD.
the reason we found after debugging is that the standard program is not clearing the header line of the itab XLIKP after deleting the entries in the table XLIKP based on the entries in the table gt_finchdel.
And also the std program reads the table XLIKP with index one which returns sy-subrc as 4(as there wont be any values in the table) but still it sets the parameter VL with that uncleared header value of the XLIKP table.
Any idea to resolve or clear the variable so that once user fails to create the OBD in VL10B, if user immediately goes to VL02/1/3/N system should not show the document no as $ 1.
Thank you,
Dipak -
Hi Experts,
I got a requirement to validate the partner function (header) in vl02n.
I am searching for BADI. But I didnt found sutable BADI.
Can anyone suggest me the enhancement.
Requirement is :
after providing the partner function like 'TU' and partner '10001'
here i need to validate the partner with some other table.
if it is not found then i need to through a error message.
Regards,
N. HARISH KUMARHi Experts,
I got a requirement to validate the partner function (header) in vl02n.
I am searching for BADI. But I didnt found sutable BADI.
Can anyone suggest me the enhancement.
Requirement is :
after providing the partner function like 'TU' and partner '10001'
here i need to validate the partner with some other table.
if it is not found then i need to through a error message.
Regards,
N. HARISH KUMAR -
Hi,
I am looking for a user-exit or BADI that exists in transaction vl03n and vl02n.
Thank you!<b>Copy this code and run it... enter the Transaction CODE u want in the parameter of selcton screen and u can find the user exit for whatever transaction u want..
Please award points if found helpful</b>
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. -
Enhancement for VL02N to update the item text(BSEG-SGTXT) during PGI
Hello all,
Actually, I need your help experts. I am trying to update the item text(BSEG-SGTXT) for accounting documents with the sales order number during their creation(post goods issue) from transaction VL02N, VL01N, VL09.
I have checked the 17 exits available for these transactions and non of these 17 exits allow me to modify the item text(BSEG-SGTXT). I am currently investigating on the two badi's available for these transactions.
I am not sure if it possible to make these modifications via Badi's.
Does anyone have any idea or technique that can help me to find a way to modify/update the item text(BSEG-SGTXT) for any accounting document generated during post goods issue using transaction VL02N, VL01N, VL09?
Thanks a lot in advance for your help experts.
Kind Regards,
BryanHello Ankur Agrawal,
Thanks a lot for your help.
I got the item text from the mentioned BADI. I will get back to this post if it works.
Thank again for your quick reply.
Kind Regards,
Bryan -
Hi Expert,
I need to introduce new field for the "to be packed material" table in handling of outbound delivery screen. i tried to add and i feel it has standard structure. i couldnt find eithre user exist or class name (BAPIs). if it is unable to add new field it is ok to add this field for the "Genaral Overview" of the same screen ("tree structure displaying screen"). could you please guide me to success this task.
Thanks experties.
JanakaHi ,
Check below link.
VL01N / VL02N Delivery Header Screen Exit BAdI -
Need Enhancement which is triggered after material quantity creation
Hi guys,
Iam in need of enhancements or exits which would be triggered after creating quantity for my material. Kindly enlighten me on this issue . I need a place to right a code which will be triggered when i create a material quantity .
Regards,
SivaganeshHi Siva,
I hope you are talking about transfer posting with movement type 561 to get quantity of material in. If yes then you can go for BADI MB_DOCUMENT_BADI after put wait for few second and then get the document number generated.
Please correct my understanding if it is wrong. -
Need Enhancement spot or user exit for ME31L
Hi Experts,
I need an enhancement point(ExIt/BADI) to change ir_ind, GR_basedir and ERS flags based on the value of net_price and est_price flag(item level) in the transaction ME31L(Create scheduling agreement).
need solution urgently
TQ
Phalani MHi
Use
ME_PROCESS_OUT - This is an Enhancement spot for BAdi ME_PROCESS_OUT
Processing of Header Data
With this method, you can change the header data of your outline agreements and check it for correctness.
The import parameter IM_HEADER containing the header data of your outline agreement is available.
The interface reference is of the type IF_PURCHASE_OUT_HEADER. You can use all the methods defined there. To get the current header data of the document, use the GET_DATA method.
Error messages can be issued directly. The business logic processes these messages, writes them to a log, and sets the document to invalid.
The import parameter IM_COUNT is currently not used.
Thanks & Regards
Kishore -
Custom modification on Delivery processing (VL01N, VL02N, VL03N)
Does anyone know where can I add custom modification in delivery processing?
I need to input some item level information during the creation of delivery note.
I have found a BAdi in SAP IMG. But I have no idea where I can add the custom tabpage and how to activate that tabpage.
Thanks!check this list.
LE_SHP_BADI Business Add-Ins in Shipping
LE_SHP_DELIVERY_PROC Enhancements in Delivery Processing
LE_SHP_GOODSMOVEMENT Interface for Posting Goods Movements
LE_SHP_PRICING Interface to Pricing in the Delivery
LE_SHP_TAB_CUST_HEAD Tab Page for Your Own Data - Header Detail Delivery
LE_SHP_TAB_CUST_ITEM Tab Page for Own Data - Item Detail Delivery
LE_SHP_TAB_CUST_OVER Tab Page for Own Data - Item Overview Delivery
LE_SHP_TAB_GLTR_HEAD Tab Page for Global Trade Data - Header Detail Delivery
LE_SHP_TAB_GLTR_ITEM Tab Page for Global Trade Data - Item Details
LE_SHP_TAB_SCEM_HEAD Tab Page for SCEM Data - Header Detail Delivery
regards
Prabhu -
Need enhancement to increase material (stock)quantity in CO11
Hi,
I have a requirement, In Confirmation of Production Order (CO11) if the stock quantity is less than production order quantity i need to add quantity in stock for that i am trying to add material quantity in Goods Receipt by using bapi 'BAPI_GOODSMVT_CREATE', coul any one tell where to add the code in CO11 i.e Enhancement name...... or any other way...
Thanks,
ShekarModerator message - Cross post locked
Rob -
Needed Enhancement in IW31 for populating the date fields
Hi,
We need to populate the date fields like RELEASE DATE, TECHNICAL COMPLETION DATE via Enhancement for the Transaction IW31.
We are using LSMW to upload the data.
Can anyone provide more insight in this.
Vijayanand.hi
This exit is available for IW31..
Exit Name Description
IWO10012 Maintenance order: Priority handling on central header
If this is not applicable you would have to go for badi's
To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
double click on method get_instance, get a break point on case statement.
execute and start the required transaction in new session.
look for variable <b>exit_name.</b> It would show the available badi's.
Hope this helps
if it helped, you can acknowledge the same by rewarding
regards
dinesh -
Need Enhancement spot in Business Partner Creation/Change
Hi all ,
In Business partner creation/Change screen(Tcode BP),if pressing BACK or CANCEL button without saving data, it will ask for confirmation that Want to save data or not.If we press YES it will save the data,or if we press NO it won't. Is there any Enhancement spot (User exit or BADi) available after triggering the above confirmation message.If so kindly intimate me the Exit name or BADi name.
Thanks in Advance..Try using Implicit Enhancements .
I have got implicit enhancements over here for you.
check out if Useful while dubugging.
include :LBUS_LOCATORF05
screen 3000
prog SAPLBUS_LOCATOR
form dynpro_pai_begin
dynpro_pai_end
create IMPLICIT enhancements here.
To avoid confusion write your code after IF condition checking for
GV_OK_CODE which is BUS_MAIN_BACK and dynpro number.
If you dont know Implicit enhancements try this link
http://www.sapdev.co.uk/enhance/eframework/eframeworkhome.htm
checking ok_code is necessay otherwise it will be executed everytime PAIis triggered. -
Hi all ,
I'm DBA our database RAC 3 nodes (10.2.0.4) this query making performance issue and causing high CPU Time please assist me to enhance it
SELECT DISTINCT PP.PARTICIPANT_ID PARTICIPANTID, PP.PARTICIPANT_NUMBER
OWENRNO, NVL( PP.NAME_EN , PP.NAME_AR) OWNERNAMEEN, PP.NAME_AR OWNERNAMEAR,
PP.PARTICIPANT_TYPE OWNERTYPE, PP.EMAIL OWNEREMAIL, PP.PO_BOX OWNERPOBOX,
PP.ADDRESS OWNERADDRESS, PP.PHONE OWNERPHONE, PP.FAX OWNERFAX,
ROUND(NVL(R.NOMINATOR,0)*100/NVL(R.DENOMINATOR,1)) PERCENTAGE,
NVL(PO.PARTICIPANT_ID,0) ISPRIMARY, PN.ID_NUMBER OWNERPASSPORTNO, PN.MOBILE
OWNERMOBILE, PN.PASSPORT_EXPIRY_DATE OWNERPASSPORTEXPDATE, C.NAME_EN
OWNERNATIONALITY, ATH.LICENSE_NUMBER OWNERLICENSENO, RE.LICENSE_EXPIRY_DATE
OWNERLICEXPIRYDATE
FROM
PROPERTIES P INNER JOIN RELATIONS R ON R.PROPERTY_ID=P.PROPERTY_ID INNER
JOIN PARTICIPANTS PP ON PP.PARTICIPANT_ID=R.PARTICIPANT_ID LEFT OUTER JOIN
AUTHORITIES ATH ON ATH.PARTICIPANT_ID=PP.PARTICIPANT_ID LEFT OUTER JOIN
REAL_ESTATES RE ON RE.AUTHORITY_ID=ATH.AUTHORITY_ID LEFT OUTER JOIN
PRIMARY_OWNER PO ON PO.PARTICIPANT_ID=PP.PARTICIPANT_ID LEFT OUTER JOIN
PERSONS PN ON PN.PARTICIPANT_ID=PP.PARTICIPANT_ID LEFT OUTER JOIN COUNTRIES
C ON C.COUNTRY_ID=PN.COUNTRY_ID WHERE VALIDATE_RELATION( R.RELATION_TYPE_ID,
R.START_DATE, R.END_DATE, R.PROPERTY_STATUS) = 1 AND P.PROPERTY_ID
IN(SELECT * FROM TABLE(IN_LIST(:B1 )))i did trace session and got this information
call count cpu elapsed disk query current rows
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 2 54 0
Fetch 2 3.69 3.73 3 12103 0 5
total 6 3.69 3.74 3 12105 54 5
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 91 (EJARIN)
Rows Row Source Operation
2 HASH UNIQUE (cr=6047 pr=3 pw=0 time=2109489 us)
27 HASH JOIN OUTER (cr=6047 pr=3 pw=0 time=2061333 us)
2 HASH JOIN RIGHT OUTER (cr=5164 pr=3 pw=0 time=2055052 us)
214 TABLE ACCESS FULL COUNTRIES (cr=4 pr=0 pw=0 time=250 us)
2 NESTED LOOPS OUTER (cr=5160 pr=3 pw=0 time=2054539 us)
2 HASH JOIN OUTER (cr=5155 pr=3 pw=0 time=2054458 us)
2 HASH JOIN OUTER (cr=5079 pr=3 pw=0 time=2052289 us)
2 NESTED LOOPS (cr=4960 pr=3 pw=0 time=1713970 us)
2 HASH JOIN (cr=4954 pr=3 pw=0 time=1713896 us)
1 NESTED LOOPS (cr=2 pr=0 pw=0 time=219 us)
1 COLLECTION ITERATOR PICKLER FETCH IN_LIST (cr=0 pr=0 pw=0 time=185 us)
1 INDEX UNIQUE SCAN PROPERTIES_PK (cr=2 pr=0 pw=0 time=24 us)(object id 106424)
377258 TABLE ACCESS FULL RELATIONS (cr=4952 pr=3 pw=0 time=2263627 us)
2 TABLE ACCESS BY INDEX ROWID PARTICIPANTS (cr=6 pr=0 pw=0 time=67 us)
2 INDEX UNIQUE SCAN PK_PARTICIPANTS (cr=4 pr=0 pw=0 time=41 us)(object id 106434)
11283 TABLE ACCESS FULL AUTHORITIES (cr=119 pr=0 pw=0 time=11316 us)
3757 TABLE ACCESS FULL REAL_ESTATES (cr=76 pr=0 pw=0 time=3786 us)
1 TABLE ACCESS BY INDEX ROWID PERSONS (cr=5 pr=0 pw=0 time=67 us)
1 INDEX RANGE SCAN IDX26518_3F690002 (cr=4 pr=0 pw=0 time=46 us)(object id 106426)
234752 TABLE ACCESS FULL PRIMARY_OWNER (cr=883 pr=0 pw=0 time=234783 us)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
2 HASH (UNIQUE)
27 HASH JOIN (OUTER)
2 HASH JOIN (RIGHT OUTER)
214 TABLE ACCESS MODE: ANALYZED (FULL) OF 'COUNTRIES' (TABLE)
2 NESTED LOOPS (OUTER)
2 HASH JOIN (OUTER)
2 HASH JOIN (OUTER)
2 NESTED LOOPS
2 HASH JOIN
1 NESTED LOOPS
1 COLLECTION ITERATOR (PICKLER FETCH) OF
'IN_LIST' (PROCEDURE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'PROPERTIES_PK' (INDEX (UNIQUE))
377258 TABLE ACCESS MODE: ANALYZED (FULL) OF
'RELATIONS' (TABLE)
2 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'PARTICIPANTS' (TABLE)
2 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'PK_PARTICIPANTS' (INDEX (UNIQUE))
11283 TABLE ACCESS MODE: ANALYZED (FULL) OF
'AUTHORITIES' (TABLE)
3757 TABLE ACCESS MODE: ANALYZED (FULL) OF 'REAL_ESTATES'
(TABLE)
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'PERSONS' (TABLE)
1 INDEX MODE: ANALYZED (RANGE SCAN) OF
'IDX26518_3F690002' (INDEX)
234752 TABLE ACCESS MODE: ANALYZED (FULL) OF 'PRIMARY_OWNER'
(TABLE)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
gc current block 2-way 326 0.00 0.09
gc cr multi block request 266 0.00 0.03
db file sequential read 3 0.00 0.00
gc cr block 2-way 4 0.00 0.00
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.00 0.00
******************************************************************************** please if you have any suggestion to enhance it tell me
RegardsThis is a Duplicate Post. [url https://forums.oracle.com/forums/thread.jspa?threadID=2401881&tstart=0]Original Post Can be found here.
-
Need enhancement for KS01 Transaction for Department Filed
Hi Gurus,
Iam having a requirement on KS01 transaction to find enhancement for Department field.
Here I could not find any enhancement Exit to proceed further.
Please let know is there any alternate solution:
Here is my comlete rquirement below:
1.Make the u2018Departmentu2019 field, (CSKSZ-ABTEI), mandatory in the Cost Centre Master Record using screen program name SAPLKMA1 and screen number 0300.
2.Check the entry made in the u2018Departmentu2019 field, (CSKSZ-ABTEI), in the Cost Centre master record
When the transaction KS01 is saved check the value in the u2018Departmentu2019 field, (CSKSZ-ABTEI), against values stored in a variable in a Z table by Controlling Area, if matched allow creation, if no match go to the first message below.
3.Department field is not allowed to be changed once postings have been made to the Cost Centre.
Check for transaction KS02 or KS12 when save check if u2018Departmentu2019 field has been changed, if no change continue, if changed check to see if postings have been made to the Cost Centre (table COEP), if postings have been made give the second error below, if no postings allow changes to be saved.
Thanks & Regards
BhaskarHi,
Check following User Exits in SMOD all are for KS01.
Exit Name Description
COCCA001 Customer enhancement to cost center authorization checks
COCCA002 Customer Functions for Organizational Authorization Checks
COOMEP01 CO-OM: Information system -> line item reports
COOMKA01 Customer Fields for Cost Element Master Data
COOMKS01 Customer Fields for Cost Center Master Data
COOMKS02 Cost Center: Checks When Saving
COOMKS03 Cost Center: BAPI Enhancements
COOMLA01 Customer Fields for Activity Type Master Data
Salil.... -
Need enhancement for transaction COR1
Hi All,
I have to modify the FM CO_ZF_CHECK_MATSTAT_POS to change the message dynamically for blocked materials of status 03.
Please let me know if any enhancement is available.
Thanks in advance.List of exits available
If none is of ur use try using the implicit enhancement, its supported in upgrades also.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
Edited by: Rob Burbank on Jan 14, 2010 12:25 PM
Maybe you are looking for
-
How to get data from serial port to GUI textArea
From Serial Port..... Messages from base (always 5 bytes): 0xAA, 0, 0, 0, 0xBB - IDLE Mode 0xAA, 0, 0x80, 0x80, 0xBB - Question Mode messages from terminal (always 6 bytes): 0xAA, a, b, c, chksum, 0xBB where chksum = a+b+c; a = address (0-250) the 2
-
I have a 17" MacBook pro with Lion on it as of 3 days ago. Been working fine until I connected my 30" display to it. When I connected it, the display went all wonky. I rebooted, disconnected, many combination of each. Now my MBP will not even display
-
Importing Component Video to MacBook Pro
Hi All, I have a satellite receiver with a Y Pb Pr output and an HDMI output. I've recorded a few programs that I would like to transfer to my MacBook Pro. I'm confused by the available cables. Can someone tell me what cable I need and the procedure
-
My phone is telling me to restore..
I haven't been able to update/sync for a while because I forgot to switch users on the computer so it started downloading my husbands itunes acct/music, etc to my phone. I stopped it in the middle and now my phone has never been the same. I finally
-
If I buy an IPad mini in New York will it work in Ireland
If I buy an IPad mini in New York will it work in Ireland