Debug ME22N transaction to find out the message class
Hi All,
I want to know the best way of debugging for the following process:
Create ME22N
went to item level account assignment and selected the cost center.
Got an error message in the status bar
I wanted to find out where the message class is used in the background program
Any help is appreciated.
Thanks
Hi,
Take the message id and message number from the error message..
Go to SE91..
Give ID and display..
Choose the message number..
Press the where used list button..It will show all the programs that is using this message number..
Thanks,
Naren
Similar Messages
-
Transaction to find out the authorised transactions for a user
Hi Abap Gurus,
Could you please suggest any transaction which can be used to find out the authorised transcations that can be executed for a particular user?
Points will be rewarded.
Regards,
Mansi.Hello,
I think there is no separete Tcode to find it out.
You need to check the Profile of the user.
Use the Tcode SU21 also.
Regards,
Vasanth -
Finding out the actual Class of an Object
I have an AdvancedDataGrid (ADG) where the top level items
are instances of my custom valueObject Class "State". The second
level items are instances of another custom valueObject Class -
"City". When I select an item in the ADG, I want to know which
Class each item is - "State" or "City". Is there some way to find
this out? I'm not looking for how to capture the event, I'm wanting
to find out if there is some function or utility for finding out
the Class of an Object.
FYI, when I capture the event, and pop an Alert with the
following code...
Alert.show(item.constructor.toString());
...I see either "[class State]" or "[class City]". So, I feel
like I'm close...
Thanks.This link might be of interest:
http://onrails.org/articles/2007/02/24/flex-introspection-api-describetype-value-xml
http://ajaxandbeyond.blogspot.com/2008/04/object-introspection-in-flex.html
http://livedocs.adobe.com/flex/2/docs/00000460.html#225061
In generally, you might wish to goole for
flex introspection -
Debugging WPMA transaction to find out hw idoc gets populated!
Hi Experts,
in the transaction code WPMA , an idoc WP_PLU02, get populated. Current requirement is to find out hw does the segment e1wp11 gets populated. Is there any short cut,, becasue this proces uses several standard programs and perform routines ,, after which it generates the idoc,,,,, so is there any special technique to find that out???
Regards,
Arnab.Hi,
Can you explain how you found out the way IDocs are populated?
Regards,
Karen -
How to find out the callers class?
Is it possible to find out whats the callers class from within a method without having the caller to pass a reference to itslef?
AkoThere are many posts on the subject. Two things.
1) Yes it's possible by getting a stacktrace.
2) No one should ever want to implement this. It perverts the idea of the language. -
How to find out the batch class link of the batch record in the MSC3N
Hi,
I would like to know how to pull out the class type and the characteristic value for a batch which is found in MSC3N.
For example, the following is MSC3N screen showing material (INM000000001724945) and batch (A000001117) tie to batch class “XXXXXXXX”.
Hence, I would like to know:
How to pull out the class type and the characteristic value for a batch record which is found in MSC3N? What are the table? The table show in the F1 key is not a table.
There are two batch classes setup in the system “XXXXXXX” and “YYYYYYY”, my question is why system decides to use the batch class “XXXXXXX”? Where is the system setup to determine this?
Thanks
TuffHi
The table MCH1 keeps the information about Material, Batch and Internal object no.: Batch classification (CUOBJ_BM).
The field CUOBJ_BM in MCHA represent the 'Key of object to be classified' (AUSP-OBJEK). The first 18 characters of AUSP-OBJEK.
In CABN (Characteristic) the field ATINN and ATNAM is important. The link between CABN and AUSP is through ATINN. -
How to find the Message Class and ID for messages in WebIC
Dear Experts,
I get some error messages in the WebIC
I went to SAAB to activate and see details on the error messages
But, what i am missing is the the message class and the ID information
Can any one tell me if there is a work around to check and find out which message class and ID the message belongs to
Regards,
RajHi Raj,
Put a break-point in method get_instance or ADD_MESSAGE of class cl_bsp_wd_message_service.
Best regards,
Caíque Escaler -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_DATA -
How to find out the list of field exists for a particular transaction
Hi all,
Can u please help me find out the list of field exits available for a particular Tcode?
Is it similar to User exit or . . . . ?
Thanks,
C.Selvaraj
SAP-QMCreate a program and add this code to find user exit
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 - ', "#EC NOTEXT
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', "#EC NOTEXT
21 sy-vline ,
22 'Description', "#EC NOTEXT
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. "#EC NOTEXT
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'. "#EC NOTEXT
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'. "#EC NOTEXT
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.
Rewards if useful........................
Minal -
How to find out the User Details for the particular transaction
Hi,
Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
Thanks
Sap GuruHi:
Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
Please let me know if you need more information,
Assign points if useful.
Regards
MSReddy -
How to find out the customers who are not performed transaction
Hi Experts,
My all transactions in my cube and my customer records in my master data now i want to find out the customers how didn't perform transaction..
can somebody give me idea...
Thanks
Kiran KumarHi,
possible solution:
- make IObj customer as infoprovider (RSD1)
- Create a multiprovider having your cube (your trans data) and your customer master
- identify cube-customer with iobj-customer
- create a query on thi multi and filter one of the characteristic of your cube, e.g. document number or calendar day, with # (not assigned)
- drilldown the customer.
This will give you all the customers having no fact in your transactional data.
You can also have your query without the filter; in this case, one of your cube key figure will be 0 (or empty) for those customers...
hope this helps
Olivier.. -
How to Find Out the Transaction No?
I only have the initiator name and id. This is the only information details that I got from my client.
I don't know when he initiate it also.
Is there a way that I can find out the transaction number initiated by using only the initiator id/name?Hello,
I assume you're talking about workflows and you want to know the workitem id?
To find workflows started by a certain user, you can look in table SWWWIHEAD
where type = F and WI_CRUSER = username (without the US).
regards
Rick Bakker
Hanabi Technology -
How to find out the tables that will be affected using a transaction
Hi,
How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
Is there any transaction or a simple way to find out the solution?
Thanks,
Pradeep.Hi,
Give transaction code and in menu(system- status), double click onthe Program name.
Check in TOP INCLUDE - you will find all the tables related to that transaction.
Thanks,
Anitha -
Transaction IW32.How to find out the person name.(Last changed By)
Hi all,
When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person name who had made last change with respect to the field changed by.
Please tell me the table and field name for the field last changed by......
Regards,
Munna.hi,
check the table AUFK field AENAM for the order number(AUFNR) in IW32.......... -
How to find out the transaction size
Hai
Is it possible ,how to find out the size of transaction ?
Any one idea about this should be appreciated
Regards
mohanHai
Is it possible ,how to find out the size of transaction ?
Any one idea about this should be appreciated
Regards
mohan create a small rollback segment to start with, with small initial and next extent sizes and maxextents unlimited.
assign this rollback segment to the test session and run the particular transaction.
query the view v$rollstat to see how much the rollback segment has extended.
this is roughly your transaction size. this may not accurate but its give you
a general idea of how much data is generated.
Maybe you are looking for
-
I am running a Windows 7 computer with ZoneAlarm internet security.
-
Windows Small Business Server 2008 shutdown 180days 38 4
Hello to everyone, I'm trying to solve a problem in a friend server. i'm working on a Small Business Server 2008, it's a DC, NO sharepoint, NO Exchange (there is another software), NO DHCP (firewall do it), WINS and DNS enabled. Some days agoo Serve
-
About SUN Pinyin(the content is wroten in chinese)
我现在使用SUN拼音,觉得非常好,但是我过去一直使用的是微软拼音,并且使用双拼,但是在SUN拼音中无法设置成双拼输入状态,不知有无解决的方案?
-
Where is the Photoshop Elements plugin folder?
For some reason one of my plugins does not install to Photoshop Elements and I was wondering if anyone knew where the folder is where I should manually copy the plugin. Thank you for your help!
-
DAG Replication Network Isolation from MAPI
Hi, Recently We have implemented Exchange 2010 SP2 DR setup. We have two sites Prod and DR. We are facing some issue in DAG replication Network (Replication Adapter). We are using 10.10.10.x for Mapi Networks and 192.168.1.x for Replication Network f