Bonjour,How to find code of restriction merci
How to fins thé code of restriction
Merci
Hi Claus,
you can use READ REPORT statement for your requirement. I got a similar requirement couple of month ago - check the code below:
DATA gt_trdir TYPE TABLE OF trdir.
DATA gt_source TYPE string_table.
FIELD-SYMBOLS <gs_trdir> TYPE trdir.
FIELD-SYMBOLS <gs_source> TYPE string.
SELECT * FROM trdir INTO TABLE gt_trdir
WHERE name LIKE 'ZCL_YOUR_CLASS%'.
LOOP AT gt_trdir ASSIGNING <gs_trdir>.
READ REPORT <gs_trdir>-name INTO gt_source.
WRITE <gs_trdir>-name COLOR COL_GROUP.
LOOP AT gt_source ASSIGNING <gs_source>.
WRITE / <gs_source>.
ENDLOOP.
SKIP.
ULINE.
ENDLOOP.
Similar Messages
-
How to find code responsible Error Message generated in MIRO transaction
Hi Gurus,
I have to find the code responsible for generating ERROR message in Miro tcode through DEBUGGING. Let me tell you the case...................
In MIRO,
We input
In Basic data tab,
Invoice Date,
Posting Date,
Reference,
PO no. &
Tax code as V5 ( VAT @ 8% ) in item data & then
In Details tab,
We enter Business Area & then
In Payment Tab
Baseline date & then
In Basic data tab
We check the check box for Calculate tax &
entered Amount & then click entered .
It displays GREEN button.
When we click Simulate button & click post then it shows 1 message that " Invoice document still contains messages .".
And then if we click Messages Button it shows " MSG No. & text - Enter Bussiness area ."
So the problem is though we input Business Area , still it shows message Enter Business area.
So plz tell me how to find that code responsible for error message.Ashish- It is because, the error message is called using function module / BAPI. But Ideally when a developer codes to populate the structure of type BAPIRET2, he.she should also follow the following rule, to make the message traceable:
"Populate BAPI structure for error message
"Following code will not get called, but is for documentation for traceability.
if 1 = 2.
message e004.
endif.
That is why i said in my comment, if it is "coded properly" then we will be able trace
Bottom line: you will not be able to find the program line using this approach.
But now since you now the error message and number, you can go to the underlying program of MIRO (SAPLMR1M and SAPLFDCB)..click on the find button on the application toolbar, enter the message# and find..PLEASE SELECT THE RADIO BUTTON "In the main program".
Hope this helps.
Sajan Joseph. -
How to find out your restrictions code without knowing it
I forgot my restriction passcode I don't know how to disable it
Forgotten RESTRICTIONS Passcode
- Place the iOS device in Recovery Mode and restore via iTunes. For how to restore: iTunes: Restoring iOS software
You have to either:
- Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
- Restore to factory settings/new iPod -
How to Find Code for SAP Exit variables.....
Gurus:
The SAP Business Content Query "0FIAR_C03_Q0005" uses several BC variables of 'SAP Exit' type for determining "Date" values. I would like to see the code used in these variables. Can anyone please suggest how I can find it?
For examople, the variable on Posting Date is "0P_KEYD2". What is the ABAP code for this? Please give me the Steps..!
Thanks in Advance......PBGenerally SAP doesn't give access to the code behind SAP exit variables, but you can find what the variable is doing using help documentation. Here is some info i saw on SAP help for your variable
0CWD Current workday
0DAT Current calendar day
0P_KEYDT Key date of due date
0P_KEYD2 Key date of posting (from key date of due date)
0P_KEYD3 Key date of clearing (from key date of due date)
0P_KEYD4 Key date of posting (posting date)
0P_KEYD5 Key date of clearing (from key date of posting) -
How to find code behind application
Hi All
I am working with iRecruitment Recruiter responsibility.
Here I can create new vacancies.
After creating vacancies they should approved by one manager
When I create vacancy and submit that vacancy for approval
It stored in one table hr_api_transactions.
and when manager approved that particular vacancy then that vacancy
stored in another table per_all_vacancies.
But problem is that vacancy which stored in hr_api_transactions table
it removes from that table.
I want know who transfer that vacancy's information from hr_api_transactions to per_all_vacancies table resp.
I think there is some java concurrent program who transfers vacancy's information from one table to another table.
if there is no java concurrent program, then who do that work?You're absolutely right: vacancy information is held in the hr_api_transactions and hr_api_transaction_steps tables until the vacancy is approved - then it's transferred to per_all_vacancies and the the other tables.
This whole process, from vacancy submission to vacancy approval to committing to the Oracle tables, is managed by Oracle Workflow. The workflow that controls iRecruitment vacancies is within the IRCWF Item Type. You can view this workflow by opening the following workflow file in Oracle Workflow Builder:
$PER_TOP/patch/115/import/US/ircwf.wft
You can currently download Oracle Workflow Builder 2.6 (Windows only) from this location:
http://www.oracle.com/technetwork/database/options/winclient-101059.html
Once the vacancy has been approved, the Workflow uses the details of the API calls held in hr_api_transaction_steps (foreign keyed to hr_api_transactions.transaction_id) to call each of these APIs and commit the information in hr_api_transactions.transaction_document to the base Oracle tables.
Does that answer your question? -
How to find REFRESH Button code in CFolder Brower (Backend BSP Applica)
Hi ,
Please let me know how to find code for REFRESH button of cFolder browser, its backend is BSP Application CFX_RFC_UI.
Thanks,
RaviHi Michael,
thank you for your advice! This problem is solved...
...but I have another issue. Ive implemented 2 editable fields in my popup. The user should fill that fields with context and that context should be processed in the calling view of my popup.
My question is how to transfer these information from my popup to my calling view or method?
I tried the following...
lv_context_node ?= m_popup->get_context_node( 'QUICKACT' ).
IF lv_context_node IS NOT INITIAL.
lv_text = lv_context_node->get_date( attribute_path = '' ).
ENDIF.
But it doesnt work! The context node object is always empty/initial.
Thank you!
PS: Another possibility could be that the object / node of the calling view is transferred to the pop-up in order to process it there.
Edited by: Marcus Findeisen on Feb 22, 2011 12:13 PM -
How to find function code for buttons on toolbar in oops alv
Hi experts,
I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALVHi Prakash,
-->First you have to set the pf status in your alv program by,
{FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS}
-->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
i_callback_pf_status_set = 'PF_STATUS'}
*-->Then doble click on that pf status,
From the menu bar, select Extras->Adjust Template->List Viewer,
This will give you the existing statndard gui status of the program*
->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
i_callback_user_command = 'COMM'
And make a subroutine of the name 'COMM'i.e,
FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA: okcode TYPE sy-ucomm.
okcode = ucomm.
CASE okcode.
WHEN 'REF'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'MANSI'
txt1 = 'CREATED BY'
txt2 = SY-UNAME
TXT3 = ' '
TXT4 = ' '
endcase.
Hope it helps you
Regrds
Mansi -
How to find Transaction code from Report/program name ?
Dear all,
How to find Transaction code if i know Report/program name ?Hi,
In se 38 when u open ur program,in the application toolbar u have a button beside the where-used list button as display object list.on clicking this button,a window will be opened at the left most corner for repository browser,in this u can find any tranasctions,fileds,screens,dictionary structures defined for the program.
if any transaction is created for the program u can find it under the transaction folder.
revert back for further queries.
Regards,
Sravanthi -
How to find open SO Items with tax code for a particular day?
Dear all
If i want to see all open SOs(items), with tax code for a particular day, how to find using table VBAP in SE16?
Please guide me
Edited by: Julius Bussche on Mar 3, 2009 11:10 PM
Please use descriptive subject titles and the searchHi GB,
Its always better to see through the standard reports , as you will be able to see the aditional info as well.
In the case of table in se16 you will be able to see one table at a time and then you need to manually figure out the fields that required.
For example if you want to see the sales order details through tables then
1.You have to go to VBAK to see the document type and then you need to go to VBAP to see the items , it means that you need to access 2 tables for this simple thing ....
In standard reports there will be lot of joins between the tables and you can view the data more elobarately as weel.
Note : In general if you want to see the complete details of the documents(open), then pls use the reports.
Regards,
Vvieks -
How to find how many times a t code has been processed by a user
How to find how many times a t code has been processed by a user I am not able to get the exact number from the ST03 or STAD/STAT transaction. I am requiring the specific number that this T code has been processed completely this many no of times for a specific period.
You must be more precise with your question.
How long is the time period which you want to check, few hours or several days or longer? And how many executions do you expect, 100, 10000 or millions?
The STAD should help you, for the smaller numbers. There is no solution for the larger ones. Don't mix STAD and ST03, ST03 is aggregated STAD information
and know only how often a transaction was executed in total.
ST05 is no solution for your problem to much overhead, and yoou should trace only a short period.
There is no tool to check usage of transactions in more detail because of privacy reasons.
Siegfried -
How to find out user exits of t-code va03
hi all
how to find out user exits of any t-code .
regards
deepakHi Deepak,
<b>Try this code.</b>
*& Report Z_USEREXIT *
REPORT Z_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.
<b>plz reward points if helpful or if it solves ur query.</b>
Thanks
Chinmay -
How to find out company code from a plant ?
Hello friends,
I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD". For that, we have to export company code ID. Currently it is hard coded with one company code. Now we want to make this program usable by all company codes. So instead of hard coding, I would like to dynamically find out company code based on the plant. So I want to know - how to find out company code from a plant ? Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
Thanks,
- Chetanhi
u can find this from table T001K
or just goto EC01
here click on STRUCTURE>NAVIGATION
double click on co code u will get the list
u can slo try this in EC02
regards
kunal -
How to find the user exit for the T-code 'RECN'
Hi friends,
I have a requirement as-
In 'General Data with Fast Entry' tab of tcode 'RECN' there are 2 fields as contract conclusion date and contract end date.
Now, the requirement is as if entered contract end date is less than contract conclusion date then we have to display a warning message as "contract end date cannot be less than contract conclusion date".
So, how to find the right user exit to enter the code.
Plz help me.I will surely reward points.
Thanks,
RishiHi Rishi,
If User exits and BAdi's are not provided, then you will for Enhancement points.
Procedure:
When you are in a particular transaction, Go to System--> status and you find the standard program of that particular screen. Go to SE38 and give that program name, display mode.
After that you click on the spiral icon there onthe top. Then,
You go to menu bar, Edit> Enhancement opitons> show implicit enhancement options.
You will be shown the points where you need to write the code.
For creating it you will go to Edit > Enhancement opitons> Create.
By this you will add some code in the standard programs.
Reward points if it helps you.
Cheers,
Swamy Kunche -
How to find out the condition type of the tax code in the PO document
Hi friends,
My questions is how to find out the condition type of the tax code in the PO document.
When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.Hi,
Hope you have asked for select query..
select single knumh from a003 into wa_knumh
where mwskz = wa_itpotab-mwskz
and kappl = 'TX'
and aland = 'IN'.
select single kbetr from konp into wa_kbetr
where knumh = wa_knumh.
cheers,
Dep -
How to find the transaction code for the particular program or include
Dear All,
Please help me on this queary.
1) How to find what is the transaction assigned for the particular Report
2) How to find the particular include is used in which programs and also transaction codes
I have one ZProgram that contains only includes no selection screen, I have to find where this program is used, in that one include is ther I would like to know in which program and in which transaction that is used,
They have given ME9F, ME21N/22n, wheren this includle is calling.
Please kinely help on this.
Thanks and Regards,
MuralikrishnaHI
1. you can find the transaction for your report by opening in se80. On the left side window it will show the transaction if there is any.
2. to find in which programs particular inclue is called , just open include in se38 and press where used list icon. in the pop up window select programs.
regards
vijay
reward points if helpful
Maybe you are looking for
-
Configuring Active Dataguard- Error comes while taking rman backup
Hi All, I'm following this( http://wiki.oracle.com/page/11gR2+Data+Guard+Setup+project+Part5 ) article to configure a active dataguard. And i have successfully completed lot of steps up to now. But im getting an error when i'm trying to complete the
-
How to reconnect missing file from iCloud on PSE 12?
I placed all my photos in the iCloud and also copied them to a flash drive and removed them from the hard drive. Now Organizer asks to reconnect missing files. The drop down menu in Browse does not list the Cloud as an option. How do i reconnect from
-
How can i do bitwise (binary) operations (AND, OR, XOR)
I need to do bitwise (binary) operations such as AND, OR, and XOR. For example, how do I AND 10101000 with 11111000?
-
Help!!! My Nokia N70 ME headset AD-41 play/pause/f...
My Nokia N70 ME headset AD-41 play/pause/fw/bw button won't work. I have tried to plug this headset in to the other N70 ME and it's work completely fine. Only on my N70 Me, I can still hear the music but the button of the headset won't work even thou
-
HT1386 parts of my playlist are grey and wont play in my iphone, some of my movies too.
I just got an Iphone 5, I have an ipod classic 160. everything in my itunes is on my ipod and fuctions fine. I synced part of my mysic and disney movies with my iphone and the playlist is largely grey and wont work on the phone. What did I do wrong?