Urgent help need for user exit
Hi all,
i have just did one user exit but in RSA3 field is not coming. in step 1 i modified the extract structure. in step 2 in added field in include program ,saved and activated it. but field is not coming in RSA3. can anyone plese help me what should i do now or what has went wrong.
in RSA3 update mode is 'F'
thanks in advance
hi,
Have you created a project in CMOD and included your User exit component(RSAP0001) and activated it?.
check that. otherwise give some more details reg. your problem.
rgrds,
v.sen.
Message was edited by:
Senthilkumar Viswanathan
Similar Messages
-
Hi frnds.
For long time i have been searching for user exits for following txns. If any body have some idea i will appreciate it a lot.
1.ME01(MAINTAIN SOURCE LIST)
2.ME11(CREATE INFO RECORD)
3.MB01(GR for PO)
4.ME31(CREATE ONLINE AGREEMENT)
5.ME51(CREATE PURCHASE REQUISITION)
Waiting for your replies.
Regards,
ArpitHi Arpit,
You can use following code to find user-exits in any SAP standard transactions...
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
report zuserexit 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
Regards,
Sriram -
Hi all,
the requirement is...
In MIRO,the Incoimg invoice should not be posted without an empty field of amount(WRBTR) in the Basic Data.Currently as per std,it's not a mandatory field and can be posted by not entering any amount in that.So, either we have to make it as a mandatory field or should restrict not to saving the data if posting of empty field.(Not giving any amount)***seems,it tells the user to give the amount as mandatory.
How to do this.....if its coming under the USER Exit object...pls post both how to get the std program and enhancement assignment(it asks while creating user exit in CMOD) also for user exit.
thanks & regards
sankar.hi
Program name is SAPLMR1M
For MIRO tcode, you have below user exits.
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
EXIT_SAPLMR1M_003 may useful to you. Check with this.
Reward if it dose
Thanks
Siva Kumar. -
Help reqd for USER EXIT - VA01
Hi all,
i've the details of lists regarding the VA01 std enhancement assignment....but really i dont know which one'll be applicable for my USER Exit object....
My client requiremnet is...In VA01 or VA02
The enduser will be able to create/do the line items upto the line 4th (POSNR -004).means,we shuld restrict the line items as a maximum of 4 only and it has to throw an error if going for 5th line item and revert back to main .
which is the std enhancement/exit for this to declare in CMOD....the exact one
,i need.
If anyone has faced the same creiteria,then pls post ur comments here in detail,else if any knows the exit name,pls reply here on urgent basis.
my mail-id is [email protected]..for post ur comments thru mail.
thanks & regards
sankarTransaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
No of Exits: 15
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Urgent help needed for XML Tags using XMLForest()
Folks
I need some urgent help regarding getting use defined tag in your
XML output.
For this I am using XMLElement and XMLForest which seems to work fine
when used at the SQL prompt but when used in a procedure throws and error
SQL> Select SYS_XMLAGG(XMLElement("SDI",
XMLForest(sdi_num)))
From sdi
where sdi_num = 22261;- WORKS FINE
But when used in a procedure,doesnt seem to work
Declare
queryCtx DBMS_XMLQuery.ctxType;
v_xml VARCHAR2(32767);
v_xmlClob CLOB;
BEGIN
v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
XMLFOREST(sdi_num)))
From sdi
where sdi_num = 22261';
queryCtx :=DBMS_XMLQuery.newContext(v_xml);
v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
display_xml(v_xmlClob);
End;
CREATE OR REPLACE PROCEDURE display_xml(result IN OUT NOCOPY CLOB)
AS
xmlstr varchar2(32767);
line varchar2(2000);
BEGIN
xmlstr:=dbms_lob.SUBSTR(result,32767);
LOOP
EXIT WHEN xmlstr is null;
line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
dbms_output.put_line('.'||line);
xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
END LOOP;
end;
SQL> /
.<?xml version = '1.0'?>
.<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
XML tag name.</ERROR>
PL/SQL procedure successfully completed.
SQL>HELP is appreciated as to where I am going wrong?Hi,
if you want to transform something to something else, you should declare, what is your source.
I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
Kind regards,
Hendrik -
Urgent help needed for hysterical female!
I need urgent help in editing a pic that has been emailed to me, I do not know which Adobe programme to upload it too. Currently use Picasso - usually brilliant, but now gets jammed with a pop up box asking me to either accept or deny picnik. When I googled picnik, it now belongs to Google - don't know how to do a damn thing now!! Extremely Frustrated, can anybody suggest/help me
The only Adobe program I know that can edit images is Photoshop.
If you have troubles with Google software, you need to post in the appropriate Google forum. -
Hi can any one send me the code for sample user-exit and with business requirement.
Thanks in advance
Regards
UdayThe code that you put in the user exit really depends on what you want to do.
Regards,
Rich Heilman -
Urgent Help Needed for WVC210 camera setup :)
Please help! I am trying to set up a Cisco WVC210 surveilance camera at one of the stores owned by the company I work for. Its a small business and I am the closest they have to an I.T person !! I have plenty of experience with software but not much on networking so need some idiot proof guidance ! The "administrative guide" is not worth the paper it is printed on!!
The store has a fixed IP address of 212.9.##.### I connected the camera using ethernet cable. Set the camera up using the software for the camera, with static ip address of 192.168.0.23. Set the SSID of the camera to that of the router (a Netgear one). It worked fine. I went to unplug so I could have it wireless and NOTHING !! It did work one time (no idea what i did differently!) but it would not work over the internet which is what we need it to do! I need the whole thing password protected too!
Is there ANYONE who can help me please??? I am at the point of running away from my work and never returning !!!! :s
Thank youHi Jodie,
Thank you for posting. In order to make the camera connect wirelessly, first set up the wireless settings in the camera to match the router. I usually open the router configuration page and copy and paste the SSID and Security Passphrase to the camera to avoid error. The next step is to unplug the ethernet cable and power cord from the camera. Then plug only the power back in and the camera should connect wirelessly.
For remote access to the camera you will need to forward port 80 to the LAN IP address of the camera. (192.168.0.23) This is done in the router. If you need help with port forwarding, you can search the web or call Netgear for assistance.
If you continue to need assistance with the camera, the fastest and easiest way to get assistance is to call Cisco Small Business Support. www.cisco.com/go/sbsc
Please go to www.cisco.com and click on "Register" in the upper right to create a user ID. This will allow our engineers to create a case for you. -
Please urgent help needed for the following
Hi Everybody!
I desperately need help as soon as possible.
Following is the partial code for the driver program which will use the Employee class Objects(Employee is declared abstract). If you want to see whole code you can take a look at my last two or three posts in this forum.
1- Now data input by the user in the specific field( name, rate ) should be displayed in the �List� at the top of the frame after pressing �Enter� key. Can anyone help me to achieve this functionality. While doing this keep in mind the capacity of Array
2- I also need �rate� textfield to enabled initially & become disable when �raise� (for trigerring calculating raise in weekly pay) is checked. On this �increased� textbox will become �enabled� which was disabled initially.
3- The stuff which may have the problems is followed by �*******************�.
// here is how I declared handlers
ActionEventHandler handler = new ActionEventHandler();
ItemEventHandler listener = new ItemEventHandler();
// here is the declaration of awt components which are going to be placed on Frame.
public class ActionEventHandler implements ActionListener
public void actionPerformed(ActionEvent event)
//if(event.getSource() == enterButton)
for (int i = 0 ; i < empArray.length; i++)
if(event.getSource() == enterButton)
empData.add(nameField.getText());
/*else if(event.getSource() == hoursField)
calcWeeklyPay();
if(event.getSource() == clearButton)
nameField.setText("");
hoursField.setText("");
rateField.setText("");
increaseField.setText("");
}//else if
}//ActionEventHandler
public class ItemEventHandler implements ItemListener
public void itemStateChanged(ItemEvent event)
//if(event.getSource() == enterButton)
if(hEmployee.getState())
createHourly();
}//if
/*else
sEmployee.setState(true);
createSalaried();
}//else*/
else if(raiseSal.getState())
increaseField.setEnabled(true);
rateField.setEnabled(false);
}//itemStateChanged
}//ItemEventHandler
public void createHourly()
nameField.requestFocus();
//String name = nameField.getText();
double payRate = Double.parseDouble(rateField.getText());
double hours = Double.parseDouble(hoursField.getText());
empArray[empCreated] = new HourlyEmployee(nameField.getText(), payRate, hours);
currentEmp = empCreated;
empCreated++;
//empData.add(emp.toString());
enterButton.setLabel("add");
}//createHourly
/* public void createSalaried()
nameField.requestFocus();
//String name = nameField.getText();
double payRate = Double.parseDouble(rateField.getText());
double hours = Double.parseDouble(hoursField.getText());
empArray[empCreated] = new HourlyEmployee(nameField.getText(), payRate, hours);
currentEmp = empCreated;
empCreated++;
enterButton = new Button("add");
}//createSalaried*/
looking forward your kindnessVisit YAT-Yet Another Thread this is a discussion using the Sun book Core Java 2
and one part in that book uses an example with Employee class of which I assume you are stealing your class-name from. Anyway, that thread is in the Java forums. -
va01
userexit_check_vbap.
an idoc is coming from edi .
i need to read idoc and depending on condition of field value which is in idoc .
i need to pass a error log to some transation
how to read a idoc which is coming form edi
any sample code is help fullHi Vijay,
There are a number of options depending upon your requirement but these are the things I would try (I don't have access to a system with inbound orders so cannot give conclusive answer).
1. Use userexits in inbound processing FM to transfer data to the application. In your case this will be IDOC_INPUT_ORDERS and CMOD exit VEDA0001 (FM EXIT_SAPLVEDA_011). This exit is called prior to to the BDC and contains all the data from the IDOC and the IDOC number. You could pass this data in a number of ways:
- import/export to memory
- use a common function group for all processing - place data into function group memory during EXIT_SAPLVEDA_011 and retrieve back in the sales userexits
2. The same processing FM IDOC_INPUT_ORDERS exports a flag to memory so you can detect in the sales userexits (da_edi_sign value SDEDI - see include LVEDAF01) - this will be useful for separating IDOC processing to other processing modes
3. Again using the userexit and the idoc number pass these to the application as in (1). You should then be able to call the IDOC function modules to read the IDOC content back (with something like FM IDOC_READ_COMPLETELY). Use this method if the data in the IDOC that you require is not parsed into the sales order tables
Hope this helps.
Thanks,
Pete -
Urgent help needed reg. user exists..
HI friends,
I have one issue reg. user exists.
I need to add 3 additional fields are
Project Sponsor, Project Manager, WBS Function
to the transaction cje2 using the
enhancement : KAP10001
Exit : EXIT_SAPLPS01_002
i followed writing the code for kap10001 inserted some code and also updated the fields in the ddic tables RPSCO_X, and RPSCO_y.
the new fields has to populate in the cje1 characteristic view of the form and report name 12KST1G.
could you suggest me, how can i populate the new fields in the cje1.
thanks in advance
raghavendra rao GHi,
The code in the attachment is working correctly.
My client wanted to populate the description also.
for example. if astnr(applicant no.), in the report it has to populate as
applicant number and applicant name.
for this i have created entries in TKAF table as follows
APPLC KP
FIENM ZZASTNR
USGFL D
ROLNM PS_ASTNR
CHTAB TCJ05
CHFIE ASTNR
RETAB TCJ05
REFIE ASTNA
REFIL ASTNA
REFLL 25
DIMPR 0
RCSIN 1
RSLIN 1
CHAIN 1
CCNUM 0
if i run the cje2 transaction, the applicant name is not appearing.
can anybody give me ideas for this.
regards
raghavendra rao G -
URGENT HELP NEEDED FOR GROUP BY
SELECT curve_date, curve_id, curve_type, curve_name, curve_instance, is_simple,
comments, curve_currency, curve_generator, curve_interpolator, holidays,
user_name, rate_index, daycount_code, frequency_code, rate_index_tenor,
time_zone
FROM curve a
WHERE curve_date = (SELECT max(curve_date)
FROM curve b
WHERE b.curve_id = a.curve_id
GROUP BY curve_id)
I have this query ..This query does the FULL TABLE SCAN .....PLEASE Suggest some easier way to optimize this query.....I need it VERY VERY URGENTLY....SELECT curve_date, curve_id, curve_type, curve_name, curve_instance, is_simple,
comments, curve_currency, curve_generator, curve_interpolator, holidays,
user_name, rate_index, daycount_code, frequency_code, rate_index_tenor,
time_zone
FROM curve
WHERE (curve_id, curve_date) IN (SELECT curve_id, max(curve_date)
FROM curve
GROUP BY curve_id)
Be sure you have statistics collected on the table. Anyway, I am not sure that Oracle will not do the FTS for this query even if curve_id and curve_date are indexed. -
URGENT : Help needed for OLAP tools selection
Hi Gurus,
Environment :
Oracle 10g
.net web application with backend as Oracle 10g server embaded with OLAP server.
Application - CRM
Feature requreid - OLAP, OLAP Reporting, Drilldown graphical analysis, US MAP view location specific queries, Ad-hoc analysis.
I have to take a descision for for the OLAP tool selection with above mention client requirement.
* Please let me know if anybody have worked on above combination for the required features and held up with any issue (if any) ?
* Please go thru Oracle options below per feature and let me know is there any issue with .NET and IIS server,Oracle 10g OLAP compatibily ? specially for following points from the below details -
4. OLAP Reporting Tool :
6. Web deployment of Cubes :
8. Graphing :
9. Geographical Map View based query :
1.Extraction Transformation and loading (ETL) Tool : Oracle Business Intelligence Warehouse Builder, tightly integrated with Database Server.
2. Analysis Tool (Multidimensional Data Analysis using cubes) : Oracle Business Intelligence Discoverer·
3. Ad-hoc query and analysis by end User :
Oracle Business Intelligence Spreadsheet Add-in.OLAP DML Regular Sql with OLAP_TABLE Function.
4. OLAP Reporting Tool : Oracle Reports 10g.
5. Multidimensional Data (Cube) Query Language OLAP DML : Regular Sql with OLAP_TABLE Function
6.Web deployment of Cubes : Available
7. Cube data export to xls, html, format : Available
8.Graphing : Oracle Reports 10g Graph Wizard for Graphical Analysis.
9. Geographical Map View based query : Oracle Locator: Location-Enabling Every Oracle Database
Please send me the relevent urls in support / issues for the above featues.
TIA,
SheileshThe only Adobe program I know that can edit images is Photoshop.
If you have troubles with Google software, you need to post in the appropriate Google forum. -
URGENT HELP NEEDED FOR TimeStamp
Urgent Millisecond Question....
I have the Java Code which used to work well in Oracle 8 and Sybase ..
When I am using it with Oracle 9.2 it creating a problem...
The code is
final public JDatetime getJDatetime(int columnIndex) throws SQLException {
boolean convertb = Util.needConvertTime();
Timestamp ts=_rs.getTimestamp(columnIndex);
if(ts==null) return null;
Date d= new Date(ts.getTime() + (ts.getNanos()/1000000));
if(convertb) d = Util.ReferenceTZ2Local(d);
return new JDatetime(d);
Now in Oracle 8 Say when I insert a
JDateTime Value as 2003-06-18 16:51:06.89
and
When I retrieve is using above getJDatetime
it get retrieved as
2003-06-18 16:51:06.0
Which is ok since Milliseconds are lost....
Now in Oracle 9
When I use the convert
Date d= new Date(ts.getTime() + (ts.getNanos()/1000000));
It get converted to
Original Value While Inserting -->TimeStamp in JResultSet->2003-06-18 18:15:56.42
Date in JResultSet-->Wed Jun 18 18:15:56 GMT 2003
Date in JResultSet after converting to ReferenceTZ
Wed Jun 18 18:15:56 GMT 2003
DateTime in JResultSet after converting to DateTime6/18/03 6:15:56.840 PM
GMTGETDatetime 6/18/03 6:15:56.840 PM GMT
so if you see
Milliseconnd 42 got converted to 840 NanoSeconds
WHICH IS WRONG
Can anybody help me with it ??
MaheshThe only Adobe program I know that can edit images is Photoshop.
If you have troubles with Google software, you need to post in the appropriate Google forum. -
Urgent help need for login problem B310
Im having a B310, i use veritouch for login purpose. My 4 years kid accidently changed the pass method without my knowledge. After restart, i cant log in. Yet after i try did the forget password in windows 7, it seems cant work. I tried windows password bypass software but shows nopassword set. Unable to get pass via safe mode or f8 as well. Please help me..thanks
Hi raid5, and welcome to the Lenovo User Community!
I'm sorry you are locked out of your B310. Unfortunately the Community Rules do not allow discussion of methods to defeat passwords.
I don't work for Lenovo. I'm a crazy volunteer!
Maybe you are looking for
-
Problem in starting the weblogic error
The WebLogic Server did not start up properly. Exception raised: 'weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\cgServer\ldap\ldapfiles because another WebLogic Server is alre
-
Clock will not display, Eject button not working
Odd problems. Users clock will not display, check the box and it will not stay, clock never appears. Now the eject button will not function properly. Logged in as a different user, same problems. Must be a system thing... Ran Disk utilities both whil
-
Hello, We ara trying to make a cross participation between 2 entities without success. Scenario: A has the 80% of B B has the 5% of A. In the investment data, first we create the participation of A over B as "first consolidation" Then when we go to c
-
Overview scan failed to complete on HP 8610
I am using MAC OS-X Yosemite 10.10.2. Printer works great. Scanning is sporatic. Works one minute and not the next. Software is updated for both operting system and printer. A message appears "Overview scan failed to complete". The printer is set to
-
How to install apche server 10g(10.1.3.x) on windows
hi i want install apache server (10.1.3.x) in windows Xp environment can any help on this thanks & regards baleeswar