CL_HRRCF_TG_BL================CM004 line 33 - How to Find a method?
Hi,
My error log says 'The error occurred in program CL_HRRCF_TG_BL================CM004 line 33'
and
System Response
The operation will be terminated.
Termination takes place in:
o Main program: CL_HRRCF_TG_BL================CP
o Subroutine: CL_HRRCF_TG_BL================CM004
o Line in source code: 33
What is the method for corresponding 'CM004'?
How to find a method from this type syntax?
...Naddy
Hello Naddy
If you select DB table TMDIR with
CLASSNAME = 'CL_HRRCF_TG_BL'
you will find the following entry:
CL_HRRCF_TG_BL 00004 DELETE_TG
To verify that this is indeed the method you are looking for you can use class CL_OO_CLASSNAME_SERVICE.
Call its static method GET_ALL_METHOD_INCLUDES and you that the previous result is correct.
Regards
Uwe
Similar Messages
-
How to find a badi and how to find the method/methods for a transaction?
Hi all,
i need to give a text either while creating customer (vd01) or changing customer(vd02)...thsi is via extras->texts.....then I have to double clik the text and go to change editor...and then i have to clik on insert line and then choose text element radiobutton on screen and then give it a name and then save it..this should be done for all customers....my problem is i am unable to find a badi and the appropriate method for thsi..i have placed break point in method read_add_on_data in the badi customer_add_data....i tested both by transactions va01 and va02 but of no use..also there are so many methods..can u tell me how do i find the appropriate method of the appropriate badi.....Hi,
For XD01/XD02/XD03 The following BADI's are useful
business Add-In CUSTOMER_ADD_DATA and business Add-In CUSTOMER_ADD_DATA_CS .
*<b>Reward points</b>
Regards -
How to find Expence GL Account
Hi friends,
I am posting a GL Account document of type 'SA'.
For that, function consultant given that the Cost Center is mandatory for Expence GL Accout line.
How to find whether a GL Account is an Expence GL account or not?
I am also creating a Vendor Invoice of type 'RE', Is the Cost Center Mandatory for the GL Lines created
with this document?
I am also creating a Customer Invoice of type 'DR', Is the Cost Center Mandatory for the GL Lines created with this document?
Thank You very much for reply,
Sreenivas ReddyAs Babu says on tx. FS00, FSP0 you can see whether the flag for "P&L account" it is set or not (and hence the balance sheet entry it is flagged). In case so, your account it is a Expence account. You can also see this on table SKA1, field SKA1-GVTYP.
We an account it is a P&L it usually needs a controlling item (cost center, PA product, Order, ...) but if in your case you need your account to ask specificly for a Cost center you must set this thanks to the field status group asociated on dynpro "Create/Bank/Interest" on tx. FS00.
The field status groups are set on tx SM34 for view V_T004V, and if you select the one asociated to your GL account for the fields status variant in use for your company code, you could check that for the "Additional account assignments" fields groups the flag on "Cost center" it is set or not.
If not you have two options:
a). Check for another suitable field status group that had the suitable control entries activated and assign it to your GL account by modifying it on FS00 tx.
b). Create a new group on SM34 / V_T004V for your variant as a copy of the one currently in use, and afterwards modify the entry for cost center to "Required entry". The next step it is to assign this new group on tx FS00 to your GL account by modifying it.
I hope this information helps.
Regards,
Lidia -
How to find a specific word in sentence in each line?
How to find a specific word in sentence in each line and output will show start from the beginning from specific word plus with small description from each sentence?
For example: I need to find a "+Wednesday+" and "+Thursday+" word in each sentence by line by line from "myfile.txt".
Go ballet class next Wednesday.
On the Wednesday is going to swim class.
We have a meeting on Thursday at Panda's.
Then it will show the output:
Wednesday : ballet class
Wednesday : swim class
Thursday: meeting at Panda's
I am going to figure out in Java console to read from a file for specific word from each line and how to make it output in correct way. I know already to make input/file codes.I got it and understand much better. Thank you very much. There is a problem with it because I knew how to make
a specific word in sentence but how I should make Output for specific word and some words from sentence.
For example:
Input:
+"On Thursday go to ballet class"+
+"Swim class on Friday one time a month at 2 p.m."+
I used the codes for that:
class FindSchedule{
String firstline = "On Thursday go to ballet class ";
String secondline = "Swim class on Friday one time a month ";
FindSchedule(){
System.out.println(firstline + findTheIndex("Thursday", firstline));
System.out.println(secondline + findTheIndex("Friday", secondline));
public int findTheIndex(String word, String sentence){
int index;
index = sentence.indexOf(word);
return index;
public static void main (String[] args){
new FindSchedule();
}The output will be:
Thursday: ballet class
Friday: 14:00 swim class one time a week
Notice that time is changing in output complete different from input.
I need to find out how to extract some words from each sentence for output. Do you know how to do it? -
How to find the number of fetched lines from select statement
Hi Experts,
Can you tell me how to find the number of fetched lines from select statements..
and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
Thanks in advance
santoshHi,
Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
For ex:
data: itab type mara occurs 0 with header line.
Select * from mara into table itab.
Write: Sy-tabix.
This will give you the number of entries that has been selected.
I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
Hope this helps,
Sudhi
Message was edited by:
Sudhindra Chandrashekar -
Tcode FV50: How to find long text in FI Document line item Before Saving.
Hi,
How to find long text in FI Document line item.
During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
I would like to validate the Long Text Before Saving in user exit "U300" under the "Sunstitution" .
Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
Please give me the answer as soon as possible .
Note:- Read_Text function module is not useful. Because Read_text useful after saving document.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How to find out the selected line in list
Hi all,
Can any one tell me how to find out the selected event in the listYour subject said 'selected <b>line</b> in list' and your description says 'selected <b>event</b> in the list'. Which one is it you want to know?
For line you will use the event AT LINE-SELECTION and for event you will use AT USER-COMMAND.
Please reward and close if answered, if not, please revert back to the forum with more details.
Thanks,
Srinivas -
How to find out no of lines in String
Hi all,
How to find no of lines in a multi lined String.
For example.
String str = "hjkhjkhjhjhkhlk\nfjdhfjhdjfhjdhfj\nfdhfjdhjfhdj\ndfjdkjffjdfjk\nfdffdh";
Here there are 5 lines because there are "\n".
I am not able to substring with "\n".
Any idea please?javadocs StringTokenizer
StringTokenizer(String str, String delim)
Constructs a string tokenizer for the specified string.
Method Summary
int countTokens() -
How to find number of lines in an internal table
Dear all,
how to find number of records present in an internal table.DESCRIBE TABLE
Syntax
DESCRIBE TABLE itab [KIND knd] [LINES lin] [OCCURS n].
Extras:
1. ... KIND knd
2. ... LINES lin
3. ... OCCURS n
Effect
This statement determines some properties of the internal table itab and assigns them to the specified variables. The various additions enable you to determine the table type, the number of currently filled rows and the initial memory requirement.
In addition, the system fields sy-tfill and sy-tleng are filled with the current number of table rows and the length of a table row in bytes.
Notes
For detailed information about an internal table, you should use the methods of RTTS of the DESCRIBE TABLE statement.
Without the specification of an addition, the statement DESCRIBE TABLE only sets the system fields sy-tfill and sy-tleng.
Addition 1
... KIND knd
Effect
The table type of the internal table itab is determined and a corresponding one-digit identification is assigned to the data object knd. A character-type data type is expected for the data object. The identifications are "T" for standard tables, "S" for sorted tables and "H" for hashed tables. These values are also defined as constants sydes_kind-standard, sydes_kind-sorted, and sydes_kind-hashed in the type group SYDES.
Addition 2
... LINES lin
Effect
The current number of table rows of the internal table itab is determined and is assigned to the data object lin.The data type i is expected for the data object.
Note
As of release 6.10, the current number of rows of an internal table can also be determined using the in-built function lines.
Addition 3
... OCCURS n
Effect
The initial memory requirement defined during the creation of the internal table with the addition INITIAL SIZE or the obsolete addition OCCURS is determined and assigned to the data object n. The data type i is expected for the data object.
Example
Descending sorting of a generically typed internal table in a subprogram. Since sorted tables cannot be sorted in a descending order, the table type is checked to avoid an exception that cannot be handled.
TYPE-POOLS sydes.
FORM sort_descending CHANGING itab TYPE ANY TABLE.
DATA tabkind(1) TYPE c.
DESCRIBE TABLE itab KIND tabkind.
IF tabkind = sydes_kind-standard OR
tabkind = sydes_kind-hashed.
SORT itab DESCENDING.
ELSEIF tabkind = sydes_kind-sorted.
MESSAGE '...' TYPE 'E'.
ELSE.
MESSAGE '...' TYPE 'E'.
ENDIF.
ENDFORM.
DESCRIBE FIELD INTO
Note
This statement is for internal use only.
It cannot be used in application programs.
Syntax
DESCRIBE FIELD dobj INTO td.
Effect
All characteristics of the field f, its components , sub-components etc. are displayed in the field td (type description). td has to be of the type SYDES_DESC, defined in Type Group SYDES. Because of this, the type group SYDES must be integrated into the ABAP-program with a TYPE-POOLS statement .
The structure SYDES_DESC has two table-type components TYPES and NAMES:
In TYPES, the tree structure of the type belonging to f is displayed. The components of a node are stored in the table TYPES in a continuous manner. Beginning and end of the line area that represents the components are stored in TYPES-FROM and TYPES-TO. The reference to the superior node can be found in TYPES-BACK. If no superior resp. subordinate node exists, then this is marked by the value 0 (For the relevance of further components, refer to the following sections).
The names of components, types etc. are not stored directly in TYPES. Instead, the components TYPES-IDX_... hold an index in the name table NAMES. The value 0 indicates that there is no reference to the name table.
NAMES contains the possibly fragmented names in the component NAMES-NAME. If a name continues in the following line, this is indicated by an asterisk ('*') in the component NAMES-CONTINUE.
The type description table (TYPES) not only stores information about the tree structure but also further information about the type of f resp. its components. This includes especially all information that can be determined using the usual additions to DESCRIBE FIELD. In detail, TYPES contains the following columns:
IDX_NAME
Component Name
IDX_USER_TYPE
Name of a user-defined type, i.e., a type that was defined through its TYPES-statement. Derived types (... TYPE A-B) and structures from the ABAP-Dictionary are not considered to be user-defined types.
CONTEXT
For user-defined types only: The context, in which the type is defined. Possible values are defined in the constant SYDES_CONTEXT of the type group SYDES. Please only use these constants to carry out a comparison. In detail, we distinguish between the following type contexts:
SYDES_CONTEXT-PROGRAM: Program-global type
SYDES_CONTEXT-FORM : FORM-local type
SYDES_CONTEXT-FUNCTION: FUNCTION-local type
SYDES_CONTEXT-METHOD : METHOD-local type
IDX_CONTEXT_NAME
For user-defined types only:
With a local context: The name of the FORM or FUNCTION, whose type was defined. The name of the associated program is then the first entry in the name table.
With a global context: The name of the program in which the type was defined.
IDX_EDIT_MASK
Conversion routine from the ABAP-Dictionary, is in accordance with the addition EDIT MASK at simple DESCRIBE.
IDX_HELP_ID
Help-Id when referencing to fields from the ABAP-Dictionary
LENGTH
Internal length, corresponds to the addition LENGTH at simple DESCRIBE
OUTPUT_LENGTH
Output length, corresponds to the addition OUTPUT-LENGTH at simple DESCRIBE
DECIMALS
Number of decimal digits, corresponds to the addition DECIMALS at simple DESCRIBE
TYPE
ABAP-Type, corresponds to the addition TYPE at simple DESCRIBE
TABLE_KIND
A table type is stored here for the components which represent an internal table. The same values are returned as with the variant DESCRIBE TABLE itab KIND k. Components which do not represent a table get the return value set to SYDES_KIND-UNDEFINED (see type group SYDES).
Example
Example definition of the complex data type EMPLOYEE_STRUC:
PROGRAM DESCTEST.
TYPES: BEGIN OF name_struc,
first TYPE c LENGTH 20,
last TYPE c LENGTH 20,
END OF name_struc,
BEGIN OF absence_time_struc,
day TYPE d,
from TYPE t,
to TYPE t,
END OF absence_time_struc,
phone_number TYPE n LENGTH 20,
BEGIN OF employee_struc,
id LIKE sbook-customid,
name TYPE name_struc,
BEGIN OF address,
street TYPE c LENGTH 30,
zipcode TYPE n LENGTH 4,
place TYPE c LENGTH 30,
END OF address,
salary_per_month TYPE p LENGTH 10 DECIMALS 3,
absent TYPE STANDARD TABLE OF absence_time_struc
WITH NON-UNIQUE DEFAULT KEY,
phone TYPE STANDARD TABLE OF phone_number
WITH NON-UNIQUE DEFAULT KEY,
END OF employee_struc.
You can determine the structure of the type EMPLOYEE_STRUC by collecting the type group SYDES as follows:
TYPE-POOLS: sydes.
DATA: employee TYPE employee_struc,
td TYPE sydes_desc.
DESCRIBE FIELD employee INTO td.
The following table shows a few selected columns of the type description table TD-TYPES. For a better overview, the names of the columns IDX_NAME, IDX_UERR_TYPE and IDX_EDIT_MASK have been shortened:
|FROM| TO |BACK|NAME|UTYP|EMSK|TYPE
|--||||||--
1 | 2 | 7 | 0 | 0 | 2 | 0 | v
2 | 0 | 0 | 1 | 6 | 0 | 4 | N
3 | 8 | 9 | 1 | 7 | 5 | 0 | u
4 | 10 | 12 | 1 | 8 | 0 | 0 | u
5 | 0 | 0 | 1 | 9 | 0 | 0 | P
6 | 13 | 13 | 1 | 11 | 0 | 0 | h
7 | 17 | 17 | 1 | 12 | 0 | 0 | h
8 | 0 | 0 | 3 | 13 | 0 | 0 | C
9 | 0 | 0 | 3 | 14 | 0 | 0 | C
10 | 0 | 0 | 4 | 15 | 0 | 0 | C
11 | 0 | 0 | 4 | 16 | 0 | 0 | N
12 | 0 | 0 | 4 | 17 | 0 | 0 | C
13 | 14 | 16 | 6 | 0 | 18 | 0 | u
14 | 0 | 0 | 13 | 20 | 0 | 0 | D
15 | 0 | 0 | 13 | 21 | 0 | 0 | T
16 | 0 | 0 | 13 | 22 | 0 | 0 | T
17 | 0 | 0 | 7 | 0 | 0 | 0 | N
Please note that the entries in rows 6 and 7 represent internal tables (ABAP-Type h). There is always an entry for the corresponding row type (rows 13 and 17) to an internal table.
The indices in the rows 5 to 7 refer to entries in the name table TD-NAMES. If you look, e.g., at row 3, you find the corresponding component name in TD-NAMES from row 7 (NAME) onward and the corresponding user type from row 5 (NAME_STRUC) onward.
In the name table TD-NAMES you find the following entries. Note that the names SALARY_PER_MONTH and ABSENCE_TIME_STRUC are stored in two parts:
|CONTINUE|NAME |CONTINUE|NAME
|--| -||--
1 | |DESCTEST 12 | |PHONE
2 | |EMPLOYEE_STRUC 13 | |FIRST
3 | |SBOOK-CUSTOMID 14 | |LAST
4 | |==ALPHA 15 | |STREET
5 | |NAME_STRUC 16 | |ZIPCODE
6 | |ID 17 | |PLACE
7 | |NAME 18 | * |ABSENCE_TIME_ST
8 | |ADDRESS 19 | |RUC
9 | * |SALARY_PER_MONT 20 | |DAY
10 | |H 21 | |FROM
11 | |ABSENT 22 | |TO -
How to find HR Line manager of a PERNR present in PA0000
Dear All,
I am new to HR module. Can anyone tell me how to find the line manager of any user Id fetched from PA01005 against the pernr from PA0000 tableThis example find line manager for non-manager.
REPORT ZDYN_SELECTIONS.
DATA: user_pernr type pa0105-pernr,
user_orgid type pa0001-orgeh,
user_manager type pa0105-pernr,
managers type table of OBJEC WITH HEADER LINE.
PARAMETERS: usrid type pa0105-usrid.
end-of-SELECTION.
SELECT SINGLE pernr INTO user_pernr from PA0105
WHERE usrid = usrid
AND begda <= sy-datum
AND endda >= sy-datum .
SELECT SINGLE orgeh INTO user_orgid FROM pa0001
WHERE pernr = user_pernr
AND begda <= sy-datum
AND endda >= sy-datum .
CALL FUNCTION 'HRCM_ORGUNIT_MANAGER_GET'
EXPORTING
PLVAR = '01'
OTYPE = 'O'
OBJID = user_orgid
BEGDA = sy-datum
ENDDA = sy-datum
* PATH_ID = ' '
TABLES
MANAGER_INFO_TABLE = managers
* EXCEPTIONS
* PATH_ERROR = 1
* ROOT_ERROR = 2
* NOTHING_FOUND = 3
* OTHERS = 4
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
LOOP AT managers.
write managers-objid.
ENDLOOP. -
I lost my iPad 3days ago. I tried to use ”find my iPad” but always”off line”Idon't understand why always”off line” and how Ican get back my iPad!
Two possibilities:
1. Maybe it's not turned on.
2. Maybe the iPad is wiped (setup as new) -
How to find the current line in the table control in module pool ?
How to find the current line in the table control in module pool ?
This is an urgent requirement? please do help me.refer to this example
REPORT demo_dynpro_tabcont_loop_at.
CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
DATA: cols LIKE LINE OF flights-cols,
lines TYPE i.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: itab TYPE TABLE OF demo_conn.
TABLES demo_conn.
SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
LOOP AT flights-cols INTO cols WHERE index GT 2.
cols-screen-input = '0'.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDLOOP.
CALL SCREEN 100.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
DESCRIBE TABLE itab LINES lines.
flights-lines = lines.
ENDMODULE.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE read_table_control INPUT.
MODIFY itab FROM demo_conn INDEX<b> flights-current_line.</b>
ENDMODULE.
MODULE user_command_0100 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'TOGGLE'.
LOOP AT flights-cols INTO cols WHERE index GT 2.
IF cols-screen-input = '0'.
cols-screen-input = '1'.
ELSEIF cols-screen-input = '1'.
cols-screen-input = '0'.
ENDIF.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDLOOP.
WHEN 'SORT_UP'.
READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
IF sy-subrc = 0.
SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
cols-selected = ' '.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDIF.
WHEN 'SORT_DOWN'.
READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
IF sy-subrc = 0.
SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
cols-selected = ' '.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDIF.
WHEN 'DELETE'.
READ TABLE flights-cols INTO cols
WITH KEY screen-input = '1'.
IF sy-subrc = 0.
LOOP AT itab INTO demo_conn WHERE mark = 'X'.
DELETE itab.
ENDLOOP.
ENDIF.
ENDCASE.
ENDMODULE. -
How to find the lines where messages are raised?
Hi experts,
I have a great difficult to find some points where a message is raised.
In GUI interface, we can use the u201CUsed-Listu201D option and the system show us the lines where the message is raised.
In web-client, some good SAP programmers wrote the code u201Cif 1=2 message u2026u201D after he/she input message in the message manager classes (cl_bsp_wd_message_service, cl_crm_genil_global_mess_cont, etc). So the u201CUsed-Listu201D resource manages to find those points.
However, some bad programmers didnu2019t do that and it is almost impossible to know where the message is raised in certain situation, though I have its message class name and its number, for instance, COM_PARTNER u2013 559.
Is there any tip about how to find a calling point?
Regards,
AndréThis will tell you the directory that contains the running program:
System.getProperty("user.dir") -
How to find open line items from the BSID table
Hello Guru's
I need some fever from you......... please any one tell me that How to find the open line items from the BSID table .
please replay ASAP..
Regards,
Raghunath.SHi Raghunath
BSID and BSAD are Secondary Index tables for Customer line items. All customer open items are stored in BSID table and Cleared items are stored in BSAD table.
Regards,
Venkat -
How to find on which line - eth0 or eth1 packets are received
hi,
i've two lines - eth0 and eth1 on my board and using tcp sockets. I've used INADDR_ANY in bind(). I get packets on
both eth0 and eth1. How to find to which line(eth0 or eth1) a packet received belongs to ?
Thanks & Regards,
liuxgateNormal TCP/IP Sockets in Java (ie java.net.Socket) do not offer any exposure to packets and how/when they are received. But why do you care?
Check that. There is a DatagramPacket class, which means you must be able to send around "packets" in some way. I've never seen or used this before, so I can't say. But maybe someone else will know.
Edited by: tjacobs01 on Jan 11, 2012 5:39 AM
Maybe you are looking for
-
Date format interfering with interactive report
My APEX version is 3.1.1.00.09. I'm using a method described elsewhere to change the global date format of my application. I have application items for a start and end date. I have two application processes, one for On Load: Before Header, the other
-
Autofill Today's date as "d day of mmmm, yyyy"
I have a purchase contract I need to have auto-fill in the date. The line reads, "Made this ____ Day of ______, _______. Filled-out it would read, ""Made this __3__Day of July__, 2012. I currently have my form fill in other date fields formatted as
-
i create a passcode on my iphone 5 but i forget it and i can not use my device ..i want to remove this passcode without making format or restore to avoid loosing my data..any other solution..? or can i make a backup before restoring..? please help me
-
Don't know how to iterate over supplied "items" in forEach>
I try the following I have form , bean , servlet and JSTL in bean I have constructor like public MyForm(String a_item) { this.a_item = a_item; in servlet MYForm uf = new MyForm(a_item); userSession.setAttribute("underform", uf); in jstl I have <c:for
-
I've tried installing both Linux Mint and Ubuntu on my computer, but no matter what I try I have the same problem. I boot to the DVD or USB containing Linux, and the menu allowing me to choose what to do pops up just fine. I can pick if I want to boo