Organisation Structure and HRP**** table cleansing
Hi All,
Please can any one help me with the following:
1) The IMG to set Org Structure Number Ranges
2) Report / Program to clean the HRP tables of a newly instaled SRM Instance
Regards,
Abdul Kadir Rajbhoy
SE38 : RHRHDC00 or transaction code RE_RHRHDC00 = also delete, but with list.
Re: Delete HRP Objects
Re: Useful material on 'Org Mgmt' (SAP HR Technical)
Similar Messages
-
Relation between Organisation Structure and Business Partner
Dear All ,
My Requirement is to pass any child node to get the corresponding parent node in the organisation structure created by T.Code : PPOMA_CRM.
I found in HRP1001 table if you pass the BP in SOBID field you will get the Parent field at OBJID in the same record . again you have to pass the OBJID as SOBID to get the next parent . Here my problem is the Business partner (SOBID) assigned in to two Org .Structure , So it is giving two records in the HRP1001 table . But i want to get the parent node comes under a particular Org Stucture .
how it is related .
Can any one help me on this,pls ?Hello,
I don't know what your problem is, but try some of these fm. to help you to understand how hrp1001 table works. To find related objects you need to
pass sobid into objid changing otype, ralat and sclas fields depending of what you are looking for.
CRM_CENTRALPERSON_GET
CRM_BUPA_GET_HROBJECT
CRM_ORGUNIT_GETEMPLOYEES
CRM_ORGUNIT_GETBUPA
CRM_EMPLOYEE_GETORGUNIT
CRM_CP_GET_POSITION
CRM_IS_ORGUNIT_CONSISTENT
Regards, Robert -
DIFF: Field string ,Structure and Internal table declaration
Hai,
what is the diference between Field string ,Structure in ABAP program and Internal table declaration and how it will work ?
Thank you
ASHOK KUMAR.hi,
Look this u will get a good idea.
*& Report ZTYPES *
REPORT ZTYPES .
* Table declaration (old method)
DATA: BEGIN OF tab_ekpo OCCURS 0, "itab with header line
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
END OF tab_ekpo.
*Table declaration (new method) "USE THIS WAY!!!
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0, "itab
wa_ekpo TYPE t_ekpo. "work area (header line)
* Build internal table and work area from existing internal table
DATA: it_datatab LIKE tab_ekpo OCCURS 0, "old method
wa_datatab LIKE LINE OF tab_ekpo.
* Build internal table and work area from existing internal table,
* adding additional fields
TYPES: BEGIN OF t_repdata.
INCLUDE STRUCTURE tab_ekpo. "could include EKKO table itself!!
TYPES: bukrs TYPE ekpo-werks,
bstyp TYPE ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0, "itab
wa_repdata TYPE t_repdata. "work area (header line)
Regards
Reshma -
Dynamic Structures and Internal Tables
Hi All,
I am doing a report to create condition records based on the condition type and condition table. Assume the condition type as PR00 and it as condition table of 304,305,306.Each condition table as its own header and item fields.Based on the condition table that the user specifies in the selection screen
the header and item structures of my report should change dynamically and these should be moved to the dynamic internal table that contains both header and item fields.Can anyone give an idea how to achieve it. Thanks in advance.
Regards,
Chakradhar.Hi All,
Thanks for your replies.
SPLIT i_string_line-input_str AT cl_abap_char_utilities=>horizontal_tab
INTO i_header_line-header
i_header_line-vkorg
i_header_line-vtweg
i_header_line-pltyp
i_header_line-waerk.
In the above syntax based on the condition table I selected on selection screen my flat file is as below.
case 1: If condition table given is 304
H SalesOrganization DistributionChannel Customer
I Material Releasestatus Amount Currency ValidFrom ValidTo
case 2: If condition table given is 305
H SalesOrganization DistributionChannel
I Material Releasestatus Amount Currency ValidFrom ValidTo
case 3: If condition table given is 306
H SalesOrganization DistributionChannel PriceListType DocumentCurrency
I Material Releasestatus Amount Currency ValidFrom ValidTo
In the above code i_string_line-input_str contains the following heading of fields based on the condition table we select in selection screen.when I want to split them into respective fields
using INTO clause my structure should change dynamically.How can I achieve it and my entire program is in OOPS ALV.Thanks in Advance.
Regards,
Chakradhar. -
Organisation Structure and Other Modules
Hi
I would like to know if each and every sub-module has a structure for itself or do they use the structure we create in OM.
E.g
Organisation Structure gives me a structure of the Org Units. I want to know if the same structure would be used by SD/Financials/MM etc
Appriciate your valuable answer
Rgds
AravindHi,
HR contains all data related to HR system, similarly SD MM contains data related to SD MM. All the modules are integrated in SAP. Now come to your question. Org Structure should be same for a client in different module.
Sandip -
Link between Komv structure and related table
hai,
I have one problem in CIN.
In Purchase Order for
ED - JM01 or JEXC
CESS -ZECS or JEC1
CSTLST - JIP1 or JIP2
stored in KOMV Structure,
other than KOMV TABLE where this values are stored..
(In KONV no values found for that one)
pLEASE, tell me Table name .....in which i get above condition value
thank you
Manoj..Hi,
1)GOTO>SE11>Open the table.
2)Just beside the CONTENTS & DISPLAY BUTTON-->Click on Graphics Button
3)New Graphics window ill popup.
4)check for the forign key and check table button.
you will find all the related tables,and Relations.
This will be very helpful for future reference also.
Hope it resolves the query.
Regards,
Gurpreet -
Assignment between include/Append structures and Database Tables
Hi All,
I need to find the list of all Append/Include Structures in my system and Their assignment to Tables.
(For Each Append/Include structure, to which table it was assigned)
Is there any way to find it?
Thanks,
Krishna.Hi,
Go to se11 - data type - give Z* and press F4.
Pop-up will come - click on search for structures - u will get standard structures.
Then take any structure name and check for where used list ( cont + shift + F3) .
U will get all the DB tables where and all they have used that include / append structure.
Regards,
Kusuma. -
How to Extract Data for a Maintenance View, Structure and Cluster Table
I want to develop 3 Reports
1) in First Report
it consists only two Fields.
Table name : V_001_B
Field Name1: BUKRS
Table name : V_001_B
Field Name2: BUTXT
V_001_B is a Maintenance View
For this one I don't Find any Datasource
For this Maintenance View, How to Extract the Data.
2)
For the 2nd Report also it consists Two Fields
Table name : CSKSZ
Field Name1: KOSTL (cost center)
Table name : CSKSZ
Field Name2: KLTXT (Description)
CSKSZ is a Structure
For this one I don't Find any Datasource
For this Structure How to Extract the Data
3)
For the 3rd Report
in this Report all Fields are belonging to a Table BSEG
BSEG is a Cluster Table
For this one also I can't Find any Datasource,
I find very Few Objects in the Datasource.
For this One, How to Extract the Data.
Please provide me step by step procedure.
Thanks
PriyaHi sachin,
I don't get your point can you Explain me Briefly.
I have two Fields for the 1st Report
BUKRS
BUTXT
In the 2nd Report
KOSTL
KLTXT
If I use 0COSTCENTER_TEXT Data Source
I will get KOSTL Field only
what about KLTXT
Thanks
Priya -
is it possible to made a report by using internal talbe and structure....if yes how and if u have sample code for that pls tell me....
rajuHi Raju,
Yes. It is possible. But it depends upon your requirement. Please check the transaction ABAPDOCU for examples.
Here are some examples
http://www.sapgenie.com/abap/code/chap1201.txt
http://www.sapgenie.com/abap/code/chap0103.txt
http://www.sapgenie.com/abap/code/chap0407.txt
http://www.sapgenie.com/abap/code/chap1112.txt
There are many examples here.
http://www.sapgenie.com/abap/example_code.htm
Cheers
Vinod
Message was edited by: Vinod C -
Statistical table, pool table, structure, and ordinary table
请教在ABAP引用表时,不同类型的表的区别:
statistical table
pool table
structure,
ordinary table
其它 table (请列出)
谢谢!>
leopard123456 wrote:
> 请教在ABAP引用表时,不同类型的表的区别:
> statistical table
> pool table
> structure,
> ordinary table
> 其它 table (请列出)
>
> 谢谢!
对上面提到的几个term不是很明白(尤其是statistical table和ordinary table),其中structure应该不是表的类型。
请举例。 -
Appraisal and HRP Tables.
I am a tech guy working on Appraisal, I am able to create appraisal in the system and the same is also displayed in PA30 infotype.
I am using BAPI_APPRAISAL_MODEL_GETLIST - To get all the Appraisal Catalog in the System and Read appraisal: BAPI_APPRAISAL_GETDETAIL to get the Appraisal Data for the employee.
The above mentioned function modules doesnt display any data
Well friend I also de believes that when we create Appraisal for an employee, the relationship also gets create between these objects in HRP1001. For eg. One relationship which should get created is between object type P BA and another relationship should be between BA BS. These relationship are not getting created in the Database.
Can you please let me know how I go about it? How do I extract data for a particular Appraisal Model for an Employee?Hi,
try the functions of function group RHPA. in ECC 6.0, these are:
RHPA_APPRAISALS_1045_READ
RHPA_APPRAISALS_CHECK_EXISTING
RHPA_APPRAISALS_DIFFER_BY_KIND
RHPA_APPRAISALS_READ
RHPA_APPRAISALS_READ_STATUS
RHPA_APPRAISALS_SEARCH_ENGINE
RHPA_APPRAISALS_SEARCH_ENGINE2
RHPA_APPRAISAL_1045_MODIFY
RHPA_APPRAISAL_1045_READ
RHPA_APPRAISAL_1045_WRITE
RHPA_APPRAISAL_ACTIVATE
RHPA_APPRAISAL_APPROVE
RHPA_APPRAISAL_CREATE
RHPA_APPRAISAL_CREATE_CHECK
RHPA_APPRAISAL_DELETE
RHPA_APPRAISAL_DIFFER_BY_KIND
RHPA_APPRAISAL_HISTORICIZE
RHPA_APPRAISAL_KIND_READ
RHPA_APPRAISAL_MODIFY_ACTIVE
RHPA_APPRAISAL_MODIFY_PLANNED
RHPA_APPRAISAL_NOTES_00000000
RHPA_APPRAISAL_NOTES_READ
RHPA_APPRAISAL_NOTES_WRITE
RHPA_APPRAISAL_PERIOD_CHANGE
RHPA_APPRAISAL_READ
RHPA_APPRAISAL_REJECT
RHPA_APPRAISAL_TAKE_BACK
RHPA_APPRAISEES_APP_READ
RHPA_APPRAISORS_APP_READ
RHPA_APPSCHEMES_APP_READ
RHPA_APP_APPRAISEES_DELETE
RHPA_APP_APPRAISEES_INSERT
RHPA_APP_APPRAISEES_READ
RHPA_APP_APPRAISORS_DELETE
RHPA_APP_APPRAISORS_INSERT
RHPA_APP_APPRAISORS_READ
RHPA_APP_APPSCHEMES_READ
RHPA_APP_CALCULATE_AVERAGE
RHPA_APP_MULTI_SOURCE_OVERALL
RHPA_APP_MULTI_SOURCE_PARTS
RHPA_APP_MULTI_SOURCE_READ
RHPA_APP_PROCESS_FUNCTIONS_GET
RHPA_APP_PROCESS_FUNC_START
RHPA_APP_PROCESS_SUB_APPRAISAL
RHPA_APP_WORKLOAD_LIST_READ
RHPA_CALCULATION
RHPA_CHECK_ALLOWED_OTYPE_COMBI
RHPA_CHECK_APPRAISAL_HISTO
RHPA_COMBOBOX_APPRAISEE_OTYPE
RHPA_COMBOBOX_APPRAISOR_OTYPE
RHPA_GET_APPRAISAL_ELEMENT
RHPA_GET_BASE_APPRAISAL
RHPA_NOTE_GET_HEADER
RHPA_POPUP_F4_APPRAISEE
RHPA_POPUP_F4_APPRAISEE_OTYPE
RHPA_POPUP_F4_APPRAISOR_OTYPE
RHPA_POPUP_F4_APP_SCHEME
Good luck!
Nasos -
Fields missing in MPD report after change to structure and program
I have been working on a consistency report for transaction MPD.
I had created a structure in SE11 for handling the data. it was all working, but then i had to go and change the name of the fields in the structure. Now those fields are missing from the report.
When i step through the debugger, all the fields are being populated correctly, but these fields are not displayed on screen. if i change the field names back in the structure and change the code for populating these fields, they appear okay.
i have created a custom implementation within BAdi MPD_WKB_REPORTING.
i have checked the config and it all points to my Z Structure and Z Table Type. I have logged off and logged back on! made sure my code is saved and activated...
any ideas on how i can display these new fields names/values?
Just for clarity, the field name has changed. not the linked data type.thanks for your response, however those notes and program have not done anything to assist my issue.
i have found the anwser now!
within the BAdi was a method i had to amend: IF_EX_MPD_WKB_REPORTING~GET_ALV_PARAMETERS
all fixed now! -
Change of Position in Organisational structure
Hi all,
The position of an employee has changed in the organisational structure and the
new position is displayed. But the underlying workflows containing
SWX_GET_MANAGER function module, are not working properly and no agent is determined .
The above function module works properly for all other employee values.
Is there any other place where we have to determine the new position ?
Please treat it as urgent.
Thanks in advance,
GarimaYou can create a small program for that. Please find a sample below:
https://wiki.sdn.sap.com/wiki/display/SRM/CodeSample3UpdatingExtendedAttributes(Storage+Location)
Regards
Kathirvel -
Organisation structure in CRM standalone
Hi ,
I need to create Sales Org, Sales Office, Sales group, in CRM standalone system. COuld anyone guide me about the settings how to go abt the same.
Thanks,
AmbrishHi,
can u pls send me the configuration steps for organisational structure and Business partner as well product master
Thanks ,
venkat -
How to pass values in dynamic structure and then dynamic table
Hi,
we have a Z structure in se11 holding 10 fields. But at run time i need to create a dynamic table with more than 10 records.
I am able to create the structure and corresponding internal table. Now the issue is i have to populate this dynamic structure with some values and then append it to dynamic internal table. Since the dynamic table type is any its not allowing an index operation like modify etc etc.
Could anyone help me in passing the values . I have searched in SDN . everyone created a dynamic table and then populated it values from some standard or custom tables.Then assigning the component of structure and displaying the output. but in my situation i have no such values stored in any tables. i populate values based on certain calculation.Hi Friends,
This is the piece of code.After creating dynamic work area and dynamic table what i should do?
TYPES: BEGIN OF STR,
ID TYPE I,
NAME(30) TYPE C,
END OF STR.
data: v_lines type i.
STR_TYPE ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( 'STR' ).
STR_COMP = STR_TYPE->GET_COMPONENTS( ).
APPEND LINES OF STR_COMP TO COMP_TAB.
COMP-NAME = 'NAME1'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
COMP-NAME = 'VALUE1'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
COMP-NAME = 'NAME2'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
COMP-NAME = 'VALUE2'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
COMP-NAME = 'NAME3'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
COMP-NAME = 'VALUE3'.
COMP-TYPE = CL_ABAP_ELEMDESCR=>GET_STRING( ).
APPEND COMP TO COMP_TAB.
NEW_STR = CL_ABAP_STRUCTDESCR=>CREATE( COMP_TAB ).
NEW_TAB = CL_ABAP_TABLEDESCR=>CREATE(
P_LINE_TYPE = NEW_STR
P_TABLE_KIND = CL_ABAP_TABLEDESCR=>TABLEKIND_STD
P_UNIQUE = ABAP_FALSE ).
CREATE DATA DREF TYPE HANDLE NEW_TAB.
CREATE DATA DREF1 TYPE HANDLE NEW_str.
Maybe you are looking for
-
Suppress Non Changed Fields in change pointer triggered IDOC
I have a requirement to clone message type MATMAS as ZMATMAS. This ZMATMAS is the message type I used to create change pointer triggering outbound idoc for change/create of materials. When i change a material, all fields are sent instead of the field
-
How to find the last element of a byte array
Dear all, I have a byte array with a max lenght of 1024*50 bytes. In that array I store the bytes read from a file. How can I find where the array ends (i.e. which is the last valid element of the byte array)? Thank you for your help. Best Regards, J
-
will apple resolve my problems regarding warranty with the gadget even if i bought it from a different country ?
-
HOW TO USE a sequence in merge load
Hi, Someone can help me with a solution for loading a table with merge option and one of the column has values from a sequence. regards Babu
-
Hi, I want to know about various types of security provided in OBIEE. I come across terms like row level security and column level securtiy, I want to know about these two terms wrt OBIEE. and how we provide these type of security. Thanks Shashank Gu